Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556862 - x11-plugins/wmcliphist-2.1 shows only empty dock, no icon to click at
Summary: x11-plugins/wmcliphist-2.1 shows only empty dock, no icon to click at
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-06 15:40 UTC by Róbert Čerňanský
Modified: 2015-08-12 22:17 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 Róbert Čerňanský 2015-08-06 15:40:42 UTC
wmcliphist 2.1 is not usable since it does not show its icon in the dock therefore there is no way to interact with the dockapp.

Using amd64 stable, x11-wm/windowmaker-0.95.5-r1 here.

strace shows that it looks for its icons in /usr/local/share instead of /usr/share where the icons are actually installed:

$ strace wmcliphist 2>&1 | grep ico_
open("/usr/local/share/wmcliphist/ico_60x60_gray.png", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/wmcliphist/ico_60x60_gray.png", O_RDONLY) = -1 ENOENT (No such file or directory)

$ ls /usr/share/wmcliphist/ico_60*
/usr/share/wmcliphist/ico_60x60_black.png
/usr/share/wmcliphist/ico_60x60_gray.png
/usr/share/wmcliphist/ico_60x60_white.png
Comment 1 Michael Weber (RETIRED) gentoo-dev 2015-08-12 22:03:28 UTC
PREFIX is left alone (/usr/local) during src_compile, but forced via emake PREFIX=/usr during src_install, resulting in the binary still searching in /usr/local.
Comment 2 Michael Weber (RETIRED) gentoo-dev 2015-08-12 22:17:20 UTC
commit 087e1dfac479537b4f6cb541b5b0368bf924af69
Author: Michael Weber <xmw@gentoo.org>
Date:   Thu Aug 13 00:14:54 2015 +0200

    x11-plugins/wmcliphist: fix PREFIX during src_compile (bug 556862, thanks Robert Cernansky).
    
    Package-Manager: portage-2.2.20.1

x11-plugins/wmcliphist/wmcliphist-2.1-r1.ebuild