summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-11-27 17:39:52 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-11-27 21:02:43 +0100
commit426ef5b46f0e826ceb26a2e20d64ecf39cbf7562 (patch)
tree01b674812b56219d41f534c0f84e1a969ea1bcaf /gnu/packages
parent0bb0fdd2f54f7cdde51a7c43ef1079d5803b8083 (diff)
downloadguix-426ef5b46f0e826ceb26a2e20d64ecf39cbf7562.tar.gz
gnu: libreoffice: Update to 7.3.5.2.
* gnu/packages/libreoffice.scm (libreoffice): Update to 7.3.5.2.
[arguments]: Override DRAGONBOX_CFLAGS; set CPPFLAGS to force c++17 during the
configure phase.
[inputs]: Add dragonbox-for-libreoffice, libfixmath, libtiff, and libwebp.
* gnu/packages/hunspell.scm (hunspell-dictionary): Update hash.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/hunspell.scm2
-rw-r--r--gnu/packages/libreoffice.scm18
2 files changed, 15 insertions, 5 deletions
diff --git a/gnu/packages/hunspell.scm b/gnu/packages/hunspell.scm
index 65ff90b4b9..48df196e17 100644
--- a/gnu/packages/hunspell.scm
+++ b/gnu/packages/hunspell.scm
@@ -46,7 +46,7 @@
               (string-append "libreoffice-" version))))
        (file-name (git-file-name "libreoffice-dictionaries" version))
        (sha256
-        (base32 "1qyn56kcn2scdlssjgi5b33hnsh20mmnd60w78z0gp7bs0mv0wcs"))))
+        (base32 "115p29ywyn7ncq664gxmcrrz55v23s34asd2hmrg4ahjp7ycrnmy"))))
     (build-system trivial-build-system)
     (native-inputs
      `(("source" ,source)))
diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index de3c4aa050..530396213a 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -67,6 +67,7 @@
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gperf)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages graphics)
   #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages icu4c)
@@ -1145,7 +1146,7 @@ commonly called @code{ftoa} or @code{dtoa}.")
 (define-public libreoffice
   (package
     (name "libreoffice")
-    (version "7.3.5.2")
+    (version "7.4.3.2")
     (source
      (origin
        (method url-fetch)
@@ -1154,7 +1155,7 @@ commonly called @code{ftoa} or @code{dtoa}.")
          "https://download.documentfoundation.org/libreoffice/src/"
          (version-prefix version 3) "/libreoffice-" version ".tar.xz"))
        (sha256
-        (base32 "14g9873x8m5yakpq7v9f7lhc5fkxh6yhjhgh0pm30cqmxsqhsglv"))))
+        (base32 "0fyvd4ydh72lmn005h190xa563d4h376pi1fx9lfr5i25qcbpg7z"))))
     (build-system glib-or-gtk-build-system)
     (arguments
      (list
@@ -1187,13 +1188,18 @@ commonly called @code{ftoa} or @code{dtoa}.")
                 (("GPGMEPP_CFLAGS=-I/usr/include/gpgme\\+\\+")
                  (string-append "GPGMEPP_CFLAGS=-I"
                                 (search-input-directory inputs
-                                                        "include/gpgme++"))))
+                                                        "include/gpgme++")))
+                (("DRAGONBOX_CFLAGS=-I/usr/include/dragonbox-1.0.0")
+                 (string-append "DRAGONBOX_CFLAGS=-I"
+                                (search-input-directory inputs
+                                                        "include/dragonbox-1.0.0"))))
 
               ;; /usr/bin/xdg-open doesn't exist on Guix System.
               (substitute* '("shell/source/unix/exec/shellexec.cxx"
                              "shell/source/unix/misc/senddoc.sh")
                 (("/usr/bin/xdg-open")
-                 (search-input-file inputs "/bin/xdg-open")))))
+                 (search-input-file inputs "/bin/xdg-open")))
+              (setenv "CPPFLAGS" "-std=c++17")))
           (add-after 'install 'reset-zip-timestamps
             (lambda _
               (for-each (lambda (file)
@@ -1295,6 +1301,7 @@ commonly called @code{ftoa} or @code{dtoa}.")
            clucene
            cups
            dbus-glib
+           dragonbox-for-libreoffice
            firebird
            fontconfig
            fontforge
@@ -1315,6 +1322,7 @@ commonly called @code{ftoa} or @code{dtoa}.")
            libcdr
            libcmis
            libcuckoo
+           libfixmath
            libjpeg-turbo
            libe-book
            libepubgen
@@ -1331,7 +1339,9 @@ commonly called @code{ftoa} or @code{dtoa}.")
            libpagemaker
            libqxp
            libstaroffice
+           libtiff
            libvisio
+           libwebp
            libwpg
            libwps
            libxrandr