unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#33087] [PATCH] gnu: xorg: Add xcb-util-errors.
@ 2018-10-18 13:53 Stefan Stefanović
  2018-10-18 18:18 ` Stefan Stefanović
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Stefanović @ 2018-10-18 13:53 UTC (permalink / raw)
  To: 33087

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0001-gnu-xorg-Add-xcb-util-errors.patch --]
[-- Type: text/x-patch, Size: 3192 bytes --]

From 5b8759304197989c00096df74dbbe3532aaf3e21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Stefanovi=C4=87?= <stefanx2ovic@gmail.com>
Date: Thu, 18 Oct 2018 15:47:39 +0200
Subject: [PATCH] gnu: xorg: Add xcb-util-errors.

* gnu/packages/xorg.scm (xcb-util-errors): New variable.
---
 gnu/packages/xorg.scm | 52 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 4cf8eb2de..56eb49b22 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -18,6 +18,7 @@
 ;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
 ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
 ;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
+;;; Copyright © 2018 Stefan Stefanović <stefanx2ovic@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5479,6 +5480,57 @@ The XCB util module provides the following libraries:
       "file://COPYING"
       "See COPYING in the distribution."))))
 
+(define-public xcb-util-errors
+  (let ((commit "5d660ebe872cadcdc85de9d6f9afe05de629c030")
+        (revision "1"))
+    (package
+      (name "xcb-util-errors")
+      (version (git-version "1.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://anongit.freedesktop.org/git/xcb/util-errors.git")
+                      (commit commit)
+                      (recursive? #t)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "12bah0iz5k6b9hwlc5zffyfg2gnrajll3gn5s8zmazgynvw72ahg"))))
+     (build-system gnu-build-system)
+     (outputs '("out"))
+     (inputs
+      `(("util-macros" ,util-macros)
+        ("libxcb" ,libxcb)))
+     (propagated-inputs
+      `(("xcb-proto" ,xcb-proto)))
+     (native-inputs
+      `(("autoconf" ,autoconf)
+        ("automake" ,automake)
+        ("libtool" ,libtool)
+        ("python-2" ,python-2)
+        ("pkg-config" ,pkg-config)))
+     (arguments
+      `(#:phases
+        (modify-phases %standard-phases
+          (replace 'bootstrap
+            (lambda _
+              (invoke "autoreconf" "-v" "--install"))))))
+     (home-page "https://cgit.freedesktop.org/xcb/util-errors/")
+     (synopsis "XCB helper library for printing information about X11 errors")
+     (description
+      "The XCB util module provides a number of libraries which sit on
+top of libxcb, the core X protocol library, and some of the extension
+libraries.  These experimental libraries provide convenience functions
+and interfaces which make the raw X protocol more usable.  Some of the
+libraries also provide client-side code which is not strictly part of
+the X protocol but which has traditionally been provided by Xlib.
+
+The XCB util-errors module provides the following library:
+
+- errors: utility library that gives human readable names to
+error codes, event codes and also to major and minor numbers.")
+     (license (license:non-copyleft
+               "file://COPYING" "See COPYING in the distribution.")))))
 
 (define-public xcb-util-image
   (package
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#33087] [PATCH] gnu: xorg: Add xcb-util-errors.
  2018-10-18 13:53 [bug#33087] [PATCH] gnu: xorg: Add xcb-util-errors Stefan Stefanović
@ 2018-10-18 18:18 ` Stefan Stefanović
  2018-10-19 22:29   ` Stefan Stefanović
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Stefanović @ 2018-10-18 18:18 UTC (permalink / raw)
  To: 33087

[-- Attachment #1: Type: text/plain, Size: 218 bytes --]

The title and commit message are misleading.

This new patch fixes the commit message.
I did not mean to write "xorg:".

Oh well, sorry.


On 10/18/18, Stefan Stefanović <stefanx2ovic@gmail.com> wrote:
>
>

[-- Attachment #2: 0001-gnu-Add-xcb-util-errors.patch --]
[-- Type: text/x-patch, Size: 3186 bytes --]

From d5172045163a1ad704a23bcf6b3f985280a5395c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Stefanovi=C4=87?= <stefanx2ovic@gmail.com>
Date: Thu, 18 Oct 2018 15:47:39 +0200
Subject: [PATCH] gnu: Add xcb-util-errors.

* gnu/packages/xorg.scm (xcb-util-errors): New variable.
---
 gnu/packages/xorg.scm | 52 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 4cf8eb2de..56eb49b22 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -18,6 +18,7 @@
 ;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
 ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
 ;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
+;;; Copyright © 2018 Stefan Stefanović <stefanx2ovic@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5479,6 +5480,57 @@ The XCB util module provides the following libraries:
       "file://COPYING"
       "See COPYING in the distribution."))))
 
+(define-public xcb-util-errors
+  (let ((commit "5d660ebe872cadcdc85de9d6f9afe05de629c030")
+        (revision "1"))
+    (package
+      (name "xcb-util-errors")
+      (version (git-version "1.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://anongit.freedesktop.org/git/xcb/util-errors.git")
+                      (commit commit)
+                      (recursive? #t)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "12bah0iz5k6b9hwlc5zffyfg2gnrajll3gn5s8zmazgynvw72ahg"))))
+     (build-system gnu-build-system)
+     (outputs '("out"))
+     (inputs
+      `(("util-macros" ,util-macros)
+        ("libxcb" ,libxcb)))
+     (propagated-inputs
+      `(("xcb-proto" ,xcb-proto)))
+     (native-inputs
+      `(("autoconf" ,autoconf)
+        ("automake" ,automake)
+        ("libtool" ,libtool)
+        ("python-2" ,python-2)
+        ("pkg-config" ,pkg-config)))
+     (arguments
+      `(#:phases
+        (modify-phases %standard-phases
+          (replace 'bootstrap
+            (lambda _
+              (invoke "autoreconf" "-v" "--install"))))))
+     (home-page "https://cgit.freedesktop.org/xcb/util-errors/")
+     (synopsis "XCB helper library for printing information about X11 errors")
+     (description
+      "The XCB util module provides a number of libraries which sit on
+top of libxcb, the core X protocol library, and some of the extension
+libraries.  These experimental libraries provide convenience functions
+and interfaces which make the raw X protocol more usable.  Some of the
+libraries also provide client-side code which is not strictly part of
+the X protocol but which has traditionally been provided by Xlib.
+
+The XCB util-errors module provides the following library:
+
+- errors: utility library that gives human readable names to
+error codes, event codes and also to major and minor numbers.")
+     (license (license:non-copyleft
+               "file://COPYING" "See COPYING in the distribution.")))))
 
 (define-public xcb-util-image
   (package
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#33087] [PATCH] gnu: xorg: Add xcb-util-errors.
  2018-10-18 18:18 ` Stefan Stefanović
@ 2018-10-19 22:29   ` Stefan Stefanović
  2018-11-06 15:56     ` bug#33087: " Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Stefanović @ 2018-10-19 22:29 UTC (permalink / raw)
  To: 33087

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

Please use this latest patch because, I corrected my mistake of
propagating the wrong package.
libxcb should be propagated input instead of xcb-proto.

It should be OK now.

On 10/18/18, Stefan Stefanović <stefanx2ovic@gmail.com> wrote:
> The title and commit message are misleading.
>
> This new patch fixes the commit message.
> I did not mean to write "xorg:".
>
> Oh well, sorry.
>

[-- Attachment #2: 0001-gnu-Add-xcb-util-errors.patch --]
[-- Type: text/x-patch, Size: 2882 bytes --]

From d99569a104ee893b2b4bd31d7b21d20689405cf2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Stefanovi=C4=87?= <stefanx2ovic@gmail.com>
Date: Sat, 20 Oct 2018 00:20:25 +0200
Subject: [PATCH] gnu: Add xcb-util-errors.

* gnu/packages/xorg.scm (xcb-util-errors): New variable.
---
 gnu/packages/xorg.scm | 51 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 4cf8eb2de..10bb68775 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5479,6 +5479,57 @@ The XCB util module provides the following libraries:
       "file://COPYING"
       "See COPYING in the distribution."))))
 
+(define-public xcb-util-errors
+  (let ((commit "5d660ebe872cadcdc85de9d6f9afe05de629c030")
+        (revision "1"))
+    (package
+      (name "xcb-util-errors")
+      (version (git-version "1.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://anongit.freedesktop.org/git/xcb/util-errors.git")
+                      (commit commit)
+                      (recursive? #t)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "12bah0iz5k6b9hwlc5zffyfg2gnrajll3gn5s8zmazgynvw72ahg"))))
+     (build-system gnu-build-system)
+     (outputs '("out"))
+     (inputs
+      `(("util-macros" ,util-macros)
+        ("xcb-proto" ,xcb-proto)))
+     (propagated-inputs
+      `(("libxcb" ,libxcb)))
+     (native-inputs
+      `(("autoconf" ,autoconf)
+        ("automake" ,automake)
+        ("libtool" ,libtool)
+        ("python-2" ,python-2)
+        ("pkg-config" ,pkg-config)))
+     (arguments
+      `(#:phases
+        (modify-phases %standard-phases
+          (replace 'bootstrap
+            (lambda _
+              (invoke "autoreconf" "-v" "--install"))))))
+     (home-page "https://cgit.freedesktop.org/xcb/util-errors/")
+     (synopsis "XCB helper library for printing information about X11 errors")
+     (description
+      "The XCB util module provides a number of libraries which sit on
+top of libxcb, the core X protocol library, and some of the extension
+libraries.  These experimental libraries provide convenience functions
+and interfaces which make the raw X protocol more usable.  Some of the
+libraries also provide client-side code which is not strictly part of
+the X protocol but which has traditionally been provided by Xlib.
+
+The XCB util-errors module provides the following library:
+
+- errors: utility library that gives human readable names to
+error codes, event codes and also to major and minor numbers.")
+     (license (license:non-copyleft
+               "file://COPYING" "See COPYING in the distribution.")))))
 
 (define-public xcb-util-image
   (package
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#33087: [PATCH] gnu: xorg: Add xcb-util-errors.
  2018-10-19 22:29   ` Stefan Stefanović
@ 2018-11-06 15:56     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2018-11-06 15:56 UTC (permalink / raw)
  To: Stefan Stefanović; +Cc: 33087-done

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]

Hello,

Stefan Stefanović <stefanx2ovic@gmail.com> skribis:

> From d99569a104ee893b2b4bd31d7b21d20689405cf2 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Stefan=20Stefanovi=C4=87?= <stefanx2ovic@gmail.com>
> Date: Sat, 20 Oct 2018 00:20:25 +0200
> Subject: [PATCH] gnu: Add xcb-util-errors.
>
> * gnu/packages/xorg.scm (xcb-util-errors): New variable.

Applied with the minor changes below, thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1473 bytes --]

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 7e4fdefe2f..49baef5f04 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5513,6 +5513,9 @@ The XCB util module provides the following libraries:
         (modify-phases %standard-phases
           (replace 'bootstrap
             (lambda _
+              ;; The default 'bootstrap' phase would run 'autogen.sh', which
+              ;; would try to run ./configure and fail due to unpatched
+              ;; shebangs.
               (invoke "autoreconf" "-v" "--install"))))))
      (home-page "https://cgit.freedesktop.org/xcb/util-errors/")
      (synopsis "XCB helper library for printing information about X11 errors")
@@ -5524,12 +5527,10 @@ and interfaces which make the raw X protocol more usable.  Some of the
 libraries also provide client-side code which is not strictly part of
 the X protocol but which has traditionally been provided by Xlib.
 
-The XCB util-errors module provides the following library:
-
-- errors: utility library that gives human readable names to
-error codes, event codes and also to major and minor numbers.")
-     (license (license:non-copyleft
-               "file://COPYING" "See COPYING in the distribution.")))))
+The XCB util-errors module provides a utility library that gives human
+readable names to error codes, event codes, and also to major and minor
+numbers.")
+     (license license:x11))))
 
 (define-public xcb-util-image
   (package

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-06 15:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-18 13:53 [bug#33087] [PATCH] gnu: xorg: Add xcb-util-errors Stefan Stefanović
2018-10-18 18:18 ` Stefan Stefanović
2018-10-19 22:29   ` Stefan Stefanović
2018-11-06 15:56     ` bug#33087: " Ludovic Courtès

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).