mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 09:42:12 +08:00
7f8bd51a53
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3197 af4574ff-66df-0310-9fd7-8a98e5e911e0
128 lines
4.6 KiB
XML
128 lines
4.6 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY pango-download-http "http://ftp.gnome.org/pub/GNOME/sources/pango/1.8/pango-&pango-version;.tar.bz2">
|
|
<!ENTITY pango-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/pango/1.8/pango-&pango-version;.tar.bz2">
|
|
<!ENTITY pango-md5sum "d11f9857df7216321163e14d66d0cab8">
|
|
<!ENTITY pango-size "957 KB">
|
|
<!ENTITY pango-buildsize "22 MB">
|
|
<!ENTITY pango-time "0.39 SBU">
|
|
]>
|
|
|
|
<sect1 id="pango" xreflabel="Pango-&pango-version;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="pango.html" ?>
|
|
<title>Pango-&pango-version;</title>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application>Pango</application></title>
|
|
|
|
<para>The <application>Pango</application> package contains the
|
|
<filename class="libraryfile">libpango</filename> library. This is useful for
|
|
the layout and rendering of text.</para>
|
|
|
|
<sect3><title>Package information</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Download (HTTP): <ulink url="&pango-download-http;"/></para></listitem>
|
|
<listitem><para>Download (FTP): <ulink url="&pango-download-ftp;"/></para></listitem>
|
|
<listitem><para>Download MD5 sum: &pango-md5sum;</para></listitem>
|
|
<listitem><para>Download size: &pango-size;</para></listitem>
|
|
<listitem><para>Estimated disk space required: &pango-buildsize;</para></listitem>
|
|
<listitem><para>Estimated build time: &pango-time;</para></listitem></itemizedlist>
|
|
</sect3>
|
|
|
|
<sect3><title><application>Pango</application> dependencies</title>
|
|
<sect4><title>Required</title>
|
|
<para><xref linkend="glib2"/></para></sect4>
|
|
<sect4><title>Optional</title>
|
|
<para>
|
|
<ulink url="http://freedesktop.org/~fontconfig/release/">Xft</ulink>
|
|
(included in <xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
|
<xref linkend="fontconfig"/> and <xref linkend="gtk-doc"/>
|
|
</para></sect4>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application>Pango</application></title>
|
|
|
|
<para>In order for <application>Pango</application> to find
|
|
<application>Xft</application>, the <envar>PKG_CONFIG_PATH</envar> must
|
|
include <filename class="directory">/usr/X11R6/lib/pkgconfig</filename>.
|
|
This is a good time to add it if you haven't already. You can utilize the
|
|
example for <filename>X.sh</filename> to create a script for modifying this
|
|
variable located in the section <xref linkend="postlfs-config-profile"/>.
|
|
</para>
|
|
|
|
<para>Install <application>Pango</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &&
|
|
make &&
|
|
make install</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
|
configuration files into <filename class="directory">/etc</filename>
|
|
instead of <filename class="directory">/usr/etc</filename>.</para>
|
|
|
|
<para><option>--enable-gtk-doc</option>: This switch will rebuild
|
|
the <acronym>API</acronym> documentation during the
|
|
<command>make</command> command.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Configuring <application>Pango</application></title>
|
|
|
|
<sect3><title>Config files</title>
|
|
<para><filename>/etc/pango/pangorc</filename>,
|
|
<filename>~/.pangorc</filename> and the file specified in the
|
|
environment variable <envar>PANGO_RC_FILE</envar></para>
|
|
</sect3>
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
<para>The <application>Pango</application> module path is specified by the key
|
|
<userinput><parameter>Pango/ModulesPath</parameter></userinput> in the
|
|
<application>Pango</application> config database, which is read from the
|
|
config files listed above.</para></sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<para>The <application>Pango</application> package contains
|
|
<command>pango-querymodules</command>,
|
|
<filename class="libraryfile">libpango</filename> libraries and
|
|
<application>Pango</application> loadable modules.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
<sect3><title>pango-querymodules</title>
|
|
<para><command>pango-querymodules</command> is a module registration utility
|
|
that collects information about <application>Pango</application> loadable
|
|
modules</para></sect3>
|
|
|
|
<sect3><title>Pango libraries</title>
|
|
<para><application>Pango</application> libraries contain low level layout
|
|
rendering routines, a high level driver for laying out entire blocks of text,
|
|
and routines to assist in editing internationalized text.</para></sect3>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|