[HarfBuzz] Building from github on Mac OS X
James Clark
jjc at jclark.com
Thu Oct 31 23:43:57 PDT 2013
Building HarfBuzz from the github repository on OS X (Mavericks) turned
into quite an involved process. I was doing this by hand. Next time I
would try homebrew.
Most of the complexity was caused by gtk-doc.
Anyway, here are my notes. Unfortunately, I made these only after the
event, so I may have missed a few details.
You'll need Xcode and the command line tools for Xcode (available from
https://developer.apple.com/downloads/index.action). You'll then need to
install the following. Unless otherwise stated, use "./configure; make;
sudo make install".
* Automake and friends (needed by harfbuzz)
http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz
http://ftpmirror.gnu.org/automake/automake-1.14.tar.gz
http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz
* pkg-config (needed by harfbuzz)
http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz
Configure with --with-internal-glib
* Ragel (needed by harfbuzz)
http://www.complang.org/ragel/ragel-6.8.tar.gz
* ITS Tool (needed by gtk-doc)
http://files.itstool.org/itstool/itstool-1.2.0.tar.bz2
* XZ utils (needed to unpack gtk-doc)
http://tukaani.org/xz/xz-5.0.5.tar.gz
* Python libxml2 module (needed by itstool)
Download and unpack
http://xmlsoft.org/sources/libxml2-2.9.1.tar.gz
cd to the the python/ subdirectory and do
python setup.py build
sudo python setup.py install
* DocBook (needed by gtk-doc):
Unpack
http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip
into say /usr/local/share/docbook/dtd
Unpack
http://sourceforge.net/projects/docbook/files/docbook-xsl/1.78.1/docbook-xsl-1.78.1.zip/download
and rename to /usr/local/share/docbook/xsl
Create a /usr/local/share/docbook/catalog.xml containing:
<?xml version='1.0'?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<nextCatalog catalog="dtd/catalog.xml"/>
<nextCatalog catalog="xsl/catalog.xml"/>
</catalog>
* gettext-tools (needed by gtk-doc)
Configure and make gettext (but don't install it):
http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz
Add gettext-0.18.3.1/gettext-tools to your PATH while making gtk-doc.
* gtk-doc (needed by harfbuzz)
Download:
http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.19/gtk-doc-1.19.tar.xz
Unpack with xzcat gtk-doc-1.19.tar.xz | tar xf -
Configure with
./configure --with-xml-catalog=/usr/local/share/docbook/catalog.xml
Then make and install.
* HarfBuzz
Finally do
./autogen.sh
in the harfbuzz directory.
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20131101/00c4d115/attachment.html>
More information about the HarfBuzz
mailing list