[arch-commits] Commit in texlive-core/repos (3 files)

François Charette francois at archlinux.org
Wed Nov 19 16:04:31 UTC 2008


    Date: Wednesday, November 19, 2008 @ 11:04:31
  Author: francois
Revision: 19272

Merged revisions 18508,19270 via svnmerge from 
svn+ssh://archlinux.org/home/svn-packages/texlive-core/trunk

........
  r18508 | francois | 2008-11-06 19:24:06 +0100 (Thu, 06 Nov 2008) | 1 line
  
  simplified install scriptlet
........
  r19270 | francois | 2008-11-19 14:59:59 +0100 (Wed, 19 Nov 2008) | 1 line
  
  upgpkg: texlive-core 2008.11313-1
........

Modified:
  texlive-core/repos/extra-x86_64/	(properties)
  texlive-core/repos/extra-x86_64/PKGBUILD
  texlive-core/repos/extra-x86_64/texlive.install

-----------------+
 PKGBUILD        |    8 +++++--
 texlive.install |   59 +++++++++++++++---------------------------------------
 2 files changed, 23 insertions(+), 44 deletions(-)


Property changes on: texlive-core/repos/extra-x86_64
___________________________________________________________________
Name: svnmerge-integrated
   - /texlive-core/trunk:1-18427
   + /texlive-core/trunk:1-19271

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2008-11-19 14:00:34 UTC (rev 19271)
+++ extra-x86_64/PKGBUILD	2008-11-19 16:04:31 UTC (rev 19272)
@@ -1,7 +1,7 @@
 # Maintainer: Firmicus <firmicus ατ gmx δοτ net>
 
 pkgname=texlive-core
-pkgver=2008.11171
+pkgver=2008.11313
 pkgrel=1
 pkgdesc="TeX Live core distribution"
 license=('GPL')
@@ -17,7 +17,7 @@
 source=("http://dev.archlinux.org/~francois/texlive/src/$pkgname-src.zip")
 install=texlive.install
 backup=(usr/share/texmf-config/tex/context/config/cont-usr.tex)
-md5sums=('c54ab6f354d83633ead89b255099371c')
+md5sums=('52226806259dbe3cc90a0978a6a73842')
 
 build() {
   cd $srcdir
@@ -45,4 +45,8 @@
   # remove doc and sources for koma-script
   rm -rf $pkgdir/usr/share/texmf-dist/doc/
   rm -rf $pkgdir/usr/share/texmf-dist/source/
+  # TEMPORARY FIX: symlinks for context
+  for s in mtxrun luatools; do
+  	ln -s /usr/share/texmf-dist/scripts/context/lua/$s.lua $pkgdir/usr/share/texmf-dist/scripts/context/stubs/unix/$s 
+  done
 }

Modified: extra-x86_64/texlive.install
===================================================================
--- extra-x86_64/texlive.install	2008-11-19 14:00:34 UTC (rev 19271)
+++ extra-x86_64/texlive.install	2008-11-19 16:04:31 UTC (rev 19272)
@@ -43,28 +43,23 @@
 }
 
 post_install() {
-	echo    " texlive: updating the filename database..."
-	texconfig-sys rehash
-	echo    " texlive: creating the fontmap files with updmap..."
+	echo -n   "updating the filename database..."
+	mktexlsr --quiet
+	echo      " done"
+	echo -n   "creating the fontmap files with updmap..."
 	updmap-sys --quiet --nohash
-	echo    " done." 
-	echo    "    (see /usr/share/texmf-var/web2c/updmap.log)"
-	echo    " texlive: creating all formats ..."
+	echo      " done" 
+	echo -n   "creating all formats..."
 	fmtutil-sys --all 1>/dev/null
-	echo " done." 
-	echo "  (logs are under /usr/share/texmf-var/web2c/<engine>/<formatname>.log)"
-	echo "  ------------------------------------------------------------------"
-	echo "                   Welcome to TeXLive 2008!                        "
-	echo ""
-	echo " * The installation now goes to /usr instead of /opt/texlive."
-	echo ""
-	echo " * PLEASE read the documentation at"
-	echo "   http://wiki.archlinux.org/index.php/TeXLive"
-	echo " ------------------------------------------------------------------"
+	echo      " done." 
+	echo      " (logs are under /usr/share/texmf-var/web2c/<engine>/<formatname>.log)"
+	echo "------------------------------------------------------------------"
+	echo "  PLEASE read the TeXLive documentation at"
+	echo "  http://wiki.archlinux.org/index.php/TeXLive"
+	echo "------------------------------------------------------------------"
 }
 
 pre_upgrade() {
-	# TODO 
 	updmapfile="/usr/share/texmf-config/web2c/updmap.cfg"
 	if [[ ! -f $updmapfile ]]; then
 		echo " WARNING: Can't find $updmapfile !"
@@ -74,38 +69,18 @@
 		totalmaps=$(($noofmaps+$noofmixedmaps))
 		if [[ $totalmaps == 0 ]] ; then
 			pre_install 
-		else
-			echo " NB: The file $updmapfile has not been changed"
 		fi
 	fi
 }
 
 post_upgrade() {
-	echo    " texlive: updating the filename database..."
-	texconfig-sys rehash
+	echo -n "updating the filename database..."
+	mktexlsr --quiet
+	echo    " done"
 	if [[ $totalmaps == 0 ]] ; then
-		echo    " texlive: updating the fontmap files with updmap..."
+		echo -n   "updating the fontmap files with updmap..."
 		updmap-sys --quiet --nohash
-		echo    " done." 
-		echo    "    (see /usr/share/texmf-var/web2c/updmap.log)"
+		echo    " done"
 	fi
-	nooffmt=`find /usr/share/texmf-var/web2c/ -name '*.fmt' | wc -w`
-	if [[ $nooffmt == 0 ]]; then
-		echo    " texlive: creating all formats ..."
-		fmtutil-sys --all 1>/dev/null
-		echo " done." 
-		echo "  (logs are under /usr/share/texmf-var/<engine>/<formatname>.log)"
-	else
-		echo    " If you encounter a problem with one of the tex binaries, try to rebuild"
-		echo    " its format file with 'sudo fmtutil-sys --byfmt <formatname>'"
-	fi
-	echo "  ------------------------------------------------------------------"
-	echo "                   Welcome to TeXLive 2008!                        "
-	echo ""
-	echo " * The installation now goes to /usr instead of /opt/texlive."
-	echo ""
-	echo " * PLEASE read the documentation at"
-	echo "   http://wiki.archlinux.org/index.php/TeXLive"
-	echo " ------------------------------------------------------------------"
 }
 




More information about the arch-commits mailing list