[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
62/96: gnu: texlive-latex-acronym: Replace with texlive-acronym.
From: |
guix-commits |
Subject: |
62/96: gnu: texlive-latex-acronym: Replace with texlive-acronym. |
Date: |
Wed, 19 Apr 2023 21:41:14 -0400 (EDT) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 7644e4c09032c04c2d5d61900906c87e5ebf1448
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Mar 31 13:13:16 2023 +0200
gnu: texlive-latex-acronym: Replace with texlive-acronym.
* gnu/packages/tex.scm (texlive-latex-acronym): Deprecate package.
(texlive-acronym): New variable.
---
gnu/packages/tex.scm | 59 ++++++++++++++++++++++++++++++++++------------------
1 file changed, 39 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 7b78731862..68db7b65a6 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -8552,28 +8552,47 @@ dvipng, but it also works when you are using PDFTeX for
generating PDF
files.")
(license license:gpl3+)))
-(define-public texlive-latex-acronym
- (package
- (name "texlive-latex-acronym")
- (version (number->string %texlive-revision))
- (source (origin
- (method svn-fetch)
- (uri (texlive-ref "latex" "acronym"))
- (file-name (string-append name "-" version "-checkout"))
- (sha256
- (base32
- "09pd4wynksg1y1ddxnqbhk2dc185zw5nyi794d86n3qx8l014ijy"))))
- (build-system texlive-build-system)
- (arguments '(#:tex-directory "latex/acronym"))
- (home-page "https://www.ctan.org/pkg/acronym")
- (synopsis "Expand acronyms at least once")
- (description
- "This package ensures that all acronyms used in the text are spelled out
-in full at least once. It also provides an environment to build a list of
+(define-public texlive-acronym
+ (let ((template (simple-texlive-package
+ "texlive-acronym"
+ (list "doc/latex/acronym/"
+ "source/latex/acronym/"
+ "tex/latex/acronym/")
+ (base32
+ "0p2sws3qy7wv0v6bsy6c5j36n9s1ps7b1z7dmg1370schrjpqnfh"))))
+ (package
+ (inherit template)
+ (outputs '("out" "doc"))
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ #t) "latex/acronym")
+ ((#:build-targets _ '()) '(list "acronym.ins"))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "source/latex/acronym/")))
+ (replace 'copy-files
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((origin (assoc-ref inputs "source"))
+ (source (string-append #$output
+ "/share/texmf-dist/source"))
+ (doc (string-append #$output:doc
+ "/share/texmf-dist/doc")))
+ (copy-recursively (string-append origin "/source") source)
+ (copy-recursively (string-append origin "/doc") doc))))))))
+ (propagated-inputs
+ (list texlive-bigfoot texlive-relsize texlive-xstring))
+ (home-page "https://ctan.org/pkg/acronym")
+ (synopsis "Expand acronyms at least once")
+ (description
+ "This package ensures that all acronyms used in the text are spelled
+out in full at least once. It also provides an environment to build a list of
acronyms used. The package is compatible with PDF bookmarks. The package
-requires the suffix package, which in turn requires that it runs under
+requires the @code{suffix} package, which in turn requires that it runs under
e-TeX.")
- (license license:lppl1.3+)))
+ (license license:lppl1.3+))))
+
+(define-deprecated-package texlive-latex-acronym texlive-acronym)
(define-public texlive-pdftex
(package
- 72/96: gnu: emacs-osm: Update to 0.11., (continued)
- 72/96: gnu: emacs-osm: Update to 0.11., guix-commits, 2023/04/19
- 79/96: gnu: r-structuralvariantannotation: Update to 1.14.1., guix-commits, 2023/04/19
- 80/96: gnu: r-enrichplot: Update to 1.18.4., guix-commits, 2023/04/19
- 82/96: gnu: r-gdsfmt: Update to 1.34.1., guix-commits, 2023/04/19
- 92/96: gnu: gnutls: Extend test timeout on powerpc-linux., guix-commits, 2023/04/19
- 23/96: gnu: qtbase: Disable unstable tst_qpauseanimation test., guix-commits, 2023/04/19
- 25/96: gnu: python-isort: Update to 5.12.0., guix-commits, 2023/04/19
- 40/96: gnu: python-scikit-build: Update to 0.17.1., guix-commits, 2023/04/19
- 41/96: gnu: python-fonttools: Update to 4.39.3., guix-commits, 2023/04/19
- 57/96: snippets: tempel: Simplify git-commit-mode detection., guix-commits, 2023/04/19
- 62/96: gnu: texlive-latex-acronym: Replace with texlive-acronym.,
guix-commits <=
- 64/96: gnu: texlive-latex-lastpage: Replace with texlive-lastpage., guix-commits, 2023/04/19
- 37/96: gnu: python-pytest-trio: Update to 0.8.0., guix-commits, 2023/04/19
- 44/96: gnu: python-anyio: Update to 3.6.2., guix-commits, 2023/04/19
- 46/96: environment: Really auto-load (guix scripts pack)., guix-commits, 2023/04/19
- 47/96: services: agetty: 'term-console' succeeds by default., guix-commits, 2023/04/19
- 48/96: substitute: Download nar from another server upon ETIMEDOUT., guix-commits, 2023/04/19
- 49/96: ssh: Silence remote daemon messages when sending store items., guix-commits, 2023/04/19
- 54/96: gnu: audacity: Update to 3.3.0-beta-1., guix-commits, 2023/04/19
- 58/96: gnu: r-with-tests: Update to 4.2.3., guix-commits, 2023/04/19
- 60/96: gnu: Add texlive-relsize., guix-commits, 2023/04/19