162
edits
Changes
→Gramps 4.x and Git Master: Updates reflecting Py3 only building for 4.2 and later.
to update everything that has been changed since the previous build. Most of the time nothing will have changed except gramps itself.
==== Gramps 4.x and Git Master Later ====
Gramps 4.x is updated to use the Gtk+-3 series for its GUI. This requires a couple of changes. Gramps 4.2 and later are further updated to use Python3 only, which requires more changes.
Download the modules file for the branch you want to build:
curl -o gramps.modules https://raw.githubusercontent.com/gramps-project/gramps/maintenance/gramps42/mac/gramps.modules
curl -o gramps.modules https://raw.githubusercontent.com/gramps-project/gramps/maintenance/gramps50/mac/gramps.modules
or
curl -o gramps.modules https://raw.githubusercontent.com/gramps-project/gramps/master/mac/gramps.modules
jhbuild --moduleset=~/gramps-mac/gramps.modules build meta-gtk-osx-bootstrap meta-gtk-osx-freetype meta-gtk-osx-gtk3 berkeleydb python meta-gtk-osx-python-gtk3 gramps-git
For Gramps42 and later it's a bit simpler: jhbuild --moduleset=~/gramps-mac/gramps.modules build meta-gtk-osx-bootstrap gramps-git If you want to build the latest release tarball rather than the latest check-in, use <tt>gramps</tt> instead of <tt>gramps-git</tt> for the last module--but note that since we don't release from the <tt>master</tt> branch, <tt>gramps.modules</tt> doesn't have a <tt>gramps</tt> modulein <tt>master</tt>.
If you're planning to work on several branches, a single checkout will work: Start with <tt>master</tt>. Gramps is pure python, so once you've got everything built you need repeat this only to update the dependencies. You can quickly switch branches in your git repo with: