pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print tex-texdoc{, -doc}: update to 2018.47946 (3.0)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/175555019056
branches:  trunk
changeset: 329198:175555019056
user:      markd <markd%pkgsrc.org@localhost>
date:      Fri Feb 01 23:31:07 2019 +0000

description:
tex-texdoc{,-doc}: update to 2018.47946  (3.0)

This is a big update for Texdoc since 2012!
There are two big features in Texdoc 3.0.


1. New option parser

Now, you can specify multiple options like:

        $ texdoc -vsl foo

(this is equivalent to specifying "-v -s -l")

Please note that the behavior of the short option "-d" have
been changed. It *requires* an argument without "=", e.g.:

        $ texdoc -d score bar

(this is equivalent to specifying "--debug=score")

We added a new option "-D" as a short version of "--debug=all".
Please see the help text for more details.


2. Fuzzy search

When the normal search can't find any document in TeX Live,
Texdoc will execute fuzzy search on the list of package names
without user-interactions. The results of fuzzy search are
shown by "info" message.
(you can see that with the command line option "-v")

The default allowance of Levenshtein distance is 5.
You can change this default value by specifying "fuzzy_level"
in your texdoc.cnf:

        fuzzy_level = 3

If "fuzzy_level" set to 0, the feature will be disabled.


This update also contains several small bug fixes and improvements.

One more thing (IMPORTANT for distributors): from v3.0, we won't
include Data.tlpdb.lua (the pseudo cache file) in our repository.
If your distribution do not ship the tlpdb, you have to pre-generate
the pseudo cache file to make Texdoc workable.

diffstat:

 print/tex-texdoc-doc/Makefile |   8 ++++----
 print/tex-texdoc-doc/PLIST    |  11 ++++++-----
 print/tex-texdoc-doc/distinfo |  10 +++++-----
 print/tex-texdoc/Makefile     |  11 +++++------
 print/tex-texdoc/PLIST        |   7 +------
 print/tex-texdoc/distinfo     |  10 +++++-----
 print/tex-texdoc/options.mk   |  24 ------------------------
 7 files changed, 26 insertions(+), 55 deletions(-)

diffs (143 lines):

diff -r d8793731df1a -r 175555019056 print/tex-texdoc-doc/Makefile
--- a/print/tex-texdoc-doc/Makefile     Fri Feb 01 22:57:36 2019 +0000
+++ b/print/tex-texdoc-doc/Makefile     Fri Feb 01 23:31:07 2019 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.5 2018/05/13 11:00:26 markd Exp $
+# $NetBSD: Makefile,v 1.6 2019/02/01 23:31:07 markd Exp $
 
 DISTNAME=      texdoc.doc
-PKGNAME=       tex-${DISTNAME:S/./-/}-2018
-TEXLIVE_REV=   47446
+PKGNAME=       tex-${DISTNAME:S/./-/}-2018.47946
+TEXLIVE_REV=   47946
 
 MAINTAINER=    minskim%NetBSD.org@localhost
 HOMEPAGE=      http://ctan.org/pkg/texdoc
 COMMENT=       Documentation for tex-texdoc
-LICENSE=       gnu-gpl-v3
+LICENSE=       gnu-gpl-v2
 
 CONFLICTS+=    texlive-tetex<2011nb1
 
diff -r d8793731df1a -r 175555019056 print/tex-texdoc-doc/PLIST
--- a/print/tex-texdoc-doc/PLIST        Fri Feb 01 22:57:36 2019 +0000
+++ b/print/tex-texdoc-doc/PLIST        Fri Feb 01 23:31:07 2019 +0000
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.2 2013/11/17 17:13:29 minskim Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/02/01 23:31:07 markd Exp $
 man/man1/texdoc.1
-man/man1/texdoctk.1
-share/texmf-dist/doc/texdoc/News
-share/texmf-dist/doc/texdoc/texdoc.pdf
-share/texmf-dist/doc/texdoc/texdoc.tex
+share/texmf-dist/doc/support/texdoc/COPYING
+share/texmf-dist/doc/support/texdoc/NEWS
+share/texmf-dist/doc/support/texdoc/README.md
+share/texmf-dist/doc/support/texdoc/texdoc.pdf
+share/texmf-dist/doc/support/texdoc/texdoc.tex
diff -r d8793731df1a -r 175555019056 print/tex-texdoc-doc/distinfo
--- a/print/tex-texdoc-doc/distinfo     Fri Feb 01 22:57:36 2019 +0000
+++ b/print/tex-texdoc-doc/distinfo     Fri Feb 01 23:31:07 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2018/05/13 11:00:26 markd Exp $
+$NetBSD: distinfo,v 1.7 2019/02/01 23:31:07 markd Exp $
 
-SHA1 (tex-texdoc-47446/texdoc.doc.tar.xz) = 0783377383c495fcbc6520c95943b92f39365aae
-RMD160 (tex-texdoc-47446/texdoc.doc.tar.xz) = 51c56aecdcd7e0b40ff54a1b5ef9b0d002f7baab
-SHA512 (tex-texdoc-47446/texdoc.doc.tar.xz) = ceaccc08e4adef9eb0fb4736f14ade403e4631901a8b6ab2e7ac2e03634dbf72dde3335ab8987efd497778dccc7e558af93678db7f8664fac3433ef97d245b5e
-Size (tex-texdoc-47446/texdoc.doc.tar.xz) = 157044 bytes
+SHA1 (tex-texdoc-47946/texdoc.doc.tar.xz) = b3489346d30054114b5e764b3f061b76e1b5fa17
+RMD160 (tex-texdoc-47946/texdoc.doc.tar.xz) = 5b046076f69c6385b0c50b3aef0c8da60e7dbbd5
+SHA512 (tex-texdoc-47946/texdoc.doc.tar.xz) = 4b105ba04ff13596c7bb321377301024aa6d6c4bb7246ff21b6741e42484e47fa5378aec7a1d090041cf5c067a7ee73358eeb2be86d9c14989cb550fddce3775
+Size (tex-texdoc-47946/texdoc.doc.tar.xz) = 128904 bytes
diff -r d8793731df1a -r 175555019056 print/tex-texdoc/Makefile
--- a/print/tex-texdoc/Makefile Fri Feb 01 22:57:36 2019 +0000
+++ b/print/tex-texdoc/Makefile Fri Feb 01 23:31:07 2019 +0000
@@ -1,20 +1,19 @@
-# $NetBSD: Makefile,v 1.10 2018/05/13 11:00:26 markd Exp $
+# $NetBSD: Makefile,v 1.11 2019/02/01 23:31:07 markd Exp $
 
 DISTNAME=      texdoc
-PKGNAME=       tex-${DISTNAME}-2018
-TEXLIVE_REV=   47446
+PKGNAME=       tex-${DISTNAME}-2018.47946
+TEXLIVE_REV=   47946
 
 MAINTAINER=    minskim%NetBSD.org@localhost
 HOMEPAGE=      http://ctan.org/pkg/texdoc
 COMMENT=       Documentation access for TeX distributions
-LICENSE=       gnu-gpl-v3
+LICENSE=       gnu-gpl-v2
 
 REPLACE_TEXLUA=                bin/texdoc
 
 .include "../../print/texlive/package.mk"
-.include "options.mk"
 
-post-extract: extract-texdoctk
+post-extract:
        ${MKDIR} ${WRKSRC}/bin
        ${MV} ${WRKSRC}/texmf-dist/scripts/texdoc/texdoc.tlu \
                ${WRKSRC}/bin/texdoc
diff -r d8793731df1a -r 175555019056 print/tex-texdoc/PLIST
--- a/print/tex-texdoc/PLIST    Fri Feb 01 22:57:36 2019 +0000
+++ b/print/tex-texdoc/PLIST    Fri Feb 01 23:31:07 2019 +0000
@@ -1,7 +1,5 @@
-@comment $NetBSD: PLIST,v 1.4 2017/06/21 13:25:34 markd Exp $
+@comment $NetBSD: PLIST,v 1.5 2019/02/01 23:31:07 markd Exp $
 bin/texdoc
-${PLIST.x11}bin/texdoctk
-share/texmf-dist/scripts/texdoc/Data.tlpdb.lua
 share/texmf-dist/scripts/texdoc/alias.tlu
 share/texmf-dist/scripts/texdoc/config.tlu
 share/texmf-dist/scripts/texdoc/constants.tlu
@@ -12,6 +10,3 @@
 share/texmf-dist/scripts/texdoc/texdoclib.tlu
 share/texmf-dist/scripts/texdoc/view.tlu
 share/texmf-dist/texdoc/texdoc.cnf
-share/texmf-dist/texdoctk/texdocrc-win32.defaults
-share/texmf-dist/texdoctk/texdocrc.defaults
-share/texmf-dist/texdoctk/texdoctk.dat
diff -r d8793731df1a -r 175555019056 print/tex-texdoc/distinfo
--- a/print/tex-texdoc/distinfo Fri Feb 01 22:57:36 2019 +0000
+++ b/print/tex-texdoc/distinfo Fri Feb 01 23:31:07 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2018/05/13 11:00:26 markd Exp $
+$NetBSD: distinfo,v 1.7 2019/02/01 23:31:07 markd Exp $
 
-SHA1 (tex-texdoc-47446/texdoc.tar.xz) = f24683197783a9daad576323b70b0235e366eca0
-RMD160 (tex-texdoc-47446/texdoc.tar.xz) = cccb763d59275c0f804b98536131a7c031cd2ff4
-SHA512 (tex-texdoc-47446/texdoc.tar.xz) = ae3d12565f4ae2c04dd3b45594594e926ca537460526a6069bf05fa2eb7c790f3fbb7fcf5fd617aa35557f6edf04cdceca607dec8b777bebb52db039ac6764cd
-Size (tex-texdoc-47446/texdoc.tar.xz) = 221440 bytes
+SHA1 (tex-texdoc-47946/texdoc.tar.xz) = 3b5f90f35256f7649cfca5a77cc957426f8f0d51
+RMD160 (tex-texdoc-47946/texdoc.tar.xz) = ae5daf97026faae30dd8555a3c80b135661c9ca8
+SHA512 (tex-texdoc-47946/texdoc.tar.xz) = c8e25291eb8928534f6d79f13bc35d6be7b207a27083d2d2bae4bb31f6a79cc8941f45f057472cf7c4298602452cee9b6f3f0264849d4daf6accffd73ed2edd7
+Size (tex-texdoc-47946/texdoc.tar.xz) = 25560 bytes
diff -r d8793731df1a -r 175555019056 print/tex-texdoc/options.mk
--- a/print/tex-texdoc/options.mk       Fri Feb 01 22:57:36 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-# $NetBSD: options.mk,v 1.2 2013/11/17 17:13:29 minskim Exp $
-
-PKG_OPTIONS_VAR=       PKG_OPTIONS.tex-texdoc
-PKG_SUPPORTED_OPTIONS+=        x11
-PKG_SUGGESTED_OPTIONS+=        x11
-
-.include "../../mk/bsd.options.mk"
-
-PLIST_VARS+=           x11
-.if !empty(PKG_OPTIONS:Mx11)
-DEPENDS+=      p5-Tk-[0-9]*:../../x11/p5-Tk
-
-PLIST.x11=     yes
-REPLACE_PERL=  bin/texdoctk
-
-extract-texdoctk:
-       ${MKDIR} ${WRKSRC}/bin
-       ${MV} ${WRKSRC}/texmf-dist/scripts/texdoctk/texdoctk.pl \
-               ${WRKSRC}/bin/texdoctk
-       ${RMDIR} ${WRKSRC}/texmf-dist/scripts/texdoctk
-.else
-extract-texdoctk:
-       ${RM} -rf ${WRKSRC}/texmf-dist/scripts/texdoctk
-.endif



Home | Main Index | Thread Index | Old Index