[opensuse-packaging] Help with .desktop file in project.
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?
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
Sorry I misread, the error is about the category, please ignore my mail.
2014-04-04 8:20 GMT+02:00 Damian Ivanov
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
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?
I don't really know why but «System» doesn't work so use another one. -- Best regards, Dmitriy DA(P).DarkneSS Perlow @ Linux x64 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Friday 04 April 2014 23:40:35 Dmitriy Perlow wrote:
Shawn W Dunn
Fri, 04 Apr 2014 08:05:19 +0300: 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/applicat
ions/compton.desktop #[ 11s] ERROR: Icon file not installed:
/home/abuild/rpmbuild/BUILDROOT/compton-0.1.0-0.x86_64//usr/share/applicat
ions/compton.desktop (xcompmgr) #[ 11s] WARNING: Empty GenericName:
/home/abuild/rpmbuild/BUILDROOT/compton-0.1.0-0.x86_64//usr/share/applicat
ions/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/applic
ations/compton.desktop [ 123s] WARNING: Empty Icon in
/home/abuild/rpmbuild/BUILDROOT/compton-0.1.0-7.1.x86_64//usr/share/applic
ations/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?
I don't really know why but «System» doesn't work so use another one.
Yeah, i got it sorted, and edited the wiki page, removing the Invalid Category
participants (3)
-
Damian Ivanov
-
Dmitriy Perlow
-
Shawn W Dunn