guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.
commit 6403180d9952d9e2c5d2a61ca88885ec205f3989
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Thu Oct 9 14:37:22 2025 +0200
gnu: glib: Update to 2.86.0.
* gnu/packages/glib.scm (glib-minimal): Update to 2.86.0.
[#:phases]<disable-failing-tests>: Drop substitute* for testfilemonitor.
<patch-pkg-config-files>: Use map.
Also patch “lib/pkgconfig/girepository-2.0.pc”.
---
gnu/packages/glib.scm | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index e0eb107e5a..d5d72b4377 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -253,7 +253,7 @@ information, refer to the @samp{dbus-daemon(1)} man
page.")))
(define glib-minimal
(package
(name "glib")
- (version "2.83.3")
+ (version "2.86.0")
(source
(origin
(method url-fetch)
@@ -262,7 +262,7 @@ information, refer to the @samp{dbus-daemon(1)} man
page.")))
name "/" (string-take version 4) "/"
name "-" version ".tar.xz"))
(sha256
- (base32 "139jpar5f5qjxkf3knvqq1kgdxgsrxqqmybw4yaaagrfpcc57inh"))
+ (base32 "0v8db3mgmlg413abicqbfh1jw3k5zqyiczqyzpbb1krpsxr9jwxm"))
(patches
(search-patches "glib-appinfo-watch.patch"
"glib-skip-failing-test.patch"))
@@ -305,9 +305,6 @@ information, refer to the @samp{dbus-daemon(1)} man
page.")))
(string-append first " = " second "0")))))
(add-after 'unpack 'disable-failing-tests
(lambda _
- (substitute* "gio/tests/meson.build"
- ((".*'testfilemonitor'.*") ;marked as flaky
- ""))
(with-directory-excursion "glib/tests"
(substitute* '("unix.c" "utils.c")
(("[ \t]*g_test_add_func.*;") "")))
@@ -485,11 +482,10 @@ information, refer to the @samp{dbus-daemon(1)} man
page.")))
;; We don't patch "bindir" to point to "$bin/bin", because that
;; would create a reference cycle between the "out" and "bin"
;; outputs.
- (substitute*
- (list (search-input-file outputs "lib/pkgconfig/gio-2.0.pc")
- (search-input-file outputs "lib/pkgconfig/glib-2.0.pc")
- (search-input-file outputs
-
"lib/pkgconfig/girepository-2.0.pc"))
+ (substitute* (map (lambda (f) (search-input-file outputs f))
+ (list "lib/pkgconfig/gio-2.0.pc"
+ "lib/pkgconfig/glib-2.0.pc"
+ "lib/pkgconfig/girepository-2.0.pc"))
(("^bindir=.*")
"")
(("=\\$\\{bindir\\}/")