r578 - in x86/branches/utf8-newmake: . packages packages/fonts-arphic packages/fonts-dejavu packages/fonts-kochi scripts

alexander at linuxfromscratch.org alexander at linuxfromscratch.org
Sun Aug 21 08:18:40 PDT 2005


Author: alexander
Date: 2005-08-21 09:18:39 -0600 (Sun, 21 Aug 2005)
New Revision: 578

Added:
   x86/branches/utf8-newmake/packages/fonts-arphic/
   x86/branches/utf8-newmake/packages/fonts-arphic/Makefile
   x86/branches/utf8-newmake/packages/fonts-kochi/
   x86/branches/utf8-newmake/packages/fonts-kochi/Makefile
Modified:
   x86/branches/utf8-newmake/BUGS
   x86/branches/utf8-newmake/Makefile
   x86/branches/utf8-newmake/packages/fonts-dejavu/Makefile
   x86/branches/utf8-newmake/scripts/functions
Log:
Added Arphic (Chinese) and Kochi (Japanese) fonts. Upgraded DejaVu fonts.



Modified: x86/branches/utf8-newmake/BUGS
===================================================================
--- x86/branches/utf8-newmake/BUGS	2005-08-20 14:23:04 UTC (rev 577)
+++ x86/branches/utf8-newmake/BUGS	2005-08-21 15:18:39 UTC (rev 578)
@@ -43,12 +43,22 @@
   instead of properly calculated string width).
 
 lfs-bootscripts:
-  language selector is not well-tested.
+  language selector is not well-tested. It also doesn't account for CJK.
 
 Xorg:
   The locale-names patch is not well-tested, and the configurator installed
   with the bootscripts uses locale names that works even without the patch.
 
+freetype/fontconfig:
+  Need to select autohinting vs native hinting based on the locale, in order
+  to avoid blurry and ugly text.
+  
+fontconfig:
+  In el_GR locale, the Kochi fonts are chosen incorrectly for the default
+  Monospace, Sans and Serif fonts. Possible workaround: move Freefont above
+  them in fonts.conf. Better yet, add some Greek fonts and menting them in
+  fonts.conf above Kochi.
+
 links:
   This program handles input in UTF-8 locales properly only if started in
   the graphical mode on the X display. Package dropped, replaced with w3m.

Modified: x86/branches/utf8-newmake/Makefile
===================================================================
--- x86/branches/utf8-newmake/Makefile	2005-08-20 14:23:04 UTC (rev 577)
+++ x86/branches/utf8-newmake/Makefile	2005-08-21 15:18:39 UTC (rev 578)
@@ -206,8 +206,8 @@
 	ch-screen ch-pkgconfig ch-libidn ch-curl ch-zip ch-unzip ch-lynx ch-libxml2 ch-expat \
 	ch-subversion ch-dialog 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 stop-here ch-freefont ch-inputattach ch-fonts-dejavu \
-	update-fontsdir ch-libjpeg ch-libtiff ch-links ch-openssh \
+	ch-fontconfig ch-Xorg ch-inputattach ch-freefont ch-fonts-dejavu \
+	ch-fonts-kochi ch-fonts-arphic update-fontsdir ch-libjpeg ch-libtiff stop-here ch-openssh \
 	ch-glib2 ch-libungif ch-imlib2 ch-pango ch-atk ch-gtk2 \
 	ch-cvs ch-popt ch-samba ch-libIDL ch-firefox ch-thunderbird \
 	ch-startup-notification chroot-gvim ch-xfce ch-lua ch-ion ch-irssi \

Added: x86/branches/utf8-newmake/packages/fonts-arphic/Makefile
===================================================================
--- x86/branches/utf8-newmake/packages/fonts-arphic/Makefile	2005-08-20 14:23:04 UTC (rev 577)
+++ x86/branches/utf8-newmake/packages/fonts-arphic/Makefile	2005-08-21 15:18:39 UTC (rev 578)
@@ -0,0 +1,45 @@
+# Arphic fonts Makefile
+#==============================================================================
+
+NM= fonts-arphic
+LOCATION= /usr/X11R6/lib/X11/fonts/TTF
+BASE= http://cle.linux.org.tw/fonts/Arphic
+
+FILE1= bkai00mp.ttf
+FILE2= bsmi00lp.ttf
+FILE3= gbsn00lp.ttf
+FILE4= gkai00mp.ttf
+
+URL-$(FILE1)= $(BASE)/$(FILE1)
+URL-$(FILE2)= $(BASE)/$(FILE2)
+URL-$(FILE3)= $(BASE)/$(FILE3)
+URL-$(FILE4)= $(BASE)/$(FILE4)
+
+SHA-$(FILE1)= 82fa51badf5eeab60b795d686741b32d46cedc65
+SHA-$(FILE2)= f9ac121e172e900b04235039339588200d7e4145
+SHA-$(FILE3)= 443db42f54904757ed82622e3896d378fff9e57a
+SHA-$(FILE4)= 8f0322c8a1be38e78dd492c2923b2551fd5665c4
+
+# Targets
+# =============================================================================
+
+include $(ROOT)/scripts/functions
+
+chroot:
+	@chroot "$(MP)" $(chenv-blfs) \
+	'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
+
+stage2: Makefile $(FILE1) $(FILE2) $(FILE3) $(FILE4)
+	@$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+	@cp -Hv $(FILE1) $(FILE2) $(FILE3) $(FILE4) $(LOCATION) >../$(DIR)-$@.log 2>&1
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+
+clean:
+
+.PHONY: clean chroot compile-stage2

Modified: x86/branches/utf8-newmake/packages/fonts-dejavu/Makefile
===================================================================
--- x86/branches/utf8-newmake/packages/fonts-dejavu/Makefile	2005-08-20 14:23:04 UTC (rev 577)
+++ x86/branches/utf8-newmake/packages/fonts-dejavu/Makefile	2005-08-21 15:18:39 UTC (rev 578)
@@ -2,13 +2,13 @@
 #==============================================================================
 
 NM= dejavu-ttf
-VRS= 1.9
+VRS= 1.13
 DIR= $(NM)-$(VRS)
 LOCATION= /usr/X11R6/lib/X11/fonts/TTF
 
 FILE= $(DIR).tar.gz
 URL-$(FILE)= http://heanet.dl.sourceforge.net/sourceforge/dejavu/$(FILE)
-SHA-$(FILE)= 85019c9fb5fb54282dce12d47ad7f6128aaed36a
+SHA-$(FILE)= dcee84b68754cad8403400c5db81a8b689949dff
 
 # Targets
 # =============================================================================

Added: x86/branches/utf8-newmake/packages/fonts-kochi/Makefile
===================================================================
--- x86/branches/utf8-newmake/packages/fonts-kochi/Makefile	2005-08-20 14:23:04 UTC (rev 577)
+++ x86/branches/utf8-newmake/packages/fonts-kochi/Makefile	2005-08-21 15:18:39 UTC (rev 578)
@@ -0,0 +1,39 @@
+# Kochi fonts Makefile
+#==============================================================================
+
+NM= kochi-substitute
+VRS= 20030628
+DIR= $(NM)-$(VRS)
+LOCATION= /usr/X11R6/lib/X11/fonts/TTF
+
+FILE= $(DIR).tar.bz2
+URL-$(FILE)= http://osdn.dl.sourceforge.jp/efont/4845/$(FILE)
+SHA-$(FILE)= b7e2eb45092779fd5f87a00cdc8faf1a625bbc74
+
+# Targets
+# =============================================================================
+
+include $(ROOT)/scripts/functions
+
+chroot:
+	@chroot "$(MP)" $(chenv-blfs) \
+	'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
+
+stage2: Makefile $(FILE) 
+	@$(std_build)
+
+compile-stage2:
+	@$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+	@cp -v ./*.ttf $(LOCATION) >../$(DIR)-$@.log 2>&1
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+
+clean:
+	@-rm -rf $(DIR)
+
+.PHONY: clean chroot compile-stage2

Modified: x86/branches/utf8-newmake/scripts/functions
===================================================================
--- x86/branches/utf8-newmake/scripts/functions	2005-08-20 14:23:04 UTC (rev 577)
+++ x86/branches/utf8-newmake/scripts/functions	2005-08-21 15:18:39 UTC (rev 578)
@@ -42,5 +42,5 @@
 	@ln -s $(SRC)/$(1) .
 endef
 
-%.gz %.tgz %.bz2 %.zip %.patch %.rules:
+%.gz %.tgz %.bz2 %.zip %.patch %.rules %.ttf:
 	$(call download,$@,$(URL-$@),$(SHA-$@))




More information about the livecd mailing list