summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tlpkg/tlpsrc/00texlive.autopatterns.tlpsrc42
-rw-r--r--tlpkg/tlpsrc/00texlive.config.tlpsrc4
-rw-r--r--tlpkg/tlpsrc/00texlive.installation.tlpsrc7
-rw-r--r--update.sh32
4 files changed, 85 insertions, 0 deletions
diff --git a/tlpkg/tlpsrc/00texlive.autopatterns.tlpsrc b/tlpkg/tlpsrc/00texlive.autopatterns.tlpsrc
new file mode 100644
index 00000000..d1c1ed35
--- /dev/null
+++ b/tlpkg/tlpsrc/00texlive.autopatterns.tlpsrc
@@ -0,0 +1,42 @@
+category TLCore
+shortdesc Defines category patterns used by tlpsrc-to-tlpdb conversion
+longdesc As can be seen, the syntax here is slightly different than a
+longdesc normal tlpsrc file: an additional first argument specifies the
+longdesc category for this pattern, and a final %NAME% is replaced with
+longdesc the package. Defining new categories merely by adding them
+longdesc here is not currently implemented, though it could be done if
+longdesc it proves useful. See the TeXLive::TLPSRC documentation for more.
+
+# auto patterns for category Package
+runpattern Package t texmf-dist bibtex %NAME%
+runpattern Package t texmf-dist context %NAME%
+runpattern Package t texmf-dist dvips %NAME%
+runpattern Package t texmf-dist fonts %NAME%
+runpattern Package t texmf-dist makeindex %NAME%
+runpattern Package t texmf-dist metafont %NAME%
+runpattern Package t texmf-dist metapost %NAME%
+runpattern Package t texmf-dist mft %NAME%
+runpattern Package t texmf-dist omega %NAME%
+runpattern Package t texmf-dist scripts %NAME%
+runpattern Package t texmf-dist tex %NAME%
+srcpattern Package t texmf-dist source %NAME%
+docpattern Package t texmf-dist doc %NAME%
+docpattern Package f texmf-dist/doc/man/man1/%NAME%.*
+
+# auto patterns for category TLCore
+docpattern TLCore t texmf-dist doc %NAME%
+
+# auto patterns for category ConTeXt, with special expansion type:
+# general form: %[str:]NAME[:str]%
+# - initial str deletes str at the beginning of pkg name (if matches)
+# - terminal str deletes str at then end of pkg name (if matches)
+# Example:
+# pkg name: context-foobar
+# %context-:NAME% expands to foobar
+runpattern ConTeXt f texmf-dist/tex/context/interface/third/*%context-:NAME%.xml
+runpattern ConTeXt f texmf-dist/tex/context/interface/third/t-%NAME%.xml
+runpattern ConTeXt d texmf-dist/tex/context/third/%context-:NAME%
+runpattern ConTeXt d texmf-dist/scripts/context/lua/third/%context-:NAME%
+runpattern ConTeXt d texmf-dist/metapost/context/third/%context-:NAME%
+docpattern ConTeXt d texmf-dist/doc/context/third/%context-:NAME%
+srcpattern ConTeXt d texmf-dist/source/context/third/%context-:NAME%
diff --git a/tlpkg/tlpsrc/00texlive.config.tlpsrc b/tlpkg/tlpsrc/00texlive.config.tlpsrc
new file mode 100644
index 00000000..32ca7635
--- /dev/null
+++ b/tlpkg/tlpsrc/00texlive.config.tlpsrc
@@ -0,0 +1,4 @@
+category TLCore
+depend container_format/xz
+depend release/2017-nonfree
+depend minrelease/2016
diff --git a/tlpkg/tlpsrc/00texlive.installation.tlpsrc b/tlpkg/tlpsrc/00texlive.installation.tlpsrc
new file mode 100644
index 00000000..a5128ec5
--- /dev/null
+++ b/tlpkg/tlpsrc/00texlive.installation.tlpsrc
@@ -0,0 +1,7 @@
+category TLCore
+shortdesc TeX Live configuration settings
+depend opt_paper:a4
+depend opt_path:0
+depend opt_adjustrepo:1
+depend opt_write18_restricted:1
+depend opt_frozen:0
diff --git a/update.sh b/update.sh
new file mode 100644
index 00000000..fbdaf970
--- /dev/null
+++ b/update.sh
@@ -0,0 +1,32 @@
+#!/bin/bash
+# (c) 2016-2017 Norbert Preining
+# License: GPLv3+
+#
+# USAGE:
+# call this script with the two envvars below set to proper values
+# eg:
+# TLCHECKOUT=/path/to/tl/svn/checkout TLNETDEST=/path/to/created/repo update.sh
+# at the moment the generated repository in TLCHECKOUT is *not* signed
+# due to the --no-sign option. You would need the TL distribtuion key
+# to sign. But you can sign with a different key and tell the users to
+# use tlmgr key add etc, see manual.
+
+TLCHECKOUT=${TLCHECKOUT:-/home/norbert/Development/TeX/texlive.git}
+TLNETDEST=${TLNETDEST:-/home/norbert/Domains/preining.info/www/tl-nonfree}
+
+# we don't do TeX Catalogue updates
+unset TEX_CATALOGUE
+
+# update tlpdb
+$TLCHECKOUT/Master/tlpkg/bin/tl-update-tlpdb \
+ -with-w32-pattern-warning -from-files -no-reverse-revision-check \
+ --keep-revisions --master=`pwd`
+
+$TLCHECKOUT/Master/tlpkg/bin/tl-update-containers \
+ -master `pwd` \
+ -location $TLNETDEST \
+ -gpgcmd `pwd`/tl-sign-file \
+ -all -recreate
+
+# sometimes -recreate might be necessary to fully rebuild!
+