xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Opened 21 months ago

Last modified 4 months ago

#2383 closed task

macos moduleset updates for 3.0 — at Version 3

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 3.0
Component: platforms Version: 3.0.x
Keywords: Cc:

Description (last modified by Antoine Martin)

See #1985 for 2.5, and pull from ​https://github.com/GNOME/gtk-osx
Log URL: [log/xpra/trunk/osx]

Since v3 will be supported for years, we have to try to stay close to the upstream stable moduleset.

Change History (3)

comment:1 Changed 21 months ago by Antoine Martin

Description: modified (diff)
Status: newassigned

After merging from upstream in r23490 + r23491 + r23492 + r23493, jhbuild did the usual thing: fail with an utterly unhelpful message, very much like #1392.
Why are they so keen on swallowing exceptions everywhere?
Adding print statements in various places, it turns out that the real cause is this:

failed to parse https://xpra.org/svn/Xpra/trunk/osx/jhbuild/modulesets-stable/gtk-osx.modules: unknown module type meson

comment:2 Changed 21 months ago by Antoine Martin

The meson issue is because we have to re-bootstrap gtk-osx... More info here: https://gitlab.gnome.org/GNOME/gtk-osx/tree/master.

Also, to workaround the https issues with the old version of wget found in macos, just install a newer one (TODO: move this to moduleset):

curl -O https://ftp.gnu.org/gnu/wget/wget-1.20.3.tar.gz
tar -zxvf wget-1.20.3.tar.gz
cd wget-1.20.3
./configure --with-ssl=openssl --prefix=$JHBUILD_PREFIX
make
make install

Then we also have to set CA_CERTIFICATE.

Last edited 21 months ago by Antoine Martin (previous) (diff)

comment:3 Changed 21 months ago by Antoine Martin

Description: modified (diff)

To make this work (PITA):

  • had to pull a new version of jhbuild by hand and install it - why?
  • had to install meson by hand - why?

That's OK for the python3 / gtk3 variant, but for the python2 / gtk2 environment, there is no python3 there and meson requires it...
During setup the gtk-osx-setup.sh script said something about installing a pipenv with python3, somewhere? who knows?
Do I have to restore the old modules and make a GTK2 URL for it?

Note: See TracTickets for help on using tickets.