* [bug#32435] [PATCH 1/2] gnu: Add texlive-latex-media9.
@ 2018-08-14 8:54 Pierre Neidhardt
2018-08-14 8:57 ` [bug#32435] [PATCH 2/2] gnu: Add texlive-latex-ocgx2 Pierre Neidhardt
0 siblings, 1 reply; 5+ messages in thread
From: Pierre Neidhardt @ 2018-08-14 8:54 UTC (permalink / raw)
To: 32435
* gnu/packages/tex.scm (texlive-latex-media9): New variable.
---
gnu/packages/tex.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 4a0a4facc..555971b9e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4386,3 +4386,43 @@ cross-references, bibliographies, indexes, etc. It is very good for working
with documents of any length in which the usual processing abilities are
required: automatic sectioning and pagination, spell checking and so forth.")
(license license:gpl2+)))
+
+(define-public texlive-latex-media9
+ (package
+ (name "texlive-latex-media9")
+ (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/media9"))
+ (revision %texlive-revision)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "01ysky8h8s6q12dxfahkzwhbkc9j5wl50xzcczy0cbjx9f6aj9kv"))))
+ (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/media9")))
+ (mkdir-p target)
+ (copy-recursively (assoc-ref %build-inputs "source") target)
+ #t))))
+ (home-page "https://www.ctan.org/pkg/media9")
+ (synopsis "Multimedia inclusion package with Adobe Reader-9/X compatibility")
+ (description
+ "The package provides an interface to embed interactive Flash (SWF) and 3D
+objects (Adobe U3D & PRC), as well as video and sound files or streams in the
+popular MP4, FLV and MP3 formats into PDF documents with Acrobat-9/X
+compatibility. Playback of multimedia files uses the built-in Flash Player of
+Adobe Reader and does, therefore, not depend on external plug-ins. Flash Player
+supports the efficient H.264 codec for video compression.
+
+The package is based on the RichMedia Annotation, an Adobe addition to the PDF
+specification. It replaces the now obsolete @code{movie15} package.")
+ (license license:lppl)))
--
2.18.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#32435] [PATCH 2/2] gnu: Add texlive-latex-ocgx2.
2018-08-14 8:54 [bug#32435] [PATCH 1/2] gnu: Add texlive-latex-media9 Pierre Neidhardt
@ 2018-08-14 8:57 ` Pierre Neidhardt
2018-08-14 11:28 ` Pierre Neidhardt
0 siblings, 1 reply; 5+ messages in thread
From: Pierre Neidhardt @ 2018-08-14 8:57 UTC (permalink / raw)
To: 32435
* gnu/packages/tex.scm (texlive-latex-ocgx2): New variable.
---
gnu/packages/tex.scm | 45 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 555971b9e..a500e5fa0 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4426,3 +4426,48 @@ supports the efficient H.264 codec for video compression.
The package is based on the RichMedia Annotation, an Adobe addition to the PDF
specification. It replaces the now obsolete @code{movie15} package.")
(license license:lppl)))
+
+(define-public texlive-latex-ocgx2
+ (package
+ (name "texlive-latex-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
+ "12kkl7n534j0p4frwyrlw22dc3ik50kxv97cxp4xpmji13m0hxpf"))))
+ (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.")
+ (license license:lppl)))
--
2.18.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#32435] [PATCH 2/2] gnu: Add texlive-latex-ocgx2.
2018-08-14 8:57 ` [bug#32435] [PATCH 2/2] gnu: Add texlive-latex-ocgx2 Pierre Neidhardt
@ 2018-08-14 11:28 ` Pierre Neidhardt
2018-08-16 20:54 ` bug#32435: " Leo Famulari
0 siblings, 1 reply; 5+ messages in thread
From: Pierre Neidhardt @ 2018-08-14 11:28 UTC (permalink / raw)
To: 32435
[-- Attachment #1: Type: text/plain, Size: 114 bytes --]
Those two packages are required to generate PDFs with Asymptote.
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#32435: [PATCH 2/2] gnu: Add texlive-latex-ocgx2.
2018-08-14 11:28 ` Pierre Neidhardt
@ 2018-08-16 20:54 ` Leo Famulari
2018-08-23 14:47 ` [bug#32435] " Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2018-08-16 20:54 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: 32435-done
[-- Attachment #1: Type: text/plain, Size: 193 bytes --]
On Tue, Aug 14, 2018 at 01:28:44PM +0200, Pierre Neidhardt wrote:
> Those two packages are required to generate PDFs with Asymptote.
Thanks! Pushed as 288c8c97e8dbf2e0b91100ba6cfdf6a1238f8ff1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#32435] [PATCH 2/2] gnu: Add texlive-latex-ocgx2.
2018-08-16 20:54 ` bug#32435: " Leo Famulari
@ 2018-08-23 14:47 ` Ludovic Courtès
0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2018-08-23 14:47 UTC (permalink / raw)
To: 32435; +Cc: ambrevar
Leo Famulari <leo@famulari.name> skribis:
> On Tue, Aug 14, 2018 at 01:28:44PM +0200, Pierre Neidhardt wrote:
>> Those two packages are required to generate PDFs with Asymptote.
>
> Thanks! Pushed as 288c8c97e8dbf2e0b91100ba6cfdf6a1238f8ff1
Note that Pierre now has commit access. :-)
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-08-23 14:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-14 8:54 [bug#32435] [PATCH 1/2] gnu: Add texlive-latex-media9 Pierre Neidhardt
2018-08-14 8:57 ` [bug#32435] [PATCH 2/2] gnu: Add texlive-latex-ocgx2 Pierre Neidhardt
2018-08-14 11:28 ` Pierre Neidhardt
2018-08-16 20:54 ` bug#32435: " Leo Famulari
2018-08-23 14:47 ` [bug#32435] " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).