Open main menu

Gramps β

Changes

Mac OS X:Build from source:Application package

215 bytes added, 17:04, 9 November 2013
Gramps Stable: Update for git
export PATH=~/.local/bin:$PATH
==== Gramps 3.x Stable ====
Next, you'll need to get a local copy of the gramps mac configuration stuff from svn (if you already have a gramps svn sandboxmoduleset file. You *could* just pass the url to jhbuild, then skip this step and substitute the path but it's easier to download it where appropriate below). This varies by version. For the current release branch at the time of this writing: svn co httpscurl -o gramps.modules http://svn.code.sfsourceforge.net/p/gramps/codesource/branchesci/maintenance/gramps34gramps40/%7E/tree/mac /gramps-mac.modules?format=raw That will make a current copy from the repository in your current directory, which we'll assume to be ~.Note that if you want to build a different branch, change the URL accordingly: The branch name above is <tt>maintenance/gramps40</tt>; if you want to build Gramps version 3.4.x, you'd replace that with <tt>maintenance/gramps34</tt>. If you want the active development tree, it's <tt>master</tt>--'''not''' <tt>maintenance/master</tt>, just <tt>master</tt>
The Gtk-OSX build instructions are very straightforward, but we need to deviate from them a bit to keep from doing things more than once. Run the following commands from the terminal:
jhbuild bootstrap
jhbuild --moduleset=~/gramps-mac/gramps.modules build meta-gtk-osx-bootstrap berkeleydb python meta-gtk-osx-core meta-gtk-osx-python gramps
jhbuild by default puts everything it is building in ~/gtk (controlled by the hidden files ~/.jhbuildrc and ~/.jhbuildrc-custom ). ~/gtk/source contains the downloaded sources, and ~/gtk/inst contains the built libraries and applications.