GNU bug report logs - #73127
[PATCH gnome-team] gnu: glib: Update to 2.80.5.

Previous Next

Package: guix-patches;

Reported by: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Date: Sun, 8 Sep 2024 21:03:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73127 in the body.
You can then email your comments to 73127 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, vivien <at> planete-kraus.eu, guix-patches <at> gnu.org:
bug#73127; Package guix-patches. (Sun, 08 Sep 2024 21:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
New bug report received and forwarded. Copy sent to liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, vivien <at> planete-kraus.eu, guix-patches <at> gnu.org. (Sun, 08 Sep 2024 21:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH gnome-team] gnu: glib: Update to 2.80.5.
Date: Sun, 8 Sep 2024 22:44:25 +0200
* gnu/packages/glib.scm (glib): Update to 2.80.5.
[native-inputs]: Add python-packaging-bootstrap.
---
 gnu/packages/glib.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index d6275ea63e..a0f1949f2f 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -73,6 +73,7 @@ (define-module (gnu packages glib)
   #:use-module (gnu packages popt)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages web)
@@ -243,7 +244,7 @@ (define-public dbus-verbose
 (define glib
   (package
     (name "glib")
-    (version "2.78.0")
+    (version "2.80.5")
     (source
      (origin
        (method url-fetch)
@@ -252,7 +253,7 @@ (define glib
                        name "/" (string-take version 4) "/"
                        name "-" version ".tar.xz"))
        (sha256
-        (base32 "0c3vagxl77wma85qinbj974jvw96n5bvch2m7hqcwxq8fa5spsj4"))
+        (base32 "0wb77rnfcfmz368dg7b8d4waif8qddidcdvyvszmns9wh3gaj8wz"))
        (patches
         (search-patches "glib-appinfo-watch.patch"
                         "glib-skip-failing-test.patch"))
@@ -483,6 +484,7 @@ (define glib
            perl                         ;needed by GIO tests
            pkg-config
            python                       ;for 'patch-python-references
+           python-packaging-bootstrap
            python-wrapper
            tzdata-for-tests))           ;for tests/gdatetime.c
     (inputs

base-commit: bf0af917fe6127d79251c7c0f3e3d33e1e8b1403
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#73127; Package guix-patches. (Wed, 11 Sep 2024 03:48:01 GMT) Full text and rfc822 format available.

Message #8 received at 73127 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: 73127 <at> debbugs.gnu.org, vivien <at> planete-kraus.eu
Subject: Re: [bug#73127] [PATCH gnome-team] gnu: glib: Update to 2.80.5.
Date: Wed, 11 Sep 2024 12:46:12 +0900
Liliana Marie Prikler <liliana.prikler <at> gmail.com> writes:

> * gnu/packages/glib.scm (glib): Update to 2.80.5.
> [native-inputs]: Add python-packaging-bootstrap.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer <at> gmail>

-- 
Thanks,
Maxim




Information forwarded to liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, vivien <at> planete-kraus.eu, guix-patches <at> gnu.org:
bug#73127; Package guix-patches. (Fri, 13 Sep 2024 17:22:01 GMT) Full text and rfc822 format available.

Message #11 received at 73127 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: 73127 <at> debbugs.gnu.org
Subject: [PATCH gnome-team v2] gnu: glib: Update to 2.80.5.
Date: Sun, 8 Sep 2024 22:44:25 +0200
* gnu/packages/glib.scm (glib): Update to 2.80.5.
[#:phases]: Add ‘wrap-python’.
[inputs]: Add python-packaging-bootstrap.
---

v2 fixes builds in dependent packages, but may come at the cost of making
glib no longer cross-compilable (note: I don't know whether it can be
cross-built currently, and would like some pointers on how to achieve
this for a potential v3).  qtbase still fails --- bug report incoming.

 gnu/packages/glib.scm | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index d6275ea63e..72bcbdcc61 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -73,6 +73,7 @@ (define-module (gnu packages glib)
   #:use-module (gnu packages popt)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages web)
@@ -243,7 +244,7 @@ (define-public dbus-verbose
 (define glib
   (package
     (name "glib")
-    (version "2.78.0")
+    (version "2.80.5")
     (source
      (origin
        (method url-fetch)
@@ -252,7 +253,7 @@ (define glib
                        name "/" (string-take version 4) "/"
                        name "-" version ".tar.xz"))
        (sha256
-        (base32 "0c3vagxl77wma85qinbj974jvw96n5bvch2m7hqcwxq8fa5spsj4"))
+        (base32 "0wb77rnfcfmz368dg7b8d4waif8qddidcdvyvszmns9wh3gaj8wz"))
        (patches
         (search-patches "glib-appinfo-watch.patch"
                         "glib-skip-failing-test.patch"))
@@ -475,7 +476,12 @@ (define glib
                 (("^bindir=.*")
                  "")
                 (("=\\$\\{bindir\\}/")
-                 "=")))))))
+                 "="))))
+          (add-after 'install 'wrap-python
+            (lambda* (#:key outputs #:allow-other-keys)
+              ;; gdbus-codegen imports packaging.version.
+              (wrap-program (search-input-file outputs "bin/gdbus-codegen")
+                `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))))))))
     (native-inputs
      (list dbus
            gettext-minimal
@@ -486,13 +492,17 @@ (define glib
            python-wrapper
            tzdata-for-tests))           ;for tests/gdatetime.c
     (inputs
-     (list ;; "python", "python-wrapper" and "bash-minimal"
+     (list
+      ;; "python", "python-wrapper" and "bash-minimal"
       ;; are for the 'patch-shebangs' phase, to make
       ;; sure the installed scripts end up with a correct shebang
       ;; when cross-compiling.
+      ;; "python-packaging-bootstrap" is needed by 'wrap-python' to
+      ;; ensure gdbus-codegen works as expected.
       bash-minimal
       python
-      python-wrapper))
+      python-wrapper
+      python-packaging-bootstrap))
     (propagated-inputs
      (list libffi            ; in the Requires.private field of gobject-2.0.pc
            pcre2             ; in the Requires.private field of glib-2.0.pc

base-commit: bf0af917fe6127d79251c7c0f3e3d33e1e8b1403
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#73127; Package guix-patches. (Sat, 14 Sep 2024 13:22:02 GMT) Full text and rfc822 format available.

Message #14 received at 73127 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: 73127 <at> debbugs.gnu.org, vivien <at> planete-kraus.eu
Subject: Re: [bug#73127] [PATCH gnome-team v2] gnu: glib: Update to 2.80.5.
Date: Sat, 14 Sep 2024 22:20:23 +0900
Hi Liliana,

Liliana Marie Prikler <liliana.prikler <at> gmail.com> writes:

> * gnu/packages/glib.scm (glib): Update to 2.80.5.
> [#:phases]: Add ‘wrap-python’.
> [inputs]: Add python-packaging-bootstrap.
> ---
>
> v2 fixes builds in dependent packages, but may come at the cost of making
> glib no longer cross-compilable (note: I don't know whether it can be
> cross-built currently, and would like some pointers on how to achieve
> this for a potential v3).  qtbase still fails --- bug report incoming.

I wouldn't worry too much about making it non cross-compilable by adding
a Python input; I had a patch making it possible to cross-compile python
packages on old core-updates, I should revisit it.

The rest looks fine to me.

-- 
Thanks,
Maxim




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Tue, 12 Nov 2024 08:33:02 GMT) Full text and rfc822 format available.

Notification sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
bug acknowledged by developer. (Tue, 12 Nov 2024 08:33:02 GMT) Full text and rfc822 format available.

Message #19 received at 73127-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: 73127-done <at> debbugs.gnu.org, vivien <at> planete-kraus.eu
Subject: Re: bug#73127: [PATCH gnome-team] gnu: glib: Update to 2.80.5.
Date: Tue, 12 Nov 2024 17:31:31 +0900
Hi,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> Hi Liliana,
>
> Liliana Marie Prikler <liliana.prikler <at> gmail.com> writes:
>
>> * gnu/packages/glib.scm (glib): Update to 2.80.5.
>> [#:phases]: Add ‘wrap-python’.
>> [inputs]: Add python-packaging-bootstrap.
>> ---
>>
>> v2 fixes builds in dependent packages, but may come at the cost of making
>> glib no longer cross-compilable (note: I don't know whether it can be
>> cross-built currently, and would like some pointers on how to achieve
>> this for a potential v3).  qtbase still fails --- bug report incoming.
>
> I wouldn't worry too much about making it non cross-compilable by adding
> a Python input; I had a patch making it possible to cross-compile python
> packages on old core-updates, I should revisit it.
>
> The rest looks fine to me.

That's obsolete by glib 2.83.0 on my latest gnome-team submission (bug
#74306).

-- 
Thanks,
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 10 Dec 2024 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 187 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.