[fdca4266] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[fdca4266] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[9a9d5a8c] | 7 | <!ENTITY libgsf-download-http "&gnome-download-http;/libgsf/1.14/libgsf-&libgsf-version;.tar.bz2">
|
---|
| 8 | <!ENTITY libgsf-download-ftp "&gnome-download-ftp;/libgsf/1.14/libgsf-&libgsf-version;.tar.bz2">
|
---|
[be7d50e] | 9 | <!ENTITY libgsf-md5sum "2d09ad4e61a650b5d554b5fca8250046">
|
---|
| 10 | <!ENTITY libgsf-size "579 KB">
|
---|
| 11 | <!ENTITY libgsf-buildsize "20 MB">
|
---|
| 12 | <!ENTITY libgsf-time "0.4 SBU">
|
---|
[fdca4266] | 13 | ]>
|
---|
| 14 |
|
---|
[c9f69f81] | 15 | <sect1 id="libgsf" xreflabel="libgsf-&libgsf-version;">
|
---|
[feb2027] | 16 | <?dbhtml filename="libgsf.html"?>
|
---|
[4e82a189] | 17 |
|
---|
[feb2027] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[4e82a189] | 22 |
|
---|
[9258bef] | 23 | <title>libgsf-&libgsf-version;</title>
|
---|
[4e82a189] | 24 |
|
---|
[feb2027] | 25 | <indexterm zone="libgsf">
|
---|
| 26 | <primary sortas="a-Libgsf">Libgsf</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[9258bef] | 30 | <title>Introduction to libgsf</title>
|
---|
[4e82a189] | 31 |
|
---|
| 32 | <para>The <application>libgsf</application> package contains
|
---|
[cd0cae38] | 33 | <filename class="libraryfile">libgsf-1</filename> libraries. These are
|
---|
| 34 | useful for providing an extensible input/output abstraction layer for
|
---|
| 35 | structured file formats.</para>
|
---|
[4e82a189] | 36 |
|
---|
[04fa30a] | 37 | &lfs67_checked;
|
---|
| 38 |
|
---|
[feb2027] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&libgsf-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&libgsf-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &libgsf-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &libgsf-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &libgsf-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &libgsf-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
[4e82a189] | 60 |
|
---|
[9258bef] | 61 | <bridgehead renderas="sect3">libgsf Dependencies</bridgehead>
|
---|
[4e82a189] | 62 |
|
---|
[feb2027] | 63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4f26c54] | 64 | <para role="required"><xref linkend="glib2"/>,
|
---|
[9258bef] | 65 | <xref linkend="libxml2"/>, and
|
---|
[cd0cae38] | 66 | <xref linkend="perl-xml-parser"/></para>
|
---|
[4e82a189] | 67 |
|
---|
[feb2027] | 68 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[99eec2a] | 69 | <para role="optional"><xref linkend="python"/>,
|
---|
| 70 | <xref linkend="pygtk"/>,
|
---|
[68efe1db] | 71 | <xref linkend="GConf"/> (required to build the
|
---|
[9258bef] | 72 | <command>gsf-office-thumbnailer</command> program),
|
---|
[68efe1db] | 73 | <xref linkend="gnome-vfs"/> and <xref linkend="libbonobo"/> (required to
|
---|
| 74 | build the <filename class='libraryfile'>libgsf-gnome-1.so</filename>
|
---|
[cae61ec] | 75 | library which provides GNOME-2 support), and
|
---|
| 76 | <xref linkend="gtk-doc"/></para>
|
---|
| 77 |
|
---|
[3b37f7e8] | 78 | <para>Note: you should build the
|
---|
[cae61ec] | 79 | <filename class='libraryfile'>libgsf-gnome-1.so</filename> library if you
|
---|
[3b37f7e8] | 80 | plan on building <xref linkend="gnucash"/> or
|
---|
| 81 | <xref linkend="gnumeric"/> with GNOME support.</para>
|
---|
[feb2027] | 82 |
|
---|
[1039de3] | 83 | <para condition="html" role="usernotes">User Notes:
|
---|
| 84 | <ulink url="&blfs-wiki;/libgsf"/></para>
|
---|
| 85 |
|
---|
[feb2027] | 86 | </sect2>
|
---|
[4e82a189] | 87 |
|
---|
[feb2027] | 88 | <sect2 role="installation">
|
---|
[9258bef] | 89 | <title>Installation of libgsf</title>
|
---|
[feb2027] | 90 |
|
---|
[4e82a189] | 91 | <para>Install <application>libgsf</application> by running the following
|
---|
[feb2027] | 92 | commands:</para>
|
---|
| 93 |
|
---|
[99eec2a] | 94 | <screen><userinput>./configure --prefix=/usr --without-python &&
|
---|
[feb2027] | 95 | make</userinput></screen>
|
---|
[4e82a189] | 96 |
|
---|
[cd0cae38] | 97 | <para>Running <command>make check</command> will build a battery of test
|
---|
| 98 | programs which are built using the just-created
|
---|
| 99 | <filename class='libraryfile'>libgsf-1</filename> library. All the programs
|
---|
| 100 | should build successfully with no errors displayed.</para>
|
---|
[fb0c78e] | 101 |
|
---|
[feb2027] | 102 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[4e82a189] | 103 |
|
---|
[feb2027] | 104 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 105 |
|
---|
| 106 | </sect2>
|
---|
[4e82a189] | 107 |
|
---|
[cd0cae38] | 108 | <sect2 role="commands">
|
---|
| 109 | <title>Command Explanations</title>
|
---|
[bccbdaea] | 110 |
|
---|
[cae61ec] | 111 | <para><option>--sysconfdir=&gnome-etc-dir;</option>: Pass this parameter to
|
---|
| 112 | the <command>configure</command> script if you have
|
---|
[cd0cae38] | 113 | <application>GNOME</application>-2 installed so that the
|
---|
[cae61ec] | 114 | <application>GConf</application> schema files are installed in the
|
---|
| 115 | correct location.</para>
|
---|
[cd0cae38] | 116 |
|
---|
[99eec2a] | 117 | <para><parameter>--without-python</parameter>: This parameter is required
|
---|
| 118 | if <application>Python</application> is not installed. Remove it if
|
---|
| 119 | <application>Python</application> is installed.</para>
|
---|
| 120 |
|
---|
[be7d50e] | 121 | <para><option>--disable-static</option>: This switch prevents the
|
---|
| 122 | static libraries in this package being built and installed.</para>
|
---|
| 123 |
|
---|
[e05cd03f] | 124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[56ce09e] | 125 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 126 |
|
---|
[cd0cae38] | 127 | </sect2>
|
---|
| 128 |
|
---|
[4e82a189] | 129 | <sect2 role="content">
|
---|
[feb2027] | 130 | <title>Contents</title>
|
---|
[4e82a189] | 131 |
|
---|
[feb2027] | 132 | <segmentedlist>
|
---|
[cd0cae38] | 133 | <segtitle>Installed Program</segtitle>
|
---|
[feb2027] | 134 | <segtitle>Installed Libraries</segtitle>
|
---|
| 135 | <segtitle>Installed Directories</segtitle>
|
---|
[4e82a189] | 136 |
|
---|
[feb2027] | 137 | <seglistitem>
|
---|
[98078a6] | 138 | <seg>gsf, gsf-office-thumbnailer (optional), and gsf-vba-dump</seg>
|
---|
[1039de3] | 139 | <seg>libgsf-1.{so,a} and optionally, libgsf-gnome-1.{so,a}</seg>
|
---|
[be7d50e] | 140 | <seg>/usr/include/libgsf-1 and /usr/share/gtk-doc/html/gsf and
|
---|
[b88be39] | 141 | optionally, /usr/lib/python&python2-majorver;/site-packages/gsf</seg>
|
---|
[feb2027] | 142 | </seglistitem>
|
---|
| 143 | </segmentedlist>
|
---|
[4e82a189] | 144 |
|
---|
[feb2027] | 145 | </sect2>
|
---|
[c9f69f81] | 146 |
|
---|
| 147 | </sect1>
|
---|