[PATCH gnome-team 0/2] Update GLib to 2.82.1

  • Open
  • quality assurance status badge
Details
One participant
  • Liliana Marie Prikler
Owner
unassigned
Submitted by
Liliana Marie Prikler
Severity
normal
L
L
Liliana Marie Prikler wrote on 3 Oct 11:32 +0200
(address . guix-patches@gnu.org)
cover.1727947939.git.liliana.prikler@gmail.com
Hi Guix,

this little world rebuild ought to fix our CI issues with gnome-team.

kthxbye

Liliana Marie Prikler (2):
gnu: glib: Update to 2.82.1.
gnu: gobject-introspection: Update to 1.82.0.

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


base-commit: cfa370fc1511a8c50c1179a50138fd335d737d96
--
2.46.0
L
L
Liliana Marie Prikler wrote on 3 Oct 11:31 +0200
[PATCH gnome-team 2/2] gnu: gobject-introspection: Update to 1.82.0.
(address . 73610@debbugs.gnu.org)
b407053b9057d79957c01e6da61e3d2f32b0882a.1727947939.git.liliana.prikler@gmail.com
* gnu/packages/glib.scm (gobject-introspection): Update to 1.82.0.
---
gnu/packages/glib.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 3bf201e7cf..b13b2c659a 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -605,14 +605,14 @@ (define (correct-library-name-phase python name)
(define gobject-introspection
(package
(name "gobject-introspection")
- (version "1.78.1")
+ (version "1.82.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/"
"gobject-introspection/" (version-major+minor version)
"/gobject-introspection-" version ".tar.xz"))
(sha256
- (base32 "1d0vhi83q0xc7kg3zn32wy7n16f3dd5blicyh5v8w9gpkbcsnyxx"))
+ (base32 "029gr80q8749dhcpmf5x1w48adinihb634qyqimz4js210clqnhg"))
(patches (search-patches
"gobject-introspection-cc.patch"
"gobject-introspection-girepository.patch"
--
2.46.0
L
L
Liliana Marie Prikler wrote on 3 Oct 11:25 +0200
[PATCH gnome-team 1/2] gnu: glib: Update to 2.82.1.
(address . 73610@debbugs.gnu.org)
b48b7cba767c5b709136fb07d7a232a52253751d.1727947939.git.liliana.prikler@gmail.com
GLib 2.82.1 builds without the packaging module, instead using internal
code for version checks. Currently, CI fails with 2.80.5, because
python-packaging-bootstrap (and therefore glib) can not be cross-built.
For more information on the upstream change, see

* gnu/packages/glib.scm (glib): Update to 2.82.1.
[#:phases]: Remove ‘wrap-python’.
[inputs]: Remove python-packaging-bootstrap.
---
gnu/packages/glib.scm | 17 ++++-------------
1 file changed, 4 insertions(+), 13 deletions(-)

Toggle diff (60 lines)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 1c2c2a3179..3bf201e7cf 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -75,7 +75,6 @@ (define-module (gnu packages glib)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pretty-print)
#: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)
@@ -246,7 +245,7 @@ (define-public dbus-verbose
(define glib
(package
(name "glib")
- (version "2.80.5")
+ (version "2.82.1")
(source
(origin
(method url-fetch)
@@ -255,7 +254,7 @@ (define glib
name "/" (string-take version 4) "/"
name "-" version ".tar.xz"))
(sha256
- (base32 "0wb77rnfcfmz368dg7b8d4waif8qddidcdvyvszmns9wh3gaj8wz"))
+ (base32 "19l98kdv6d4363minliw0imvxh4qfdw5im988knf8bpm1d2391j7"))
(patches
(search-patches "glib-appinfo-watch.patch"
"glib-skip-failing-test.patch"))
@@ -478,12 +477,7 @@ (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
@@ -499,12 +493,9 @@ (define glib
;; 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-packaging-bootstrap))
+ python-wrapper))
(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
--
2.46.0
L
L
Liliana Marie Prikler wrote on 3 Oct 11:31 +0200
[PATCH gnome-team v2 2/4] gnu: gobject-introspection: Update to 1.82.0.
(address . 73610@debbugs.gnu.org)
b407053b9057d79957c01e6da61e3d2f32b0882a.1728115303.git.liliana.prikler@gmail.com
* gnu/packages/glib.scm (gobject-introspection): Update to 1.82.0.
---
gnu/packages/glib.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 3bf201e7cf..b13b2c659a 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -605,14 +605,14 @@ (define (correct-library-name-phase python name)
(define gobject-introspection
(package
(name "gobject-introspection")
- (version "1.78.1")
+ (version "1.82.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/"
"gobject-introspection/" (version-major+minor version)
"/gobject-introspection-" version ".tar.xz"))
(sha256
- (base32 "1d0vhi83q0xc7kg3zn32wy7n16f3dd5blicyh5v8w9gpkbcsnyxx"))
+ (base32 "029gr80q8749dhcpmf5x1w48adinihb634qyqimz4js210clqnhg"))
(patches (search-patches
"gobject-introspection-cc.patch"
"gobject-introspection-girepository.patch"
--
2.46.0
L
L
Liliana Marie Prikler wrote on 5 Oct 09:55 +0200
[PATCH gnome-team v2 3/4] gnu: bootstrap glib and gobject against each other.
(address . 73610@debbugs.gnu.org)
329338bfa35d1b46c3280c0ca933fe20d23d4d56.1728115303.git.liliana.prikler@gmail.com
As of GLib 2.82, introspection data in GLib is built as part of the package,
requiring gobject-introspection.

* gnu/packages/gnome.scm (glib-minimal, gobject-introspection-minimal): New
variables.
(glib): Use gobject-introspection-minimal for bootstrap.
(gobject-introspection-minimal): Use glib-minimal for bootstrap.
(gobject-introspection): Fix propagations.
---
gnu/packages/glib.scm | 36 ++++++++++++++++++++++++++++++------
1 file changed, 30 insertions(+), 6 deletions(-)

Toggle diff (82 lines)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index b13b2c659a..15b0c03de6 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -242,7 +242,7 @@ (define-public dbus-verbose
the @code{DBUS_VERBOSE} environment variable is set to @samp{1}. For more
information, refer to the @samp{dbus-daemon(1)} man page.")))
-(define glib
+(define glib-minimal
(package
(name "glib")
(version "2.82.1")
@@ -524,6 +524,21 @@ (define glib
(license license:lgpl2.1+)
(properties '((hidden? . #t)))))
+(define glib
+ (let ((base glib-minimal))
+ (package/inherit base
+ (native-inputs
+ (modify-inputs (package-native-inputs base)
+ (prepend gobject-introspection-minimal)))
+ (arguments
+ (substitute-keyword-arguments (package-arguments base)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ ;; GI tests require installed libraries
+ (delete 'check)
+ (add-after 'install 'check
+ (assoc-ref #$phases 'check)))))))))
+
(define-public glib-with-documentation
;; glib's doc must be built in a separate package since it requires gtk-doc,
;; which in turn depends on glib.
@@ -602,7 +617,7 @@ (define (correct-library-name-phase python name)
(string-append name target-suffix))
(rename-file native-name target-name)))
-(define gobject-introspection
+(define gobject-introspection-minimal
(package
(name "gobject-introspection")
(version "1.82.0")
@@ -659,15 +674,14 @@ (define gobject-introspection
`(,@(if (%current-target-system)
`(("python" ,python))
'())
- ("glib" ,glib "bin")
+ ("glib" ,glib-minimal "bin")
("pkg-config" ,pkg-config)
("bison" ,bison)
("flex" ,flex)))
(inputs
- `(("python" ,python)
- ("zlib" ,zlib)))
+ (list python zlib))
(propagated-inputs
- (list glib
+ (list glib-minimal
;; In practice, GIR users will need libffi when using
;; gobject-introspection.
libffi))
@@ -691,6 +705,16 @@ (define gobject-introspection
;; For tools.
license:gpl2+))))
+(define gobject-introspection
+ (let ((base gobject-introspection-minimal))
+ (package/inherit base
+ (native-inputs
+ (modify-inputs (package-native-inputs base)
+ (replace "glib" glib)))
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs base)
+ (replace "glib" glib))))))
+
(define intltool
(package
(name "intltool")
--
2.46.0
L
L
Liliana Marie Prikler wrote on 3 Oct 11:25 +0200
[PATCH gnome-team v2 1/4] gnu: glib: Update to 2.82.1.
(address . 73610@debbugs.gnu.org)
b48b7cba767c5b709136fb07d7a232a52253751d.1728115303.git.liliana.prikler@gmail.com
GLib 2.82.1 builds without the packaging module, instead using internal
code for version checks. Currently, CI fails with 2.80.5, because
python-packaging-bootstrap (and therefore glib) can not be cross-built.
For more information on the upstream change, see

* gnu/packages/glib.scm (glib): Update to 2.82.1.
[#:phases]: Remove ‘wrap-python’.
[inputs]: Remove python-packaging-bootstrap.
---
gnu/packages/glib.scm | 17 ++++-------------
1 file changed, 4 insertions(+), 13 deletions(-)

Toggle diff (66 lines)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 1c2c2a3179..3bf201e7cf 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -75,7 +75,6 @@ (define-module (gnu packages glib)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pretty-print)
#: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)
@@ -246,7 +245,7 @@ (define-public dbus-verbose
(define glib
(package
(name "glib")
- (version "2.80.5")
+ (version "2.82.1")
(source
(origin
(method url-fetch)
@@ -255,7 +254,7 @@ (define glib
name "/" (string-take version 4) "/"
name "-" version ".tar.xz"))
(sha256
- (base32 "0wb77rnfcfmz368dg7b8d4waif8qddidcdvyvszmns9wh3gaj8wz"))
+ (base32 "19l98kdv6d4363minliw0imvxh4qfdw5im988knf8bpm1d2391j7"))
(patches
(search-patches "glib-appinfo-watch.patch"
"glib-skip-failing-test.patch"))
@@ -478,12 +477,7 @@ (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
@@ -499,12 +493,9 @@ (define glib
;; 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-packaging-bootstrap))
+ python-wrapper))
(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: cfa370fc1511a8c50c1179a50138fd335d737d96
prerequisite-patch-id: 62615e3364240136aed1a3cf7a7305820d7556a0
prerequisite-patch-id: 3d96061b0ed271a639d4fc0330f950f10cfcaa65
prerequisite-patch-id: 98994f71a2858eaf2daa698e06631bd96c571a6f
prerequisite-patch-id: 55a4eacd8251dac5b5a5a172ba71d11a1d33bd30
--
2.46.0
L
L
Liliana Marie Prikler wrote on 5 Oct 09:59 +0200
[PATCH gnome-team v2 4/4] gnu: cairo: Update to 1.18.2.
(address . 73610@debbugs.gnu.org)
198d730afac0ac8a01cfaf5706917779e23289a7.1728115303.git.liliana.prikler@gmail.com
* gnu/packages/gtk.scm (cairo): Update to 1.18.2.
---
gnu/packages/gtk.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

Toggle diff (36 lines)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index ec301dd2fa..a31fb1069d 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -77,6 +77,7 @@ (define-module (gnu packages gtk)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages boost)
+ #:use-module (gnu packages build-tools)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
@@ -169,7 +170,7 @@ (define-public appmenu-gtk-module
(define cairo
(package
(name "cairo")
- (version "1.18.0")
+ (version "1.18.2")
(source
(origin
(method url-fetch)
@@ -177,10 +178,11 @@ (define cairo
(string-append "https://cairographics.org/releases/cairo-"
version ".tar.xz"))
(sha256
- (base32 "0r0by563s75xyzz0d0j1nmjqmdrk2x9agk7r57p3v8vqp4v0ffi4"))))
+ (base32 "0nnli5cghygbl9bvlbjls7nspnrrzx1y1pbd7p649s154js9nax6"))))
(build-system meson-build-system)
(arguments
`(#:tests? #f ; see http://lists.gnu.org/archive/html/bug-guix/2013-06/msg00085.html
+ #:meson ,meson-1.5 ; 1.3 or higher required
#:glib-or-gtk? #t
#:configure-flags
,#~(list "-Dtests=disabled")
--
2.46.0
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 73610@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 73610
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch