texlive-20130919-texmfcnf-vine.patch 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. diff -du texlive-source-20130817/texk/kpathsea/texmf.cnf.vine texlive-source-20130817/texk/kpathsea/texmf.cnf
  2. --- texlive-source-20130817/texk/kpathsea/texmf.cnf.vine 2013-06-26 00:38:48.000000000 +0900
  3. +++ texlive-source-20130817/texk/kpathsea/texmf.cnf 2013-08-21 09:10:38.879799794 +0900
  4. @@ -60,14 +60,20 @@
  5. % Keep the variable name.
  6. TEXMFMAIN = $TEXMFDIST
  7. +# The tree of distributed packages from Vine Linux
  8. +TEXMFVINE = /usr/share/texmf
  9. +
  10. % Local additions to the distribution trees.
  11. -TEXMFLOCAL = $SELFAUTOGRANDPARENT/texmf-local
  12. +%%TEXMFLOCAL = $TEXMFROOT/../texmf-local
  13. +TEXMFLOCAL = /usr/local/share/texmf
  14. % TEXMFSYSVAR, where *-sys store cached runtime data.
  15. -TEXMFSYSVAR = $TEXMFROOT/texmf-var
  16. +%%TEXMFSYSVAR = $TEXMFROOT/texmf-var
  17. +TEXMFSYSVAR = /var/lib/texmf
  18. % TEXMFSYSCONFIG, where *-sys store configuration data.
  19. -TEXMFSYSCONFIG = $TEXMFROOT/texmf-config
  20. +%%TEXMFSYSCONFIG = $TEXMFROOT/texmf-config
  21. +TEXMFSYSCONFIG = /etc/texmf
  22. % Per-user texmf tree(s) -- organized per the TDS, as usual. To define
  23. % more than one per-user tree, set this to a list of directories in
  24. @@ -76,10 +82,12 @@
  25. TEXMFHOME = ~/texmf
  26. % TEXMFVAR, where texconfig/updmap/fmtutil store cached runtime data.
  27. -TEXMFVAR = ~/.texlive2013/texmf-var
  28. +%%TEXMFVAR = ~/.texlive2013/texmf-var
  29. +TEXMFVAR = ~/.texmf-var
  30. % TEXMFCONFIG, where texconfig/updmap/fmtutil store configuration data.
  31. -TEXMFCONFIG = ~/.texlive2013/texmf-config
  32. +%%TEXMFCONFIG = ~/.texlive2013/texmf-config
  33. +TEXMFCONFIG = ~/.texmf-config
  34. % List all the texmf trees. For an explanation of what they are, see the
  35. % TeX Live manual.
  36. @@ -91,7 +99,7 @@
  37. % should take precedence over distribution files -- although it is
  38. % generally a source of confusion to have different versions of a
  39. % package installed, whatever the trees, so try to avoid it.
  40. -TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFDIST}
  41. +TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFVINE,!!$TEXMFDIST}
  42. % Where to look for ls-R files. There need not be an ls-R in the
  43. % directories in this path, but if there is one, Kpathsea will use it.
  44. @@ -99,13 +107,13 @@
  45. % does not create ls-R files in the non-!! elements -- because if an
  46. % ls-R is present, it will be used, and the disk will not be searched.
  47. % This is arguably a bug in kpathsea.
  48. -TEXMFDBS = {!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFDIST}
  49. +TEXMFDBS = {!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFVINE,!!$TEXMFDIST}
  50. % The system trees. These are the trees that are shared by all users.
  51. % If a tree appears in this list, the mktex* scripts will use
  52. % VARTEXFONTS for generated files, if the original tree isn't writable;
  53. % otherwise the current working directory is used.
  54. -SYSTEXMF = $TEXMFSYSVAR;$TEXMFLOCAL;$TEXMFDIST
  55. +SYSTEXMF = $TEXMFSYSVAR;$TEXMFLOCAL;$TEXMFVINE;$TEXMFDIST
  56. % First writable tree here is used by Lua(La)TeX for the font cache.
  57. % LuaLaTeX uses the value here, while ConTeXt uses the same variable but
  58. @@ -116,7 +124,8 @@
  59. % Where generated fonts may be written. This tree is used when the sources
  60. % were found in a system tree and either that tree wasn't writable, or the
  61. % varfonts feature was enabled in MT_FEATURES in mktex.cnf.
  62. -VARTEXFONTS = $TEXMFVAR/fonts
  63. +%%VARTEXFONTS = $TEXMFVAR/fonts
  64. +VARTEXFONTS = $TEXMFSYSVAR/fonts
  65. % On some systems, there will be a system tree which contains all the font
  66. % files that may be created as well as the formats. For example
  67. Diff finished. Sat Aug 24 10:26:48 2013