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