1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY pango-download-http "&gnome-download-http;/pango/1.26/pango-&pango-version;.tar.bz2">
|
---|
8 | <!ENTITY pango-download-ftp "&gnome-download-ftp;/pango/1.26/pango-&pango-version;.tar.bz2">
|
---|
9 | <!ENTITY pango-md5sum "f30212b8833af3ce5c82121dc309e3d0">
|
---|
10 | <!ENTITY pango-size "1.5 MB">
|
---|
11 | <!ENTITY pango-buildsize "30 MB">
|
---|
12 | <!ENTITY pango-time "0.5 SBU">
|
---|
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 | &lfs65_checked;
|
---|
37 |
|
---|
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>
|
---|
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>
|
---|
67 |
|
---|
68 | <para><application>cairo</application> is not required to build
|
---|
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
|
---|
72 | <application>Pango</application> with a <application>cairo</application>
|
---|
73 | backend, then <application>GTK+</application>-2 will not build.</para>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
76 | <para role="optional"><ulink
|
---|
77 | url="http://linux.thai.net/libthai">LibThai</ulink></para>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect4">Optional (If <application>cairo</application>
|
---|
80 | is Not Installed)</bridgehead>
|
---|
81 | <para role="optional"><xref linkend="x-window-system"/></para>
|
---|
82 |
|
---|
83 | <bridgehead renderas="sect4">Optional (To Rebuild the API
|
---|
84 | Documentation)</bridgehead>
|
---|
85 | <para role="optional"><xref linkend="gtk-doc"/></para>
|
---|
86 |
|
---|
87 | <para condition="html" role="usernotes">User Notes:
|
---|
88 | <ulink url="&blfs-wiki;/pango"/></para>
|
---|
89 |
|
---|
90 | </sect2>
|
---|
91 |
|
---|
92 | <sect2 role="installation">
|
---|
93 | <title>Installation of Pango</title>
|
---|
94 |
|
---|
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 |
|
---|
99 | <para>In order for <application>Pango</application> to find
|
---|
100 | <application>Xft</application>, <envar>PKG_CONFIG_PATH</envar> must
|
---|
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 |
|
---|
107 | -->
|
---|
108 |
|
---|
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 |
|
---|
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
|
---|
117 | section of the test suite. Also, the <quote>testboundries</quote> test
|
---|
118 | could fail if you have <application>LibThai</application> installed.
|
---|
119 | </para>
|
---|
120 |
|
---|
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 |
|
---|
134 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
135 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
136 |
|
---|
137 | <para><parameter>--disable-static</parameter>: This switch prevents the
|
---|
138 | static libraries from being built.</para>
|
---|
139 |
|
---|
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>
|
---|
178 | <segtitle>Installed Programs</segtitle>
|
---|
179 | <segtitle>Installed Libraries</segtitle>
|
---|
180 | <segtitle>Installed Directories</segtitle>
|
---|
181 |
|
---|
182 | <seglistitem>
|
---|
183 | <seg>pango-querymodules and pango-view</seg>
|
---|
184 | <seg>libpango*-1.0.so and <application>Pango</application> loadable
|
---|
185 | modules.</seg>
|
---|
186 | <seg>/etc/pango, /usr/include/pango-1.0, /usr/lib/pango, and
|
---|
187 | /usr/share/gtk-doc/html/pango</seg>
|
---|
188 | </seglistitem>
|
---|
189 | </segmentedlist>
|
---|
190 |
|
---|
191 | <variablelist>
|
---|
192 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
193 | <?dbfo list-presentation="list"?>
|
---|
194 | <?dbhtml list-presentation="table"?>
|
---|
195 |
|
---|
196 | <varlistentry id="pango-querymodules">
|
---|
197 | <term><command>pango-querymodules</command></term>
|
---|
198 | <listitem>
|
---|
199 | <para>is a module registration utility that collects
|
---|
200 | information about <application>Pango</application> loadable
|
---|
201 | modules.</para>
|
---|
202 | <indexterm zone="pango pango-querymodules">
|
---|
203 | <primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
---|
204 | </indexterm>
|
---|
205 | </listitem>
|
---|
206 | </varlistentry>
|
---|
207 |
|
---|
208 | <varlistentry id="pango-view">
|
---|
209 | <term><command>pango-view</command></term>
|
---|
210 | <listitem>
|
---|
211 | <para>renders a given file through <application>Pango</application>
|
---|
212 | for viewing purposes.</para>
|
---|
213 | <indexterm zone="pango pango-view">
|
---|
214 | <primary sortas="b-pango-view">pango-view</primary>
|
---|
215 | </indexterm>
|
---|
216 | </listitem>
|
---|
217 | </varlistentry>
|
---|
218 |
|
---|
219 | <varlistentry id="Pango-libraries">
|
---|
220 | <term><filename class="libraryfile">libpango*-1.0.so</filename></term>
|
---|
221 | <listitem>
|
---|
222 | <para>contain low level layout rendering routines, a high
|
---|
223 | level driver for laying out entire blocks of text, and routines
|
---|
224 | to assist in editing internationalized text.</para>
|
---|
225 | <indexterm zone="pango Pango-libraries">
|
---|
226 | <primary sortas="c-Pango-libraries">libpango*-1.0.so</primary>
|
---|
227 | </indexterm>
|
---|
228 | </listitem>
|
---|
229 | </varlistentry>
|
---|
230 |
|
---|
231 | </variablelist>
|
---|
232 |
|
---|
233 | </sect2>
|
---|
234 |
|
---|
235 | </sect1>
|
---|