Skip to content

samm-git/siril-macos-build

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build SiriL/macOS inside CircleCI

This repository contains files related to GIMP/macOS build using CircleCI.

Build process description

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.

Before you starting

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 running bootstrap-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
  • Notarizing package using Apple altool utility (not yet enabled)
  • Uploading a DMG to the CircleCI build artifacts

Other related links

Known bugs and limitations (merge requests are welcome!)

  • Some of the system modifiers are not working correctly, e.g. Command+H, Command+~, etc.

About

GIMP's macOS build scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 48.8%
  • Python 43.9%
  • AppleScript 5.7%
  • Ruby 1.6%