GNU bug report logs - #73439
[PATCH 00/10] Update libreoffice to its latest version.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Mon, 23 Sep 2024 12:23:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #59 received at 73439 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 73439 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>, liliana.priker <at> gmail.com
Subject: [PATCH v2 5/5] gnu: Add libreoffice-lts.
Date: Wed, 25 Sep 2024 09:40:39 +0200
* gnu/packages/libreoffice.scm (libreoffice-lts): New variable.

Change-Id: Ic4f9fa958f52306d5e431684055f8d37e7b2003c
---
 gnu/packages/libreoffice.scm | 30 ++++++++++++++++++++++--------
 1 file changed, 22 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index 2d038cdf0d..4f0d9cbad1 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -890,6 +890,15 @@ (define dtoa
     (sha256
      (base32 "1d0iwy0q5sjznv23d3nbwmy0r7m1mdzlnv5pc4izddkx9xld10h0"))))
 
+(define (libreoffice-url version)
+  (list
+   (string-append
+    "https://download.documentfoundation.org/libreoffice/src/"
+    (version-prefix version 3) "/libreoffice-" version ".tar.xz")
+   (string-append
+    "https://downloadarchive.documentfoundation.org/libreoffice/old/"
+    version "/src/libreoffice-" version ".tar.xz")))
+
 (define-public libreoffice
   (package
     (name "libreoffice")
@@ -897,14 +906,7 @@ (define-public libreoffice
     (source
      (origin
        (method url-fetch)
-       (uri
-        (list
-         (string-append
-          "https://download.documentfoundation.org/libreoffice/src/"
-          (version-prefix version 3) "/libreoffice-" version ".tar.xz")
-         (string-append
-          "https://downloadarchive.documentfoundation.org/libreoffice/old/"
-          version "/src/libreoffice-" version ".tar.xz")))
+       (uri (libreoffice-url version))
        (sha256
         (base32 "1rqii01i0295ch2xc9mddqpvlpjapk3m6nra4mhxfc38da1qci48"))))
     (build-system glib-or-gtk-build-system)
@@ -1197,3 +1199,15 @@ (define (install-python-script name)
      '((release-monitoring-url
         . "https://www.libreoffice.org/download/download-libreoffice/")))
     (license license:mpl2.0)))
+
+(define-public libreoffice-lts
+  (package
+    (inherit libreoffice)
+    (name "libreoffice")
+    (version "24.2.6.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (libreoffice-url version))
+       (sha256
+        (base32 "1cqxw745kzm81b2nvfpl5n2sq1k9y25y596wvjsnaq394bq4vspn"))))))
-- 
2.46.0





This bug report was last modified 172 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.