diff options
author | Benda Xu <heroxbd@gentoo.org> | 2023-06-26 16:32:48 +0800 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2023-06-27 21:38:34 +0800 |
commit | 45a9b6d8547284abd64bc0035b215b312dcd8701 (patch) | |
tree | 55eb3b9333dd7054e816701b1d4772a9b9f4c1c2 /x11-wm/xpra | |
parent | dev-libs/flatbuffers: Remove old (diff) | |
download | gentoo-45a9b6d8547284abd64bc0035b215b312dcd8701.tar.gz gentoo-45a9b6d8547284abd64bc0035b215b312dcd8701.tar.bz2 gentoo-45a9b6d8547284abd64bc0035b215b312dcd8701.zip |
x11-wm/xpra: retry to prefixify Xpra.
Xpra likes to embed many hard-coded directory guess making the
prefixify tricky in the past. This is an attempt to prefixify it from
a minimal set of modifications.
Bug: https://bugs.gentoo.org/802105
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'x11-wm/xpra')
-rw-r--r-- | x11-wm/xpra/xpra-4.4.6-r1.ebuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/x11-wm/xpra/xpra-4.4.6-r1.ebuild b/x11-wm/xpra/xpra-4.4.6-r1.ebuild index 322e28c739e9..70ff28512e72 100644 --- a/x11-wm/xpra/xpra-4.4.6-r1.ebuild +++ b/x11-wm/xpra/xpra-4.4.6-r1.ebuild @@ -16,7 +16,7 @@ DISTUTILS_SINGLE_IMPL=yes DISTUTILS_USE_SETUPTOOLS=no DISTUTILS_EXT=1 -inherit xdg xdg-utils distutils-r1 tmpfiles udev +inherit xdg xdg-utils distutils-r1 prefix tmpfiles udev DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy" HOMEPAGE="https://xpra.org/" @@ -123,9 +123,7 @@ PATCHES=( python_prepare_all() { distutils-r1_python_prepare_all - # FIXME: There are hardcoded paths all over the place but the following - # double-prefixes some files under /etc. Looks tricky to fix. :( - #hprefixify $(find -type f \( -name "*.py" -o -name "*.conf" \)) + hprefixify xpra/scripts/config.py sed -r -e "/\bdoc_dir =/s:/${PN}/\":/${PF}/html\":" \ -i setup.py || die |