1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014 John Darrington <jmd@gnu.org>
5 ;;; This file is part of GNU Guix.
7 ;;; GNU Guix is free software; you can redistribute it and/or modify it
8 ;;; under the terms of the GNU General Public License as published by
9 ;;; the Free Software Foundation; either version 3 of the License, or (at
10 ;;; your option) any later version.
12 ;;; GNU Guix is distributed in the hope that it will be useful, but
13 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;;; GNU General Public License for more details.
17 ;;; You should have received a copy of the GNU General Public License
18 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20 (define-module (gnu packages libreoffice)
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module ((guix licenses) #:select (lgpl2.1+ mpl2.0))
24 #:use-module (guix build-system gnu)
25 #:use-module (gnu packages boost)
26 #:use-module (gnu packages check)
27 #:use-module (gnu packages compression)
28 #:use-module (gnu packages doxygen)
29 #:use-module (gnu packages gperf)
30 #:use-module (gnu packages icu4c)
31 #:use-module (gnu packages perl)
32 #:use-module (gnu packages pkg-config)
33 #:use-module (gnu packages python)
34 #:use-module (gnu packages xml))
43 (uri (string-append "http://kohei.us/files/ixion/src/libixion-"
46 "18g3nk29ljiqbyi0ml49j2x3f3xrqckdm9i66sw5fxnj7hb5rqvp"))))
47 (build-system gnu-build-system)
49 `(("pkg-config" ,pkg-config)))
52 ("python" ,python-2))) ; looks for python.pc, not python3.pc
53 (home-page "https://gitlab.com/ixion/ixion")
54 (synopsis "General purpose formula parser and interpreter")
55 (description "Ixion is a library for calculating the results of formula
56 expressions stored in multiple named targets, or \"cells\". The cells can
57 be referenced from each other, and the library takes care of resolving
58 their dependencies automatically upon calculation.")
68 (uri (string-append "http://kohei.us/files/" name "/src/lib"
69 name "-" version ".tar.xz"))
71 "0hva4qalg3dk6n1118ncr5fy8cqnj2f7fwldw7aa04124rj6p104"))))
72 (build-system gnu-build-system)
74 `(("pkg-config" ,pkg-config)))
79 (home-page "https://gitlab.com/orcus/orcus")
80 (synopsis "File import filter library for spreadsheet documents")
81 (description "Orcus is a library that provides a collection of standalone
82 file processing filters. It is currently focused on providing filters for
83 spreadsheet documents. The library includes import filters for
84 Microsoft Excel 2007 XML, Microsoft Excel 2003 XML, Open Document Spreadsheet,
85 Plain Text, Gnumeric XML, Generic XML. It also includes low-level parsers for
89 (define-public librevenge
96 (uri (string-append "mirror://sourceforge/libwpd/" name "/" name "-"
99 "03ygxyb0vfjv8raif5q62sl33b54wkr5rzgadb8slijm6k281wpn"))))
100 (build-system gnu-build-system)
105 ("pkg-config" ,pkg-config)))
109 ;; avoid triggering configure errors by simple inclusion of boost headers
110 `(#:configure-flags '("--disable-werror")))
111 (home-page "http://sourceforge.net/p/libwpd/wiki/librevenge/")
112 (synopsis "Document importer for office suites")
113 (description "Librevenge is a base library for writing document import
114 filters. It has interfaces for text documents, vector graphics,
115 spreadsheets and presentations.")
116 (license '(mpl2.0 lgpl2.1+)))) ; dually licensed
118 (define-public libwpd
125 (uri (string-append "mirror://sourceforge/libwpd/" name "/" name "-"
128 "0b6krzr6kxzm89g6bapn805kdayq70hn16n5b5wfs2lwrf0ag2wx"))))
129 (build-system gnu-build-system)
131 `(("doxygen" ,doxygen)
132 ("pkg-config" ,pkg-config)))
134 `(("librevenge" ,librevenge)
136 (home-page "http://libwpd.sourceforge.net/")
137 (synopsis "Library for importing WordPerfect documents")
138 (description "Libwpd is a C++ library designed to help process
139 WordPerfect documents. It is most commonly used to import such documents
140 into other word processors.")
141 (license '(mpl2.0 lgpl2.1+)))) ; dually licensed
143 (define-public libe-book
150 (uri (string-append "mirror://sourceforge/libebook/libe-book-"
151 version "/libe-book-" version ".tar.xz"))
154 "1v48pd32r2pfysr3a3igc4ivcf6vvb26jq4pdkcnq75p70alp2bz"))))
155 (build-system gnu-build-system)
157 `(("cppunit" ,cppunit)
159 ("pkg-config" ,pkg-config)))
160 (inputs `(("boost" ,boost)
162 ("librevenge" ,librevenge)
163 ("libxml2" ,libxml2)))
165 ;; avoid triggering configure errors by simple inclusion of boost headers
166 `(#:configure-flags '("--disable-werror")))
167 (home-page "http://libebook.sourceforge.net")
168 (synopsis "Library for import of reflowable e-book formats")
169 (description "Libe-book is a library and a set of tools for reading and
170 converting various reflowable e-book formats. Currently supported are:
171 Broad Band eBook, eReader .pdb, FictionBook v. 2 (including zipped files),
172 PalmDoc Ebook, Plucker .pdb, QiOO (mobile format, for java-enabled
173 cellphones), TCR (simple compressed text format), TealDoc, zTXT,
174 ZVR (simple compressed text format).")
177 (define-public libwpg
184 (uri (string-append "mirror://sourceforge/libwpg/" name "/" name "-"
187 "097jx8a638fwwfrzf6v29r1yhc34rq9526py7wf0ck2z4fcr2w3g"))))
188 (build-system gnu-build-system)
190 `(("doxygen" ,doxygen)
191 ("pkg-config" ,pkg-config)))
193 `(("librevenge" ,librevenge)
197 (home-page "http://libwpg.sourceforge.net/")
198 (synopsis "Library and tools for the WordPerfect Graphics format")
199 (description "The libwpg project provides a library and tools for
200 working with graphics in the WPG (WordPerfect Graphics) format.")
201 (license '(mpl2.0 lgpl2.1+)))) ; dually licensed