This repository contains files related to GIMP/macOS build using CircleCI.
To build SiriL/macOS we are using fork
of the gtk-osx project (gimp
branch).
Fork adds modules related to SiriL and some specific patches to GTK.
Currently build is done using CircleCI.
I found that GTK build process on macOS is very fragile. If you have any other build system (brew, MacPorts) installed - try to remove it first or at least isolate from the JHBuild environment as much as you can.
I was able to get working builds in the VirtualBox VM, it works stable enough for me.
Steps in the CircleCI config.yml are:
- Setting up macOS 10.9 SDK. This is needed to ensure that SiriL can run on macOS 10.9+. See this article for the details.
- Setting up JHBuild with a custom
~/.config/jhbuildrc-custom
file (see https://github.com/GNOME/gimp-macos-build/blob/master/jhbuildrc-gtk-osx-gimp). As part of the setup, it is runningbootstrap-gtk-osx-gimp
JHBuild command to compile required modules to run JHBuild. JHBuild is using Python3 venv to run. - Installs fork of the gtk-mac-bundler - the tool which helps to create macOS application bundles for the GTK apps. The only difference with official one is this PR
- Installing all gtk-osx and SiriL dependencies using JHBuild
- Building SiriL (from the git).
- Importing signing certificate/key from the environment variables
- Launching
build.sh
which:- Building package using
gtk-mac-bundler
- Signing all binaries (not yet enabled)
- Creating a DMG package using create-dmg tool and signing it
- Building package using
- Notarizing package using Apple
altool
utility (not yet enabled) - Uploading a DMG to the CircleCI build artifacts
- Gtk-OSX project to simplify building MacOS application bundles for Gtk+-based applications
- gimp-plugins-collection
- CircleCI siril-macos-build project
- Some of the system modifiers are not working correctly, e.g.
Command+H
,Command+~
, etc.