mbox series

[bug#61968,gnome-team,v4,0/8] Update GNOME Builder to 44.2.

Message ID cover.1700166829.git.vivien@planete-kraus.eu
Headers show
Series Update GNOME Builder to 44.2. | expand

Message

Vivien Kraus Nov. 16, 2023, 8:33 p.m. UTC
Dear guix,

Did you think I forgot this issue?  I did not!

A few of these updates also qualify for GNOME 44.6; no need to update them.

GNOME Builder starts, but unfortunately flatpak is broken on my side.
However, it can build out of flatpak.

What do you think?

Best regards,

Vivien

Vivien Kraus (8):
  gnu: libxmlb: Update to 0.3.14.
  gnu: appstream: Update to 0.16.4.
  gnu: Add libdex.
  gnu: libpanel: Update to 1.2.0.
  gnu: jsonrpc-glib: Update to 3.44.0.
  gnu: libpeas: Update to 1.36.0.
  gnu: sysprof: Update to 3.48.0.
  gnu: gnome-builder: Update to 44.2.

 gnu/local.mk                                  |   1 +
 gnu/packages/freedesktop.scm                  |  12 +-
 gnu/packages/glib.scm                         |  35 ++++++
 gnu/packages/gnome.scm                        | 117 +++++++++++-------
 gnu/packages/gtk.scm                          |  32 +++--
 .../appstream-force-reload-stemmer.patch      |  89 +++++++++++++
 gnu/packages/xml.scm                          |   6 +-
 7 files changed, 227 insertions(+), 65 deletions(-)
 create mode 100644 gnu/packages/patches/appstream-force-reload-stemmer.patch


base-commit: 72e886328c14c832b2ed71c400069b63852ee18d

Comments

Liliana Marie Prikler Nov. 16, 2023, 9:04 p.m. UTC | #1
Am Donnerstag, dem 16.11.2023 um 21:33 +0100 schrieb Vivien Kraus:
> Dear guix,
> 
> Did you think I forgot this issue?  I did not!
> 
> A few of these updates also qualify for GNOME 44.6; no need to update
> them.
> 
> GNOME Builder starts, but unfortunately flatpak is broken on my side.
> However, it can build out of flatpak.
What does "build out of flatpak" mean here?

> What do you think?
> 
> Best regards,
Thanks for keeping up the work.  I will have to wait for CI, but
assuming it lights green, I'm looking forward to push this series.

Cheers
Vivien Kraus Nov. 16, 2023, 9:58 p.m. UTC | #2
Le jeudi 16 novembre 2023 à 22:04 +0100, Liliana Marie Prikler a
écrit :
> > GNOME Builder starts, but unfortunately flatpak is broken on my
> > side.
> > However, it can build out of flatpak.
> What does "build out of flatpak" mean here?
Now I realize it may not mean anything, sorry.

I wanted to say, you can switch your compilation target. By default, it
tries to build with flatpak. For that, it requires a SDK and runtime
that it tries to install through flatpak.

Unfortunately, flatpak fails to do anything on my computer, throwing:

    error: open(O_TMPFILE): Permission denied

To be fair, I did some experimental activities with my flatpak
installation, when trying to build guix packages as flatpaks.  It did
not turn very successful, and things must be deeply broken now on my
computer.  I should investigate, but let’s say I’m not in the mood
right now.

Anyway, regarding gnome-builder, you can switch your compilation target
to “Default”, and then your project compiles with the dependencies that
are available on the system.  Thus, “out of flatpak”.

Vivien
Jack Hill Nov. 16, 2023, 10:35 p.m. UTC | #3
On Thu, 16 Nov 2023, Vivien Kraus via Guix-patches via wrote:

> Le jeudi 16 novembre 2023 à 22:04 +0100, Liliana Marie Prikler a
> écrit :
>>> GNOME Builder starts, but unfortunately flatpak is broken on my
>>> side.
>>> However, it can build out of flatpak.
>> What does "build out of flatpak" mean here?
> Now I realize it may not mean anything, sorry.
>
> I wanted to say, you can switch your compilation target. By default, it
> tries to build with flatpak. For that, it requires a SDK and runtime
> that it tries to install through flatpak.
>
> Unfortunately, flatpak fails to do anything on my computer, throwing:
>
>    error: open(O_TMPFILE): Permission denied
>
> To be fair, I did some experimental activities with my flatpak
> installation, when trying to build guix packages as flatpaks.  It did
> not turn very successful, and things must be deeply broken now on my
> computer.  I should investigate, but let’s say I’m not in the mood
> right now.

It may not work anyway by default for folks who install Builder since I 
assume Builder tries to use SDKs that are only available in a repository 
that doesn't follow the FSDG.

Sorry to hear your experiment didn't work out; that sounds like a really 
neat idea!

> Anyway, regarding gnome-builder, you can switch your compilation target
> to “Default”, and then your project compiles with the dependencies that
> are available on the system.  Thus, “out of flatpak”.

I'd be OK with having a builder without flatpak support. Too bad there 
isn't a "build with Guix" backend. Maybe one day!

Best,
Jack
Vivien Kraus Nov. 16, 2023, 10:40 p.m. UTC | #4
Le jeudi 16 novembre 2023 à 17:35 -0500, Jack Hill a écrit :
> It may not work anyway by default for folks who install Builder since
> I 
> assume Builder tries to use SDKs that are only available in a
> repository 
> that doesn't follow the FSDG.
One day, we will have our own versions of the common SDKs, reproducibly
built only on Guix packages.

(not today though!)

Vivien
Liliana Marie Prikler Nov. 17, 2023, 5:20 a.m. UTC | #5
Am Donnerstag, dem 16.11.2023 um 23:40 +0100 schrieb Vivien Kraus:
> Le jeudi 16 novembre 2023 à 17:35 -0500, Jack Hill a écrit :
> > It may not work anyway by default for folks who install Builder
> > since I assume Builder tries to use SDKs that are only available in
> > a repository that doesn't follow the FSDG.
> One day, we will have our own versions of the common SDKs,
> reproducibly built only on Guix packages.
> 
> (not today though!)
Speaking about today, since today we would just run into errors, can we
make "build without flatpak" the default? :)

Or better yet, disable whatever feature brings in the "build with
flatpak" option, as it's currently broken?

Cheers
Vivien Kraus Nov. 17, 2023, 9 a.m. UTC | #6
Le vendredi 17 novembre 2023 à 06:20 +0100, Liliana Marie Prikler a
écrit :
> Speaking about today, since today we would just run into errors, can
> we
> make "build without flatpak" the default? :)
> 
> Or better yet, disable whatever feature brings in the "build with
> flatpak" option, as it's currently broken?

I’m not sure how to do that. I guess the answer is in how the project
uses the "IdeConfigManager" class, but it’s hard to track where it adds
entries.

Vivien