source: x/lib/pango.xml@ 8e4e046

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 8e4e046 was 8e4e046, checked in by Guy Dalziel <gdalziel@…>, 15 years ago

Updated to Pango-1.26.0.

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

  • Property mode set to 100644
File size: 8.2 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.26/pango-&pango-version;.tar.bz2">
8 <!--<!ENTITY pango-download-ftp "&gentoo-ftp-repo;/pango-&pango-version;.tar.bz2">-->
9 <!ENTITY pango-download-ftp " ">
10 <!ENTITY pango-md5sum "74ce18cfcc3ad0008a6ad56cfc535061">
11 <!ENTITY pango-size "1.5 MB">
12 <!ENTITY pango-buildsize "30 MB">
13 <!ENTITY pango-time "0.4 SBU">
14]>
15
16<sect1 id="pango" xreflabel="Pango-&pango-version;">
17 <?dbhtml filename="pango.html" ?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Pango-&pango-version;</title>
25
26 <indexterm zone="pango">
27 <primary sortas="a-Pango">Pango</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Pango</title>
32
33 <para>The <application>Pango</application> package contains the
34 <filename class="libraryfile">libpango</filename> libraries. These are
35 useful for the layout and rendering of text.</para>
36
37 &lfs65_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&pango-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&pango-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &pango-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &pango-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &pango-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &pango-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">Pango Dependencies</bridgehead>
62
63 <bridgehead renderas="sect4">Required</bridgehead>
64 <para role="required"><xref linkend="glib2"/> and one of
65 <xref linkend="cairo"/> or
66 <xref linkend="x-window-system"/> or
67 <xref linkend="fontconfig"/></para>
68
69 <para><application>cairo</application> is not required to build
70 <application>Pango</application>, but it is highly recommended that you
71 install <application>cairo</application> before building
72 <application>Pango</application>. If you don't build
73 <application>Pango</application> with a <application>cairo</application>
74 backend, then <application>GTK+</application>-2 will not build.</para>
75
76 <bridgehead renderas="sect4">Optional</bridgehead>
77 <para role="optional"><ulink
78 url="http://linux.thai.net/libthai">LibThai</ulink></para>
79
80 <bridgehead renderas="sect4">Optional (If <application>cairo</application>
81 is Not Installed)</bridgehead>
82 <para role="optional"><xref linkend="x-window-system"/></para>
83
84 <bridgehead renderas="sect4">Optional (To Rebuild the API
85 Documentation)</bridgehead>
86 <para role="optional"><xref linkend="gtk-doc"/></para>
87
88 <para condition="html" role="usernotes">User Notes:
89 <ulink url="&blfs-wiki;/pango"/></para>
90
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of Pango</title>
95
96 <!-- Commenting this out for now as Xorg7 default installation patch
97 is /usr, so the note doesn't apply. Furthermore, instructions to
98 do this are already in the book in the X section
99
100 <para>In order for <application>Pango</application> to find
101 <application>Xft</application>, <envar>PKG_CONFIG_PATH</envar> must
102 include <filename class="directory">/usr/X11R6/lib/pkgconfig</filename>.
103 This is a good time to add it if you haven't already. You can utilize
104 the example for <filename>X.sh</filename> to create a script for
105 modifying this variable located in the section
106 <xref linkend="postlfs-config-profile"/>.</para>
107
108 -->
109
110 <para>Install <application>Pango</application> by running the following
111 commands:</para>
112
113<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
114make</userinput></screen>
115
116 <para>To test the results, issue: <command>make check</command>. You can
117 install <xref linkend="gtk-doc"/> if you wish to test the documentation
118 section of the testsuite. Also, the <quote>testboundries</quote> test
119 could fail if you have <application>LibThai</application> installed.
120 </para>
121
122 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
123
124<screen role="root"><userinput>make install</userinput></screen>
125
126 </sect2>
127
128 <sect2 role="commands">
129 <title>Command Explanations</title>
130
131 <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
132 configuration files into <filename class="directory">/etc</filename>
133 instead of <filename class="directory">/usr/etc</filename>.</para>
134
135 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
136 href="../../xincludes/gtk-doc-rebuild.xml"/>
137
138 <para><parameter>--disable-static</parameter>: This switch prevents the
139 static libraries from being built.</para>
140
141 </sect2>
142
143 <sect2 role="configuration">
144 <title>Configuring Pango</title>
145
146 <sect3 id="pango-config">
147 <title>Config Files</title>
148
149 <para><filename>/etc/pango/pangorc</filename>,
150 <filename>~/.pangorc</filename>, and the file specified in the
151 environment variable <envar>PANGO_RC_FILE</envar></para>
152
153 <indexterm zone="pango pango-config">
154 <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
155 </indexterm>
156
157 <indexterm zone="pango pango-config">
158 <primary sortas="e-AA.pangorc">~/.pangorc</primary>
159 </indexterm>
160
161 </sect3>
162
163 <sect3>
164 <title>Configuration Information</title>
165
166 <para>The <application>Pango</application> module path is specified by
167 the key <userinput><parameter>Pango/ModulesPath</parameter></userinput>
168 in the <application>Pango</application> config database, which is read
169 from the config files listed above.</para>
170
171 </sect3>
172
173 </sect2>
174
175 <sect2 role="content">
176 <title>Contents</title>
177
178 <segmentedlist>
179 <segtitle>Installed Programs</segtitle>
180 <segtitle>Installed Libraries</segtitle>
181 <segtitle>Installed Directories</segtitle>
182
183 <seglistitem>
184 <seg>pango-querymodules and pango-view</seg>
185 <seg>libpango*-1.0.so and <application>Pango</application> loadable
186 modules.</seg>
187 <seg>/etc/pango, /usr/include/pango-1.0, /usr/lib/pango, and
188 /usr/share/gtk-doc/html/pango</seg>
189 </seglistitem>
190 </segmentedlist>
191
192 <variablelist>
193 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
194 <?dbfo list-presentation="list"?>
195 <?dbhtml list-presentation="table"?>
196
197 <varlistentry id="pango-querymodules">
198 <term><command>pango-querymodules</command></term>
199 <listitem>
200 <para>is a module registration utility that collects
201 information about <application>Pango</application> loadable
202 modules.</para>
203 <indexterm zone="pango pango-querymodules">
204 <primary sortas="b-pango-querymodules">pango-querymodules</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 <varlistentry id="pango-view">
210 <term><command>pango-view</command></term>
211 <listitem>
212 <para>renders a given file through <application>Pango</application>
213 for viewing purposes.</para>
214 <indexterm zone="pango pango-view">
215 <primary sortas="b-pango-view">pango-view</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 <varlistentry id="Pango-libraries">
221 <term><filename class="libraryfile">libpango*-1.0.so</filename></term>
222 <listitem>
223 <para>contain low level layout rendering routines, a high
224 level driver for laying out entire blocks of text, and routines
225 to assist in editing internationalized text.</para>
226 <indexterm zone="pango Pango-libraries">
227 <primary sortas="c-Pango-libraries">libpango*-1.0.so</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 </variablelist>
233
234 </sect2>
235
236</sect1>
Note: See TracBrowser for help on using the repository browser.