devel@ where you _can_ ask
 help / color / mirror / Atom feed
* [newbies] OnlyShowIn в desktop-файле
@ 2010-02-04 14:07 Радик Юсупов
  2010-02-04 14:56 ` Andrey Rahmatullin
  0 siblings, 1 reply; 10+ messages in thread
From: Радик Юсупов @ 2010-02-04 14:07 UTC (permalink / raw)
  To: devel-newbies

Доброго времени.
Пытаюсь собрать пакет lxde-lxinput в hasher.
Получаю следующую ошибку:
+ desktop-file-install --delete-original --add-category=X-LXDE 
--dir=/usr/src/tmp/lxde-lxinput-buildroot/usr/share/applications 
/usr/src/tmp/lxde-lxinput-buildroot/usr/share/applications/lxinput.desktop
/usr/src/tmp/lxde-lxinput-buildroot/usr/share/applications/lxinput.desktop: 
error: value "LXDE;" for key "OnlyShowIn" in group "Desktop Entry" 
contains an unregistered value "LXDE"; values extending the format 
should start with "X-"
Error on file 
"/usr/src/tmp/lxde-lxinput-buildroot/usr/share/applications/lxinput.desktop": 
Failed to validate the created desktop file
error: Bad exit status from /usr/src/tmp/rpm-tmp.2644 (%install)

Изменил desktop-файл так:
$ cat lxinput/data/lxinput.desktop
[Desktop Entry]
Type=Application
Name=Keyboard and Mouse
Icon=input-keyboard
Exec=lxinput
Comment=Configure keyboard, mouse, and other input devices
StartupNotify=true
Terminal=false
Categories=GTK;Settings;HardwareSettings;
OnlyShowIn=X-LXDE;

Зделал git commit -a. Сборка все равно останавливается на этом месте.
Тут 
[http://standards.freedesktop.org/menu-spec/menu-spec-0.9.html#desktop-entry-extensions-examples] 
говорится, что поддерживаются только
OnlyShowIn Value 	Environment
GNOME 	GNOME Desktop
KDE 	KDE Desktop
ROX 	ROX Desktop
XFCE 	XFCE Desktop
Old 	Legacy menu systems


Какие изменения нужно сделать, чтобы сборка прошла дальше?
Вообще убрать параметр OnlyShowIn?


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-02-10 17:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-04 14:07 [newbies] OnlyShowIn в desktop-файле Радик Юсупов
2010-02-04 14:56 ` Andrey Rahmatullin
2010-02-05  6:47   ` Радик Юсупов
2010-02-05  6:06     ` Andrey Rahmatullin
2010-02-06  2:42       ` Радик Юсупов
2010-02-06  7:04         ` Andrey Rahmatullin
2010-02-10 17:24           ` Радик Юсупов
2010-02-06  2:47       ` Радик Юсупов
2010-02-06  7:00         ` Andrey Rahmatullin
2010-02-08 11:53           ` Michael Shigorin

devel@ where you _can_ ask

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
		devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
	public-inbox-index devel-newbies

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git