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

151.7. libwpg-0.3.4

WordPerfect Graphics import library

0.3.4-1 · MPL-2.0 OR LGPL-2.1-or-later · 0.3 SBU · 257.6 KiB, 11 files · 41_system, 825 of 1047 · ports/core/office/libwpg

Homepage: https://libwpg.sourceforge.net/

Depends on: pkgconf, librevenge, libwpd.

Required by (4): abiword, calligra, inkscape, libreoffice.

Sources: libwpg-0.3.4.tar.xz (332.4 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 libwpg'

build.sh:

./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib \
	--disable-static \
	--enable-tools \
	--disable-fuzzers \
	--disable-werror \
	--without-docs
make
make DESTDIR=$PKG install

Programs: wpg2raw, wpg2svg, wpg2svgbatch.pl.

Libraries: libwpg-0.3.so.

Directories: /usr/include/libwpg-0.3, /usr/share/licenses/libwpg.