[arch-general] .desktop and install files in general & Eclipse package not complete?
Marcel Korpel
marcel.lists at gmail.com
Tue May 6 09:45:25 EDT 2014
Hi all,
I already asked this at the forums, but didn't get an answer yet, so
I'll re-explain my question(s) here. I just want to master creating
packages with .desktop files and icon theme, but I think what I find
and what is suggested differ significantly.
In the GNOME Package Guidelines there's a section about .desktop files
and the like. [1] It states that running
update-desktop-database -q
during post_install and post_remove is recommended (note that it
doesn't state it's *required*). However, the Eclipse package doesn't
do that. [2] It even doesn't depend on hicolor-icon-theme, as is
required when issuing
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
during post_install (namcap didn't complain about this dependency, as
it usually does, like about mars-mips: [3]
mars-mips E: Files in /usr/share/icons/hicolor but no call to
gtk-update-icon-cache or xdg-icon-resource to update the icon cache
(there are other issues with that package, about which I'll inform the
package maintainer at a later moment)).
On a second thought, issuing
$ pacman -Qo gtk-update-icon-cache
/usr/bin/gtk-update-icon-cache is owned by gtk-update-icon-cache 2.24.23-1
So shouldn't those packages with an icon theme depend on
gtk-update-icon-cache instead of just on hicolor-icon-theme?
Is the Eclipse package wrong or is the Wiki not complete (also note
that the recommended install file of gedit [4] isn't that complete: it
doesn't contain a call to gtk-update-icon-cache as it doesn't contain
a hicolor icon theme; perhaps we should look for another example)?
When the former is the case, I'll file a bug report. Else, please
explain to me what to do with icon themes and .desktop files.
I hope I expressed myself clearly.
Regards,
Marcel
[1] https://wiki.archlinux.org/index.php/GNOME_Package_Guidelines#.desktop_files
[2] https://projects.archlinux.org/svntogit/packages.git/tree/eclipse/repos/extra-x86_64
[3] https://aur.archlinux.org/packages/mars-mips/
[4] https://projects.archlinux.org/svntogit/packages.git/tree/trunk/gedit.install?h=packages/gedit
More information about the arch-general
mailing list