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 "http://ftp.gnome.org/pub/GNOME/sources/pango/1.8/pango-&pango-version;.tar.bz2">
|
---|
8 | <!ENTITY pango-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/pango/1.8/pango-&pango-version;.tar.bz2">
|
---|
9 | <!ENTITY pango-md5sum "88aa6bf1876766db6864f3b93577887c">
|
---|
10 | <!ENTITY pango-size "996 KB">
|
---|
11 | <!ENTITY pango-buildsize "22 MB">
|
---|
12 | <!ENTITY pango-time "0.56 SBU (includes rebuilding the documentation)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="pango" xreflabel="Pango-&pango-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="pango.html" ?>
|
---|
21 | <title>Pango-&pango-version;</title>
|
---|
22 | <indexterm zone="pango">
|
---|
23 | <primary sortas="a-Pango">Pango</primary></indexterm>
|
---|
24 |
|
---|
25 | <sect2>
|
---|
26 | <title>Introduction to <application>Pango</application></title>
|
---|
27 |
|
---|
28 | <para>The <application>Pango</application> package contains the
|
---|
29 | <filename class="libraryfile">libpango</filename> libraries. These are useful
|
---|
30 | for the layout and rendering of text.</para>
|
---|
31 |
|
---|
32 | <sect3><title>Package information</title>
|
---|
33 | <itemizedlist spacing='compact'>
|
---|
34 | <listitem><para>Download (HTTP):
|
---|
35 | <ulink url="&pango-download-http;"/></para></listitem>
|
---|
36 | <listitem><para>Download (FTP):
|
---|
37 | <ulink url="&pango-download-ftp;"/></para></listitem>
|
---|
38 | <listitem><para>Download MD5 sum: &pango-md5sum;</para></listitem>
|
---|
39 | <listitem><para>Download size: &pango-size;</para></listitem>
|
---|
40 | <listitem><para>Estimated disk space required:
|
---|
41 | &pango-buildsize;</para></listitem>
|
---|
42 | <listitem><para>Estimated build time:
|
---|
43 | &pango-time;</para></listitem></itemizedlist>
|
---|
44 | </sect3>
|
---|
45 |
|
---|
46 | <sect3><title><application>Pango</application> dependencies</title>
|
---|
47 | <sect4><title>Required</title>
|
---|
48 | <para><xref linkend="glib2"/></para>
|
---|
49 | </sect4>
|
---|
50 |
|
---|
51 | <sect4><title>Optional</title>
|
---|
52 | <para><ulink url="http://freedesktop.org/~fontconfig/release/">Xft</ulink>
|
---|
53 | (included in <xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
54 | <xref linkend="fontconfig"/> and <xref linkend="gtk-doc"/></para>
|
---|
55 | </sect4>
|
---|
56 | </sect3>
|
---|
57 |
|
---|
58 | </sect2>
|
---|
59 |
|
---|
60 | <sect2>
|
---|
61 | <title>Installation of <application>Pango</application></title>
|
---|
62 |
|
---|
63 | <para>In order for <application>Pango</application> to find
|
---|
64 | <application>Xft</application>, the <envar>PKG_CONFIG_PATH</envar> must
|
---|
65 | include <filename class="directory">/usr/X11R6/lib/pkgconfig</filename>.
|
---|
66 | This is a good time to add it if you haven't already. You can utilize the
|
---|
67 | example for <filename>X.sh</filename> to create a script for modifying this
|
---|
68 | variable located in the section <xref linkend="postlfs-config-profile"/>.
|
---|
69 | </para>
|
---|
70 |
|
---|
71 | <para>Install <application>Pango</application> by running the following
|
---|
72 | commands:</para>
|
---|
73 |
|
---|
74 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
75 | make</command></userinput></screen>
|
---|
76 |
|
---|
77 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
78 |
|
---|
79 | <para>Now, as the root user:</para>
|
---|
80 |
|
---|
81 | <screen><userinput role="root"><command>make install</command></userinput></screen>
|
---|
82 |
|
---|
83 | </sect2>
|
---|
84 |
|
---|
85 | <sect2>
|
---|
86 | <title>Command explanations</title>
|
---|
87 |
|
---|
88 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
89 | configuration files into <filename class="directory">/etc</filename>
|
---|
90 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
91 |
|
---|
92 | <para><option>--enable-gtk-doc</option>: This switch will rebuild
|
---|
93 | the <acronym>API</acronym> documentation during the
|
---|
94 | <command>make</command> command.</para>
|
---|
95 |
|
---|
96 | </sect2>
|
---|
97 |
|
---|
98 | <sect2>
|
---|
99 | <title>Configuring <application>Pango</application></title>
|
---|
100 |
|
---|
101 | <sect3 id="pango-config"><title>Config files</title>
|
---|
102 | <para><filename>/etc/pango/pangorc</filename>,
|
---|
103 | <filename>~/.pangorc</filename> and the file specified in the
|
---|
104 | environment variable <envar>PANGO_RC_FILE</envar></para>
|
---|
105 |
|
---|
106 | <indexterm zone="pango pango-config">
|
---|
107 | <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
---|
108 | </indexterm>
|
---|
109 |
|
---|
110 | <indexterm zone="pango pango-config">
|
---|
111 | <primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
---|
112 | </indexterm>
|
---|
113 |
|
---|
114 | </sect3>
|
---|
115 |
|
---|
116 | <sect3><title>Configuration Information</title>
|
---|
117 | <para>The <application>Pango</application> module path is specified by the key
|
---|
118 | <userinput><parameter>Pango/ModulesPath</parameter></userinput> in the
|
---|
119 | <application>Pango</application> config database, which is read from the
|
---|
120 | config files listed above.</para></sect3>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | <sect2>
|
---|
125 | <title>Contents</title>
|
---|
126 |
|
---|
127 | <segmentedlist>
|
---|
128 | <segtitle>Installed Program</segtitle>
|
---|
129 | <segtitle>Installed Libraries</segtitle>
|
---|
130 | <segtitle>Installed Directories</segtitle>
|
---|
131 | <seglistitem>
|
---|
132 | <seg>pango-querymodules</seg>
|
---|
133 | <seg>libpango*.so and <application>Pango</application> loadable
|
---|
134 | modules.</seg>
|
---|
135 | <seg>/etc/pango, /usr/include/pango-1.0, /usr/lib/pango and
|
---|
136 | /usr/share/gtk-doc/html/pango</seg>
|
---|
137 | </seglistitem>
|
---|
138 | </segmentedlist>
|
---|
139 |
|
---|
140 | <variablelist>
|
---|
141 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
142 | <?dbfo list-presentation="list"?>
|
---|
143 |
|
---|
144 | <varlistentry id="pango-querymodules">
|
---|
145 | <term><command>pango-querymodules</command></term>
|
---|
146 | <listitem><para>is a module registration utility that collects
|
---|
147 | information about <application>Pango</application> loadable
|
---|
148 | modules.</para>
|
---|
149 | <indexterm zone="pango pango-querymodules">
|
---|
150 | <primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
---|
151 | </indexterm>
|
---|
152 | </listitem>
|
---|
153 | </varlistentry>
|
---|
154 |
|
---|
155 | <varlistentry id="Pango-libraries">
|
---|
156 | <term>Pango libraries</term>
|
---|
157 | <listitem><para>contain low level layout rendering routines, a high
|
---|
158 | level driver for laying out entire blocks of text, and routines
|
---|
159 | to assist in editing internationalized text.</para>
|
---|
160 | <indexterm zone="pango Pango-libraries">
|
---|
161 | <primary sortas="c-Pango-libraries">Pango libraries</primary></indexterm>
|
---|
162 | </listitem>
|
---|
163 | </varlistentry>
|
---|
164 |
|
---|
165 | </variablelist>
|
---|
166 |
|
---|
167 | </sect2>
|
---|
168 |
|
---|
169 | </sect1>
|
---|