From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: [PATCH 02/04] gnu: xdotools: Update to 3.20150503.1 Date: Fri, 05 Feb 2016 19:48:12 -0800 Message-ID: <87d1safqir.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/x-patch; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRtr5-0002aI-1Z for guix-devel@gnu.org; Fri, 05 Feb 2016 22:48:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRtr3-0002Cb-PF for guix-devel@gnu.org; Fri, 05 Feb 2016 22:48:14 -0500 Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:44238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRtr3-0002CX-ID for guix-devel@gnu.org; Fri, 05 Feb 2016 22:48:13 -0500 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 4093D266DD for ; Fri, 5 Feb 2016 22:48:12 -0500 (EST) Content-Disposition: inline; filename=0002-gnu-xdotools-Update-to-3.20150503.1.patch 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 >From fa531a1f2a6d84232d9c94feb5b3136cd11f83b5 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Fri, 5 Feb 2016 15:24:01 -0800 Subject: [PATCH 2/4] gnu: xdotools: Update to 3.20150503.1 * gnu/packages/xdisorg.scm (xdotools): Upgrade to 3.20150503.1. * gnu/packages/patches/xdotool-fix-makefile.patch: New file. --- gnu/packages/patches/xdotool-fix-makefile.patch | 16 ++++++++++++++++ gnu/packages/xdisorg.scm | 14 +++++++++----- 2 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 gnu/packages/patches/xdotool-fix-makefile.patch diff --git a/gnu/packages/patches/xdotool-fix-makefile.patch b/gnu/packag= es/patches/xdotool-fix-makefile.patch new file mode 100644 index 0000000..5fed41f --- /dev/null +++ b/gnu/packages/patches/xdotool-fix-makefile.patch @@ -0,0 +1,16 @@ +Fix Makefile, which missed including a necessary library for compiling i= n the +0.5.0 release. + +See https://github.com/jordansissel/xdotool/pull/81 for more information= . + +--- xdotool-3.20150503.1/Makefile 2014-10-20 13:05:34.000000000 -0700 ++++ xdotool-3.20150503.1/Makefile 2016-02-05 14:44:18.652734272 -0800 +@@ -28,7 +28,7 @@ + CFLAGS+=3D-g # TODO(sissel): Comment before release + CFLAGS+=3D$(CPPFLAGS) +=20 +-DEFAULT_LIBS=3D-L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXtst -lXineram= a ++DEFAULT_LIBS=3D-L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXtst -lXineram= a -lxkbcommon + DEFAULT_INC=3D-I/usr/X11R6/include -I/usr/local/include +=20 + XDOTOOL_LIBS=3D$(shell pkg-config --libs x11 2> /dev/null || echo "$(DE= FAULT_LIBS)") $(shell sh platform.sh extralibs) \ No newline at end of file diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index dc01637..4662fad 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -9,6 +9,7 @@ ;;; Copyright =C2=A9 2015 Andy Wingo ;;; Copyright =C2=A9 2015 xd1le ;;; Copyright =C2=A9 2015 Florian Paul Schmidt +;;; Copyright =C2=A9 2016 Christopher Allan Webber ;;; ;;; This file is part of GNU Guix. ;;; @@ -48,6 +49,7 @@ #:use-module (gnu packages guile) #:use-module (gnu packages xml) #:use-module (gnu packages gtk) + #:use-module (gnu packages qt) #:use-module (gnu packages xorg)) =20 ;; packages outside the x.org system proper @@ -107,16 +109,17 @@ avoiding password prompts when X11 forwarding has a= lready been setup.") (define-public xdotool (package (name "xdotool") - (version "2.20110530.1") + (version "3.20150503.1") (source (origin (method url-fetch) (uri (string-append - "http://semicomplete.googlecode.com/files/" name "-" - version ".tar.gz")) + "https://github.com/jordansissel/xdotool/releases/download= /v" version + "/xdotool-" version ".tar.gz")) (sha256 (base32 - "0rxggg1cy7nnkwidx8x2w3c5f3pk6dh2b6q0q7hp069r3n5jrd77")))) + "1lcngsw33fy9my21rdiz1gs474bfdqcfxjrnfggbx4aypn1nhcp8")) + (patches (list (search-patch "xdotool-fix-makefile.patch"))))) (build-system gnu-build-system) (arguments '(#:tests? #f ; Test suite requires a lot of black magic @@ -134,7 +137,8 @@ avoiding password prompts when X11 forwarding has alr= eady been setup.") ("libxext" ,libxext) ("libxi" ,libxi) ("libxinerama" ,libxinerama) - ("libxtst" ,libxtst))) + ("libxtst" ,libxtst) + ("libxkbcommon" ,libxkbcommon))) (home-page "http://www.semicomplete.com/projects/xdotool") (synopsis "Fake keyboard/mouse input, window management, and more") (description "Xdotool lets you simulate keyboard input and mouse act= ivity, --=20 2.6.3