[feeb99a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[feeb99a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[0930d2c4] | 7 | <!ENTITY pango-download-http "&gnome-download-http;/pango/1.28/pango-&pango-version;.tar.bz2">
|
---|
| 8 | <!ENTITY pango-download-ftp "&gnome-download-ftp;/pango/1.28/pango-&pango-version;.tar.bz2">
|
---|
| 9 | <!ENTITY pango-md5sum "bab5b4eb3fde6b0a5bfe98d25e668741">
|
---|
| 10 | <!ENTITY pango-size "1.4 MB">
|
---|
| 11 | <!ENTITY pango-buildsize "31 MB">
|
---|
| 12 | <!ENTITY pango-time "0.8 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 |
|
---|
[cf5c88ca] | 36 | &lfs65_checked;
|
---|
| 37 |
|
---|
[10e9ab7] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&pango-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&pango-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &pango-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &pango-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &pango-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &pango-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">Pango Dependencies</bridgehead>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[d621a23] | 63 | <para role="required"><xref linkend="glib2"/> and one of
|
---|
| 64 | <xref linkend="cairo"/> or
|
---|
| 65 | <xref linkend="x-window-system"/> or
|
---|
| 66 | <xref linkend="fontconfig"/></para>
|
---|
[10e9ab7] | 67 |
|
---|
[887c949] | 68 | <para><application>cairo</application> is not required to build
|
---|
[eccef494] | 69 | <application>Pango</application>, but it is highly recommended that you
|
---|
| 70 | install <application>cairo</application> before building
|
---|
| 71 | <application>Pango</application>. If you don't build
|
---|
[887c949] | 72 | <application>Pango</application> with a <application>cairo</application>
|
---|
| 73 | backend, then <application>GTK+</application>-2 will not build.</para>
|
---|
[bccbdaea] | 74 |
|
---|
[c3e9ce2] | 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 76 | <para role="optional"><ulink
|
---|
| 77 | url="http://linux.thai.net/libthai">LibThai</ulink></para>
|
---|
| 78 |
|
---|
[887c949] | 79 | <bridgehead renderas="sect4">Optional (If <application>cairo</application>
|
---|
| 80 | is Not Installed)</bridgehead>
|
---|
[ebb2f49] | 81 | <para role="optional"><xref linkend="x-window-system"/></para>
|
---|
[887c949] | 82 |
|
---|
[c3e9ce2] | 83 | <bridgehead renderas="sect4">Optional (To Rebuild the API
|
---|
| 84 | Documentation)</bridgehead>
|
---|
[76a39aa] | 85 | <para role="optional"><xref linkend="gtk-doc"/></para>
|
---|
[10e9ab7] | 86 |
|
---|
[c5c2654] | 87 | <para condition="html" role="usernotes">User Notes:
|
---|
| 88 | <ulink url="&blfs-wiki;/pango"/></para>
|
---|
| 89 |
|
---|
[10e9ab7] | 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="installation">
|
---|
| 93 | <title>Installation of Pango</title>
|
---|
| 94 |
|
---|
[d621a23] | 95 | <!-- Commenting this out for now as Xorg7 default installation patch
|
---|
| 96 | is /usr, so the note doesn't apply. Furthermore, instructions to
|
---|
| 97 | do this are already in the book in the X section
|
---|
| 98 |
|
---|
[10e9ab7] | 99 | <para>In order for <application>Pango</application> to find
|
---|
[cf5c88ca] | 100 | <application>Xft</application>, <envar>PKG_CONFIG_PATH</envar> must
|
---|
[10e9ab7] | 101 | include <filename class="directory">/usr/X11R6/lib/pkgconfig</filename>.
|
---|
| 102 | This is a good time to add it if you haven't already. You can utilize
|
---|
| 103 | the example for <filename>X.sh</filename> to create a script for
|
---|
| 104 | modifying this variable located in the section
|
---|
| 105 | <xref linkend="postlfs-config-profile"/>.</para>
|
---|
| 106 |
|
---|
[d621a23] | 107 | -->
|
---|
| 108 |
|
---|
[10e9ab7] | 109 | <para>Install <application>Pango</application> by running the following
|
---|
| 110 | commands:</para>
|
---|
| 111 |
|
---|
| 112 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 113 | make</userinput></screen>
|
---|
| 114 |
|
---|
[8e4e046] | 115 | <para>To test the results, issue: <command>make check</command>. You can
|
---|
| 116 | install <xref linkend="gtk-doc"/> if you wish to test the documentation
|
---|
[a2fc158] | 117 | section of the test suite. Also, the <quote>testboundries</quote> test
|
---|
[8e4e046] | 118 | could fail if you have <application>LibThai</application> installed.
|
---|
[cf5c88ca] | 119 | </para>
|
---|
[394cd759] | 120 |
|
---|
[10e9ab7] | 121 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 122 |
|
---|
| 123 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="commands">
|
---|
| 128 | <title>Command Explanations</title>
|
---|
| 129 |
|
---|
| 130 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
| 131 | configuration files into <filename class="directory">/etc</filename>
|
---|
| 132 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
| 133 |
|
---|
[e05cd03f] | 134 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[56ce09e] | 135 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[10e9ab7] | 136 |
|
---|
[1b9e36e] | 137 | <para><parameter>--disable-static</parameter>: This switch prevents the
|
---|
| 138 | static libraries from being built.</para>
|
---|
| 139 |
|
---|
[10e9ab7] | 140 | </sect2>
|
---|
| 141 |
|
---|
| 142 | <sect2 role="configuration">
|
---|
| 143 | <title>Configuring Pango</title>
|
---|
| 144 |
|
---|
| 145 | <sect3 id="pango-config">
|
---|
| 146 | <title>Config Files</title>
|
---|
| 147 |
|
---|
| 148 | <para><filename>/etc/pango/pangorc</filename>,
|
---|
| 149 | <filename>~/.pangorc</filename>, and the file specified in the
|
---|
| 150 | environment variable <envar>PANGO_RC_FILE</envar></para>
|
---|
| 151 |
|
---|
| 152 | <indexterm zone="pango pango-config">
|
---|
| 153 | <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
---|
| 154 | </indexterm>
|
---|
| 155 |
|
---|
| 156 | <indexterm zone="pango pango-config">
|
---|
| 157 | <primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
---|
| 158 | </indexterm>
|
---|
| 159 |
|
---|
| 160 | </sect3>
|
---|
| 161 |
|
---|
| 162 | <sect3>
|
---|
| 163 | <title>Configuration Information</title>
|
---|
| 164 |
|
---|
| 165 | <para>The <application>Pango</application> module path is specified by
|
---|
| 166 | the key <userinput><parameter>Pango/ModulesPath</parameter></userinput>
|
---|
| 167 | in the <application>Pango</application> config database, which is read
|
---|
| 168 | from the config files listed above.</para>
|
---|
| 169 |
|
---|
| 170 | </sect3>
|
---|
| 171 |
|
---|
| 172 | </sect2>
|
---|
| 173 |
|
---|
| 174 | <sect2 role="content">
|
---|
| 175 | <title>Contents</title>
|
---|
| 176 |
|
---|
| 177 | <segmentedlist>
|
---|
[b3949ca3] | 178 | <segtitle>Installed Programs</segtitle>
|
---|
[10e9ab7] | 179 | <segtitle>Installed Libraries</segtitle>
|
---|
| 180 | <segtitle>Installed Directories</segtitle>
|
---|
| 181 |
|
---|
| 182 | <seglistitem>
|
---|
[b3949ca3] | 183 | <seg>pango-querymodules and pango-view</seg>
|
---|
[0930d2c4] | 184 | <seg>libpango-1.0.so, libpangocairo-1.0.so, libpangoft2-1.0.so,
|
---|
| 185 | libpangox-1.0.so, libpangoxft-1.0.so, pango-arabic-fc.so,
|
---|
| 186 | pango-arabic-lang.so, pango-basic-fc.so, pango-basic-x.so,
|
---|
| 187 | pango-hangul-fc.so, pango-hebrew-fc.so, pango-indic-fc.so,
|
---|
| 188 | pango-indic-lang.so, pango-khmer-fc.so, pango-syriac-fc.so,
|
---|
| 189 | pango-thai-fc.so, and pango-tibetan-fc.so</seg>
|
---|
| 190 | <seg>/etc/pango, /usr/{include/pango-1.0/pango,lib/pango/1.6.0/modules,
|
---|
| 191 | share/gtk-doc/html/pango}</seg>
|
---|
[10e9ab7] | 192 | </seglistitem>
|
---|
| 193 | </segmentedlist>
|
---|
| 194 |
|
---|
| 195 | <variablelist>
|
---|
| 196 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 197 | <?dbfo list-presentation="list"?>
|
---|
| 198 | <?dbhtml list-presentation="table"?>
|
---|
| 199 |
|
---|
| 200 | <varlistentry id="pango-querymodules">
|
---|
| 201 | <term><command>pango-querymodules</command></term>
|
---|
| 202 | <listitem>
|
---|
| 203 | <para>is a module registration utility that collects
|
---|
| 204 | information about <application>Pango</application> loadable
|
---|
| 205 | modules.</para>
|
---|
| 206 | <indexterm zone="pango pango-querymodules">
|
---|
| 207 | <primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
[cf5c88ca] | 212 | <varlistentry id="pango-view">
|
---|
| 213 | <term><command>pango-view</command></term>
|
---|
| 214 | <listitem>
|
---|
[a41f643] | 215 | <para>renders a given file through <application>Pango</application>
|
---|
[49f7d8b] | 216 | for viewing purposes.</para>
|
---|
[cf5c88ca] | 217 | <indexterm zone="pango pango-view">
|
---|
| 218 | <primary sortas="b-pango-view">pango-view</primary>
|
---|
| 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
[10e9ab7] | 223 | <varlistentry id="Pango-libraries">
|
---|
[cf5c88ca] | 224 | <term><filename class="libraryfile">libpango*-1.0.so</filename></term>
|
---|
[10e9ab7] | 225 | <listitem>
|
---|
| 226 | <para>contain low level layout rendering routines, a high
|
---|
| 227 | level driver for laying out entire blocks of text, and routines
|
---|
| 228 | to assist in editing internationalized text.</para>
|
---|
| 229 | <indexterm zone="pango Pango-libraries">
|
---|
[cf5c88ca] | 230 | <primary sortas="c-Pango-libraries">libpango*-1.0.so</primary>
|
---|
[10e9ab7] | 231 | </indexterm>
|
---|
| 232 | </listitem>
|
---|
| 233 | </varlistentry>
|
---|
| 234 |
|
---|
| 235 | </variablelist>
|
---|
| 236 |
|
---|
| 237 | </sect2>
|
---|
[f45b1953] | 238 |
|
---|
| 239 | </sect1>
|
---|