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 "c8178e11a895166d86990bb2c38d831b">
|
---|
10 | <!ENTITY pango-size "1.2 MB">
|
---|
11 | <!ENTITY pango-buildsize "24.9 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 | <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 | <!--
|
---|
67 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
68 | <para role="recommended"><xref linkend="cairo"/></para>
|
---|
69 | -->
|
---|
70 |
|
---|
71 | <para><application>cairo</application> is not required to build
|
---|
72 | <application>Pango</application>, but it is highly recommended that you
|
---|
73 | install <application>cairo</application> before building
|
---|
74 | <application>Pango</application>. If you don't build
|
---|
75 | <application>Pango</application> with a <application>cairo</application>
|
---|
76 | backend, then <application>GTK+</application>-2 will not build.</para>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect4">Optional (If <application>cairo</application>
|
---|
79 | is Not Installed)</bridgehead>
|
---|
80 | <para role="optional"><xref linkend="x-window-system"/></para>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect4">Optional (To Rebuild the API 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>.</para>
|
---|
114 |
|
---|
115 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
116 |
|
---|
117 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
118 |
|
---|
119 | </sect2>
|
---|
120 |
|
---|
121 | <sect2 role="commands">
|
---|
122 | <title>Command Explanations</title>
|
---|
123 |
|
---|
124 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
125 | configuration files into <filename class="directory">/etc</filename>
|
---|
126 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
127 |
|
---|
128 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
129 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
130 |
|
---|
131 | </sect2>
|
---|
132 |
|
---|
133 | <sect2 role="configuration">
|
---|
134 | <title>Configuring Pango</title>
|
---|
135 |
|
---|
136 | <sect3 id="pango-config">
|
---|
137 | <title>Config Files</title>
|
---|
138 |
|
---|
139 | <para><filename>/etc/pango/pangorc</filename>,
|
---|
140 | <filename>~/.pangorc</filename>, and the file specified in the
|
---|
141 | environment variable <envar>PANGO_RC_FILE</envar></para>
|
---|
142 |
|
---|
143 | <indexterm zone="pango pango-config">
|
---|
144 | <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
---|
145 | </indexterm>
|
---|
146 |
|
---|
147 | <indexterm zone="pango pango-config">
|
---|
148 | <primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
---|
149 | </indexterm>
|
---|
150 |
|
---|
151 | </sect3>
|
---|
152 |
|
---|
153 | <sect3>
|
---|
154 | <title>Configuration Information</title>
|
---|
155 |
|
---|
156 | <para>The <application>Pango</application> module path is specified by
|
---|
157 | the key <userinput><parameter>Pango/ModulesPath</parameter></userinput>
|
---|
158 | in the <application>Pango</application> config database, which is read
|
---|
159 | from the config files listed above.</para>
|
---|
160 |
|
---|
161 | </sect3>
|
---|
162 |
|
---|
163 | </sect2>
|
---|
164 |
|
---|
165 | <sect2 role="content">
|
---|
166 | <title>Contents</title>
|
---|
167 |
|
---|
168 | <segmentedlist>
|
---|
169 | <segtitle>Installed Programs</segtitle>
|
---|
170 | <segtitle>Installed Libraries</segtitle>
|
---|
171 | <segtitle>Installed Directories</segtitle>
|
---|
172 |
|
---|
173 | <seglistitem>
|
---|
174 | <seg>pango-querymodules and pango-view</seg>
|
---|
175 | <seg>libpango*-1.0.so and <application>Pango</application> loadable
|
---|
176 | modules.</seg>
|
---|
177 | <seg>/etc/pango, /usr/include/pango-1.0, /usr/lib/pango, and
|
---|
178 | /usr/share/gtk-doc/html/pango</seg>
|
---|
179 | </seglistitem>
|
---|
180 | </segmentedlist>
|
---|
181 |
|
---|
182 | <variablelist>
|
---|
183 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
184 | <?dbfo list-presentation="list"?>
|
---|
185 | <?dbhtml list-presentation="table"?>
|
---|
186 |
|
---|
187 | <varlistentry id="pango-querymodules">
|
---|
188 | <term><command>pango-querymodules</command></term>
|
---|
189 | <listitem>
|
---|
190 | <para>is a module registration utility that collects
|
---|
191 | information about <application>Pango</application> loadable
|
---|
192 | modules.</para>
|
---|
193 | <indexterm zone="pango pango-querymodules">
|
---|
194 | <primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
---|
195 | </indexterm>
|
---|
196 | </listitem>
|
---|
197 | </varlistentry>
|
---|
198 |
|
---|
199 | <varlistentry id="Pango-libraries">
|
---|
200 | <term>Pango libraries</term>
|
---|
201 | <listitem>
|
---|
202 | <para>contain low level layout rendering routines, a high
|
---|
203 | level driver for laying out entire blocks of text, and routines
|
---|
204 | to assist in editing internationalized text.</para>
|
---|
205 | <indexterm zone="pango Pango-libraries">
|
---|
206 | <primary sortas="c-Pango-libraries">Pango libraries</primary>
|
---|
207 | </indexterm>
|
---|
208 | </listitem>
|
---|
209 | </varlistentry>
|
---|
210 |
|
---|
211 | </variablelist>
|
---|
212 |
|
---|
213 | </sect2>
|
---|
214 |
|
---|
215 | </sect1>
|
---|