summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds18
-rw-r--r--Master/tlpkg/tlpsrc/bib2gls.tlpsrc2
-rw-r--r--Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc1
4 files changed, 20 insertions, 3 deletions
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 08da819aa52..b55d1f1c6c4 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -87,7 +87,7 @@ my @TLP_working = qw(
beebe begingreek begriff beilstein belleek bengali
bera berenisadf besjournals bestpapers betababel beton beuron
bewerbung bez123 bezos bgreek bgteubner bguq bhcexam
- bib-fr bibarts biber bibhtml
+ bib-fr bib2gls bibarts biber bibhtml
biblatex biblatex-abnt biblatex-anonymous biblatex-apa
biblatex-archaeology biblatex-arthistory-bonn
biblatex-bookinarticle biblatex-bookinother biblatex-bwl
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 8c604f3a178..2d20b21ff6f 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1293,6 +1293,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'apalike' => '&POSTapalike',
'asapsym' => '&POSTasapsym',
'autosp' => '&POSTautosp',
+ 'bib2gls' => '&POSTbib2gls',
'biber' => '&POSTbiber',
'biblatex' => '&POSTbiblatex',
'bibtex' => '&POSTbibtex',
@@ -2263,6 +2264,7 @@ $standardsource = '(\.(bat|c|drv|dtx|fea|fdd|ins|sfd)'
'arabxetex', 'NULL', # dtx with others, why not
'babelbib', 'NULL', # dtx with others, why not
'bbold', $standardsource . '|fonttabl.sty',
+ 'bib2gls', 'src/',
'biber', '.', # everything, lots to do in post
'bibtexperllibs', '.', # everything
'bigints', 'NULL',
@@ -2760,6 +2762,7 @@ $standardttf = '\.ttf|\.TTC';
# scripts to install under texmf*/.../scripts, but not bindir.
%specialscripts_nobin = (
+ 'bib2gls' => '\.jar$',
'changes' => '\.bash$',
'cloze' => '\.lua$',
'epspdf' => '(epspdf(|\.help|boot|tk)|\.rb|makegray\.pro)$',
@@ -2793,6 +2796,7 @@ $standardttf = '\.ttf|\.TTC';
'adhocfilelist' => 'adhocfilelist\.sh$',
'arara' => 'arara\.sh$',
'authorindex' => 'authorindex$',
+ 'bib2gls' => '\.sh$',
'bibexport' => 'bibexport\.sh$',
'bundledoc' => '(arlatex|bundledoc)$',
'checkcites' => '\.lua$',
@@ -3661,8 +3665,9 @@ sub doscripts {
if $linkname eq "texdef"; # latexdef->texdef
} else {
- # Windows. If a shell script, usually skip. Else copy the wrapper.
- if ($s !~ /arara|texosquery/) { # java programs, want wrapper.
+ # Windows. If a shell script, usually skip, except for Java
+ # programs. Else copy the wrapper.
+ if ($s !~ /arara|bib2gls|convertgls2bib|texosquery/) {
next if $s =~ /\.sh$/ && $s !~ /-sys\.sh$/;
}
#
@@ -5418,6 +5423,15 @@ sub POSTautosp {
&preserve_man_pages ($package);
}
+sub POSTbib2gls {
+ print "POST$package - resources xml, src dir\n";
+ my $resources_dir = "$DEST/scripts/$package/resources";
+ &mv_with_mkdir ("$package-en.xml", $resources_dir);
+ #
+ my $source_dir = "$DEST/source/support/$package";
+ &SYSTEM ("$MV src $source_dir");
+}
+
sub POSTbiber {
print "POST$package - unpack and install binaries\n";
# we've started with everything under source/.
diff --git a/Master/tlpkg/tlpsrc/bib2gls.tlpsrc b/Master/tlpkg/tlpsrc/bib2gls.tlpsrc
new file mode 100644
index 00000000000..1b71f7bdd0d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/bib2gls.tlpsrc
@@ -0,0 +1,2 @@
+binpattern f bin/${ARCH}/${PKGNAME}
+binpattern f bin/${ARCH}/convertgls2bib
diff --git a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc
index 59b7f3bf87b..90ea8e53f7c 100644
--- a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc
@@ -14,6 +14,7 @@ depend archaeologie
depend beebe
depend besjournals
depend bestpapers
+depend bib2gls
depend bibarts
depend biber
depend bibexport