Quote:
|
Originally Posted by Coolmax89
Hi all,
I'm writing .spec file now and I have problem. In src package, author
prepared .desktop file. Problem is that he wrote "Icon=computer". There
is no problem using this file, most distros have computer.png icon. My
suse (11.1) takes icon from oxygen theme, but problem is with build
sevice:
Code:
--------------------
[...]
WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does
not exist WARNING:
'/usr/lib/rpm/brp-desktop.data/preferences-gnome.menu' does not exist
WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu'
does not exist ERROR: Icon file not
installed: /var/tmp/ssvnc-1.0.23-build//usr/share/applications/ssvnc.desktop
WARNING: Empty
GenericName: /var/tmp/ssvnc-1.0.23-build//usr/share/applications/ssvnc.desktop
Errors in installed desktop file detected. Please mail
stbinner@suse.de, if you think this is wrong. error: Bad exit status
from /var/tmp/rpm-tmp.30428 (%install) RPM build errors: Bad exit
status from /var/tmp/rpm-tmp.30428 (%install)
--------------------
What can I do with this? I appreciate any help.
|
Hi
Either create a patch file to add the GenericName= in the desktop file,
else update in the spec file with -G option, see here;
<http://en.opensuse.org/Packaging/SUSE_Package_Conventions/RPM_Macros#3.33._.25suse_update_desktop_file>
--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 15:40, 2 users, load average: 0.39, 0.22, 0.12
GPU GeForce 8600 GTS Silent - Driver Version: 190.18