Menu

#15 Suppress icon file extension in desktop entry

Unstable_(example)
closed
nobody
None
5
2018-01-06
2014-10-15
No

Hi Christian,

The latest desktop-file-install 0.9.3 says:

  • desktop-file-install --mode 0644 --dir /home/pm/rpmbuild/BUILDROOT/xca-0.9.3-9.fc20.x86_64/usr/share/applications --delete-original --add-mime-type application/x-xca-database --remove-category QT /home/pm/rpmbuild/BUILDROOT/xca-0.9.3-9.fc20.x86_64/usr/share/applications/xca.desktop
    /home/pm/rpmbuild/BUILDROOT/xca-0.9.3-9.fc20.x86_64/usr/share/applications/xca.desktop: error: (will be fatal in the future): value "xca-32x32.xpm" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path

therefore the attached patch removes the file extension from the icon file name in the desktop entry file.

Cheers,
Patrick

1 Attachments

Discussion

  • Christian Hohnstaedt

    • status: open --> closed
     
  • Christian Hohnstaedt

    Has long been integrated with xca 1.0.0

    commit de7da9a1ed53b0ad866cf928d2017a74a4f09045
    Author: Patrick MONNERAT monnerat@users.sf.net
    Date: Wed Oct 22 21:19:30 2014 +0200

    Suppress icon file extension in desktop entry
    
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.