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.16/pango-&pango-version;.tar.bz2">
|
---|
8 | <!ENTITY pango-download-ftp "ftp://ftp.gtk.org/pub/pango/1.16/pango-&pango-version;.tar.bz2">
|
---|
9 | <!ENTITY pango-md5sum "025e2ac5e40cac163aae4653aeef559c">
|
---|
10 | <!ENTITY pango-size "1.3 MB">
|
---|
11 | <!ENTITY pango-buildsize "28 MB">
|
---|
12 | <!ENTITY pango-time "0.8 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 | <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 role="required"><xref linkend="glib2"/> and one of
|
---|
62 | <xref linkend="cairo"/> or
|
---|
63 | <xref linkend="x-window-system"/> or
|
---|
64 | <xref linkend="fontconfig"/></para>
|
---|
65 |
|
---|
66 | <para><application>cairo</application> is not required to build
|
---|
67 | <application>Pango</application>, but it is highly recommended that you
|
---|
68 | install <application>cairo</application> before building
|
---|
69 | <application>Pango</application>. If you don't build
|
---|
70 | <application>Pango</application> with a <application>cairo</application>
|
---|
71 | backend, then <application>GTK+</application>-2 will not build.</para>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
74 | <para role="optional"><ulink
|
---|
75 | url="http://linux.thai.net/libthai">LibThai</ulink></para>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Optional (If <application>cairo</application>
|
---|
78 | is Not Installed)</bridgehead>
|
---|
79 | <para role="optional"><xref linkend="x-window-system"/></para>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Optional (To Rebuild the API
|
---|
82 | Documentation)</bridgehead>
|
---|
83 | <para role="optional"><xref linkend="gtk-doc"/></para>
|
---|
84 |
|
---|
85 | <para condition="html" role="usernotes">User Notes:
|
---|
86 | <ulink url="&blfs-wiki;/pango"/></para>
|
---|
87 |
|
---|
88 | </sect2>
|
---|
89 |
|
---|
90 | <sect2 role="installation">
|
---|
91 | <title>Installation of Pango</title>
|
---|
92 |
|
---|
93 | <!-- Commenting this out for now as Xorg7 default installation patch
|
---|
94 | is /usr, so the note doesn't apply. Furthermore, instructions to
|
---|
95 | do this are already in the book in the X section
|
---|
96 |
|
---|
97 | <para>In order for <application>Pango</application> to find
|
---|
98 | <application>Xft</application>, the <envar>PKG_CONFIG_PATH</envar> must
|
---|
99 | include <filename class="directory">/usr/X11R6/lib/pkgconfig</filename>.
|
---|
100 | This is a good time to add it if you haven't already. You can utilize
|
---|
101 | the example for <filename>X.sh</filename> to create a script for
|
---|
102 | modifying this variable located in the section
|
---|
103 | <xref linkend="postlfs-config-profile"/>.</para>
|
---|
104 |
|
---|
105 | -->
|
---|
106 |
|
---|
107 | <para>Install <application>Pango</application> by running the following
|
---|
108 | commands:</para>
|
---|
109 |
|
---|
110 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
111 | make</userinput></screen>
|
---|
112 |
|
---|
113 | <para>To test the results, issue: <command>make check</command>. Note that
|
---|
114 | the <quote>testboundries</quote> test could fail if you have
|
---|
115 | <application>LibThai</application> installed.</para>
|
---|
116 |
|
---|
117 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
118 |
|
---|
119 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
120 |
|
---|
121 | </sect2>
|
---|
122 |
|
---|
123 | <sect2 role="commands">
|
---|
124 | <title>Command Explanations</title>
|
---|
125 |
|
---|
126 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
127 | configuration files into <filename class="directory">/etc</filename>
|
---|
128 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
129 |
|
---|
130 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
131 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
132 |
|
---|
133 | </sect2>
|
---|
134 |
|
---|
135 | <sect2 role="configuration">
|
---|
136 | <title>Configuring Pango</title>
|
---|
137 |
|
---|
138 | <sect3 id="pango-config">
|
---|
139 | <title>Config Files</title>
|
---|
140 |
|
---|
141 | <para><filename>/etc/pango/pangorc</filename>,
|
---|
142 | <filename>~/.pangorc</filename>, and the file specified in the
|
---|
143 | environment variable <envar>PANGO_RC_FILE</envar></para>
|
---|
144 |
|
---|
145 | <indexterm zone="pango pango-config">
|
---|
146 | <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
---|
147 | </indexterm>
|
---|
148 |
|
---|
149 | <indexterm zone="pango pango-config">
|
---|
150 | <primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
---|
151 | </indexterm>
|
---|
152 |
|
---|
153 | </sect3>
|
---|
154 |
|
---|
155 | <sect3>
|
---|
156 | <title>Configuration Information</title>
|
---|
157 |
|
---|
158 | <para>The <application>Pango</application> module path is specified by
|
---|
159 | the key <userinput><parameter>Pango/ModulesPath</parameter></userinput>
|
---|
160 | in the <application>Pango</application> config database, which is read
|
---|
161 | from the config files listed above.</para>
|
---|
162 |
|
---|
163 | </sect3>
|
---|
164 |
|
---|
165 | </sect2>
|
---|
166 |
|
---|
167 | <sect2 role="content">
|
---|
168 | <title>Contents</title>
|
---|
169 |
|
---|
170 | <segmentedlist>
|
---|
171 | <segtitle>Installed Programs</segtitle>
|
---|
172 | <segtitle>Installed Libraries</segtitle>
|
---|
173 | <segtitle>Installed Directories</segtitle>
|
---|
174 |
|
---|
175 | <seglistitem>
|
---|
176 | <seg>pango-querymodules and pango-view</seg>
|
---|
177 | <seg>libpango*-1.0.so and <application>Pango</application> loadable
|
---|
178 | modules.</seg>
|
---|
179 | <seg>/etc/pango, /usr/include/pango-1.0, /usr/lib/pango, and
|
---|
180 | /usr/share/gtk-doc/html/pango</seg>
|
---|
181 | </seglistitem>
|
---|
182 | </segmentedlist>
|
---|
183 |
|
---|
184 | <variablelist>
|
---|
185 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
186 | <?dbfo list-presentation="list"?>
|
---|
187 | <?dbhtml list-presentation="table"?>
|
---|
188 |
|
---|
189 | <varlistentry id="pango-querymodules">
|
---|
190 | <term><command>pango-querymodules</command></term>
|
---|
191 | <listitem>
|
---|
192 | <para>is a module registration utility that collects
|
---|
193 | information about <application>Pango</application> loadable
|
---|
194 | modules.</para>
|
---|
195 | <indexterm zone="pango pango-querymodules">
|
---|
196 | <primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
---|
197 | </indexterm>
|
---|
198 | </listitem>
|
---|
199 | </varlistentry>
|
---|
200 |
|
---|
201 | <varlistentry id="Pango-libraries">
|
---|
202 | <term>Pango libraries</term>
|
---|
203 | <listitem>
|
---|
204 | <para>contain low level layout rendering routines, a high
|
---|
205 | level driver for laying out entire blocks of text, and routines
|
---|
206 | to assist in editing internationalized text.</para>
|
---|
207 | <indexterm zone="pango Pango-libraries">
|
---|
208 | <primary sortas="c-Pango-libraries">Pango libraries</primary>
|
---|
209 | </indexterm>
|
---|
210 | </listitem>
|
---|
211 | </varlistentry>
|
---|
212 |
|
---|
213 | </variablelist>
|
---|
214 |
|
---|
215 | </sect2>
|
---|
216 |
|
---|
217 | </sect1>
|
---|