summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-09-28 15:13:37 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-09-28 17:00:36 +0200
commitfcb9d022ea2a8bf208f329e0a456e2dcb2f06fcf (patch)
treed7111960d873bb005028c6b282f2e73c09380964
parentapp-office/naps2: fix permissions (diff)
downloadgentoo-fcb9d022ea2a8bf208f329e0a456e2dcb2f06fcf.tar.gz
gentoo-fcb9d022ea2a8bf208f329e0a456e2dcb2f06fcf.tar.bz2
gentoo-fcb9d022ea2a8bf208f329e0a456e2dcb2f06fcf.zip
dev-util/0xtools: replace xtop launcher
Closes: https://bugs.gentoo.org/940266 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--dev-util/0xtools/0xtools-2.0.3-r2.ebuild (renamed from dev-util/0xtools/0xtools-2.0.3-r1.ebuild)6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-util/0xtools/0xtools-2.0.3-r1.ebuild b/dev-util/0xtools/0xtools-2.0.3-r2.ebuild
index 395a7ccf798a..e6903af81533 100644
--- a/dev-util/0xtools/0xtools-2.0.3-r1.ebuild
+++ b/dev-util/0xtools/0xtools-2.0.3-r2.ebuild
@@ -52,7 +52,7 @@ src_install() {
# C executables and scripts
exeinto /usr/bin
- doexe bin/{cpumhz,vmtop,xcapture,xtop}
+ doexe bin/{cpumhz,vmtop,xcapture}
doexe bin/{run_xcapture.sh,run_xcpu.sh}
# Python executables
@@ -73,6 +73,10 @@ src_install() {
doins bin/xcapture-bpf.c
make_wrapper xcapture-bpf "/lib/${PN}/xcapture/xcapture-bpf"
+ # There is a upstream command "xtop" that wraps around "xcapture-bpf"
+ # but its broken because of dynamic path lookup for "xcapture-bpf".
+ make_wrapper xtop "xcapture-bpf --xtop --clear-screen"
+
# Service config
insinto /etc/default
newins xcapture.default xcapture