gnu: libmwaw: Propagate input.
[jackhill/guix/guix.git] / gnu / packages / libreoffice.scm
CommitLineData
7b4570b4
AE
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
3;;; Copyright © 2014 John Darrington <jmd@gnu.org>
4;;;
5;;; This file is part of GNU Guix.
6;;;
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.
11;;;
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.
16;;;
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/>.
19
20(define-module (gnu packages libreoffice)
21 #:use-module (guix packages)
22 #:use-module (guix download)
2a9a9441
AE
23 #:use-module ((guix licenses)
24 #:select (gpl2+ lgpl2.1+ mpl1.1 mpl2.0 non-copyleft))
7b4570b4
AE
25 #:use-module (guix build-system gnu)
26 #:use-module (gnu packages boost)
10ca4a1d 27 #:use-module (gnu packages check)
cfaf863f 28 #:use-module (gnu packages compression)
3736a110
AE
29 #:use-module (gnu packages curl)
30 #:use-module (gnu packages cyrus-sasl)
10ca4a1d 31 #:use-module (gnu packages doxygen)
9fe8a4ba 32 #:use-module (gnu packages ghostscript)
b4e5d8e7
AE
33 #:use-module (gnu packages gperf)
34 #:use-module (gnu packages icu4c)
3736a110 35 #:use-module (gnu packages openssl)
2534fc04 36 #:use-module (gnu packages perl)
7b4570b4 37 #:use-module (gnu packages pkg-config)
b4e5d8e7
AE
38 #:use-module (gnu packages python)
39 #:use-module (gnu packages xml))
7b4570b4
AE
40
41(define-public ixion
42 (package
43 (name "ixion")
44 (version "0.9.1")
45 (source
46 (origin
47 (method url-fetch)
48 (uri (string-append "http://kohei.us/files/ixion/src/libixion-"
49 version ".tar.xz"))
50 (sha256 (base32
51 "18g3nk29ljiqbyi0ml49j2x3f3xrqckdm9i66sw5fxnj7hb5rqvp"))))
52 (build-system gnu-build-system)
53 (native-inputs
54 `(("pkg-config" ,pkg-config)))
55 (inputs
56 `(("mdds" ,mdds)
57 ("python" ,python-2))) ; looks for python.pc, not python3.pc
58 (home-page "https://gitlab.com/ixion/ixion")
59 (synopsis "General purpose formula parser and interpreter")
60 (description "Ixion is a library for calculating the results of formula
61expressions stored in multiple named targets, or \"cells\". The cells can
62be referenced from each other, and the library takes care of resolving
63their dependencies automatically upon calculation.")
64 (license mpl2.0)))
cfaf863f
AE
65
66(define-public orcus
67 (package
68 (name "orcus")
69 (version "0.7.1")
70 (source
71 (origin
72 (method url-fetch)
73 (uri (string-append "http://kohei.us/files/" name "/src/lib"
74 name "-" version ".tar.xz"))
75 (sha256 (base32
76 "0hva4qalg3dk6n1118ncr5fy8cqnj2f7fwldw7aa04124rj6p104"))))
77 (build-system gnu-build-system)
78 (native-inputs
79 `(("pkg-config" ,pkg-config)))
80 (inputs
81 `(("ixion" ,ixion)
82 ("mdds" ,mdds)
83 ("zlib" ,zlib)))
84 (home-page "https://gitlab.com/orcus/orcus")
85 (synopsis "File import filter library for spreadsheet documents")
86 (description "Orcus is a library that provides a collection of standalone
87file processing filters. It is currently focused on providing filters for
88spreadsheet documents. The library includes import filters for
89Microsoft Excel 2007 XML, Microsoft Excel 2003 XML, Open Document Spreadsheet,
90Plain Text, Gnumeric XML, Generic XML. It also includes low-level parsers for
91CSV, CSS and XML.")
92 (license mpl2.0)))
10ca4a1d
AE
93
94(define-public librevenge
95 (package
96 (name "librevenge")
97 (version "0.0.2")
98 (source
99 (origin
100 (method url-fetch)
101 (uri (string-append "mirror://sourceforge/libwpd/" name "/" name "-"
102 version ".tar.xz"))
103 (sha256 (base32
104 "03ygxyb0vfjv8raif5q62sl33b54wkr5rzgadb8slijm6k281wpn"))))
105 (build-system gnu-build-system)
106 (native-inputs
107 `(("boost" ,boost)
108 ("cppunit" ,cppunit)
109 ("doxygen" ,doxygen)
110 ("pkg-config" ,pkg-config)))
111 (inputs
112 `(("zlib" ,zlib)))
113 (arguments
114 ;; avoid triggering configure errors by simple inclusion of boost headers
115 `(#:configure-flags '("--disable-werror")))
116 (home-page "http://sourceforge.net/p/libwpd/wiki/librevenge/")
117 (synopsis "Document importer for office suites")
118 (description "Librevenge is a base library for writing document import
119filters. It has interfaces for text documents, vector graphics,
120spreadsheets and presentations.")
68267c63 121 (license (list mpl2.0 lgpl2.1+)))) ;dual licensed
fc15db2f
AE
122
123(define-public libwpd
124 (package
125 (name "libwpd")
126 (version "0.10.0")
127 (source
128 (origin
129 (method url-fetch)
130 (uri (string-append "mirror://sourceforge/libwpd/" name "/" name "-"
131 version ".tar.xz"))
132 (sha256 (base32
133 "0b6krzr6kxzm89g6bapn805kdayq70hn16n5b5wfs2lwrf0ag2wx"))))
134 (build-system gnu-build-system)
135 (native-inputs
136 `(("doxygen" ,doxygen)
137 ("pkg-config" ,pkg-config)))
b7e71faa
AE
138 (propagated-inputs
139 `(("librevenge" ,librevenge))) ; in Requires field of .pkg
fc15db2f 140 (inputs
b7e71faa 141 `(("zlib" ,zlib)))
fc15db2f
AE
142 (home-page "http://libwpd.sourceforge.net/")
143 (synopsis "Library for importing WordPerfect documents")
144 (description "Libwpd is a C++ library designed to help process
145WordPerfect documents. It is most commonly used to import such documents
146into other word processors.")
68267c63 147 (license (list mpl2.0 lgpl2.1+)))) ;dual licensed
b4e5d8e7 148
b4e5d8e7
AE
149(define-public libe-book
150 (package
151 (name "libe-book")
152 (version "0.1.2")
153 (source
154 (origin
155 (method url-fetch)
156 (uri (string-append "mirror://sourceforge/libebook/libe-book-"
157 version "/libe-book-" version ".tar.xz"))
158 (sha256
159 (base32
160 "1v48pd32r2pfysr3a3igc4ivcf6vvb26jq4pdkcnq75p70alp2bz"))))
161 (build-system gnu-build-system)
162 (native-inputs
163 `(("cppunit" ,cppunit)
164 ("gperf" ,gperf)
165 ("pkg-config" ,pkg-config)))
933c390c
AE
166 (propagated-inputs ; in Requires or Requires.private field of .pkg
167 `(("icu4c" ,icu4c)
168 ("librevenge" ,librevenge)
169 ("libxml2" ,libxml2)))
170 (inputs
171 `(("boost" ,boost)))
b4e5d8e7
AE
172 (arguments
173 ;; avoid triggering configure errors by simple inclusion of boost headers
174 `(#:configure-flags '("--disable-werror")))
175 (home-page "http://libebook.sourceforge.net")
176 (synopsis "Library for import of reflowable e-book formats")
177 (description "Libe-book is a library and a set of tools for reading and
178converting various reflowable e-book formats. Currently supported are:
179Broad Band eBook, eReader .pdb, FictionBook v. 2 (including zipped files),
180PalmDoc Ebook, Plucker .pdb, QiOO (mobile format, for java-enabled
181cellphones), TCR (simple compressed text format), TealDoc, zTXT,
182ZVR (simple compressed text format).")
183 (license mpl2.0)))
2534fc04
AE
184
185(define-public libwpg
186 (package
187 (name "libwpg")
188 (version "0.3.0")
189 (source
190 (origin
191 (method url-fetch)
192 (uri (string-append "mirror://sourceforge/libwpg/" name "/" name "-"
193 version ".tar.xz"))
194 (sha256 (base32
195 "097jx8a638fwwfrzf6v29r1yhc34rq9526py7wf0ck2z4fcr2w3g"))))
196 (build-system gnu-build-system)
197 (native-inputs
198 `(("doxygen" ,doxygen)
199 ("pkg-config" ,pkg-config)))
239c853c
AE
200 (propagated-inputs
201 `(("libwpd" ,libwpd))) ; in Requires field of .pkg
2534fc04 202 (inputs
239c853c 203 `(("perl" ,perl)
2534fc04
AE
204 ("zlib" ,zlib)))
205 (home-page "http://libwpg.sourceforge.net/")
206 (synopsis "Library and tools for the WordPerfect Graphics format")
207 (description "The libwpg project provides a library and tools for
208working with graphics in the WPG (WordPerfect Graphics) format.")
68267c63 209 (license (list mpl2.0 lgpl2.1+)))) ;dual licensed
4cd369ed 210
3736a110
AE
211(define-public libcmis
212 (package
213 (name "libcmis")
214 (version "0.5.0")
215 (source
216 (origin
217 (method url-fetch)
218 (uri (string-append "mirror://sourceforge/" name "/" name "-"
219 version ".tar.gz"))
220 (sha256 (base32
221 "1dprvk4fibylv24l7gr49gfqbkfgmxynvgssvdcycgpf7n8h4zm8"))))
222 (build-system gnu-build-system)
223 (native-inputs
224 `(("cppunit" ,cppunit)
225 ("pkg-config" ,pkg-config)))
f678913c
AE
226 (propagated-inputs ; in Requires field of .pkg
227 `(("curl" ,curl)
228 ("libxml2" ,libxml2)))
3736a110
AE
229 (inputs
230 `(("boost" ,boost)
3736a110 231 ("cyrus-sasl" ,cyrus-sasl)
3736a110
AE
232 ("openssl" ,openssl)))
233 (arguments
234 `(#:configure-flags
235 (list
236 ;; FIXME: Man pages generation requires docbook-to-man; reenable
237 ;; it once this is available.
238 "--without-man"
239 ;; avoid triggering configure errors by simple inclusion of
240 ;; boost headers
241 "--disable-werror"
242 ;; During configure, the boost headers are found, but linking
243 ;; fails without the following flag.
244 (string-append "--with-boost="
245 (assoc-ref %build-inputs "boost")))))
246 (home-page "http://sourceforge.net/projects/libcmis/")
247 (synopsis "CMIS client library")
248 (description "LibCMIS is a C++ client library for the CMIS interface. It
249allows C++ applications to connect to any ECM behaving as a CMIS server such
250as Alfresco or Nuxeo.")
251 (license (list mpl1.1 gpl2+ lgpl2.1+)))) ; triple license
252
4cd369ed
AE
253(define-public libabw
254 (package
255 (name "libabw")
256 (version "0.1.1")
257 (source
258 (origin
259 (method url-fetch)
260 (uri (string-append "http://dev-www.libreoffice.org/src/" name "/"
261 name "-" version ".tar.xz"))
262 (sha256 (base32
263 "0zi1zj4fpxgpglbbb5n1kg3dmhqq5rpf46lli89r5daavp19iing"))))
264 (build-system gnu-build-system)
265 (native-inputs
266 `(("doxygen" ,doxygen)
267 ("gperf" ,gperf)
268 ("perl" ,perl)
269 ("pkg-config" ,pkg-config)))
57080fea
AE
270 (propagated-inputs ; in Requires or Requires.private field of .pkg
271 `(("librevenge" ,librevenge)
4cd369ed 272 ("libxml2" ,libxml2)))
57080fea
AE
273 (inputs
274 `(("boost" ,boost)))
4cd369ed
AE
275 (arguments
276 ;; avoid triggering configure errors by simple inclusion of boost headers
277 `(#:configure-flags '("--disable-werror")))
278 (home-page "https://wiki.documentfoundation.org/DLP/Libraries/libabw")
279 (synopsis "Library for parsing the AbiWord format")
280 (description "Libabw is a library that parses the file format of
281AbiWord documents.")
282 (license mpl2.0)))
9fe8a4ba
AE
283
284(define-public libcdr
285 (package
286 (name "libcdr")
287 (version "0.1.1")
288 (source
289 (origin
290 (method url-fetch)
291 (uri (string-append "http://dev-www.libreoffice.org/src/" name "/"
292 name "-" version ".tar.xz"))
293 (sha256 (base32
294 "07yzb1yr5kzv0binzj5swz3zzay2gw3xb0fbkc2zwdssgrkf19nh"))))
295 (build-system gnu-build-system)
296 (native-inputs
297 `(("doxygen" ,doxygen)
298 ("pkg-config" ,pkg-config)))
269194c3
AE
299 (propagated-inputs ; in Requires or Requires.private field of .pkg
300 `(("icu4c" ,icu4c)
9fe8a4ba
AE
301 ("lcms" ,lcms)
302 ("librevenge" ,librevenge)
303 ("zlib" ,zlib)))
269194c3
AE
304 (inputs
305 `(("boost" ,boost)))
9fe8a4ba
AE
306 (arguments
307 ;; avoid triggering a build failure due to warnings
308 `(#:configure-flags '("--disable-werror")))
309 (home-page "https://wiki.documentfoundation.org/DLP/Libraries/libcdr")
310 (synopsis "Library for parsing the CorelDRAW format")
311 (description "Libcdr is a library that parses the file format of
312CorelDRAW documents of all versions.")
313 (license mpl2.0)))
3dc67e38
AE
314
315(define-public libetonyek
316 (package
317 (name "libetonyek")
318 (version "0.1.1")
319 (source
320 (origin
321 (method url-fetch)
322 (uri (string-append "http://dev-www.libreoffice.org/src/" name "/"
323 name "-" version ".tar.xz"))
324 (sha256 (base32
325 "0gn8v24jb9r9kxppbws6xlc7knpd9mk2n9xjvziccv5f2l7mlslw"))))
326 (build-system gnu-build-system)
327 (native-inputs
328 `(("cppunit" ,cppunit)
329 ("doxygen" ,doxygen)
330 ("gperf" ,gperf)
331 ("pkg-config" ,pkg-config)))
480fe002
AE
332 (propagated-inputs ; in Requires or Requires.private field of .pkg
333 `(("librevenge" ,librevenge)
3dc67e38 334 ("libxml2" ,libxml2)))
480fe002
AE
335 (inputs
336 `(("boost" ,boost)))
3dc67e38
AE
337 (home-page "https://wiki.documentfoundation.org/DLP/Libraries/libetonyek")
338 (synopsis "Library for parsing the Apple Keynote format")
339 (description "Libetonyek is a library that parses the file format of
340Apple Keynote documents. It currently supports Keynote versions 2 to 5.")
341 (license mpl2.0)))
97aee2b6
AE
342
343(define-public libexttextcat
344 (package
345 (name "libexttextcat")
346 (version "3.4.4")
347 (source
348 (origin
349 (method url-fetch)
350 (uri (string-append "http://dev-www.libreoffice.org/src/" name "/"
351 name "-" version ".tar.xz"))
352 (sha256 (base32
353 "14v2hkygnmf1zgahfm1fha47cr67iikrz2ymiqi28d2jydn0hk7j"))))
354 (build-system gnu-build-system)
355 (home-page "http://www.freedesktop.org/wiki/Software/libexttextcat/")
356 (synopsis "Text Categorization library")
357 (description "Libexttextcat is an N-Gram-Based Text Categorization
358library primarily intended for language guessing.")
359 (license (non-copyleft "file://LICENSE"
360 "See LICENSE in the distribution."))))
ef1c4148
AE
361
362(define-public libfreehand
363 (package
364 (name "libfreehand")
365 (version "0.1.0")
366 (source
367 (origin
368 (method url-fetch)
369 (uri (string-append "http://dev-www.libreoffice.org/src/" name "/"
370 name "-" version ".tar.xz"))
371 (sha256 (base32
372 "01j7mxi4lmf72w1mv2r098p8l0csdd94w2gq0ncp93djn34al6ai"))))
373 (build-system gnu-build-system)
374 (native-inputs
375 `(("doxygen" ,doxygen)
376 ("gperf" ,gperf)
377 ("perl" ,perl)
378 ("pkg-config" ,pkg-config)))
c5b5800b 379 (propagated-inputs ; in Requires or Requires.private field of .pkg
ef1c4148
AE
380 `(("librevenge" ,librevenge)
381 ("zlib" ,zlib)))
382 (home-page "https://wiki.documentfoundation.org/DLP/Libraries/libfreehand")
383 (synopsis "Library for parsing the FreeHand format")
384 (description "Libfreehand is a library that parses the file format of
385Aldus/Macromedia/Adobe FreeHand documents.")
386 (license mpl2.0)))
86e278fc
AE
387
388(define-public libmspub
389 (package
390 (name "libmspub")
391 (version "0.1.2")
392 (source
393 (origin
394 (method url-fetch)
395 (uri (string-append "http://dev-www.libreoffice.org/src/" name "/"
396 name "-" version ".tar.xz"))
397 (sha256 (base32
398 "03sn6lxpr49sdq6j8q7fw7yjybyfahhs03z80388mh105pwapfmh"))))
399 (build-system gnu-build-system)
400 (native-inputs
401 `(("doxygen" ,doxygen)
402 ("pkg-config" ,pkg-config)))
e39cc723
AE
403 (propagated-inputs ; in Requires or Requires.private field of .pkg
404 `(("icu4c" ,icu4c)
86e278fc
AE
405 ("librevenge" ,librevenge)
406 ("zlib" ,zlib)))
e39cc723
AE
407 (inputs
408 `(("boost" ,boost)))
86e278fc
AE
409 (home-page "https://wiki.documentfoundation.org/DLP/Libraries/libmspub")
410 (synopsis "Library for parsing the Microsoft Publisher format")
411 (description "Libmspub is a library that parses the file format of
412Microsoft Publisher documents of all versions.")
413 (license mpl2.0)))
f5d4a138
AE
414
415(define-public libpagemaker
416 (package
417 (name "libpagemaker")
418 (version "0.0.2")
419 (source
420 (origin
421 (method url-fetch)
422 (uri (string-append "http://dev-www.libreoffice.org/src/" name "/"
423 name "-" version ".tar.xz"))
424 (sha256 (base32
425 "05zgj5ngg9z4b7dnrfs59nm0macm99lzyxv4mg53jcvp0mkgigfd"))))
426 (build-system gnu-build-system)
427 (native-inputs
428 `(("doxygen" ,doxygen)
429 ("pkg-config" ,pkg-config)))
86d648ea
AE
430 (native-inputs ; in Requires field of .pkg
431 `(("librevenge" ,librevenge)))
f5d4a138
AE
432 (inputs
433 `(("boost" ,boost)
f5d4a138
AE
434 ("zlib" ,zlib)))
435 (arguments
436 ;; avoid triggering a build failure due to warnings
437 `(#:configure-flags '("--disable-werror")))
438 (home-page "https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker")
439 (synopsis "Library for parsing the PageMaker format")
440 (description "Libpagemaker is a library that parses the file format of
441Aldus/Adobe PageMaker documents. Currently it only understands documents
442created by PageMaker version 6.x and 7.")
443 (license mpl2.0)))
56203284
AE
444
445(define-public libvisio
446 (package
447 (name "libvisio")
448 ;; FIXME: The newer version 0.1.1 fails its tests.
449 (version "0.1.0")
450 (source
451 (origin
452 (method url-fetch)
453 (uri (string-append "http://dev-www.libreoffice.org/src/" name "/"
454 name "-" version ".tar.xz"))
455 (sha256 (base32
456 "0vvd2wyp4rw6s9xnj1dc9vgdpfvm45gnb5b9hhzif0fdnx4iskqf"))))
457 (build-system gnu-build-system)
458 (native-inputs
459 `(("cppunit" ,cppunit)
460 ("doxygen" ,doxygen)
461 ("gperf" ,gperf)
462 ("perl" ,perl)
463 ("pkg-config" ,pkg-config)))
a3be6b8b
AE
464 (propagated-inputs ; in Requires or Requires.private field of .pkg
465 `(("icu4c" ,icu4c)
56203284
AE
466 ("librevenge" ,librevenge)
467 ("libxml2" ,libxml2)))
a3be6b8b
AE
468 (inputs
469 `(("boost" ,boost)))
56203284
AE
470 ;; FIXME: Not needed any more for newer version 0.1.1.
471 (arguments
472 ;; avoid triggering a build failure due to warnings
473 `(#:configure-flags '("--disable-werror")))
474 (home-page "https://wiki.documentfoundation.org/DLP/Libraries/libvisio")
475 (synopsis "Library for parsing the Microsoft Visio format")
476 (description "Libvisio is a library that parses the file format of
477Microsoft Visio documents of all versions.")
478 (license mpl2.0)))
74a63b11
AE
479
480(define-public libodfgen
481 (package
482 (name "libodfgen")
483 (version "0.1.3")
484 (source
485 (origin
486 (method url-fetch)
487 (uri (string-append "http://dev-www.libreoffice.org/src/"
488 name "-" version ".tar.bz2"))
489 (sha256 (base32
490 "074qsav86ixwi9zm1f77g9vxdf1ihm6n930vxjg8q3lwzd8g7lb6"))))
491 (build-system gnu-build-system)
492 (native-inputs
493 `(("doxygen" ,doxygen)
494 ("pkg-config" ,pkg-config)))
3b5199b3
AE
495 (propagated-inputs ; in Requires field of .pkg
496 `(("librevenge" ,librevenge)))
74a63b11
AE
497 (inputs
498 `(("boost" ,boost)
74a63b11
AE
499 ("zlib" ,zlib)))
500 (arguments
501 ;; avoid triggering configure errors by simple inclusion of boost headers
502 `(#:configure-flags '("--disable-werror")))
503 (home-page "http://sourceforge.net/p/libwpd/wiki/libodfgen/")
504 (synopsis "ODF (Open Document Format) library")
505 (description "Libodfgen is a library for generating documents in the
506Open Document Format (ODF). It provides generator implementations for all
507document interfaces supported by librevenge:
508text documents, vector drawings, presentations and spreadsheets.")
509 (license (list mpl2.0 lgpl2.1+)))) ; dual license
1d59b83b
AE
510
511(define-public libmwaw
512 (package
513 (name "libmwaw")
514 (version "0.3.4")
515 (source
516 (origin
517 (method url-fetch)
518 (uri (string-append "mirror://sourceforge/" name "/" name "/"
519 name "-" version ".tar.xz"))
520 (sha256 (base32
521 "1sn95flxrh85qjsg1kk700c1ggxaaccr9j1nnw7x4daw8lky25ac"))))
522 (build-system gnu-build-system)
523 (native-inputs
524 `(("doxygen" ,doxygen)
525 ("pkg-config" ,pkg-config)))
b819182d
AE
526 (propagated-inputs ; in Requires field of .pkg
527 `(("librevenge" ,librevenge)))
1d59b83b
AE
528 (inputs
529 `(("boost" ,boost)
1d59b83b
AE
530 ("zlib" ,zlib)))
531 (arguments
532 ;; avoid triggering configure errors by simple inclusion of boost headers
533 `(#:configure-flags '("--disable-werror")))
534 (home-page "http://sourceforge.net/p/libmwaw/wiki/Home/")
535 (synopsis "Import library for some old Macintosh text documents")
536 (description "Libmwaw contains some import filters for old Macintosh
537text documents (MacWrite, ClarisWorks, ... ) and for some graphics and
538spreadsheet documents.")
539 (license (list mpl2.0 lgpl2.1+)))) ; dual license
82741a8a
AE
540
541(define-public libwps
542 (package
543 (name "libwps")
544 (version "0.3.1")
545 (source
546 (origin
547 (method url-fetch)
548 (uri (string-append "mirror://sourceforge/" name "/" name "/"
549 name "-" version ".tar.xz"))
550 (sha256 (base32
551 "14wfhw1ahavhx4hrdzc4hdwxjlffrm939kswf2x1250jnmyjlb5v"))))
552 (build-system gnu-build-system)
553 (native-inputs
554 `(("doxygen" ,doxygen)
555 ("pkg-config" ,pkg-config)))
556 (inputs
557 `(("boost" ,boost)
558 ("librevenge" ,librevenge)
559 ("zlib" ,zlib)))
560 (arguments
561 ;; avoid triggering configure errors by simple inclusion of boost headers
562 `(#:configure-flags '("--disable-werror")))
563 (home-page "http://libwps.sourceforge.net/")
564 (synopsis "Import library for Microsoft Works text documents")
565 (description "Libwps is a library for importing files in the Microsoft
566Works word processor file format.")
567 (license (list mpl2.0 lgpl2.1+)))) ; dual license
2a9a9441
AE
568
569(define-public hunspell
570 (package
571 (name "hunspell")
572 (version "1.3.3")
573 (source
574 (origin
575 (method url-fetch)
576 (uri (string-append "mirror://sourceforge/" name "/"
577 name "-" version ".tar.gz"))
578 (sha256 (base32
579 "0v14ff9s37vkh45diaddndcrj0hmn67arh8xh8k79q9c1vgc1cm7"))))
580 (build-system gnu-build-system)
581 (home-page "http://hunspell.sourceforge.net/")
582 (synopsis "Spell checker")
583 (description "Hunspell is a spell checker and morphological analyzer
584library and program designed for languages with rich morphology and complex
585word compounding or character encoding.")
586 ;; triple license, including "mpl1.1 or later"
587 (license (list mpl1.1 gpl2+ lgpl2.1+))))
1c625dd3
AE
588
589(define-public hyphen
590 (package
591 (name "hyphen")
592 (version "2.8.8")
593 (source
594 (origin
595 (method url-fetch)
596 (uri (string-append "mirror://sourceforge/hunspell/"
597 name "-" version ".tar.gz"))
598 (sha256 (base32
599 "01ap9pr6zzzbp4ky0vy7i1983fwyqy27pl0ld55s30fdxka3ciih"))))
600 (build-system gnu-build-system)
601 (inputs
602 `(("perl" ,perl)))
603 (home-page "http://hunspell.sourceforge.net/")
604 (synopsis "Hyphenation library")
605 (description "Hyphen is a hyphenation library using TeX hyphenation
606patterns, which are pre-processed by a perl script.")
607 ;; triple license, including "mpl1.1 or later"
608 (license (list mpl1.1 mpl2.0 gpl2+ lgpl2.1+))))
2320ea1a
AE
609
610(define-public mythes
611 (package
612 (name "mythes")
613 (version "1.2.4")
614 (source
615 (origin
616 (method url-fetch)
617 (uri (string-append "mirror://sourceforge/hunspell/"
618 name "-" version ".tar.gz"))
619 (sha256 (base32
620 "0prh19wy1c74kmzkkavm9qslk99gz8h8wmjvwzjc6lf8v2az708y"))))
621 (build-system gnu-build-system)
622 (native-inputs
623 `(("pkg-config" ,pkg-config)))
624 (inputs
625 `(("hunspell" ,hunspell)
626 ("perl" ,perl)))
627 (home-page "http://hunspell.sourceforge.net/")
628 (synopsis "Thesaurus")
629 (description "MyThes is a simple thesaurus that uses a structured text
630data file and an index file with binary search to look up words and phrases
631and to return information on pronunciations, meaningss and synonyms.")
632 (license (non-copyleft "file://COPYING"
633 "See COPYING in the distribution."))))