Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905586 - media-gfx/gimp-2.99.14-r2 new icons were found installed but icon cache has not been updated
Summary: media-gfx/gimp-2.99.14-r2 new icons were found installed but icon cache has n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-05-02 16:33 UTC by Esteve Varela Colominas
Modified: 2023-05-20 06:57 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 Esteve Varela Colominas 2023-05-02 16:33:22 UTC
package is overriding pkg_postinst/postrm phases of the inherited xdg.eclass, so it never executes xdg_icon_cache_update

    >>> Messages generated by process 12657 on 2023-05-02 04:51:38 CEST for package media-gfx/gimp-2.99.14-r2:
    
    QA: other
    QA Notice: new icons were found installed but icon cache
    has not been updated:
      /usr/share/icons/hicolor/64x64/apps/gimp.png
      /usr/share/icons/hicolor/scalable/apps/gimp.svg
      /usr/share/icons/hicolor/48x48/apps/gimp.png
      /usr/share/icons/hicolor/256x256/apps/gimp.png
      /usr/share/icons/hicolor/22x22/apps/gimp.png
      /usr/share/icons/hicolor/24x24/apps/gimp.png
      /usr/share/icons/hicolor/16x16/apps/gimp.png
      /usr/share/icons/hicolor/32x32/apps/gimp.png
    Please make sure to call xdg_icon_cache_update()
    in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
Comment 1 Sergey Torokhov 2023-05-06 07:59:06 UTC
Thanks for report.
The replacement for 'xdg_pkg_postinst' and 'xdg_pkg_postrm' should fix the problem.
Comment 2 Larry the Git Cow gentoo-dev 2023-05-20 06:57:21 UTC
The bug has been closed via the following commit(s):

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

commit ea8ed037f7557a6871719a0a09859c3377802945
Author:     Sergey Torokhov <torokhov-s-a@yandex.ru>
AuthorDate: 2023-05-06 07:44:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-20 06:57:09 +0000

    media-gfx/gimp: (0/3) fix icon cache update and FHS/Gentoo policy paths
    
    Closes: https://bugs.gentoo.org/905586
    
    Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gimp/{gimp-2.99.14-r2.ebuild => gimp-2.99.14-r3.ebuild}      | 6 +++---
 media-gfx/gimp/gimp-9999.ebuild                                  | 9 ++++++---
 2 files changed, 9 insertions(+), 6 deletions(-)