From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: xorgproto Date: Sat, 17 Feb 2018 15:20:48 -0500 Message-ID: <871shjjrkv.fsf@netris.org> References: <87eflkveaq.fsf@fastmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en8z8-0004Of-6d for guix-devel@gnu.org; Sat, 17 Feb 2018 15:21:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1en8z5-0003o4-1W for guix-devel@gnu.org; Sat, 17 Feb 2018 15:21:26 -0500 Received: from world.peace.net ([50.252.239.5]:51334) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1en8z4-0003nw-SZ for guix-devel@gnu.org; Sat, 17 Feb 2018 15:21:22 -0500 In-Reply-To: <87eflkveaq.fsf@fastmail.com> (Marius Bakke's message of "Fri, 16 Feb 2018 22:02:21 +0100") 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" To: Marius Bakke Cc: guix-devel@gnu.org Marius Bakke writes: > X.org recently consolidated the various -proto packages (xproto, > xf86driproto, etc) into a single "xorgproto" package: > . > > I'd like to push the attached patch to 'master' and use it for any new > packages, and replace xproto and friends in the next rebuild cycle. > > I've tried building a few packages with this and it seems to work. WDYT? Looks good to me. Please push. Thanks! Mark > From 467e8aba28caeab03fb63eb74b1fe622cbaf0d1d Mon Sep 17 00:00:00 2001 > From: Marius Bakke > Date: Fri, 16 Feb 2018 21:55:00 +0100 > Subject: [PATCH] gnu: Add xorgproto. > > * gnu/packages/xorg.scm (xorgproto): New public variable. > --- > gnu/packages/xorg.scm | 22 +++++++++++++++++++++- > 1 file changed, 21 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm > index f40686eb6..d0d80a3f9 100644 > --- a/gnu/packages/xorg.scm > +++ b/gnu/packages/xorg.scm > @@ -4768,7 +4768,27 @@ but are depended upon by many other X Window System packages to provide > common definitions and porting layer.") > (license license:x11))) > > - > +(define-public xorgproto > + (package > + (name "xorgproto") > + (version "2018.2") > + (source (origin > + (method url-fetch) > + (uri (string-append "mirror://xorg/individual/proto/" > + name "-" version ".tar.bz2")) > + (sha256 > + (base32 > + "0r3fk48vp24hk4viw4fjpyh0y7rdg13p5faxc0vicdyqcn5w02cp")))) > + (build-system gnu-build-system) > + (propagated-inputs > + ;; To get util-macros in (almost?) all package inputs. > + `(("util-macros" ,util-macros))) > + (home-page "https://cgit.freedesktop.org/xorg/proto/xorgproto") > + (synopsis "Xorg protocol headers") > + (description > + "This package provides the headers and specification documents defining > +the core protocol and (many) extensions for the X Window System.") > + (license license:x11))) > > ;; packages of height 2 in the propagated-inputs tree