source: x/lib/pango.xml@ 2ffe965

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2ffe965 was 2ffe965, checked in by Krejzi <krejzi@…>, 12 years ago

Add some notes about using DESTDIR installation to gtk3, gdk-pixbuf and pango pages.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10329 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.6 KB
Line 
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.30/pango-&pango-version;.tar.xz">
8 <!ENTITY pango-download-ftp "&gnome-download-ftp;/pango/1.30/pango-&pango-version;.tar.xz">
9 <!ENTITY pango-md5sum "ec3c1f236ee9bd4a982a5f46fcaff7b9">
10 <!ENTITY pango-size "1.2 MB">
11 <!ENTITY pango-buildsize "40 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>
33 <application>Pango</application> is a library for laying out and rendering
34 of text, with an emphasis on internationalization. It can be used anywhere
35 that text layout is needed, though most of the work on Pango so far has
36 been done in the context of the GTK+ widget toolkit.
37 </para>
38
39 &lfs71_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>Download (HTTP): <ulink url="&pango-download-http;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download (FTP): <ulink url="&pango-download-ftp;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download MD5 sum: &pango-md5sum;</para>
51 </listitem>
52 <listitem>
53 <para>Download size: &pango-size;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated disk space required: &pango-buildsize;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated build time: &pango-time;</para>
60 </listitem>
61 </itemizedlist>
62
63 <bridgehead renderas="sect3">Pango Dependencies</bridgehead>
64
65 <bridgehead renderas="sect4">Required, one of:</bridgehead>
66 <para role="required">
67 <xref linkend="cairo"/>
68 <xref linkend="freetype2"/> or
69 <xref linkend="xorg7-lib"/>
70 (all 3 are required if you intend to install Gtk+)
71 </para>
72
73 <bridgehead renderas="sect4">Recommended</bridgehead>
74 <para role="recommended">
75 <xref linkend="fontconfig"/>
76 </para>
77
78 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
79 <para role="optional">
80 <xref linkend="gobject-introspection"/>
81 </para>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <xref linkend="gtk-doc"/> and
86 <ulink url="http://linux.thai.net/libthai">LibThai</ulink>
87 </para>
88
89 <para condition="html" role="usernotes">
90 User Notes: <ulink url="&blfs-wiki;/pango"/>
91 </para>
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of Pango</title>
96
97 <para>
98 Install <application>Pango</application> by running the following
99 commands:
100 </para>
101
102<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
103make</userinput></screen>
104
105 <para>
106 To test the results, issue: <command>make check</command>. You can install
107 <xref linkend="gtk-doc"/> if you wish to test the documentation section of
108 the test suite. Also, the <quote>testboundries</quote> test could fail if
109 you have <application>LibThai</application> installed.
110 </para>
111
112 <para>
113 Now, as the <systemitem class="username">root</systemitem> user:
114 </para>
115
116<screen role="root"><userinput>make install</userinput></screen>
117
118 <note>
119 <para>
120 If you installed the package on to your system using a
121 <quote>DESTDIR</quote> method then important file was not installed and
122 must be copied and/or generated. Generate it using the following
123 command as the <systemitem class="username">root</systemitem> user:
124 </para>
125
126<screen role="root"><userinput>pango-querymodules > /etc/pango/pango.modules</userinput></screen>
127 </note>
128 </sect2>
129
130 <sect2 role="commands">
131 <title>Command Explanations</title>
132
133 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
134 href="../../xincludes/gtk-doc-rebuild.xml"/>
135
136 </sect2>
137
138 <sect2 role="configuration">
139 <title>Configuring Pango</title>
140
141 <sect3 id="pango-config">
142 <title>Config Files</title>
143
144 <para>
145 <filename>/etc/pango/pangorc</filename>, <filename>~/.pangorc</filename>
146 and the file specified in the environment variable
147 <envar>PANGO_RC_FILE</envar>
148 </para>
149
150 <indexterm zone="pango pango-config">
151 <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
152 </indexterm>
153
154 <indexterm zone="pango pango-config">
155 <primary sortas="e-AA.pangorc">~/.pangorc</primary>
156 </indexterm>
157 </sect3>
158
159 <sect3>
160 <title>Configuration Information</title>
161
162 <para>
163 The <application>Pango</application> module path is specified by the key
164 <userinput><parameter>Pango/ModulesPath</parameter></userinput> in the
165 <application>Pango</application> config database, which is read from the
166 config files listed above.
167 </para>
168 </sect3>
169 </sect2>
170
171 <sect2 role="content">
172 <title>Contents</title>
173
174 <segmentedlist>
175 <segtitle>Installed Programs</segtitle>
176 <segtitle>Installed Libraries</segtitle>
177 <segtitle>Installed Directories</segtitle>
178
179 <seglistitem>
180 <seg>pango-querymodules and pango-view</seg>
181 <seg>
182 libpango-1.0.so,
183 libpangocairo-1.0.so,
184 libpangoft2-1.0.so,
185 libpangox-1.0.so and
186 libpangoxft-1.0.so
187 </seg>
188 <seg>
189 /etc/pango,
190 /usr/include/pango-1.0,
191 /usr/lib/pango and
192 /usr/share/gtk-doc/html/pango
193 </seg>
194 </seglistitem>
195 </segmentedlist>
196
197 <variablelist>
198 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
199 <?dbfo list-presentation="list"?>
200 <?dbhtml list-presentation="table"?>
201
202 <varlistentry id="pango-querymodules">
203 <term><command>pango-querymodules</command></term>
204 <listitem>
205 <para>
206 is a module registration utility that collects information about
207 <application>Pango</application> loadable modules.
208 </para>
209 <indexterm zone="pango pango-querymodules">
210 <primary sortas="b-pango-querymodules">pango-querymodules</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="pango-view">
216 <term><command>pango-view</command></term>
217 <listitem>
218 <para>
219 renders a given file through <application>Pango</application> for
220 viewing purposes.
221 </para>
222 <indexterm zone="pango pango-view">
223 <primary sortas="b-pango-view">pango-view</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 <varlistentry id="Pango-libraries">
229 <term><filename class="libraryfile">libpango*-1.0.so</filename></term>
230 <listitem>
231 <para>
232 contain low level layout rendering routines, a high level driver for
233 laying out entire blocks of text, and routines to assist in editing
234 internationalized text.
235 </para>
236 <indexterm zone="pango Pango-libraries">
237 <primary sortas="c-Pango-libraries">libpango*-1.0.so</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241 </variablelist>
242 </sect2>
243</sect1>
Note: See TracBrowser for help on using the repository browser.