You are not logged in.

#1 2014-04-30 20:23:27

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

.desktop and install files: error in Eclipse package?

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. It states that running

update-desktop-database -q

during post_install and post_remove is recommended. However, the Eclipse package doesn't do that. 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).

Is this package wrong or is the Wiki not complete? 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.

EDIT: on a second thought, I ran

$ 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 on just hicolor-icon-theme?

EDIT2: just as an example, namcap complains about mars-mips:

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).

Last edited by Marcel- (2014-04-30 20:45:24)

Offline

Board footer

Powered by FluxBB