all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#73301] [PATCH 0/4] Post-GLib bumps.
@ 2024-09-15 18:34 Liliana Marie Prikler
       [not found] ` <b7cbc2048ec74e1c0c5d7fa253349030e162cf9c.1726425262.git.liliana.prikler@gmail.com>
  2024-09-22  2:48 ` [bug#73301] [PATCH 0/4] Post-GLib bumps Maxim Cournoyer
  0 siblings, 2 replies; 5+ messages in thread
From: Liliana Marie Prikler @ 2024-09-15 18:34 UTC (permalink / raw)
  To: 73301; +Cc: liliana.prikler, maxim.cournoyer, vivien

Hi Guix,

With the recent bump to GLib 2.80, telepathy-glib and network-manager
no longer build.  Additionally, gtk and libadwaita have new major
versions, that we might want to have in this iteration already.

Cheers

Liliana Marie Prikler (4):
  gnu: telepathy-glib: Fix build.
  gnu: network-manager: Update to 1.48.2.
  gnu: gtk: Update to 4.16.1.
  gnu: libadwaita: Update to 1.6.0.

 gnu/local.mk                                  |  2 +-
 gnu/packages/glib.scm                         |  1 +
 gnu/packages/gnome.scm                        | 11 +++---
 gnu/packages/gtk.scm                          | 34 +++++--------------
 .../patches/network-manager-meson.patch       | 21 ------------
 .../patches/telepathy-glib-fix-test.patch     | 31 +++++++++++++++++
 6 files changed, 46 insertions(+), 54 deletions(-)
 delete mode 100644 gnu/packages/patches/network-manager-meson.patch
 create mode 100644 gnu/packages/patches/telepathy-glib-fix-test.patch


base-commit: 3c3baffeb2861144036d057e7c6fbc2202d0a3f4
-- 
2.46.0





^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#73301] [PATCH 3/4] gnu: gtk: Update to 4.16.1.
       [not found] ` <b7cbc2048ec74e1c0c5d7fa253349030e162cf9c.1726425262.git.liliana.prikler@gmail.com>
@ 2024-09-22  2:47   ` Maxim Cournoyer
  2024-09-22  5:59     ` Liliana Marie Prikler
  0 siblings, 1 reply; 5+ messages in thread
From: Maxim Cournoyer @ 2024-09-22  2:47 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: vivien, 73301

Hi Liliana,

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

> * gnu/packages/gtk.scm (gtk): Update to 4.16.1.
> [arguments]<#:configure-flags>: Replace “-Dgtk_doc=…” with
> “-Ddocumentation=true”.
> <#:test-options>: Add “--no-suite=needs-udmabuf”.
> <#:phases>: Adjust patches for failing tests.
> [inputs]: Replace wayland-protocols with wayland-protocols-next.
> ---
>  gnu/packages/gtk.scm | 34 ++++++++--------------------------
>  1 file changed, 8 insertions(+), 26 deletions(-)
>
> diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
> index 8945fb98ae..5733749a72 100644
> --- a/gnu/packages/gtk.scm
> +++ b/gnu/packages/gtk.scm
> @@ -1141,7 +1141,7 @@ (define-public gtk+
>  (define-public gtk
>    (package
>      (name "gtk")
> -    (version "4.14.5")
> +    (version "4.16.1")
>      (source
>       (origin
>         (method url-fetch)
> @@ -1149,7 +1149,7 @@ (define-public gtk
>                             (version-major+minor version)  "/"
>                             name "-" version ".tar.xz"))
>         (sha256
> -        (base32 "0kg286za53qhl6ngw4rrvbpm3q04g30qf2q77sck7c86y2wz4ism"))
> +        (base32 "0p11k5afy3g9d6p402zrn9izkypwzlb51y9qanibzyc1sjmiwslj"))
>         (patches
>          (search-patches "gtk4-respect-GUIX_GTK4_PATH.patch"))
>         (modules '((guix build utils)))))
> @@ -1166,11 +1166,7 @@ (define-public gtk
>           "-Dcloudproviders=enabled"     ;for cloud-providers support
>           "-Dtracker=enabled"            ;for filechooser search support
>           "-Dcolord=enabled"             ;for color printing support
> -         #$@(if (%current-target-system)
> -                ;; If true, gtkdoc-scangobj will try to execute a
> -                ;; cross-compiled binary.
> -                '("-Dgtk_doc=false")
> -                '("-Dgtk_doc=true"))
> +         "-Ddocumentation=true"
>           "-Dman-pages=true")
>        #:test-options #~(list "--setup=x11" ;defaults to wayland
>                               ;; Use the same test options as upstream uses for
> @@ -1180,6 +1176,7 @@ (define-public gtk
>                               "--no-suite=flaky"
>                               "--no-suite=headless" ; requires mutter…
>                               "--no-suite=gsk-compare-broadway"
> +                             "--no-suite=needs-udmabuf"
>                               ;; These seem to fail on aarch64, and Debian has
>                               ;; also disabled these, see:
>                               ;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050075
> @@ -1219,29 +1216,14 @@ (define-public gtk
>                  (("[ \t]*'empty-text.node',") "")
>                  (("[ \t]*'testswitch.node',") "")
>                  (("[ \t]*'widgetfactory.node',") "")
> -                ;; The unaligned-offscreen test fails for unknown reasons, also
> -                ;; on different distributions (see:
> -                ;; https://gitlab.gnome.org/GNOME/gtk/-/issues/4889).
> -                (("  'unaligned-offscreen',") "")
>                  ;; This test, 'gtk:tools / validate', started failing for
>                  ;; unknown reasons after updating mesa to 23.3.1 and xorgproto
>                  ;; to 2023.2.
>                  ((" 'validate',") "")
> -                ;; XXX: These test failures come newly from 4.14.
> -                ;; Not all of them are reported upstream yet, but the text nodes
> -                ;; are mentioned in
> -                ;; <https://gitlab.gnome.org/GNOME/gtk/-/issues/6647>.
> -                (("'glyph-subpixel-position',") "")
> -                (("'subpixel-positioning',") "")
> -                (("'subpixel-positioning-hidpi-nogl-nocairo',") "")
> -                (("'text.*\\.node',") "")
> -                (("'text-mixed-color-colrv1',") ""))

LGTM so far.

> +                ;; XXX: Figure out why this fails and report upstream.
> +                ((".*'memorytexture',.*") ""))

Is the above comment just for 'memorytexture' test?  I've learnt to be
very explicit in my comments, as when new tests gets disabled, it's how
to track what is being commented about.

(also, I doubt someone will come back to the investigation later, so
this is technical debt on our side -- I'd favor a minimal investigation
with a report upstream if none exist so far).

>                (substitute* "testsuite/reftests/meson.build"
> -                (("[ \t]*'label-wrap-justify.ui',") "")
> -                ;; The inscription-markup.ui fails due to /etc/machine-id
> -                ;; related warnings (see:
> -                ;; https://gitlab.gnome.org/GNOME/gtk/-/issues/5169).
> -                (("[ \t]*'inscription-markup.ui',") ""))
> +                (("[ \t]*'label-wrap-justify.ui',") ""))

There's no more comment about why this new test fails.  Is it known
upstream?

>                ;; These tests fail on an Apple M1 (aarch64) with the following errors:
>                ;; - MESA: error: ZINK: failed to choose pdev
>                ;; - libEGL warning: egl: failed to create dri2 screen
> @@ -1391,7 +1373,7 @@ (define-public gtk
>             vulkan-headers
>             vulkan-loader                ;for vulkan graphics API support
>             wayland                      ;for wayland display-backend
> -           wayland-protocols))
> +           wayland-protocols-next))

Instead of using -next things, perhaps we should byte the bullet and
update them in this iteration too?

Using various variants of system means the system closure will be
higher, may cause problems down the line (if the same process attempts
to load two variants library in memory, that would cause issues).

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#73301] [PATCH 0/4] Post-GLib bumps.
  2024-09-15 18:34 [bug#73301] [PATCH 0/4] Post-GLib bumps Liliana Marie Prikler
       [not found] ` <b7cbc2048ec74e1c0c5d7fa253349030e162cf9c.1726425262.git.liliana.prikler@gmail.com>
@ 2024-09-22  2:48 ` Maxim Cournoyer
  2024-09-22  5:55   ` Liliana Marie Prikler
  1 sibling, 1 reply; 5+ messages in thread
From: Maxim Cournoyer @ 2024-09-22  2:48 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: vivien, 73301

Hi Liliana,

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

> Hi Guix,
>
> With the recent bump to GLib 2.80, telepathy-glib and network-manager
> no longer build.  Additionally, gtk and libadwaita have new major
> versions, that we might want to have in this iteration already.
>
> Cheers
>
> Liliana Marie Prikler (4):
>   gnu: telepathy-glib: Fix build.
>   gnu: network-manager: Update to 1.48.2.
>   gnu: gtk: Update to 4.16.1.
>   gnu: libadwaita: Update to 1.6.0.

Thanks for doing that!  All LGTM except for comments posted to 3/4.

Feel free to push with these addressed, if possible.

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

--
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#73301] [PATCH 0/4] Post-GLib bumps.
  2024-09-22  2:48 ` [bug#73301] [PATCH 0/4] Post-GLib bumps Maxim Cournoyer
@ 2024-09-22  5:55   ` Liliana Marie Prikler
  0 siblings, 0 replies; 5+ messages in thread
From: Liliana Marie Prikler @ 2024-09-22  5:55 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: vivien, 73301

Am Sonntag, dem 22.09.2024 um 11:48 +0900 schrieb Maxim Cournoyer:
> Hi Liliana,
> 
> Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
> 
> > Hi Guix,
> > 
> > With the recent bump to GLib 2.80, telepathy-glib and network-
> > manager
> > no longer build.  Additionally, gtk and libadwaita have new major
> > versions, that we might want to have in this iteration already.
> > 
> > Cheers
> > 
> > Liliana Marie Prikler (4):
> >   gnu: telepathy-glib: Fix build.
> >   gnu: network-manager: Update to 1.48.2.
> >   gnu: gtk: Update to 4.16.1.
> >   gnu: libadwaita: Update to 1.6.0.
> 
> Thanks for doing that!  All LGTM except for comments posted to 3/4.
> 
> Feel free to push with these addressed, if possible.
I did already push them, but it's still gnome-team – meaning I can
revise the 3/4 and pseudo-force-push later.

Cheers




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#73301] [PATCH 3/4] gnu: gtk: Update to 4.16.1.
  2024-09-22  2:47   ` [bug#73301] [PATCH 3/4] gnu: gtk: Update to 4.16.1 Maxim Cournoyer
@ 2024-09-22  5:59     ` Liliana Marie Prikler
  0 siblings, 0 replies; 5+ messages in thread
From: Liliana Marie Prikler @ 2024-09-22  5:59 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: vivien, 73301

Am Sonntag, dem 22.09.2024 um 11:47 +0900 schrieb Maxim Cournoyer:
> > +                ;; XXX: Figure out why this fails and report
> > upstream.
> > +                ((".*'memorytexture',.*") ""))
> 
> Is the above comment just for 'memorytexture' test?  I've learnt to
> be very explicit in my comments, as when new tests gets disabled,
> it's how to track what is being commented about.
Yes, that's "this" as in "this test".

> (also, I doubt someone will come back to the investigation later, so
> this is technical debt on our side -- I'd favor a minimal
> investigation with a report upstream if none exist so far).
Sure, but let's not forget that there are webkitgtk rebuilds etc.
stalling further upgrades while we investigate.  I think it's fair to
postpone this a little as long as it hits master clean later.

> >                (substitute* "testsuite/reftests/meson.build"
> > -                (("[ \t]*'label-wrap-justify.ui',") "")
> > -                ;; The inscription-markup.ui fails due to
> > /etc/machine-id
> > -                ;; related warnings (see:
> > -                ;;
> > https://gitlab.gnome.org/GNOME/gtk/-/issues/5169).
> > -                (("[ \t]*'inscription-markup.ui',") ""))
> > +                (("[ \t]*'label-wrap-justify.ui',") ""))
> 
> There's no more comment about why this new test fails.  Is it known
> upstream?
This is not a new test failing, it is an old, uncommented test.

> >                ;; These tests fail on an Apple M1 (aarch64) with
> > the following errors:
> >                ;; - MESA: error: ZINK: failed to choose pdev
> >                ;; - libEGL warning: egl: failed to create dri2
> > screen
> > @@ -1391,7 +1373,7 @@ (define-public gtk
> >             vulkan-headers
> >             vulkan-loader                ;for vulkan graphics API
> > support
> >             wayland                      ;for wayland display-
> > backend
> > -           wayland-protocols))
> > +           wayland-protocols-next))
> 
> Instead of using -next things, perhaps we should byte the bullet and
> update them in this iteration too?
> 
> Using various variants of system means the system closure will be
> higher, may cause problems down the line (if the same process
> attempts to load two variants library in memory, that would cause
> issues).
I mean, we could, but I'm hesitant to be the one making this decision
not just for gtk, but mesa as well.  I do wish more folk were to chime
in on the state of gnome-team…

Cheers

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-09-22  6:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-15 18:34 [bug#73301] [PATCH 0/4] Post-GLib bumps Liliana Marie Prikler
     [not found] ` <b7cbc2048ec74e1c0c5d7fa253349030e162cf9c.1726425262.git.liliana.prikler@gmail.com>
2024-09-22  2:47   ` [bug#73301] [PATCH 3/4] gnu: gtk: Update to 4.16.1 Maxim Cournoyer
2024-09-22  5:59     ` Liliana Marie Prikler
2024-09-22  2:48 ` [bug#73301] [PATCH 0/4] Post-GLib bumps Maxim Cournoyer
2024-09-22  5:55   ` Liliana Marie Prikler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.