From 454f405945474895ac7086a3e2c25115cc6f9f0f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 1 Jan 2009 18:21:00 +0000 Subject: thaifonts notes git-svn-id: svn://tug.org/texlive/trunk@11793 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/libexec/ctan2tds | 3 +-- Master/tlpkg/libexec/place | 10 +++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'Master/tlpkg/libexec') diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 2af08cd7f34..d484b9785c1 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -450,6 +450,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw 'texdraw', "&MAKEtexdraw", 'texpower', "&MAKEnosymlinks", 'texsis', "&MAKEtexsis", + 'thaifonts', "die 'skipping, see TODO'", 'thaifonts-scalable', "die 'Thai, fontforge format only, skip'", 'thailatex', "die 'Thai, requires preprocessor (?), skip'", 'thsmc', "die 'skipping, requires nonfree font'", @@ -3315,8 +3316,6 @@ sub MAKEgaruda_c90 { &MAKEcjk_common (); require "garuda-c90.pl"; - # have to figure out how to get existing garuda/norasi files from - # /home/ftp/tex-archive/language/thai/thailatex/fonts/ } sub MAKEnorasi_c90 diff --git a/Master/tlpkg/libexec/place b/Master/tlpkg/libexec/place index b977cf6b914..509aa36b852 100755 --- a/Master/tlpkg/libexec/place +++ b/Master/tlpkg/libexec/place @@ -271,7 +271,15 @@ sub add_file } &xsystem ("svn add -N $needed_dirs") if $needed_dirs; - &xsystem ("svn add $newfile"); + # sometimes the add fails due to svn guessing wrongly about a file + # being binary vs. text, or mixed eol conventions. Attempt to repair + # -- just with pdf for now. This is not tested and needs work. + # + if (!defined (eval qq(xsystem("svn add $newfile"))) + && $newfile =~ /\.pdf\$/) { + &xsystem ("svn proplist --verbose $newfile"); + &xsystem ("svn propset svn:mime-type application/pdf $newfile"); + } # remember that we changed this directory. $dirs{$newdir}++; -- cgit v1.2.3