From 741916f11457129442c8155d8c55de22112b04c9 Mon Sep 17 00:00:00 2001 From: Thomas Danckaert Date: Mon, 27 Mar 2017 20:15:04 +0200 Subject: [PATCH] gnu: Add libzmf. * gnu/packages/libreoffice.scm (libzmf): New Variable. --- gnu/packages/libreoffice.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index 52f4266920..760f654cdd 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2015 Andreas Enge ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2017 Alex Griffin +;;; Copyright © 2017 Thomas Danckaert ;;; ;;; This file is part of GNU Guix. ;;; @@ -629,6 +630,35 @@ spreadsheet documents.") Works word processor file format.") (license (list mpl2.0 lgpl2.1+)))) ; dual license +(define-public libzmf + (package + (name "libzmf") + (version "0.0.1") + (source + (origin + (method url-fetch) + (uri (string-append "http://dev-www.libreoffice.org/src/libzmf/libzmf-" + version ".tar.xz")) + (sha256 (base32 + "0yp5l1b90xim506zmr3ljkn3qkvbc7qk3dnwq1snxdpr57m37xga")))) + (build-system gnu-build-system) + (inputs + `(("boost" ,boost) + ("icu4c" ,icu4c) + ("libpng" ,libpng) + ("librevenge" ,librevenge) + ("zlib" ,zlib))) + (native-inputs + `(("cppunit" ,cppunit) + ("doxygen" ,doxygen) + ("pkg-config" ,pkg-config))) + (home-page "https://wiki.documentfoundation.org/DLP/Libraries/libzmf") + (synopsis "Parses file format of Zoner Callisto/Draw documents") + (description "Libzmf is a library that parses the file format of Zoner +Callisto/Draw documents. Currently it only understands documents created by +Zoner Draw version 4 and 5.") + (license mpl2.0))) + (define-public hunspell (package (name "hunspell")