guix-commits
[Top][All Lists]
Advanced

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

312/435: gnu: texlive-luaotfload: Refresh package definition.


From: guix-commits
Subject: 312/435: gnu: texlive-luaotfload: Refresh package definition.
Date: Tue, 6 Jun 2023 11:40:15 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit 5845e3091b1b9ce69a01c5a53bb1feeff9bc674c
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 16 22:01:07 2023 +0200

    gnu: texlive-luaotfload: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-luaotfload): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-LM.
---
 gnu/packages/tex.scm | 46 +++++++++++++++++++++++-----------------------
 1 file changed, 23 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 55f9705af4..320b6fc3a6 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4609,33 +4609,33 @@ upgrade smoothly to the new support structure.")
 ;; TODO: We should be able to build this from the sources on Github with
 ;; texlive-l3build, but I haven't been able to get it to work.
 (define-public texlive-luaotfload
-  (let ((template (simple-texlive-package
-                   "texlive-luaotfload"
-                   (list "/doc/luatex/luaotfload/"
-                         "/doc/man/man1/luaotfload-tool.1"
-                         "/doc/man/man5/luaotfload.conf.5"
-                         
"/source/luatex/luaotfload/fontloader-reference-load-order.lua"
-                         
"/source/luatex/luaotfload/fontloader-reference-load-order.tex"
-                         "/scripts/luaotfload/luaotfload-tool.lua"
-                         "/tex/luatex/luaotfload/")
-                   (base32
-                    "10wznvxx3qsl88n560py5vyx5r3a3914anbqfhwcmhmwg097xxl4")
-                   #:trivial? #t)))
-    (package
-      (inherit template)
-      (propagated-inputs
-       (list texlive-lua-alt-getopt ;for luaotfload-tool
-             texlive-lualibs))
-      (home-page "https://github.com/lualatex/luaotfload";)
-      (synopsis "OpenType font loader for LuaTeX")
-      (description
-       "Luaotfload is an adaptation of the ConTeXt font loading system for the
+  (package
+    (name "texlive-luaotfload")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/luatex/luaotfload/"
+                   "doc/man/man1/luaotfload-tool.1"
+                   "doc/man/man1/luaotfload-tool.man1.pdf"
+                   "doc/man/man5/luaotfload.conf.5"
+                   "doc/man/man5/luaotfload.conf.man5.pdf"
+                   "scripts/luaotfload/"
+                   "source/luatex/luaotfload/"
+                   "tex/luatex/luaotfload/")
+             (base32
+              "15xhnb4kyzmr11lj0md1d502cqrxyq6zdcq738z9394k6bas377f")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs (list texlive-lm texlive-lua-alt-getopt 
texlive-lualibs))
+    (home-page "https://ctan.org/pkg/luaotfload";)
+    (synopsis "OpenType font loader for LuaTeX")
+    (description
+     "Luaotfload is an adaptation of the ConTeXt font loading system for the
 Plain and LaTeX formats.  It allows OpenType fonts to be loaded with font
 features accessible using an extended font request syntax while providing
 compatibilitywith XeTeX.  By indexing metadata in a database it facilitates
 loading fonts by their proper names instead of file names.")
-      ;; GPL version 2 only
-      (license license:gpl2))))
+    (license license:gpl2)))
 
 (define-deprecated-package texlive-luatex-luaotfload texlive-luaotfload)
 



reply via email to

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