From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH] Fix arandr. Date: Sat, 27 Feb 2016 12:03:57 +0100 Message-ID: <87povie7oi.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZcfQ-0004Wj-7B for guix-devel@gnu.org; Sat, 27 Feb 2016 06:04:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZcfL-0004aj-5R for guix-devel@gnu.org; Sat, 27 Feb 2016 06:04:08 -0500 Received: from sender163-mail.zoho.com ([74.201.84.163]:25624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZcfK-0004aX-SH for guix-devel@gnu.org; Sat, 27 Feb 2016 06:04:03 -0500 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Hi Guix, arandr doesn’t work as it needs “xrandr” at runtime. I tried to patch the sources to replace the path to the “xrandr” binary with a full store item path, but this wasn’t quite as pretty as I hoped as the arandr sources don’t define the path once but directly assemble command line strings in several places. Propagating “xrandr” is the cleaner solution in my opinion. ~~ Ricardo --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-arandr-Propagate-xrandr.patch Content-Transfer-Encoding: 8bit >From 63e7cbea271cbfe0ab083b63d8755d3a83f93e5a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 27 Feb 2016 12:00:20 +0100 Subject: [PATCH] gnu: arandr: Propagate "xrandr". * gnu/packages/xdisorg.scm (arandr)[propagated-inputs]: Add "xrandr". --- gnu/packages/xdisorg.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 46fccfe..bd17d4b 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2015 xd1le ;;; Copyright © 2015 Florian Paul Schmidt ;;; Copyright © 2016 Christopher Allan Webber +;;; Copyright © 2016 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -69,6 +70,8 @@ (arguments `(#:python ,python-2 ;incompatible with python 3 #:tests? #f)) ;no tests (inputs `(("pygtk" ,python2-pygtk))) + ;; "xrandr" is executed from various places in the code. + (propagated-inputs `(("xrandr" ,xrandr))) (native-inputs `(("gettext" ,gnu-gettext) ("python-docutils" ,python2-docutils) ("python-setuptools" ,python2-setuptools))) -- 2.6.3 --=-=-=--