Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835924 - x11-misc/xpad-5.7.0 installs icons but does not update icon cache
Summary: x11-misc/xpad-5.7.0 installs icons but does not update icon cache
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Philipp Rösner
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-03-24 13:30 UTC by Agostino Sarubbo
Modified: 2022-03-26 07:36 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,97.04 KB, text/plain)
2022-03-24 13:30 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-03-24 13:30:19 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-misc/xpad-5.7.0 installs icons but does not update icon cache.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-03-24 13:30:21 UTC
Created attachment 767725 [details]
build.log

build log and emerge --info
Comment 2 Joonas Niilola gentoo-dev 2022-03-24 17:16:59 UTC
>>> /usr/share/icons/hicolor/scalable/apps/xpad.svg

Hmm why did I not a QA notice for this, even though I do have this in my build.log:

make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/var/tmp/portage/x11-misc/xpad-5.7.0/image/usr/share/icons'
 /bin/mkdir -p '/var/tmp/portage/x11-misc/xpad-5.7.0/image/usr/share/icons/hicolor/scalable/apps'
 /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c -m 644  hicolor/scalable/apps/xpad.svg '/var/tmp/portage/x11-misc/xpad-5.7.0/image/usr/share/icons/hicolor/scalable/apps'
make  install-data-hook
make[3]: Entering directory '/var/tmp/portage/x11-misc/xpad-5.7.0/work/xpad-5.7.0/images'
*** Icon cache not updated.  After (un)install, run this:
***   gtk-update-icon-cache -f -t /usr/share/icons/hicolor
Comment 3 Joonas Niilola gentoo-dev 2022-03-24 17:26:25 UTC
https://wiki.gentoo.org/wiki/Package_testing#make.conf_and_test.conf_files

Looks like I need to disable parallel-install even if there's only 1 package emerging. Can get the message showing now with -parallel-install and without defining it, it doesn't show. Weird, but solved.
Comment 4 Larry the Git Cow gentoo-dev 2022-03-26 07:36:23 UTC
The bug has been closed via the following commit(s):

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

commit f463648dc1028d7600ca66cca8afdec7aae3c280
Author:     Philipp Rösner <rndxelement@protonmail.com>
AuthorDate: 2022-03-25 22:18:08 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-03-26 07:36:21 +0000

    x11-misc/xpad: add xdg_icon_cache_update
    
    Closes: https://bugs.gentoo.org/835924
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Philipp Rösner <rndxelement@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/24751
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 x11-misc/xpad/xpad-5.7.0.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)