Hello,
Please find attached a patch to add texlive to T2. The patch has had
_limited_ testing by emerging on a couple of machines, followed by
compilation of a simple LaTeX file.
The downloads are pretty large and there is this request on the texlive
web-site: "please don't download these from tug.org unless you know you
need them".
The package excludes the texlive manager (tlmgr) because the texlive
creators prefer distro maintainers to use the distro packaging system to
perform updates. In addition, tlmgr, is not likely to work when texlive
is installed in a directory different from the texlive default, as is
the case with this patch.
I have found that 'mine -rf texlive' does not remove the whole
package from /opt. In that case, follow the command by rm -rf
/opt/texlive. Maybe somone will figure out how to fix the patch so
'mine -rf' works.
Finally, I don't know what will happen if texlive is installed along
tetex, which provides the same functionality but is now very outdated,
having been unmaintained for about 3 years.
Caveat emptor.
Cheers,
Roger
(who, after all these disclaimers, should start a new career as a
lawyer)
diff -Nur /root/textproc.orig//texlive/texlive.cache package/textproc//texlive/texlive.cache
--- /root/textproc.orig//texlive/texlive.cache 1970-01-01 00:00:00.000000000 +0000
+++ package/textproc//texlive/texlive.cache 2010-09-10 09:49:39.000000000 +0000
@@ -0,0 +1,49 @@
+
+[TIMESTAMP] 1284108291 Fri Sep 10 08:44:51 2010
+[BUILDTIME] 100 (9)
+[SIZE] 1747.46 MB, 80662 files
+
+[DEP] 00-dirtree
+[DEP] bash
+[DEP] binutils
+[DEP] bison
+[DEP] cf
+[DEP] coreutils
+[DEP] diffutils
+[DEP] expat
+[DEP] findutils
+[DEP] flex
+[DEP] fontconfig
+[DEP] freetype
+[DEP] gawk
+[DEP] gcc
+[DEP] glibc
+[DEP] grep
+[DEP] imake
+[DEP] libice
+[DEP] libsm
+[DEP] libx11
+[DEP] libxau
+[DEP] libxaw
+[DEP] libxdmcp
+[DEP] libxext
+[DEP] libxmu
+[DEP] libxp
+[DEP] libxpm
+[DEP] libxt
+[DEP] linux-header
+[DEP] m4
+[DEP] make
+[DEP] mktemp
+[DEP] ncurses
+[DEP] net-tools
+[DEP] perl
+[DEP] pkgconfig
+[DEP] sed
+[DEP] sysfiles
+[DEP] tar
+[DEP] texinfo
+[DEP] util-linux
+[DEP] xproto
+[DEP] xz
+[DEP] zlib
diff -Nur /root/textproc.orig//texlive/texlive.conf package/textproc//texlive/texlive.conf
--- /root/textproc.orig//texlive/texlive.conf 1970-01-01 00:00:00.000000000 +0000
+++ package/textproc//texlive/texlive.conf 2010-09-10 09:42:20.000000000 +0000
@@ -0,0 +1,30 @@
+# --- T2-COPYRIGHT-NOTE-BEGIN ---
+# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+#
+# T2 SDE: package/.../texlive/texlive.conf
+# Copyright (C) 2010 The T2 SDE Project
+#
+# More information can be found in the files COPYING and README.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License. A copy of the
+# GNU General Public License can be found in the file COPYING.
+# --- T2-COPYRIGHT-NOTE-END ---
+
+texlive_source_unpack () {
+ tar --use-compress-program xz -xf `match_source_file -p source`
+}
+texlive_source_build () {
+ cd $builddir/texlive-20091107-source
+ eval env TL_INSTALL_DEST=/opt/texlive ./Build --disable-xindy --disable-multiplatform
+}
+texlive_texmf_install () {
+ tar -C /opt/texlive --strip-components 1 --use-compress-program xz -xf `match_source_file -p texmf`
+}
+autoextract=0
+makeopt=
+makeinstopt=
+hook_add preconf 3 "texlive_source_unpack"
+hook_add inmake 5 "texlive_source_build"
+hook_add postinstall 5 "texlive_texmf_install"
diff -Nur /root/textproc.orig//texlive/texlive.desc package/textproc//texlive/texlive.desc
--- /root/textproc.orig//texlive/texlive.desc 1970-01-01 00:00:00.000000000 +0000
+++ package/textproc//texlive/texlive.desc 2010-09-10 09:53:11.000000000 +0000
@@ -0,0 +1,41 @@
+[COPY] --- T2-COPYRIGHT-NOTE-BEGIN ---
+[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+[COPY]
+[COPY] T2 SDE: package/.../texlive/texlive.desc
+[COPY] Copyright (C) 2010 The T2 SDE Project
+[COPY]
+[COPY] More information can be found in the files COPYING and README.
+[COPY]
+[COPY] This program is free software; you can redistribute it and/or modify
+[COPY] it under the terms of the GNU General Public License as published by
+[COPY] the Free Software Foundation; version 2 of the License. A copy of the
+[COPY] GNU General Public License can be found in the file COPYING.
+[COPY] --- T2-COPYRIGHT-NOTE-END ---
+
+[I] A TeX distribution
+
+[T] TeX Live is an easy way to get up and running with the TeX document
+[T] production system. It provides a comprehensive TeX system with
+[T] binaries for most flavors of Unix, including GNU/Linux, and also
+[T] Windows. It includes all the major TeX-related programs, macro
+[T] packages, and fonts that are free software, including support for many
+[T] languages around the world.
+
+[U] http://tug.org/texlive/
+
+[A] Donald E. Knuth {Author of TeX}
+[A] Leslie Lamport {Original Author of LaTeX}
+[A] Sebastian Rahtz {Original Author of TeXLive}
+[A] Karl Berry and others {Current Authors of TeXLive} [email protected]
+[M] Roger Mason <[email protected]>
+
+[C] extra/office
+
+[L] OpenSource
+[S] Stable
+[V] 2009
+[P] X -----5---9 132.000
+
+[D] 4275541215 texlive-20091107-source.tar.xz ftp://tug.org/historic/systems/texlive/2009/
+[D] 2811151685 texlive-20091107-texmf.tar.xz ftp://tug.org/historic/systems/texlive/2009/
+#[D] 0 texlive-20091107-extra.tar.xz ftp://tug.org/historic/systems/texlive/2009/
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2