Difference between revisions of "CustomGtk"

From Inkscape Wiki
Jump to navigation Jump to search
(No difference)

Latest revision as of 06:06, 25 April 2020

This page describes how to install a patched Gtk for development.

On macOS with MacPorts

  1. Install everything as usual, see CompilingMacOsX
  2. sudo port install meson
  3. Get Gtk source from stable branch
    git clone https://gitlab.gnome.org/GNOME/gtk.git
    cd gtk
    git checkout gtk-3-24
  4. Optional: Apply patches
  5. Build and install directly into MacPorts tree, overwriting the system package
    mkdir -p build-meson
    cd build-meson
    export PATH="$PREFIX/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    meson \
        --buildtype=release \
        --prefix=$PREFIX \
    sudo ninja install
    sudo chown -R $USER .