[Lunar-commits] <moonbase-other> texlive: Version bump to 20120701. Also, adjusting the BUILD. First they

Dennis Veatch stumbles at lunar-linux.org
Mon Oct 1 23:53:22 CEST 2012


commit b4d54ac514b0a91b8176832b6bd19561478c0de6
Author: Dennis Veatch <stumbles at lunar-linux.org>
Date: Mon, 01 Oct 2012 14:53:22 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/b4d54ac514b0a91b8176832b6bd19561478c0de6

texlive: Version bump to 20120701. Also, adjusting the BUILD. First they

do not recommend an in source build, so compling with their warning.

Second is the "Can't locate TeXLive/TLUtils.pm in @INC" when it does the POST_INSTALL.
The problem was a couple of perl scripts not being installed from the source. I opted
to go with the first directory the error was calling out as I did not want to go
mucking about in the perl directories.
---
  doc-tools/texlive/BUILD   | +11/-2    
  doc-tools/texlive/DETAILS | +3/-3     
  2 files changed, 14 insertions(+), 5 deletions(-)

--- a/doc-tools/texlive/BUILD
+++ b/doc-tools/texlive/BUILD
@@ -1,4 +1,5 @@
 (
+
   # Use /usr/share as root
   sedit 's:^\(TEXMFROOT = \)\$SELFAUTOPARENT:\1 /usr/share:' texk/kpathsea/texmf.cnf &&
   sedit 's:^\(TEXMFLOCAL = \).*$:\1 \$TEXMFROOT/texmf-local:' texk/kpathsea/texmf.cnf &&
@@ -38,9 +39,17 @@
   # luatex and psutils are individual modules.
   OPTS+=" --datadir=/usr/share --disable-multiplatform --disable-native-texlive-build --with-gs=gs --disable-xindy --enable-etex --disable-luatex --disable-psutils --enable-xetex --enable-ipc --enable-shared --disable-static --with-system-zlib --with-system-zziplib --with-system-libpng --with-system-gd --with-system-t1lib --with-system-teckit --with-teckit-includes=/usr/include/teckit --with-system-freetype2 --disable-t1utils --disable-lcdf-typetools" &&
 
-  default_build  &&
+# They warn an in source build is a very bad idea, so
+  mkdir tex-build &&
+  cd tex-build    &&
+  ../configure --prefix=/usr $OPTS &&
+  default_make  &&
+
+  # This does not get installed and causes the Can't locate TeXLive/TLUtils.pm after the BUILD
+  mkdir -p /usr/share/tlpkg/TeXLive &&
+  install -m644 $SOURCE_DIRECTORY/texk/tests/TeXLive/*.pm /usr/share/tlpkg/TeXLive &&
 
   # Idea from http://projects.archlinux.org/svntogit/packages.git/tree/texlive-bin/trunk/
-  install -m644 $SOURCE_CACHE/$SOURCE2 /etc/fonts/conf.d/09-texlive-fonts.conf
+  install -m644 $SOURCE_CACHE/$SOURCE2 /etc/fonts/conf.d/09-texlive-fonts.conf 
 
 ) > $C_FIFO 2>&1
--- a/doc-tools/texlive/DETAILS
+++ b/doc-tools/texlive/DETAILS
@@ -1,15 +1,15 @@
           MODULE=texlive
-         VERSION=20110705
+         VERSION=20120701
           SOURCE=$MODULE-$VERSION-source.tar.xz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION-source
          SOURCE2=texlive-20100722-09-texlive-fonts.conf
       SOURCE_URL=ftp://tug.org/historic/systems/texlive/${VERSION:0:4}
      SOURCE2_URL=$PATCH_URL
-      SOURCE_VFY=sha1:7a47cfe847801c86c98da8ade181baf97339f6e4
+      SOURCE_VFY=sha1:e41ef31eba27891f3434e01638d3559cc6958016
      SOURCE2_VFY=sha1:a36517f4250915b011740c7790fba749fde3aaff
         WEB_SITE=http://www.tug.org/texlive/
          ENTERED=20100805
-         UPDATED=20110831
+         UPDATED=20121001
            SHORT="TeX distribution that includes web2c, pdfTeX, e-Tex and more"
 
 # Text from http://www.tug.org/texlive/




More information about the Lunar-commits mailing list