glfs/general/genlib/libgsf.xml
2023-12-06 15:23:01 +01:00

219 lines
6.1 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libgsf-download-http "&gnome-download-http;/libgsf/1.14/libgsf-&libgsf-version;.tar.xz">
<!ENTITY libgsf-download-ftp " ">
<!ENTITY libgsf-md5sum "55301f17247932325c6ff572e1d70f35">
<!ENTITY libgsf-size "692 KB">
<!ENTITY libgsf-buildsize "16 MB (with tests)">
<!ENTITY libgsf-time "0.3 SBU (with tests)">
]>
<sect1 id="libgsf" xreflabel="libgsf-&libgsf-version;">
<?dbhtml filename="libgsf.html"?>
<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 a library
used for providing an extensible input/output abstraction layer for
structured file formats.
</para>
&lfs120_checked;
<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">libgsf Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="glib2"/> and
<xref linkend="libxml2"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="gdk-pixbuf"/>
(To build <command>gsf-office-thumbnailer</command>)
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="gobject-introspection"/> and
<xref linkend="gtk-doc"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of libgsf</title>
<para>
Fix building <application>libgsf</application> against
<application>libxml-2.12.x</application>:
</para>
<screen><userinput>sed -e '/tree\.h/i #include &lt;libxml/parser.h&gt;' \
-i gsf/gsf-libxml.h</userinput></screen>
<para>
Install <application>libgsf</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>. Two
tests, t1004-zip-zip64.pl and t1005-zip-nonseekable.pl are
known to fail.
</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>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/gtk-doc-rebuild.xml"/>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
gsf, gsf-office-thumbnailer, and gsf-vba-dump
</seg>
<seg>
libgsf-1.so
</seg>
<seg>
/usr/include/libgsf-1,
/usr/share/gtk-doc/html/gsf and
/usr/share/thumbnailers
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="gsf">
<term><command>gsf</command></term>
<listitem>
<para>
is a simple archive utility, somewhat similar to tar(1)
</para>
<indexterm zone="libgsf gsf">
<primary sortas="b-gsf">gsf</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="gsf-office-thumbnailer">
<term><command>gsf-office-thumbnailer</command></term>
<listitem>
<para>
is used internally by <application>GNOME</application> applications
such as <application>Nautilus</application> to generate
thumbnails of several types of office application files
</para>
<indexterm zone="libgsf gsf-office-thumbnailer">
<primary sortas="b-gsf-office-thumbnailer">gsf-office-thumbnailer</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="gsf-vba-dump">
<term><command>gsf-vba-dump</command></term>
<listitem>
<para>
is used to extract Visual Basic for Applications macros from files
</para>
<indexterm zone="libgsf gsf-vba-dump">
<primary sortas="b-gsf-vba-dump">gsf-vba-dump</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libgsf-1">
<term><filename class="libraryfile">libgsf-1.so</filename></term>
<listitem>
<para>
contains the <application>libgsf</application> API functions
</para>
<indexterm zone="libgsf libgsf-1">
<primary sortas="c-libgsf-1">libgsf-1.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>