Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634078 - 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
Summary: app-admin/keepassxc-2.{1.4,2.0,2.1} does not call gnome2_icon_cache_update, x...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
: 634156 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-10-12 08:49 UTC by Mike Auty (RETIRED)
Modified: 2017-10-13 10:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***