Skip to content

Commit

Permalink
*/tex*: Update version 20210325=>20230313
Browse files Browse the repository at this point in the history
- devel/tex-kpathsea: Update version 6.3.3=>6.3.5
- print/texlive-tlmgr: Update version 20210325=>20230313
  * Add LICENSE GPLv2
- devel/tex-libtexlua: Update distinfo from 20230313 dists
- devel/tex-libtexluajit: Update distinfo from 20230313 dists
- print/tex-ptexenc: Update version 1.3.9=>1.4.3
  * Pet portclippy
- devel/tex-web2c: Update version 20210325=>20230313
- devel/tex-synctex: Update distinfo from 20230313 dists
- print/tex-basic-engines: Update version 20210325=>20230313
- print/texlive-base: Update version 20210325=>20230313
- print/texlive-docs: Update version 20210325=>20230313
- print/texlive-full: Update version 20210325=>20230313
- print/texlive-texmf: Update version 20210325=>20230313
- print/texlive-texmf-source: Update version 20210325=>20230313
- print/latex-biber: Update version 2.16=>2.19
- print/tex-dvipdfmax: Update version 20210325=>20230313
- print/tex-dvipsk: Update version 2021.1=>2023.1
- print/tex-formats: Update version 20210325=>20230313
- print/tex-jadetex: Update distinfo from 20230313 dists
- print/tex-luatex: Update version 1.12.0=>1.16.0
- print/tex-xetex: Update distinfo from 20230313 dists
- print/tex-xmltex: Update distinfo from 20230313 dists
- japanese/tex-ptex: Fix build
  * Remove ConTeXt format
- textproc/foiltex: Update MASTER_SITES
  * Adopt port
- There are multiple ports which uses the macro USE_TEX=texmf that is
  downloading a big DISTFILE. Unfortunately it is not possible for me to
  test all the consumers in runtime. So in the following ports I have
  removed USE_TEX=texmf so that someone who uses those can report the
  runtime files those are missing. If possible(based on LICENSE
  permission) I will try to create a smaller distfile out of the
  texlive-20230313-texmf and change dependency accordingly otherwise
  will reinstate USE_TEX=texmf. The list of ports that are affected are
  following:
  * arabic/arabtex
  * graphics/epix
  * math/cadabra2
  * math/coq
  * math/gnuplot-tex-extras
  * net-mgmt/netmagis-www
  * print/dvisvg
  * print/lilypond
  * print/mftrace
  * print/tex-xdvik
  * print/latex-beamer

Sponsored by:	Nepustil
  • Loading branch information
5u623l20 committed Apr 11, 2023
1 parent a8fe440 commit 24e24a1
Show file tree
Hide file tree
Showing 93 changed files with 10,584 additions and 1,341 deletions.
28 changes: 4 additions & 24 deletions Mk/Uses/tex.mk
Expand Up @@ -29,7 +29,7 @@
# xdvik: XDvi
# gbklatex: gbklatex

# formats: TeX, LaTeX, AMSTeX, ConTeXT, EplainTeX,
# formats: TeX, LaTeX, AMSTeX, EplainTeX,
# CSplainTeX, METAFONT, MLTeX, PDFTeX, TeXsis
# tex: TeX
# latex: LaTeX
Expand Down Expand Up @@ -91,8 +91,9 @@ TEXMFVARDIR?= share/texmf-var
TEXMFCONFIGDIR?=share/texmf-config
FMTUTIL_CNF?= ${TEXMFCONFIGDIR}/web2c/fmtutil.cnf
TEXHASHDIRS?= ${TEXMFDIR} ${TEXMFDISTDIR} ${TEXMFLOCALDIR} ${TEXMFVARDIR} ${TEXMFCONFIGDIR}
TEXLIVE_YEAR?= 2021
TEXLIVE_VERSION?= ${TEXLIVE_YEAR}0325
TEXLIVE_YEAR?= 2023
TEXLIVE_VERSION?= ${TEXLIVE_YEAR}0313
DISTNAME_TEXMF= texlive-${TEXLIVE_VERSION}-texmf

.for V in TEXMFDIR TEXMFDISTDIR TEXMFLOCALDIR TEXMFVARDIR TEXMFCONFIGDIR FMTUTIL_CNF
PLIST_SUB+= $V="${$V}"
Expand Down Expand Up @@ -320,20 +321,6 @@ TEX_FORMAT_AMSTEX_DIRS= \
post-install-amstex:
${LN} -fs pdftex ${STAGEDIR}${PREFIX}/bin/amstex

TEX_FORMAT_CONTEXT?= \
"cont-en pdftex cont-usr.tex -8bit *cont-en.mkii"
# XXX
# "metafun mpost - metafun.mp"
TEX_FORMAT_CONTEXT_FILES= \
${TEXMFVARDIR}/web2c/pdftex/cont-en.log \
${TEXMFVARDIR}/web2c/pdftex/cont-en.fmt
# bin/metafun
TEX_FORMAT_CONTEXT_DIRS= \
${TEXMFVARDIR}/web2c/pdftex
post-install-context:
@${DO_NADA}
# ${LN} -sf mpost ${PREFIX}/bin/metafun

TEX_FORMAT_CSPLAIN?= \
"csplain pdftex - -etex -enc csplain-utf8.ini" \
"pdfcsplain pdftex - -etex -enc csplain-utf8.ini"
Expand Down Expand Up @@ -544,12 +531,8 @@ TEX_FORMAT_PTEX_FILES= \
${TEXMFVARDIR}/web2c/eptex/platex.fmt
TEX_FORMAT_PTEX_BIN= \
bin/eptex \
bin/pbibtex \
bin/pdvitype \
bin/ptex \
bin/platex \
bin/ppltotf \
bin/ptftopl \
bin/upbibtex \
bin/updvitype \
bin/uppltotf \
Expand Down Expand Up @@ -607,13 +590,10 @@ TEX_FORMAT_XETEX?= \
"xetex xetex language.def -etex xetex.ini" \
"xelatex xetex language.dat -etex xelatex.ini" \
"pdfcsplain xetex - -etex csplain.ini" \
"cont-en xetex cont-usr.tex -8bit *cont-en.mkii" \
"lollipop xetex - -etex lollipop.ini"
TEX_FORMAT_XETEX_FILES= \
${TEXMFVARDIR}/web2c/xetex/lollipop.fmt \
${TEXMFVARDIR}/web2c/xetex/lollipop.log \
${TEXMFVARDIR}/web2c/xetex/cont-en.log \
${TEXMFVARDIR}/web2c/xetex/cont-en.fmt \
${TEXMFVARDIR}/web2c/xetex/pdfcsplain.log \
${TEXMFVARDIR}/web2c/xetex/pdfcsplain.fmt \
${TEXMFVARDIR}/web2c/xetex/xetex.log \
Expand Down
4 changes: 2 additions & 2 deletions arabic/arabtex/Makefile
@@ -1,6 +1,6 @@
PORTNAME= arabtex
PORTVERSION= 3.11
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= arabic print
MASTER_SITES= ftp://ftp.informatik.uni-stuttgart.de/pub/${PORTNAME}/
DISTNAME= arab${PORTVERSION:S/.//}
Expand All @@ -12,7 +12,7 @@ WWW= http://www2.informatik.uni-stuttgart.de/ivi/bs/research/arab_e.htm
LICENSE= LPPL10

USES= tar:tgz tex
USE_TEX= base texmf
USE_TEX= base # texmf

NO_WRKSUBDIR= yes
NO_BUILD= yes
Expand Down
3 changes: 2 additions & 1 deletion devel/tex-kpathsea/Makefile
@@ -1,5 +1,5 @@
PORTNAME= kpathsea
PORTVERSION= 6.3.3
PORTVERSION= 6.3.5
CATEGORIES= devel
MASTER_SITES= TEX_CTAN/systems/texlive/${TEXLIVE_YEAR}/
PKGNAMEPREFIX= tex-
Expand All @@ -26,6 +26,7 @@ EXTRACT_FILES= build-aux texk/kpathsea texk/texlive/tl_support \
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/kpathsea

INFO= kpathsea
PLIST_SUB= VERSION=${PORTVERSION}

post-install:
(cd ${WRKDIR}/${DISTNAME}/texk/texlive/linked_scripts/texlive-extra && \
Expand Down
6 changes: 3 additions & 3 deletions devel/tex-kpathsea/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1643521077
SHA256 (TeX/texlive-20210325-source.tar.xz) = 7aefd96608d72061970f2d73f275be5648ea8ae815af073016d3106acc0d584b
SIZE (TeX/texlive-20210325-source.tar.xz) = 54837368
TIMESTAMP = 1680449457
SHA256 (TeX/texlive-20230313-source.tar.xz) = 3878aa0e1ed0301c053b0e2ee4e9ad999c441345f4882e79bdd1c8f4ce9e79b9
SIZE (TeX/texlive-20230313-source.tar.xz) = 68630148
6 changes: 3 additions & 3 deletions devel/tex-kpathsea/files/patch-Makefile.in
@@ -1,6 +1,6 @@
--- Makefile.in.orig 2022-01-30 05:38:17 UTC
--- Makefile.in.orig 2023-04-02 15:35:03 UTC
+++ Makefile.in
@@ -364,7 +364,7 @@ am__can_run_installinfo = \
@@ -364,7 +364,7 @@ DATA = $(dist_noinst_DATA) $(pkgconfig_DATA)
*) (install-info --version) >/dev/null 2>&1;; \
esac
DATA = $(dist_noinst_DATA) $(pkgconfig_DATA)
Expand All @@ -9,7 +9,7 @@
$(noinst_HEADERS)
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
@@ -2101,7 +2101,7 @@ install-binPROGRAMS: install-libLTLIBRARIES
@@ -2103,7 +2103,7 @@ installdirs-am:

installdirs: installdirs-recursive
installdirs-am:
Expand Down
132 changes: 122 additions & 10 deletions devel/tex-kpathsea/files/patch-texmf.cnf
@@ -1,6 +1,27 @@
--- texmf.cnf.orig 2021-03-23 18:18:30 UTC
--- texmf.cnf.orig 2023-02-25 22:59:04 UTC
+++ texmf.cnf
@@ -59,7 +59,7 @@
@@ -1,13 +1,13 @@
% original texmf.cnf -- runtime path configuration file for kpathsea.
% Public domain.
-%
+%
% If you modify this original file, YOUR CHANGES WILL BE LOST when it is
% updated. Instead, put your changes -- and only your changes, not an
% entire copy! -- in ../../texmf.cnf. That is, if this file is
% installed in /some/path/to/texlive/2023/texmf-dist/web2c/texmf.cnf,
% put your custom settings in /some/path/to/texlive/2023/texmf.cnf.
% (Below, we use YYYY in place of the specific year.)
-%
+%
% What follows is a super-summary of what this .cnf file can
% contain. Please read the Kpathsea manual for more information.
%
@@ -55,11 +55,11 @@
% Redistributors will probably want $SELFAUTODIR/share, i.e., /usr/share.
% Kpathsea sets (in kpathsea/progname.c):
% SELFAUTOLOC (directory of the binary=/usr/local/texlive/YYYY/bin/i386-linux),
-% SELFAUTODIR (its parent = /usr/local/texlive/YYYY/bin),
+% SELFAUTODIR (its parent = /usr/local/texlive/YYYY/bin),
% SELFAUTOPARENT (its grandparent = /usr/local/texlive/YYYY), and
% SELFAUTOGRANDPARENT (its great-grandparent = /usr/local/texlive).
% Sorry for the off-by-one-generation names.
Expand All @@ -9,7 +30,7 @@

% The main tree of distributed packages and programs:
TEXMFDIST = $TEXMFROOT/texmf-dist
@@ -69,7 +69,7 @@ TEXMFDIST = $TEXMFROOT/texmf-dist
@@ -69,7 +69,7 @@ TEXMFMAIN = $TEXMFDIST
TEXMFMAIN = $TEXMFDIST

% Local additions to the distribution trees.
Expand All @@ -18,15 +39,104 @@

% TEXMFSYSVAR, where *-sys store cached runtime data.
TEXMFSYSVAR = $TEXMFROOT/texmf-var
@@ -566,6 +566,7 @@ $SELFAUTOLOC/texmf-local/web2c,\
@@ -99,12 +99,12 @@ TEXMFAUXTREES = {}
%
% For texconfig to work properly, TEXMFCONFIG and TEXMFVAR should be named
% explicitly and before other trees.
-%
+%
% TEXMFLOCAL precedes TEXMFDIST because locally-installed versions
% should take precedence over distribution files -- although it is
% generally a source of confusion to have different versions of a
% package installed, whatever the trees, so try to avoid it.
-%
+%
% The odd-looking $TEXMFAUXTREES$TEXMF... construct is so that if no auxtree is
% ever defined (the 99% common case), no extra elements will be added to
% the search paths. tlmgr takes care to end any value with a trailing comma.
@@ -452,7 +452,7 @@ MAILCAPLIBDIR = $TEXMFROOT/etc
% Default settings for the fontconfig library as used by the Windows
% versions of xetex/xdvipdfmx. Not used by xetex on Unixish systems.
% ConTeXT MkIV (all platforms) also use these values.
-%
+%
FONTCONFIG_FILE = fonts.conf
FONTCONFIG_PATH = $TEXMFSYSVAR/fonts/conf
FC_CACHEDIR = $TEXMFSYSVAR/fonts/cache
@@ -499,12 +499,12 @@ DVIPDFMXINPUTS = $TEXMF/dvipdfmx
DVIPDFMXINPUTS = $TEXMF/dvipdfmx

% Lua needs to look in TEXINPUTS for lua scripts distributed with packages.
-%
+%
% But we can't simply use $TEXINPUTS, since then if TEXINPUTS is set in
% the environment with a colon, say, TEXINPUTS=/some/dir:, the intended
% default expansion of TEXINPUTS will not happen and .lua files under
% the /tex/ tree will not be found.
-%
+%
% So, duplicate the TEXINPUTS.*lualatex values as LUAINPUTS.*lualatex.
% The default LUAINPUTS suffices for luatex and dviluatex.
%
@@ -542,14 +542,14 @@ RUBYINPUTS = $TEXMFDOTDIR;$TEXMF/scripts/{$progname,
% paradoxical), but the compile-time default in paths.h is built from it.
% The SELFAUTO* variables are set automatically from the location of
% argv[0], in kpse_set_program_name.
-%
+%
% This main texmf.cnf file is installed, for a release YYYY, in a
% directory such as /usr/local/texlive/YYYY/texmf-dist/web2c/texmf.cnf.
% Since this file is subject to future updates, the TeX Live installer
% or human administrator may also create a file
% /usr/local/texlive/YYYY/texmf.cnf; any settings in this latter file
% will take precedence over the distributed one.
-%
+%
% For security reasons, it is best not to include . in this path.
%
% The idea behind this lengthy definition: for each of
@@ -558,13 +558,13 @@ RUBYINPUTS = $TEXMFDOTDIR;$TEXMF/scripts/{$progname,
% then the subdirectories ./texmf-local, texmf-dist, ./texmf.
% At any given installation, most of these directories will not exist,
% but they all turn out to be useful somewhere.
-%
+%
% Special addition -- we want to include one more directory: the
% great-grandparent's texmf-local, because that is how TL is installed
% by default. That is, given a binary
% /usr/local/texlive/YYYY/bin/PLATFORM/kpsewhich, it should find
% /usr/local/texlive/texmf-local/web2c/texmf.cnf. I.e., not under YYYY.
-%
+%
% As a result, we cannot use actual brace expansion in the definition,
% since we don't want to scatter ../'s throughout the value. Hence we
% explicitly list every directory. Arguably more understandable anyway.
@@ -578,6 +578,7 @@ $SELFAUTOLOC/texmf/web2c,\
$SELFAUTOLOC/texmf-dist/web2c,\
$SELFAUTOLOC/texmf/web2c,\
\
+/var/db/tlpkg,\
$SELFAUTODIR,\
$SELFAUTODIR/share/texmf-local/web2c,\
$SELFAUTODIR/share/texmf-dist/web2c,\
@@ -804,7 +805,7 @@ hash_extra = 600000
@@ -634,14 +635,14 @@ shell_escape = p
shell_escape = p

% No spaces in this command list.
-%
+%
% The programs listed here are as safe as any we know: they either do
% not write any output files, respect openout_any, or have hard-coded
% restrictions similar to or higher than openout_any=p. They also have
% no features to invoke arbitrary other programs, and no known
% exploitable bugs. All to the best of our knowledge. They also have
% practical use for being called from TeX.
-%
+%
shell_escape_commands = \
bibtex,bibtex8,\
extractbb,\
@@ -813,7 +814,7 @@ pool_size = 6250000
pool_size = 6250000
% Minimum pool space after TeX's own strings; must be at least
% 25000 less than pool_size, but doesn't need to be nearly that large.
Expand All @@ -35,7 +145,7 @@
% Maximum number of strings.
max_strings = 500000
% Min pool space left after loading .fmt.
@@ -816,7 +817,7 @@ strings_free = 100
@@ -825,7 +826,7 @@ strings_free = 100
% expansion works by writing material into the buffer and reparsing the
% line. As a consequence, certain constructs require the buffer to be
% very large, even though most documents can be handled with a small value.
Expand All @@ -44,12 +154,14 @@

% Hyphenation trie. The maximum possible is 4194303 (ssup_trie_size in
% the sources), but we don't need that much. The value here suffices
@@ -828,7 +829,7 @@ trie_size = 1100000
@@ -837,8 +838,8 @@ hyph_size = 8191 % prime number of hyphenation
hyph_size = 8191 % prime number of hyphenation exceptions, >610, <65535
% http://primes.utm.edu/curios/page.php/8191.html
% dynamically increased as necessary, so not important.
-nest_size = 500 % simultaneous semantic levels (e.g., groups)
-nest_size = 1000 % simultaneous semantic levels (e.g., groups)
-max_in_open = 15 % simultaneous input files and error insertions,
+nest_size = 2500 % simultaneous semantic levels (e.g., groups)
max_in_open = 15 % simultaneous input files and error insertions,
+max_in_open = 15 % simultaneous input files and error insertions,
% also applies to MetaPost
param_size = 10000 % simultaneous macro parameters, also applies to MP
param_size = 20000 % simultaneous macro parameters, also applies to MP
save_size = 200000 % for saving values outside current group
2 changes: 1 addition & 1 deletion devel/tex-kpathsea/pkg-plist
Expand Up @@ -55,7 +55,7 @@ include/kpathsea/win32lib.h
lib/libkpathsea.a
lib/libkpathsea.so
lib/libkpathsea.so.6
lib/libkpathsea.so.6.3.3
lib/libkpathsea.so.%%VERSION%%
libdata/pkgconfig/kpathsea.pc
man/man1/kpseaccess.1.gz
man/man1/kpsepath.1.gz
Expand Down
1 change: 1 addition & 0 deletions devel/tex-libtexlua/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libtexlua
PORTVERSION= 5.3.6
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= TEX_CTAN/systems/texlive/${TEXLIVE_YEAR}
PKGNAMEPREFIX= tex-
Expand Down
6 changes: 3 additions & 3 deletions devel/tex-libtexlua/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1643545410
SHA256 (TeX/texlive-20210325-source.tar.xz) = 7aefd96608d72061970f2d73f275be5648ea8ae815af073016d3106acc0d584b
SIZE (TeX/texlive-20210325-source.tar.xz) = 54837368
TIMESTAMP = 1680473625
SHA256 (TeX/texlive-20230313-source.tar.xz) = 3878aa0e1ed0301c053b0e2ee4e9ad999c441345f4882e79bdd1c8f4ce9e79b9
SIZE (TeX/texlive-20230313-source.tar.xz) = 68630148
1 change: 1 addition & 0 deletions devel/tex-libtexluajit/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libtexluajit
PORTVERSION= 2.1.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= TEX_CTAN/systems/texlive/${TEXLIVE_YEAR}
PKGNAMEPREFIX= tex-
Expand Down
6 changes: 3 additions & 3 deletions devel/tex-libtexluajit/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1643545774
SHA256 (TeX/texlive-20210325-source.tar.xz) = 7aefd96608d72061970f2d73f275be5648ea8ae815af073016d3106acc0d584b
SIZE (TeX/texlive-20210325-source.tar.xz) = 54837368
TIMESTAMP = 1680474121
SHA256 (TeX/texlive-20230313-source.tar.xz) = 3878aa0e1ed0301c053b0e2ee4e9ad999c441345f4882e79bdd1c8f4ce9e79b9
SIZE (TeX/texlive-20230313-source.tar.xz) = 68630148
4 changes: 2 additions & 2 deletions devel/tex-synctex/Makefile
@@ -1,6 +1,6 @@
PORTNAME= synctex
PORTVERSION= 2.0.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= TEX_CTAN/systems/texlive/${TEXLIVE_YEAR}/
PKGNAMEPREFIX= tex-
Expand Down Expand Up @@ -51,7 +51,7 @@ EXTRACT_FILES= build-aux texk/web2c
EXCLUDE_ENGINES= etex aleph luatex luajittex pdftex mf mf-nowin ptex \
eptex uptex euptex xetex tex otangle mp pmp upmp web2c \
web-progs luahbtex luajithbtex mflua mfluajit latex \
pdftex
pdftex hitex

post-extract:
@${FIND} ${WRKSRC} -name '*.orig' -delete
Expand Down
6 changes: 3 additions & 3 deletions devel/tex-synctex/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1643546426
SHA256 (TeX/texlive-20210325-source.tar.xz) = 7aefd96608d72061970f2d73f275be5648ea8ae815af073016d3106acc0d584b
SIZE (TeX/texlive-20210325-source.tar.xz) = 54837368
TIMESTAMP = 1680563845
SHA256 (TeX/texlive-20230313-source.tar.xz) = 3878aa0e1ed0301c053b0e2ee4e9ad999c441345f4882e79bdd1c8f4ce9e79b9
SIZE (TeX/texlive-20230313-source.tar.xz) = 68630148

0 comments on commit 24e24a1

Please sign in to comment.