Gaphor on macOS

Development Environment

To setup a development environment with macOS:

  1. Install homebrew

  2. Open a terminal and execute:

$ brew install python3 gobject-introspection gtk+3 gtksourceview4 adwaita-icon-theme gtk-mac-integration

Install Poetry (you may want to consider installing poetry via pipx, instead of pip):

pip install --user poetry

Clone the repository.

$ cd gaphor
$ poetry config true
$ poetry install
$ poetry run gaphor

Packaging for macOS

In order to create a dmg package for macOS, we utilize a custom bash script that picks up the required files, drops them in a bundle, and changes the link references.

  1. Follow the instructions for settings up a development environment above

  2. Open a terminal and execute the following from the repository directory:

$ cd macos-dmg
$ source