[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
34/37: gnu: Replace texlive-latex-fontspec with texlive-fontspec.
From: |
guix-commits |
Subject: |
34/37: gnu: Replace texlive-latex-fontspec with texlive-fontspec. |
Date: |
Wed, 23 Dec 2020 06:31:48 -0500 (EST) |
rekado pushed a commit to branch core-updates
in repository guix.
commit ad5dddc610fa19e78aaa1885106a419e55f0322b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Oct 28 23:04:27 2020 +0100
gnu: Replace texlive-latex-fontspec with texlive-fontspec.
* gnu/packages/tex.scm (texlive-latex-fontspec): Deprecate in favor of...
(texlive-fontspec): ...this new variable.
---
gnu/packages/tex.scm | 77 +++++++++++++++++++---------------------------------
1 file changed, 28 insertions(+), 49 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ce9fff9..328fe62 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3056,58 +3056,37 @@ programming tools and kernel supĀport. Packages
provided in this release are:
@end enumerate\n")
(license license:lppl1.3c+)))
-(define-public texlive-latex-fontspec
- (package
- (name "texlive-latex-fontspec")
- (version (number->string %texlive-revision))
- (source (origin
- (method svn-fetch)
- (uri (texlive-ref "latex" "fontspec"))
- (file-name (string-append name "-" version "-checkout"))
- (sha256
- (base32
- "1223cw029n6zff7pqpwbsq1x8v3w63smczkmnybqxkw5h2za8gbz"))))
- (build-system texlive-build-system)
- (arguments
- '(#:tex-directory "latex/fontspec"
- #:phases
- (modify-phases %standard-phases
- (add-after 'install 'install-default-fontspec.cfg
- (lambda* (#:key outputs #:allow-other-keys)
- (with-output-to-file
- (string-append (assoc-ref outputs "out")
-
"/share/texmf-dist/tex/latex/fontspec/fontspec.cfg")
- (lambda _
- (display "\
-%%% FONTSPEC.CFG %%%
-%
-% This configuration file sets up TeX Ligatures by default for all fonts loaded
-% with `\\setmainfont` and `\\setsansfont`.
-%
-% In addition, `\\setmonofont` has default features to enforce \"monospace\"
-% settings with regard to space stretchability and shrinkability.
-
-\\defaultfontfeatures
- [\\rmfamily,\\sffamily]
- {Ligatures=TeX}
-
-\\defaultfontfeatures
- [\\ttfamily]
- {WordSpace={1,0,0},
- HyphenChar=None,
- PunctuationSpace=WordSpace}
-")))
- #t)))))
- (propagated-inputs
- `(("texlive-latex-l3packages" ,texlive-latex-l3packages)))
- (home-page "https://www.ctan.org/pkg/fontspec")
- (synopsis "Advanced font selection in XeLaTeX and LuaLaTeX")
- (description
- "Fontspec is a package for XeLaTeX and LuaLaTeX. It provides an
+(define-public texlive-fontspec
+ (let ((template (simple-texlive-package
+ "texlive-fontspec"
+ (list "/doc/latex/fontspec/"
+ "/source/latex/fontspec/"
+ "/tex/latex/fontspec/fontspec.cfg")
+ (base32
+ "1ksqhxlnqia4v85hbx0bw58cw77wfdhs33n1a1qmczd4b3zg4wp9"))))
+ (package
+ (inherit template)
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ #t)
+ "latex/fontspec")
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "source/latex/fontspec/") #t))))))
+ (propagated-inputs
+ `(("texlive-latex-l3packages" ,texlive-latex-l3packages)))
+ (home-page "https://www.ctan.org/pkg/fontspec")
+ (synopsis "Advanced font selection in XeLaTeX and LuaLaTeX")
+ (description
+ "Fontspec is a package for XeLaTeX and LuaLaTeX. It provides an
automatic and unified interface to feature-rich AAT and OpenType fonts through
the NFSS in LaTeX running on XeTeX or LuaTeX engines. The package requires
the l3kernel and xparse bundles from the LaTeX 3 development team.")
- (license license:lppl1.3+)))
+ (license license:lppl1.3+))))
+
+(define-public texlive-latex-fontspec
+ (deprecated-package "texlive-latex-fontspec" texlive-fontspec))
(define-public texlive-l3build
(let ((template (simple-texlive-package
- 07/37: gnu: texlive-metafont-base: Install missing files., (continued)
- 07/37: gnu: texlive-metafont-base: Install missing files., guix-commits, 2020/12/23
- 09/37: gnu: discrover: Remove obsolete build phase., guix-commits, 2020/12/23
- 17/37: gnu: lilypond: Remove obsolete build phase., guix-commits, 2020/12/23
- 16/37: gnu: texlive-amsfonts: Only create tfm files for Euler fonts., guix-commits, 2020/12/23
- 19/37: gnu: Replace texlive-generic-pdftex with texlive-pdftex., guix-commits, 2020/12/23
- 20/37: gnu: teximpatient: Use new name for texlive-pdftex., guix-commits, 2020/12/23
- 22/37: gnu: chez-sockets: Use new name of texlive-pdftex., guix-commits, 2020/12/23
- 24/37: gnu: Replace texlive-fonts-knuth-lib with texlive-knuth-lib., guix-commits, 2020/12/23
- 26/37: gnu: python-ipython-documentation: Use new name for texlive-pdftex., guix-commits, 2020/12/23
- 35/37: gnu: Replace texlive-latex-hyperref with texlive-hyperref., guix-commits, 2020/12/23
- 34/37: gnu: Replace texlive-latex-fontspec with texlive-fontspec.,
guix-commits <=
- 37/37: gnu: Replace texlive-latex-pdfx with texlive-pdfx., guix-commits, 2020/12/23
- 28/37: gnu: Replace texlive-latex-mflogo with texlive-mflogo., guix-commits, 2020/12/23
- 04/37: gnu: Replace texlive-latex-psnfss with texlive-psnfss., guix-commits, 2020/12/23
- 18/37: gnu: lilypond: Use new name of texlive-lh., guix-commits, 2020/12/23
- 23/37: gnu: chez-web: Use new names of TeX Live packages., guix-commits, 2020/12/23
- 29/37: gnu: Replace texlive-latex-amscls with texlive-amscls., guix-commits, 2020/12/23
- 30/37: gnu: texlive-base: Update reference to texlive-amscls., guix-commits, 2020/12/23
- 27/37: gnu: python-pypandoc: Do not set HOME., guix-commits, 2020/12/23
- 31/37: gnu: texlive-base: Update reference to texlive-psnfss., guix-commits, 2020/12/23
- 32/37: gnu: Replace texlive-latex-babel with texlive-babel., guix-commits, 2020/12/23