all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: guix-devel@gnu.org
Subject: [PATCH 6/6] gnu: libreoffice: Update to 5.1.1.3. [Fixes CVE-2016-{0794, 0795}].
Date: Mon,  7 Mar 2016 12:42:07 +0200	[thread overview]
Message-ID: <1457347327-13748-7-git-send-email-efraim@flashner.co.il> (raw)
In-Reply-To: <1457347327-13748-1-git-send-email-efraim@flashner.co.il>

* gnu/packages/libreoffice.scm (libreoffice): Update to 5.1.1.3.
[inputs]: Remove python, add python-wrapper, gtk+, liblangtag, specify
mdds-0.12.1.
[arguments]: Build without doxygen, manually configure CFLAGS for orcus,
enable liblangtag.
---
 gnu/packages/libreoffice.scm | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index 0195a28..7a6fc39 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -711,7 +711,7 @@ and to return information on pronunciations, meanings and synonyms.")
 (define-public libreoffice
   (package
     (name "libreoffice")
-    (version "5.0.3.2")
+    (version "5.1.1.3")
     (source
      (origin
       (method url-fetch)
@@ -720,7 +720,7 @@ and to return information on pronunciations, meanings and synonyms.")
           "http://download.documentfoundation.org/libreoffice/src/"
           (version-prefix version 3) "/libreoffice-" version ".tar.xz"))
       (sha256 (base32
-               "1gflcsnw7bx02jbb2x5darf56x0qgia03ylaycadk68ikibckybp"))))
+               "0f4fpi5agmz5lbs558d75z0czaa5fc1a7w110lmz1ahdw5vznnic"))))
     (build-system gnu-build-system)
     (native-inputs
      `(;; autoreconf is run by the LibreOffice build system, since after
@@ -747,6 +747,7 @@ and to return information on pronunciations, meanings and synonyms.")
        ("gperf" ,gperf)
        ("graphite2" ,graphite2)
        ("gst-plugins-base" ,gst-plugins-base)
+       ("gtk+" ,gtk+)
        ("gtk+" ,gtk+-2)
        ("harfbuzz" ,harfbuzz)
        ("hunspell" ,hunspell)
@@ -759,6 +760,7 @@ and to return information on pronunciations, meanings and synonyms.")
        ("libetonyek" ,libetonyek)
        ("libexttextcat" ,libexttextcat)
        ("libfreehand" ,libfreehand)
+       ("liblangtag" ,liblangtag)
        ("libmspub" ,libmspub)
        ("libmwaw" ,libmwaw)
        ("libodfgen" ,libodfgen)
@@ -771,7 +773,7 @@ and to return information on pronunciations, meanings and synonyms.")
        ("libxslt" ,libxslt)
        ("libxt" ,libxt)
        ("lpsolve" ,lpsolve)
-       ("mdds" ,mdds)
+       ("mdds" ,mdds-0.12.1)
        ("mythes" ,mythes)
        ("neon" ,neon)
        ("nspr" ,nspr)
@@ -783,7 +785,7 @@ and to return information on pronunciations, meanings and synonyms.")
        ("perl-zip" ,perl-zip)
        ("poppler" ,poppler)
        ("postgresql" ,postgresql)
-       ("python" ,python)
+       ("python" ,python-wrapper)
        ("redland" ,redland)
        ("sane-backends" ,sane-backends)
        ("unixodbc" ,unixodbc)
@@ -799,7 +801,8 @@ and to return information on pronunciations, meanings and synonyms.")
          (modify-phases %standard-phases
            (add-before 'configure 'prepare-src
              (lambda* (#:key inputs #:allow-other-keys)
-               (let ((xmlsec (assoc-ref inputs "xmlsec-src")))
+               (let ((xmlsec (assoc-ref inputs "xmlsec-src"))
+                     (orcus  (assoc-ref inputs "orcus")))
                  (substitute*
                    (list "sysui/CustomTarget_share.mk"
                          "solenv/gbuild/gbuild.mk"
@@ -820,6 +823,10 @@ and to return information on pronunciations, meanings and synonyms.")
                  (setenv "CONFIG_SHELL" (which "bash"))
                  (substitute* "external/libxmlsec/ExternalProject_xmlsec.mk"
                    (("./configure") "$(CONFIG_SHELL) ./configure" ))
+                 ;; pkg-config doesn't pick up orcus, so we need to set the
+                 ;; environmental variables so libreoffice can pick it up.
+                 (setenv "ORCUS_CFLAGS" (string-append orcus "/include"))
+                 (setenv "ORCUS_LIBS" (string-append orcus "/lib -lorcus"))
                  #t)))
            (add-after 'install 'bin-install
              ;; Create a symlink bin/soffice to the executable script.
@@ -854,7 +861,7 @@ and to return information on pronunciations, meanings and synonyms.")
           "--disable-coinmp"
           "--disable-firebird-sdbc" ; embedded firebird
           "--disable-gltf"
-          "--disable-liblangtag")))
+          "--without-doxygen")))
     (home-page "https://www.libreoffice.org/")
     (synopsis "Office suite")
     (description "LibreOffice is a comprehensive office suite.  It contains
-- 
2.7.0

  parent reply	other threads:[~2016-03-07 10:42 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-07 10:42 [PATCH 0/6] Libreoffice CVE and update Efraim Flashner
2016-03-07 10:42 ` [PATCH 1/6] gnu: Add liblangtag Efraim Flashner
2016-03-07 19:30   ` Andreas Enge
2016-03-07 19:43   ` Leo Famulari
2016-03-07 20:23     ` Efraim Flashner
2016-03-07 10:42 ` [PATCH 2/6] gnu: mdds: Update to 1.1.0 Efraim Flashner
2016-03-07 19:41   ` Leo Famulari
2016-03-07 20:00     ` Andreas Enge
2016-03-07 20:27     ` Efraim Flashner
2016-03-07 10:42 ` [PATCH 3/6] gnu: orcus: Update to 0.11.0 Efraim Flashner
2016-03-07 10:42 ` [PATCH 4/6] gnu: ixion: " Efraim Flashner
2016-03-07 10:42 ` [PATCH 5/6] gnu: libetonyek: Update to 0.1.6 Efraim Flashner
2016-03-09  9:50   ` Andreas Enge
2016-03-09 13:35     ` Andreas Enge
2016-03-07 10:42 ` Efraim Flashner [this message]
2016-03-07 19:34 ` [PATCH 0/6] Libreoffice CVE and update Leo Famulari
2016-03-07 20:03 ` Efraim Flashner
2016-03-08  3:56   ` Leo Famulari
2016-03-08  9:05     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457347327-13748-7-git-send-email-efraim@flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.