From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: [PATCH] gnu: Add arandr. Date: Sat, 26 Sep 2015 18:29:11 +0200 Message-ID: <1443284951-8561-1-git-send-email-mthl@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.5.3" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfsLq-0002iG-8L for guix-devel@gnu.org; Sat, 26 Sep 2015 12:29:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZfsLn-0002ar-2D for guix-devel@gnu.org; Sat, 26 Sep 2015 12:29:30 -0400 Received: from smtp16.openmailbox.org ([62.4.1.50]:59545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfsLm-0002aA-QX for guix-devel@gnu.org; Sat, 26 Sep 2015 12:29:27 -0400 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@gnu.org This is a multi-part message in MIME format. --------------2.5.3 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: quoted-printable * gnu/packages/xdisorg.scm (arandr): New variable. --- gnu/packages/xdisorg.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) --------------2.5.3 Content-Type: text/x-patch; name="0001-gnu-Add-arandr.patch" Content-Disposition: inline; filename="0001-gnu-Add-arandr.patch" Content-Transfer-Encoding: quoted-printable diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 7aa82fe..34c65d6 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -30,12 +30,15 @@ #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system glib-or-gtk) + #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages compression) #:use-module (gnu packages image) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages perl) + #:use-module (gnu packages python) #:use-module (gnu packages linux) #:use-module (gnu packages guile) #:use-module (gnu packages xml) @@ -44,6 +47,34 @@ =20 ;; packages outside the x.org system proper =20 +(define-public arandr + (package + (name "arandr") + (version "0.1.8") + (source (origin + (method url-fetch) + (uri (string-append "http://christian.amsuess.com/tools/" = name + "/files/" name "-" version ".tar.gz")) + (sha256 + (base32 + "0d574mbmhaqmh7kivaryj2hpghz6xkvic9ah43s1hf385y7c33kd"))= )) + (build-system python-build-system) + (arguments `(#:python ,python-2 ;incompatible with python 3 + #:tests? #f)) ;no tests + (inputs `(("gettext" ,gnu-gettext) + ("pygtk" ,python2-pygtk))) + (native-inputs `(("python-setuptools" ,python2-setuptools) + ("python-docutils" ,python2-docutils))) + (home-page "https://christian.amsuess.com/tools/arandr/") + (synopsis "Another RandR graphical user interface") + ;; TRANSLATORS: "X11 resize-and-rotate" should not be translated. + (description "ARandR is designed to provide a simple visual front en= d for +the X11 resize-and-rotate (RandR) extension. Relative monitor positions= are +shown graphically and can be changed in a drag-and-drop way. Configurat= ions +are saved as executable shell scripts which can be loaded without using = this +program.") + (license license:gpl3+))) + (define-public xclip (package (name "xclip") --------------2.5.3--