[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/07: gnu: texlive-lualibs: Take sources from TeX Live SVN.
From: |
guix-commits |
Subject: |
06/07: gnu: texlive-lualibs: Take sources from TeX Live SVN. |
Date: |
Mon, 10 Jan 2022 08:37:55 -0500 (EST) |
rekado pushed a commit to branch wip-texlive
in repository guix.
commit 51934c5415852e680f328abb4f29173ef080076a
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Jan 10 13:54:57 2022 +0100
gnu: texlive-lualibs: Take sources from TeX Live SVN.
* gnu/packages/tex.scm (texlive-luatex-lualibs): Deprecate this variable...
(texlive-lualibs): ...in favor of this new variable.
[source]: Take source code from TeX Live SVN because it must match the rest
of
the LuaTeX distribution.
---
gnu/packages/tex.scm | 44 ++++++++++++++++----------------------------
1 file changed, 16 insertions(+), 28 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 18644f3c62..4652c52e35 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3680,35 +3680,21 @@ releases. The bundle consists of a Lua script to run
the tasks and a
@code{.tex} file which provides the testing environment.")
(license license:lppl1.3c+))))
-;; The SVN directory contains little more than a dtx file that generates three
-;; of the many lua files that should be installed as part of this package.
-;; This is why we take the release from GitHub instead.
-(define-public texlive-luatex-lualibs
+(define-public texlive-lualibs
(package
- (name "texlive-luatex-lualibs")
- (version "2.5")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/lualatex/lualibs/"
- "releases/download/v"
- version "/lualibs.zip"))
- (file-name (string-append name "-" version ".zip"))
- (sha256
- (base32
- "1xx9blvrmx9hyhrl345lpai9m6xxnw997261a1ahn1bm5r2j5fqy"))))
- (build-system gnu-build-system)
- (arguments
- `(#:make-flags
- (list (string-append "DESTDIR="
- (assoc-ref %outputs "out")
- "/share/texmf-dist"))
- #:phases
- (modify-phases %standard-phases
- (delete 'configure))))
- (native-inputs
- (list texlive-bin unzip zip))
- (home-page "https://github.com/lualatex/lualibs")
- (synopsis "Lua modules for general programming (in the (La)TeX world)")
+ (inherit
+ (simple-texlive-package
+ "texlive-lualibs"
+ (list "doc/luatex/lualibs/"
+ "source/luatex/lualibs/"
+ "tex/luatex/lualibs/")
+ (base32 "0gf60vj9y75a7dlrmpbyqgsa00s1717r6if3lm5ldm41i9fm8ywz")
+ ;; The source dtx file only unpacks three files. This is why we
+ ;; install all the files as they are, because there is no clear
+ ;; way to generate them all.
+ #:trivial? #true))
+ (home-page "https://ctan.org/macros/luatex/generic/lualibs")
+ (synopsis "Additional Lua functions for LuaTeX macro programmers")
(description
"Lualibs is a collection of Lua modules useful for general programming.
The bundle is based on Lua modules shipped with ConTeXt, and made available in
@@ -3716,6 +3702,8 @@ this bundle for use independent of ConTeXt.")
;; GPL version 2 only
(license license:gpl2)))
+(define-deprecated-package texlive-luatex-lualibs texlive-lualibs)
+
(define-public texlive-lua-alt-getopt
(package
(inherit
- branch wip-texlive updated (85633573e4 -> c97bf96648), guix-commits, 2022/01/10
- 01/07: import: texlive: Remove more specific entries with the same prefix., guix-commits, 2022/01/10
- 07/07: gnu: texlive-bin: Link lualatex to luahbtex., guix-commits, 2022/01/10
- 06/07: gnu: texlive-lualibs: Take sources from TeX Live SVN.,
guix-commits <=
- 02/07: import: texlive: Update error message., guix-commits, 2022/01/10
- 03/07: gnu: texlive-latex-base: Remove trailing #T., guix-commits, 2022/01/10
- 04/07: gnu: Add texlive-lua-alt-getopt., guix-commits, 2022/01/10
- 05/07: gnu: texlive-luaotfload: Propagate texlive-lua-alt-getopt., guix-commits, 2022/01/10