CustomGtk

From Inkscape Wiki
Revision as of 06:06, 25 April 2020 by Speleo3 (talk | contribs) (created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

  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
    
    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 .