summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2007-01-30 19:37:46 +0000
committerPeter Jones <pjones@redhat.com>2007-01-30 19:37:46 +0000
commite07a8b4dfce91e7805416d474b84c265ecf2d6ab (patch)
treefbde395983a4edb9d832a429a907d972f39a8986
parentef683c2397caa48db72c12aa7d82ed2ab5074b87 (diff)
downloadanaconda-e07a8b4dfce91e7805416d474b84c265ecf2d6ab.tar.gz
anaconda-e07a8b4dfce91e7805416d474b84c265ecf2d6ab.tar.xz
anaconda-e07a8b4dfce91e7805416d474b84c265ecf2d6ab.zip
- make bogl font during upd-instroot (#180113)
-rw-r--r--ChangeLog4
-rwxr-xr-xscripts/upd-instroot14
2 files changed, 17 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b4cd1c0b8..fd131fd9c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-01-30 Peter Jones <pjones@redhat.com>
+
+ * scripts/upd-instroot: make bogl font (#180113)
+
2007-01-29 Jeremy Katz <katzj@redhat.com>
* loader2/loader.c (main): Don't load fb mods for virtpcon
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 08d7b876a..3987c7ba5 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -118,7 +118,7 @@ PACKAGES="glibc glibc-common setup openssl python newt slang libselinux
busybox-anaconda rpm-python booty hdparm lvm2 beecrypt device-mapper
rhpl pyxf86config libxml2 libxml2-python glib2 audit-libs
elfutils-libelf bogl-bterm bogl krb5-libs convertdb1 jfsutils
- xfsprogs xfsdump dmapi libacl libattr attr acl
+ xfsprogs xfsdump dmapi libacl libattr attr acl bogl-devel
policy policycoreutils pyparted xorg-x11 selinux-policy-targeted"
if [ $ARCH = i386 -o $ARCH = x86_64 ]; then
@@ -585,6 +585,8 @@ usr/bin/uniq
usr/bin/Xvnc
usr/bin/vncconfig
usr/bin/vncpasswd
+usr/bin/reduce-font
+usr/bin/bdftobogl
usr/lib/anaconda/iw
usr/$LIBDIR/gconv/*
usr/$LIBDIR/gdk-pixbuf/loaders/*png*
@@ -927,6 +929,16 @@ if [ -n "$NEEDGR" ]; then
rm -f $DESTGR/etc/man.config-old
fi
+echo "Creating bogl font.."
+OLDLANG=$LANG
+export LANG=en_US.UTF-8
+zcat $DESTGR/usr/lib/bogl/font.bdf.gz > $DESTGR/usr/lib/bogl/font.bdf
+(cat $DESTGR/usr/lib/anaconda-runtime/unicode-linedraw-chars.txt ; find $DESTGR/usr/share/locale -name '*.mo' -exec msgunfmt {} \;) | $DESTGR/usr/bin/reduce-font $DESTGR/usr/lib/bogl/font.bdf > $DESTGR/usr/lib/anaconda-runtime/loader/font-reduced.bdf
+$DESTGR/usr/bin/bdftobogl -b $DESTGR/usr/lib/anaconda-runtime/loader/font-reduced.bdf > $DESTGR/usr/lib/anaconda-runtime/loader/font.bgf
+rm -f $DESTGR/usr/lib/anaconda-runtime/loader/font-reduced.bdf $DESTGR/usr/lib/bogl/font.bdf $DESTGR/usr/bin/reduce-font $DESTGR/usr/bin/bdftobogl
+gzip -9 $DESTGR/usr/lib/anaconda-runtime/loader/font.bgf
+export LANG=$OLDLANG
+
echo "Running mkfontdir..."
if [ -n "$NEEDGR" ]; then
/usr/X11R6/bin/mkfontdir $DESTGR/usr/X11R6/lib/X11/fonts/*