GNU bug report logs - #28078
[PATCH] gnu: arandr: Use absolute path for xrandr.

Previous Next

Package: guix-patches;

Reported by: Arun Isaac <arunisaac <at> systemreboot.net>

Date: Sun, 13 Aug 2017 14:51:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Arun Isaac <arunisaac <at> systemreboot.net>
Subject: bug#28078: closed (Re: [bug#28078] [PATCH] gnu: arandr: Use
 absolute path for xrandr.)
Date: Mon, 14 Aug 2017 08:03:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#28078: [PATCH] gnu: arandr: Use absolute path for xrandr.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 28078 <at> debbugs.gnu.org.

-- 
28078: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28078
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ricardo Wurmus <rekado <at> elephly.net>
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 28078-done <at> debbugs.gnu.org
Subject: Re: [bug#28078] [PATCH] gnu: arandr: Use absolute path for xrandr.
Date: Mon, 14 Aug 2017 10:02:39 +0200
Arun Isaac <arunisaac <at> systemreboot.net> writes:

> * gnu/packages/xdisorg.scm (arandr)[arguments]: Add configure phase.
> ---

Thanks.  Pushed as 28fd275ca with a minor change (returning “#t”).

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net


[Message part 3 (message/rfc822, inline)]
From: Arun Isaac <arunisaac <at> systemreboot.net>
To: guix-patches <at> gnu.org
Cc: Arun Isaac <arunisaac <at> systemreboot.net>
Subject: [PATCH] gnu: arandr: Use absolute path for xrandr.
Date: Sun, 13 Aug 2017 20:18:54 +0530
* gnu/packages/xdisorg.scm (arandr)[arguments]: Add configure phase.
---
 gnu/packages/xdisorg.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 31d39ea1f..a566d0afa 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -93,6 +93,13 @@
     (build-system python-build-system)
     (arguments
      `(#:python ,python-2     ;incompatible with python 3
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'build 'configure
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "screenlayout/xrandr.py"
+               (("\"xrandr\"") (string-append "\"" (assoc-ref inputs "xrandr")
+                                              "/bin/xrandr\""))))))
        #:tests? #f)) ;no tests
     (inputs `(("pygtk" ,python2-pygtk)
               ("xrandr" ,xrandr)))
-- 
2.13.4




This bug report was last modified 7 years and 339 days ago.

Previous Next


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