Author: alexander Date: 2005-05-24 22:58:47 -0600 (Tue, 24 May 2005) New Revision: 208
Modified: trunk/packages/kbd/Makefile Log: Added Belarusian keymap, by2_win. The "by" keymap in the "kbd" package is for ISO-8859-5 character encoding, and therefore unusable in the be_BY.CP1251 locale. Justifications for the SOFT SIGN sed: o Images at http://www.mova.org/bellinux/kbd.html o Belarusian keymap in Windows XP Modified: trunk/packages/kbd/Makefile =================================================================== --- trunk/packages/kbd/Makefile 2005-05-25 04:12:01 UTC (rev 207) +++ trunk/packages/kbd/Makefile 2005-05-25 04:58:47 UTC (rev 208) @@ -7,8 +7,10 @@ FILE= $(DIR).tar.bz2 URL= $(FTP)/$(NM)/$(FILE) PATCH= $(DIR)-backspace-1.patch -URL1= $(FTP)/$(NM)/$(PATCH1) +BYELARUSIAN_FILE= belarusian-0.3.tar.gz +BYELARUSIAN_URL= http://www.mova.org/bellinux/$(BYELARUSIAN_FILE) + # RULES .PHONY: clean stage2 chroot @@ -22,10 +24,17 @@ @echo "" @if [ ! -f $(SRC)/$(FILE) ] ; then $(WGET) $(URL) && \ mv $(FILE) $(SRC) ; fi - @if [ ! -f /bin/loadkeys ] ; then tar xjvf $(SRC)/$(FILE) && cd $(DIR) && \ - patch -Np1 -i ../$(PATCH) && ./configure && make -j3 && make install ; fi + @if [ ! -f $(BYELARUSIAN_FILE) ] ; then $(WGET) $(BYELARUSIAN_URL) ; fi + @if [ ! -f /bin/loadkeys ] ; then tar xjvf $(SRC)/$(FILE) && \ + tar zxvf $(BYELARUSIAN_FILE) && \ + zcat bellinux/console/keymaps/by2_win.kmap.gz >$(DIR)/data/keymaps/i386/qwerty/by2_win.map && \ + echo 'Correcting SOFT SIGN in by2_win keymap' && \ + sed -i -e 's/\(50 = 0x.\)A/\1C/' $(DIR)/data/keymaps/i386/qwerty/by2_win.map && \ + cd $(DIR) && patch -Np1 -i ../$(PATCH) && \ + ./configure && make -j3 && make install ; fi @make clean clean: @-rm -rf $(DIR) + @-rm -rf bellinux -- http://linuxfromscratch.org/mailman/listinfo/livecd FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
