|
Packit |
874993 |
|
|
Packit |
874993 |
<html>
|
|
Packit |
874993 |
<head>
|
|
Packit |
874993 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
Packit |
874993 |
<title>Building: HarfBuzz Manual</title>
|
|
Packit |
874993 |
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
|
Packit |
874993 |
<link rel="home" href="index.html" title="HarfBuzz Manual">
|
|
Packit |
874993 |
<link rel="up" href="install-harfbuzz.html" title="Install Harfbuzz">
|
|
Packit |
874993 |
<link rel="prev" href="install-harfbuzz.html" title="Install Harfbuzz">
|
|
Packit |
874993 |
<link rel="next" href="hello-harfbuzz.html" title="Hello, Harfbuzz">
|
|
Packit |
874993 |
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
|
Packit |
874993 |
<link rel="stylesheet" href="style.css" type="text/css">
|
|
Packit |
874993 |
</head>
|
|
Packit |
874993 |
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
Building
|
|
Packit |
874993 |
|
|
Packit |
874993 |
On Linux, install the development packages for FreeType, Cairo, and GLib.
|
|
Packit |
874993 |
For example, on Ubuntu / Debian, you would do:
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
sudo apt-get install gcc g++ libfreetype6-dev libglib2.0-dev libcairo2-dev
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
whereas on Fedora, RHEL, CentOS, and other Red Hat based systems you would do:
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
sudo yum install gcc gcc-c++ freetype-devel glib2-devel cairo-devel
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
or using MacPorts:
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
sudo port install freetype glib2 cairo
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
If you are using a tarball, you can now proceed to running
|
|
Packit |
874993 |
configure and make as with any
|
|
Packit |
874993 |
other standard package. That should leave you with a shared library in
|
|
Packit |
874993 |
src/ , and a few utility programs including hb-view
|
|
Packit |
874993 |
and hb-shape under util/ .
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
If you are bootstraping from git, you need a few more tools before you
|
|
Packit |
874993 |
can run autogen.sh for the first time. Namely,
|
|
Packit |
874993 |
pkg-config and ragel.
|
|
Packit |
874993 |
Again, on Ubuntu / Debian:
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
sudo apt-get install autoconf automake libtool pkg-config ragel gtk-doc-tools
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
and on Fedora, RHEL, CentOS:
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
sudo yum install autoconf automake libtool pkgconfig ragel gtk-doc
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
or using MacPorts:
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
sudo port install autoconf automake libtool pkgconfig ragel gtk-doc
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
Generated by GTK-Doc V1.25.1
|
|
Packit |
874993 |
</body>
|
|
Packit |
874993 |
</html>
|