New personal experimental book

DJ Lucas dj at linuxfromscratch.org
Sat Sep 13 02:38:10 PDT 2008


Alexander E. Patrakov wrote:
> DJ Lucas wrote:
>   
>> All the recently mentioned changes and updates have been made except for
>> the testsuite fixes that Robert has been working on as I haven't had the
>> time to do manual builds.  Of note:  GCC-4.3.2, GlibC-2.8-20080905, LSB
>> bootscripts, initd-tools introduced, man instead of mandb and added
>> groff-utf8 package (thanks Ken).  Man is probably still a little broken
>>     
>
> Yes, it is. Please read the man-i18n.txt hint and pass +lang none to man in 
> order to get readable error messages. And, groff-1.19.2 doesn't have 
> the --enable-multibyte configure switch.
Oops...yeah.  Fortunately, configure doesn't complain about it.  Thank you.

> And in fact I would strongly prefer a 8-line patch to Man to ignore 
> non-English manual pages completely (instead of unconfigured groff-utf8 and 
> hard-coded special-casing Japanese in Man-1.6f in a way that works only with 
> Debian-patched Groff), as it saves the editors from all the encoding 
> validation work. 
First, keep in mind that I am not proposing *all* of the changes for 
LFS, and especially not man.  It is just my dabbling, but since I am 
doing it, I figured I'd share.   What we have in LFS currently works 
well, assuming that the man pages are up to date.  Following Debian, we 
have a good upstream source, so it should stay.  That said, while I am 
not qualified to try and _translate_ any man pages, I think I have to 
agree with you regarding the quality of some of the translated pages.  
Take these for example (from a default install using the book in my home 
dir):

[root at name25 sources]# grep -r "Translated" /usr/share/man/
/usr/share/man/es/man1/su.1:.\"Translated 21 Jul 1998 by Javi Diaz 
(javid at si.upc.es)
/usr/share/man/es/man1/login.1:.\" Translated 17 sep. 1998 by Juan Jos� 
L�pez Mellado(laveneno at hotmail.com)
/usr/share/man/es/man1/passwd.1:.\" Translated 2 Dec 1998 by Victor 
Moral (victor at venexma.es)
/usr/share/man/es/man1/newgrp.1:.\" Translated 19 Sep 1998 by Juan Jos� 
L�pez Mellado
/usr/share/man/es/man5/passwd.5:.\" Translated Tue Jul 23 11:06:10 1996 
by Diego Novillo (diego at cs.ualberta.ca)
/usr/share/man/es/man8/vipw.8:.\" Translated into Spanish on Fri Aug 28 
1998 by Gerardo Aburruzaga
/usr/share/man/fi/man1/passwd.1:.\" Translated into Finnish by Tuomo 
Pyh�l� (tuomo at lesti.kpnet.fi)
/usr/share/man/fi/man1/chfn.1:.\" Translated into Finnish by Lauri Nurmi 
(lanurmi at kauhajoki.fi)
/usr/share/man/ja/man1/su.1:.\" Translated Fri Feb 14 23:06:00 JST 1997
/usr/share/man/ja/man1/expiry.1:.\" Translated Sun 3 Mar 2002 by NAKANO 
Takeo <nakano at apm.seikei.ac.jp>
/usr/share/man/ja/man1/passwd.1:.\" Translated Fri Feb 14 23:06:00 JST 1997
/usr/share/man/ja/man1/chfn.1:.\" Translated Fri Feb 14 23:06:00 JST 1997
/usr/share/man/ja/man1/chsh.1:.\" Translated Fri Feb 14 23:06:00 JST 1997
/usr/share/man/ja/man1/gpasswd.1:.\" Translated Fri Feb 14 23:06:00 JST 1997
/usr/share/man/ja/man1/newgrp.1:.\" Translated Fri Feb 14 23:06:00 JST 1997
/usr/share/man/ja/man1/chage.1:.\" Translated Fri Feb 14 23:06:00 JST 1997
/usr/share/man/ja/man5/passwd.5:.\" Translated Fri Feb 14 23:06:00 JST 1997
/usr/share/man/ja/man5/porttime.5:.\" Translated Fri Feb 14 23:06:00 JST 
1997
/usr/share/man/ja/man5/login.access.5:.\" Translated Fri 14 Feb 1997
/usr/share/man/ja/man5/login.defs.5:.\" Translated Fri Feb 14 23:06:00 
JST 1997
/usr/share/man/ja/man5/suauth.5:.\" Translated Fri 14 Feb 1997
/usr/share/man/ja/man5/faillog.5:.\" Translated Fri Feb 14 23:06:00 JST 1997
/usr/share/man/ja/man5/shadow.5:.\" Translated Fri Feb 14 23:06:00 JST 1997
/usr/share/man/ja/man5/limits.5:.\" Translated Mon Nov  5 18:12:16 JST 2001
/usr/share/man/ja/man8/groupadd.8:.\" Translated Fri Feb 14 23:06:00 JST 
1997
/usr/share/man/ja/man8/groupdel.8:.\" Translated Fri Feb 14 23:06:00 JST 
1997
/usr/share/man/ja/man8/groupmod.8:.\" Translated Fri Feb 14 23:06:00 JST 
1997
/usr/share/man/ja/man8/chpasswd.8:.\" Translated Fri Feb 14 23:06:00 JST 
1997
/usr/share/man/ja/man8/newusers.8:.\" Translated Wed Nov 20 17:42:39 JST 
1996
/usr/share/man/ja/man8/pwconv.8:.\" Translated Sat Dec  1 20:09:17 JST 2001
/usr/share/man/ja/man8/logoutd.8:.\" Translated Fri Feb 14 23:06:00 JST 1997
/usr/share/man/ja/man8/pwck.8:.\" Translated Fri Feb 14 23:06:00 JST 1997
/usr/share/man/ja/man8/grpck.8:.\" Translated Fri Feb 14 23:06:00 JST 1997
/usr/share/man/ja/man8/vipw.8:.\" Translated Tue Oct 30 11:55:56 JST 2001
/usr/share/man/ja/man8/useradd.8:.\" Translated Wed Nov 20 17:42:39 JST 1996
/usr/share/man/ja/man8/userdel.8:.\" Translated Fri Feb 14 23:06:00 JST 1997
/usr/share/man/ja/man8/usermod.8:.\" Translated Fri Feb 14 23:06:00 JST 1997
/usr/share/man/ja/man8/lastlog.8:.\" Translated Fri Feb 14 23:06:00 JST 1997
/usr/share/man/ja/man8/faillog.8:.\" Translated Fri Feb 14 23:06:00 JST 1997

These are probably the worst cases, but I'm sure at least a few things 
have changed in the past decade or so.  ;-)
> This is rather trivial, as it involves only removing stuff 
> from the add_to_mandirlist() function (because of the check in 
> is_lang_page(), this also disables the Japanese special-case logic that 
> doesn't make sense with any modern groff). Remember: an English message (i.e, 
> error message or manpage) is infinitely better than an unreadable one.
I'll add both that patch (from DIY) and the '+lang none' in the next incarnation.

Thanks again.


-- DJ Lucas

-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.




More information about the lfs-dev mailing list