From 22e52dbd06726261e370e9b761e7f3a3f6b47630 Mon Sep 17 00:00:00 2001 From: Thomas Danckaert Date: Mon, 27 Mar 2017 20:16:19 +0200 Subject: [PATCH] gnu: Add libstaroffice. * gnu/packages/libreoffice.scm (libstaroffice): New variable. --- gnu/packages/libreoffice.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index a8565af587..a558d8e19e 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -601,6 +601,29 @@ text documents (MacWrite, ClarisWorks, ... ) and for some graphics and spreadsheet documents.") (license (list mpl2.0 lgpl2.1+)))) ; dual license +(define-public libstaroffice + (package + (name "libstaroffice") + (version "0.0.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/fosnola/libstaroffice/releases/download/" + version "/libstaroffice-" version ".tar.xz")) + (sha256 (base32 + "1ii2wi3wr5npyz9gby1bjk8r4wyflpfpc6gx7mmqkhsc9c8frpmy")))) + (build-system gnu-build-system) + (inputs + `(("librevenge" ,librevenge) + ("zlib" ,zlib))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://github.com/fosnola/libstaroffice") + (synopsis "Provides LibreOffice support for old StarOffice documents") + (description "@code{libstaroffice} is an import filter for the document formats +from the old StarOffice (.sdc, .sdw, ...).") + (license (list mpl2.0 lgpl2.1+)))) ; dual license + (define-public libwps (package (name "libwps")