Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: missing gnome2_icon_cache_update() #23

Open
jonasstein opened this issue Oct 30, 2017 · 0 comments
Open

FR: missing gnome2_icon_cache_update() #23

jonasstein opened this issue Oct 30, 2017 · 0 comments

Comments

@jonasstein
Copy link
Contributor

jonasstein commented Oct 30, 2017

Many packages use icons, but do not call gnome2_icon_cache_update()

I do not know which script does find this at the moment.
Some ideas:
one could grep for icon (does not work well picard does not use "icon" for example), or look up which files are installed on http://portagefilelist.de/
http://files.portagefilelist.de/sqldump/

this database can be a good tool for many tests.

there are also ehelper functions doicon and newicon, but some packages copy the files in a creative manner.
Probably the best to start with a non perfect solution and improve later.

This is how the problem is displayed after installation

>>> Installing (11 of 11) media-sound/picard-1.4.2::gentoo
 * QA Notice: new icons were found installed but GTK+ icon cache
 * has not been updated:
 *   /usr/share/icons/hicolor/16x16/apps/picard.png
 *   /usr/share/icons/hicolor/256x256/apps/picard.png
 *   /usr/share/icons/hicolor/32x32/apps/picard.png
 *   /usr/share/icons/hicolor/128x128/apps/picard.png
 *   /usr/share/icons/hicolor/scalable/apps/picard.svg
 *   /usr/share/icons/hicolor/48x48/apps/picard.png
 *   /usr/share/icons/hicolor/24x24/apps/picard.png
 * Please make sure to call gnome2_icon_cache_update()
 * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
 * QA Notice: .desktop files with MimeType= were found installed
 * but desktop mimeinfo cache has not been updated:
 *   /usr/share/applications/picard.desktop
 * Please make sure to call xdg_desktop_database_update()
 * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.

A table, which folders should trigger which function is now on this page: https://wiki.gentoo.org/wiki/Notes_on_ebuilds_with_GUI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant