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