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 "d7a14096085e36fb4c3f43e3f38478f8">
|
---|
10 | <!ENTITY libgsf-size "599 KB">
|
---|
11 | <!ENTITY libgsf-buildsize "14 MB">
|
---|
12 | <!ENTITY libgsf-time "0.2 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 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
38 | <itemizedlist spacing="compact">
|
---|
39 | <listitem>
|
---|
40 | <para>Download (HTTP): <ulink url="&libgsf-download-http;"/></para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>Download (FTP): <ulink url="&libgsf-download-ftp;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download MD5 sum: &libgsf-md5sum;</para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download size: &libgsf-size;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Estimated disk space required: &libgsf-buildsize;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated build time: &libgsf-time;</para>
|
---|
56 | </listitem>
|
---|
57 | </itemizedlist>
|
---|
58 |
|
---|
59 | <bridgehead renderas="sect3">libgsf Dependencies</bridgehead>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
62 | <para role="required"><xref linkend="glib2"/>,
|
---|
63 | <xref linkend="libxml2"/>, and
|
---|
64 | <xref linkend="perl-xml-parser"/></para>
|
---|
65 |
|
---|
66 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
67 | <para role="optional"><xref linkend="python"/>,
|
---|
68 | <xref linkend="pygtk"/>,
|
---|
69 | <xref linkend="GConf"/> (required to build the
|
---|
70 | <command>gsf-office-thumbnailer</command> program),
|
---|
71 | <xref linkend="gnome-vfs"/> and <xref linkend="libbonobo"/> (required to
|
---|
72 | build the <filename class='libraryfile'>libgsf-gnome-1.so</filename>
|
---|
73 | library which provides GNOME-2 support), and
|
---|
74 | <xref linkend="gtk-doc"/></para>
|
---|
75 |
|
---|
76 | <para>Note: you should build the
|
---|
77 | <filename class='libraryfile'>libgsf-gnome-1.so</filename> library if you
|
---|
78 | plan on building <xref linkend="gnucash"/> or
|
---|
79 | <xref linkend="gnumeric"/> with GNOME support.</para>
|
---|
80 |
|
---|
81 | <para condition="html" role="usernotes">User Notes:
|
---|
82 | <ulink url="&blfs-wiki;/libgsf"/></para>
|
---|
83 |
|
---|
84 | </sect2>
|
---|
85 |
|
---|
86 | <sect2 role="installation">
|
---|
87 | <title>Installation of libgsf</title>
|
---|
88 |
|
---|
89 | <para>Install <application>libgsf</application> by running the following
|
---|
90 | commands:</para>
|
---|
91 |
|
---|
92 | <screen><userinput>./configure --prefix=/usr --without-python &&
|
---|
93 | make</userinput></screen>
|
---|
94 |
|
---|
95 | <para>Running <command>make check</command> will build a battery of test
|
---|
96 | programs which are built using the just-created
|
---|
97 | <filename class='libraryfile'>libgsf-1</filename> library. All the programs
|
---|
98 | should build successfully with no errors displayed.</para>
|
---|
99 |
|
---|
100 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
101 |
|
---|
102 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
103 |
|
---|
104 | </sect2>
|
---|
105 |
|
---|
106 | <sect2 role="commands">
|
---|
107 | <title>Command Explanations</title>
|
---|
108 |
|
---|
109 | <para><option>--sysconfdir=&gnome-etc-dir;</option>: Pass this parameter to
|
---|
110 | the <command>configure</command> script if you have
|
---|
111 | <application>GNOME</application>-2 installed so that the
|
---|
112 | <application>GConf</application> schema files are installed in the
|
---|
113 | correct location.</para>
|
---|
114 |
|
---|
115 | <para><parameter>--without-python</parameter>: This parameter is required
|
---|
116 | if <application>Python</application> is not installed. Remove it if
|
---|
117 | <application>Python</application> is installed.</para>
|
---|
118 |
|
---|
119 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
120 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | <sect2 role="content">
|
---|
125 | <title>Contents</title>
|
---|
126 |
|
---|
127 | <segmentedlist>
|
---|
128 | <segtitle>Installed Program</segtitle>
|
---|
129 | <segtitle>Installed Libraries</segtitle>
|
---|
130 | <segtitle>Installed Directories</segtitle>
|
---|
131 |
|
---|
132 | <seglistitem>
|
---|
133 | <seg>gsf, gsf-office-thumbnailer (optional), and gsf-vba-dump</seg>
|
---|
134 | <seg>libgsf-1.{so,a} and optionally, libgsf-gnome-1.{so,a}</seg>
|
---|
135 | <seg>/usr/include/libgsf-1 and /usr/share/gtk-doc/html/gsf</seg>
|
---|
136 | </seglistitem>
|
---|
137 | </segmentedlist>
|
---|
138 |
|
---|
139 | </sect2>
|
---|
140 |
|
---|
141 | </sect1>
|
---|