guix-commits
[Top][All Lists]
Advanced

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

05/05: gnu: libreoffice: Fix build with MDDS 1.4 and Orcus 0.14.


From: guix-commits
Subject: 05/05: gnu: libreoffice: Fix build with MDDS 1.4 and Orcus 0.14.
Date: Sun, 25 Nov 2018 11:31:00 -0500 (EST)

mbakke pushed a commit to branch core-updates
in repository guix.

commit b01e89593da524f131d3c38a9ac0eb95467455f0
Author: Marius Bakke <address@hidden>
Date:   Fri Nov 23 22:00:42 2018 +0100

    gnu: libreoffice: Fix build with MDDS 1.4 and Orcus 0.14.
    
    * gnu/packages/libreoffice.scm (libreoffice)[source](patches): Add two 
patches
    from Arch Linux.
    [arguments]: Add substitutions so the libraries are found.
---
 gnu/packages/libreoffice.scm | 37 +++++++++++++++++++++++++++++++++++--
 1 file changed, 35 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index 9d68ca8..45e2f63 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -959,8 +959,34 @@ converting QuarkXPress file format.  It supports versions 
3.1 to 4.1.")
        (sha256
         (base32
          "0i4gf3qi16fg7dxq2l4vhkwh4f5lx7xd1ilpzcw26vccqkv3hvyl"))
-       (patches (search-patches "libreoffice-icu.patch"
-                                "libreoffice-glm.patch"))))
+       (patches
+        (append (list (origin
+                        ;; Support newer versions of Orcus and MDDS.  These 
patches
+                        ;; are taken from upstream, but we use the patches 
from Arch
+                        ;; because they are adapted for the release tarball.
+                        ;; Note: remove the related substitutions below when 
these
+                        ;; are no longer needed.
+                        (method url-fetch)
+                        (uri (string-append 
"https://git.archlinux.org/svntogit";
+                                            "/packages.git/plain/trunk/"
+                                            
"0001-Update-orcus-to-0.14.0.patch?&id="
+                                            
"4002fa927f2a143bd2ec008a0c400b2ce9f2c8a7"))
+                        (file-name "libreoffice-orcus.patch")
+                        (sha256
+                         (base32
+                          
"0v1knblrmfzkb4g9pm5mdnrmjib59bznvca1ygbwlap2ln1h4mk0")))
+                      (origin
+                        (method url-fetch)
+                        (uri (string-append 
"https://git.archlinux.org/svntogit";
+                                            "/packages.git/plain/trunk/"
+                                            
"0001-Update-mdds-to-1.4.1.patch?&id="
+                                            
"4002fa927f2a143bd2ec008a0c400b2ce9f2c8a7"))
+                        (file-name "libreoffice-mdds.patch")
+                        (sha256
+                         (base32
+                          
"0apbmammmp4pk473xiv5vk50r4c5gjvqzf9jkficksvz58q6114f"))))
+                (search-patches "libreoffice-icu.patch"
+                                "libreoffice-glm.patch")))))
     (build-system glib-or-gtk-build-system)
     (native-inputs
      `(("bison" ,bison)
@@ -1049,6 +1075,13 @@ converting QuarkXPress file format.  It supports 
versions 3.1 to 4.1.")
                          "solenv/gbuild/platform/unxgcc.mk")
                  (("/bin/sh") (which "sh")))
 
+               ;; XXX: Adjust the checks for MDDS and liborcus to avoid having
+               ;; to re-bootstrap the whole thing.  Remove this with the 
related
+               ;; patches above.
+               (substitute* "configure"
+                 (("mdds-1.2 >= 1.2.3") "mdds-1.4 >= 1.4.1")
+                 (("liborcus-0.13 >= 0.13.3") "liborcus-0.14 >= 0.14.0"))
+
                ;; GPGME++ headers are installed in a gpgme++ subdirectory, but
                ;; files in "xmlsecurity/source/gpg/" and elsewhere expect to
                ;; find them on the include path without a prefix.



reply via email to

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