commit:     45a9b6d8547284abd64bc0035b215b312dcd8701
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 26 08:32:48 2023 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Tue Jun 27 13:38:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45a9b6d8

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 <AT> gentoo.org>

 x11-wm/xpra/xpra-4.4.6-r1.ebuild | 6 ++----
 1 file 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

Reply via email to