guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.
commit 4b7fc0fdd1f609de4da38b24499104811eeaca03
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 18711e1232..f3b69586e7 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -246,7 +246,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)
@@ -255,7 +255,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"))
@@ -298,9 +298,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.*;") "")))
@@ -478,11 +475,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\\}/")