Author: alexander
Date: 2005-05-04 05:01:45 -0600 (Wed, 04 May 2005)
New Revision: 125

Added:
   branches/unionfs/packages/fonts-dejavu/
   branches/unionfs/packages/fonts-dejavu/Makefile
Modified:
   branches/unionfs/Makefile
   branches/unionfs/TODO
Log:
Added DejaVu fonts

Modified: branches/unionfs/Makefile
===================================================================
--- branches/unionfs/Makefile   2005-05-04 06:09:17 UTC (rev 124)
+++ branches/unionfs/Makefile   2005-05-04 11:01:45 UTC (rev 125)
@@ -173,7 +173,7 @@
 
 blfs: ch-openssl ch-wget ch-reiserfsprogs ch-xfsprogs ch-slang ch-nano ch-joe 
ch-screen ch-curl ch-zip \
        ch-unzip ch-lynx ch-libxml2 ch-expat ch-subversion ch-lfs-bootscripts 
ch-docbook-xml ch-libxslt \
-       ch-docbook-xsl ch-html_tidy ch-LFS-BOOK ch-libpng ch-freetype 
ch-fontconfig ch-Xorg ch-freefont ch-libjpeg \
+       ch-docbook-xsl ch-html_tidy ch-LFS-BOOK ch-libpng ch-freetype 
ch-fontconfig ch-Xorg ch-freefont ch-fonts-dejavu ch-update-fontsdir ch-libjpeg 
\
        ch-libtiff ch-links ch-openssh ch-pkgconfig ch-glib2 ch-libungif 
ch-imlib2 ch-pango ch-atk ch-gtk2 ch-cvs \
        ch-libIDL ch-firefox ch-startup-notification ch-xfce ch-lua ch-ion 
ch-irssi ch-xchat ch-samba ch-tcpwrappers ch-portmap \
        ch-nfs-utils ch-traceroute ch-ncftp ch-pciutils ch-nALFS 
ch-device-mapper ch-LVM2 ch-dhcpcd ch-ppp ch-rp-pppoe ch-libaal \
@@ -669,6 +669,10 @@
        make -C $(PKG)/$@ chroot
        make unmount
 
+fonts-dejavu: prep-chroot
+       make -C $(PKG)/$@ chroot
+       make unmount
+
 libjpeg: prep-chroot
        make -C $(PKG)/$@ chroot
        make unmount
@@ -1219,6 +1223,12 @@
 ch-freefont: popdev
        make -C $(PKG)/freefont stage2
 
+ch-fonts-dejavu: popdev
+       make -C $(PKG)/fonts-dejavu stage2
+
+ch-update-fontsdir: popdev
+       cd /usr/X11R6/lib/X11/fonts/TTF ; /usr/X11R6/bin/mkfontscale ; 
/usr/X11R6/bin/mkfontdir ; /usr/bin/fc-cache -f
+
 ch-libjpeg: popdev
        make -C $(PKG)/libjpeg stage2
 

Modified: branches/unionfs/TODO
===================================================================
--- branches/unionfs/TODO       2005-05-04 06:09:17 UTC (rev 124)
+++ branches/unionfs/TODO       2005-05-04 11:01:45 UTC (rev 125)
@@ -13,4 +13,5 @@
 * Menus and background for xfce
 * Autosshd script fails on shutdown
 * Method for specifying an available swap partition on boot - swap=/dev/[xxx] 
at command line?
-* Should we use a wrapper script for xterm, or just fix ion and xfce to call 
xterm with proper flags?
+* Should we use a wrapper script for xterm, or just fix ion and xfce to call 
xterm with proper flags? (maybe edit /etc/X11/app-defaults/XTerm? - AP)
+* Add some Greek TrueType fonts.

Added: branches/unionfs/packages/fonts-dejavu/Makefile
===================================================================
--- branches/unionfs/packages/fonts-dejavu/Makefile     2005-05-04 06:09:17 UTC 
(rev 124)
+++ branches/unionfs/packages/fonts-dejavu/Makefile     2005-05-04 11:01:45 UTC 
(rev 125)
@@ -0,0 +1,29 @@
+# DejaVu fonts Makefile
+
+# Package versions
+NM= dejavu-ttf
+VRS= 1.9
+DIR= $(NM)-$(VRS)
+FILE= $(DIR).tar.gz
+URL= http://heanet.dl.sourceforge.net/sourceforge/dejavu/$(FILE)
+LOCATION= /usr/X11R6/lib/X11/fonts/TTF
+
+#RULES
+
+.PHONY: clean chroot stage2
+
+chroot:
+       @chroot "$(MP)" $(chenv3) 'cd $(ROOT) && make ch-fonts-dejavu 
$(chbash2)'
+
+stage2:
+       @echo ""
+       @echo "=====> Building $(NM) in chroot"
+       @echo ""
+       @if [ ! -f $(FILE) ] ; then $(WGET) $(URL) ; fi
+       @if [ ! -f $(LOCATION)/DejaVuSansMono-Roman.ttf ] ; then \
+        tar -xzvf $(FILE) && \
+        cp $(DIR)/*.ttf $(LOCATION) ; fi
+       @make clean
+
+clean:
+       @-rm -rf $(DIR)

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to