summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-02-12 23:43:03 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-02-12 23:43:03 +0000
commit124d50434c083a0e28efecf6871229b4c7740ee8 (patch)
tree625782dc87eeb76608a63870c13e75a3a3395613 /tools
parent4b1fe1b8669176ad87c1b4180f5ab36d3fc54118 (diff)
downloaddrakx-124d50434c083a0e28efecf6871229b4c7740ee8.tar
drakx-124d50434c083a0e28efecf6871229b4c7740ee8.tar.gz
drakx-124d50434c083a0e28efecf6871229b4c7740ee8.tar.bz2
drakx-124d50434c083a0e28efecf6871229b4c7740ee8.tar.xz
drakx-124d50434c083a0e28efecf6871229b4c7740ee8.zip
add missing pango rendering modules
in ramdisk, do download additional fonts if needed (fixes problems with CJK languages and namely #1098)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make_mdkinst_stage28
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/make_mdkinst_stage2 b/tools/make_mdkinst_stage2
index 48182616a..6aa0760b7 100755
--- a/tools/make_mdkinst_stage2
+++ b/tools/make_mdkinst_stage2
@@ -41,7 +41,13 @@ rm -f $STAGE2TMP/usr/X11R6/bin/XF86_{VGA16,3DLabs,TGA,S3}
rm -f `ls --sort=size $STAGE2TMP/lib/modules.cz-* | perl -ne 'print if $i++'`
rm -f $STAGE2TMP/usr/bin/{pv*,vg*,lv*} $STAGE2TMP/lib/liblvm*
rm -f $STAGE2TMP/usr/bin/{resize_reiserfs,fsck.jfs}
-rm -f $STAGE2TMP/usr/X11R6/lib/X11/fonts/{12x13mdk,18x18mdk}.pcf*
+#- we can't simply remove those files, because when pango will start,
+#- if it doesn't see them it will recompute the fonts.cache-1 :/
+>$STAGE2TMP/usr/X11R6/lib/X11/fonts/12x13mdk.pcf.gz
+>$STAGE2TMP/usr/X11R6/lib/X11/fonts/18x18mdk.pcf.gz
+touch $STAGE2TMP/usr/X11R6/lib/X11/fonts/fonts.cache-1
+rm -f $STAGE2TMP/usr/*/pango/*/modules/pango-{arabic,hangul,hebrew,indic,thai}-xft.so
+
rm -rf $STAGE2TMP{/usr/bin/brltty,/etc/brltty,/lib/brltty}
rm -rf $STAGE2TMP/usr/share/locale_special