* xorgproto
@ 2018-02-16 21:02 Marius Bakke
2018-02-17 20:20 ` xorgproto Mark H Weaver
0 siblings, 1 reply; 2+ messages in thread
From: Marius Bakke @ 2018-02-16 21:02 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1.1: Type: text/plain, Size: 415 bytes --]
Hello!
X.org recently consolidated the various -proto packages (xproto,
xf86driproto, etc) into a single "xorgproto" package:
<https://lists.x.org/archives/xorg-announce/2018-February/002835.html>.
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?
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-xorgproto.patch --]
[-- Type: text/x-patch, Size: 1647 bytes --]
From 467e8aba28caeab03fb63eb74b1fe622cbaf0d1d Mon Sep 17 00:00:00 2001
From: Marius Bakke <mbakke@fastmail.com>
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
--
2.16.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: xorgproto
2018-02-16 21:02 xorgproto Marius Bakke
@ 2018-02-17 20:20 ` Mark H Weaver
0 siblings, 0 replies; 2+ messages in thread
From: Mark H Weaver @ 2018-02-17 20:20 UTC (permalink / raw)
To: Marius Bakke; +Cc: guix-devel
Marius Bakke <mbakke@fastmail.com> writes:
> X.org recently consolidated the various -proto packages (xproto,
> xf86driproto, etc) into a single "xorgproto" package:
> <https://lists.x.org/archives/xorg-announce/2018-February/002835.html>.
>
> 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 <mbakke@fastmail.com>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-02-17 20:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-16 21:02 xorgproto Marius Bakke
2018-02-17 20:20 ` xorgproto Mark H Weaver
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).