* [bug#28078] [PATCH] gnu: arandr: Use absolute path for xrandr.
@ 2017-08-13 14:48 Arun Isaac
2017-08-14 8:02 ` bug#28078: " Ricardo Wurmus
0 siblings, 1 reply; 2+ messages in thread
From: Arun Isaac @ 2017-08-13 14:48 UTC (permalink / raw)
To: 28078
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#28078: [PATCH] gnu: arandr: Use absolute path for xrandr.
2017-08-13 14:48 [bug#28078] [PATCH] gnu: arandr: Use absolute path for xrandr Arun Isaac
@ 2017-08-14 8:02 ` Ricardo Wurmus
0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2017-08-14 8:02 UTC (permalink / raw)
To: Arun Isaac; +Cc: 28078-done
Arun Isaac <arunisaac@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-14 8:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-13 14:48 [bug#28078] [PATCH] gnu: arandr: Use absolute path for xrandr Arun Isaac
2017-08-14 8:02 ` bug#28078: " Ricardo Wurmus
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.