Just a few notes about this, because the instructions available at wiki.gimp.org/gimp/HowToCompileGimp/MacOSX are really great. The only things I might add are:
- If you’re thinking about usign Fink instead of MacPorts, don’t. I tried that way and it was hell. Reasons: MacPorts had more of the packages I needed, and more updated.
- MacPorts is indeed your friend and I used it to install almost all the packages mentioned in the previous how-to: git-core, freetype, fontconfig, libart_lgpl, XML::Parser (p5-xml-parser on MacPorts, but I actually think the GTK build already installs it), LCMS, py-cairo, pyGOObject and PyGTK; in any case, just run (e.g.)
port search cairo to find what you’re looking for.
sudo cp ~/Desktop/gegl-0.0.16/gegl.pc /usr/local/lib/pkgconfig/
- finally run:
$ ./autogen.sh --without-mng --without-alsa --disable-alsatest --without-x --with-libtiff --enable-gtk-doc LDFLAGS="-L/opt/gtk/lib -L/opt/local/lib" CPPFLAGS="-I/opt/gtk/include -I/opt/local/include" --prefix=/opt/gimp
ignore the warnings about the m4 files (See http://www.gimp.org/source/howtos/stable-cvs-build.html ).
Note about libtiff: either one of “
--with-libtiff” or “
--without-libtiff” options is needed, otherwise
./configure will complain.
Note: if you don’t care about the docs, add a
--disable-gtk-doc option to avoid building the GTK docs.