Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

151.2. libgsf-1.14.59

GNOME Structured File library — OLE2, ZIP and ODF containers for office formats

1.14.59-1 · LGPL-2.1-only · 1.1 SBU · 1.8 MiB, 99 files · 41_system, 735 of 1047 · ports/core/office/libgsf

Homepage: https://gitlab.gnome.org/GNOME/libgsf

Depends on: pkgconf, glib, libxml2, zlib, bzip2, gdk-pixbuf, gobject-introspection, gettext, libintl.

Required by (5): abiword, gnumeric, goffice, libpst, wv.

Sources: libgsf-1.14.59.tar.xz (712.5 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libgsf'

build.sh:

./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib \
	--disable-static \
	--with-gdk-pixbuf \
	--with-bz2 \
	--enable-introspection=yes \
	--disable-gtk-doc
grep -q '^#define HAVE_BZ2 1' gsf-config.h
make
make DESTDIR=$PKG install

Programs: gsf, gsf-office-thumbnailer, gsf-vba-dump.

Libraries: libgsf-1.so.

Directories: /usr/include/libgsf-1, /usr/share/gtk-doc/html/gsf, /usr/share/licenses/libgsf.