Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711268 - =net-p2p/qbittorrent-4.2.1 doesn't correctly install/update tray icons.
Summary: =net-p2p/qbittorrent-4.2.1 doesn't correctly install/update tray icons.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-02 01:47 UTC by Michael T. Kloos
Modified: 2020-03-04 13:34 UTC (History)
0 users

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 Michael T. Kloos 2020-03-02 01:47:23 UTC
Problem Description:
The tray icon for qbittorrent does not appear.  It is a blank space between the other icons.  This issue seemed to be solved by manually running, as root, "update-desktop-database /usr/share/applications/"

My system:
XFCE, AMD64, systemd

Custom Profile - Combo Of:
gentoo:targets/systemd
gentoo:default/linux/amd64/17.1/desktop

From Install Phase Of Emerge: 
>>> Installing (1 of 1) net-p2p/qbittorrent-4.2.1::gentoo
/var/tmp/portage/._unmerge_/net-p2p/qbittorrent-4.2.1/temp/environment: line 709: gnome2_icon_cache_update: command not found
 * Updating .desktop files database ...                                                                                                                                                [ ok ]
/var/tmp/portage/net-p2p/qbittorrent-4.2.1/temp/environment: line 706: gnome2_icon_cache_update: command not found
 * Updating .desktop files database ...                                                                                                                                                [ ok ]
 * QA Notice: new icons were found installed but icon cache
 * has not been updated:
 *   /usr/share/icons/hicolor/scalable/status/qbittorrent-tray-light.svg
 *   /usr/share/icons/hicolor/scalable/status/qbittorrent-tray-dark.svg
 *   /usr/share/icons/hicolor/scalable/status/qbittorrent-tray.svg
 *   /usr/share/icons/hicolor/192x192/status/qbittorrent-tray.png
 *   /usr/share/icons/hicolor/192x192/apps/qbittorrent.png
 *   /usr/share/icons/hicolor/128x128/status/qbittorrent-tray.png
 *   /usr/share/icons/hicolor/128x128/apps/qbittorrent.png
 *   /usr/share/icons/hicolor/96x96/status/qbittorrent-tray.png
 *   /usr/share/icons/hicolor/96x96/apps/qbittorrent.png
 *   /usr/share/icons/hicolor/72x72/status/qbittorrent-tray.png
 *   /usr/share/icons/hicolor/72x72/apps/qbittorrent.png
 *   /usr/share/icons/hicolor/64x64/status/qbittorrent-tray.png
 *   /usr/share/icons/hicolor/64x64/apps/qbittorrent.png
 *   /usr/share/icons/hicolor/48x48/status/qbittorrent-tray.png
 *   /usr/share/icons/hicolor/48x48/apps/qbittorrent.png
 *   /usr/share/icons/hicolor/36x36/status/qbittorrent-tray.png
 *   /usr/share/icons/hicolor/36x36/apps/qbittorrent.png
 *   /usr/share/icons/hicolor/32x32/status/qbittorrent-tray.png
 *   /usr/share/icons/hicolor/32x32/apps/qbittorrent.png
 *   /usr/share/icons/hicolor/24x24/status/qbittorrent-tray.png
 *   /usr/share/icons/hicolor/24x24/apps/qbittorrent.png
 *   /usr/share/icons/hicolor/22x22/status/qbittorrent-tray.png
 *   /usr/share/icons/hicolor/22x22/apps/qbittorrent.png
 *   /usr/share/icons/hicolor/16x16/status/qbittorrent-tray.png
 *   /usr/share/icons/hicolor/16x16/apps/qbittorrent.png
 * Please make sure to call xdg_icon_cache_update()
 * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
>>> Auto-cleaning packages...
 
>>> No outdated packages were found on your system.
 
 * GNU info directory index is up-to-date.
Comment 1 Michael T. Kloos 2020-03-02 02:05:28 UTC
I also ran, as root, "gtk-update-icon-cache".  The ebuild should have already run those things.  It is currently unclear if my manual intervention did infact solve the problem or if there is something else going on.
Comment 2 Andreas Sturmlechner gentoo-dev 2020-03-02 07:24:57 UTC
It is because gnome2-utils.eclass silently does not provide gnome2_icon_cache_update in EAPI-7...
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-03-04 13:34:36 UTC
Fixed.