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 build-system gnu)
22 #:use-module (guix download)
23 #:use-module ((guix licenses)
24 #:select (gpl2+ lgpl2.1+ mpl1.1 mpl2.0
25 non-copyleft x11-style))
26 #:use-module (guix packages)
27 #:use-module (guix utils)
28 #:use-module (gnu packages autotools)
29 #:use-module (gnu packages base)
30 #:use-module (gnu packages bison)
31 #:use-module (gnu packages boost)
32 #:use-module (gnu packages check)
33 #:use-module (gnu packages compression)
34 #:use-module (gnu packages cups)
35 #:use-module (gnu packages curl)
36 #:use-module (gnu packages cyrus-sasl)
37 #:use-module (gnu packages databases)
38 #:use-module (gnu packages doxygen)
39 #:use-module (gnu packages flex)
40 #:use-module (gnu packages fontutils)
41 #:use-module (gnu packages ghostscript)
42 #:use-module (gnu packages gl)
43 #:use-module (gnu packages glib)
44 #:use-module (gnu packages gnome)
45 #:use-module (gnu packages gperf)
46 #:use-module (gnu packages gnuzilla)
47 #:use-module (gnu packages gstreamer)
48 #:use-module (gnu packages gtk)
49 #:use-module (gnu packages icu4c)
50 #:use-module (gnu packages image)
51 #:use-module (gnu packages java)
52 #:use-module (gnu packages linux)
53 #:use-module (gnu packages maths)
54 #:use-module (gnu packages openldap)
55 #:use-module (gnu packages pdf)
56 #:use-module (gnu packages perl)
57 #:use-module (gnu packages pkg-config)
58 #:use-module (gnu packages python)
59 #:use-module (gnu packages rdf)
60 #:use-module (gnu packages scanner)
61 #:use-module (gnu packages tls)
62 #:use-module (gnu packages version-control)
63 #:use-module (gnu packages xml)
64 #:use-module (gnu packages xorg)
65 #:use-module (gnu packages zip))
74 (uri (string-append "http://kohei.us/files/ixion/src/libixion-"
77 "18g3nk29ljiqbyi0ml49j2x3f3xrqckdm9i66sw5fxnj7hb5rqvp"))))
78 (build-system gnu-build-system)
80 `(("pkg-config" ,pkg-config)))
83 ("python" ,python-2))) ; looks for python.pc, not python3.pc
84 (home-page "https://gitlab.com/ixion/ixion")
85 (synopsis "General purpose formula parser and interpreter")
86 (description "Ixion is a library for calculating the results of formula
87 expressions stored in multiple named targets, or \"cells\". The cells can
88 be referenced from each other, and the library takes care of resolving
89 their dependencies automatically upon calculation.")
99 (uri (string-append "http://kohei.us/files/" name "/src/lib"
100 name "-" version ".tar.xz"))
102 "0hva4qalg3dk6n1118ncr5fy8cqnj2f7fwldw7aa04124rj6p104"))))
103 (build-system gnu-build-system)
105 `(("pkg-config" ,pkg-config)))
110 (home-page "https://gitlab.com/orcus/orcus")
111 (synopsis "File import filter library for spreadsheet documents")
112 (description "Orcus is a library that provides a collection of standalone
113 file processing filters. It is currently focused on providing filters for
114 spreadsheet documents. The library includes import filters for
115 Microsoft Excel 2007 XML, Microsoft Excel 2003 XML, Open Document Spreadsheet,
116 Plain Text, Gnumeric XML, Generic XML. It also includes low-level parsers for
120 (define-public librevenge
127 (uri (string-append "mirror://sourceforge/libwpd/" name "/" name "-"
130 "03ygxyb0vfjv8raif5q62sl33b54wkr5rzgadb8slijm6k281wpn"))))
131 (build-system gnu-build-system)
136 ("pkg-config" ,pkg-config)))
140 ;; avoid triggering configure errors by simple inclusion of boost headers
141 `(#:configure-flags '("--disable-werror")))
142 (home-page "http://sourceforge.net/p/libwpd/wiki/librevenge/")
143 (synopsis "Document importer for office suites")
144 (description "Librevenge is a base library for writing document import
145 filters. It has interfaces for text documents, vector graphics,
146 spreadsheets and presentations.")
147 (license (list mpl2.0 lgpl2.1+)))) ;dual licensed
149 (define-public libwpd
156 (uri (string-append "mirror://sourceforge/libwpd/" name "/" name "-"
159 "0b6krzr6kxzm89g6bapn805kdayq70hn16n5b5wfs2lwrf0ag2wx"))))
160 (build-system gnu-build-system)
162 `(("doxygen" ,doxygen)
163 ("pkg-config" ,pkg-config)))
165 `(("librevenge" ,librevenge))) ; in Requires field of .pkg
168 (home-page "http://libwpd.sourceforge.net/")
169 (synopsis "Library for importing WordPerfect documents")
170 (description "Libwpd is a C++ library designed to help process
171 WordPerfect documents. It is most commonly used to import such documents
172 into other word processors.")
173 (license (list mpl2.0 lgpl2.1+)))) ;dual licensed
175 (define-public libe-book
182 (uri (string-append "mirror://sourceforge/libebook/libe-book-"
183 version "/libe-book-" version ".tar.xz"))
186 "1v48pd32r2pfysr3a3igc4ivcf6vvb26jq4pdkcnq75p70alp2bz"))))
187 (build-system gnu-build-system)
189 `(("cppunit" ,cppunit)
191 ("pkg-config" ,pkg-config)))
192 (propagated-inputs ; in Requires or Requires.private field of .pkg
194 ("librevenge" ,librevenge)
195 ("libxml2" ,libxml2)))
199 ;; avoid triggering configure errors by simple inclusion of boost headers
200 `(#:configure-flags '("--disable-werror")))
201 (home-page "http://libebook.sourceforge.net")
202 (synopsis "Library for import of reflowable e-book formats")
203 (description "Libe-book is a library and a set of tools for reading and
204 converting various reflowable e-book formats. Currently supported are:
205 Broad Band eBook, eReader .pdb, FictionBook v. 2 (including zipped files),
206 PalmDoc Ebook, Plucker .pdb, QiOO (mobile format, for java-enabled
207 cellphones), TCR (simple compressed text format), TealDoc, zTXT,
208 ZVR (simple compressed text format).")
211 (define-public libwpg
218 (uri (string-append "mirror://sourceforge/libwpg/" name "/" name "-"
221 "097jx8a638fwwfrzf6v29r1yhc34rq9526py7wf0ck2z4fcr2w3g"))))
222 (build-system gnu-build-system)
224 `(("doxygen" ,doxygen)
225 ("pkg-config" ,pkg-config)))
227 `(("libwpd" ,libwpd))) ; in Requires field of .pkg
231 (home-page "http://libwpg.sourceforge.net/")
232 (synopsis "Library and tools for the WordPerfect Graphics format")
233 (description "The libwpg project provides a library and tools for
234 working with graphics in the WPG (WordPerfect Graphics) format.")
235 (license (list mpl2.0 lgpl2.1+)))) ;dual licensed
237 (define-public libcmis
244 (uri (string-append "mirror://sourceforge/" name "/" name "-"
247 "1dprvk4fibylv24l7gr49gfqbkfgmxynvgssvdcycgpf7n8h4zm8"))))
248 (build-system gnu-build-system)
250 `(("cppunit" ,cppunit)
251 ("pkg-config" ,pkg-config)))
252 (propagated-inputs ; in Requires field of .pkg
254 ("libxml2" ,libxml2)))
257 ("cyrus-sasl" ,cyrus-sasl)
258 ("openssl" ,openssl)))
262 ;; FIXME: Man pages generation requires docbook-to-man; reenable
263 ;; it once this is available.
265 ;; avoid triggering configure errors by simple inclusion of
268 ;; During configure, the boost headers are found, but linking
269 ;; fails without the following flag.
270 (string-append "--with-boost="
271 (assoc-ref %build-inputs "boost")))))
272 (home-page "http://sourceforge.net/projects/libcmis/")
273 (synopsis "CMIS client library")
274 (description "LibCMIS is a C++ client library for the CMIS interface. It
275 allows C++ applications to connect to any ECM behaving as a CMIS server such
276 as Alfresco or Nuxeo.")
277 (license (list mpl1.1 gpl2+ lgpl2.1+)))) ; triple license
279 (define-public libabw
286 (uri (string-append "http://dev-www.libreoffice.org/src/" name "/"
287 name "-" version ".tar.xz"))
289 "0zi1zj4fpxgpglbbb5n1kg3dmhqq5rpf46lli89r5daavp19iing"))))
290 (build-system gnu-build-system)
292 `(("doxygen" ,doxygen)
295 ("pkg-config" ,pkg-config)))
296 (propagated-inputs ; in Requires or Requires.private field of .pkg
297 `(("librevenge" ,librevenge)
298 ("libxml2" ,libxml2)))
302 ;; avoid triggering configure errors by simple inclusion of boost headers
303 `(#:configure-flags '("--disable-werror")))
304 (home-page "https://wiki.documentfoundation.org/DLP/Libraries/libabw")
305 (synopsis "Library for parsing the AbiWord format")
306 (description "Libabw is a library that parses the file format of
310 (define-public libcdr
317 (uri (string-append "http://dev-www.libreoffice.org/src/" name "/"
318 name "-" version ".tar.xz"))
320 "07yzb1yr5kzv0binzj5swz3zzay2gw3xb0fbkc2zwdssgrkf19nh"))))
321 (build-system gnu-build-system)
323 `(("doxygen" ,doxygen)
324 ("pkg-config" ,pkg-config)))
325 (propagated-inputs ; in Requires or Requires.private field of .pkg
328 ("librevenge" ,librevenge)
333 ;; avoid triggering a build failure due to warnings
334 `(#:configure-flags '("--disable-werror")))
335 (home-page "https://wiki.documentfoundation.org/DLP/Libraries/libcdr")
336 (synopsis "Library for parsing the CorelDRAW format")
337 (description "Libcdr is a library that parses the file format of
338 CorelDRAW documents of all versions.")
341 (define-public libetonyek
348 (uri (string-append "http://dev-www.libreoffice.org/src/" name "/"
349 name "-" version ".tar.xz"))
351 "0gn8v24jb9r9kxppbws6xlc7knpd9mk2n9xjvziccv5f2l7mlslw"))))
352 (build-system gnu-build-system)
354 `(("cppunit" ,cppunit)
357 ("pkg-config" ,pkg-config)))
358 (propagated-inputs ; in Requires or Requires.private field of .pkg
359 `(("librevenge" ,librevenge)
360 ("libxml2" ,libxml2)))
363 (home-page "https://wiki.documentfoundation.org/DLP/Libraries/libetonyek")
364 (synopsis "Library for parsing the Apple Keynote format")
365 (description "Libetonyek is a library that parses the file format of
366 Apple Keynote documents. It currently supports Keynote versions 2 to 5.")
369 (define-public libexttextcat
371 (name "libexttextcat")
376 (uri (string-append "http://dev-www.libreoffice.org/src/" name "/"
377 name "-" version ".tar.xz"))
379 "14v2hkygnmf1zgahfm1fha47cr67iikrz2ymiqi28d2jydn0hk7j"))))
380 (build-system gnu-build-system)
381 (home-page "http://www.freedesktop.org/wiki/Software/libexttextcat/")
382 (synopsis "Text Categorization library")
383 (description "Libexttextcat is an N-Gram-Based Text Categorization
384 library primarily intended for language guessing.")
385 (license (non-copyleft "file://LICENSE"
386 "See LICENSE in the distribution."))))
388 (define-public libfreehand
395 (uri (string-append "http://dev-www.libreoffice.org/src/" name "/"
396 name "-" version ".tar.xz"))
398 "01j7mxi4lmf72w1mv2r098p8l0csdd94w2gq0ncp93djn34al6ai"))))
399 (build-system gnu-build-system)
401 `(("doxygen" ,doxygen)
404 ("pkg-config" ,pkg-config)))
405 (propagated-inputs ; in Requires or Requires.private field of .pkg
406 `(("librevenge" ,librevenge)
408 (home-page "https://wiki.documentfoundation.org/DLP/Libraries/libfreehand")
409 (synopsis "Library for parsing the FreeHand format")
410 (description "Libfreehand is a library that parses the file format of
411 Aldus/Macromedia/Adobe FreeHand documents.")
414 (define-public libmspub
421 (uri (string-append "http://dev-www.libreoffice.org/src/" name "/"
422 name "-" version ".tar.xz"))
424 "03sn6lxpr49sdq6j8q7fw7yjybyfahhs03z80388mh105pwapfmh"))))
425 (build-system gnu-build-system)
427 `(("doxygen" ,doxygen)
428 ("pkg-config" ,pkg-config)))
429 (propagated-inputs ; in Requires or Requires.private field of .pkg
431 ("librevenge" ,librevenge)
435 (home-page "https://wiki.documentfoundation.org/DLP/Libraries/libmspub")
436 (synopsis "Library for parsing the Microsoft Publisher format")
437 (description "Libmspub is a library that parses the file format of
438 Microsoft Publisher documents of all versions.")
441 (define-public libpagemaker
443 (name "libpagemaker")
448 (uri (string-append "http://dev-www.libreoffice.org/src/" name "/"
449 name "-" version ".tar.xz"))
451 "05zgj5ngg9z4b7dnrfs59nm0macm99lzyxv4mg53jcvp0mkgigfd"))))
452 (build-system gnu-build-system)
454 `(("doxygen" ,doxygen)
455 ("pkg-config" ,pkg-config)))
456 (propagated-inputs ; in Requires field of .pkg
457 `(("librevenge" ,librevenge)))
462 ;; avoid triggering a build failure due to warnings
463 `(#:configure-flags '("--disable-werror")))
464 (home-page "https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker")
465 (synopsis "Library for parsing the PageMaker format")
466 (description "Libpagemaker is a library that parses the file format of
467 Aldus/Adobe PageMaker documents. Currently it only understands documents
468 created by PageMaker version 6.x and 7.")
471 (define-public libvisio
474 ;; FIXME: The newer version 0.1.1 fails its tests.
479 (uri (string-append "http://dev-www.libreoffice.org/src/" name "/"
480 name "-" version ".tar.xz"))
482 "0vvd2wyp4rw6s9xnj1dc9vgdpfvm45gnb5b9hhzif0fdnx4iskqf"))))
483 (build-system gnu-build-system)
485 `(("cppunit" ,cppunit)
489 ("pkg-config" ,pkg-config)))
490 (propagated-inputs ; in Requires or Requires.private field of .pkg
492 ("librevenge" ,librevenge)
493 ("libxml2" ,libxml2)))
496 ;; FIXME: Not needed any more for newer version 0.1.1.
498 ;; avoid triggering a build failure due to warnings
499 `(#:configure-flags '("--disable-werror")))
500 (home-page "https://wiki.documentfoundation.org/DLP/Libraries/libvisio")
501 (synopsis "Library for parsing the Microsoft Visio format")
502 (description "Libvisio is a library that parses the file format of
503 Microsoft Visio documents of all versions.")
506 (define-public libodfgen
513 (uri (string-append "http://dev-www.libreoffice.org/src/"
514 name "-" version ".tar.bz2"))
516 "074qsav86ixwi9zm1f77g9vxdf1ihm6n930vxjg8q3lwzd8g7lb6"))))
517 (build-system gnu-build-system)
519 `(("doxygen" ,doxygen)
520 ("pkg-config" ,pkg-config)))
521 (propagated-inputs ; in Requires field of .pkg
522 `(("librevenge" ,librevenge)))
527 ;; avoid triggering configure errors by simple inclusion of boost headers
528 `(#:configure-flags '("--disable-werror")))
529 (home-page "http://sourceforge.net/p/libwpd/wiki/libodfgen/")
530 (synopsis "ODF (Open Document Format) library")
531 (description "Libodfgen is a library for generating documents in the
532 Open Document Format (ODF). It provides generator implementations for all
533 document interfaces supported by librevenge:
534 text documents, vector drawings, presentations and spreadsheets.")
535 (license (list mpl2.0 lgpl2.1+)))) ; dual license
537 (define-public libmwaw
544 (uri (string-append "mirror://sourceforge/" name "/" name "/"
545 name "-" version ".tar.xz"))
547 "1sn95flxrh85qjsg1kk700c1ggxaaccr9j1nnw7x4daw8lky25ac"))))
548 (build-system gnu-build-system)
550 `(("doxygen" ,doxygen)
551 ("pkg-config" ,pkg-config)))
552 (propagated-inputs ; in Requires field of .pkg
553 `(("librevenge" ,librevenge)))
558 ;; avoid triggering configure errors by simple inclusion of boost headers
559 `(#:configure-flags '("--disable-werror")))
560 (home-page "http://sourceforge.net/p/libmwaw/wiki/Home/")
561 (synopsis "Import library for some old Macintosh text documents")
562 (description "Libmwaw contains some import filters for old Macintosh
563 text documents (MacWrite, ClarisWorks, ... ) and for some graphics and
564 spreadsheet documents.")
565 (license (list mpl2.0 lgpl2.1+)))) ; dual license
567 (define-public libwps
574 (uri (string-append "mirror://sourceforge/" name "/" name "/"
575 name "-" version ".tar.xz"))
577 "14wfhw1ahavhx4hrdzc4hdwxjlffrm939kswf2x1250jnmyjlb5v"))))
578 (build-system gnu-build-system)
580 `(("doxygen" ,doxygen)
581 ("pkg-config" ,pkg-config)))
582 (propagated-inputs ; in Requires field of .pkg
583 `(("librevenge" ,librevenge)))
588 ;; avoid triggering configure errors by simple inclusion of boost headers
589 `(#:configure-flags '("--disable-werror")))
590 (home-page "http://libwps.sourceforge.net/")
591 (synopsis "Import library for Microsoft Works text documents")
592 (description "Libwps is a library for importing files in the Microsoft
593 Works word processor file format.")
594 (license (list mpl2.0 lgpl2.1+)))) ; dual license
596 (define-public hunspell
603 (uri (string-append "mirror://sourceforge/" name "/"
604 name "-" version ".tar.gz"))
606 "0v14ff9s37vkh45diaddndcrj0hmn67arh8xh8k79q9c1vgc1cm7"))))
607 (build-system gnu-build-system)
608 (home-page "http://hunspell.sourceforge.net/")
609 (synopsis "Spell checker")
610 (description "Hunspell is a spell checker and morphological analyzer
611 library and program designed for languages with rich morphology and complex
612 word compounding or character encoding.")
613 ;; triple license, including "mpl1.1 or later"
614 (license (list mpl1.1 gpl2+ lgpl2.1+))))
616 (define-public hyphen
623 (uri (string-append "mirror://sourceforge/hunspell/"
624 name "-" version ".tar.gz"))
626 "01ap9pr6zzzbp4ky0vy7i1983fwyqy27pl0ld55s30fdxka3ciih"))))
627 (build-system gnu-build-system)
630 (home-page "http://hunspell.sourceforge.net/")
631 (synopsis "Hyphenation library")
632 (description "Hyphen is a hyphenation library using TeX hyphenation
633 patterns, which are pre-processed by a perl script.")
634 ;; triple license, including "mpl1.1 or later"
635 (license (list mpl1.1 mpl2.0 gpl2+ lgpl2.1+))))
637 (define-public mythes
644 (uri (string-append "mirror://sourceforge/hunspell/"
645 name "-" version ".tar.gz"))
647 "0prh19wy1c74kmzkkavm9qslk99gz8h8wmjvwzjc6lf8v2az708y"))))
648 (build-system gnu-build-system)
650 `(("pkg-config" ,pkg-config)))
652 `(("hunspell" ,hunspell)
654 (home-page "http://hunspell.sourceforge.net/")
655 (synopsis "Thesaurus")
656 (description "MyThes is a simple thesaurus that uses a structured text
657 data file and an index file with binary search to look up words and phrases
658 and to return information on pronunciations, meaningss and synonyms.")
659 (license (non-copyleft "file://COPYING"
660 "See COPYING in the distribution."))))
662 ;; LibreOffice requires an xmlsec source tarball; it does not even check
663 ;; for the presence of an externally compiled library.
664 (define xmlsec-src-libreoffice
669 "http://dev-www.libreoffice.org/src/"
670 "1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz"))
672 "0jnxxygg6z5zi6za94dvxmg1bfar1wh8p5xa2bzbha0qcn2m02ir"))))
674 (define-public libreoffice
683 "http://download.documentfoundation.org/libreoffice/src/"
684 (version-prefix version 3) "/libreoffice-" version ".tar.xz"))
686 "0rl9x01ngxwnqwzxkrqy4vks4rb024m75z0w4zidwyp0az0m8qdd"))))
687 (build-system gnu-build-system)
689 `(;; autoreconf is run by the LibreOffice build system, since after
690 ;; unpacking the external xmlsec tarball, it applies a series of
691 ;; patches to Makefile.am, configure.in, config.guess and config.sub.
692 ("autoconf" ,autoconf)
693 ("automake" ,automake)
697 ("pkg-config" ,pkg-config)
705 ("dbus-glib" ,dbus-glib)
706 ("fontconfig" ,fontconfig)
711 ("graphite2" ,graphite2)
712 ("gst-plugins-base" ,gst-plugins-base)
714 ("harfbuzz" ,harfbuzz)
715 ("hunspell" ,hunspell)
721 ("libe-book" ,libe-book)
722 ("libetonyek" ,libetonyek)
723 ("libexttextcat" ,libexttextcat)
724 ("libfreehand" ,libfreehand)
725 ("libmspub" ,libmspub)
727 ("libodfgen" ,libodfgen)
728 ("libpagemaker" ,libpagemaker)
729 ("libvisio" ,libvisio)
732 ("libxrandr" ,libxrandr)
733 ("libxrender" ,libxrender)
742 ("openldap" ,openldap)
746 ("perl-zip" ,perl-zip)
748 ("postgresql" ,postgresql)
751 ("sane-backends" ,sane-backends)
752 ("unixodbc" ,unixodbc)
755 ("xmlsec-src" ,xmlsec-src-libreoffice)
758 `(#:parallel-build? #f ; Otherwise the build fails.
759 #:tests? #f ; Building the tests already fails.
760 #:make-flags '("build-nocheck") ; Do not build unit tests, which fails.
762 (modify-phases %standard-phases
763 (add-before 'configure 'prepare-src
764 (lambda* (#:key inputs #:allow-other-keys)
765 (let ((xmlsec (assoc-ref inputs "xmlsec-src")))
767 (list "sysui/CustomTarget_share.mk"
768 "solenv/gbuild/gbuild.mk"
769 "solenv/gbuild/platform/unxgcc.mk"
770 "external/libxmlsec/xmlsec1-oldlibtool.patch")
771 (("/bin/sh") (which "bash")))
772 (mkdir "external/tarballs")
775 (string-append "external/tarballs/"
776 "1f24ab1d39f4a51faf22244c94a6203f-"
777 "xmlsec1-1.2.14.tar.gz"))
778 ;; The following is required for building xmlsec from the
779 ;; unpatched external tarball; since "configure" starts with
780 ;; "/bin/sh", it needs to be executed by a command invoking
782 (setenv "SHELL" (which "bash"))
783 (setenv "CONFIG_SHELL" (which "bash"))
784 (substitute* "external/libxmlsec/ExternalProject_xmlsec.mk"
785 (("./configure") "$(CONFIG_SHELL) ./configure" ))
787 (add-after 'install 'bin-install
788 ;; Create a symlink bin/soffice to the executable script.
789 (lambda* (#:key outputs #:allow-other-keys)
790 (let* ((out (assoc-ref outputs "out"))
791 (bin (string-append out "/bin")))
794 (string-append out "/lib/libreoffice/program/soffice")
795 (string-append bin "/soffice")))
799 "--enable-release-build"
801 "--without-parallelism" ; otherwise the build fails
802 "--disable-fetch-external" ; disable downloads
803 "--with-system-libs" ; enable all --with-system-* flags
804 (string-append "--with-boost-libdir="
805 (assoc-ref %build-inputs "boost") "/lib")
806 ;; Avoid a dependency on ucpp.
807 "--with-idlc-cpp=cpp"
808 ;; The fonts require an external tarball (crosextrafonts).
809 ;; They should not be needed when system fonts are available.
811 ;; With java, the build fails since sac.jar is missing.
813 ;; FIXME: Enable once the corresponding inputs are packaged.
814 "--without-system-npapi-headers"
816 "--disable-firebird-sdbc" ; embedded firebird
818 "--disable-liblangtag")))
819 (home-page "https://www.libreoffice.org/")
820 (synopsis "Office suite")
821 (description "LibreOffice is a comprehensive office suite. It contains
822 a number of components: Writer, a word processor; Calc, a spreadsheet
823 application; Impress, a presentation engine; Draw, a drawing and
824 flowcharting application; Base, a database and database frontend;
825 Math for editing mathematics.")