[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/107: gnu: glib: Update to 2.64.2.
From: |
guix-commits |
Subject: |
03/107: gnu: glib: Update to 2.64.2. |
Date: |
Tue, 12 May 2020 10:53:05 -0400 (EDT) |
kkebreau pushed a commit to branch wip-gnome3.36
in repository guix.
commit 4f53d49bd41647ce05fef35d03eb5354b76dec60
Author: Kei Kebreau <address@hidden>
AuthorDate: Thu Apr 16 12:21:15 2020 -0400
gnu: glib: Update to 2.64.2.
* gnu/packages/glib.scm (glib): Update to 2.64.2.
[arguments]: Add 'patch-/bin/sh' phase. Modify 'disable-failing-tests'
phase
to remove additional failing tests. Modify 'move-executables' phase to
remove obsolete portion. Delete obsolete 'patch-gio-launch-desktop' phase.
---
gnu/packages/glib.scm | 35 +++++++++++++++++++----------------
1 file changed, 19 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 33da929..a9c6db0 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -165,7 +165,7 @@ shared NFS home directories.")
(define glib
(package
(name "glib")
- (version "2.62.6")
+ (version "2.64.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/"
@@ -173,7 +173,7 @@ shared NFS home directories.")
name "-" version ".tar.xz"))
(sha256
(base32
- "174bsmbmcvaw69ff9g60q5sx0fn23rkhqcwqz17h5s7sprps4kqh"))
+ "0xr2gzl91jy6iqvp2sfjjgjyvg3w5cjs04yyk4rk1f8kiznj2bws"))
(patches (search-patches "glib-tests-timer.patch"))
(modules '((guix build utils)))
(snippet
@@ -211,14 +211,14 @@ shared NFS home directories.")
(string-append "command_line = g_strdup_printf (\""
dbus "/bin/dbus-launch")))
#t)))
- (add-after 'unpack 'patch-gio-launch-desktop
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- ;; See also <https://gitlab.gnome.org/GNOME/glib/issues/1633>
- ;; for another future fix.
+ (add-after 'unpack 'patch-/bin/sh
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((bash (assoc-ref inputs "bash")))
+ ;; This prevents the "/appinfo/launch-context-signals" test from
+ ;; failing.
(substitute* "gio/gdesktopappinfo.c"
- (("gio-launch-desktop")
- (string-append out "/libexec/gio-launch-desktop")))
+ (("\"/bin/sh\"")
+ (string-append "\"" bash "/bin/sh\"")))
#t)))
(add-before 'build 'pre-build
(lambda* (#:key inputs outputs #:allow-other-keys)
@@ -264,6 +264,11 @@ shared NFS home directories.")
;; are by default.
"/timer/stop"))
+ ("glib/tests/unix.c"
+ (;; This assumes user "root" exists in the chroot's
+ ;; /etc/passwd, but it does not.
+ "/glib-unix/get-passwd-entry/root"))
+
("gio/tests/gapplication.c"
(;; XXX: proven to be unreliable. See:
;; <https://bugs.debian.org/756273>
@@ -311,6 +316,11 @@ shared NFS home directories.")
)))
(for-each (lambda (x) (apply disable x)) failing-tests)
+ ;; Tests fail due to "undeclared symbols" and "unused
+ ;; documentation entries".
+ (substitute* '("docs/reference/glib/meson.build"
+ "docs/reference/gio/meson.build")
+ (("check: true") "check: false"))
#t)))
(replace 'check
(lambda _
@@ -328,13 +338,6 @@ shared NFS home directories.")
(mkdir-p bin)
(rename-file (string-append out "/bin")
(string-append bin "/bin"))
- ;; This one is an implementation detail of glib.
- ;; It is wrong that that's in "/bin" in the first place,
- ;; but that's what upstream is doing right now.
- ;; See <https://gitlab.gnome.org/GNOME/glib/issues/1633>.
- (mkdir (string-append out "/libexec"))
- (rename-file (string-append bin "/bin/gio-launch-desktop")
- (string-append out "/libexec/gio-launch-desktop"))
;; Do not refer to "bindir", which points to "${prefix}/bin".
;; We don't patch "bindir" to point to "$bin/bin", because that
;; would create a reference cycle between the "out" and "bin"
- branch wip-gnome3.36 created (now bef7b8a), guix-commits, 2020/05/12
- 01/107: gnu: gtksourceview: Update to 4.6.0., guix-commits, 2020/05/12
- 03/107: gnu: glib: Update to 2.64.2.,
guix-commits <=
- 04/107: gnu: glibmm: Update to 2.64.2., guix-commits, 2020/05/12
- 02/107: gnu: gtksourceview-3: Update to 3.24.11., guix-commits, 2020/05/12
- 05/107: gnu: gobject-introspection: Update to 1.64.1., guix-commits, 2020/05/12
- 07/107: gnu: atk: Update to 2.36.0., guix-commits, 2020/05/12
- 09/107: gnu: at-spi2-core: Update to 2.36.0., guix-commits, 2020/05/12
- 11/107: gnu: gtk+: Update to 3.24.18., guix-commits, 2020/05/12
- 06/107: gnu: template-glib: Update to 3.34.0., guix-commits, 2020/05/12
- 08/107: gnu: gtk-doc: Update to 1.32., guix-commits, 2020/05/12
- 10/107: gnu: at-spi2-atk: Update to 2.34.2., guix-commits, 2020/05/12
- 12/107: gnu: libgudev: Update to 233., guix-commits, 2020/05/12