Author: alexander
Date: 2005-09-23 07:20:50 -0600 (Fri, 23 Sep 2005)
New Revision: 725
Added:
x86/branches/utf8-newmake/packages/mutt/bug
Modified:
x86/branches/utf8-newmake/Makefile
x86/branches/utf8-newmake/doc/README
x86/branches/utf8-newmake/etc/X11/app-defaults/XTerm
x86/branches/utf8-newmake/etc/X11/xorg.conf
x86/branches/utf8-newmake/packages/Xorg/Makefile
x86/branches/utf8-newmake/packages/Xorg/host.def
Log:
Updated README from the utf8 branch.
Built Xorg with gcc4
Disabled installation of Type1 fonts because Courier has only partial
coverage of Greek. In VTE-based terminals, this led to some greek letters
being picked up from Courier, and some from FreeMono. Very ugly.
Modified: x86/branches/utf8-newmake/Makefile
===================================================================
--- x86/branches/utf8-newmake/Makefile 2005-09-23 07:27:14 UTC (rev 724)
+++ x86/branches/utf8-newmake/Makefile 2005-09-23 13:20:50 UTC (rev 725)
@@ -209,7 +209,7 @@
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 stop-here ch-Xorg ch-inputattach ch-freefont
ch-fonts-dejavu \
+ ch-fontconfig ch-Xorg ch-inputattach ch-freefont stop-here
ch-fonts-dejavu \
ch-fonts-kochi ch-fonts-arphic update-fontsdir ch-libjpeg ch-libtiff
ch-openssh \
ch-glib2 ch-libungif ch-imlib ch-imlib2 ch-gc ch-w3m stop-here ch-pango
ch-atk ch-gtk2 \
ch-cvs ch-popt ch-samba ch-libIDL ch-firefox ch-thunderbird \
Modified: x86/branches/utf8-newmake/doc/README
===================================================================
--- x86/branches/utf8-newmake/doc/README 2005-09-23 07:27:14 UTC (rev
724)
+++ x86/branches/utf8-newmake/doc/README 2005-09-23 13:20:50 UTC (rev
725)
@@ -14,18 +14,18 @@
* wget (command line file retriever)
* curl (command line file retriever)
* lynx (text web browser)
-* links (text web browser)
+* w3m (text web browser)
* irssi (console irc client)
* firefox (graphical web browser)
* xchat (x-based irc client)
-* msmtp (SMTP client for use with mutt and slrn)
+* msmtp (SMTP client for use with mutt and tin)
* mutt (console mail and news reader)
* thunderbird (graphical mail and news reader)
-* slrn (console news reader)
+* tin (console news reader)
Text Editors
* vim
-* nano
+* nano (unstable version)
* joe
Network Tools
@@ -50,7 +50,7 @@
* distcc
* gpm (console mouse)
* pciutils
-* raidtools
+* mdadm
nALFS & ALFS profile for LFS 6.1
(A tool for automating a Linux From Scratch installation)
@@ -62,10 +62,9 @@
doesn't support 24-bit color depth.
You still have to edit /etc/X11/xorg.conf using vim, joe or nano in order to
-configure the keyboard layout and available video modes (otherwise the US
-English keyboard layout and the highest resolution with 60 Hz refresh rate
-will be used). Instructions for doing that are found in the BLFS book, under
-the section Configuring Xorg:
+configure the available video modes (otherwise the highest resolution with
+60 Hz refresh rate will be used). Instructions for doing that are found in
+the BLFS book, under the section Configuring Xorg:
http://www.linuxfromscratch.org/blfs/view/svn/x/installing.html#xorg
@@ -73,7 +72,7 @@
NOTE: The default Window Manager is xfce which is intuitive and graphically
pleasing. If you prefer something more minimal, edit the file ~/.xinitrc to
-read 'exec ion' or 'exec twm'.
+read 'exec ion -i18n' or 'exec twm'.
CUSTOMIZING THE CD CONTENTS
================
@@ -128,6 +127,62 @@
Configure a known static IP address there, as described in the LFS book,
section "7.12. Configuring the network Script".
+INTERNATIONALIZATION
+================
+It is possible to specify the locale using the bootloader prompt, like this:
+
+ linux [EMAIL PROTECTED]
+
+The CD tries to guess the proper screen font and keymap based on this
+information. If the guess is wrong, you can override it by adding the
+following parameters:
+
+ KEYMAP: specifies the console keymap(s) to load (actually the arguments to
+ the "loadkeys" program separated by the "+" sign), e.g: KEYMAP=es+euro1
+
+ LEGACY_CHARSET: sometimes a ready-made UTF-8 keymap is not available and
+ must be obtained by converting an existing keymap from this charset to UTF-8.
+ E.g.: LEGACY_CHARSET=iso-8859-15
+ This parameter is not used in non-UTF-8 locales.
+
+ FONT: specifies the screen font to set (actually, the arguments to the
+ "setfont" program separated by the "+" sign), e.g:
+ FONT=LatArCyrHeb-16+-m+8859-15
+
+ XKEYMAP: the keymap to use with X window system, e.g. XKEYMAP=us_intl
+
+Alternatively, these items can be configured interactively using dialog-based
+interface if the locale is not specified on the boot prompt.
+
+The list of locales supported by glibc on this CD can be found in the
+/usr/share/i18n/SUPPORTED file. It consists of lines that have the form:
+LOCALE/CHARSET \
+
+E.g. there is a line: "[EMAIL PROTECTED]/ISO-8859-15 \", which means that
[EMAIL PROTECTED]
+is a valid value for the LANG environment variable, and that the charset
+for this locale is ISO-8859-15.
+
+For a locale to work in X window system, it also has to be supported by Xlib.
+A list of all locale names supported by Xlib can be found in the left
+column of the /usr/X11R6/lib/X11/locale/locale.alias file.
+
+FIXME: the description above is not 100% correct, since the de_DE.UTF-8
+locale works in X.
+
+For some locales (e.g. lv_LV.ISO-8859-13) there is no valid console keymap,
+but there is a keymap for X. In this case, the only solution is to use X.
+Languages that need special input method software (e.g. Chinese, Japanese
+and Korean) are not supported yet.
+
+While this CD configures the LANG environment variable, console font and
+keymap for you, it's your responsibility to configure other locale-dependent
+parameters manually. You may want to configure character sets for SAMBA in
+/etc/samba/smb.conf, and to explicitly specify the "iocharset" and "codepage"
+options when mounting filesystems with Windows origin (e.g., vfat and isofs).
+
+The CD contains TrueType fonts that cover the orthography of most of European
+languages. No additional configuration is required in order to use them.
+
THANKS
================
Special thanks to Alexander Patrakov, Andrew Sanch, Archaic, Matthew Burgess,
Modified: x86/branches/utf8-newmake/etc/X11/app-defaults/XTerm
===================================================================
--- x86/branches/utf8-newmake/etc/X11/app-defaults/XTerm 2005-09-23
07:27:14 UTC (rev 724)
+++ x86/branches/utf8-newmake/etc/X11/app-defaults/XTerm 2005-09-23
13:20:50 UTC (rev 725)
@@ -70,7 +70,7 @@
*vtMenu*altscreen*Label: Show Alternate Screen
! The fonts below are not used at all on this CD
-! because of "locale mode" and Xft
+! because of "locale mode"
*fontMenu.Label: VT Fonts
*fontMenu*fontdefault*Label: Default
*fontMenu*font1*Label: Unreadable
@@ -96,7 +96,7 @@
*fontMenu*utf8-mode*Label: UTF-8
*VT100.utf8Fonts.font2:
-misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
-*VT100.utf8Fonts.font:
-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
+*VT100.utf8Fonts.font:
-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
*VT100.utf8Fonts.font3:
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
*VT100.utf8Fonts.font4:
-misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1
*VT100.utf8Fonts.font5:
-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
@@ -122,8 +122,11 @@
! LiveCD specific customizations are below this line
*VT100*locale: true
-*VT100*faceName: Monospace
*title: LFS LiveCD
+*background: black
+*foreground: white
*VT100*scrollBar: true
*VT100*scrollKey: true
*VT100*rightScrollBar: true
+*ptyInitialErase: true
+*backarrowKeyIsErase: true
Modified: x86/branches/utf8-newmake/etc/X11/xorg.conf
===================================================================
--- x86/branches/utf8-newmake/etc/X11/xorg.conf 2005-09-23 07:27:14 UTC (rev
724)
+++ x86/branches/utf8-newmake/etc/X11/xorg.conf 2005-09-23 13:20:50 UTC (rev
725)
@@ -28,12 +28,9 @@
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
- Option "XkbModel" "pc104"
- # Adjust the layout for your country
- Option "XkbLayout" "us"
- # Example for Russia:
- # Option "XkbLayout" "us,ru(winkeys)"
- # Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
+ Option "XkbModel" "pc105"
+ Option "XkbLayout" "en_US"
+ Option "XkbOptions"
"grp:alt_shift_toggle,compose:menu,grp_led:scroll"
EndSection
Section "InputDevice"
Modified: x86/branches/utf8-newmake/packages/Xorg/Makefile
===================================================================
--- x86/branches/utf8-newmake/packages/Xorg/Makefile 2005-09-23 07:27:14 UTC
(rev 724)
+++ x86/branches/utf8-newmake/packages/Xorg/Makefile 2005-09-23 13:20:50 UTC
(rev 725)
@@ -9,9 +9,9 @@
URL-$(FILE)= $(HTTPBLFS)/Xorg/$(FILE)
SHA-$(FILE)= 632e25a202bc41bb9b1c5dbc8bbb0d775c6593b0
-PATCH1= xorg-6.8.1-luit_race-1.patch
-URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/downloads/xorg/$(PATCH1)
-SHA-$(PATCH1)= 2d211b65bcdcb7b926f392595d41fd177af8f818
+PATCH1= xorg-6.8.2-luit_race-2.patch
+URL-$(PATCH1)= http://www.linuxfromscratch.org/~alexander/patches/$(PATCH1)
+SHA-$(PATCH1)= 3a8434bc51cc21e1d72c24d157a05e679ad6ef6c
PATCH2= X11R6.8.2-src-gcc4-1.patch
URL-$(PATCH2)= http://www.linuxfromscratch.org/patches/downloads/xorg/$(PATCH2)
@@ -29,7 +29,7 @@
chroot "$(MP)" $(chenv-blfs) \
'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
-stage2: Makefile $(FILE) $(PATCH1) $(PATCH2)
+stage2: Makefile $(FILE) $(PATCH1) $(PATCH2) $(PATCH3)
$(std_build)
compile-stage2:
Modified: x86/branches/utf8-newmake/packages/Xorg/host.def
===================================================================
--- x86/branches/utf8-newmake/packages/Xorg/host.def 2005-09-23 07:27:14 UTC
(rev 724)
+++ x86/branches/utf8-newmake/packages/Xorg/host.def 2005-09-23 13:20:50 UTC
(rev 725)
@@ -11,4 +11,11 @@
#define XprtServer NO
#define BuildXprintClients NO
+/* Courier confuses font substitution logic in VTE for greek letters */
+#define BuildType1Fonts NO
+
+/* Strictly speaking, TrueType fonts that come with the X server
+ don't add any Unicode coverage. I keep them because some people
+ prefer Luxi, but that font is useless for me -- Alexander E. Patrakov */
+
/* End Xorg host.def file */
Added: x86/branches/utf8-newmake/packages/mutt/bug
===================================================================
--- x86/branches/utf8-newmake/packages/mutt/bug 2005-09-23 07:27:14 UTC (rev
724)
+++ x86/branches/utf8-newmake/packages/mutt/bug 2005-09-23 13:20:50 UTC (rev
725)
@@ -0,0 +1,18 @@
+From - Tue Aug 02 19:20:30 2005
+Date: Tue, 02 Aug 2005 19:20:30 +0600
+From: "Alexander E. Patrakov" <[EMAIL PROTECTED]>
+MIME-Version: 1.0
+To: [EMAIL PROTECTED]
+Subject: Mutt bug
+Content-Type: text/plain; charset=ISO-8859-1; format=flowed
+Content-Transfer-Encoding: 8bit
+
+When wrapping messages with "Content-Type: text/plain; format=flowed",
+Mutt uses string length in bytes instead of its width. Compare the
+wrapping of the following lines on a 80-column terminal in
+en_US.ISO-8859-1 and en_US.UTF-8 locales:
+
+����� ����� ����� ����� ����� ����� ����� ����� ����� ����� ����� �����
+����� ����� ����� ����� ����� ����� ����� ����� ����� ����� ����� �����
+����� ����� �����
+
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page