source: x/lib/pango.xml@ aed37975

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 aed37975 was 1b9e36e, checked in by Ken Moffat <ken@…>, 15 years ago

glib2, pango, atk, gtk+2 : the end of my updates for yesterday.

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

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