151.16. libwps-0.4.14
Import filter library and conversion tools for Microsoft Works documents
0.4.14-1 · MPL-2.0 OR LGPL-2.1-or-later · 1.1 SBU · 3.4 MiB, 14 files · 41_system, 834 of 1047 · ports/core/office/libwps
Homepage: https://sourceforge.net/projects/libwps/
libwps reads Microsoft Works documents (word processor, spreadsheet and database, from the DOS versions to Works 9) and the Lotus 1-2-3, Quattro Pro and other old spreadsheet formats it shares code with, through librevenge’s interfaces. Its consumers are Calligra’s Works import filter (calligra) and abiword’s wordperfect plugin, which imports Works documents through it. The package also carries the command-line converters wps2html, wps2text, wps2raw, wks2csv, wks2text and wks2raw.
Depends on: pkgconf, librevenge.
Required by (2): abiword, calligra.
Sources: libwps-0.4.14.tar.bz2 (907.1 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 libwps'
build.sh:
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib \
--disable-static \
--disable-werror \
--disable-debug \
--enable-tools \
--disable-fuzzers \
--without-docs
make
make DESTDIR=$PKG install
--disable-static— Shared library only; nothing links the archive.--disable-werror— Upstream’s default, stated: warnings stay warnings.--disable-debug— Upstream’s default, stated. It is what puts-DNDEBUGon the compile line.--enable-tools— The conversion tools, upstream’s default, stated. They need thelibrevenge-generators-0.0andlibrevenge-stream-0.0modules, which librevenge installs.--disable-fuzzers— No fuzzing harnesses; upstream’s default, stated.--without-docs— No Doxygen API reference.
Programs: wks2csv, wks2raw, wks2text, wps2html, wps2raw, wps2text.
Libraries: libwps-0.4.so.
Directories: /usr/include/libwps-0.4, /usr/share/licenses/libwps.