Update TeXLive packages w.r.t. TeXLive2009 texmf vs. prefix layout

svn path=/nixpkgs/trunk/; revision=20151
This commit is contained in:
Michael Raskin 2010-02-21 10:31:21 +00:00
parent 6c9bc8bf6d
commit ea7c7d1932
5 changed files with 38 additions and 23 deletions

View File

@ -10,8 +10,12 @@ rec {
propagatedBuildInputs = [texLiveLatexXColor texLivePGF];
phaseNames = ["doCopy"];
doCopy = fullDepEntry (''
ensureDir $out/share/texmf-dist/tex/latex/beamer
cp -r * $out/share/texmf-dist/tex/latex/beamer
ensureDir $out/share/
ensureDir $out/texmf-dist/tex/latex/beamer
cp -r * $out/texmf-dist/tex/latex/beamer
ln -s $out/texmf* $out/share/
'') ["minInit" "doUnpack" "defEnsureDir" "addInputs"];
meta = {

View File

@ -8,18 +8,20 @@ rec {
phaseNames = ["doCopy"];
doCopy = fullDepEntry (''
ensureDir $out/share/texmf/fonts/enc
ensureDir $out/share/texmf/fonts/map
ensureDir $out/share/texmf/fonts/type1/public/cm-super
cp pfb/*.pfb $out/share/texmf/fonts/type1/public/cm-super
ensureDir $out/share/texmf/dvips/cm-super
cp dvips/*.{map,enc} $out/share/texmf/dvips/cm-super
cp dvips/*.enc $out/share/texmf/fonts/enc
cp dvips/*.map $out/share/texmf/fonts/map
ensureDir $out/share/texmf/dvipdfm/config
cp dvipdfm/*.map $out/share/texmf/dvipdfm/config
ensureDir $out/share/
ln -s $out/share/texmf* $out/
ensureDir $out/texmf/fonts/enc
ensureDir $out/texmf/fonts/map
ensureDir $out/texmf/fonts/type1/public/cm-super
cp pfb/*.pfb $out/texmf/fonts/type1/public/cm-super
ensureDir $out/texmf/dvips/cm-super
cp dvips/*.{map,enc} $out/texmf/dvips/cm-super
cp dvips/*.enc $out/texmf/fonts/enc
cp dvips/*.map $out/texmf/fonts/map
ensureDir $out/texmf/dvipdfm/config
cp dvipdfm/*.map $out/texmf/dvipdfm/config
ln -s $out/texmf* $out/share/
'') ["minInit" "doUnpack" "defEnsureDir" "addInputs"];
buildInputs = [texLive];

View File

@ -9,8 +9,12 @@ rec {
buildInputs = [texLive];
phaseNames = ["doCopy"];
doCopy = fullDepEntry (''
ensureDir $out/share/texmf
cp -r * $out/share/texmf
ensureDir $out/share/
ensureDir $out/texmf
cp -r * $out/texmf
ln -s $out/texmf* $out/share/
'') ["minInit" "doUnpack" "defEnsureDir" "addInputs"];
meta = {

View File

@ -12,8 +12,10 @@ rec {
phaseNames = ["doCopy"];
doCopy = fullDepEntry (''
ensureDir $out/share/texmf/tex/generic/pgf
cp -r * $out/share/texmf/tex/generic/pgf
ensureDir $out/share/
ensureDir $out/texmf/tex/generic/pgf
cp -r * $out/texmf/tex/generic/pgf
ln -s $out/texmf* $out/share/
'') ["minInit" "doUnpack" "defEnsureDir" "addInputs"];
meta = {

View File

@ -10,12 +10,13 @@ rec {
phaseNames = ["doCopy"];
doCopy = fullDepEntry (''
export HOME=$PWD
ensureDir $out/share/
ensureDir $out/share/texmf/tex/latex/xcolor
ensureDir $out/share/texmf/dvips/xcolor
ensureDir $out/texmf/tex/latex/xcolor
ensureDir $out/texmf/dvips/xcolor
latex xcolor.ins
cp *.sty *.def $out/share/texmf/tex/latex/xcolor
cp *.pro $out/share/texmf/dvips/xcolor
cp *.sty *.def $out/texmf/tex/latex/xcolor
cp *.pro $out/texmf/dvips/xcolor
#latex xcolor.dtx
#latex xcolor.dtx
@ -24,8 +25,10 @@ rec {
#latex xcolor.dtx
rm *.sty *.pro *.ins *.def *.dtx
ensureDir $out/share/texmf/doc/latex-xcolor
cp * $out/share/texmf/doc/latex-xcolor
ensureDir $out/texmf/doc/latex-xcolor
cp * $out/texmf/doc/latex-xcolor
ln -s $out/texmf* $out/share/
'') ["minInit" "doUnpack" "defEnsureDir" "addInputs"];
meta = {