Github messages for voidlinux
 help / color / mirror / Atom feed
From: fosslinux <fosslinux@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] TeXLive
Date: Sun, 12 Jul 2020 00:13:04 +0200	[thread overview]
Message-ID: <20200711221304.8jb0O1PQb6POhi2yaBlE8nAc0_dNCy5ZTVHJqNfT0gQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23126@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 858 bytes --]

There is an updated pull request by fosslinux against master on the void-packages repository

https://github.com/fosslinux/void-packages texlive-new
https://github.com/void-linux/void-packages/pull/23126

TeXLive
I have been working on this for a while now.. it is still not quite complete, but is getting there.

pdflatex works.
I have removed conflicting files from one of the packages.

Still TODO for runtime tests:

- [x] luatex
- [x] luajittex
- [x] xetex
- [x] bibtex
- [x] dvi*
- [x] pythontex
- [x] various utilities
- [x] variety of fonts/packages from each texmf package

Still TODO for building:

- [x] LuaJIT needs fixing on ppc64. @q66 will do that
- [ ] ???
- [x] `nostrip` and `nodebug` for texmf packages to speed up build times?

A patch file from https://github.com/void-linux/void-packages/pull/23126.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-texlive-new-23126.patch --]
[-- Type: text/x-diff, Size: 97354 bytes --]

From 57951ee3f731add3e0934aa42c611148255e5bc1 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 14:51:42 +1000
Subject: [PATCH 01/26] New build-helper: texmf
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Co-authored-by: Piotr Wójcik <chocimier@tlen.pl>
---
 Manual.md                                     |   3 +
 common/build-style/texmf.sh                   |  44 ++++
 common/environment/build-style/texmf.sh       |   5 +
 .../build-style/texmf/ownership.txt           | 229 ++++++++++++++++++
 4 files changed, 281 insertions(+)
 create mode 100644 common/build-style/texmf.sh
 create mode 100644 common/environment/build-style/texmf.sh
 create mode 100644 common/environment/build-style/texmf/ownership.txt

diff --git a/Manual.md b/Manual.md
index 10082b68da5..e93a67d826f 100644
--- a/Manual.md
+++ b/Manual.md
@@ -931,6 +931,9 @@ Environment variables for a specific `build_style` can be declared in a filename
 matching the `build_style` name, Example:
 
     `common/environment/build-style/gnu-configure.sh`
+    
+- `texmf` For texmf zip/tarballs that need to go into /usr/share/texmf-dist. Includes
+duplicates handling.
 
 <a id="build_helper"></a>
 ### build helper scripts
diff --git a/common/build-style/texmf.sh b/common/build-style/texmf.sh
new file mode 100644
index 00000000000..798d44e14d2
--- /dev/null
+++ b/common/build-style/texmf.sh
@@ -0,0 +1,44 @@
+do_build() {
+	local f p
+	mkdir -p "build/usr/share/texmf-dist"
+	find . -maxdepth 1 -print -name "*.tar.xz" \
+		-exec bsdtar -C "build/usr/share/texmf-dist" -xf {} \;
+	cd "build/usr/share/texmf-dist/"
+	if [ -d "texmf-dist" ] ; then
+		rsync -ar texmf-dist/ ./
+		rm -rf texmf-dist/
+	fi
+	rm -f LICENSE*
+	while IFS=' ' read -r f p ; do
+		if [ "$p" = "$pkgname" ] && ! [ -e "$f" ]; then
+			msg_error "$pkgver: missing file $f\n"
+		elif [ "$p" != "$pkgname" ] && [ -e "$f" ]; then
+			echo "removed $f"
+			mkdir -p ../texlive/removed
+			echo "$f" >> ../texlive/removed/$pkgname.txt
+			rm -f "$f"
+		fi
+	done < "${XBPS_COMMONDIR}/environment/build-style/texmf/ownership.txt"
+}
+
+do_check() {
+	local f p exitcode=0
+	cd build
+	while read p; do
+		if [[ ${p%-*} =~ .*-bin$ ]] || [ "${p%-*}" = "$pkgname" ]; then
+			continue
+		fi
+		echo checking conflicts with ${p}...
+		while IFS= read -r f; do
+			if [ -e ".$f" ]; then
+				msg_red "both contain file $f\n"
+				exitcode=1
+			fi
+		done < <(xbps-query -Rf $p | sed 's/ -> .*//')
+	done < <(xbps-query -Rs texlive -p pkgver | cut -d : -f 1)
+	return $exitcode
+}
+
+do_install() {
+	vcopy build/usr .
+}
diff --git a/common/environment/build-style/texmf.sh b/common/environment/build-style/texmf.sh
new file mode 100644
index 00000000000..098b1b61c19
--- /dev/null
+++ b/common/environment/build-style/texmf.sh
@@ -0,0 +1,5 @@
+# rsync isn't needed for everything but it's far easier to just put it here
+hostmakedepends+=" rsync"
+# python_version isn't needed for everything either
+python_version=3
+create_wrksrc=yes
diff --git a/common/environment/build-style/texmf/ownership.txt b/common/environment/build-style/texmf/ownership.txt
new file mode 100644
index 00000000000..8feffa24b63
--- /dev/null
+++ b/common/environment/build-style/texmf/ownership.txt
@@ -0,0 +1,229 @@
+dvipdfmx/dvipdfmx.cfg texlive
+dvips/base/color.pro texlive
+dvips/base/crop.pro texlive
+dvips/base/finclude.pro texlive
+dvips/base/hps.pro texlive
+dvips/base/special.pro texlive
+dvips/base/tex.pro texlive
+dvips/base/texc.pro texlive
+dvips/base/texps.pro texlive
+dvips/gsftopk/render.ps texlive
+dvips/xdvi/config.xdvi texlive
+fonts/cmap/dvipdfmx/EUC-UCS2 texlive
+fonts/enc/dvips/base/dvips-all.enc texlive
+fonts/map/dvipdfmx/cid-x.map texlive
+fonts/map/glyphlist/glyphlist.txt texlive
+fonts/map/glyphlist/pdfglyphlist.txt texlive
+psutils/paper.cfg texlive
+scripts/a2ping/a2ping.pl texlive
+scripts/accfonts/mkt1font texlive
+scripts/accfonts/vpl2ovp texlive
+scripts/accfonts/vpl2vpl texlive
+scripts/adhocfilelist/adhocfilelist.sh texlive
+scripts/arara/arara.sh texlive
+scripts/attachfile2/pdfatfi.pl texlive
+scripts/authorindex/authorindex texlive
+scripts/authorindex/authorindex texlive
+scripts/bib2gls/bib2gls.sh texlive
+scripts/bib2gls/convertgls2bib.sh texlive
+scripts/bibexport/bibexport.sh texlive
+scripts/bundledoc/arlatex texlive
+scripts/bundledoc/bundledoc texlive
+scripts/cachepic/cachepic.tlu texlive-pictures
+scripts/checkcites/checkcites.lua texlive
+scripts/checklistings/checklistings.sh texlive
+scripts/chklref/chklref.pl texlive
+scripts/cjk-gs-integrate/cjk-gs-integrate.pl texlive
+scripts/clojure-pamphlet/pamphletangler texlive
+scripts/cluttex/cluttex.lua texlive
+scripts/context/perl/mptopdf.pl texlive
+scripts/context/stubs/unix/context texlive
+scripts/context/stubs/unix/contextjit texlive
+scripts/context/stubs/unix/luatools texlive
+scripts/context/stubs/unix/mtxrun texlive
+scripts/context/stubs/unix/mtxrunjit texlive
+scripts/context/stubs/unix/texexec texlive
+scripts/context/stubs/unix/texmfstart texlive
+scripts/convbkmk/convbkmk.rb texlive-langjapanese
+scripts/crossrefware/bbl2bib.pl texlive
+scripts/crossrefware/bibdoiadd.pl texlive
+scripts/crossrefware/bibmradd.pl texlive
+scripts/crossrefware/biburl2doi.pl texlive
+scripts/crossrefware/bibzbladd.pl texlive
+scripts/crossrefware/ltx2crossrefxml.pl texlive
+scripts/ctan-o-mat/ctan-o-mat.pl texlive
+scripts/ctanbib/ctanbib texlive
+scripts/ctanify/ctanify texlive
+scripts/ctanupload/ctanupload.pl texlive
+scripts/de-macro/de-macro texlive
+scripts/diadia/diadia.lua texlive-humanities
+scripts/dosepsbin/dosepsbin.pl texlive
+scripts/dtxgen/dtxgen texlive
+scripts/dviasm/dviasm.py texlive
+scripts/dviinfox/dviinfox.pl texlive
+scripts/epspdf/epspdf.tlu texlive
+scripts/epspdf/epspdftk.tcl texlive
+scripts/epstopdf/epstopdf.pl texlive
+scripts/exceltex/exceltex texlive
+scripts/exceltex/exceltex texlive
+scripts/fig4latex/fig4latex texlive-pictures
+scripts/findhyph/findhyph texlive
+scripts/fontools/afm2afm texlive
+scripts/fontools/autoinst texlive
+scripts/fontools/ot2kpx texlive
+scripts/fragmaster/fragmaster.pl texlive
+scripts/getmap/getmapdl.lua texlive
+scripts/glossaries/makeglossaries texlive
+scripts/glossaries/makeglossaries texlive
+scripts/glossaries/makeglossaries-lite.lua texlive
+scripts/glossaries/makeglossaries-lite.lua texlive
+scripts/installfont/installfont-tl texlive
+scripts/jfmutil/jfmutil.pl texlive
+scripts/ketcindy/ketcindy.pl texlive
+scripts/kotex-utils/jamo-normalize.pl texlive-langkorean
+scripts/kotex-utils/komkindex.pl texlive-langkorean
+scripts/kotex-utils/ttf2kotexfont.pl texlive-langkorean
+scripts/l3build/l3build.lua texlive-latexextra
+scripts/latex-git-log/latex-git-log texlive
+scripts/latex-papersize/latex-papersize.py texlive
+scripts/latex2man/latex2man texlive
+scripts/latex2nemeth/latex2nemeth texlive
+scripts/latexdiff/latexdiff-vc.pl texlive
+scripts/latexdiff/latexdiff.pl texlive
+scripts/latexdiff/latexrevise.pl texlive
+scripts/latexfileversion/latexfileversion texlive
+scripts/latexindent/latexindent.pl texlive
+scripts/latexmk/latexmk.pl texlive
+scripts/latexpand/latexpand texlive
+scripts/lilyglyphs/lily-glyph-commands.py texlive-music
+scripts/lilyglyphs/lily-image-commands.py texlive-music
+scripts/lilyglyphs/lily-rebuild-pdfs.py texlive-music
+scripts/listbib/listbib texlive
+scripts/listings-ext/listings-ext.sh texlive
+scripts/ltxfileinfo/ltxfileinfo texlive
+scripts/ltximg/ltximg.pl texlive
+scripts/luaotfload/luaotfload-tool.lua texlive
+scripts/lwarp/lwarpmk.lua texlive
+scripts/m-tx/m-tx.lua texlive-music
+scripts/make4ht/make4ht texlive
+scripts/makedtx/makedtx.pl texlive
+scripts/makedtx/makedtx.pl texlive
+scripts/match_parens/match_parens texlive
+scripts/mathspic/mathspic.pl texlive-pictures
+scripts/mf2pt1/mf2pt1.pl texlive
+scripts/mkgrkindex/mkgrkindex texlive-langgreek
+scripts/mkjobtexmf/mkjobtexmf.pl texlive
+scripts/mkpic/mkpic texlive-pictures
+scripts/multibibliography/multibibliography.pl texlive
+scripts/musixtex/musixflx.lua texlive-music
+scripts/musixtex/musixtex.lua texlive-music
+scripts/mf2pt1/mf2pt1.pl texlive
+scripts/mkjobtexmf/mkjobtexmf.pl texlive
+scripts/multibibliography/multibibliography.pl texlive
+scripts/pax/pdfannotextractor.pl texlive
+scripts/pax/pdfannotextractor.pl texlive
+scripts/pdfbook2/pdfbook2 texlive
+scripts/pdfcrop/pdfcrop.pl texlive
+scripts/pdfjam/pdfjam texlive
+scripts/pdflatexpicscale/pdflatexpicscale.pl texlive
+scripts/pdftex-quiet/pdftex-quiet texlive
+scripts/pdfxup/pdfxup texlive
+scripts/pedigree-perl/pedigree.pl texlive-pstricks
+scripts/perltex/perltex.pl texlive
+scripts/perltex/perltex.pl texlive
+scripts/petri-nets/pn2pdf texlive
+scripts/pfarrei/a5toa4.tlu texlive
+scripts/pfarrei/pfarrei.tlu texlive
+scripts/pkfix-helper/pkfix-helper texlive
+scripts/pkfix/pkfix.pl texlive
+scripts/pmxchords/pmxchords.lua texlive-music
+scripts/ps2eps/ps2eps.pl texlive
+scripts/pst-pdf/ps4pdf texlive-pstricks
+scripts/pst2pdf/pst2pdf.pl texlive-pstricks
+scripts/psutils/extractres.pl texlive
+scripts/psutils/includeres.pl texlive
+scripts/psutils/psjoin.pl texlive
+scripts/ptex-fontmaps/kanji-config-updmap-sys.sh texlive-langjapanese
+scripts/ptex-fontmaps/kanji-config-updmap-user.sh texlive-langjapanese
+scripts/ptex-fontmaps/kanji-config-updmap.pl texlive-langjapanese
+scripts/ptex-fontmaps/kanji-fontmap-creator.pl texlive-langjapanese
+scripts/ptex2pdf/ptex2pdf.lua texlive
+scripts/ps2eps/ps2eps.pl texlive
+scripts/psutils/extractres.pl texlive
+scripts/psutils/includeres.pl texlive
+scripts/psutils/psjoin.pl texlive
+scripts/purifyeps/purifyeps texlive
+scripts/pygmentex/pygmentex.py texlive-latexextra
+scripts/pythontex/depythontex.py texlive
+scripts/pythontex/pythontex.py texlive
+scripts/rubik/rubikrotation.pl texlive-games
+scripts/simpdftex/simpdftex texlive
+scripts/splitindex/splitindex.pl texlive
+scripts/splitindex/splitindex.pl texlive
+scripts/srcredact/srcredact.pl texlive
+scripts/sty2dtx/sty2dtx.pl texlive
+scripts/svn-multi/svn-multi.pl texlive
+scripts/svn-multi/svn-multi.pl texlive
+scripts/tex4ebook/tex4ebook texlive
+scripts/texcount/texcount.pl texlive
+scripts/texdef/texdef.pl texlive
+scripts/texdiff/texdiff texlive
+scripts/texdirflatten/texdirflatten texlive
+scripts/texdoc/texdoc.tlu texlive
+scripts/texdoctk/texdoctk.pl texlive
+scripts/texfot/texfot.pl texlive
+scripts/texlive/tlmgr.pl texlive
+scripts/texlive-extra/allcm.sh texlive
+scripts/texlive-extra/allneeded.sh texlive
+scripts/texlive-extra/dvi2fax.sh texlive
+scripts/texlive-extra/dvired.sh texlive
+scripts/texlive-extra/e2pall.pl texlive
+scripts/texlive-extra/fontinst.sh texlive
+scripts/texlive-extra/kpsetool.sh texlive
+scripts/texlive-extra/kpsewhere.sh texlive
+scripts/texlive-extra/ps2frag.sh texlive
+scripts/texlive-extra/pslatex.sh texlive
+scripts/texlive-extra/rubibtex.sh texlive-langcyrillic
+scripts/texlive-extra/rumakeindex.sh texlive-langcyrillic
+scripts/texlive-extra/texconfig-dialog.sh texlive
+scripts/texlive-extra/texconfig-sys.sh texlive
+scripts/texlive-extra/texconfig.sh texlive
+scripts/texlive-extra/texlinks.sh texlive
+scripts/texlive/fmtutil-sys.sh texlive
+scripts/texlive/fmtutil-user.sh texlive
+scripts/texlive/fmtutil.pl texlive
+scripts/texlive/mktexlsr texlive
+scripts/texlive/mktexmf texlive
+scripts/texlive/mktexpk texlive
+scripts/texlive/mktextfm texlive
+scripts/texlive/rungs.tlu texlive
+scripts/texlive/updmap-sys.sh texlive
+scripts/texlive/updmap-user.sh texlive
+scripts/texlive/updmap.pl texlive
+scripts/texliveonfly/texliveonfly.py texlive
+scripts/texloganalyser/texloganalyser texlive
+scripts/texosquery/texosquery-jre5.sh texlive
+scripts/texosquery/texosquery-jre8.sh texlive
+scripts/texosquery/texosquery.sh texlive
+scripts/texplate/texplate.sh texlive
+scripts/thumbpdf/thumbpdf.pl texlive
+scripts/tlshell/tlshell.tcl texlive
+scripts/typeoutfileinfo/typeoutfileinfo.sh texlive
+scripts/ulqda/ulqda.pl texlive-science
+scripts/urlbst/urlbst texlive
+scripts/vpe/vpe.pl texlive
+scripts/vpe/vpe.pl texlive
+scripts/webquiz/webquiz.py texlive
+scripts/webquiz/webquiz.py texlive
+scripts/wordcount/wordcount.sh texlive
+scripts/wordcount/wordcount.sh texlive
+scripts/xindex/xindex.lua texlive
+scripts/yplan/yplan texlive
+scripts/yplan/yplan texlive
+texconfig/tcfmgr texlive
+texconfig/tcfmgr.map texlive
+web2c/fmtutil.cnf texlive
+web2c/texmf.cnf texlive
+xdvi/XDvi texlive
+xdvi/pixmap/toolbar.xpm texlive
+xdvi/pixmap/toolbar2.xpm texlive

From ea5d0220ad981bc41ec6815ad13d2ee14e737b1b Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Sun, 5 Jul 2020 11:39:30 +1000
Subject: [PATCH 02/26] xbps-triggers: add texmf-dist regeneration trigger

---
 Manual.md                                     | 15 +++++
 .../build-style/texmf/ownership.txt           | 62 +++++++------------
 .../04-create-xbps-metadata-scripts.sh        |  6 ++
 srcpkgs/xbps-triggers/files/texmf-dist        | 39 ++++++++++++
 srcpkgs/xbps-triggers/template                |  2 +-
 5 files changed, 82 insertions(+), 42 deletions(-)
 create mode 100755 srcpkgs/xbps-triggers/files/texmf-dist

diff --git a/Manual.md b/Manual.md
index e93a67d826f..f2d05348c4c 100644
--- a/Manual.md
+++ b/Manual.md
@@ -64,6 +64,7 @@ packages for XBPS, the `Void Linux` native packaging system.
 		* [pycompile](#triggers_pycompile)
 		* [register-shell](#triggers_register_shell)
 		* [system-accounts](#triggers_system_accounts)
+		* [texmf-dist](#triggers_texmf_dist)
 		* [update-desktopdb](#triggers_update_desktopdb)
 		* [x11-fonts](#triggers_x11_fonts)
 		* [xml-catalog](#triggers_xml_catalog)
@@ -1898,6 +1899,20 @@ Example: `transmission unprivileged user - for uninstalled package transmission`
 
 This trigger can only be used by using the `system_accounts` variable.
 
+<a id="triggers_texmf_dist"></a>
+#### texmf-dist
+
+The texmf-dist trigger is responsible for regenerating TeXLive's texmf databases.
+
+During both installation and removal, it regenerates both the texhash and format
+databases using `texhash` and `fmtutil-sys`, to add or remove any new hashes or
+formats.
+
+It runs on every package that changes /usr/share/texmf-dist. This is likely overkill,
+but it is much cleaner rather than checking each format directory and each directory
+that is hashed. In addition, it is very likely any package touching /usr/share/texmf-dist
+requires one of these triggers anyway.
+
 <a id="triggers_update_desktopdb"></a>
 #### update-desktopdb
 
diff --git a/common/environment/build-style/texmf/ownership.txt b/common/environment/build-style/texmf/ownership.txt
index 8feffa24b63..0f41d75e205 100644
--- a/common/environment/build-style/texmf/ownership.txt
+++ b/common/environment/build-style/texmf/ownership.txt
@@ -4,8 +4,8 @@ dvips/base/crop.pro texlive
 dvips/base/finclude.pro texlive
 dvips/base/hps.pro texlive
 dvips/base/special.pro texlive
-dvips/base/tex.pro texlive
 dvips/base/texc.pro texlive
+dvips/base/tex.pro texlive
 dvips/base/texps.pro texlive
 dvips/gsftopk/render.ps texlive
 dvips/xdvi/config.xdvi texlive
@@ -23,7 +23,6 @@ scripts/adhocfilelist/adhocfilelist.sh texlive
 scripts/arara/arara.sh texlive
 scripts/attachfile2/pdfatfi.pl texlive
 scripts/authorindex/authorindex texlive
-scripts/authorindex/authorindex texlive
 scripts/bib2gls/bib2gls.sh texlive
 scripts/bib2gls/convertgls2bib.sh texlive
 scripts/bibexport/bibexport.sh texlive
@@ -37,11 +36,11 @@ scripts/cjk-gs-integrate/cjk-gs-integrate.pl texlive
 scripts/clojure-pamphlet/pamphletangler texlive
 scripts/cluttex/cluttex.lua texlive
 scripts/context/perl/mptopdf.pl texlive
-scripts/context/stubs/unix/context texlive
 scripts/context/stubs/unix/contextjit texlive
+scripts/context/stubs/unix/context texlive
 scripts/context/stubs/unix/luatools texlive
-scripts/context/stubs/unix/mtxrun texlive
 scripts/context/stubs/unix/mtxrunjit texlive
+scripts/context/stubs/unix/mtxrun texlive
 scripts/context/stubs/unix/texexec texlive
 scripts/context/stubs/unix/texmfstart texlive
 scripts/convbkmk/convbkmk.rb texlive-langjapanese
@@ -51,9 +50,9 @@ scripts/crossrefware/bibmradd.pl texlive
 scripts/crossrefware/biburl2doi.pl texlive
 scripts/crossrefware/bibzbladd.pl texlive
 scripts/crossrefware/ltx2crossrefxml.pl texlive
-scripts/ctan-o-mat/ctan-o-mat.pl texlive
 scripts/ctanbib/ctanbib texlive
 scripts/ctanify/ctanify texlive
+scripts/ctan-o-mat/ctan-o-mat.pl texlive
 scripts/ctanupload/ctanupload.pl texlive
 scripts/de-macro/de-macro texlive
 scripts/diadia/diadia.lua texlive-humanities
@@ -61,11 +60,10 @@ scripts/dosepsbin/dosepsbin.pl texlive
 scripts/dtxgen/dtxgen texlive
 scripts/dviasm/dviasm.py texlive
 scripts/dviinfox/dviinfox.pl texlive
-scripts/epspdf/epspdf.tlu texlive
 scripts/epspdf/epspdftk.tcl texlive
+scripts/epspdf/epspdf.tlu texlive
 scripts/epstopdf/epstopdf.pl texlive
 scripts/exceltex/exceltex texlive
-scripts/exceltex/exceltex texlive
 scripts/fig4latex/fig4latex texlive-pictures
 scripts/findhyph/findhyph texlive
 scripts/fontools/afm2afm texlive
@@ -73,10 +71,8 @@ scripts/fontools/autoinst texlive
 scripts/fontools/ot2kpx texlive
 scripts/fragmaster/fragmaster.pl texlive
 scripts/getmap/getmapdl.lua texlive
-scripts/glossaries/makeglossaries texlive
-scripts/glossaries/makeglossaries texlive
-scripts/glossaries/makeglossaries-lite.lua texlive
 scripts/glossaries/makeglossaries-lite.lua texlive
+scripts/glossaries/makeglossaries texlive
 scripts/installfont/installfont-tl texlive
 scripts/jfmutil/jfmutil.pl texlive
 scripts/ketcindy/ketcindy.pl texlive
@@ -84,17 +80,17 @@ scripts/kotex-utils/jamo-normalize.pl texlive-langkorean
 scripts/kotex-utils/komkindex.pl texlive-langkorean
 scripts/kotex-utils/ttf2kotexfont.pl texlive-langkorean
 scripts/l3build/l3build.lua texlive-latexextra
-scripts/latex-git-log/latex-git-log texlive
-scripts/latex-papersize/latex-papersize.py texlive
 scripts/latex2man/latex2man texlive
 scripts/latex2nemeth/latex2nemeth texlive
-scripts/latexdiff/latexdiff-vc.pl texlive
 scripts/latexdiff/latexdiff.pl texlive
+scripts/latexdiff/latexdiff-vc.pl texlive
 scripts/latexdiff/latexrevise.pl texlive
 scripts/latexfileversion/latexfileversion texlive
+scripts/latex-git-log/latex-git-log texlive
 scripts/latexindent/latexindent.pl texlive
 scripts/latexmk/latexmk.pl texlive
 scripts/latexpand/latexpand texlive
+scripts/latex-papersize/latex-papersize.py texlive
 scripts/lilyglyphs/lily-glyph-commands.py texlive-music
 scripts/lilyglyphs/lily-image-commands.py texlive-music
 scripts/lilyglyphs/lily-rebuild-pdfs.py texlive-music
@@ -104,23 +100,18 @@ scripts/ltxfileinfo/ltxfileinfo texlive
 scripts/ltximg/ltximg.pl texlive
 scripts/luaotfload/luaotfload-tool.lua texlive
 scripts/lwarp/lwarpmk.lua texlive
-scripts/m-tx/m-tx.lua texlive-music
 scripts/make4ht/make4ht texlive
 scripts/makedtx/makedtx.pl texlive
-scripts/makedtx/makedtx.pl texlive
 scripts/match_parens/match_parens texlive
 scripts/mathspic/mathspic.pl texlive-pictures
 scripts/mf2pt1/mf2pt1.pl texlive
 scripts/mkgrkindex/mkgrkindex texlive-langgreek
 scripts/mkjobtexmf/mkjobtexmf.pl texlive
 scripts/mkpic/mkpic texlive-pictures
+scripts/m-tx/m-tx.lua texlive-music
 scripts/multibibliography/multibibliography.pl texlive
 scripts/musixtex/musixflx.lua texlive-music
 scripts/musixtex/musixtex.lua texlive-music
-scripts/mf2pt1/mf2pt1.pl texlive
-scripts/mkjobtexmf/mkjobtexmf.pl texlive
-scripts/multibibliography/multibibliography.pl texlive
-scripts/pax/pdfannotextractor.pl texlive
 scripts/pax/pdfannotextractor.pl texlive
 scripts/pdfbook2/pdfbook2 texlive
 scripts/pdfcrop/pdfcrop.pl texlive
@@ -130,7 +121,6 @@ scripts/pdftex-quiet/pdftex-quiet texlive
 scripts/pdfxup/pdfxup texlive
 scripts/pedigree-perl/pedigree.pl texlive-pstricks
 scripts/perltex/perltex.pl texlive
-scripts/perltex/perltex.pl texlive
 scripts/petri-nets/pn2pdf texlive
 scripts/pfarrei/a5toa4.tlu texlive
 scripts/pfarrei/pfarrei.tlu texlive
@@ -138,20 +128,16 @@ scripts/pkfix-helper/pkfix-helper texlive
 scripts/pkfix/pkfix.pl texlive
 scripts/pmxchords/pmxchords.lua texlive-music
 scripts/ps2eps/ps2eps.pl texlive
-scripts/pst-pdf/ps4pdf texlive-pstricks
 scripts/pst2pdf/pst2pdf.pl texlive-pstricks
+scripts/pst-pdf/ps4pdf texlive-pstricks
 scripts/psutils/extractres.pl texlive
 scripts/psutils/includeres.pl texlive
 scripts/psutils/psjoin.pl texlive
+scripts/ptex2pdf/ptex2pdf.lua texlive
+scripts/ptex-fontmaps/kanji-config-updmap.pl texlive-langjapanese
 scripts/ptex-fontmaps/kanji-config-updmap-sys.sh texlive-langjapanese
 scripts/ptex-fontmaps/kanji-config-updmap-user.sh texlive-langjapanese
-scripts/ptex-fontmaps/kanji-config-updmap.pl texlive-langjapanese
 scripts/ptex-fontmaps/kanji-fontmap-creator.pl texlive-langjapanese
-scripts/ptex2pdf/ptex2pdf.lua texlive
-scripts/ps2eps/ps2eps.pl texlive
-scripts/psutils/extractres.pl texlive
-scripts/psutils/includeres.pl texlive
-scripts/psutils/psjoin.pl texlive
 scripts/purifyeps/purifyeps texlive
 scripts/pygmentex/pygmentex.py texlive-latexextra
 scripts/pythontex/depythontex.py texlive
@@ -159,11 +145,9 @@ scripts/pythontex/pythontex.py texlive
 scripts/rubik/rubikrotation.pl texlive-games
 scripts/simpdftex/simpdftex texlive
 scripts/splitindex/splitindex.pl texlive
-scripts/splitindex/splitindex.pl texlive
 scripts/srcredact/srcredact.pl texlive
 scripts/sty2dtx/sty2dtx.pl texlive
 scripts/svn-multi/svn-multi.pl texlive
-scripts/svn-multi/svn-multi.pl texlive
 scripts/tex4ebook/tex4ebook texlive
 scripts/texcount/texcount.pl texlive
 scripts/texdef/texdef.pl texlive
@@ -172,7 +156,6 @@ scripts/texdirflatten/texdirflatten texlive
 scripts/texdoc/texdoc.tlu texlive
 scripts/texdoctk/texdoctk.pl texlive
 scripts/texfot/texfot.pl texlive
-scripts/texlive/tlmgr.pl texlive
 scripts/texlive-extra/allcm.sh texlive
 scripts/texlive-extra/allneeded.sh texlive
 scripts/texlive-extra/dvi2fax.sh texlive
@@ -186,21 +169,22 @@ scripts/texlive-extra/pslatex.sh texlive
 scripts/texlive-extra/rubibtex.sh texlive-langcyrillic
 scripts/texlive-extra/rumakeindex.sh texlive-langcyrillic
 scripts/texlive-extra/texconfig-dialog.sh texlive
-scripts/texlive-extra/texconfig-sys.sh texlive
 scripts/texlive-extra/texconfig.sh texlive
+scripts/texlive-extra/texconfig-sys.sh texlive
 scripts/texlive-extra/texlinks.sh texlive
+scripts/texlive/fmtutil.pl texlive
 scripts/texlive/fmtutil-sys.sh texlive
 scripts/texlive/fmtutil-user.sh texlive
-scripts/texlive/fmtutil.pl texlive
 scripts/texlive/mktexlsr texlive
 scripts/texlive/mktexmf texlive
 scripts/texlive/mktexpk texlive
 scripts/texlive/mktextfm texlive
+scripts/texliveonfly/texliveonfly.py texlive
 scripts/texlive/rungs.tlu texlive
+scripts/texlive/tlmgr.pl texlive
+scripts/texlive/updmap.pl texlive
 scripts/texlive/updmap-sys.sh texlive
 scripts/texlive/updmap-user.sh texlive
-scripts/texlive/updmap.pl texlive
-scripts/texliveonfly/texliveonfly.py texlive
 scripts/texloganalyser/texloganalyser texlive
 scripts/texosquery/texosquery-jre5.sh texlive
 scripts/texosquery/texosquery-jre8.sh texlive
@@ -212,18 +196,14 @@ scripts/typeoutfileinfo/typeoutfileinfo.sh texlive
 scripts/ulqda/ulqda.pl texlive-science
 scripts/urlbst/urlbst texlive
 scripts/vpe/vpe.pl texlive
-scripts/vpe/vpe.pl texlive
 scripts/webquiz/webquiz.py texlive
-scripts/webquiz/webquiz.py texlive
-scripts/wordcount/wordcount.sh texlive
 scripts/wordcount/wordcount.sh texlive
 scripts/xindex/xindex.lua texlive
 scripts/yplan/yplan texlive
-scripts/yplan/yplan texlive
-texconfig/tcfmgr texlive
 texconfig/tcfmgr.map texlive
+texconfig/tcfmgr texlive
 web2c/fmtutil.cnf texlive
 web2c/texmf.cnf texlive
-xdvi/XDvi texlive
-xdvi/pixmap/toolbar.xpm texlive
 xdvi/pixmap/toolbar2.xpm texlive
+xdvi/pixmap/toolbar.xpm texlive
+xdvi/XDvi texlive
diff --git a/common/hooks/post-install/04-create-xbps-metadata-scripts.sh b/common/hooks/post-install/04-create-xbps-metadata-scripts.sh
index 182388febfe..1300c783b7d 100644
--- a/common/hooks/post-install/04-create-xbps-metadata-scripts.sh
+++ b/common/hooks/post-install/04-create-xbps-metadata-scripts.sh
@@ -150,6 +150,12 @@ _EOF
 		_add_trigger hwdb.d-dir
 	fi
 	#
+	# Handle texmf database changes
+	#
+	if [ -d "${PKGDESTDIR}/usr/share/texmf-dist" ] ; then
+		_add_trigger texmf-dist
+	fi
+	#
 	# (Un)Register a shell in /etc/shells.
 	#
 	if [ -n "${register_shell}" ]; then
diff --git a/srcpkgs/xbps-triggers/files/texmf-dist b/srcpkgs/xbps-triggers/files/texmf-dist
new file mode 100755
index 00000000000..c7758266bdb
--- /dev/null
+++ b/srcpkgs/xbps-triggers/files/texmf-dist
@@ -0,0 +1,39 @@
+#!/bin/sh
+#
+# Updates texmf-dist hashes and format library.
+#
+# Arguments:	$ACTION = [run/targets]
+#		$TARGET = [post-install/post-remove]
+#		$PKGNAME
+#		$VERSION
+#		$UPDATE = [yes/no]
+#
+ACTION="$1"
+TARGET="$2"
+PKGNAME="$3"
+VERSION="$4"
+UPDATE="$5"
+
+texhash=usr/bin/texhash
+fmtutil=usr/bin/fmtutil-sys
+
+case "$ACTION" in
+targets)
+	echo "post-install post-remove"
+	;;
+run)
+	if [ -x ${texhash} ]; then
+		echo "Updating texmf-dist hashes..." 
+		${texhash} 2>&1 >/dev/null || true # silence strange errors
+	fi
+	if [ -x ${fmtutil} ]; then
+		echo "Updating texmf-dist formats..."
+		${fmtutil} --all >/dev/null || true
+	fi
+	;;
+*)
+	exit 1
+	;;
+esac
+
+exit 0
diff --git a/srcpkgs/xbps-triggers/template b/srcpkgs/xbps-triggers/template
index c80bb30d3f5..2c76f76e3b1 100644
--- a/srcpkgs/xbps-triggers/template
+++ b/srcpkgs/xbps-triggers/template
@@ -1,6 +1,6 @@
 # Template file for 'xbps-triggers'
 pkgname=xbps-triggers
-version=0.114
+version=0.115
 revision=1
 archs=noarch
 bootstrap=yes

From 3f0722fc52fe425c6b419899ef282328279930fd Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:16:28 +1000
Subject: [PATCH 03/26] New package: texlive-20200406
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Co-authored-by: q66 <daniel@octaforge.org>
Co-authored-by: Piotr Wójcik <chocimier@tlen.pl>
---
 common/shlibs                                 |   4 +
 srcpkgs/texlive-BibTeX                        |   1 +
 srcpkgs/texlive-ConTeXt                       |   1 +
 srcpkgs/texlive-LuaTeX                        |   1 +
 srcpkgs/texlive-LuaTeX-devel                  |   1 +
 srcpkgs/texlive-PythonTeX                     |   1 +
 srcpkgs/texlive-Xdvi                          |   1 +
 srcpkgs/texlive-XeTeX                         |   1 +
 srcpkgs/texlive-devel                         |   1 +
 srcpkgs/texlive-dvi                           |   1 +
 srcpkgs/texlive/patches/cross-luajit.patch    | 124 ++++++
 .../texlive/patches/freetype2-config.patch    | 102 +++++
 .../patches/kpsewhich-default-progname.patch  |  14 +
 .../texlive/patches/luajit-arch-fixes.patch   |  50 +++
 srcpkgs/texlive/template                      | 388 ++++++++++++++++++
 15 files changed, 691 insertions(+)
 create mode 120000 srcpkgs/texlive-BibTeX
 create mode 120000 srcpkgs/texlive-ConTeXt
 create mode 120000 srcpkgs/texlive-LuaTeX
 create mode 120000 srcpkgs/texlive-LuaTeX-devel
 create mode 120000 srcpkgs/texlive-PythonTeX
 create mode 120000 srcpkgs/texlive-Xdvi
 create mode 120000 srcpkgs/texlive-XeTeX
 create mode 120000 srcpkgs/texlive-devel
 create mode 120000 srcpkgs/texlive-dvi
 create mode 100644 srcpkgs/texlive/patches/cross-luajit.patch
 create mode 100644 srcpkgs/texlive/patches/freetype2-config.patch
 create mode 100644 srcpkgs/texlive/patches/kpsewhich-default-progname.patch
 create mode 100644 srcpkgs/texlive/patches/luajit-arch-fixes.patch
 create mode 100644 srcpkgs/texlive/template

diff --git a/common/shlibs b/common/shlibs
index 86ee9fcb734..68d6ba0594a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3977,4 +3977,8 @@ libselinux.so.1 libselinux-3.0_1
 libsepol.so.1 libsepol-3.0_1
 libfrrcares.so.0 libfrr-7.3.1_1
 libhugetlbfs.so.0 libhugetlbfs-2.22_1
+libkpathsea.so.6 texlive-20200406_1
+libtexluajit.so.2 texlive-LuaTeX-20200406_1
+libtexlua53.so.5 texlive-LuaTeX-20200406_1
+libptexenc.so.1 texlive-20200406_1
 libdolphinvcs.so.5 dolphin-plugins-20.04.2_1
diff --git a/srcpkgs/texlive-BibTeX b/srcpkgs/texlive-BibTeX
new file mode 120000
index 00000000000..c6cca627ba9
--- /dev/null
+++ b/srcpkgs/texlive-BibTeX
@@ -0,0 +1 @@
+texlive
\ No newline at end of file
diff --git a/srcpkgs/texlive-ConTeXt b/srcpkgs/texlive-ConTeXt
new file mode 120000
index 00000000000..c6cca627ba9
--- /dev/null
+++ b/srcpkgs/texlive-ConTeXt
@@ -0,0 +1 @@
+texlive
\ No newline at end of file
diff --git a/srcpkgs/texlive-LuaTeX b/srcpkgs/texlive-LuaTeX
new file mode 120000
index 00000000000..c6cca627ba9
--- /dev/null
+++ b/srcpkgs/texlive-LuaTeX
@@ -0,0 +1 @@
+texlive
\ No newline at end of file
diff --git a/srcpkgs/texlive-LuaTeX-devel b/srcpkgs/texlive-LuaTeX-devel
new file mode 120000
index 00000000000..c6cca627ba9
--- /dev/null
+++ b/srcpkgs/texlive-LuaTeX-devel
@@ -0,0 +1 @@
+texlive
\ No newline at end of file
diff --git a/srcpkgs/texlive-PythonTeX b/srcpkgs/texlive-PythonTeX
new file mode 120000
index 00000000000..c6cca627ba9
--- /dev/null
+++ b/srcpkgs/texlive-PythonTeX
@@ -0,0 +1 @@
+texlive
\ No newline at end of file
diff --git a/srcpkgs/texlive-Xdvi b/srcpkgs/texlive-Xdvi
new file mode 120000
index 00000000000..c6cca627ba9
--- /dev/null
+++ b/srcpkgs/texlive-Xdvi
@@ -0,0 +1 @@
+texlive
\ No newline at end of file
diff --git a/srcpkgs/texlive-XeTeX b/srcpkgs/texlive-XeTeX
new file mode 120000
index 00000000000..c6cca627ba9
--- /dev/null
+++ b/srcpkgs/texlive-XeTeX
@@ -0,0 +1 @@
+texlive
\ No newline at end of file
diff --git a/srcpkgs/texlive-devel b/srcpkgs/texlive-devel
new file mode 120000
index 00000000000..c6cca627ba9
--- /dev/null
+++ b/srcpkgs/texlive-devel
@@ -0,0 +1 @@
+texlive
\ No newline at end of file
diff --git a/srcpkgs/texlive-dvi b/srcpkgs/texlive-dvi
new file mode 120000
index 00000000000..c6cca627ba9
--- /dev/null
+++ b/srcpkgs/texlive-dvi
@@ -0,0 +1 @@
+texlive
\ No newline at end of file
diff --git a/srcpkgs/texlive/patches/cross-luajit.patch b/srcpkgs/texlive/patches/cross-luajit.patch
new file mode 100644
index 00000000000..9655d7683db
--- /dev/null
+++ b/srcpkgs/texlive/patches/cross-luajit.patch
@@ -0,0 +1,124 @@
+--- libs/luajit/native/Makefile.in	2018-09-07 06:40:04.000000000 +1000
++++ libs/luajit/native/Makefile.in.new	2020-06-07 16:10:40.445000000 +1000
+@@ -154,6 +154,8 @@
+ am__v_CC_1 = 
+ CCLD = $(CC)
+ LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++HOSTCCLD = $(HOSTCC)
++HOSTLINK = $(HOSTCCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ AM_V_CCLD = $(am__v_CCLD_@AM_V@)
+ am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
+ am__v_CCLD_0 = @echo "  CCLD    " $@;
+@@ -413,7 +415,7 @@
+ 
+ buildvm$(EXEEXT): $(buildvm_OBJECTS) $(buildvm_DEPENDENCIES) $(EXTRA_buildvm_DEPENDENCIES) 
+ 	@rm -f buildvm$(EXEEXT)
+-	$(AM_V_CCLD)$(LINK) $(buildvm_OBJECTS) $(buildvm_LDADD) $(LIBS)
++	$(AM_V_CCLD)$(HOSTLINK) $(buildvm_OBJECTS) $(buildvm_LDADD) $(LIBS)
+ @LUAJIT_TREE@/src/host/minilua-minilua.$(OBJEXT):  \
+ 	@LUAJIT_TREE@/src/host/$(am__dirstamp) \
+ 	@LUAJIT_TREE@/src/host/$(DEPDIR)/$(am__dirstamp)
+@@ -459,74 +461,74 @@
+ @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+ 
+ @LUAJIT_TREE@/src/host/buildvm-buildvm.o: @LUAJIT_TREE@/src/host/buildvm.c
+-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm.o -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm.o `test -f '@LUAJIT_TREE@/src/host/buildvm.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm.c
++@am__fastdepCC_TRUE@	$(AM_V_CC)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm.o -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm.o `test -f '@LUAJIT_TREE@/src/host/buildvm.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm.c
+ @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm.Tpo @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm.Po
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='@LUAJIT_TREE@/src/host/buildvm.c' object='@LUAJIT_TREE@/src/host/buildvm-buildvm.o' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm.o `test -f '@LUAJIT_TREE@/src/host/buildvm.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm.c
++@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm.o `test -f '@LUAJIT_TREE@/src/host/buildvm.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm.c
+ 
+ @LUAJIT_TREE@/src/host/buildvm-buildvm.obj: @LUAJIT_TREE@/src/host/buildvm.c
+-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm.obj -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm.c'; fi`
++@am__fastdepCC_TRUE@	$(AM_V_CC)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm.obj -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm.c'; fi`
+ @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm.Tpo @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm.Po
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='@LUAJIT_TREE@/src/host/buildvm.c' object='@LUAJIT_TREE@/src/host/buildvm-buildvm.obj' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm.c'; fi`
++@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm.c'; fi`
+ 
+ @LUAJIT_TREE@/src/host/buildvm-buildvm_asm.o: @LUAJIT_TREE@/src/host/buildvm_asm.c
+-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm_asm.o -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_asm.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_asm.o `test -f '@LUAJIT_TREE@/src/host/buildvm_asm.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm_asm.c
++@am__fastdepCC_TRUE@	$(AM_V_CC)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm_asm.o -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_asm.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_asm.o `test -f '@LUAJIT_TREE@/src/host/buildvm_asm.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm_asm.c
+ @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_asm.Tpo @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_asm.Po
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='@LUAJIT_TREE@/src/host/buildvm_asm.c' object='@LUAJIT_TREE@/src/host/buildvm-buildvm_asm.o' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_asm.o `test -f '@LUAJIT_TREE@/src/host/buildvm_asm.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm_asm.c
++@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_asm.o `test -f '@LUAJIT_TREE@/src/host/buildvm_asm.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm_asm.c
+ 
+ @LUAJIT_TREE@/src/host/buildvm-buildvm_asm.obj: @LUAJIT_TREE@/src/host/buildvm_asm.c
+-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm_asm.obj -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_asm.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_asm.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm_asm.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm_asm.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm_asm.c'; fi`
++@am__fastdepCC_TRUE@	$(AM_V_CC)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm_asm.obj -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_asm.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_asm.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm_asm.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm_asm.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm_asm.c'; fi`
+ @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_asm.Tpo @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_asm.Po
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='@LUAJIT_TREE@/src/host/buildvm_asm.c' object='@LUAJIT_TREE@/src/host/buildvm-buildvm_asm.obj' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_asm.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm_asm.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm_asm.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm_asm.c'; fi`
++@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_asm.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm_asm.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm_asm.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm_asm.c'; fi`
+ 
+ @LUAJIT_TREE@/src/host/buildvm-buildvm_fold.o: @LUAJIT_TREE@/src/host/buildvm_fold.c
+-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm_fold.o -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_fold.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_fold.o `test -f '@LUAJIT_TREE@/src/host/buildvm_fold.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm_fold.c
++@am__fastdepCC_TRUE@	$(AM_V_CC)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm_fold.o -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_fold.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_fold.o `test -f '@LUAJIT_TREE@/src/host/buildvm_fold.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm_fold.c
+ @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_fold.Tpo @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_fold.Po
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='@LUAJIT_TREE@/src/host/buildvm_fold.c' object='@LUAJIT_TREE@/src/host/buildvm-buildvm_fold.o' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_fold.o `test -f '@LUAJIT_TREE@/src/host/buildvm_fold.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm_fold.c
++@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_fold.o `test -f '@LUAJIT_TREE@/src/host/buildvm_fold.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm_fold.c
+ 
+ @LUAJIT_TREE@/src/host/buildvm-buildvm_fold.obj: @LUAJIT_TREE@/src/host/buildvm_fold.c
+-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm_fold.obj -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_fold.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_fold.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm_fold.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm_fold.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm_fold.c'; fi`
++@am__fastdepCC_TRUE@	$(AM_V_CC)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm_fold.obj -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_fold.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_fold.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm_fold.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm_fold.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm_fold.c'; fi`
+ @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_fold.Tpo @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_fold.Po
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='@LUAJIT_TREE@/src/host/buildvm_fold.c' object='@LUAJIT_TREE@/src/host/buildvm-buildvm_fold.obj' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_fold.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm_fold.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm_fold.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm_fold.c'; fi`
++@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_fold.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm_fold.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm_fold.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm_fold.c'; fi`
+ 
+ @LUAJIT_TREE@/src/host/buildvm-buildvm_lib.o: @LUAJIT_TREE@/src/host/buildvm_lib.c
+-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm_lib.o -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_lib.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_lib.o `test -f '@LUAJIT_TREE@/src/host/buildvm_lib.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm_lib.c
++@am__fastdepCC_TRUE@	$(AM_V_CC)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm_lib.o -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_lib.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_lib.o `test -f '@LUAJIT_TREE@/src/host/buildvm_lib.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm_lib.c
+ @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_lib.Tpo @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_lib.Po
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='@LUAJIT_TREE@/src/host/buildvm_lib.c' object='@LUAJIT_TREE@/src/host/buildvm-buildvm_lib.o' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_lib.o `test -f '@LUAJIT_TREE@/src/host/buildvm_lib.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm_lib.c
++@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_lib.o `test -f '@LUAJIT_TREE@/src/host/buildvm_lib.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm_lib.c
+ 
+ @LUAJIT_TREE@/src/host/buildvm-buildvm_lib.obj: @LUAJIT_TREE@/src/host/buildvm_lib.c
+-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm_lib.obj -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_lib.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_lib.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm_lib.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm_lib.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm_lib.c'; fi`
++@am__fastdepCC_TRUE@	$(AM_V_CC)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm_lib.obj -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_lib.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_lib.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm_lib.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm_lib.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm_lib.c'; fi`
+ @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_lib.Tpo @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_lib.Po
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='@LUAJIT_TREE@/src/host/buildvm_lib.c' object='@LUAJIT_TREE@/src/host/buildvm-buildvm_lib.obj' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_lib.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm_lib.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm_lib.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm_lib.c'; fi`
++@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_lib.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm_lib.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm_lib.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm_lib.c'; fi`
+ 
+ @LUAJIT_TREE@/src/host/buildvm-buildvm_peobj.o: @LUAJIT_TREE@/src/host/buildvm_peobj.c
+-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm_peobj.o -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_peobj.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_peobj.o `test -f '@LUAJIT_TREE@/src/host/buildvm_peobj.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm_peobj.c
++@am__fastdepCC_TRUE@	$(AM_V_CC)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm_peobj.o -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_peobj.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_peobj.o `test -f '@LUAJIT_TREE@/src/host/buildvm_peobj.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm_peobj.c
+ @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_peobj.Tpo @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_peobj.Po
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='@LUAJIT_TREE@/src/host/buildvm_peobj.c' object='@LUAJIT_TREE@/src/host/buildvm-buildvm_peobj.o' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_peobj.o `test -f '@LUAJIT_TREE@/src/host/buildvm_peobj.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm_peobj.c
++@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_peobj.o `test -f '@LUAJIT_TREE@/src/host/buildvm_peobj.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/buildvm_peobj.c
+ 
+ @LUAJIT_TREE@/src/host/buildvm-buildvm_peobj.obj: @LUAJIT_TREE@/src/host/buildvm_peobj.c
+-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm_peobj.obj -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_peobj.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_peobj.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm_peobj.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm_peobj.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm_peobj.c'; fi`
++@am__fastdepCC_TRUE@	$(AM_V_CC)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/buildvm-buildvm_peobj.obj -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_peobj.Tpo -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_peobj.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm_peobj.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm_peobj.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm_peobj.c'; fi`
+ @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_peobj.Tpo @LUAJIT_TREE@/src/host/$(DEPDIR)/buildvm-buildvm_peobj.Po
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='@LUAJIT_TREE@/src/host/buildvm_peobj.c' object='@LUAJIT_TREE@/src/host/buildvm-buildvm_peobj.obj' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_peobj.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm_peobj.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm_peobj.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm_peobj.c'; fi`
++@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(HOSTCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(buildvm_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o @LUAJIT_TREE@/src/host/buildvm-buildvm_peobj.obj `if test -f '@LUAJIT_TREE@/src/host/buildvm_peobj.c'; then $(CYGPATH_W) '@LUAJIT_TREE@/src/host/buildvm_peobj.c'; else $(CYGPATH_W) '$(srcdir)/@LUAJIT_TREE@/src/host/buildvm_peobj.c'; fi`
+ 
+ @LUAJIT_TREE@/src/host/minilua-minilua.o: @LUAJIT_TREE@/src/host/minilua.c
+ @am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minilua_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT @LUAJIT_TREE@/src/host/minilua-minilua.o -MD -MP -MF @LUAJIT_TREE@/src/host/$(DEPDIR)/minilua-minilua.Tpo -c -o @LUAJIT_TREE@/src/host/minilua-minilua.o `test -f '@LUAJIT_TREE@/src/host/minilua.c' || echo '$(srcdir)/'`@LUAJIT_TREE@/src/host/minilua.c
+@@ -914,7 +922,7 @@
+ $(buildvm_OBJECTS): buildvm_arch.h
+ 
+ buildvm_arch.h: minilua$(EXEEXT) $(LUAJIT_TREE)/dynasm/dynasm.lua
+-	$(AM_V_GEN)./minilua $(srcdir)/$(LUAJIT_TREE)/dynasm/dynasm.lua \
++	lua $(srcdir)/$(LUAJIT_TREE)/dynasm/dynasm.lua \
+ 	  `cat ../dynasm_flags` \
+ 	  -o $@ $(srcdir)/$(LUAJIT_TREE)/src/vm_$(DASM_ARCH).dasc
+ 
diff --git a/srcpkgs/texlive/patches/freetype2-config.patch b/srcpkgs/texlive/patches/freetype2-config.patch
new file mode 100644
index 00000000000..cef6d7532ba
--- /dev/null
+++ b/srcpkgs/texlive/patches/freetype2-config.patch
@@ -0,0 +1,102 @@
+Disables the use of freetype2-config. Does some weird stuff on
+i686, armv5tel, ppc*, etc. No harm caused by disabling it
+everywhere.
+
+--- texk/dvipng/configure	2020-06-08 10:00:42.953000000 +1000
++++ texk/dvipng/configure	2020-06-08 10:00:57.069000000 +1000
+@@ -16432,10 +16432,7 @@
+ else
+   PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
+ fi
+-if $FT2_CONFIG --ftversion >/dev/null 2>&1; then
+-  FREETYPE2_INCLUDES=`$FT2_CONFIG --cflags`
+-  FREETYPE2_LIBS=`$FT2_CONFIG --libs`
+-elif $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then
++if $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then
+   FREETYPE2_INCLUDES=`$PKG_CONFIG --cflags freetype2`
+   FREETYPE2_LIBS=`$PKG_CONFIG --libs freetype2`
+ elif test "x$need_freetype2:$with_system_freetype2" = xyes:yes; then
+--- configure	2020-06-08 10:03:04.785000000 +1000
++++ configure	2020-06-08 10:01:47.902000000 +1000
+@@ -21471,10 +21471,7 @@
+ else
+   PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
+ fi
+-if $FT2_CONFIG --ftversion >/dev/null 2>&1; then
+-  FREETYPE2_INCLUDES=`$FT2_CONFIG --cflags`
+-  FREETYPE2_LIBS=`$FT2_CONFIG --libs`
+-elif $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then
++if $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then
+   FREETYPE2_INCLUDES=`$PKG_CONFIG --cflags freetype2`
+   FREETYPE2_LIBS=`$PKG_CONFIG --libs freetype2`
+ elif test "x$need_freetype2:$with_system_freetype2" = xyes:yes; then
+--- libs/gd/configure	2019-03-26 04:27:50.000000000 +1100
++++ libs/gd/configure	2020-06-08 10:06:28.481000000 +1000
+@@ -5933,10 +5933,7 @@
+ else
+   PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
+ fi
+-if $FT2_CONFIG --ftversion >/dev/null 2>&1; then
+-  FREETYPE2_INCLUDES=`$FT2_CONFIG --cflags`
+-  FREETYPE2_LIBS=`$FT2_CONFIG --libs`
+-elif $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then
++if $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then
+   FREETYPE2_INCLUDES=`$PKG_CONFIG --cflags freetype2`
+   FREETYPE2_LIBS=`$PKG_CONFIG --libs freetype2`
+ elif test "x$need_freetype2:$with_system_freetype2" = xyes:yes; then
+--- texk/dvisvgm/configure	2020-03-22 09:04:56.000000000 +1100
++++ texk/dvisvgm/configure	2020-06-08 10:08:15.384000000 +1000
+@@ -21794,10 +21794,7 @@
+ else
+   PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
+ fi
+-if $FT2_CONFIG --ftversion >/dev/null 2>&1; then
+-  FREETYPE2_INCLUDES=`$FT2_CONFIG --cflags`
+-  FREETYPE2_LIBS=`$FT2_CONFIG --libs`
+-elif $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then
++if $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then
+   FREETYPE2_INCLUDES=`$PKG_CONFIG --cflags freetype2`
+   FREETYPE2_LIBS=`$PKG_CONFIG --libs freetype2`
+ elif test "x$need_freetype2:$with_system_freetype2" = xyes:yes; then
+--- texk/xdvik/configure	2020-03-02 06:07:53.000000000 +1100
++++ texk/xdvik/configure	2020-06-08 10:08:15.731000000 +1000
+@@ -19055,10 +19055,7 @@
+ else
+   PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
+ fi
+-if $FT2_CONFIG --ftversion >/dev/null 2>&1; then
+-  FREETYPE2_INCLUDES=`$FT2_CONFIG --cflags`
+-  FREETYPE2_LIBS=`$FT2_CONFIG --libs`
+-elif $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then
++if $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then
+   FREETYPE2_INCLUDES=`$PKG_CONFIG --cflags freetype2`
+   FREETYPE2_LIBS=`$PKG_CONFIG --libs freetype2`
+ elif test "x$need_freetype2:$with_system_freetype2" = xyes:yes; then
+--- texk/web2c/configure	2020-01-17 09:02:50.000000000 +1100
++++ texk/web2c/configure	2020-06-08 10:08:15.533000000 +1000
+@@ -25346,10 +25346,7 @@
+ else
+   PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
+ fi
+-if $FT2_CONFIG --ftversion >/dev/null 2>&1; then
+-  FREETYPE2_INCLUDES=`$FT2_CONFIG --cflags`
+-  FREETYPE2_LIBS=`$FT2_CONFIG --libs`
+-elif $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then
++if $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then
+   FREETYPE2_INCLUDES=`$PKG_CONFIG --cflags freetype2`
+   FREETYPE2_LIBS=`$PKG_CONFIG --libs freetype2`
+ elif test "x$need_freetype2:$with_system_freetype2" = xyes:yes; then
+--- texk/ttf2pk2/configure	2019-03-26 04:27:50.000000000 +1100
++++ texk/ttf2pk2/configure	2020-06-08 10:08:15.656000000 +1000
+@@ -15265,10 +15265,7 @@
+ else
+   PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
+ fi
+-if $FT2_CONFIG --ftversion >/dev/null 2>&1; then
+-  FREETYPE2_INCLUDES=`$FT2_CONFIG --cflags`
+-  FREETYPE2_LIBS=`$FT2_CONFIG --libs`
+-elif $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then
++if $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then
+   FREETYPE2_INCLUDES=`$PKG_CONFIG --cflags freetype2`
+   FREETYPE2_LIBS=`$PKG_CONFIG --libs freetype2`
+ elif test "x$need_freetype2:$with_system_freetype2" = xyes:yes; then
diff --git a/srcpkgs/texlive/patches/kpsewhich-default-progname.patch b/srcpkgs/texlive/patches/kpsewhich-default-progname.patch
new file mode 100644
index 00000000000..eecdf544f48
--- /dev/null
+++ b/srcpkgs/texlive/patches/kpsewhich-default-progname.patch
@@ -0,0 +1,14 @@
+The default progname really should be kpsewhich, and makes a test
+pass which otherwise fails.
+
+--- texk/kpathsea/kpsewhich.c	2020-07-01 19:07:23.592000000 +1000
++++ texk/kpathsea/kpsewhich.c	2020-07-01 19:07:33.999000000 +1000
+@@ -60,7 +60,7 @@
+ boolean must_exist = false;
+ 
+ /* The program name, for `.PROG' construct in texmf.cnf.  (-program) */
+-string progname = NULL;
++string progname = "kpsewhich";
+ 
+ /* Safe input and output names to check.  (-safe-in-name and -safe-out-name) */
+ string safe_in_name = NULL;
diff --git a/srcpkgs/texlive/patches/luajit-arch-fixes.patch b/srcpkgs/texlive/patches/luajit-arch-fixes.patch
new file mode 100644
index 00000000000..658c0a90aa2
--- /dev/null
+++ b/srcpkgs/texlive/patches/luajit-arch-fixes.patch
@@ -0,0 +1,50 @@
+Have texluajit recognize ppc64 ELFv2 ABI and therefore emit correct dynasm
+stuff.
+
+Also, fix luajittex crashing on non-x86 64-bit systems (MAP_32BIT only exists
+on x86 and defining it on other systems will activate a codepath in luajit
+that segfaults).
+
+Author: q66 <daniel@octaforge.org>
+
+--- libs/luajit/configure
++++ libs/luajit/configure
+@@ -14243,7 +14243,7 @@ else
+ fi
+ if grep 'LJ_ARCH_BITS 64' conftest.i >/dev/null 2>&1; then :
+   echo '-D P64' >>dynasm_flags
+-         if test "x$LJHOST" = xLinux; then :
++         if test "x$LJHOST" = xLinux -a "x$LJARCH" = xx64; then :
+   LUAJIT_DEFINES="$LUAJIT_DEFINES -DMAP_32BIT=0x40"
+ fi
+ fi
+@@ -14294,6 +14294,9 @@ fi
+ fi
+                 if grep 'LJ_ARCH_PPC32ON64 1' conftest.i >/dev/null 2>&1; then :
+   echo '-D GPR64' >>dynasm_flags
++fi
++                if grep 'LJ_ARCH_PPC_ELFV2 1' conftest.i >/dev/null 2>&1; then :
++  echo '-D ELFV2' >>dynasm_flags
+ fi
+                 if grep 'LJ_ARCH_PPC64 ' conftest.i >/dev/null 2>&1; then :
+   DASM_ARCH=ppc64
+--- libs/luajit/m4/lj-system.m4
++++ libs/luajit/m4/lj-system.m4
+@@ -52,7 +52,7 @@ AS_IF([grep 'LJ_LE' conftest.i >/dev/null 2>&1],
+        [echo '-D ENDIAN_BE' >>dynasm_flags])
+ AS_IF([grep 'LJ_ARCH_BITS 64' conftest.i >/dev/null 2>&1],
+         [echo '-D P64' >>dynasm_flags
+-         AS_IF([test "x$LJHOST" = xLinux],
++         AS_IF([test "x$LJHOST" = xLinux -a "x$LJARCH" = xx64],
+                [LUAJIT_DEFINES="$LUAJIT_DEFINES -DMAP_32BIT=0x40"])])
+ AS_IF([grep 'LJ_HASJIT 1' conftest.i >/dev/null 2>&1],
+         [echo '-D JIT' >>dynasm_flags])
+@@ -84,6 +84,8 @@ AS_CASE([$LJARCH],
+                       [echo '-D ROUND' >>dynasm_flags])
+                 AS_IF([grep 'LJ_ARCH_PPC32ON64 1' conftest.i >/dev/null 2>&1],
+                       [echo '-D GPR64' >>dynasm_flags])
++                AS_IF([grep 'LJ_ARCH_PPC_ELFV2 1' conftest.i >/dev/null 2>&1],
++                      [echo '-D ELFV2' >>dynasm_flags])
+                 AS_IF([grep 'LJ_ARCH_PPC64 ' conftest.i >/dev/null 2>&1],
+                       [DASM_ARCH=ppc64])
+                 AS_IF([test "x$LJHOST" = xPS3],
diff --git a/srcpkgs/texlive/template b/srcpkgs/texlive/template
new file mode 100644
index 00000000000..8aa8208d733
--- /dev/null
+++ b/srcpkgs/texlive/template
@@ -0,0 +1,388 @@
+# Template file for 'texlive'
+pkgname=texlive
+version=20200406
+revision=1
+wrksrc="texlive-${version}-source"
+build_wrksrc="build"
+build_style=gnu-configure
+configure_script="../configure"
+configure_args="
+ --enable-biber
+ --enable-epsfwin
+ --enable-ipc
+ --enable-luajittex
+ --enable-luajithbtex
+ --enable-mfluajit
+ --enable-mfluajit-nowin
+ --enable-luatex
+ --enable-luahbtex
+ --enable-mflua
+ --enable-mfluajit
+ --enable-mfluajit-nowin
+ --enable-mftalkwin
+ --enable-regiswin
+ --enable-shared
+ --enable-tektronixwin
+ --enable-unitermwin
+ --enable-xetex
+ --enable-dvipng
+ --enable-dvipsk
+ --enable-ps2eps
+ --enable-psutils
+ --disable-bibtex-x
+ --disable-chktex
+ --disable-cjkutils
+ --disable-detex
+ --disable-dialog
+ --disable-dvi2tty
+ --disable-dvisvgm
+ --disable-largefile
+ --disable-lcdf-typetools
+ --disable-multiplatform
+ --disable-native-texlive-build
+ --disable-pdfopen
+ --disable-ps2pkm
+ --disable-t1utils
+ --disable-tex4htk
+ --disable-ttf2pk2
+ --disable-vlna
+ --disable-xindy
+ --with-ps=gs
+ --with-banner-add=/VoidLinux
+ --with-system-cairo
+ --with-system-freetype2
+ --with-system-gd
+ --with-system-graphite2
+ --with-system-gmp
+ --with-system-harfbuzz
+ --with-system-icu
+ --with-system-libpaper
+ --with-system-libpng
+ --with-system-mpfr
+ --with-system-poppler
+ --with-system-pixman
+ --with-system-teckit
+ --with-system-xpdf
+ --with-system-zlib
+ --with-system-zziplib
+ --with-xdvi-x-toolkit=Xaw"
+hostmakedepends="pkg-config perl lua52-BitOp texinfo"
+makedepends="cairo-devel freetype-devel gd-devel graphite-devel gmp-devel
+ harfbuzz-devel icu-devel libpaper-devel libpng-devel mpfr-devel
+ poppler-devel pixman-devel libteckit-devel zlib-devel zziplib-devel
+ libXaw-devel"
+depends="dialog ghostscript perl-Tk texlive-core xbps-triggers>=0.115_1"
+short_desc="TeX Live"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="https://www.tug.org/texlive/"
+distfiles="ftp://tug.org/texlive/historic/2020/texlive-${version}-source.tar.xz"
+checksum=e32f3d08cbbbcf21d8d3f96f2143b64a1f5e4cb01b06b761d6249c8785249078
+python_version=3
+
+if [ "$CROSS_BUILD" ] ; then
+	# Tangle is required for cross compile
+	hostmakedepends+=" texlive"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+	mips*) broken="cannot find libraries" ;;
+esac
+
+build_options="luajit"
+
+_luajit_host_cc="cc"
+if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ] ; then
+	case "$XBPS_MACHINE" in
+		x86_64*)
+			hostmakedepends+=" cross-i686-linux-musl"
+			_luajit_host_cc="i686-linux-musl-gcc -static"
+			;;
+		ppc64le*) _luajit_host_cc="broken" ;; # no 32-bit counterpart yet
+		ppc64*)
+			hostmakedepends+=" cross-powerpc-linux-musl"
+			_luajit_host_cc="powerpc-linux-musl-gcc -static"
+			;;
+		*) _luajit_host_cc="broken" ;;
+	esac
+fi
+
+if [ "${_luajit_host_cc}" != "broken" ] ; then
+	build_options_default+=" luajit"
+fi
+
+if [ ! "$build_option_luajit" ] ; then
+	configure_args+=" --disable-luajittex --disable-mfluajit
+	 --disable-mfluajit-nowin --disable-luajithbtex"
+else
+	if [ "${_luajit_host_cc}" = "broken" ] ; then
+		nocross="Cannot cross compile LuaJIT for different wordsizes"
+	fi
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+	aarch64*) DASM_ARCH=arm64 ;;
+	arm*) DASM_ARCH=arm ;;
+	mips64*) DASM_ARCH=mips64 ;;
+	mips*) DASM_ARCH=mips ;;
+	ppc*) DASM_ARCH=ppc ;;
+	i686*) DASM_ARCH=x86 ;;
+	x86_64*) DASM_ARCH=x64 ;;
+esac
+export DASM_ARCH
+
+post_extract() {
+	# pdftex poppler compatibility
+	cp -pv texk/web2c/pdftexdir/pdftoepdf{-poppler0.76.0,}.cc
+	cp -pv texk/web2c/pdftexdir/pdftosrc{-poppler0.76.0,}.cc
+
+	mkdir -p "${build_wrksrc}"
+	cp -rf texk/web2c "${build_wrksrc}/web2c-host"
+}
+
+post_patch() {
+	pushd "${wrksrc}/libs/luajit/LuaJIT-src"
+
+	# Apply all LuaJIT patches first
+	for i in ${XBPS_SRCPKGDIR}/LuaJIT/patches/*.patch ; do
+		# This patch breaks the build
+		if [ "$(basename ${i})" != "get-rid-of-luajit-version-sym.patch" ] ; then
+			msg_normal "patching: $(basename ${i})\n"
+			patch -sNp0 -i ${i}
+		fi
+	done
+
+	# Per-architecture patches
+	# ppc/ppc64: LuaJIT patches
+	local patchdir
+
+	case "$XBPS_TARGET_MACHINE" in
+		ppc64*) patchdir="ppc64" ;;
+		ppc*) patchdir="ppc" ;;
+		*) popd; return ;;
+	esac
+
+	for i in ${XBPS_SRCPKGDIR}/LuaJIT/files/patches/${patchdir}/*.patch ; do
+		msg_normal "patching: $(basename ${i})\n"
+		patch -sNp0 -i ${i}
+	done
+
+	popd
+}
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ] ; then
+		# For some reason, when cross-building, the configure script has this path
+		# for freetype2 include:
+		# /usr/x86_64-linux-musl/usr/x86_64-linux-musl/usr/include/freetype2.
+		# It shouldn't have two /usr/x86_64-linux-musl's, add it to CPPFLAGS.
+		CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+	fi
+}
+
+pre_build() {
+	if [ -n "$build_option_luajit" ] ; then
+		export HOST_CC="${_luajit_host_cc}"
+		export HOSTCC="${_luajit_host_cc}"
+		if [ -n "$CROSS_BUILD" ] ; then
+			# LuaJIT configure script does not cross compile correctly
+			local _cflags=$CFLAGS
+			local _ldflags=$LDFLAGS
+			unset CFLAGS LDFLAGS
+			mkdir -p "${wrksrc}/build/libs/luajit/native"
+			cd "${wrksrc}/build/libs/luajit/native"
+			PREFIX=/usr HOST_LUA=lua5.2 HOST_CFLAGS="$XBPS_CFLAGS" \
+			HOST_LDFLAGS="$XBPS_LDFLAGS" TARGET_CFLAGS="${_cflags}" \
+			TARGET_LDFLAGS="${_ldflags}" CROSS="${XBPS_CROSS_TRIPLET}-" \
+				../../../../libs/luajit/native/configure \
+					--build=${XBPS_TRIPLET} \
+					--host=${XBPS_CROSS_TRIPLET} \
+					--target=${XBPS_CROSS_TRIPLET}
+			CFLAGS="${_cflags}"
+			LDFLAGS="${_ldflags}"
+			# Replace configure script with dummy script
+			cd "${wrksrc}"
+			cat > libs/luajit/native/configure << EOF
+#!/bin/sh
+printf "already complete\\n"
+EOF
+		fi
+	fi
+
+	# web2c should not be cross
+	mkdir -p "${wrksrc}/build/texk/web2c/web2c"
+	cd "${wrksrc}/build/texk/web2c/web2c"
+	unset CC CXX
+	CFLAGS="$XBPS_CFLAGS" LDFLAGS="$XBPS_LDFLAGS" RANLIB=ranlib \
+		../../../../texk/web2c/web2c/configure
+
+	# Replace configure script with dummy script
+	cd "${wrksrc}"
+	cat > texk/web2c/web2c/configure << EOF
+#!/bin/sh
+printf "already complete\\n"
+EOF
+}
+
+post_install() {
+	cp -rf ${wrksrc}/texk/tests/TeXLive \
+		"${DESTDIR}/usr/share/texmf-dist/scripts/texlive"
+	sed -i -e 's:^\(TEXMFROOT *= *\)$SELFAUTOPARENT$:\1/usr/share:g' \
+		"${DESTDIR}/usr/share/texmf-dist/web2c/texmf.cnf"
+	# Remove files provided by other texlive-* packages
+	while IFS=' ' read -r f p ; do
+		if [ "$p" = "$pkgname" ] && ! [ -e "${DESTDIR}/usr/share/texmf-dist/${f}" ]; then
+			msg_error "$pkgver: missing file $f\n"
+		elif [ "$p" != "$pkgname" ] && [ -e "${DESTDIR}/usr/share/texmf-dist/${f}" ]; then
+			echo "removed $f"
+			mkdir -p ${DESTDIR}/usr/share/texlive/removed
+			echo "$f" >> ${DESTDIR}/usr/share/texlive/removed/$pkgname.txt
+			rm -f "${DESTDIR}/usr/share/texmf-dist/$f"
+		fi
+	done < "${XBPS_COMMONDIR}/environment/build-style/texmf/ownership.txt"
+	for cmd in amstex cslatex csplain eplain etex jadetex latex mex llatex \
+				mltex mllatex pdfetex pdfcslatex pdfcsplain pdfjadetex \
+				pdflatex pdfmex pdfxmltex texsis utf8mex xmltex ; do
+		ln -s pdftex "${DESTDIR}/usr/bin/${cmd}"
+	done
+	for cmd in lollipop ; do
+		ln -s tex "${DESTDIR}/usr/bin/${cmd}"
+	done
+	ln -s eptex "${DESTDIR}/usr/bin/platex"
+	ln -s euptex "${DESTDIR}/usr/bin/uplatex"
+}
+
+texlive-XeTeX_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - engine supporting modern typography"
+	pkg_install() {
+		vmove usr/bin/xetex
+		ln -s xetex "${PKGDESTDIR}/usr/bin/xelatex"
+	}
+}
+
+texlive-dvi_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - tools for dvi based workflow"
+	pkg_install() {
+		for i in afm2tfm bbox epsffit extractres includeres ps2eps psbook psjoin \
+				 psnup psresize psselect pstops ; do
+			vmove "usr/bin/${i}"
+		done
+		vmove usr/bin/dvi*
+	}
+}
+
+texlive-LuaTeX_package() {
+	depends="${sourcepkg}>=${version}_${revision} bash"
+	short_desc+=" - extended pdfTeX using Lua"
+	pkg_install() {
+		if [ "$build_option_luajit" ] ; then
+			for i in luajittex mfluajit mfluajit-nowin luajithbtex texluajit \
+					 texluajitc ; do
+				vmove "usr/bin/${i}"
+			done
+		fi
+		for i in checkcites cllualatex cluttex diadia getmapdl l3build luahbtex \
+				 luaotfload-tool luatools luatex lwarpmk m-tx \
+				 makeglossaries-lite mflua mflua-nowin musixflx musixtex pmxchords \
+				 ptex2pdf texlua texluac xindex ; do
+			vmove "usr/bin/${i}"
+		done
+		for i in checkcites cluttex diadia getmap glossaries/makeglossaries-lite.lua \
+				 l3build luaotfload lwarp m-tx musixtex pmxchords ptex2pdf xindex ; do
+			vmove "usr/share/texmf-dist/scripts/${i}"
+		done
+		for i in luatex texlua texluac ; do
+			vmove "usr/share/man/man1/${i}.1"
+		done
+		vmove "usr/lib/libtexlua*.so.*"
+		for cmd in dvilualatex dviluatex optex ; do
+			ln -s luatex "${PKGDESTDIR}/usr/bin/${cmd}"
+		done
+		ln -s luahbtex "${PKGDESTDIR}/usr/bin/lualatex"
+	}
+}
+
+texlive-LuaTeX-devel_package() {
+	depends="${sourcepkg}-devel>=${version}_${revision}
+	 ${sourcepkg}-LuaTeX>=${version}_${revision}"
+	short_desc+=" - extended pdfTeX using Lua - development files"
+	pkg_install() {
+		for i in texlua53 $(vopt_if luajit texluajit); do
+			vmove "usr/include/${i}"
+			vmove "usr/lib/lib${i}.a"
+			vmove "usr/lib/lib${i}.so"
+			vmove "usr/lib/pkgconfig/${i}.pc"
+		done
+	}
+}
+
+texlive-Xdvi_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - displaying DVI files on the X window system"
+	pkg_install() {
+		for i in xdvi xdvi-xaw xdvipdfmx ; do
+			vmove "usr/bin/${i}"
+		done
+		vmove usr/share/texmf-dist/xdvi
+		for i in xdvi xdvipdfmx ; do
+			vmove "usr/share/man/man1/${i}.1"
+		done
+		vmove usr/share/applications/xdvi.desktop
+	}
+}
+
+texlive-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		for i in kpathsea ptexenc synctex; do
+			vmove "usr/include/${i}"
+			vmove "usr/lib/lib${i}.a"
+			vmove "usr/lib/lib${i}.so"
+			vmove "usr/lib/pkgconfig/${i}.pc"
+		done
+	}
+}
+
+texlive-BibTeX_package() {
+	depends="${sourcepkg}>=${version}_${revision} bash"
+	short_desc+=" - reference management software"
+	pkg_install() {
+		for i in bbl2bib ctanbib ; do
+			vmove "usr/bin/${i}"
+		done
+		for i in bib2gls bibexport ; do
+			vmove "usr/share/texmf-dist/scripts/${i}"
+		done
+		vmove usr/bin/bib*
+		vmove usr/share/man/man1/bibtex.1
+	}
+}
+
+texlive-ConTeXt_package() {
+	depends="${sourcepkg}>=${version}_${revision} perl ghostscript"
+	short_desc+=" - alternative general-purpose document processor"
+	pkg_install() {
+		for i in context contextjit mptopdf mtxrun mtxrunjit texexec \
+				 texmfstart dosepsbin epspdf epspdftk purifyeps repstopdf ; do
+			vmove "usr/bin/${i}"
+		done
+		for i in context dosepsbin epspdf epstopdf ps2eps purifyeps ; do
+			vmove "usr/share/texmf-dist/scripts/${i}"
+		done
+		for i in epsffit ps2eps ; do
+			vmove "usr/share/man/man1/${i}.1"
+		done
+	}
+}
+
+texlive-PythonTeX_package() {
+	depends="${sourcepkg}>=${version}_${revision} python3"
+	short_desc+=" - executing Python in LaTeX"
+	pkg_install() {
+		vmove usr/bin/*pythontex
+		vmove usr/share/texmf-dist/scripts/pythontex
+	}
+}

From 954479e19629bc239bd7e5a4749744777e45ea42 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 11:19:28 +1000
Subject: [PATCH 04/26] New package: texlive-core-2020.55416

---
 srcpkgs/texlive-core/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/texlive-core/template

diff --git a/srcpkgs/texlive-core/template b/srcpkgs/texlive-core/template
new file mode 100644
index 00000000000..694c8bcb3d0
--- /dev/null
+++ b/srcpkgs/texlive-core/template
@@ -0,0 +1,12 @@
+# Template file for 'texlive-core'
+pkgname=texlive-core
+version=2020.55416
+revision=1
+archs="noarch"
+build_style="texmf"
+short_desc="TeX Live - core texmf distribution"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=8e025c2dfa4e19dcb6aa5e661874d2c2a158aa2e1a078c11a4ddd6347bd9db45

From 7572d0550fdbee401595aee75126cfecbf183e4c Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:16:51 +1000
Subject: [PATCH 05/26] New package: texlive-bibtexextra-2020.55376

---
 srcpkgs/texlive-bibtexextra/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/texlive-bibtexextra/template

diff --git a/srcpkgs/texlive-bibtexextra/template b/srcpkgs/texlive-bibtexextra/template
new file mode 100644
index 00000000000..e5954e1c364
--- /dev/null
+++ b/srcpkgs/texlive-bibtexextra/template
@@ -0,0 +1,13 @@
+# Template file for 'texlive-bibtexextra'
+pkgname=texlive-bibtexextra
+version=2020.55376
+revision=1
+archs="noarch"
+build_style="texmf"
+depends="texlive-core"
+short_desc="TeX Live - Additional BibTeX styles and bibliography databases"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive/"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=f886188aa015f8450519a22cca61b7dc929bb206c90f5de8947a1a949f762f4a

From a81cbe80bb153c99b3059e6a662a15250e2a9757 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:17:28 +1000
Subject: [PATCH 06/26] New package: texlive-fontsextra-2020.55407

---
 srcpkgs/texlive-fontsextra/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/texlive-fontsextra/template

diff --git a/srcpkgs/texlive-fontsextra/template b/srcpkgs/texlive-fontsextra/template
new file mode 100644
index 00000000000..a80ea7cd234
--- /dev/null
+++ b/srcpkgs/texlive-fontsextra/template
@@ -0,0 +1,13 @@
+# Template file for 'texlive-fontsextra'
+pkgname=texlive-fontsextra
+version=2020.55407
+revision=1
+archs="noarch"
+build_style="texmf"
+depends="texlive-core"
+short_desc="TeX Live - All sorts of extra fonts"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive/"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=25e1060c699f09e02924bf27902b162d7af5a6cc2d0c898f83c09ca0928d9060

From 4fd532ee11bbf7cb0f7078ff23ea914a9bf54135 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:17:39 +1000
Subject: [PATCH 07/26] New package: texlive-formatsextra-2020.54498

---
 srcpkgs/texlive-formatsextra/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/texlive-formatsextra/template

diff --git a/srcpkgs/texlive-formatsextra/template b/srcpkgs/texlive-formatsextra/template
new file mode 100644
index 00000000000..85704c43687
--- /dev/null
+++ b/srcpkgs/texlive-formatsextra/template
@@ -0,0 +1,13 @@
+# Template file for 'texlive-formatsextra'
+pkgname=texlive-formatsextra
+version=2020.54498
+revision=1
+archs="noarch"
+build_style="texmf"
+depends="texlive-core"
+short_desc="TeX Live - Collection of extra TeX 'formats'"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive/"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=897881410cc6144478c40cee45d976950a60bd5f86f798857d57501b3c2a4bf0

From 81a49cb0519c83bfb0dba5fc066cb9dca4349360 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:17:47 +1000
Subject: [PATCH 08/26] New package: texlive-games-2020.55271

---
 srcpkgs/texlive-games/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/texlive-games/template

diff --git a/srcpkgs/texlive-games/template b/srcpkgs/texlive-games/template
new file mode 100644
index 00000000000..d5a8209c893
--- /dev/null
+++ b/srcpkgs/texlive-games/template
@@ -0,0 +1,13 @@
+# Template file for 'texlive-games'
+pkgname=texlive-games
+version=2020.55271
+revision=1
+archs="noarch"
+build_style="texmf"
+depends="texlive-core"
+short_desc="TeX Live - Typesetting board games"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive/"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=8fee7616c18bd8c53cdea108d2d17583b88ace4a97fe6d23f13d32c56397885b

From c4d868763d9c3d3e825eff7d968cb1645614daf9 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:17:54 +1000
Subject: [PATCH 09/26] New package: texlive-humanities-2020.55389

---
 srcpkgs/texlive-humanities/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/texlive-humanities/template

diff --git a/srcpkgs/texlive-humanities/template b/srcpkgs/texlive-humanities/template
new file mode 100644
index 00000000000..e1b06eacfd4
--- /dev/null
+++ b/srcpkgs/texlive-humanities/template
@@ -0,0 +1,13 @@
+# Template file for 'texlive-humanities'
+pkgname=texlive-humanities
+version=2020.55389
+revision=1
+archs="noarch"
+build_style="texmf"
+depends="texlive-core texlive-latexextra texlive-pictures"
+short_desc="TeX Live - Packages for humanities, law, linguistics, etc"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive/"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=528bc27a2ba5410a76d4ab509b97d0ea87038fde1b65f4254fb0d94805c1f3e5

From 67c459179fd3b685afac2cbdae92b1ed57b1fa25 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:18:03 +1000
Subject: [PATCH 10/26] New package: texlive-langchinese-2020.55162

---
 srcpkgs/texlive-langchinese/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/texlive-langchinese/template

diff --git a/srcpkgs/texlive-langchinese/template b/srcpkgs/texlive-langchinese/template
new file mode 100644
index 00000000000..4fa5ee940eb
--- /dev/null
+++ b/srcpkgs/texlive-langchinese/template
@@ -0,0 +1,13 @@
+# Template file for 'texlive-langchinese'
+pkgname=texlive-langchinese
+version=2020.55162
+revision=1
+archs="noarch"
+build_style="texmf"
+depends="texlive-core"
+short_desc="TeX Live - Fonts and macro packages for typesetting Chinese"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive/"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=4ed294a09e69ca853fd9a141103ad4d4f6282afc3dcc058e18415acfd71f8883

From 4d8dd7019cb4d327a11802f96afc9fb67e44e446 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:18:13 +1000
Subject: [PATCH 11/26] New package: texlive-langcyrillic-2020.54594

---
 srcpkgs/texlive-langcyrillic/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/texlive-langcyrillic/template

diff --git a/srcpkgs/texlive-langcyrillic/template b/srcpkgs/texlive-langcyrillic/template
new file mode 100644
index 00000000000..80b953954c5
--- /dev/null
+++ b/srcpkgs/texlive-langcyrillic/template
@@ -0,0 +1,13 @@
+# Template file for 'texlive-langcyrillic'
+pkgname=texlive-langcyrillic
+version=2020.54594
+revision=1
+archs="noarch"
+build_style="texmf"
+depends="texlive-core"
+short_desc="TeX Live - Fonts and macro packages for typesetting Cyrillic text"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive/"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=42cb98a93a1cb9437691d24d4aae64360b260da036f874cb6644aa7bc8a47c67

From fa41bac1d8748602978f534474536f935902c6e2 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:18:24 +1000
Subject: [PATCH 12/26] New package: texlive-langextra-2020.55417

---
 srcpkgs/texlive-langextra/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/texlive-langextra/template

diff --git a/srcpkgs/texlive-langextra/template b/srcpkgs/texlive-langextra/template
new file mode 100644
index 00000000000..ac20ff46333
--- /dev/null
+++ b/srcpkgs/texlive-langextra/template
@@ -0,0 +1,13 @@
+# Template file for 'texlive-langextra'
+pkgname=texlive-langextra
+version=2020.55417
+revision=1
+archs="noarch"
+build_style="texmf"
+depends="texlive-core texlive-latexextra"
+short_desc="TeX Live - Packages for a bunch of extra languages"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive/"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=b92cff8917d8f44071de42307c9f5d72d0be8999d789d1d407225d010f026ac9

From 5c2f826bde128797444d4457abdb05b2195c270e Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:18:31 +1000
Subject: [PATCH 13/26] New package: texlive-langgreek-2020.54512

---
 srcpkgs/texlive-langgreek/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/texlive-langgreek/template

diff --git a/srcpkgs/texlive-langgreek/template b/srcpkgs/texlive-langgreek/template
new file mode 100644
index 00000000000..fe279f6ea13
--- /dev/null
+++ b/srcpkgs/texlive-langgreek/template
@@ -0,0 +1,13 @@
+# Template file for 'texlive-langgreek'
+pkgname=texlive-langgreek
+version=2020.54512
+revision=1
+archs="noarch"
+build_style="texmf"
+depends="texlive-core"
+short_desc="TeX Live - Fonts and macro packages for typesetting Greek"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive/"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=72c7c9b7ab23df11edf2ec2430a97d8a45885316ccbcfa7bc62684b3f2e9188b

From ad261590bebee026d4ba1fb7b14702ee471c6252 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:18:42 +1000
Subject: [PATCH 14/26] New package: texlive-langjapanese-2020.55320

---
 srcpkgs/texlive-langjapanese/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/texlive-langjapanese/template

diff --git a/srcpkgs/texlive-langjapanese/template b/srcpkgs/texlive-langjapanese/template
new file mode 100644
index 00000000000..cd10461aea0
--- /dev/null
+++ b/srcpkgs/texlive-langjapanese/template
@@ -0,0 +1,13 @@
+# Template file for 'texlive-langjapanese'
+pkgname=texlive-langjapanese
+version=2020.55320
+revision=1
+archs="noarch"
+build_style="texmf"
+depends="texlive-core"
+short_desc="TeX Live - Fonts and macro packages for typesetting Japanese"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive/"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=2e2538c9c81ed69530ce78b1dd132eaa54832276e614d6907bafeec17a1c3a90

From 6b684ccc6e7bd0e3bdb45e99db2a5c37fcfc37f7 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:18:50 +1000
Subject: [PATCH 15/26] New package: texlive-langkorean-2020.54519

---
 srcpkgs/texlive-langkorean/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/texlive-langkorean/template

diff --git a/srcpkgs/texlive-langkorean/template b/srcpkgs/texlive-langkorean/template
new file mode 100644
index 00000000000..281ac6c1864
--- /dev/null
+++ b/srcpkgs/texlive-langkorean/template
@@ -0,0 +1,13 @@
+# Template file for 'texlive-langkorean'
+pkgname=texlive-langkorean
+version=2020.54519
+revision=1
+archs="noarch"
+build_style="texmf"
+depends="texlive-core"
+short_desc="TeX Live - Fonts and macro packages for typesetting Korean"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive/"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=dfc1e1434bbc10442009e9c3e28609ae45aeda96930df899d365eea38423f66e

From 5fd9bc41669f4fa41d9e3f155203277a33ee7239 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:19:00 +1000
Subject: [PATCH 16/26] New package: texlive-latexextra-2020.55418

---
 srcpkgs/texlive-latexextra/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/texlive-latexextra/template

diff --git a/srcpkgs/texlive-latexextra/template b/srcpkgs/texlive-latexextra/template
new file mode 100644
index 00000000000..6e393f78f8d
--- /dev/null
+++ b/srcpkgs/texlive-latexextra/template
@@ -0,0 +1,13 @@
+# Template file for 'texlive-latexextra'
+pkgname=texlive-latexextra
+version=2020.55418
+revision=1
+archs="noarch"
+build_style="texmf"
+depends="perl-File-Which python3-Pygments texlive-core texlive-pictures"
+short_desc="TeX Live - Collection of LaTeX addon packages"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive/"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=a2ee21a2a6f00def6bec620a85bb8116de97a16dcd98adaa308eb455fe0e7fcb

From adf39938a94ffd1515ee64e730a33c542ea26027 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:19:07 +1000
Subject: [PATCH 17/26] New package: texlive-music-2020.54758

---
 srcpkgs/texlive-music/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/texlive-music/template

diff --git a/srcpkgs/texlive-music/template b/srcpkgs/texlive-music/template
new file mode 100644
index 00000000000..b8a2488a15d
--- /dev/null
+++ b/srcpkgs/texlive-music/template
@@ -0,0 +1,13 @@
+# Template file for 'texlive-music'
+pkgname=texlive-music
+version=2020.54758
+revision=1
+archs="noarch"
+build_style="texmf"
+depends="fontforge python3 texlive-core"
+short_desc="TeX Live - Music typesetting packages"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive/"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=47f418d851a0f838c08be406135ef338533e32cf0bc9c4ffefeaa0139973e8f1

From 34c59a1a16c95ae75a37e97921786350c21e8ed5 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:19:13 +1000
Subject: [PATCH 18/26] New package: texlive-pictures-2020.55342

---
 srcpkgs/texlive-pictures/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/texlive-pictures/template

diff --git a/srcpkgs/texlive-pictures/template b/srcpkgs/texlive-pictures/template
new file mode 100644
index 00000000000..dee8054f190
--- /dev/null
+++ b/srcpkgs/texlive-pictures/template
@@ -0,0 +1,13 @@
+# Template file for 'texlive-pictures'
+pkgname=texlive-pictures
+version=2020.55342
+revision=1
+archs="noarch"
+build_style="texmf"
+depends="texlive-core"
+short_desc="TeX Live - Packages for drawing graphics"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive/"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=4bfd4a1cf0339151806ff7591c11d4b1868bc9ebf7f9b0f396193abbc3c7aec5

From f84347d1c7803f51fa4855ec03500e4d0bc9906b Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:19:18 +1000
Subject: [PATCH 19/26] New package: texlive-pstricks-2020.55289

---
 srcpkgs/texlive-pstricks/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/texlive-pstricks/template

diff --git a/srcpkgs/texlive-pstricks/template b/srcpkgs/texlive-pstricks/template
new file mode 100644
index 00000000000..c76855241de
--- /dev/null
+++ b/srcpkgs/texlive-pstricks/template
@@ -0,0 +1,13 @@
+# Template file for 'texlive-pstricks'
+pkgname=texlive-pstricks
+version=2020.55289
+revision=1
+archs="noarch"
+build_style="texmf"
+depends="texlive-core"
+short_desc="TeX Live - Additional PSTricks packages"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive/"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=be0eb4d24474a3af116af7d34af5b78f6cdc7aee6235ed4d63f1682dc2ef0cbc

From f8e45e1f9a65df46c651816616eeb52fa2270fc5 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:19:24 +1000
Subject: [PATCH 20/26] New package: texlive-publishers-2020.55415

---
 srcpkgs/texlive-publishers/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/texlive-publishers/template

diff --git a/srcpkgs/texlive-publishers/template b/srcpkgs/texlive-publishers/template
new file mode 100644
index 00000000000..1e5f646ccf7
--- /dev/null
+++ b/srcpkgs/texlive-publishers/template
@@ -0,0 +1,12 @@
+# Template file for 'texlive-publishers'
+pkgname=texlive-publishers
+version=2020.55415
+revision=1
+archs="noarch"
+build_style="texmf"
+short_desc="TeX Live - Classes and packages for certain publishers"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive/"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=4d36cad1e18e5ad9b9866bba17c9288454f6d7b17a3ac144160ec4a5bce79176

From 15df725a012e7c9bf088c5c3706b0044e7ccd348 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 22 Jun 2020 10:19:31 +1000
Subject: [PATCH 21/26] New package: texlive-science-2020.55390

---
 srcpkgs/texlive-science/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/texlive-science/template

diff --git a/srcpkgs/texlive-science/template b/srcpkgs/texlive-science/template
new file mode 100644
index 00000000000..68f358537f7
--- /dev/null
+++ b/srcpkgs/texlive-science/template
@@ -0,0 +1,13 @@
+# Template file for 'texlive-science'
+pkgname=texlive-science
+version=2020.55390
+revision=1
+archs="noarch"
+build_style="texmf"
+depends="texlive-core"
+short_desc="TeX Live - Typesetting for mathematatics and science disciplines"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="http://tug.org/texlive/"
+distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
+checksum=c42294cd26e5a65585b27520e5a877539f88ba1583d5e1101c828a934225eea4

From a58b7f46d61171d01d74c867e4368bb78a241491 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Sat, 4 Jul 2020 09:59:10 +1000
Subject: [PATCH 22/26] New package: texlive-basic-2020

---
 srcpkgs/texlive-basic/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/texlive-basic/template

diff --git a/srcpkgs/texlive-basic/template b/srcpkgs/texlive-basic/template
new file mode 100644
index 00000000000..52fbfee52a3
--- /dev/null
+++ b/srcpkgs/texlive-basic/template
@@ -0,0 +1,17 @@
+# Template file for 'texlive-basic'
+pkgname=texlive-basic
+version=2020
+revision=1
+archs=noarch
+build_style=meta
+depends="texlive>=20200406
+ texlive-BibTeX>=20200406
+ texlive-LuaTeX>=20200406
+ texlive-dvi>=20200406
+ texlive-core>=2020.55416
+ texlive-latexextra>=2020.55418
+ texlive-pictures>=2020.55342"
+short_desc="TeX Live - Metapackage including some simple packages"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="https://www.tug.org/texlive/"

From 2bda27f015758180f54162d41a8e3cb454a2ba89 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Sat, 4 Jul 2020 10:00:22 +1000
Subject: [PATCH 23/26] New package: texlive-minimal-2020

---
 srcpkgs/texlive-minimal/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/texlive-minimal/template

diff --git a/srcpkgs/texlive-minimal/template b/srcpkgs/texlive-minimal/template
new file mode 100644
index 00000000000..c71ac097c6a
--- /dev/null
+++ b/srcpkgs/texlive-minimal/template
@@ -0,0 +1,12 @@
+# Template file for 'texlive-minimal'
+pkgname=texlive-minimal
+version=2020
+revision=1
+archs=noarch
+build_style=meta
+depends="texlive>=20200406
+ texlive-core>=2020.55416"
+short_desc="TeX Live - Metapackage including minimal packages"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="https://www.tug.org/texlive/"

From b0ce4e7158bcfa034353416811d20c1d909c8e17 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Sat, 4 Jul 2020 10:00:11 +1000
Subject: [PATCH 24/26] New package: texlive-lang-2020

---
 srcpkgs/texlive-lang/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/texlive-lang/template

diff --git a/srcpkgs/texlive-lang/template b/srcpkgs/texlive-lang/template
new file mode 100644
index 00000000000..11469a71bf2
--- /dev/null
+++ b/srcpkgs/texlive-lang/template
@@ -0,0 +1,17 @@
+# Template file for 'texlive-lang'
+pkgname=texlive-lang
+version=2020
+revision=1
+archs=noarch
+build_style=meta
+depends="texlive-core>=2020.55416
+ texlive-langchinese>=2020.55162
+ texlive-langcyrillic>=2020.54594
+ texlive-langextra>=2020.55417
+ texlive-langgreek>=2020.54512
+ texlive-langjapanese>=2020.55320
+ texlive-langkorean>=2020.54519"
+short_desc="TeX Live - Metapackage including all languages"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="https://www.tug.org/texlive/"

From 825174a568b092c2e90772215d839cae99729dce Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Sat, 4 Jul 2020 10:00:34 +1000
Subject: [PATCH 25/26] New package: texlive-most-2020

---
 srcpkgs/texlive-most/template | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 srcpkgs/texlive-most/template

diff --git a/srcpkgs/texlive-most/template b/srcpkgs/texlive-most/template
new file mode 100644
index 00000000000..408fe2f9de5
--- /dev/null
+++ b/srcpkgs/texlive-most/template
@@ -0,0 +1,30 @@
+# Template file for 'texlive-most'
+pkgname=texlive-most
+version=2020
+revision=1
+archs=noarch
+build_style=meta
+depends="texlive>=20200406
+ texlive-BibTeX>=20200406
+ texlive-ConTeXt>=20200406
+ texlive-LuaTeX>=20200406
+ texlive-PythonTeX>=20200406
+ texlive-Xdvi>=20200406
+ texlive-XeTeX>=20200406
+ texlive-dvi>=20200406
+ texlive-core>=2020.55416
+ texlive-bibtexextra>=2020.55376
+ texlive-fontsextra>=2020.55407
+ texlive-formatsextra>=2020.54498
+ texlive-games>=2020.55271
+ texlive-humanities>=2020.55389
+ texlive-latexextra>=2020.55418
+ texlive-music>=2020.54758
+ texlive-pictures>=2020.55342
+ texlive-pstricks>=2020.55289
+ texlive-publishers>=2020.55415
+ texlive-science>=2020.55390"
+short_desc="TeX Live - Metapackage including most packages"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="https://www.tug.org/texlive/"

From d68b1927c3e05ce1ad4854de5120c531a46011fb Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Sat, 4 Jul 2020 09:59:20 +1000
Subject: [PATCH 26/26] New package: texlive-full-2020

---
 srcpkgs/texlive-full/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/texlive-full/template

diff --git a/srcpkgs/texlive-full/template b/srcpkgs/texlive-full/template
new file mode 100644
index 00000000000..d6e1c127e0c
--- /dev/null
+++ b/srcpkgs/texlive-full/template
@@ -0,0 +1,12 @@
+# Template file for 'texlive-full'
+pkgname=texlive-full
+version=2020
+revision=1
+archs=noarch
+build_style=meta
+depends="texlive-most>=2020
+ texlive-lang>=2020"
+short_desc="TeX Live - Metapackage including all packages"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="https://www.tug.org/texlive/"

  parent reply	other threads:[~2020-07-11 22:13 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23126@inbox.vuxu.org>
2020-07-03 23:28 ` [PR PATCH] [Updated] [WIP] TeXLive fosslinux
2020-07-04  0:01 ` fosslinux
2020-07-04  0:01 ` [PR PATCH] [Updated] " fosslinux
2020-07-04  0:01 ` fosslinux
2020-07-04  0:01 ` fosslinux
2020-07-04  0:01 ` fosslinux
2020-07-04  2:25 ` q66
2020-07-04  9:11 ` [PR PATCH] [Updated] " Chocimier
2020-07-04  9:17 ` Chocimier
2020-07-06  8:07 ` [PR PATCH] [Updated] " fosslinux
2020-07-06  8:08 ` fosslinux
2020-07-06  8:09 ` fosslinux
2020-07-06  8:09 ` fosslinux
2020-07-06  8:09 ` fosslinux
2020-07-06  8:09 ` fosslinux
2020-07-06  8:09 ` fosslinux
2020-07-06  8:11 ` fosslinux
2020-07-06  9:03 ` [PR PATCH] [Updated] " fosslinux
2020-07-06  9:07 ` fosslinux
2020-07-06  9:07 ` fosslinux
2020-07-06 10:08 ` [PR PATCH] [Updated] " fosslinux
2020-07-06 10:10 ` fosslinux
2020-07-06 22:17 ` [PR PATCH] [Updated] " fosslinux
2020-07-07  3:00 ` fosslinux
2020-07-07  4:42 ` fosslinux
2020-07-07  7:11 ` fosslinux
2020-07-07 10:47 ` q66
2020-07-07 22:15 ` [PR PATCH] [Updated] " fosslinux
2020-07-07 22:16 ` fosslinux
2020-07-07 22:16 ` fosslinux
2020-07-08 19:18 ` [PR REVIEW] " Chocimier
2020-07-08 19:18 ` Chocimier
2020-07-08 19:18 ` Chocimier
2020-07-08 19:18 ` Chocimier
2020-07-08 19:18 ` Chocimier
2020-07-08 19:18 ` Chocimier
2020-07-08 19:18 ` Chocimier
2020-07-08 19:18 ` Chocimier
2020-07-08 19:22 ` ericonr
2020-07-08 19:24 ` ericonr
2020-07-08 19:43 ` ericonr
2020-07-08 20:10 ` Chocimier
2020-07-08 22:19 ` fosslinux
2020-07-08 22:20 ` fosslinux
2020-07-08 22:25 ` fosslinux
2020-07-08 23:11 ` [PR PATCH] [Updated] " fosslinux
2020-07-11 18:49 ` [PR REVIEW] TeXLive Chocimier
2020-07-11 18:49 ` Chocimier
2020-07-11 18:49 ` Chocimier
2020-07-11 18:49 ` Chocimier
2020-07-11 18:49 ` Chocimier
2020-07-11 22:13 ` fosslinux [this message]
2020-07-12  7:32 ` TeXLive fosslinux
2020-07-12 14:46 ` TeXLive q66
2020-07-12 15:13 ` TeXLive q66
2020-07-14  0:38 ` [PR PATCH] [Merged]: TeXLive q66
2020-07-14  0:38 ` TeXLive fosslinux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200711221304.8jb0O1PQb6POhi2yaBlE8nAc0_dNCy5ZTVHJqNfT0gQ@z \
    --to=fosslinux@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).