guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/05: gnu: libreoffice: Update to 7.3.5.2.


From: guix-commits
Subject: 05/05: gnu: libreoffice: Update to 7.3.5.2.
Date: Sun, 27 Nov 2022 15:03:13 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 426ef5b46f0e826ceb26a2e20d64ecf39cbf7562
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Nov 27 17:39:52 2022 +0100

    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.
---
 gnu/packages/hunspell.scm    |  2 +-
 gnu/packages/libreoffice.scm | 18 ++++++++++++++----
 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]