Subject: Re: bug#51946: GNOME Builder is criminally outdated on core-updates-frozen
From: Ludovic Courtès <[email-masked]>
To: Vivien Kraus <[email-masked]>
Cc: [email-masked]
Date: Thu, 18 Nov 2021 14:58:33 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi!

Vivien Kraus <[email-masked]> skribis:

> I’d like to upgrade GNOME builder.

Yay!

> Now, I don’t know how to manage meson: it does not work because it
> needs to wrap the python path, but a comment on the meson package says
> that it is not possible to wrap it. What do you think?

(To be clear: the problem is when GNOME Builder itself invokes ‘meson’,
and ‘meson’ doesn’t find its own Python modules because PYTHONPATH is
unset.)

You mentioned on IRC that the comment saying we can’t use
‘wrap-program’ for Meson:

          ;; Meson calls the various executables in out/bin through the
          ;; Python interpreter, so we cannot use the shell wrapper.

Maybe we can use ‘wrap-script’ instead?  A wrapped Python script remains
a Python script.

> From 5788d51a4e59e0e69673ab6f539b1d128e8a49c6 Mon Sep 17 00:00:00 2001
> From: Vivien Kraus <[email-masked]>
> Date: Thu, 18 Nov 2021 14:20:12 +0100
> Subject: [PATCH 1/3] gnu: devhelp: Add missing propagated input.
>
> * gnu/packages/gnome.scm (devhelp) [propagated-inputs]: Add
> gsettings-desktop-schemas.

[...]

> From b052b6a462055de122823c6afb4ce4246820ba73 Mon Sep 17 00:00:00 2001
> From: Vivien Kraus <[email-masked]>
> Date: Thu, 18 Nov 2021 14:20:53 +0100
> Subject: [PATCH 2/3] gnu: sysprof: Upgrade to 3.42.1.
>
> * gnu/packages/gnome.scm (sysprof): Upgrade to 3.42.1.
> [propagated-inputs]: Add polkit.
> [inputs]: Add json-glib.

[...]

> From d10b9f555e99309721c771fa94efb400144a9223 Mon Sep 17 00:00:00 2001
> From: Vivien Kraus <[email-masked]>
> Date: Thu, 18 Nov 2021 14:21:45 +0100
> Subject: [PATCH 3/3] gnu: gnome-builder: Upgrade to 41.2.
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> * gnu/packages/gnome.scm: Import modules llvm and markup for gnome-builder.
> (gnome-builder): Upgrade to 41.2.
> [arguments]: Add #:glib-or-gtk? #t to compile the schemas.
> [configure-flags]: Enable more plugins.
> [phase patch-meson]: Pretend we’re building with webkit2gtk-4.1.
> [inputs]: Add cmark (markup support), clang and llvm, devhelp, glade,
> libportal and libsoup 2.

Applied, thanks!

Ludo’.