diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-07-06 23:08:21 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-07-24 09:46:38 +0200 |
commit | 2cece695ba0ac3ad689550a5891c20397354fdd5 (patch) | |
tree | df004b6d0cbeb5a79d4e0065481356a8a946242e /gnu | |
parent | cf4c07b9f1e9497e906839c8d5661d41c6a0beda (diff) | |
download | guix-2cece695ba0ac3ad689550a5891c20397354fdd5.tar.gz |
gnu: Add texlive-unicode-data.
* gnu/packages/tex.scm (texlive-unicode-data): New variable. (texlive-generic-unicode-data): Deprecate package.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/tex.scm | 65 |
1 files changed, 26 insertions, 39 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index bc897095de..490d219677 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -411,6 +411,32 @@ This package contains the binaries.") (license (license:fsf-free "https://www.tug.org/texlive/copying.html")) (home-page "https://www.tug.org/texlive/"))) + +(define-public texlive-unicode-data + (package + (inherit (simple-texlive-package + "texlive-unicode-data" + (list "/tex/generic/unicode-data/" + "/doc/generic/unicode-data/") + (base32 + "1j63kz29arfiydb8r1a53q1r4zyk1yjbcq0w9i93zddczgqzgbfb") + #:trivial? #t)) + (home-page "https://www.ctan.org/pkg/unicode-data") + (synopsis "Unicode data and loaders for TeX") + (description "This bundle provides generic access to Unicode Consortium +data for TeX use. It contains a set of text files provided by the Unicode +Consortium which are currently all from Unicode 8.0.0, with the exception of +@code{MathClass.txt} which is not currently part of the Unicode Character +Database. Accompanying these source data are generic TeX loader files +allowing this data to be used as part of TeX runs, in particular in building +format files. Currently there are two loader files: one for general character +set up and one for initializing XeTeX character classes as has been carried +out to date by @code{unicode-letters.tex}. ") + (license license:lppl1.3c+))) + +(define-public texlive-generic-unicode-data + (deprecated-package "texlive-generic-unicode-data" texlive-unicode-data)) + (define-public texlive-dvips (package (name "texlive-dvips") @@ -478,45 +504,6 @@ to PostScript.") license:expat license:lgpl3+)))) -(define-public texlive-generic-unicode-data - (package - (name "texlive-generic-unicode-data") - (version (number->string %texlive-revision)) - (source (origin - (method svn-fetch) - (uri (svn-reference - (url (string-append "svn://www.tug.org/texlive/tags/" - %texlive-tag "/Master/texmf-dist/" - "/tex/generic/unicode-data")) - (revision %texlive-revision))) - (file-name (string-append name "-" version "-checkout")) - (sha256 - (base32 - "0r1v16jyfpz6dwqsgm6b9jcj4kf2pkzc9hg07s6fx9g8ba8qglih")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let ((target (string-append (assoc-ref %outputs "out") - "/share/texmf-dist/tex/generic/unicode-data"))) - (mkdir-p target) - (copy-recursively (assoc-ref %build-inputs "source") target) - #t)))) - (home-page "https://www.ctan.org/pkg/unicode-data") - (synopsis "Unicode data and loaders for TeX") - (description "This bundle provides generic access to Unicode Consortium -data for TeX use. It contains a set of text files provided by the Unicode -Consortium which are currently all from Unicode 8.0.0, with the exception of -@code{MathClass.txt} which is not currently part of the Unicode Character -Database. Accompanying these source data are generic TeX loader files -allowing this data to be used as part of TeX runs, in particular in building -format files. Currently there are two loader files: one for general character -set up and one for initializing XeTeX character classes as has been carried -out to date by @code{unicode-letters.tex}. ") - (license license:lppl1.3c+))) - (define-public texlive-generic-dehyph-exptl (package (name "texlive-generic-dehyph-exptl") |