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.29/pango-&pango-version;.tar.xz">
|
---|
8 | <!ENTITY pango-download-ftp "&gnome-download-ftp;/pango/1.29/pango-&pango-version;.tar.xz">
|
---|
9 | <!ENTITY pango-md5sum "9d5aba73897d2e8e8115b3f4fddbc0af">
|
---|
10 | <!ENTITY pango-size "1.1 MB">
|
---|
11 | <!ENTITY pango-buildsize "36 MB">
|
---|
12 | <!ENTITY pango-time "0.4 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 multilingual text.</para>
|
---|
35 |
|
---|
36 | &lfs71_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="pkgconfig"/> and one of:
|
---|
64 | <xref linkend="cairo"/>, <xref linkend="x-window-system"/> or
|
---|
65 | <xref linkend="fontconfig"/></para>
|
---|
66 |
|
---|
67 | <note>
|
---|
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> and the X Window System before
|
---|
71 | building <application>Pango</application>. If you don't build
|
---|
72 | <application>Pango</application> with a <application>cairo</application>
|
---|
73 | and <application>libXft</application> backend, then
|
---|
74 | <application>GTK+</application>-2 will not build.</para>
|
---|
75 | </note>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
78 | <para role="optional"><xref linkend="gobject-introspection"/>
|
---|
79 | (required if you want to build <xref linkend="gnome"/>),
|
---|
80 | <ulink url="http://linux.thai.net/libthai">LibThai</ulink></para>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect4">Optional (To Rebuild the API
|
---|
83 | Documentation)</bridgehead>
|
---|
84 | <para role="optional"><xref linkend="gtk-doc"/></para>
|
---|
85 |
|
---|
86 | <para condition="html" role="usernotes">User Notes:
|
---|
87 | <ulink url="&blfs-wiki;/pango"/></para>
|
---|
88 |
|
---|
89 | </sect2>
|
---|
90 |
|
---|
91 | <sect2 role="installation">
|
---|
92 | <title>Installation of Pango</title>
|
---|
93 |
|
---|
94 | <para>Install <application>Pango</application> by running the following
|
---|
95 | commands:</para>
|
---|
96 |
|
---|
97 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
98 | make</userinput></screen>
|
---|
99 |
|
---|
100 | <para>To test the results, issue: <command>make check</command>. You can
|
---|
101 | install <xref linkend="gtk-doc"/> if you wish to test the documentation
|
---|
102 | section of the test suite. Also, the <quote>testboundries</quote> test
|
---|
103 | could fail if you have <application>LibThai</application> installed.
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
107 | user:</para>
|
---|
108 |
|
---|
109 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
110 |
|
---|
111 | </sect2>
|
---|
112 |
|
---|
113 | <sect2 role="commands">
|
---|
114 | <title>Command Explanations</title>
|
---|
115 |
|
---|
116 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
117 | configuration files into <filename class="directory">/etc</filename>
|
---|
118 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
119 |
|
---|
120 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
121 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
122 |
|
---|
123 | <para><parameter>--disable-static</parameter>: This switch prevents the
|
---|
124 | static libraries from being built.</para>
|
---|
125 |
|
---|
126 | </sect2>
|
---|
127 |
|
---|
128 | <sect2 role="configuration">
|
---|
129 | <title>Configuring Pango</title>
|
---|
130 |
|
---|
131 | <sect3 id="pango-config">
|
---|
132 | <title>Config Files</title>
|
---|
133 |
|
---|
134 | <para><filename>/etc/pango/pangorc</filename>,
|
---|
135 | <filename>~/.pangorc</filename>, and the file specified in the
|
---|
136 | environment variable <envar>PANGO_RC_FILE</envar></para>
|
---|
137 |
|
---|
138 | <indexterm zone="pango pango-config">
|
---|
139 | <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
---|
140 | </indexterm>
|
---|
141 |
|
---|
142 | <indexterm zone="pango pango-config">
|
---|
143 | <primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
---|
144 | </indexterm>
|
---|
145 |
|
---|
146 | </sect3>
|
---|
147 |
|
---|
148 | <sect3>
|
---|
149 | <title>Configuration Information</title>
|
---|
150 |
|
---|
151 | <para>The <application>Pango</application> module path is specified by
|
---|
152 | the key <userinput><parameter>Pango/ModulesPath</parameter></userinput>
|
---|
153 | in the <application>Pango</application> config database, which is read
|
---|
154 | from the config files listed above.</para>
|
---|
155 |
|
---|
156 | </sect3>
|
---|
157 |
|
---|
158 | </sect2>
|
---|
159 |
|
---|
160 | <sect2 role="content">
|
---|
161 | <title>Contents</title>
|
---|
162 |
|
---|
163 | <segmentedlist>
|
---|
164 | <segtitle>Installed Programs</segtitle>
|
---|
165 | <segtitle>Installed Libraries</segtitle>
|
---|
166 | <segtitle>Installed Directories</segtitle>
|
---|
167 |
|
---|
168 | <seglistitem>
|
---|
169 | <seg>pango-querymodules and pango-view</seg>
|
---|
170 | <seg>libpango-1.0.so, libpangocairo-1.0.so, libpangoft2-1.0.so,
|
---|
171 | libpangox-1.0.so, libpangoxft-1.0.so, pango-arabic-fc.so,
|
---|
172 | pango-arabic-lang.so, pango-basic-fc.so, pango-basic-x.so,
|
---|
173 | pango-hangul-fc.so, pango-hebrew-fc.so, pango-indic-fc.so,
|
---|
174 | pango-indic-lang.so, pango-khmer-fc.so, pango-syriac-fc.so,
|
---|
175 | pango-thai-fc.so, and pango-tibetan-fc.so</seg>
|
---|
176 | <seg>/etc/pango, /usr/include/pango-1.0 /usr/lib/pango and
|
---|
177 | /usr/share/gtk-doc/html/pango</seg>
|
---|
178 | </seglistitem>
|
---|
179 | </segmentedlist>
|
---|
180 |
|
---|
181 | <variablelist>
|
---|
182 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
183 | <?dbfo list-presentation="list"?>
|
---|
184 | <?dbhtml list-presentation="table"?>
|
---|
185 |
|
---|
186 | <varlistentry id="pango-querymodules">
|
---|
187 | <term><command>pango-querymodules</command></term>
|
---|
188 | <listitem>
|
---|
189 | <para>is a module registration utility that collects
|
---|
190 | information about <application>Pango</application> loadable
|
---|
191 | modules.</para>
|
---|
192 | <indexterm zone="pango pango-querymodules">
|
---|
193 | <primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
---|
194 | </indexterm>
|
---|
195 | </listitem>
|
---|
196 | </varlistentry>
|
---|
197 |
|
---|
198 | <varlistentry id="pango-view">
|
---|
199 | <term><command>pango-view</command></term>
|
---|
200 | <listitem>
|
---|
201 | <para>renders a given file through <application>Pango</application>
|
---|
202 | for viewing purposes.</para>
|
---|
203 | <indexterm zone="pango pango-view">
|
---|
204 | <primary sortas="b-pango-view">pango-view</primary>
|
---|
205 | </indexterm>
|
---|
206 | </listitem>
|
---|
207 | </varlistentry>
|
---|
208 |
|
---|
209 | <varlistentry id="Pango-libraries">
|
---|
210 | <term><filename class="libraryfile">libpango*-1.0.so</filename></term>
|
---|
211 | <listitem>
|
---|
212 | <para>contain low level layout rendering routines, a high
|
---|
213 | level driver for laying out entire blocks of text, and routines
|
---|
214 | to assist in editing internationalized text.</para>
|
---|
215 | <indexterm zone="pango Pango-libraries">
|
---|
216 | <primary sortas="c-Pango-libraries">libpango*-1.0.so</primary>
|
---|
217 | </indexterm>
|
---|
218 | </listitem>
|
---|
219 | </varlistentry>
|
---|
220 |
|
---|
221 | </variablelist>
|
---|
222 |
|
---|
223 | </sect2>
|
---|
224 |
|
---|
225 | </sect1>
|
---|