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 "&gnome-download-http;/pango/1.12/pango-&pango-version;.tar.bz2">
|
---|
8 | <!ENTITY pango-download-ftp "&gnome-download-ftp;/pango/1.12/pango-&pango-version;.tar.bz2">
|
---|
9 | <!ENTITY pango-md5sum "86c3e08169a18200e64a0c5ee1be7fd9">
|
---|
10 | <!ENTITY pango-size "1.2 MB">
|
---|
11 | <!ENTITY pango-buildsize "24.4 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 | <keywordset>
|
---|
22 | <keyword role="package">pango-&pango-version;.tar</keyword>
|
---|
23 | <keyword role="ftpdir">pango</keyword>
|
---|
24 | </keywordset>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>Pango-&pango-version;</title>
|
---|
28 |
|
---|
29 | <indexterm zone="pango">
|
---|
30 | <primary sortas="a-Pango">Pango</primary>
|
---|
31 | </indexterm>
|
---|
32 |
|
---|
33 | <sect2 role="package">
|
---|
34 | <title>Introduction to Pango</title>
|
---|
35 |
|
---|
36 | <para>The <application>Pango</application> package contains the
|
---|
37 | <filename class="libraryfile">libpango</filename> libraries. These are
|
---|
38 | useful for the layout and rendering of text.</para>
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>Download (HTTP): <ulink url="&pango-download-http;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download (FTP): <ulink url="&pango-download-ftp;"/></para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download MD5 sum: &pango-md5sum;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Download size: &pango-size;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated disk space required: &pango-buildsize;</para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>Estimated build time: &pango-time;</para>
|
---|
59 | </listitem>
|
---|
60 | </itemizedlist>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect3">Pango Dependencies</bridgehead>
|
---|
63 |
|
---|
64 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
65 | <para role="required"><xref linkend="glib2"/></para>
|
---|
66 |
|
---|
67 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
68 | <para role="recommended"><xref linkend="cairo"/></para>
|
---|
69 |
|
---|
70 | <para><application>cairo</application> is not required to build
|
---|
71 | <application>Pango</application>, but 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 (If <application>cairo</application>
|
---|
76 | is Not Installed)</bridgehead>
|
---|
77 | <para role="optional">X (<xref linkend="xfree86"/>, <xref linkend="xorg"/>,
|
---|
78 | or <xref linkend="xorg7"/>)
|
---|
79 | and <xref linkend="fontconfig"/></para>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Optional (To Rebuild the API Documentation)</bridgehead>
|
---|
82 | <para role="optional"><xref linkend="gtk-doc"/></para>
|
---|
83 |
|
---|
84 | </sect2>
|
---|
85 |
|
---|
86 | <sect2 role="installation">
|
---|
87 | <title>Installation of Pango</title>
|
---|
88 |
|
---|
89 | <para>In order for <application>Pango</application> to find
|
---|
90 | <application>Xft</application>, the <envar>PKG_CONFIG_PATH</envar> must
|
---|
91 | include <filename class="directory">/usr/X11R6/lib/pkgconfig</filename>.
|
---|
92 | This is a good time to add it if you haven't already. You can utilize
|
---|
93 | the example for <filename>X.sh</filename> to create a script for
|
---|
94 | modifying this variable located in the section
|
---|
95 | <xref linkend="postlfs-config-profile"/>.</para>
|
---|
96 |
|
---|
97 | <para>Install <application>Pango</application> by running the following
|
---|
98 | commands:</para>
|
---|
99 |
|
---|
100 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
101 | make</userinput></screen>
|
---|
102 |
|
---|
103 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
104 |
|
---|
105 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
106 |
|
---|
107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
108 |
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <sect2 role="commands">
|
---|
112 | <title>Command Explanations</title>
|
---|
113 |
|
---|
114 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
115 | configuration files into <filename class="directory">/etc</filename>
|
---|
116 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
117 |
|
---|
118 | <para><option>--enable-gtk-doc</option>: This switch will rebuild
|
---|
119 | the API documentation during the <command>make</command> command.</para>
|
---|
120 |
|
---|
121 | </sect2>
|
---|
122 |
|
---|
123 | <sect2 role="configuration">
|
---|
124 | <title>Configuring Pango</title>
|
---|
125 |
|
---|
126 | <sect3 id="pango-config">
|
---|
127 | <title>Config Files</title>
|
---|
128 |
|
---|
129 | <para><filename>/etc/pango/pangorc</filename>,
|
---|
130 | <filename>~/.pangorc</filename>, and the file specified in the
|
---|
131 | environment variable <envar>PANGO_RC_FILE</envar></para>
|
---|
132 |
|
---|
133 | <indexterm zone="pango pango-config">
|
---|
134 | <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
---|
135 | </indexterm>
|
---|
136 |
|
---|
137 | <indexterm zone="pango pango-config">
|
---|
138 | <primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
---|
139 | </indexterm>
|
---|
140 |
|
---|
141 | </sect3>
|
---|
142 |
|
---|
143 | <sect3>
|
---|
144 | <title>Configuration Information</title>
|
---|
145 |
|
---|
146 | <para>The <application>Pango</application> module path is specified by
|
---|
147 | the key <userinput><parameter>Pango/ModulesPath</parameter></userinput>
|
---|
148 | in the <application>Pango</application> config database, which is read
|
---|
149 | from the config files listed above.</para>
|
---|
150 |
|
---|
151 | </sect3>
|
---|
152 |
|
---|
153 | </sect2>
|
---|
154 |
|
---|
155 | <sect2 role="content">
|
---|
156 | <title>Contents</title>
|
---|
157 |
|
---|
158 | <segmentedlist>
|
---|
159 | <segtitle>Installed Program</segtitle>
|
---|
160 | <segtitle>Installed Libraries</segtitle>
|
---|
161 | <segtitle>Installed Directories</segtitle>
|
---|
162 |
|
---|
163 | <seglistitem>
|
---|
164 | <seg>pango-querymodules</seg>
|
---|
165 | <seg>libpango*-1.0.so and <application>Pango</application> loadable
|
---|
166 | modules.</seg>
|
---|
167 | <seg>/etc/pango, /usr/include/pango-1.0, /usr/lib/pango, and
|
---|
168 | /usr/share/gtk-doc/html/pango</seg>
|
---|
169 | </seglistitem>
|
---|
170 | </segmentedlist>
|
---|
171 |
|
---|
172 | <variablelist>
|
---|
173 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
174 | <?dbfo list-presentation="list"?>
|
---|
175 | <?dbhtml list-presentation="table"?>
|
---|
176 |
|
---|
177 | <varlistentry id="pango-querymodules">
|
---|
178 | <term><command>pango-querymodules</command></term>
|
---|
179 | <listitem>
|
---|
180 | <para>is a module registration utility that collects
|
---|
181 | information about <application>Pango</application> loadable
|
---|
182 | modules.</para>
|
---|
183 | <indexterm zone="pango pango-querymodules">
|
---|
184 | <primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
---|
185 | </indexterm>
|
---|
186 | </listitem>
|
---|
187 | </varlistentry>
|
---|
188 |
|
---|
189 | <varlistentry id="Pango-libraries">
|
---|
190 | <term>Pango libraries</term>
|
---|
191 | <listitem>
|
---|
192 | <para>contain low level layout rendering routines, a high
|
---|
193 | level driver for laying out entire blocks of text, and routines
|
---|
194 | to assist in editing internationalized text.</para>
|
---|
195 | <indexterm zone="pango Pango-libraries">
|
---|
196 | <primary sortas="c-Pango-libraries">Pango libraries</primary>
|
---|
197 | </indexterm>
|
---|
198 | </listitem>
|
---|
199 | </varlistentry>
|
---|
200 |
|
---|
201 | </variablelist>
|
---|
202 |
|
---|
203 | </sect2>
|
---|
204 |
|
---|
205 | </sect1>
|
---|