From nobody Tue Apr 18 21:49:30 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q1Hd6621Yz45jj1; Tue, 18 Apr 2023 21:49:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q1Hd64gHjz422d; Tue, 18 Apr 2023 21:49:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681854570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OkGBwRmihRjEY+iUNm8TSh7/eE3+bVPaNvHp+tvhLWQ=; b=VXrUgWfq4PqIWqx2pw7ATdvHIopvkmhDF/SbuNTbyGPzpSSyct3tRR4sOZp7mOr6kFATc1 1B7mVysR3oUpqmQZMGnmNVvHi313bLTX0LcBzeKXk8HeuMsFJClb+Xk6oJwKD2MWiC/VQW 3Kh+6aP0s2U9iyP2QVu0QUllflAWv6nwlvDC0CzNYf0CcRkXDz5cqp/E1cpZaLEJ66ixcg E9vYBUaNTbZFkI4mU0tqOgcHtFDbU6CJGT/d0RIWt5OaeCREmRAowyCSo21dV239ITP/36 1sQjXp/g8eLc3Gtbrvi3B4KbCxBmZVvT6pYdTF9x6ojktYUhtpkFTJrXd5JIAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681854570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OkGBwRmihRjEY+iUNm8TSh7/eE3+bVPaNvHp+tvhLWQ=; b=JN3gWvuQqQdB2t/z3rNqTuHP28DLDa0CPApZw+hZXKZUPLerue0ajw9CTeqGC1yvmK06qd QxepbTiLccj0pXtNNo++vvjAuLg3EV1aIxHb168HQcQ39tNNVHrWR8sRkUmrpkEnHfuN3k F3IOwbqXzPoisOSqS1ikQZjJ6tC2ilB80xNOVNeM0QcLOthWES1K0e1uV7XFUMNVr/oPlU I3E38QYy61Ky9kNM15A18cBCmHjuRIS/2hBFZpwXNCIXoHFlmHxk2oSU+NhZqHofUyfW7H 0+/sO7uqTLeDIN17wdowgnJOjSHTuWjb0TMCSdDGsbIc13oUcwpJf7bAQnbYNA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681854570; a=rsa-sha256; cv=none; b=Mfwqc30OrcWVzhSLCsFcKWycgQfYlynXFSdGTDgE30klnzro8OgUP+IzmC9BnPVPqo85D2 5+Uhg0LzS2GxL1qhUFLQ4Rs/UYfNq4HJOjjkhZ7wry9lqrQMUd4dFl7Q1AiU45i0UvYRwn JqPNRwsGC11aTEgDNCItJklvHV9aP/PeBt2OTJ+VaARMD5oiMqZqlw3aqc0MvvVOpu1kFc paBaS9jkiueYQUO0FSUwN/aG6YdRhYp3UNK6xepBFX+sg+jhG3K8y6xabYVHQVDS8l3+ud 5gwO82rw36BncCNs+WWIjMDIbw/hl0x+HJVjZh/W1xHiWKbqEI1qyhZ2tcZ3VQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q1Hd63YJxzTKj; Tue, 18 Apr 2023 21:49:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33ILnUBO044829; Tue, 18 Apr 2023 21:49:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33ILnUTx044828; Tue, 18 Apr 2023 21:49:30 GMT (envelope-from git) Date: Tue, 18 Apr 2023 21:49:30 GMT Message-Id: <202304182149.33ILnUTx044828@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 65d3b64a2987 - main - print/texinfo: Update to 7.0.3 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 65d3b64a298777d5e3cfd2b997552bb336f686b5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=65d3b64a298777d5e3cfd2b997552bb336f686b5 commit 65d3b64a298777d5e3cfd2b997552bb336f686b5 Author: Po-Chuan Hsieh AuthorDate: 2023-04-18 21:37:45 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-04-18 21:37:45 +0000 print/texinfo: Update to 7.0.3 - Update texinfo.tex to 20230327 Changes: https://git.savannah.gnu.org/cgit/texinfo.git/plain/NEWS https://lists.gnu.org/archive/html/bug-texinfo/2022-11/msg00036.html https://lists.gnu.org/archive/html/bug-texinfo/2022-11/msg00237.html https://git.savannah.gnu.org/cgit/texinfo.git/log/doc/texinfo.tex PR: 270721 Exp-run by: antoine --- print/texinfo/Makefile | 14 +++++-------- print/texinfo/distinfo | 18 ++++++++--------- print/texinfo/files/patch-configure | 11 +++++++++++ .../texinfo/files/patch-tp-Texinfo-ParserNonXS.pm | 11 +++++++++++ .../texinfo/files/patch-tp-Texinfo-XS-Makefile.in | 13 ++++++++++++ print/texinfo/files/patch-tp-Texinfo-XS-misc.c | 22 +++++++++++++++++++++ print/texinfo/pkg-plist | 23 +++++++++++++++++----- 7 files changed, 89 insertions(+), 23 deletions(-) diff --git a/print/texinfo/Makefile b/print/texinfo/Makefile index 01cb7f28a985..a32fd5213008 100644 --- a/print/texinfo/Makefile +++ b/print/texinfo/Makefile @@ -1,6 +1,5 @@ PORTNAME= texinfo -PORTVERSION= 6.8 -PORTREVISION= 3 +PORTVERSION= 7.0.3 PORTEPOCH= 1 CATEGORIES= print MASTER_SITES= GNU \ @@ -39,12 +38,12 @@ INSTALL_TARGET= install-strip install-tex MAKE_ARGS= PERL=${PERL} TEXMF=${LOCALBASE}/${TEXMFDIR} PKGDEINSTALL= ${PKGINSTALL} -INFO= info-stnd texinfo +INFO= info-stnd texi2any_api texi2any_internals texinfo # Use the date on https://ftp.gnu.org/gnu/texinfo/ -HTMLXREF_CNF_RELDATE= 20220110 -TEXI2DVI_RELDATE= 20220408 -TEXINFO_TEX_RELDATE= 20220409 +HTMLXREF_CNF_RELDATE= 20221130 +TEXI2DVI_RELDATE= 20221130 +TEXINFO_TEX_RELDATE= 20230327 CPE_VENDOR= gnu CPE_VERSION= ${PORTVERSION:R} @@ -56,9 +55,6 @@ post-patch: @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/texinfo.tex-${TEXINFO_TEX_RELDATE} ${WRKSRC}/doc/texinfo.tex @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/htmlxref.cnf-${HTMLXREF_CNF_RELDATE} ${WRKSRC}/util/htmlxref.cnf @${INSTALL_SCRIPT} ${DISTDIR}/${DIST_SUBDIR}/texi2dvi-${TEXI2DVI_RELDATE} ${WRKSRC}/util/texi2dvi - @${REINPLACE_CMD} -e '/rm -f $$(DESTDIR)/ s|$$| $$(DESTDIR)$$(xsdir)/XSParagraph.*|' ${WRKSRC}/tp/Texinfo/XS/Makefile.in - @${REINPLACE_CMD} -e 's|free (.*)|Safe&|' ${WRKSRC}/tp/Texinfo/XS/misc.c - @${REINPLACE_CMD} -e 's/tinfo/tinfow/g' ${WRKSRC}/configure post-install: ${INSTALL_DATA} ${WRKSRC}/util/htmlxref.cnf ${STAGEDIR}${DATADIR} diff --git a/print/texinfo/distinfo b/print/texinfo/distinfo index 4898d2a810ea..ed4badf5c73b 100644 --- a/print/texinfo/distinfo +++ b/print/texinfo/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1652548170 -SHA256 (texinfo/texinfo-6.8.tar.xz) = 8eb753ed28bca21f8f56c1a180362aed789229bd62fff58bf8368e9beb59fec4 -SIZE (texinfo/texinfo-6.8.tar.xz) = 4961528 -SHA256 (texinfo/htmlxref.cnf-20220110) = 6c9153878f2abe2f19468b442376ce5784fc030ab6ba5628d46d342596a99c74 -SIZE (texinfo/htmlxref.cnf-20220110) = 22769 -SHA256 (texinfo/texi2dvi-20220408) = 11d5d6aec5eb7de4bb8aa8aed15a17ce226dbf08c6b0bfc53e5a0254e76655b9 -SIZE (texinfo/texi2dvi-20220408) = 58497 -SHA256 (texinfo/texinfo.tex-20220409) = de57dfd9dc2c42466d08adec2717a434cf4cd0d2a517f9eb392f01cb75671e46 -SIZE (texinfo/texinfo.tex-20220409) = 373782 +TIMESTAMP = 1681843834 +SHA256 (texinfo/texinfo-7.0.3.tar.xz) = 74b420d09d7f528e84f97aa330f0dd69a98a6053e7a4e01767eed115038807bf +SIZE (texinfo/texinfo-7.0.3.tar.xz) = 4886668 +SHA256 (texinfo/htmlxref.cnf-20221130) = ef2e21ec0f84c5529ae74c9b9755d7c9e78f20e1e6aabf6c6f2bd6c282518655 +SIZE (texinfo/htmlxref.cnf-20221130) = 24512 +SHA256 (texinfo/texi2dvi-20221130) = 4ed3d7db702036054dda61268937e4211169a47619ba0afb5e72064e3bc2de76 +SIZE (texinfo/texi2dvi-20221130) = 58633 +SHA256 (texinfo/texinfo.tex-20230327) = a73bd67dd7d63410c8acaa234263f795d257200dc01e0fb5d09e14074c5cbf02 +SIZE (texinfo/texinfo.tex-20230327) = 380239 diff --git a/print/texinfo/files/patch-configure b/print/texinfo/files/patch-configure new file mode 100644 index 000000000000..90349db507b0 --- /dev/null +++ b/print/texinfo/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig 2022-11-30 17:07:45 UTC ++++ configure +@@ -31429,7 +31429,7 @@ fi + # rather ncurses. So we check for it. + TERMLIBS= + # Check for termlib before termcap because Solaris termcap needs libucb. +-TERMLIB_VARIANTS="tinfo ncurses curses termlib termcap terminfo" ++TERMLIB_VARIANTS="tinfow ncurses curses termlib termcap terminfo" + for termlib in ${TERMLIB_VARIANTS}; do + as_ac_Lib=`printf "%s\n" "ac_cv_lib_${termlib}""_tgetent" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tgetent in -l${termlib}" >&5 diff --git a/print/texinfo/files/patch-tp-Texinfo-ParserNonXS.pm b/print/texinfo/files/patch-tp-Texinfo-ParserNonXS.pm new file mode 100644 index 000000000000..720674e98b94 --- /dev/null +++ b/print/texinfo/files/patch-tp-Texinfo-ParserNonXS.pm @@ -0,0 +1,11 @@ +--- tp/Texinfo/ParserNonXS.pm.orig 2023-01-22 10:42:42 UTC ++++ tp/Texinfo/ParserNonXS.pm +@@ -4357,7 +4357,7 @@ sub _process_remaining_on_line($$$$) + and ($current->{'parent'}->{'type'} eq 'menu_comment' + or $current->{'parent'}->{'type'} eq 'menu_entry_description') + and $asterisk +- and @{$current->{'contents'}} ++ and $current->{'contents'} + and $current->{'contents'}->[-1]->{'type'} + and $current->{'contents'}->[-1]->{'type'} eq 'empty_line' + and $current->{'contents'}->[-1]->{'text'} eq '') { diff --git a/print/texinfo/files/patch-tp-Texinfo-XS-Makefile.in b/print/texinfo/files/patch-tp-Texinfo-XS-Makefile.in new file mode 100644 index 000000000000..6d8ccd08a595 --- /dev/null +++ b/print/texinfo/files/patch-tp-Texinfo-XS-Makefile.in @@ -0,0 +1,13 @@ +% sed '/rm -f $$(DESTDIR)/ s|$| $(DESTDIR)$(xsdir)/XSParagraph.*|' -i .orig tp/Texinfo/XS/Makefile.in + +--- tp/Texinfo/XS/Makefile.in.orig 2022-11-30 17:07:57 UTC ++++ tp/Texinfo/XS/Makefile.in +@@ -2326,7 +2326,7 @@ uninstall-am: uninstall-dist_modulesDATA uninstall-xsL + # otherwise dynamic libraries aren't built (a libtool bug). Work around + # this by deleting it after it's installed. + install-data-hook: +- rm -f $(DESTDIR)$(xsdir)/TestXS* ++ rm -f $(DESTDIR)$(xsdir)/TestXS* $(DESTDIR)$(xsdir)/XSParagraph.* + @HOST_NEEDS_NO_UNDEFINED_TRUE@ # The -no-undefined flag is for MS-Windows. See info node + @HOST_NEEDS_NO_UNDEFINED_TRUE@ # `(gnulib)Libtool and Windows'. The -L and -l options after it show + @HOST_NEEDS_NO_UNDEFINED_TRUE@ # where to find the undefined symbols. diff --git a/print/texinfo/files/patch-tp-Texinfo-XS-misc.c b/print/texinfo/files/patch-tp-Texinfo-XS-misc.c new file mode 100644 index 000000000000..ef98e0dba937 --- /dev/null +++ b/print/texinfo/files/patch-tp-Texinfo-XS-misc.c @@ -0,0 +1,22 @@ +% sed -e 's|free (.*)|Safe&|' -i .orig tp/Texinfo/XS/misc.c + +--- tp/Texinfo/XS/misc.c.orig 2022-11-30 17:06:28 UTC ++++ tp/Texinfo/XS/misc.c +@@ -67,7 +67,7 @@ xs_abort_empty_line (HV *self, HV *current, SV *additi + additional_spaces = SvPV (additional_spaces_in, len); + if (!SvUTF8 (additional_spaces_in)) + { +- free (new_string); ++ Safefree (new_string); + new_string = bytes_to_utf8 (additional_spaces, &len); + additional_spaces = new_string; + } +@@ -248,7 +248,7 @@ xs_merge_text (HV *self, HV *current, SV *text_in) + text = SvPV (text_in, len); + if (!SvUTF8 (text_in)) + { +- free (new_string); ++ Safefree (new_string); + new_string = bytes_to_utf8 (text, &len); + text = new_string; + } diff --git a/print/texinfo/pkg-plist b/print/texinfo/pkg-plist index bb1146c9a9e3..aaf51eba8cf6 100644 --- a/print/texinfo/pkg-plist +++ b/print/texinfo/pkg-plist @@ -35,6 +35,7 @@ man/man5/texinfo.5.gz %%NLS%%share/locale/es/LC_MESSAGES/texinfo.mo %%NLS%%share/locale/es/LC_MESSAGES/texinfo_document.mo %%NLS%%share/locale/fi/LC_MESSAGES/texinfo.mo +%%NLS%%share/locale/fi/LC_MESSAGES/texinfo_document.mo %%NLS%%share/locale/fr/LC_MESSAGES/texinfo.mo %%NLS%%share/locale/fr/LC_MESSAGES/texinfo_document.mo %%NLS%%share/locale/he/LC_MESSAGES/texinfo.mo @@ -59,9 +60,14 @@ man/man5/texinfo.5.gz %%NLS%%share/locale/pt_BR/LC_MESSAGES/texinfo.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/texinfo_document.mo %%NLS%%share/locale/ro/LC_MESSAGES/texinfo.mo +%%NLS%%share/locale/ro/LC_MESSAGES/texinfo_document.mo %%NLS%%share/locale/ru/LC_MESSAGES/texinfo.mo %%NLS%%share/locale/rw/LC_MESSAGES/texinfo.mo +%%NLS%%share/locale/sk/LC_MESSAGES/texinfo.mo +%%NLS%%share/locale/sk/LC_MESSAGES/texinfo_document.mo %%NLS%%share/locale/sl/LC_MESSAGES/texinfo.mo +%%NLS%%share/locale/sr/LC_MESSAGES/texinfo.mo +%%NLS%%share/locale/sr/LC_MESSAGES/texinfo_document.mo %%NLS%%share/locale/sv/LC_MESSAGES/texinfo.mo %%NLS%%share/locale/sv/LC_MESSAGES/texinfo_document.mo %%NLS%%share/locale/tr/LC_MESSAGES/texinfo.mo @@ -72,28 +78,31 @@ man/man5/texinfo.5.gz %%NLS%%share/locale/zh_TW/LC_MESSAGES/texinfo.mo %%DATADIR%%/DebugTexinfo/DebugTree.pm %%DATADIR%%/Pod-Simple-Texinfo/Pod/Simple/Texinfo.pm +%%DATADIR%%/Texinfo/Commands.pm +%%DATADIR%%/Texinfo/Commands.pod %%DATADIR%%/Texinfo/Common.pm +%%DATADIR%%/Texinfo/Config.pm %%DATADIR%%/Texinfo/Convert/Converter.pm %%DATADIR%%/Texinfo/Convert/DocBook.pm %%DATADIR%%/Texinfo/Convert/HTML.pm %%DATADIR%%/Texinfo/Convert/IXIN.pm %%DATADIR%%/Texinfo/Convert/IXINSXML.pm %%DATADIR%%/Texinfo/Convert/Info.pm -%%DATADIR%%/Texinfo/Convert/Line.pm +%%DATADIR%%/Texinfo/Convert/LaTeX.pm %%DATADIR%%/Texinfo/Convert/NodeNameNormalization.pm %%DATADIR%%/Texinfo/Convert/Paragraph.pm %%DATADIR%%/Texinfo/Convert/ParagraphNonXS.pm %%DATADIR%%/Texinfo/Convert/PlainTexinfo.pm %%DATADIR%%/Texinfo/Convert/Plaintext.pm %%DATADIR%%/Texinfo/Convert/Texinfo.pm +%%DATADIR%%/Texinfo/Convert/TexinfoMarkup.pm %%DATADIR%%/Texinfo/Convert/TexinfoSXML.pm %%DATADIR%%/Texinfo/Convert/TexinfoXML.pm %%DATADIR%%/Texinfo/Convert/Text.pm %%DATADIR%%/Texinfo/Convert/TextContent.pm -%%DATADIR%%/Texinfo/Convert/UnFilled.pm %%DATADIR%%/Texinfo/Convert/Unicode.pm +%%DATADIR%%/Texinfo/Convert/Utils.pm %%DATADIR%%/Texinfo/Documentlanguages.pm -%%DATADIR%%/Texinfo/Encoding.pm %%DATADIR%%/Texinfo/MiscXS.pm %%DATADIR%%/Texinfo/ModulePath.pm %%DATADIR%%/Texinfo/Parser.pm @@ -101,15 +110,18 @@ man/man5/texinfo.5.gz %%DATADIR%%/Texinfo/Report.pm %%DATADIR%%/Texinfo/Structuring.pm %%DATADIR%%/Texinfo/Transformations.pm +%%DATADIR%%/Texinfo/Translations.pm %%DATADIR%%/Texinfo/XS/parsetexi/Parsetexi.pm %%DATADIR%%/Texinfo/XSLoader.pm +%%DATADIR%%/ext/epub3.pm +%%DATADIR%%/ext/latex2html.pm +%%DATADIR%%/ext/tex4ht.pm %%DATADIR%%/htmlxref.cnf %%DATADIR%%/init/book.pm %%DATADIR%%/init/chm.pm +%%DATADIR%%/init/documentation_examples.pm %%DATADIR%%/init/highlight_syntax.pm %%DATADIR%%/init/html32.pm -%%DATADIR%%/init/latex2html.pm -%%DATADIR%%/init/tex4ht.pm %%DATADIR%%/js/info.css %%DATADIR%%/js/info.js %%DATADIR%%/js/modernizr.js @@ -138,3 +150,4 @@ man/man5/texinfo.5.gz %%TEXMFDIR%%/tex/texinfo/txi-sr.tex %%TEXMFDIR%%/tex/texinfo/txi-tr.tex %%TEXMFDIR%%/tex/texinfo/txi-uk.tex +%%TEXMFDIR%%/tex/texinfo/txi-zh.tex