guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

72/416: gnu: texlive-latex-bookmark -> texlive-bookmark.


From: guix-commits
Subject: 72/416: gnu: texlive-latex-bookmark -> texlive-bookmark.
Date: Sun, 28 May 2023 02:32:15 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit 181877a94eed56cad82e8e3ed9e17cffe4880463
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat May 13 16:10:15 2023 +0200

    gnu: texlive-latex-bookmark -> texlive-bookmark.
    
    * gnu/packages/tex.scm (texlive-bookmark): New variable.
    (texlive-latex-bookmark): Deprecate variable.
    * gnu/packages/docbook.scm (dblatex): Use new name.
---
 gnu/packages/docbook.scm |  2 +-
 gnu/packages/tex.scm     | 31 ++++++++++++++++++++++---------
 2 files changed, 23 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index 8134191e38..fcd45af32f 100644
--- a/gnu/packages/docbook.scm
+++ b/gnu/packages/docbook.scm
@@ -537,7 +537,7 @@ the in DocBook SGML DTDs.")
      `(("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts
                                              texlive-anysize
                                              texlive-appendix
-                                             texlive-latex-bookmark
+                                             texlive-bookmark
                                              texlive-latex-changebar
                                              texlive-latex-colortbl
                                              texlive-latex-fancybox
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 603bf7994b..671666d077 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6522,23 +6522,36 @@ be used, for example, for per chapter/section 
appendices.  An
 
 (define-deprecated-package texlive-latex-appendix texlive-appendix)
 
-(define-public texlive-latex-bookmark
+(define-public texlive-bookmark
   (package
-    (inherit (simple-texlive-package
-              "texlive-latex-bookmark"
-              (list "/doc/latex/bookmark/"
-                    "/tex/latex/bookmark/")
-              (base32
-               "0xwjdah0p4an0fknvgj9y5phl62sf522z6570pvy6c09hkz0j4h1")
-              #:trivial? #t))
+    (name "texlive-bookmark")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/bookmark/"
+                   "source/latex/bookmark/"
+                   "tex/latex/bookmark/")
+             (base32
+              "111sjwabcbr8ry8fh94ywpzska032y8r4iz4waxa4kf5l3k0p4bs")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (arguments
+     (list #:build-targets #~(list "bookmark.dtx")))
+    (propagated-inputs
+     (list texlive-atenddvi
+           texlive-atveryend
+           texlive-auxhook
+           texlive-hyperref))
     (home-page "https://www.ctan.org/pkg/bookmark";)
-    (synopsis "Bookmark (outline) organization for hyperref")
+    (synopsis "Bookmark (outline) organization for @code{hyperref}")
     (description
      "This package implements a new bookmark (outline) organization for the
 @code{hyperref} package.  Bookmark properties such as style and color.  Other
 action types are available (URI, GoToR, Named).")
     (license license:lppl1.3c+)))
 
+(define-deprecated-package texlive-latex-bookmark texlive-bookmark)
+
 (define-public texlive-latex-changebar
   (package
     (name "texlive-latex-changebar")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]