1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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">
|
---|
9 | <!ENTITY pango-md5sum "88aa6bf1876766db6864f3b93577887c">
|
---|
10 | <!ENTITY pango-size "996 KB">
|
---|
11 | <!ENTITY pango-buildsize "22 MB">
|
---|
12 | <!ENTITY pango-time "0.56 SBU (includes rebuilding the documentation)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="pango" xreflabel="Pango-&pango-version;">
|
---|
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>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
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 |
|
---|
63 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
64 | <para><ulink url="http://freedesktop.org/~fontconfig/release/">Xft</ulink>
|
---|
65 | (included in <xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
66 | <xref linkend="fontconfig"/> and <xref linkend="gtk-doc"/></para>
|
---|
67 |
|
---|
68 | </sect2>
|
---|
69 |
|
---|
70 | <sect2 role="installation">
|
---|
71 | <title>Installation of Pango</title>
|
---|
72 |
|
---|
73 | <para>In order for <application>Pango</application> to find
|
---|
74 | <application>Xft</application>, the <envar>PKG_CONFIG_PATH</envar> must
|
---|
75 | include <filename class="directory">/usr/X11R6/lib/pkgconfig</filename>.
|
---|
76 | This is a good time to add it if you haven't already. You can utilize
|
---|
77 | the example for <filename>X.sh</filename> to create a script for
|
---|
78 | modifying this variable located in the section
|
---|
79 | <xref linkend="postlfs-config-profile"/>.</para>
|
---|
80 |
|
---|
81 | <para>Install <application>Pango</application> by running the following
|
---|
82 | commands:</para>
|
---|
83 |
|
---|
84 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
85 | make</userinput></screen>
|
---|
86 |
|
---|
87 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
88 |
|
---|
89 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
90 |
|
---|
91 | </sect2>
|
---|
92 |
|
---|
93 | <sect2 role="commands">
|
---|
94 | <title>Command Explanations</title>
|
---|
95 |
|
---|
96 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
97 | configuration files into <filename class="directory">/etc</filename>
|
---|
98 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
99 |
|
---|
100 | <para><option>--enable-gtk-doc</option>: This switch will rebuild
|
---|
101 | the API documentation during the <command>make</command> command.</para>
|
---|
102 |
|
---|
103 | </sect2>
|
---|
104 |
|
---|
105 | <sect2 role="configuration">
|
---|
106 | <title>Configuring Pango</title>
|
---|
107 |
|
---|
108 | <sect3 id="pango-config">
|
---|
109 | <title>Config Files</title>
|
---|
110 |
|
---|
111 | <para><filename>/etc/pango/pangorc</filename>,
|
---|
112 | <filename>~/.pangorc</filename>, and the file specified in the
|
---|
113 | environment variable <envar>PANGO_RC_FILE</envar></para>
|
---|
114 |
|
---|
115 | <indexterm zone="pango pango-config">
|
---|
116 | <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
---|
117 | </indexterm>
|
---|
118 |
|
---|
119 | <indexterm zone="pango pango-config">
|
---|
120 | <primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
---|
121 | </indexterm>
|
---|
122 |
|
---|
123 | </sect3>
|
---|
124 |
|
---|
125 | <sect3>
|
---|
126 | <title>Configuration Information</title>
|
---|
127 |
|
---|
128 | <para>The <application>Pango</application> module path is specified by
|
---|
129 | the key <userinput><parameter>Pango/ModulesPath</parameter></userinput>
|
---|
130 | in the <application>Pango</application> config database, which is read
|
---|
131 | from the config files listed above.</para>
|
---|
132 |
|
---|
133 | </sect3>
|
---|
134 |
|
---|
135 | </sect2>
|
---|
136 |
|
---|
137 | <sect2 role="content">
|
---|
138 | <title>Contents</title>
|
---|
139 |
|
---|
140 | <segmentedlist>
|
---|
141 | <segtitle>Installed Program</segtitle>
|
---|
142 | <segtitle>Installed Libraries</segtitle>
|
---|
143 | <segtitle>Installed Directories</segtitle>
|
---|
144 |
|
---|
145 | <seglistitem>
|
---|
146 | <seg>pango-querymodules</seg>
|
---|
147 | <seg>libpango*.so and <application>Pango</application> loadable
|
---|
148 | modules.</seg>
|
---|
149 | <seg>/etc/pango, /usr/include/pango-1.0, /usr/lib/pango, and
|
---|
150 | /usr/share/gtk-doc/html/pango</seg>
|
---|
151 | </seglistitem>
|
---|
152 | </segmentedlist>
|
---|
153 |
|
---|
154 | <variablelist>
|
---|
155 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
156 | <?dbfo list-presentation="list"?>
|
---|
157 | <?dbhtml list-presentation="table"?>
|
---|
158 |
|
---|
159 | <varlistentry id="pango-querymodules">
|
---|
160 | <term><command>pango-querymodules</command></term>
|
---|
161 | <listitem>
|
---|
162 | <para>is a module registration utility that collects
|
---|
163 | information about <application>Pango</application> loadable
|
---|
164 | modules.</para>
|
---|
165 | <indexterm zone="pango pango-querymodules">
|
---|
166 | <primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
---|
167 | </indexterm>
|
---|
168 | </listitem>
|
---|
169 | </varlistentry>
|
---|
170 |
|
---|
171 | <varlistentry id="Pango-libraries">
|
---|
172 | <term>Pango libraries</term>
|
---|
173 | <listitem>
|
---|
174 | <para>contain low level layout rendering routines, a high
|
---|
175 | level driver for laying out entire blocks of text, and routines
|
---|
176 | to assist in editing internationalized text.</para>
|
---|
177 | <indexterm zone="pango Pango-libraries">
|
---|
178 | <primary sortas="c-Pango-libraries">Pango libraries</primary>
|
---|
179 | </indexterm>
|
---|
180 | </listitem>
|
---|
181 | </varlistentry>
|
---|
182 |
|
---|
183 | </variablelist>
|
---|
184 |
|
---|
185 | </sect2>
|
---|
186 |
|
---|
187 | </sect1>
|
---|