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

Bug 787470

Summary: sys-process/htop-3.0.5: QA Notice: new icons were found installed but icon cache has not been updated: /usr/share/icons/hicolor/scalable/apps/htop.svg
Product: Gentoo Linux Reporter: Lin Jian <me>
Component: Current packagesAssignee: Christian Ruppert (idl0r) <idl0r>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, polynomial-c, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lin Jian 2021-05-01 17:22:06 UTC
* QA Notice: new icons were found installed but icon cache
 * has not been updated:
 *   /usr/share/icons/hicolor/scalable/apps/htop.svg
 * Please make sure to call xdg_icon_cache_update()
 * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.

Reproducible: Always

Steps to Reproduce:
1.emerge '=htop-3.0.5'
Comment 1 Larry the Git Cow gentoo-dev 2021-08-11 02:05:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf94ee45ca93a214be3fa2dda29b1d9fd90e0a9

commit 1bf94ee45ca93a214be3fa2dda29b1d9fd90e0a9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-11 01:58:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-11 02:05:18 +0000

    sys-process/htop: [QA] update caches
    
    We can use xdg-utils unconditionally given it
    doesn't introduce a dependency.
    
    (When a package needing xdg-utils is installed,
    it'll update all the caches for us.)
    
    Closes: https://bugs.gentoo.org/787470
    Thanks-to: Ionen Wolkens <ionen@gentoo.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-process/htop/htop-3.0.5-r1.ebuild | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
Comment 2 Larry the Git Cow gentoo-dev 2022-08-09 20:06:28 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6410deb61fa2ebd7adf5c82d7e9be941ab78a6d9

commit 6410deb61fa2ebd7adf5c82d7e9be941ab78a6d9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-09 03:12:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-09 20:05:44 +0000

    sys-process/htop: drop back to xdg-utils.eclass
    
    My own fault -- I didn't add a comment when I originally
    inherited xdg-utils instead of xdg, and I broke it myself
    later when changing to release tarballs!
    
    See original commit for rationale.
    
    Bug: https://bugs.gentoo.org/787470
    Bug: https://bugs.gentoo.org/849422
    Fixes: 20d5319d31378762c32b0b2344e24f37ffbaccd2
    See: 1bf94ee45ca93a214be3fa2dda29b1d9fd90e0a9
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-process/htop/htop-3.2.1-r2.ebuild | 113 ++++++++++++++++++++++++++++++++++
 sys-process/htop/htop-9999.ebuild     |  12 +++-
 2 files changed, 123 insertions(+), 2 deletions(-)