If it has no icon I think it should't be type "application". I'd try
to remove ICON= and try to set type to Link maybe, there is stuff you
can play around with.
http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html
2014-04-04 7:05 GMT+02:00 Shawn W Dunn
So in devel:cloverleaf:lxqt/compton, I have compton branched from X11:QtDesktop
As it's been sitting, they have just been deleting the compton.desktop file in %install, as it was kicking this error:
# desktop file is broken: #[ 11s] ERROR: No sufficient Category definition: /home/abuild/rpmbuild/BUILDROOT/compton-0.1.0-0.x86_64//usr/share/applications/compton.desktop #[ 11s] ERROR: Icon file not installed: /home/abuild/rpmbuild/BUILDROOT/compton-0.1.0-0.x86_64//usr/share/applications/compton.desktop (xcompmgr) #[ 11s] WARNING: Empty GenericName: /home/abuild/rpmbuild/BUILDROOT/compton-0.1.0-0.x86_64//usr/share/applications/compton.desktop
More as an exercise to better understand the .desktop files, I went in, and tried to fix it.
I patched the source with a fresh desktop file, consisting of: [Desktop Entry] Type=Application Name=Compton GenericName=A Lightweight X Compositor Categories=System;Utility;X-DesktopCompositor Icon= Exec=compton
Which now causes the error: [ 123s] ERROR: No sufficient Category definition: /home/abuild/rpmbuild/BUILDROOT/compton-0.1.0-7.1.x86_64//usr/share/applications/compton.desktop [ 123s] WARNING: Empty Icon in /home/abuild/rpmbuild/BUILDROOT/compton-0.1.0-7.1.x86_64//usr/share/applications/compton.desktop [ 123s] Errors in installed desktop file detected. Please refer to http://en.opensuse.org/SUSE_Package_Conventions/RPM_Macros [ 123s] error: Bad exit status from /var/tmp/rpm-tmp.fd64xL (%install)
I got the categories direct from: http://en.opensuse.org/openSUSE:Packaging_desktop_menu_categories
So where in the heck am I going wrong with this desktop file? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org