[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/97: gnu: Add texlive-uptex-bin.
From: |
guix-commits |
Subject: |
20/97: gnu: Add texlive-uptex-bin. |
Date: |
Fri, 21 Jun 2024 08:22:51 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 283b95f0a5afec3f50ca8027dd74cf2e386241b8
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 27 16:24:10 2024 +0200
gnu: Add texlive-uptex-bin.
* gnu/packages/tex.scm (texlive-uptex-bin): New variable.
(texlive-uptex)[propagated-inputs]: Add TEXLIVE-UPTEX-BIN.
Change-Id: I540cea7f648f0e11aaf59000aeff763823f94b2f
---
gnu/packages/tex.scm | 49 ++++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 44 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 6da193199d..61223a0164 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -37321,18 +37321,57 @@ and e-upTeX.")
texlive-plain
texlive-ptex-base
texlive-uptex-base
+ texlive-uptex-bin
texlive-uptex-fonts))
(home-page "https://ctan.org/pkg/uptex")
(synopsis "Unicode version of pTeX")
(description
- "upTeX is an extension of pTeX, using UTF-8 input and producing UTF-8
output.
-It was originally designed to improve support for Japanese, but is also useful
-for documents in Chinese and Korean. It can process Chinese simplified,
-Chinese traditional, Japanese, and Korean simultaneously, and can also process
-original LaTeX with @code{\\inputenc@{utf8@}} and Babel
+ "upTeX is an extension of pTeX, using UTF-8 input and producing UTF-8
+output. It was originally designed to improve support for Japanese, but is
+also useful for documents in Chinese and Korean. It can process Chinese
+simplified, Chinese traditional, Japanese, and Korean simultaneously, and can
+also process original LaTeX with @code{\\inputenc@{utf8@}} and Babel
(Latin/Cyrillic/Greek etc.) by switching its @code{\\kcatcode} tables.")
(license license:bsd-3)))
+(define-public texlive-uptex-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-uptex-bin")
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(delete "--enable-web2c" #$flags))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'build 'build-binaries
+ (lambda _
+ (with-directory-excursion "texk/web2c"
+ (for-each (lambda (target) (invoke "make" target))
+ '("euptex" "upbibtex" "updvitype" "upmpost"
+ "uppltotf" "uptex" "uptftopl" "wovp2ovf")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "texk/web2c"
+ (let ((bin (string-append #$output "/bin")))
+ (for-each (lambda (f) (install-file f bin))
+ '("euptex" "upbibtex" "updvitype"
+ "upmpost" "uppltotf" "uptex" "uptftopl"
+ "wovp2ovf"))
+ (with-directory-excursion bin
+ (for-each symlink
+ '("upmpost" "upmpost")
+ '("r-upmpost" "updvitomp")))))))))))
+ (native-inputs (list pkg-config))
+ (inputs
+ (modify-inputs (package-inputs texlive-bin)
+ (append cairo gmp mpfr texlive-libptexenc)))
+ (home-page (package-home-page texlive-uptex))
+ (synopsis "Binaries for @code{texlive-uptex}")
+ (description
+ "This package provides the binaries for @code{texlive-uptex}.")
+ (license (package-license texlive-uptex))))
+
(define-public texlive-uptex-fonts
(package
(name "texlive-uptex-fonts")
- 18/97: gnu: Add texlive-texware-bin., (continued)
- 18/97: gnu: Add texlive-texware-bin., guix-commits, 2024/06/21
- 09/97: gnu: Add texlive-libptexenc., guix-commits, 2024/06/21
- 17/97: gnu: Add texlive-fontware-bin., guix-commits, 2024/06/21
- 01/97: gnu: texlive-libkpathsea: Fix TEXMFCACHE location., guix-commits, 2024/06/21
- 07/97: gnu: texlive-updmap.cfg: Fix font file creation in $HOME., guix-commits, 2024/06/21
- 08/97: gnu: texlive-context: Fix "context" call., guix-commits, 2024/06/21
- 05/97: gnu: texlive-libkpathsea: Better default values in "texmf.cnf"., guix-commits, 2024/06/21
- 12/97: gnu: texlive-xcjk2uni: Fix build., guix-commits, 2024/06/21
- 10/97: gnu: texlive-bin: Minimize build surface., guix-commits, 2024/06/21
- 15/97: gnu: Add texlive-mfware-bin., guix-commits, 2024/06/21
- 20/97: gnu: Add texlive-uptex-bin.,
guix-commits <=
- 21/97: gnu: Add texlive-ptex-bin., guix-commits, 2024/06/21
- 22/97: gnu: Add texlive-bibtex-bin., guix-commits, 2024/06/21
- 23/97: gnu: Add texlive-dvicopy-bin., guix-commits, 2024/06/21
- 26/97: gnu: Add texlive-aleph-bin., guix-commits, 2024/06/21
- 30/97: gnu: Add texlive-autosp-bin., guix-commits, 2024/06/21
- 32/97: gnu: Add texlive-pmx-bin., guix-commits, 2024/06/21
- 31/97: gnu: Add texlive-gregoriotex-bin., guix-commits, 2024/06/21
- 36/97: gnu: Add texlive-dvips-bin., guix-commits, 2024/06/21
- 34/97: gnu: Add texlive-bibtex8-bin., guix-commits, 2024/06/21
- 37/97: gnu: Add texlive-psutils-bin., guix-commits, 2024/06/21