PATH:
usr
/
share
/
gtk-doc
/
html
/
harfbuzz
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Building: HarfBuzz Manual</title> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="HarfBuzz Manual"> <link rel="up" href="install-harfbuzz.html" title="Install Harfbuzz"> <link rel="prev" href="install-harfbuzz.html" title="Install Harfbuzz"> <link rel="next" href="hello-harfbuzz.html" title="Hello, Harfbuzz"> <meta name="generator" content="GTK-Doc V1.27.1 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> <td width="100%" align="left" class="shortcuts"></td> <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> <td><a accesskey="u" href="install-harfbuzz.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> <td><a accesskey="p" href="install-harfbuzz.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> <td><a accesskey="n" href="hello-harfbuzz.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> </tr></table> <div class="section"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="building"></a>Building</h2></div></div></div> <p> On Linux, install the development packages for FreeType, Cairo, and GLib. For example, on Ubuntu / Debian, you would do: </p> <pre class="programlisting"> <span class="command"><strong>sudo apt-get install</strong></span> <span class="package">gcc g++ libfreetype6-dev libglib2.0-dev libcairo2-dev</span> </pre> <p> whereas on Fedora, RHEL, CentOS, and other Red Hat based systems you would do: </p> <pre class="programlisting"> <span class="command"><strong>sudo yum install</strong></span> <span class="package">gcc gcc-c++ freetype-devel glib2-devel cairo-devel</span> </pre> <p> or using MacPorts: </p> <pre class="programlisting"> <span class="command"><strong>sudo port install</strong></span> <span class="package">freetype glib2 cairo</span> </pre> <p> </p> <p> If you are using a tarball, you can now proceed to running <span class="command"><strong>configure</strong></span> and <span class="command"><strong>make</strong></span> as with any other standard package. That should leave you with a shared library in <code class="filename">src/</code>, and a few utility programs including hb-view and hb-shape under <code class="filename">util/</code>. </p> <p> If you are bootstraping from git, you need a few more tools before you can run <code class="filename">autogen.sh</code> for the first time. Namely, pkg-config and <a class="ulink" href="http://www.complang.org/ragel/" target="_top">ragel</a>. Again, on Ubuntu / Debian: </p> <pre class="programlisting"> <span class="command"><strong>sudo apt-get install</strong></span> <span class="package">autoconf automake libtool pkg-config ragel gtk-doc-tools</span> </pre> <p> and on Fedora, RHEL, CentOS: </p> <pre class="programlisting"> <span class="command"><strong>sudo yum install</strong></span> <span class="package">autoconf automake libtool pkgconfig ragel gtk-doc</span> </pre> <p> or using MacPorts: </p> <pre class="programlisting"> <span class="command"><strong>sudo port install</strong></span> <span class="package">autoconf automake libtool pkgconfig ragel gtk-doc</span> </pre> <p> </p> </div> <div class="footer"> <hr>Generated by GTK-Doc V1.27.1</div> </body> </html>
[-] api-index-0-9-39.html
[edit]
[-] api-index-0-9-10.html
[edit]
[-] harfbuzz-Buffers.html
[edit]
[-] harfbuzz-hb-shape-plan.html
[edit]
[-] harfbuzz-hb-ot-shape.html
[edit]
[-] reordering-in-levels-0-and-1.html
[edit]
[-] harfbuzz-hb-gobject.html
[edit]
[-] harfbuzz-hb-deprecated.html
[edit]
[-] up-insensitive.png
[edit]
[-] harfbuzz-hb-unicode.html
[edit]
[-] harfbuzz-hb-coretext.html
[edit]
[-] home.png
[edit]
[-] the-distinction-between-levels-0-and-1.html
[edit]
[+]
..
[-] harfbuzz-hb-ot-math.html
[edit]
[-] annotation-glossary.html
[edit]
[-] right-insensitive.png
[edit]
[-] left-insensitive.png
[edit]
[-] harfbuzz-hb-ot-layout.html
[edit]
[-] harfbuzz-hb-version.html
[edit]
[-] harfbuzz-hb-blob.html
[edit]
[-] api-index-1-1-3.html
[edit]
[-] up.png
[edit]
[-] api-index-1-2-3.html
[edit]
[-] why-is-it-called-harfbuzz.html
[edit]
[-] buffers-language-script-and-direction.html
[edit]
[-] right.png
[edit]
[-] what-about-the-other-scripts.html
[edit]
[-] api-index-0-9-31.html
[edit]
[-] deprecated-api-index.html
[edit]
[-] harfbuzz-hb-common.html
[edit]
[-] api-index-1-4-3.html
[edit]
[-] harfbuzz-hb-font.html
[edit]
[-] index.html
[edit]
[-] object-tree.html
[edit]
[-] harfbuzz-hb-icu.html
[edit]
[-] api-index-1-0-5.html
[edit]
[-] harfbuzz-hb-ot-font.html
[edit]
[-] api-index-full.html
[edit]
[-] using-your-own-font-functions.html
[edit]
[-] api-index-0-9-42.html
[edit]
[-] setting-buffer-properties.html
[edit]
[-] api-index-0-9-5.html
[edit]
[-] api-index-0-9-38.html
[edit]
[-] a-clustering-example-for-levels-0-and-1.html
[edit]
[-] harfbuzz-hb-glib.html
[edit]
[-] HarfBuzz.png
[edit]
[-] api-index-0-9-2.html
[edit]
[-] style.css
[edit]
[-] api-index-0-9-41.html
[edit]
[-] ch08.html
[edit]
[-] install-harfbuzz.html
[edit]
[-] pt02.html
[edit]
[-] api-index-0-9-28.html
[edit]
[-] adding-text-to-the-buffer.html
[edit]
[-] harfbuzz-hb-ot-tag.html
[edit]
[-] level-2.html
[edit]
[-] fonts-and-faces.html
[edit]
[-] api-index-0-9-8.html
[edit]
[-] harfbuzz-hb-graphite2.html
[edit]
[-] api-index-0-9-30.html
[edit]
[-] api-index-1-1-2.html
[edit]
[-] harfbuzz-hb-face.html
[edit]
[-] building.html
[edit]
[-] clusters.html
[edit]
[-] harfbuzz-hb-ft.html
[edit]
[-] api-index-0-9-11.html
[edit]
[-] hello-harfbuzz.html
[edit]
[-] api-index-0-9-20.html
[edit]
[-] api-index-1-6-0.html
[edit]
[-] plans-and-caching.html
[edit]
[-] api-index-1-5-0.html
[edit]
[-] pt01.html
[edit]
[-] api-index-1-4-2.html
[edit]
[-] harfbuzz-hb-set.html
[edit]
[-] left.png
[edit]
[-] api-index-0-9-7.html
[edit]
[-] harfbuzz.devhelp2
[edit]
[-] what-is-harfbuzz.html
[edit]
[-] harfbuzz-Shaping.html
[edit]
[-] HarfBuzz.svg
[edit]
[-] harfbuzz-hb-uniscribe.html
[edit]
[-] harfbuzz-hb-ot.html
[edit]
[-] api-index-1-3-3.html
[edit]
[-] api-index-0-9-22.html
[edit]
[-] customizing-unicode-functions.html
[edit]
[-] using-harfbuzzs-native-opentype-implementation.html
[edit]
[-] harfbuzz-hb.html
[edit]
[-] shaping-and-shape-plans.html
[edit]