me
/
guix
Archived
1
0
Fork 0

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.
Nicolas Goaziou 2023-05-14 11:47:34 +02:00
parent d7fc4cec07
commit b6ad756412
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
2 changed files with 24 additions and 41 deletions

View File

@ -322,7 +322,7 @@ colors, styles, options and details.")
texlive-latex-base texlive-latex-base
texlive-media9 texlive-media9
texlive-oberdiek ;for ifluatex texlive-oberdiek ;for ifluatex
texlive-latex-ocgx2 texlive-ocgx2
texlive-parskip texlive-parskip
texlive-pdftexcmds texlive-pdftexcmds
texlive-tex-texinfo)))) texlive-tex-texinfo))))

View File

@ -9068,51 +9068,34 @@ specification. It replaces the now obsolete @code{movie15} package.")
(define-deprecated-package texlive-latex-media9 texlive-media9) (define-deprecated-package texlive-latex-media9 texlive-media9)
(define-public texlive-latex-ocgx2 (define-public texlive-ocgx2
(package (package
(name "texlive-latex-ocgx2") (name "texlive-ocgx2")
(version (number->string %texlive-revision)) (version (number->string %texlive-revision))
(source (origin (source (texlive-origin
(method svn-fetch) name version
(uri (svn-reference (list "doc/latex/ocgx2/" "tex/latex/ocgx2/")
(url (string-append "svn://www.tug.org/texlive/tags/" (base32
%texlive-tag "/Master/texmf-dist/" "195zli0l69rvxxd7cs387g6bipppfl0pyfsf5invq191zlv319b2")))
"/tex/latex/ocgx2")) (outputs '("out" "doc"))
(revision %texlive-revision))) (build-system texlive-build-system)
(file-name (string-append name "-" version "-checkout")) (propagated-inputs
(sha256 (list texlive-l3packages
(base32 texlive-media9
"1mrz1mj59m27bfya52vi4lm84ifisaf30pmf8id1biqwcq4jyynh")))) texlive-pgf))
(build-system trivial-build-system) (home-page "https://ctan.org/pkg/ocgx2")
(arguments (synopsis "Drop-in replacement for 'ocgx' and 'ocg-p'")
`(#: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 (description
"This package provides OCG (Optional Content Groups) support within a PDF "This package serves as a drop-in replacement for the packages
document. @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},
It re-implements the functionality of the @code{ocg}, @code{ocgx}, and @code{ocgx}, and @code{ocg-p} packages and adds support for all known engines
@code{ocg-p} packages and adds support for all known engines and back-ends and back-ends. It also ensures compatibility with the @code{media9} and
including: @code{animate} packages.")
@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.")
(license license:lppl))) (license license:lppl)))
(define-deprecated-package texlive-latex-ocgx2 texlive-ocgx2)
(define-public texlive-ms (define-public texlive-ms
(let ((template (let ((template
(simple-texlive-package (simple-texlive-package