[Lunar-commits] <moonbase> texlive: limit fontconfig to useful fonts

Paul Bredbury brebs at lunar-linux.org
Fri Feb 25 07:06:10 CET 2011


commit 8e8f6ecc780b9b02abc0b7b46a15d3003e626d7a
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Fri Feb 25 13:06:10 2011 +0700

    texlive: limit fontconfig to useful fonts
    
    Scanning the thousands of fonts in
    /usr/share/texmf-dist/fonts/type1/public was making abiword's startup
    take 60 rather than 13 seconds.
    
    And including the opentype fonts, made abiword's font selection list
    completely blank. It's still blank sometimes, but that's a bug in
    abiword presumably.
    
    So this /etc/fonts/conf.d/09-texlive-fonts.conf should be a sensible
    compromise.
---
 doc-tools/texlive/BUILD   |    2 +-
 doc-tools/texlive/DETAILS |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc-tools/texlive/BUILD b/doc-tools/texlive/BUILD
index 4491dc0..f965675 100644
--- a/doc-tools/texlive/BUILD
+++ b/doc-tools/texlive/BUILD
@@ -34,7 +34,7 @@
 
   default_build  &&
 
-  # Idea from http://repos.archlinux.org/wsvn/packages/texlive-bin/trunk/
+  # Idea from http://projects.archlinux.org/svntogit/packages.git/tree/texlive-bin/trunk/
   install -m644 $SOURCE_CACHE/$SOURCE3 /etc/fonts/conf.d/09-texlive-fonts.conf
 
 ) > $C_FIFO 2>&1
diff --git a/doc-tools/texlive/DETAILS b/doc-tools/texlive/DETAILS
index d735674..253e792 100644
--- a/doc-tools/texlive/DETAILS
+++ b/doc-tools/texlive/DETAILS
@@ -3,16 +3,16 @@
           SOURCE=$MODULE-$VERSION-source.tar.xz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION-source
          SOURCE2=texlive-20091107-texmf.cnf_fix.patch
-         SOURCE3=texlive-20091107-09-texlive-fonts.conf
+         SOURCE3=texlive-20100722-09-texlive-fonts.conf
       SOURCE_URL=ftp://tug.org/historic/systems/texlive/${VERSION:0:4}
      SOURCE2_URL=$PATCH_URL
      SOURCE3_URL=$PATCH_URL
       SOURCE_VFY=sha1:c5573c0617f1a44235212277959f48fb76590542
      SOURCE2_VFY=sha1:807b2d96c86b24cb0743909c13e08172925eee85
-     SOURCE3_VFY=sha1:7277db188ded00af37364d03bbcf9614b851c847
+     SOURCE3_VFY=sha1:a36517f4250915b011740c7790fba749fde3aaff
         WEB_SITE=http://www.tug.org/texlive/
          ENTERED=20100805
-         UPDATED=20110212
+         UPDATED=20110223
            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