gnu: perl-x11-xcb: Update to 0.19.

* gnu/packages/xorg.scm (perl-x11-xcb): Update to 0.19.
[arguments]: Don't explicitly return #t from phases.
This commit is contained in:
Tobias Geerinckx-Rice 2022-01-11 20:27:38 +00:00
parent 6ff98ce397
commit 37c84d0774
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -6174,7 +6174,7 @@ (define-public xterm
(define-public perl-x11-xcb (define-public perl-x11-xcb
(package (package
(name "perl-x11-xcb") (name "perl-x11-xcb")
(version "0.18") (version "0.19")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -6182,7 +6182,7 @@ (define-public perl-x11-xcb
"X11-XCB-" version ".tar.gz")) "X11-XCB-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1cjpghw7cnackw20lbd7yzm222kz5bnrwz52f8ay24d1f4pwrnxf")))) "1rn8g0yy82v5zp12rhxic332dvqs63l7mykg028ngvccs7rllipp"))))
(build-system perl-build-system) (build-system perl-build-system)
(arguments (arguments
'(;; Disable parallel build to prevent a race condition. '(;; Disable parallel build to prevent a race condition.
@ -6193,8 +6193,7 @@ (define-public perl-x11-xcb
(lambda _ (lambda _
(setenv "PERL5LIB" (setenv "PERL5LIB"
(string-append (getcwd) ":" (string-append (getcwd) ":"
(getenv "PERL5LIB"))) (getenv "PERL5LIB")))))
#t))
(add-before 'build 'patch-Makefile (add-before 'build 'patch-Makefile
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "Makefile" (substitute* "Makefile"
@ -6202,8 +6201,7 @@ (define-public perl-x11-xcb
;; an error such as "XCB.so: undefined symbol: xcb_xinerama_id" ;; an error such as "XCB.so: undefined symbol: xcb_xinerama_id"
(("^LDDLFLAGS = ") (("^LDDLFLAGS = ")
(string-append "LDDLFLAGS = " (string-append "LDDLFLAGS = "
"-lxcb -lxcb-util -lxcb-xinerama -lxcb-icccm "))) "-lxcb -lxcb-util -lxcb-xinerama -lxcb-icccm "))))))
#t)))
;; Tests require a running X11 server. ;; Tests require a running X11 server.
#:tests? #f)) #:tests? #f))
(native-inputs (native-inputs