guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.

commit c2620ff296e6138cbca490a1d04f323848710515
Author: Liliana Marie Prikler <liliana.prik...@gmail.com>
AuthorDate: Wed Apr 9 15:41:08 2025 +0200

    gnu: glib: Update to 2.84.3.
    
    * gnu/packages/glib.scm (glib-minimal): Update to 2.84.3.
    [#: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 | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 2493644c45..25aba75288 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.82.1")
+    (version "2.84.3")
     (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 "19l98kdv6d4363minliw0imvxh4qfdw5im988knf8bpm1d2391j7"))
+        (base32 "0gl6vdr5lhyq7cy04dya6iws20a993vqh21jbyl7rxav4b1qfkxa"))
        (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,9 +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"))
+              (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\\}/")

Reply via email to