CustomGtk
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page describes how to install a patched Gtk for development.
On macOS with MacPorts
- Install everything as usual, see CompilingMacOsX
sudo port install meson
- Get Gtk source from stable branch
git clone https://gitlab.gnome.org/GNOME/gtk.git cd gtk git checkout gtk-3-24
- Optional: Apply patches
- Build and install directly into MacPorts tree, overwriting the system package
mkdir -p build-meson cd build-meson PREFIX=/opt/local export PATH="$PREFIX/bin:/usr/bin:/bin:/usr/sbin:/sbin" meson \ --buildtype=release \ --prefix=$PREFIX \ .. ninja sudo ninja install sudo chown -R $USER .