[HarfBuzz] Building from git on OS X with Homebrew
Rolf Langenhuijzen
rolf.langenhuijzen at xs4all.nl
Mon Mar 24 14:06:23 PDT 2014
oh crap, in addition you would run "brew install freetype” again after all this (below) because of the chicken-and-egg problem Werner posted about before.
Rolf
On 24 Mar 2014, at 22:00, Rolf Langenhuijzen <rolf.langenhuijzen at xs4all.nl> wrote:
> You have to install one package at a time, and have to know the formula names (https://github.com/mbcoguno/homebrew-core/tree/master/Library/Formula)
>
> So like James wrote (and first install Homebrew which depends on Xcode cmd line tools); I’d point to http://brew.sh for the basic information.
> Some have to do stuff after running “brew doctor”, but on a clean OS you’re normally fine.
>
> So this list from James + a little more should be fine:
>
> (p.s. when you "brew install <packagename>" it will install dependancies, .e.g. pixman is installed for cairo)
>
> brew install ragel
> brew install automake
> brew install pkg-config
> brew install gtk-doc
> brew install libtool
> brew install libpng
> brew install freetype
> brew install fontconfig
> brew install cairo
> brew install icu4c
>
> # Get harfbuzz
> git clone https://github.com/behdad/harfbuzz.git
> cd harfbuzz
> ./autogen.sh
> make
> make install
>
> I do want to test this somehow on a super clean OSX install, but don’t have one available right now.
>
> There is no Homebrew formula yet for graphite2, so perhaps that should be noted in the instructions and ideally you want to use only formula’s to install things. That’s why a formula for the harfbuzz git version is preferred instead of git clone.. Something like brew install icu4c is optional...
>
> Rolf
>
>
> On 24 Mar 2014, at 20:00, Behdad Esfahbod <behdad at behdad.org> wrote:
>
>> On 14-03-24 01:32 AM, James Clark wrote:
>>> I had another go at building harfbuzz from git on Mac OS X. Using Homebrew,
>>> together with gtk-doc's now being optional, made it an order of magnitude
>>> easier than last time (glib and freetype are so that hb-shape builds):
>>
>> A while ago I put MacPorts instructions on the harfbuzz homepage. In particular:
>>
>> To start from git, do this:
>>
>> sudo port install autoconf automake libtool pkgconfig ragel gtk-doc
>> sudo port install freetype glib2 cairo
>>
>> If you can tell me the brew equivalent of those I'll add to the page. Like:
>>
>> brew install autoconf automake libtool pkg-config ragel gtk-doc??
>> brew install freetype glib cairo?
>>
>>> # Install Xcode command line tools
>>>
>>> xcode-select --install
>>> # Install homebrew
>>> ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
>>> brew doctor
>>> # Do what brew doctor says (I had to move some stuff in
>>> /Library/Frameworks out of the way)
>>> brew install ragel
>>> brew install automake
>>> brew install pkg-config
>>>
>>> brew install glib
>>> brew install libtool
>>> brew install freetype
>>> # Get harfbuzz
>>> git clone https://github.com/behdad/harfbuzz.git
>>> cd harfbuzz
>>> ./autogen.sh
>>> make
>>>
>>> # Install Xcode command line tools
>>>
>>> James
>>>
>>>
>>>
>>> _______________________________________________
>>> HarfBuzz mailing list
>>> HarfBuzz at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
>>>
>>
>> --
>> behdad
>> http://behdad.org/
>> _______________________________________________
>> HarfBuzz mailing list
>> HarfBuzz at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
>
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20140324/5b9a7ba5/attachment.html>
More information about the HarfBuzz
mailing list