Difference between revisions of "Libgsf"

From CBLFS
Jump to navigationJump to search
 
 
(13 intermediate revisions by 6 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://ftp.gnome.org/pub/GNOME/sources/libgsf/1.14/libgsf-1.14.2.tar.bz2
+
| http://ftp.gnome.org/pub/GNOME/sources/libgsf/{{Libgsf-Version2}}/libgsf-{{Libgsf-Version}}.tar.bz2
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|The GNOME Structured File Library is a utility library for reading and writing structured file formats.|http://www.gnome.org/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 13: Line 15:
 
* [[LibXML2]]
 
* [[LibXML2]]
 
* [[Perl Module XML::Parser|XML::Parser]]
 
* [[Perl Module XML::Parser|XML::Parser]]
 +
 
=== Optional ===
 
=== Optional ===
* [[GConf]]
+
* [[GConf]] (required to build the gsf-office-thumbnailer program)
* [[GNOME Virtual File System]]
+
* [[GNOME Virtual File System]] (required to build the libgsf-gnome-1.so library which provides GNOME-2 support)
 
* [[Gtk-Doc]]
 
* [[Gtk-Doc]]
 +
* [[Python]] and [[PyGTK]]
 +
 +
{{Note|You need to build the libgsf-gnome-1.so library if you plan on building Gnumeric with GNOME support.}}
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 28: Line 34:
  
 
  make install
 
  make install
 +
 +
=== Command Explanations ===
 +
 +
--sysconfdir=/etc/gnome: Pass this parameter to the '''configure''' script if you have GNOME-2 installed so that the GConf schema files are installed in the correct location.
 +
 +
--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild the API documentation.
  
 
== Multilib ==
 
== Multilib ==
Line 35: Line 47:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
+
  CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
 
  ./configure --prefix=/usr --sysconfdir=/etc/gnome &&
 
  ./configure --prefix=/usr --sysconfdir=/etc/gnome &&
 
  make
 
  make
Line 47: Line 59:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
+
  CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \
 
  ./configure --prefix=/usr --sysconfdir=/etc/gnome \
 
  ./configure --prefix=/usr --sysconfdir=/etc/gnome \
 
     --libdir=/usr/lib32 &&
 
     --libdir=/usr/lib32 &&
Line 60: Line 72:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
+
  CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
 
  ./configure --prefix=/usr --sysconfdir=/etc/gnome \
 
  ./configure --prefix=/usr --sysconfdir=/etc/gnome \
 
     --libdir=/usr/lib64 &&
 
     --libdir=/usr/lib64 &&
Line 68: Line 80:
  
 
  make install
 
  make install
 +
 +
= Contents =
 +
 +
{| style="text-align: left;"
 +
|-
 +
! Installed Programs:
 +
| gsf-office-thumbnailer (optional)
 +
|-
 +
! Installed Libraries:
 +
| libgsf-1.{so,a} and optionally, libgsf-gnome-1.{so,a}
 +
|-
 +
! Installed Directories:
 +
| /usr/include/libgsf-1 and /usr/share/gtk-doc/html/gsf
 +
|}
 +
 +
[[Category:General Libs]]

Latest revision as of 10:24, 20 September 2009

Download Source: http://ftp.gnome.org/pub/GNOME/sources/libgsf/1.14/libgsf-1.14.16.tar.bz2

Introduction to Libgsf

The GNOME Structured File Library is a utility library for reading and writing structured file formats.

Project Homepage: http://www.gnome.org/

Dependencies

Required

Optional

Caution.png

Note

You need to build the libgsf-gnome-1.so library if you plan on building Gnumeric with GNOME support.

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc/gnome &&
make

Install the package

make install

Command Explanations

--sysconfdir=/etc/gnome: Pass this parameter to the configure script if you have GNOME-2 installed so that the GConf schema files are installed in the correct location.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild the API documentation.

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
./configure --prefix=/usr --sysconfdir=/etc/gnome &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \
./configure --prefix=/usr --sysconfdir=/etc/gnome \
    --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
./configure --prefix=/usr --sysconfdir=/etc/gnome \
    --libdir=/usr/lib64 &&
make

Install the package

make install

Contents

Installed Programs: gsf-office-thumbnailer (optional)
Installed Libraries: libgsf-1.{so,a} and optionally, libgsf-gnome-1.{so,a}
Installed Directories: /usr/include/libgsf-1 and /usr/share/gtk-doc/html/gsf