[feeb99a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[feeb99a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[887c949] | 7 | <!ENTITY pango-download-http "http://ftp.gnome.org/pub/GNOME/sources/pango/1.10/pango-&pango-version;.tar.bz2">
|
---|
[8d08ace] | 8 | <!ENTITY pango-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/pango/1.10/pango-&pango-version;.tar.bz2">
|
---|
| 9 | <!ENTITY pango-md5sum "1ff4c96982f61ea6f390d09a4febdf18">
|
---|
[887c949] | 10 | <!ENTITY pango-size "1.1 MB">
|
---|
| 11 | <!ENTITY pango-buildsize "23.1 MB">
|
---|
| 12 | <!ENTITY pango-time "0.5 SBU">
|
---|
[feeb99a] | 13 | ]>
|
---|
| 14 |
|
---|
[7f8bd51] | 15 | <sect1 id="pango" xreflabel="Pango-&pango-version;">
|
---|
[10e9ab7] | 16 | <?dbhtml filename="pango.html" ?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Pango-&pango-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="pango">
|
---|
| 26 | <primary sortas="a-Pango">Pango</primary>
|
---|
[a54950b] | 27 | </indexterm>
|
---|
[10e9ab7] | 28 |
|
---|
[4e82a189] | 29 | <sect2 role="package">
|
---|
[10e9ab7] | 30 | <title>Introduction to Pango</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>Pango</application> package contains the
|
---|
| 33 | <filename class="libraryfile">libpango</filename> libraries. These are
|
---|
| 34 | useful for the layout and rendering of text.</para>
|
---|
| 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&pango-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&pango-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &pango-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &pango-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &pango-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &pango-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
| 57 |
|
---|
| 58 | <bridgehead renderas="sect3">Pango Dependencies</bridgehead>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 61 | <para><xref linkend="glib2"/></para>
|
---|
| 62 |
|
---|
[887c949] | 63 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 64 | <para><xref linkend="cairo"/></para>
|
---|
| 65 |
|
---|
| 66 | <para><application>cairo</application> is not required to build
|
---|
| 67 | <application>Pango</application>, but if you don't build
|
---|
| 68 | <application>Pango</application> with a <application>cairo</application>
|
---|
| 69 | backend, then <application>GTK+</application>-2 will not build.</para>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Optional (If <application>cairo</application>
|
---|
| 72 | is Not Installed)</bridgehead>
|
---|
| 73 | <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>) and
|
---|
| 74 | <xref linkend="fontconfig"/></para>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Optional (To Rebuild the API Documentation)</bridgehead>
|
---|
| 77 | <para><xref linkend="gtk-doc"/></para>
|
---|
[10e9ab7] | 78 |
|
---|
| 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <sect2 role="installation">
|
---|
| 82 | <title>Installation of Pango</title>
|
---|
| 83 |
|
---|
| 84 | <para>In order for <application>Pango</application> to find
|
---|
| 85 | <application>Xft</application>, the <envar>PKG_CONFIG_PATH</envar> must
|
---|
| 86 | include <filename class="directory">/usr/X11R6/lib/pkgconfig</filename>.
|
---|
| 87 | This is a good time to add it if you haven't already. You can utilize
|
---|
| 88 | the example for <filename>X.sh</filename> to create a script for
|
---|
| 89 | modifying this variable located in the section
|
---|
| 90 | <xref linkend="postlfs-config-profile"/>.</para>
|
---|
| 91 |
|
---|
| 92 | <para>Install <application>Pango</application> by running the following
|
---|
| 93 | commands:</para>
|
---|
| 94 |
|
---|
| 95 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 96 | make</userinput></screen>
|
---|
| 97 |
|
---|
[394cd759] | 98 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 99 |
|
---|
[10e9ab7] | 100 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 101 |
|
---|
| 102 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 103 |
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | <sect2 role="commands">
|
---|
| 107 | <title>Command Explanations</title>
|
---|
| 108 |
|
---|
| 109 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
| 110 | configuration files into <filename class="directory">/etc</filename>
|
---|
| 111 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
| 112 |
|
---|
| 113 | <para><option>--enable-gtk-doc</option>: This switch will rebuild
|
---|
| 114 | the API documentation during the <command>make</command> command.</para>
|
---|
| 115 |
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="configuration">
|
---|
| 119 | <title>Configuring Pango</title>
|
---|
| 120 |
|
---|
| 121 | <sect3 id="pango-config">
|
---|
| 122 | <title>Config Files</title>
|
---|
| 123 |
|
---|
| 124 | <para><filename>/etc/pango/pangorc</filename>,
|
---|
| 125 | <filename>~/.pangorc</filename>, and the file specified in the
|
---|
| 126 | environment variable <envar>PANGO_RC_FILE</envar></para>
|
---|
| 127 |
|
---|
| 128 | <indexterm zone="pango pango-config">
|
---|
| 129 | <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
---|
| 130 | </indexterm>
|
---|
| 131 |
|
---|
| 132 | <indexterm zone="pango pango-config">
|
---|
| 133 | <primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
---|
| 134 | </indexterm>
|
---|
| 135 |
|
---|
| 136 | </sect3>
|
---|
| 137 |
|
---|
| 138 | <sect3>
|
---|
| 139 | <title>Configuration Information</title>
|
---|
| 140 |
|
---|
| 141 | <para>The <application>Pango</application> module path is specified by
|
---|
| 142 | the key <userinput><parameter>Pango/ModulesPath</parameter></userinput>
|
---|
| 143 | in the <application>Pango</application> config database, which is read
|
---|
| 144 | from the config files listed above.</para>
|
---|
| 145 |
|
---|
| 146 | </sect3>
|
---|
| 147 |
|
---|
| 148 | </sect2>
|
---|
| 149 |
|
---|
| 150 | <sect2 role="content">
|
---|
| 151 | <title>Contents</title>
|
---|
| 152 |
|
---|
| 153 | <segmentedlist>
|
---|
| 154 | <segtitle>Installed Program</segtitle>
|
---|
| 155 | <segtitle>Installed Libraries</segtitle>
|
---|
| 156 | <segtitle>Installed Directories</segtitle>
|
---|
| 157 |
|
---|
| 158 | <seglistitem>
|
---|
| 159 | <seg>pango-querymodules</seg>
|
---|
[887c949] | 160 | <seg>libpango*-1.0.so and <application>Pango</application> loadable
|
---|
[10e9ab7] | 161 | modules.</seg>
|
---|
| 162 | <seg>/etc/pango, /usr/include/pango-1.0, /usr/lib/pango, and
|
---|
| 163 | /usr/share/gtk-doc/html/pango</seg>
|
---|
| 164 | </seglistitem>
|
---|
| 165 | </segmentedlist>
|
---|
| 166 |
|
---|
| 167 | <variablelist>
|
---|
| 168 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 169 | <?dbfo list-presentation="list"?>
|
---|
| 170 | <?dbhtml list-presentation="table"?>
|
---|
| 171 |
|
---|
| 172 | <varlistentry id="pango-querymodules">
|
---|
| 173 | <term><command>pango-querymodules</command></term>
|
---|
| 174 | <listitem>
|
---|
| 175 | <para>is a module registration utility that collects
|
---|
| 176 | information about <application>Pango</application> loadable
|
---|
| 177 | modules.</para>
|
---|
| 178 | <indexterm zone="pango pango-querymodules">
|
---|
| 179 | <primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
---|
| 180 | </indexterm>
|
---|
| 181 | </listitem>
|
---|
| 182 | </varlistentry>
|
---|
| 183 |
|
---|
| 184 | <varlistentry id="Pango-libraries">
|
---|
| 185 | <term>Pango libraries</term>
|
---|
| 186 | <listitem>
|
---|
| 187 | <para>contain low level layout rendering routines, a high
|
---|
| 188 | level driver for laying out entire blocks of text, and routines
|
---|
| 189 | to assist in editing internationalized text.</para>
|
---|
| 190 | <indexterm zone="pango Pango-libraries">
|
---|
| 191 | <primary sortas="c-Pango-libraries">Pango libraries</primary>
|
---|
| 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 |
|
---|
| 196 | </variablelist>
|
---|
| 197 |
|
---|
| 198 | </sect2>
|
---|
[f45b1953] | 199 |
|
---|
| 200 | </sect1>
|
---|