[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
104/418: gnu: texlive-latex-ocgx2 -> texlive-ocgx2.
From: |
guix-commits |
Subject: |
104/418: gnu: texlive-latex-ocgx2 -> texlive-ocgx2. |
Date: |
Mon, 29 May 2023 17:38:59 -0400 (EDT) |
ngz pushed a commit to branch tex-team-next
in repository guix.
commit 9ecc712043303c7a21526ba04dfea6d98bb959a0
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun May 14 11:47:34 2023 +0200
gnu: texlive-latex-ocgx2 -> texlive-ocgx2.
* gnu/packages/tex.scm (texlive-ocgx2): New variable.
(texlive-latex-ocgx2): Deprecate variable.
* gnu/packages/plotutils.scm (asymptote): Use new name.
---
gnu/packages/plotutils.scm | 2 +-
gnu/packages/tex.scm | 65 +++++++++++++++++-----------------------------
2 files changed, 25 insertions(+), 42 deletions(-)
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
index a49df67c29..4a681d3ecb 100644
--- a/gnu/packages/plotutils.scm
+++ b/gnu/packages/plotutils.scm
@@ -322,7 +322,7 @@ colors, styles, options and details.")
texlive-latex-base
texlive-media9
texlive-oberdiek ;for ifluatex
- texlive-latex-ocgx2
+ texlive-ocgx2
texlive-parskip
texlive-pdftexcmds
texlive-tex-texinfo))))
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index e4925e60d1..6b2c9e7e58 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9076,51 +9076,34 @@ specification. It replaces the now obsolete
@code{movie15} package.")
(define-deprecated-package texlive-latex-media9 texlive-media9)
-(define-public texlive-latex-ocgx2
+(define-public texlive-ocgx2
(package
- (name "texlive-latex-ocgx2")
+ (name "texlive-ocgx2")
(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/latex/ocgx2"))
- (revision %texlive-revision)))
- (file-name (string-append name "-" version "-checkout"))
- (sha256
- (base32
- "1mrz1mj59m27bfya52vi4lm84ifisaf30pmf8id1biqwcq4jyynh"))))
- (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/latex/ogcx2")))
- (mkdir-p target)
- (copy-recursively (assoc-ref %build-inputs "source") target)
- #t))))
- (home-page "https://www.ctan.org/pkg/ocgx2")
- (synopsis "Provide OCG (Optional Content Groups) support within a PDF
document")
- (description
- "This package provides OCG (Optional Content Groups) support within a PDF
-document.
-
-It re-implements the functionality of the @code{ocg}, @code{ocgx}, and
-@code{ocg-p} packages and adds support for all known engines and back-ends
-including:
-
-@itemize
-@item LaTeX → dvips → @code{ps2pdf}/Distiller
-@item (Xe)LaTeX(x) → @code{dvipdfmx}
-@item pdfLaTeX and LuaLaTeX .
-@end itemize
-
-It also ensures compatibility with the @code{media9} and @code{animate}
packages.")
+ (source (texlive-origin
+ name version
+ (list "doc/latex/ocgx2/" "tex/latex/ocgx2/")
+ (base32
+ "195zli0l69rvxxd7cs387g6bipppfl0pyfsf5invq191zlv319b2")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (propagated-inputs
+ (list texlive-l3packages
+ texlive-media9
+ texlive-pgf))
+ (home-page "https://ctan.org/pkg/ocgx2")
+ (synopsis "Drop-in replacement for 'ocgx' and 'ocg-p'")
+ (description
+ "This package serves as a drop-in replacement for the packages
+@code{ocgx} by Paul Gaborit and @code{ocg-p} by Werner Moshammer for the
+creation of PDF Layers. It re-implements the functionality of the @code{ocg},
+@code{ocgx}, and @code{ocg-p} packages and adds support for all known engines
+and back-ends. It also ensures compatibility with the @code{media9} and
+@code{animate} packages.")
(license license:lppl)))
+(define-deprecated-package texlive-latex-ocgx2 texlive-ocgx2)
+
(define-public texlive-ms
(let ((template
(simple-texlive-package
- 85/418: gnu: texlive-latex-parskip -> texlive-parskip., (continued)
- 85/418: gnu: texlive-latex-parskip -> texlive-parskip., guix-commits, 2023/05/29
- 84/418: gnu: texlive-latex-overpic -> texlive-overpic., guix-commits, 2023/05/29
- 89/418: gnu: texlive-latex-threeparttable -> texlive-threeparttable., guix-commits, 2023/05/29
- 90/418: gnu: texlive-latex-type1cm -> texlive-type1cm., guix-commits, 2023/05/29
- 91/418: gnu: texlive-booktabs: Fix build., guix-commits, 2023/05/29
- 92/418: gnu: texlive-ifmtarg: Fix build., guix-commits, 2023/05/29
- 93/418: gnu: texlive-preprint: Fix build., guix-commits, 2023/05/29
- 100/418: gnu: texlive-latex-ucs -> texlive-ucs., guix-commits, 2023/05/29
- 95/418: gnu: Add texlive-luatexbase., guix-commits, 2023/05/29
- 96/418: gnu: Add texlive-luacode., guix-commits, 2023/05/29
- 104/418: gnu: texlive-latex-ocgx2 -> texlive-ocgx2.,
guix-commits <=
- 105/418: gnu: texlive-latex-changepage -> texlive-changepage., guix-commits, 2023/05/29
- 106/418: gnu: texlive-latex-eukdate -> texlive-eukdate., guix-commits, 2023/05/29
- 107/418: gnu: texlive-latex-readarray -> texlive-readarray., guix-commits, 2023/05/29
- 110/418: gnu: texlive-latex-xmpincl -> texlive-xmpincl., guix-commits, 2023/05/29
- 114/418: gnu: texlive-latex-hyphenat -> texlive-hyphenat., guix-commits, 2023/05/29
- 122/418: gnu: texlive-tex-texinfo -> texlive-texinfo., guix-commits, 2023/05/29
- 125/418: gnu: texlive-wasysym: Refresh package definition., guix-commits, 2023/05/29
- 128/418: gnu: Add texlive-svn-prov., guix-commits, 2023/05/29
- 131/418: gnu: texlive-fontaxes: Refresh package definition., guix-commits, 2023/05/29
- 134/418: gnu: texlive-ifoddpage: Refresh package definition., guix-commits, 2023/05/29