Home | History | Annotate | Download | only in harfbuzz_ng
      1 On Linux, install the development packages for
      2 [FreeType](http://www.freedesktop.org/wiki/Software/FreeType/),
      3 Cairo, and GLib. For example, on Ubuntu / Debian, you would do:
      4 * sudo apt-get install gcc g++ libfreetype6-dev libglib2.0-dev libcairo2-dev
      5 
      6 whereas on Fedora, RHEL, CentOS, and other Red Hat based systems you would do:
      7 * sudo yum install gcc gcc-c++ freetype-devel glib2-devel cairo-devel
      8 
      9 on the Mac, using MacPorts:
     10 * sudo port install freetype glib2 cairo
     11 
     12 or using Homebrew:
     13 * brew install freetype glib cairo
     14 
     15 If you are using a tarball, you can now proceed to running configure and make
     16 as with any other standard package. That should leave you with a shared
     17 library in src/, and a few utility programs including hb-view and hb-shape
     18 under util/.  From the tarball, NMake Makefiles are also provided in win32/,
     19 which supports building HarfBuzz using Visual Studio, with a README.txt that
     20 gives instructions on building using NMake.
     21 If you are bootstraping from git, you need a few more tools before you can
     22 run autogen.sh for the first time. Namely, pkg-config and ragel. Again,
     23 on Ubuntu / Debian:
     24 * sudo apt-get install autoconf automake libtool pkg-config ragel gtk-doc-tools
     25 
     26 and on Fedora, RHEL, CentOS:
     27 * sudo yum install autoconf automake libtool pkgconfig ragel gtk-doc
     28 
     29 on the Mac, using MacPorts:
     30 * sudo port install autoconf automake libtool pkgconfig ragel gtk-doc
     31 
     32 or using Homebrew:
     33 * brew port install autoconf automake libtool pkgconfig ragel gtk-doc
     34