57
edits
Changes
From Gramps
OK, that might be right. Maybe
This page tells how to build gramps and its supporting programs from source on Apple Mac OS X using the [http://sourceforge.net/projects/gtk-osx sourceforge gtk-osx project]. This work is experimental and changing. It would be unwise to use this software with precious data at this time. It is hoped that, in some days or weeks (June 2009) a one-click-install packaged version of Mac gramps will become available. Meanwhile, it's still necessary to have a proper Apple development system, the xCode package, which is described at the [[Mac OS X MacPorts]] page. A system that has bult gramps with MacPorts should already have everything needed to build with gtk-osx.
<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
<moduleset>
</moduleset>
This file is telling jhbuild what "metamodulesmodules" (bunches of modules) are going to be built, what source is needed for each build, what patches are needed on the sources to make them work, and how to build them. [Change this so the file just references modules, not metamodules. Simplify the naming.]
====Define the Patches Gramps needs for Mac====
Gramps hasn't traditionally been developed for Mac, so some things don't quite work right out of the box. jhbuild can apply patches to code after it ahs been downloaded and before it has been built, which is very handy. It does this with the patch utility. jhbuild looks for the patch files, that drive the patching process, in the directory ~/Source/jhbuild/patches. Again, I should like to provide the file to download, but don't know how to do that, so paste this text into the file ~/Source/jhbuild/patches/gramps-3.1.2.patch.
This is fixing gobbledegook fixes two problems.First, it patches ~/gtk/source/gramp-3.1.2/configure to work around the problem that find_module() cannot handle "/" in a filename on Mac, for unknown reasons. Second, it patches ~/gtk/source/gramps-3.1.2/src/Utils.py to tell gramps how to open a file viewer on Mac, which is different from Linux.
====Build the custom python====
jhbuild build meta-gtk-osx-python
jhbuild build shared-mime-info
jhbuild build -m python-gramps gramps-3.1.2customgramps
and that should build everything that gramps needs, then gramps itself.
Type
gramps
and it should pop into life!
There will be a whole pile of warnings on the terminal from which gramps was started about deprecated functions. These annoying messages can be ignored. There probably will be a message about a missing spellchecker, which can also be ignored (although it is true).