Re: xdotool installs a .pc file with /usr/local path in

"Zhang Wen" ([email protected] via blfs-dev Mailing List) <[email protected]> Sun, 2 Nov 2025 10:11:18 +0800
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <CAKjfnjo2Hg_w59UpPXYrxXP71di1Xu0BFv3y-f_UWDSf-ZTufg@mail.gmail.com>
Zhang Wen <[email protected]> 于2025年11月2日周日 10:02写道:
>
> The attached patch fixes this issue.
> Wonder if the xdotool package is actually used by other packages.

Sorry for accidently including the backup parameter on the sed line.
The fixed patch attached.

-- 
Key fingerprint:
419F 72F3 F3A9 36EE 1B72  B00B C1C3 4BD4 FDA3 362F

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
0001-fix-path-in-pc-file-of-xdotool.patch (application/octet-stream, 772 B)
From 0ac0dd992765feb86543b729b88b0d2cfc1b8e58 Mon Sep 17 00:00:00 2001
From: Zhang Wen <[email protected]>
Date: Sun, 26 Oct 2025 13:57:49 +0800
Subject: [PATCH] fix path in pc file of xdotool

---
 general/sysutils/xdotool.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/general/sysutils/xdotool.xml b/general/sysutils/xdotool.xml
index 9e93893438..1aa1289d9a 100644
--- a/general/sysutils/xdotool.xml
+++ b/general/sysutils/xdotool.xml
@@ -85,6 +85,12 @@
 
 <screen><userinput>make WITHOUT_RPATH_FIX=1</userinput></screen>
 
+    <para>
+      Fix path in the pkgconfig file
+    </para>
+
+<screen><userinput>sed -i 's#/local##' libxdo.pc</userinput></screen>
+
     <para>
       This package does not come with a test suite.
     </para>
-- 
2.50.1