pango-1.30.1

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10287 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Andrew Benton 2012-06-09 23:38:04 +00:00
parent 23f4a9a43e
commit b83d28905a
3 changed files with 77 additions and 69 deletions

View File

@ -657,7 +657,7 @@ $Date$
<!ENTITY libxklavier-version "5.2.1">
<!ENTITY mx-version "1.4.5">
<!ENTITY notification-daemon-version "0.7.4">
<!ENTITY pango-version "1.30.0">
<!ENTITY pango-version "1.30.1">
<!ENTITY pangomm-version "2.28.4">
<!-- <!ENTITY qt-version "3.3.8d"> -->
<!ENTITY qt4-version "4.8.1">

View File

@ -6,10 +6,10 @@
<!ENTITY pango-download-http "&gnome-download-http;/pango/1.30/pango-&pango-version;.tar.xz">
<!ENTITY pango-download-ftp "&gnome-download-ftp;/pango/1.30/pango-&pango-version;.tar.xz">
<!ENTITY pango-md5sum "2a70627ffd9f43c52c04cc0b05fe359f">
<!ENTITY pango-size "1.1 MB">
<!ENTITY pango-buildsize "36 MB">
<!ENTITY pango-time "0.4 SBU">
<!ENTITY pango-md5sum "ec3c1f236ee9bd4a982a5f46fcaff7b9">
<!ENTITY pango-size "1.2 MB">
<!ENTITY pango-buildsize "40 MB">
<!ENTITY pango-time "0.5 SBU">
]>
<sect1 id="pango" xreflabel="Pango-&pango-version;">
@ -29,11 +29,12 @@
<sect2 role="package">
<title>Introduction to Pango</title>
<para><application>Pango</application> is a library for laying out
and rendering of text, with an emphasis on internationalization.
It can be used anywhere that text layout is needed, though most
of the work on Pango so far has been done in the context of the GTK+
widget toolkit.</para>
<para>
<application>Pango</application> is a library for laying out and rendering
of text, with an emphasis on internationalization. It can be used anywhere
that text layout is needed, though most of the work on Pango so far has
been done in the context of the GTK+ widget toolkit.
</para>
&lfs71_checked;
@ -61,18 +62,17 @@
<bridgehead renderas="sect3">Pango Dependencies</bridgehead>
<!-- I don't see any use of pango except for GTK+, so make
cairo, fontconfig, and xorg libraries dependency. -->
<bridgehead renderas="sect4">Required</bridgehead>
<bridgehead renderas="sect4">Required, one of:</bridgehead>
<para role="required">
<xref linkend="cairo"/>
<xref linkend="freetype2"/> or
<xref linkend="xorg7-lib"/>
(all 3 are required if you intend to install Gtk+)
</para>
<bridgehead renderas="sect4">Recommended (Required if building GTK+)</bridgehead>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="fontconfig"/> and
<xref linkend="xorg7-lib"/>
<xref linkend="fontconfig"/>
</para>
<bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
@ -86,31 +86,34 @@
<ulink url="http://linux.thai.net/libthai">LibThai</ulink>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/pango"/></para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/pango"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Pango</title>
<para>Install <application>Pango</application> by running the following
commands:</para>
<para>
Install <application>Pango</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>. You can
install <xref linkend="gtk-doc"/> if you wish to test the documentation
section of the test suite. Also, the <quote>testboundries</quote> test
could fail if you have <application>LibThai</application> installed.
<para>
To test the results, issue: <command>make check</command>. You can install
<xref linkend="gtk-doc"/> if you wish to test the documentation section of
the test suite. Also, the <quote>testboundries</quote> test could fail if
you have <application>LibThai</application> installed.
</para>
<para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
@ -118,7 +121,6 @@ make</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/gtk-doc-rebuild.xml"/>
</sect2>
<sect2 role="configuration">
@ -127,9 +129,11 @@ make</userinput></screen>
<sect3 id="pango-config">
<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>
<para>
<filename>/etc/pango/pangorc</filename>, <filename>~/.pangorc</filename>
and the file specified in the environment variable
<envar>PANGO_RC_FILE</envar>
</para>
<indexterm zone="pango pango-config">
<primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
@ -138,19 +142,18 @@ make</userinput></screen>
<indexterm zone="pango pango-config">
<primary sortas="e-AA.pangorc">~/.pangorc</primary>
</indexterm>
</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>
<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 role="content">
@ -162,15 +165,18 @@ make</userinput></screen>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>pango-querymodules and pango-view</seg>
<seg>
pango-querymodules and pango-view
libpango-1.0.so,
libpangocairo-1.0.so,
libpangoft2-1.0.so,
libpangox-1.0.so and
libpangoxft-1.0.so
</seg>
<seg>
libpango-1.0.so, libpangocairo-1.0.so, libpangoft2-1.0.so,
libpangox-1.0.so, libpangoxft-1.0.so
</seg>
<seg>
/etc/pango, /usr/include/pango-1.0, /usr/lib/pango and
/etc/pango,
/usr/include/pango-1.0,
/usr/lib/pango and
/usr/share/gtk-doc/html/pango
</seg>
</seglistitem>
@ -184,9 +190,10 @@ make</userinput></screen>
<varlistentry id="pango-querymodules">
<term><command>pango-querymodules</command></term>
<listitem>
<para>is a module registration utility that collects
information about <application>Pango</application> loadable
modules.</para>
<para>
is a module registration utility that collects information about
<application>Pango</application> loadable modules.
</para>
<indexterm zone="pango pango-querymodules">
<primary sortas="b-pango-querymodules">pango-querymodules</primary>
</indexterm>
@ -196,8 +203,10 @@ make</userinput></screen>
<varlistentry id="pango-view">
<term><command>pango-view</command></term>
<listitem>
<para>renders a given file through <application>Pango</application>
for viewing purposes.</para>
<para>
renders a given file through <application>Pango</application> for
viewing purposes.
</para>
<indexterm zone="pango pango-view">
<primary sortas="b-pango-view">pango-view</primary>
</indexterm>
@ -207,17 +216,16 @@ make</userinput></screen>
<varlistentry id="Pango-libraries">
<term><filename class="libraryfile">libpango*-1.0.so</filename></term>
<listitem>
<para>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>
<para>
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>
<indexterm zone="pango Pango-libraries">
<primary sortas="c-Pango-libraries">libpango*-1.0.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -11,7 +11,7 @@
<!ENTITY seamonkey-md5sum "c2c41a12107a67e5eedef06d50e26c56">
<!ENTITY seamonkey-size "99 MB">
<!ENTITY seamonkey-buildsize "1.1 GB (45 MB installed)">
<!ENTITY seamonkey-time "26.6 SBU">
<!ENTITY seamonkey-time "27 SBU">
]>
<sect1 id="seamonkey" xreflabel="SeaMonkey-&seamonkey-version;">
@ -105,7 +105,7 @@
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="yasm"/> or <xref linkend="libvpx"/>
(to allow <application>Seamonkey</application> to play webm videos).
(to allow <application>SeaMonkey</application> to play webm videos).
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
@ -221,12 +221,12 @@ mkdir -pv /usr/lib/mozilla/plugins &amp;&amp;
ln -sfv ../mozilla/plugins /usr/lib/seamonkey-&seamonkey-version; &amp;&amp;
cp -v moz-build-dir/mozilla/dist/man/man1/seamonkey.1 /usr/share/man/man1</userinput></screen>
<bridgehead renderas="sect3" id="npapi-seamonkey" xreflabel="Seamonkey">
<bridgehead renderas="sect3" id="npapi-seamonkey" xreflabel="SeaMonkey">
NPAPI Headers
</bridgehead>
<para>
The above instructions just install the parts you need to run
<application>Seamonkey</application>. If you want to compile
<application>SeaMonkey</application>. If you want to compile
<xref linkend="gnash"/>, the open source version of Flash, copy some
headers that Gnash needs into /usr/include, as the
<systemitem class="username">root</systemitem> user:
@ -236,11 +236,11 @@ cp -v moz-build-dir/mozilla/dist/man/man1/seamonkey.1 /usr/share/man/man1</useri
mkdir -v /usr/include/npapi &amp;&amp;
cp -v mozilla/dom/plugins/base/*.h /usr/include/npapi</userinput></screen>
<bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="Seamonkey">
<bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="SeaMonkey">
All the Development Libraries and Headers
</bridgehead>
<para>
If you want to install the full <application>Seamonkey</application>
If you want to install the full <application>SeaMonkey</application>
development environment, as the
<systemitem class="username">root</systemitem> user:
</para>
@ -255,7 +255,7 @@ cp -v mozilla/dom/plugins/base/*.h /usr/include/npapi</userinput></screen>
<command>patch -p1 &lt;
../seamonkey-&seamonkey-version;-package-manifest-1.diff</command>: This
patch fixes the installer so it can cope with the situation where
Seamonkey was configured with --enable-system-sqlite, --with-system-nspr,
SeaMonkey was configured with --enable-system-sqlite, --with-system-nspr,
--with-system-nss and --disable-updater.
</para>
@ -269,14 +269,14 @@ cp -v mozilla/dom/plugins/base/*.h /usr/include/npapi</userinput></screen>
<para>
<command>make -C moz-build-dir/suite/installer</command>: this creates a
tarball of the finished <application>Seamonkey</application>.
tarball of the finished <application>SeaMonkey</application>.
</para>
<para>
<command>tar xf
moz-build-dir/mozilla/dist/seamonkey-&seamonkey-version;.en-US.linux-$(uname -m).tar.bz2
-C /usr/lib/seamonkey-&seamonkey-version; --strip-components=1</command>:
this untars <application>Seamonkey</application> into
this untars <application>SeaMonkey</application> into
/usr/lib/seamonkey-&seamonkey-version;.
</para>
@ -294,7 +294,7 @@ cp -v mozilla/dom/plugins/base/*.h /usr/include/npapi</userinput></screen>
<para>
If you deleted the <option>--disable-webm</option> option from your
<filename>mozconfig</filename>, your <application>Seamonkey</application>
<filename>mozconfig</filename>, your <application>SeaMonkey</application>
can play most youtube videos without the need for the flash plugin. To
enable this, go to <ulink url="http://www.youtube.com/html5"/> and click
on 'Join the HTML5 Trial' (needs cookies enabled).
@ -338,7 +338,7 @@ cp -v mozilla/dom/plugins/base/*.h /usr/include/npapi</userinput></screen>
If you use a desktop environment like <application>Gnome</application> or
<application>KDE</application> you may wish to create a
<filename>seamonkey.desktop</filename> file so that
<application>Seamonkey</application> appears in the panel's menus. If you
<application>SeaMonkey</application> appears in the panel's menus. If you
didn't enable <application>Startup-Notification</application> in your
mozconfig change the StartupNotify line to false. As the
<systemitem class="username">root</systemitem> user:
@ -349,7 +349,7 @@ cat &gt; /usr/share/applications/seamonkey.desktop &lt;&lt; "EOF" &amp;&amp;
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Seamonkey
Name=SeaMonkey
Comment=The Mozilla Suite
Icon=seamonkey
Exec=seamonkey