This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: cygport: building texlive-collection-* during pretest
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-apps at cygwin dot com
- Date: Tue, 26 Jun 2012 00:13:33 -0500
- Subject: Re: cygport: building texlive-collection-* during pretest
- References: <4FE4C835.9030007@cornell.edu>
On Fri, 2012-06-22 at 15:32 -0400, Ken Brown wrote:
> Prior to each year's TeX Live release, there is a lengthy pretest period
> during which the normal tlnet archive (mirror://ctan/systems/texlive/tlnet/archive,
> in cygport language) is frozen. All updates during this period are done
> to a special pretest archive with various mirrors.
>
> How do you suggest dealing with this?
How about defining TEXLIVE_PRETEST with the attached patch?
Yaakov
diff --git a/cygclass/texlive.cygclass b/cygclass/texlive.cygclass
index d87394e..f385ab8 100644
--- a/cygclass/texlive.cygclass
+++ b/cygclass/texlive.cygclass
@@ -79,20 +79,26 @@ TEXLIVE_ARCH="i386-cygwin"
# SRC_URI is constructed automatically based on the value of TEXLIVE_TEXMF_PKGS,
# TEXLIVE_ARCH_PKGS, and TEXLIVE_DOC_PKGS.
#****
+if defined TEXLIVE_PRETEST
+then
+ tlnet="mirror://tlpretest"
+else
+ tlnet="mirror://ctan/systems/texlive/tlnet"
+fi
for pkg in ${TEXLIVE_TEXMF_PKGS}
do
- SRC_URI+=" mirror://ctan/systems/texlive/tlnet/archive/$pkg.tar.xz"
+ SRC_URI+=" ${tlnet}/archive/$pkg.tar.xz"
done
for pkg in ${TEXLIVE_ARCH_PKGS}
do
- SRC_URI+=" mirror://ctan/systems/texlive/tlnet/archive/$pkg.tar.xz"
- SRC_URI+=" mirror://ctan/systems/texlive/tlnet/archive/$pkg.${TEXLIVE_ARCH}.tar.xz"
+ SRC_URI+=" ${tlnet}/archive/$pkg.tar.xz"
+ SRC_URI+=" ${tlnet}/archive/$pkg.${TEXLIVE_ARCH}.tar.xz"
done
for pkg in ${TEXLIVE_DOC_PKGS}
do
- SRC_URI+=" mirror://ctan/systems/texlive/tlnet/archive/$pkg.doc.tar.xz"
+ SRC_URI+=" ${tlnet}/archive/$pkg.doc.tar.xz"
done
-unset pkg
+unset pkg tlnet
SRC_DIR="."
diff --git a/data/mirrors b/data/mirrors
index 6223b18..c141fd2 100644
--- a/data/mirrors
+++ b/data/mirrors
@@ -369,6 +369,18 @@ mirror_sourceware+=" ftp://ftp.sourceware.org/pub"
#****
mirror_qt+=" http://download.qt.nokia.com"
+# curl http://tug.org/texlive/mirmon/ \
+# | sed -n -e 's|^ <TD ALIGN=RIGHT><A HREF="\([^"]*\)/".*|\1|p'
+mirror_tlpretest+="
+ http://ftp.math.utah.edu/pub/texlive/tlpretest
+ ftp://ftp.math.utah.edu/pub/texlive/tlpretest
+ http://mirror.hmc.edu/tlpretest
+ http://ftp.cstug.cz/pub/tex/local/tlpretest
+ ftp://ftp.cstug.cz/pub/tex/local/tlpretest
+ http://ftp.ctex.org/mirrors/texlive/tlpretest
+ ftp://ftp.ctex.org/mirrors/texlive/tlpretest
+ http://ctan.ijs.si/mirror/tlpretest
+"
#****d* Mirrors/mirror_trolltech
# NOTE