[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 |
|
---|
[7f8bd51] | 7 | <!ENTITY pango-download-http "http://ftp.gnome.org/pub/GNOME/sources/pango/1.8/pango-&pango-version;.tar.bz2">
|
---|
| 8 | <!ENTITY pango-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/pango/1.8/pango-&pango-version;.tar.bz2">
|
---|
[f600f56a] | 9 | <!ENTITY pango-md5sum "88aa6bf1876766db6864f3b93577887c">
|
---|
| 10 | <!ENTITY pango-size "996 KB">
|
---|
[7f8bd51] | 11 | <!ENTITY pango-buildsize "22 MB">
|
---|
[f600f56a] | 12 | <!ENTITY pango-time "0.56 SBU (includes rebuilding the documentation)">
|
---|
[feeb99a] | 13 | ]>
|
---|
| 14 |
|
---|
[7f8bd51] | 15 | <sect1 id="pango" xreflabel="Pango-&pango-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[19aa75a] | 20 | <?dbhtml filename="pango.html" ?>
|
---|
[7f8bd51] | 21 | <title>Pango-&pango-version;</title>
|
---|
[a54950b] | 22 | <indexterm zone="pango">
|
---|
| 23 | <primary sortas="a-Pango">Pango</primary></indexterm>
|
---|
[f45b1953] | 24 |
|
---|
[feeb99a] | 25 | <sect2>
|
---|
| 26 | <title>Introduction to <application>Pango</application></title>
|
---|
| 27 |
|
---|
| 28 | <para>The <application>Pango</application> package contains the
|
---|
[f600f56a] | 29 | <filename class="libraryfile">libpango</filename> libraries. These are useful
|
---|
| 30 | for the layout and rendering of text.</para>
|
---|
[feeb99a] | 31 |
|
---|
| 32 | <sect3><title>Package information</title>
|
---|
| 33 | <itemizedlist spacing='compact'>
|
---|
[f600f56a] | 34 | <listitem><para>Download (HTTP):
|
---|
| 35 | <ulink url="&pango-download-http;"/></para></listitem>
|
---|
| 36 | <listitem><para>Download (FTP):
|
---|
| 37 | <ulink url="&pango-download-ftp;"/></para></listitem>
|
---|
[7f8bd51] | 38 | <listitem><para>Download MD5 sum: &pango-md5sum;</para></listitem>
|
---|
| 39 | <listitem><para>Download size: &pango-size;</para></listitem>
|
---|
[f600f56a] | 40 | <listitem><para>Estimated disk space required:
|
---|
| 41 | &pango-buildsize;</para></listitem>
|
---|
| 42 | <listitem><para>Estimated build time:
|
---|
| 43 | &pango-time;</para></listitem></itemizedlist>
|
---|
[feeb99a] | 44 | </sect3>
|
---|
| 45 |
|
---|
| 46 | <sect3><title><application>Pango</application> dependencies</title>
|
---|
| 47 | <sect4><title>Required</title>
|
---|
[f600f56a] | 48 | <para><xref linkend="glib2"/></para>
|
---|
| 49 | </sect4>
|
---|
| 50 |
|
---|
[feeb99a] | 51 | <sect4><title>Optional</title>
|
---|
[f600f56a] | 52 | <para><ulink url="http://freedesktop.org/~fontconfig/release/">Xft</ulink>
|
---|
[7d4fb1d] | 53 | (included in <xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
[f600f56a] | 54 | <xref linkend="fontconfig"/> and <xref linkend="gtk-doc"/></para>
|
---|
| 55 | </sect4>
|
---|
[feeb99a] | 56 | </sect3>
|
---|
| 57 |
|
---|
| 58 | </sect2>
|
---|
| 59 |
|
---|
| 60 | <sect2>
|
---|
| 61 | <title>Installation of <application>Pango</application></title>
|
---|
| 62 |
|
---|
| 63 | <para>In order for <application>Pango</application> to find
|
---|
| 64 | <application>Xft</application>, the <envar>PKG_CONFIG_PATH</envar> must
|
---|
| 65 | include <filename class="directory">/usr/X11R6/lib/pkgconfig</filename>.
|
---|
[7d4fb1d] | 66 | This is a good time to add it if you haven't already. You can utilize the
|
---|
| 67 | example for <filename>X.sh</filename> to create a script for modifying this
|
---|
| 68 | variable located in the section <xref linkend="postlfs-config-profile"/>.
|
---|
| 69 | </para>
|
---|
[feeb99a] | 70 |
|
---|
[7d4fb1d] | 71 | <para>Install <application>Pango</application> by running the following
|
---|
| 72 | commands:</para>
|
---|
[feeb99a] | 73 |
|
---|
| 74 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
[a54950b] | 75 | make</command></userinput></screen>
|
---|
| 76 |
|
---|
| 77 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 78 |
|
---|
| 79 | <para>Now, as the root user:</para>
|
---|
| 80 |
|
---|
| 81 | <screen><userinput role="root"><command>make install</command></userinput></screen>
|
---|
[feeb99a] | 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2>
|
---|
| 86 | <title>Command explanations</title>
|
---|
| 87 |
|
---|
| 88 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
| 89 | configuration files into <filename class="directory">/etc</filename>
|
---|
| 90 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
| 91 |
|
---|
| 92 | <para><option>--enable-gtk-doc</option>: This switch will rebuild
|
---|
| 93 | the <acronym>API</acronym> documentation during the
|
---|
| 94 | <command>make</command> command.</para>
|
---|
| 95 |
|
---|
| 96 | </sect2>
|
---|
| 97 |
|
---|
[7d4fb1d] | 98 | <sect2>
|
---|
| 99 | <title>Configuring <application>Pango</application></title>
|
---|
| 100 |
|
---|
[a54950b] | 101 | <sect3 id="pango-config"><title>Config files</title>
|
---|
[7d4fb1d] | 102 | <para><filename>/etc/pango/pangorc</filename>,
|
---|
| 103 | <filename>~/.pangorc</filename> and the file specified in the
|
---|
| 104 | environment variable <envar>PANGO_RC_FILE</envar></para>
|
---|
[a54950b] | 105 |
|
---|
| 106 | <indexterm zone="pango pango-config">
|
---|
| 107 | <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
---|
| 108 | </indexterm>
|
---|
| 109 |
|
---|
| 110 | <indexterm zone="pango pango-config">
|
---|
| 111 | <primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
---|
| 112 | </indexterm>
|
---|
| 113 |
|
---|
[7d4fb1d] | 114 | </sect3>
|
---|
| 115 |
|
---|
| 116 | <sect3><title>Configuration Information</title>
|
---|
| 117 | <para>The <application>Pango</application> module path is specified by the key
|
---|
| 118 | <userinput><parameter>Pango/ModulesPath</parameter></userinput> in the
|
---|
| 119 | <application>Pango</application> config database, which is read from the
|
---|
| 120 | config files listed above.</para></sect3>
|
---|
| 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
[feeb99a] | 124 | <sect2>
|
---|
| 125 | <title>Contents</title>
|
---|
| 126 |
|
---|
[a54950b] | 127 | <segmentedlist>
|
---|
| 128 | <segtitle>Installed Program</segtitle>
|
---|
| 129 | <segtitle>Installed Libraries</segtitle>
|
---|
| 130 | <segtitle>Installed Directories</segtitle>
|
---|
| 131 | <seglistitem>
|
---|
| 132 | <seg>pango-querymodules</seg>
|
---|
| 133 | <seg>libpango*.so and <application>Pango</application> loadable
|
---|
| 134 | modules.</seg>
|
---|
| 135 | <seg>/etc/pango, /usr/include/pango-1.0, /usr/lib/pango and
|
---|
| 136 | /usr/share/gtk-doc/html/pango</seg>
|
---|
| 137 | </seglistitem>
|
---|
| 138 | </segmentedlist>
|
---|
| 139 |
|
---|
| 140 | <variablelist>
|
---|
| 141 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 142 | <?dbfo list-presentation="list"?>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="pango-querymodules">
|
---|
| 145 | <term><command>pango-querymodules</command></term>
|
---|
| 146 | <listitem><para>is a module registration utility that collects
|
---|
| 147 | information about <application>Pango</application> loadable
|
---|
| 148 | modules.</para>
|
---|
| 149 | <indexterm zone="pango pango-querymodules">
|
---|
[4a7d1a4] | 150 | <primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
---|
| 151 | </indexterm>
|
---|
[a54950b] | 152 | </listitem>
|
---|
| 153 | </varlistentry>
|
---|
| 154 |
|
---|
| 155 | <varlistentry id="Pango-libraries">
|
---|
| 156 | <term>Pango libraries</term>
|
---|
| 157 | <listitem><para>contain low level layout rendering routines, a high
|
---|
| 158 | level driver for laying out entire blocks of text, and routines
|
---|
| 159 | to assist in editing internationalized text.</para>
|
---|
| 160 | <indexterm zone="pango Pango-libraries">
|
---|
[4a7d1a4] | 161 | <primary sortas="c-Pango-libraries">Pango libraries</primary></indexterm>
|
---|
[a54950b] | 162 | </listitem>
|
---|
| 163 | </varlistentry>
|
---|
| 164 |
|
---|
| 165 | </variablelist>
|
---|
[feeb99a] | 166 |
|
---|
| 167 | </sect2>
|
---|
[f45b1953] | 168 |
|
---|
| 169 | </sect1>
|
---|