This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [RFC] Packaging texlive
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-apps at cygwin dot com
- Date: Mon, 27 Feb 2012 23:36:03 -0600
- Subject: Re: [RFC] Packaging texlive
- Authentication-results: mr.google.com; spf=pass (google.com: domain of yselkowitz@gmail.com designates 10.50.219.170 as permitted sender) smtp.mail=yselkowitz@gmail.com; dkim=pass header.i=yselkowitz@gmail.com
- References: <4F4ABBD7.8040509@cornell.edu> <1330339897.8024.54.camel@YAAKOV04> <4F4C5367.10508@cornell.edu>
On Mon, 2012-02-27 at 23:09 -0500, Ken Brown wrote:
> I do have one question about the various texlive-collection-* packages.
> Do you have some automated way of getting the TeX Live package lists
> that are in the .cygport files (TEXLIVE_TEXMF_PKGS, etc.)? The lists
> can be gotten from the texlive.tlpdb file, but it doesn't seem obvious
> to me how to automate this.
Not exactly. I started with this, after having created all of the
texlive-collection-* directories:
========
date=$(date +%Y%m%d)
trunk=http://www.tug.org/svn/texlive/trunk/Master/tlpkg/tlpsrc
for p in texlive-collection-*
do
deps=$(curl -s "${trunk}/${p#texlive-}.tlpsrc?view=co" \
| grep ^depend | cut -d' ' -f2 | grep -v collection- \
| sed -e ':a;N;$!ba;s|\n| |g')
echo -e TEXLIVE_TEXMF_PKGS=\"${deps}\"\\ninherit texlive > $p/$p-$date-1.cygport
done
sed -i -e 's/TEXMF/DOC/' texlive-collection-documentation-*/*.cygport
=========
Then I still had to do the following manually:
1) Scan the .tlpkg files in each collection (once downloaded and
prepped) for .ARCH depends, and move those from TEXMF_PKGS to ARCH_PKGS.
2) Primarily in collection-lang*, see which individual packages were
just placeholders for docs, moving them from TEXMF_PKGS to DOC_PKGS.
3) Drop any empty hyphenation packages from collection-lang*.
Now that that is all done though, from here on out I think your best bet
is to track TeX Live subversion:
svn co svn://tug.org/texlive/trunk/Master/tlpkg/tlpsrc
then in tlpsrc:
svn diff -r {20120202} | less
(where 20120202 is the date of the last packages) and just translate any
changes to collection-*.tlpsrc into the existing .cygport files. Doing
that just now showed that nine collections already have minor changes.
Yaakov