Gaphor on macOS¶
Development Environment¶
To setup a development environment with macOS:
Install homebrew
Open a terminal and execute:
$ brew install python3 gobject-introspection gtk+3 adwaita-icon-theme gtk-mac-integration
Install Poetry (you may want to consider installing poetry via pipx, instead of pip):
pip install --user poetry
$ cd gaphor
$ 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.
Follow the instructions for settings up a development environment above
Open a terminal and execute the following from the repository directory:
$ cd macos-dmg
$ source package-local.sh