cygport: building texlive-collection-* during pretest
Ken Brown
kbrown@cornell.edu
Fri Jun 22 19:32:00 GMT 2012
Yaakov,
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.
I thought I could simplify building and testing the texlive-collection-* packages during this period by applying the attached patch and then putting something like the following in my cygport.conf:
TLNET_ARCHIVE_URI="http://ftp.math.utah.edu/pub//texlive/tlpretest/archive"
I tried this, and it doesn't seem to work. When I give a 'cygport texlive-collection-* fetch' command, it still uses the regular ctan mirror. I have two questions:
1. Why doesn't my approach work?
2. How do you suggest dealing with this?
Thanks.
Ken
-------------- next part --------------
--- texlive.cygclass.orig 2012-06-22 11:47:18.000000000 -0400
+++ texlive.cygclass 2012-06-22 14:58:27.159468300 -0400
@@ -74,6 +74,11 @@
TEXLIVE_ARCH="i386-cygwin"
+if ! defined TLNET_ARCHIVE_URI
+then
+ TLNET_ARCHIVE_URI="mirror://ctan/systems/texlive/tlnet/archive"
+fi
+
#****o* texlive.cygclass/SRC_URI (texlive)
# DESCRIPTION
# SRC_URI is constructed automatically based on the value of TEXLIVE_TEXMF_PKGS,
@@ -81,16 +86,16 @@
#****
for pkg in ${TEXLIVE_TEXMF_PKGS}
do
- SRC_URI+=" mirror://ctan/systems/texlive/tlnet/archive/$pkg.tar.xz"
+ SRC_URI+=" ${TLNET_ARCHIVE_URI}/$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_URI}/$pkg.tar.xz"
+ SRC_URI+=" ${TLNET_ARCHIVE_URI}/$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_URI}/$pkg.doc.tar.xz"
done
unset pkg
More information about the Cygwin-apps
mailing list