1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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">
|
---|
9 | <!ENTITY libgsf-md5sum "2b702648b853402554c97d75405c60d3">
|
---|
10 | <!ENTITY libgsf-size "684 KB">
|
---|
11 | <!ENTITY libgsf-buildsize "19 MB">
|
---|
12 | <!ENTITY libgsf-time "0.3 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libgsf" xreflabel="libgsf-&libgsf-version;">
|
---|
16 | <?dbhtml filename="libgsf.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>libgsf-&libgsf-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="libgsf">
|
---|
26 | <primary sortas="a-Libgsf">Libgsf</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to libgsf</title>
|
---|
31 |
|
---|
32 | <para>The <application>libgsf</application> package contains
|
---|
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>
|
---|
36 |
|
---|
37 | &lfs70_checked;
|
---|
38 |
|
---|
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>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect3">libgsf Dependencies</bridgehead>
|
---|
62 |
|
---|
63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
64 | <para role="required"><xref linkend="libxml2"/>,
|
---|
65 | <xref linkend="pkgconfig"/>, and
|
---|
66 | <xref linkend="perl-xml-parser"/></para>
|
---|
67 |
|
---|
68 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
69 | <para role="optional"><xref linkend="python2"/>,
|
---|
70 | <xref linkend="pygtk"/>,
|
---|
71 | <xref linkend="GConf"/> (required to build the
|
---|
72 | <command>gsf-office-thumbnailer</command> program),
|
---|
73 | <xref linkend="gnome-vfs"/> and <xref linkend="libbonobo"/> (required to
|
---|
74 | build the <filename class='libraryfile'>libgsf-gnome-1.so</filename>
|
---|
75 | library which provides GNOME-2 support), and
|
---|
76 | <xref linkend="gtk-doc"/></para>
|
---|
77 |
|
---|
78 | <para>Note: you should build the
|
---|
79 | <filename class='libraryfile'>libgsf-gnome-1.so</filename> library if you
|
---|
80 | plan on building <!-- <xref linkend="gnucash"/> or -->
|
---|
81 | <xref linkend="gnumeric"/> with GNOME-2 support.</para>
|
---|
82 |
|
---|
83 | <para condition="html" role="usernotes">User Notes:
|
---|
84 | <ulink url="&blfs-wiki;/libgsf"/></para>
|
---|
85 |
|
---|
86 | </sect2>
|
---|
87 |
|
---|
88 | <sect2 role="installation">
|
---|
89 | <title>Installation of libgsf</title>
|
---|
90 |
|
---|
91 | <para>Install <application>libgsf</application> by running the following
|
---|
92 | commands:</para>
|
---|
93 |
|
---|
94 | <screen><userinput>./configure --prefix=/usr \
|
---|
95 | --sysconfdir=&gnome-old-etc-dir; &&
|
---|
96 | make</userinput></screen>
|
---|
97 |
|
---|
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>
|
---|
102 |
|
---|
103 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
104 |
|
---|
105 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
106 |
|
---|
107 | </sect2>
|
---|
108 |
|
---|
109 | <sect2 role="commands">
|
---|
110 | <title>Command Explanations</title>
|
---|
111 |
|
---|
112 | <para><command>--sysconfdir=&gnome-old-etc-dir;</command>: Use this parameter to
|
---|
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>
|
---|
116 |
|
---|
117 | <para><option>--without-python</option>: This parameter is required
|
---|
118 | if <application>Python</application> is not installed.</para>
|
---|
119 |
|
---|
120 | <para><option>--disable-static</option>: This switch prevents the
|
---|
121 | static libraries in this package being built and installed.</para>
|
---|
122 |
|
---|
123 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
124 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
125 |
|
---|
126 | </sect2>
|
---|
127 |
|
---|
128 | <sect2 role="content">
|
---|
129 | <title>Contents</title>
|
---|
130 |
|
---|
131 | <segmentedlist>
|
---|
132 | <segtitle>Installed Program</segtitle>
|
---|
133 | <segtitle>Installed Libraries</segtitle>
|
---|
134 | <segtitle>Installed Directories</segtitle>
|
---|
135 |
|
---|
136 | <seglistitem>
|
---|
137 | <seg>gsf, gsf-office-thumbnailer (optional), and gsf-vba-dump</seg>
|
---|
138 | <seg>libgsf-1.{so,a} and optionally, libgsf-gnome-1.{so,a}</seg>
|
---|
139 | <seg>/usr/include/libgsf-1 and /usr/share/gtk-doc/html/gsf and
|
---|
140 | optionally, /usr/lib/python&python2-majorver;/site-packages/gsf</seg>
|
---|
141 | </seglistitem>
|
---|
142 | </segmentedlist>
|
---|
143 |
|
---|
144 | </sect2>
|
---|
145 |
|
---|
146 | </sect1>
|
---|