'Hardware Locality lstopo' desktop entry doesn't have a valid icon Reproducible: Always Steps to Reproduce: 1. emerge -1 sys-apps/hwloc 2. run DE if not running yet, KDE for example 3. Locate 'Hardware Locality lstopo' menu entry in main menu Actual Results: 'Hardware Locality lstopo' has placeholder icon in KDE, might have no icon in other DE/WMs Expected Results: Correct and present icon should be used. Not installing desktop entry is also an option. $ cat /usr/share/applications/lstopo.desktop # should only be used when lstopo is built with Cairo/X11 support # so that no terminal is required [Desktop Entry] Name=Hardware Locality lstopo Comment=Show hardware topology Exec=lstopo Terminal=false Type=Application Categories=System; Keywords=System;Utility; Icon=hwloc Icon 'hwloc' is specified but no icon is packaged. I've found suitable icons in upstream repository, but they're missing in tarball for current version 2.6.0: https://github.com/open-mpi/hwloc/tree/master/contrib/android/assets
(pacho, feel free to fix if you're able, as I only tend to drive-by hwloc & may forget about it)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8d1957c3ae62f4f6677bd6ccee9f4df01ab4523 commit d8d1957c3ae62f4f6677bd6ccee9f4df01ab4523 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2022-12-04 14:29:31 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2022-12-04 14:49:21 +0000 sys-apps/hwloc: Install icon No revbump as it is a minor change, hopefully most people will simply get it fixed in next bumps then. Use upstream android png icon over svg as it has a high enough resolution and text looks misaligned in svg icon. Closes: https://bugs.gentoo.org/833345 Signed-off-by: Pacho Ramos <pacho@gentoo.org> sys-apps/hwloc/Manifest | 1 + sys-apps/hwloc/hwloc-2.8.0-r1.ebuild | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-)
This hasnt been fixed due to the desktop file specifying the Icon name as hwloc so its not going to ignore the installed lstopo.png. This should be fixed by amending `doicon ${DISTDIR}/lstopo.png` to `newicon ${DISTDIR}/lstopo.png hwloc.png`
(In reply to Alfred Wingate from comment #3) > This hasnt been fixed due to the desktop file specifying the Icon name as > hwloc so its not going to ignore the installed lstopo.png. "so its going to ignore"*. unhelpful not slipped in.
(In reply to Alfred Wingate from comment #3) > This hasnt been fixed due to the desktop file specifying the Icon name as > hwloc so its not going to ignore the installed lstopo.png. > > This should be fixed by amending `doicon ${DISTDIR}/lstopo.png` to `newicon > ${DISTDIR}/lstopo.png hwloc.png` (In reply to Alfred Wingate from comment #4) > (In reply to Alfred Wingate from comment #3) > > This hasnt been fixed due to the desktop file specifying the Icon name as > > hwloc so its not going to ignore the installed lstopo.png. > > "so its going to ignore"*. unhelpful not slipped in. Yeah, just checked the issue again. It's still not fixed. $ equery f hwloc | grep png /usr/share/pixmaps/lstopo.png $ equery f hwloc | grep desktop /usr/share/applications/lstopo.desktop $ grep Icon /usr/share/applications/lstopo.desktop Icon=hwloc sys-apps/hwloc 2.8.0-r1
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d1243b13cbabd55458c75712bb8f65d9dc2cbfd commit 0d1243b13cbabd55458c75712bb8f65d9dc2cbfd Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2023-06-19 13:30:13 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2023-06-19 13:30:13 +0000 sys-apps/hwloc: Fix icon installation Thanks-to: Alfred Wingate Thanks-to: i.Dark_Templar Closes: https://bugs.gentoo.org/833345 Signed-off-by: Pacho Ramos <pacho@gentoo.org> sys-apps/hwloc/hwloc-2.9.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)