Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 634078

Summary: app-admin/keepassxc-2.{1.4,2.0,2.1} does not call gnome2_icon_cache_update, xdg_desktop_database_update or xdg_mimeinfo_database_update
Product: Gentoo Linux Reporter: Mike Auty (RETIRED) <ikelos>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED FIXED    
Severity: normal CC: hydrapolic
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mike Auty (RETIRED) gentoo-dev 2017-10-12 08:49:44 UTC
The keepassxc ebuilds in the tree raise the following QA issues during the install phase:

 * QA Notice: new icons were found installed but GTK+ icon cache
 * has not been updated:
 *   /usr/share/icons/hicolor/32x32/mimetypes/application-x-keepassxc.png
 *   /usr/share/icons/hicolor/32x32/apps/keepassxc-locked.png
 *   /usr/share/icons/hicolor/32x32/apps/keepassxc.png
 *   /usr/share/icons/hicolor/32x32/apps/keepassxc-dark.png
 *   /usr/share/icons/hicolor/32x32/apps/keepassxc-unlocked.png
 *   /usr/share/icons/hicolor/22x22/mimetypes/application-x-keepassxc.png
 *   /usr/share/icons/hicolor/48x48/apps/keepassxc-locked.png
 *   /usr/share/icons/hicolor/48x48/apps/keepassxc.png
 *   /usr/share/icons/hicolor/48x48/apps/keepassxc-dark.png
 *   /usr/share/icons/hicolor/48x48/apps/keepassxc-unlocked.png
 *   /usr/share/icons/hicolor/128x128/mimetypes/application-x-keepassxc.png
 *   /usr/share/icons/hicolor/128x128/apps/keepassxc-locked.png
 *   /usr/share/icons/hicolor/128x128/apps/keepassxc.png
 *   /usr/share/icons/hicolor/128x128/apps/keepassxc-dark.png
 *   /usr/share/icons/hicolor/128x128/apps/keepassxc-unlocked.png
 *   /usr/share/icons/hicolor/24x24/apps/keepassxc-locked.png
 *   /usr/share/icons/hicolor/24x24/apps/keepassxc.png
 *   /usr/share/icons/hicolor/24x24/apps/keepassxc-dark.png
 *   /usr/share/icons/hicolor/24x24/apps/keepassxc-unlocked.png
 *   /usr/share/icons/hicolor/64x64/mimetypes/application-x-keepassxc.png
 *   /usr/share/icons/hicolor/64x64/apps/keepassxc-locked.png
 *   /usr/share/icons/hicolor/64x64/apps/keepassxc.png
 *   /usr/share/icons/hicolor/64x64/apps/keepassxc-dark.png
 *   /usr/share/icons/hicolor/64x64/apps/keepassxc-unlocked.png
 *   /usr/share/icons/hicolor/16x16/mimetypes/application-x-keepassxc.png
 *   /usr/share/icons/hicolor/16x16/apps/keepassxc-locked.png
 *   /usr/share/icons/hicolor/16x16/apps/keepassxc.png
 *   /usr/share/icons/hicolor/16x16/apps/keepassxc-dark.png
 *   /usr/share/icons/hicolor/16x16/apps/keepassxc-unlocked.png
 *   /usr/share/icons/hicolor/256x256/apps/keepassxc-locked.png
 *   /usr/share/icons/hicolor/256x256/apps/keepassxc.png
 *   /usr/share/icons/hicolor/256x256/apps/keepassxc-dark.png
 *   /usr/share/icons/hicolor/256x256/apps/keepassxc-unlocked.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/keepassxc.desktop
 * Please make sure to call xdg_desktop_database_update()
 * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
 * QA Notice: mime-info files were found installed but mime-info
 * cache has not been updated:
 *   /usr/share/mime/packages/keepassxc.xml
 * Please make sure to call xdg_mimeinfo_database_update()
 * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.

This can be resolved by inheriting from gnome2-utils and xdg-utils, and calling the appropriate functions in both pkg_postrm and pkg_postinst.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-10-13 09:38:37 UTC
commit 0536871c4b0b43fe7491ae61cc06ff744ed8099b
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Fri Oct 13 11:26:45 2017

    app-admin/keepassxc: Revbumps to add QA fixes (bug #634078).
    
    Package-Manager: Portage-2.3.11, Repoman-2.3.3
Comment 2 Tomáš Mózes 2017-10-13 10:09:59 UTC
*** Bug 634156 has been marked as a duplicate of this bug. ***