mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
87dd670577
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5260 af4574ff-66df-0310-9fd7-8a98e5e911e0
130 lines
4.3 KiB
XML
130 lines
4.3 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY libgsf-download-http "http://ftp.gnome.org/pub/gnome/sources/libgsf/1.12/libgsf-&libgsf-version;.tar.bz2">
|
|
<!ENTITY libgsf-download-ftp "ftp://ftp.gnome.org/pub/gnome/sources/libgsf/1.12/libgsf-&libgsf-version;.tar.bz2">
|
|
<!ENTITY libgsf-md5sum "34b51119d5cbae30be0357ab246e93de">
|
|
<!ENTITY libgsf-size "503 KB">
|
|
<!ENTITY libgsf-buildsize "13.0 MB">
|
|
<!ENTITY libgsf-time "0.3 SBU">
|
|
]>
|
|
|
|
<sect1 id="libgsf" xreflabel="libgsf-&libgsf-version;">
|
|
<?dbhtml filename="libgsf.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>Libgsf-&libgsf-version;</title>
|
|
|
|
<indexterm zone="libgsf">
|
|
<primary sortas="a-Libgsf">Libgsf</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Libgsf</title>
|
|
|
|
<para>The <application>libgsf</application> package contains
|
|
<filename class="libraryfile">libgsf-1</filename> libraries. These are
|
|
useful for providing an extensible input/output abstraction layer for
|
|
structured file formats.</para>
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&libgsf-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&libgsf-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &libgsf-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &libgsf-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &libgsf-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &libgsf-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Required patch: <ulink
|
|
url="&patch-root;/libgsf-&libgsf-version;-gconf_discovery_fix-1.patch"/></para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">Libgsf Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para><xref linkend="glib2"/>,
|
|
<xref linkend="libxml2"/> and
|
|
<xref linkend="perl-xml-parser"/></para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para><xref linkend="gnome-vfs"/> (required for GNOME-2 support) and
|
|
<xref linkend="gtk-doc"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Libgsf</title>
|
|
|
|
<para>Install <application>libgsf</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>patch -Np1 -i ../libgsf-&libgsf-version;-gconf_discovery_fix-1.patch &&
|
|
./configure --prefix=/usr &&
|
|
make</userinput></screen>
|
|
|
|
<para>Running <command>make check</command> will build a battery of test
|
|
programs which are built using the just-created
|
|
<filename class='libraryfile'>libgsf-1</filename> library. All the programs
|
|
should build successfully with no errors displayed.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><option>--sysconfdir=/etc/gnome</option>: Pass this parameter to the
|
|
<command>configure</command> command if you have
|
|
<application>GNOME</application>-2 installed so that the
|
|
<application>GConf</application> schema files are installed
|
|
correctly.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Program</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>gsf-office-thumbnailer</seg>
|
|
<seg>libgsf-1.[so,a] and optionally, libgsf-gnome-1.[so,a]</seg>
|
|
<seg>/usr/include/libgsf-1 and /usr/share/gtk-doc/html/gsf</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|