[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: texlive-babel: Incorporate and remove replacement.
From: |
guix-commits |
Subject: |
03/06: gnu: texlive-babel: Incorporate and remove replacement. |
Date: |
Sun, 8 May 2022 06:15:33 -0400 (EDT) |
civodul pushed a commit to branch staging
in repository guix.
commit cf14b81b7e79a96862702d97b82409096a675b0b
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun May 8 12:02:30 2022 +0200
gnu: texlive-babel: Incorporate and remove replacement.
* gnu/packages/tex.scm (texlive-babel)[replacement]: Remove.
[arguments]: Add 'unchdir' and 'delete-extra-files' phases.
(texlive-babel/fixed): Remove.
---
gnu/packages/tex.scm | 39 ++++++++++++++-------------------------
1 file changed, 14 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 76cc0f7119..647229bdb8 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3855,8 +3855,6 @@ distribution.")
"0qr5vjp79g1c1l6k173qhfdfabgbky73wymzhm56pazx4a8r08wz"))))
(package
(inherit template)
- ;; TODO: This package is missing files.
- (replacement texlive-babel/fixed)
(arguments
(substitute-keyword-arguments (package-arguments template)
((#:tex-directory _ #t)
@@ -3872,6 +3870,20 @@ distribution.")
(substitute* "babel.ins"
(("askonceonly") "askforoverwritefalse"))
#t))
+ (add-before 'copy-files 'unchdir
+ (lambda _
+ (chdir "../../..")))
+ (add-after 'copy-files 'delete-extra-files
+ (lambda* (#:key outputs #:allow-other-keys)
+ (delete-file-recursively
+ (string-append (assoc-ref outputs "out")
+ "/share/texmf-dist/source/latex/babel/build"))
+ (delete-file
+ (string-append (assoc-ref outputs "out")
+
"/share/texmf-dist/tex/generic/babel/bbind.ist"))
+ (delete-file
+ (string-append (assoc-ref outputs "out")
+
"/share/texmf-dist/tex/generic/babel/bbglo.ist"))))
(add-after 'install 'install-locales
(lambda* (#:key outputs #:allow-other-keys)
(let ((locale-directory
@@ -3894,29 +3906,6 @@ what has to be done for each language. Users of XeTeX
are advised to use the
polyglossia package rather than Babel.")
(license license:lppl1.3+))))
-(define-public texlive-babel/fixed
- (package
- (inherit texlive-babel)
- (name "texlive-babel-fixed")
- (arguments
- (substitute-keyword-arguments (package-arguments texlive-babel)
- ((#:phases phases)
- `(modify-phases ,phases
- (add-before 'copy-files 'unchdir
- (lambda _
- (chdir "../../..")))
- (add-after 'copy-files 'delete-extra-files
- (lambda* (#:key outputs #:allow-other-keys)
- (delete-file-recursively
- (string-append (assoc-ref outputs "out")
- "/share/texmf-dist/source/latex/babel/build"))
- (delete-file
- (string-append (assoc-ref outputs "out")
-
"/share/texmf-dist/tex/generic/babel/bbind.ist"))
- (delete-file
- (string-append (assoc-ref outputs "out")
-
"/share/texmf-dist/tex/generic/babel/bbglo.ist"))))))))))
-
(define-deprecated-package texlive-latex-babel texlive-babel)
(define-public texlive-generic-babel-english
- branch staging updated (466e12c18b -> 8a340e032a), guix-commits, 2022/05/08
- 05/06: gnu: texlive-psnfss: Incorporate and remove replacement., guix-commits, 2022/05/08
- 04/06: gnu: texlive-babel: Remove trailing #t., guix-commits, 2022/05/08
- 06/06: gnu: texlive-stmaryrd: Incorporate and remove replacement., guix-commits, 2022/05/08
- 01/06: gnu: texlive-amsfonts: Promote replacement., guix-commits, 2022/05/08
- 02/06: gnu: texlive-amsmath: Supersed 'texlive-latex-amsmath'., guix-commits, 2022/05/08
- 03/06: gnu: texlive-babel: Incorporate and remove replacement.,
guix-commits <=