[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">
|
---|
[fdd24b8c] | 9 | <!ENTITY libgsf-md5sum "2b702648b853402554c97d75405c60d3">
|
---|
| 10 | <!ENTITY libgsf-size "684 KB">
|
---|
| 11 | <!ENTITY libgsf-buildsize "19 MB">
|
---|
| 12 | <!ENTITY libgsf-time "0.3 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 |
|
---|
[fdd24b8c] | 37 | &lfs70_checked;
|
---|
[04fa30a] | 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>
|
---|
[091eacd] | 64 | <para role="required"><xref linkend="libxml2"/>,
|
---|
| 65 | <xref linkend="pkgconfig"/>, and
|
---|
[cd0cae38] | 66 | <xref linkend="perl-xml-parser"/></para>
|
---|
[4e82a189] | 67 |
|
---|
[feb2027] | 68 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4716d52] | 69 | <para role="optional"><xref linkend="python2"/>,
|
---|
[99eec2a] | 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
|
---|
[f411b49] | 80 | plan on building <!-- <xref linkend="gnucash"/> or -->
|
---|
[fdd24b8c] | 81 | <xref linkend="gnumeric"/> with GNOME-2 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 |
|
---|
[fdd24b8c] | 94 | <screen><userinput>./configure --prefix=/usr \
|
---|
[8d3eae9] | 95 | --sysconfdir=&gnome-old-etc-dir; &&
|
---|
[feb2027] | 96 | make</userinput></screen>
|
---|
[4e82a189] | 97 |
|
---|
[cd0cae38] | 98 | <para>Running <command>make check</command> will build a battery of test
|
---|
| 99 | programs which are built using the just-created
|
---|
| 100 | <filename class='libraryfile'>libgsf-1</filename> library. All the programs
|
---|
| 101 | should build successfully with no errors displayed.</para>
|
---|
[fb0c78e] | 102 |
|
---|
[feb2027] | 103 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[4e82a189] | 104 |
|
---|
[feb2027] | 105 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 106 |
|
---|
| 107 | </sect2>
|
---|
[4e82a189] | 108 |
|
---|
[cd0cae38] | 109 | <sect2 role="commands">
|
---|
| 110 | <title>Command Explanations</title>
|
---|
[bccbdaea] | 111 |
|
---|
[8d3eae9] | 112 | <para><command>--sysconfdir=&gnome-old-etc-dir;</command>: Use this parameter to
|
---|
[fdd24b8c] | 113 | ensure that if <application>GConf</application> has been installed, this
|
---|
| 114 | package's schema files will be installed in the correct location instead
|
---|
| 115 | of <filename class="directory">/usr/etc/</filename>.</para>
|
---|
[cd0cae38] | 116 |
|
---|
[fdd24b8c] | 117 | <para><option>--without-python</option>: This parameter is required
|
---|
| 118 | if <application>Python</application> is not installed.</para>
|
---|
[99eec2a] | 119 |
|
---|
[be7d50e] | 120 | <para><option>--disable-static</option>: This switch prevents the
|
---|
| 121 | static libraries in this package being built and installed.</para>
|
---|
| 122 |
|
---|
[e05cd03f] | 123 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[56ce09e] | 124 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 125 |
|
---|
[cd0cae38] | 126 | </sect2>
|
---|
| 127 |
|
---|
[4e82a189] | 128 | <sect2 role="content">
|
---|
[feb2027] | 129 | <title>Contents</title>
|
---|
[4e82a189] | 130 |
|
---|
[feb2027] | 131 | <segmentedlist>
|
---|
[cd0cae38] | 132 | <segtitle>Installed Program</segtitle>
|
---|
[feb2027] | 133 | <segtitle>Installed Libraries</segtitle>
|
---|
| 134 | <segtitle>Installed Directories</segtitle>
|
---|
[4e82a189] | 135 |
|
---|
[feb2027] | 136 | <seglistitem>
|
---|
[98078a63] | 137 | <seg>gsf, gsf-office-thumbnailer (optional), and gsf-vba-dump</seg>
|
---|
[1039de3] | 138 | <seg>libgsf-1.{so,a} and optionally, libgsf-gnome-1.{so,a}</seg>
|
---|
[be7d50e] | 139 | <seg>/usr/include/libgsf-1 and /usr/share/gtk-doc/html/gsf and
|
---|
[b88be39] | 140 | optionally, /usr/lib/python&python2-majorver;/site-packages/gsf</seg>
|
---|
[feb2027] | 141 | </seglistitem>
|
---|
| 142 | </segmentedlist>
|
---|
[4e82a189] | 143 |
|
---|
[feb2027] | 144 | </sect2>
|
---|
[c9f69f81] | 145 |
|
---|
| 146 | </sect1>
|
---|