Xpra-org / gtk-osx-build

Build setup to help building the Mac OS X port of GTK+
http://gtk-osx.sourceforge.net/
0 stars 2 forks source link

macos update build vm #12

Closed totaam closed 3 years ago

totaam commented 4 years ago

Use 10.14.x (Mojave)? Require 10.?

Record steps to setup the dev env.

totaam commented 4 years ago

Still TODO:

totaam commented 4 years ago

Updates (too many to list - important ones only):

Remaining problems:

totaam commented 4 years ago

Needed to make python3 a symlink:

cd $JHBUILD_PREFIX/bin
ln -sf python3 python
ln -sf python3-config python-config

Rebuilt from scratch - building python3 early so we don't use the system one, doing libwebp early to avoid errors building libtiff 4.1:

jhbuild bootstrap-gtk-osx
jhbuild buildone -f openssl
jhbuild buildone -f python3
jhbuild buildone -f libwebp
jhbuild meta-gtk-osx-bootstrap meta-gtk-osx-gtk3

Hit issues building pango:

ERROR: ['gtkdoc-fixxref', '--module=orc', '--module-dir=html'] failed with status 1 Traceback (most recent call last): File "/Users/macos/gtk/inst/bin/gtkdoc-fixxref", line 28, in from gtkdoc import common, config, fixxref File "/Users/macos/gtk/inst/share/gtk-doc/python/gtkdoc/fixxref.py", line 28, in from . import common, highlight File "/Users/macos/gtk/inst/share/gtk-doc/python/gtkdoc/highlight.py", line 28, in from pygments import highlight ModuleNotFoundError: No module named 'pygments'

* on the older system, itstool moaned about libxml2 until I rebuilt libxml2 against python2:

jhbuild buildone -f python2 PYTHON=/Users/gtk3/gtk/inst/bin/python2 jhbuild buildone -f libxml2 PYTHON=/Users/gtk3/gtk/inst/bin/python2 jhbuild buildone -f itstool



Despite a newer version of scons, we have to temporarily switch the symlinks to python2 to build serf...

There's a circular dependency between libtiff and libwebp..
totaam commented 4 years ago

Works well enough.

Some details in duplicate ticket Xpra-org/xpra#2422.

totaam commented 4 years ago

Regression spotted: Xpra-org/xpra#2680

totaam commented 4 years ago

GTK3 bug forced a downgrade: Xpra-org/xpra#2672