janneke pushed a commit to branch core-packages-team in repository guix. commit c5fd78b1456b03e5451e296ff48e0001ffe0e9f0 Author: Zheng Junjie <z572@z572.online> AuthorDate: Sat Feb 8 14:34:30 2025 +0800
gnu: glib: Update to 2.83.3. Fix test for tzdata@2025a. * gnu/packages/glib.scm (glib): Update to 2.83.3. [arguments]<#:phases>: Adjust patch-pkg-config-files phase. Change-Id: Icf53572bfbd38056a7587869a602d7d9dc778c45 --- gnu/packages/glib.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index 5fa5ed80f9..45600f7b54 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 (package (name "glib") - (version "2.78.0") + (version "2.83.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 "0c3vagxl77wma85qinbj974jvw96n5bvch2m7hqcwxq8fa5spsj4")) + (base32 "139jpar5f5qjxkf3knvqq1kgdxgsrxqqmybw4yaaagrfpcc57inh")) (patches (search-patches "glib-appinfo-watch.patch" "glib-skip-failing-test.patch")) @@ -333,7 +333,7 @@ information, refer to the @samp{dbus-daemon(1)} man page."))) ;; assertion failed (last_thread_id <= thread_id): (3 <= 2) #~((substitute* "glib/tests/thread-pool-slow.c" (("^ g_assert_cmpint \\(last_thread_id.*" all) - (string-append "//" all "\n")))) + (string-append "//" all "\n")))) #~()) #$@(if (system-hurd?) '((with-directory-excursion "gio/tests" @@ -480,7 +480,9 @@ information, refer to the @samp{dbus-daemon(1)} man page."))) ;; 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/glib-2.0.pc") + (search-input-file outputs + "lib/pkgconfig/girepository-2.0.pc")) (("^bindir=.*") "") (("=\\$\\{bindir\\}/")