tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

TeXlive packages



I’m creating a TeXlive package.  The instructions in the Pkgsrc Guide (section 14.1.3) seem a bit out of date, so I would like to fix them.  See the current text at the end below.

It seems that the easiest way to create a package is to do the following (remove the -d for no doc package)

	texlive2pkg -d https://www.texlive.info/tlnet-archive/YYYY/MM/DD/tlnet/archive/foo.tar.xz

after having browsed the archive to find the appropriate values of YYYY/MM/DD (and of course the right foo).

Currently, the Guide refers to CTAN, not the texlive archive, and I am finding it really hard (read: impossible) to find the equivalent of the archive there.  

- Is there a systematic way to find the *.xz files in CTAN?

- Would it be better for the Guide to link into the texlive.info archive instead of CTAN?

Cheers,
Brook



	14.1.3. TeXlive packages

	TeXlive packages from CTAN are handled automatically by texlive2pkg, which is available in
	pkgtools/texlive2pkg.

	If the TeXlive package name is not known, it may be useful to search CTAN. A “Contained in” 
	field on the package page typically identifies the basename of the package file in the TeXlive 
	archive.

	If the TeXlive package name is known, download the files from the TeXlive archive. For package
	foo, you will need to download foo.tar.xz. Most TeXlive packages also have associated
	documentation packages, so download foo.doc.tar.xz at the same time. These files should
	be placed in the appropriate category directory, which is often but not always print. Then run
	the following command in the category directory.

		texlive2pkg foo.tar.xz foo.doc.tar.xz

	This will create two packages, tex-foo and tex-foo-doc. Be sure to check that both
	packages are correct.

	Finally, CTAN currently does not include version information in package filenames and changes
	their contents periodically when updates occur. Consequently, pkgsrc avoids downloading 
	distfiles directly from CTAN and instead relies on the pkgsrc archives. For each new or updated
	TeXlive package, e.g., the main one and the corresponding documentation, upload the distfiles
	with the following command in each package directory.

		make upload-distfiles



Home | Main Index | Thread Index | Old Index