Browse Source

updated texlive-vl.spec

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3703 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 14 years ago
parent
commit
5d6858daea

+ 16 - 0
t/texlive/texlive-20091107-texmfcnf-vine.patch

@@ -33,3 +33,19 @@ diff -up ptexlive-20100322/build/texlive-20091107-source/texk/kpathsea/texmf.cnf
  % use shell brace notation, like this:
 
 Diff finished.  Sun May 16 17:49:10 2010
+
+diff -up ptexlive-20100711/build/texlive-20091107-source/texk/kpathsea/texmf.cnf\~ ptexlive-20100711/build/texlive-20091107-source/texk/kpathsea/texmf.cnf
+--- ptexlive-20100711/build/texlive-20091107-source/texk/kpathsea/texmf.cnf~	2011-04-25 23:51:37.714971476 +0900
++++ ptexlive-20100711/build/texlive-20091107-source/texk/kpathsea/texmf.cnf	2011-04-25 23:54:10.904349327 +0900
+@@ -131,7 +131,8 @@ SYSTEXMF = $TEXMFSYSVAR;$TEXMFMAIN;$TEXM
+ % Where generated fonts may be written.  This tree is used when the sources
+ % were found in a system tree and either that tree wasn't writable, or the
+ % varfonts feature was enabled in MT_FEATURES in mktex.cnf.
+-VARTEXFONTS = $TEXMFVAR/fonts
++%%VARTEXFONTS = $TEXMFVAR/fonts
++VARTEXFONTS = /var/lib/texmf/fonts
+ 
+ % Where to look for ls-R files.  There need not be an ls-R in the
+ % directories in this path, but if there is one, Kpathsea will use it.
+
+Diff finished.  Mon Apr 25 23:57:11 2011

+ 6 - 4
t/texlive/texlive-vl.spec

@@ -30,7 +30,7 @@
 %define exec_updmap   [ -x %{_bindir}/updmap-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/updmap-sys --nostop
 %define exec_fmtutil  [ -x %{_bindir}/fmtutil-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/fmtutil-sys --all >/dev/null
 %define exec_upddeffont    [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null
-%define vartexfonts %{_var}/lib/texmf
+%define vartexfonts %{_var}/lib/texmf/fonts
 
 Autoreq: 0
 
@@ -38,7 +38,7 @@ Summary: The TeX text formatting system
 Summary(ja): TeX 文書整形システム
 Name: texlive
 Version: 2009
-Release: 15%{?_dist_release}
+Release: 16%{?_dist_release}
 License: distributable
 Group: Applications/Publishing
 ## The TeX Live is located on http://www.tug.org/texlive/
@@ -318,8 +318,6 @@ TEXMFDIST=%{texlive_src}/texmf-dist
 XDVI=echo
 PSPDF=echo
 
-make_option vartexfonts=%{vartexfonts}
-
 conf_option --enable-luatex
 conf_option --enable-xetex
 conf_option --enable-xdv2pdf
@@ -795,6 +793,10 @@ fi
 
 
 %changelog
+* Tue Apr 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-16
+- updated texlive-20091107-texmfcnf-vine.patch, texlive.cron
+  - changed VARTEXFONTS to /var/lib/texmf/fonts
+
 * Mon Apr 25 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-15
 - fixed updmap.cfg
 

+ 1 - 1
t/texlive/texlive.cron

@@ -1,4 +1,4 @@
 #!/bin/bash
 # Remove TeX fonts not used in 180 days
-/usr/sbin/tmpwatch 4320 /var/lib/texmf
+/usr/sbin/tmpwatch 4320 /var/lib/texmf/fonts
 exit 0