GNU bug report logs - #75146
[PATCH v0 00/15] XFCE: Move source from generated archive to git.

Previous Next

Package: guix-patches;

Reported by: Ashvith Shetty <ashvithshetty10 <at> gmail.com>

Date: Fri, 27 Dec 2024 19:49:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: iyzsong <at> envs.net
To: 75146 <at> debbugs.gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>, Zhu Zihao <all_but_last <at> 163.com>, 宋文武 <iyzsong <at> envs.net>
Subject: [bug#75146] [PATCH v4 03/68] gnu: xfce4-dev-tools: Fix XDT_CHECK_PACKAGE_BINARY for non-absolute paths.
Date: Tue, 31 Dec 2024 14:43:33 +0800
From: 宋文武 <iyzsong <at> member.fsf.org>

* gnu/packages/xfce.scm (xfce4-dev-tools)[arguments]: Add
'fix-XDT_CHECK_PACKAGE_BINARY phase.

Change-Id: I944428764b821da2958b42df3ae743e79f25ce0e
---
 gnu/packages/xfce.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 83d78bfc19..175c613a16 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -2324,7 +2324,16 @@ (define-public xfce4-dev-tools
     (build-system gnu-build-system)
     (arguments
      (list
-      #:configure-flags #~(list "--enable-maintainer-mode"))) ;for xdt-csource.1
+      #:configure-flags #~(list "--enable-maintainer-mode") ;for xdt-csource.1
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'configure 'fix-XDT_CHECK_PACKAGE_BINARY
+            (lambda _
+              (substitute* "m4macros/xdt-depends.m4"
+                ;; Our pkg-config doesn't report absolute paths for this
+                ;; executable check.
+                (("-a -x \"\\$\\$1\"")
+                 "-a -x `command -v \"$$1\"`")))))))
     (native-inputs (list autoconf
                          automake
                          docbook-xsl
-- 
2.46.0





This bug report was last modified 197 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.