mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
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
This commit is contained in:
parent
7a2aacf86b
commit
65d3b64a29
@ -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}
|
||||
|
@ -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
|
||||
|
11
print/texinfo/files/patch-configure
Normal file
11
print/texinfo/files/patch-configure
Normal file
@ -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
|
11
print/texinfo/files/patch-tp-Texinfo-ParserNonXS.pm
Normal file
11
print/texinfo/files/patch-tp-Texinfo-ParserNonXS.pm
Normal file
@ -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 '') {
|
13
print/texinfo/files/patch-tp-Texinfo-XS-Makefile.in
Normal file
13
print/texinfo/files/patch-tp-Texinfo-XS-Makefile.in
Normal file
@ -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.
|
22
print/texinfo/files/patch-tp-Texinfo-XS-misc.c
Normal file
22
print/texinfo/files/patch-tp-Texinfo-XS-misc.c
Normal file
@ -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;
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user