Summary: | man-1.6a doesnt consider unicode properly | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey Belyashov <Sergey.Belyashov> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | idv1985, matsuu |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
man-unicode.patch
man-unicode.patch log of emerge man sys-apps/man/man-1.6a-r1.ebuild |
Description
Sergey Belyashov
2005-09-05 05:21:55 UTC
that iconv stuff doesnt belong in the ebuild ive changed the `strip-linguas` to read the value from configure so that 'ru' is allowed Created attachment 68084 [details, diff]
man-unicode.patch
try this patch
i think we also need to re-encode the included manpages too in man/??/*.man
(In reply to comment #2) > Created an attachment (id=68084) [edit] > man-unicode.patch > > try this patch > > i think we also need to re-encode the included manpages too in man/??/*.man I try it. Russian detects correctly. But result is bad - gabage on screen if I run 'man --help'. I think, that 'unicode' target do not start from Makefile. (If I manually convert messages, then all OK). With reencoding man pages may be problems. Example: I emerge man-pages-ru. Because it in KOI8-R I encode any page (for example cp.1) to utf8 (with iconv) Try to see what is in (before I copy this page to /usr/share/man/ru/man1) Result is very very unreadable ('DoXD0XODOSIO' etc., it is not cyrilic ;) ). I think, if You reencode buildin man-pages then some pages will be unreadable. It's need to patch man (or troff) sources... This http://bugs.gentoo.org/show_bug.cgi?id=104593 bug is about problem with man pages in utf8. if you emerge man with the proposed patch and USE=unicode, then the code pages should have been re-encoded ... can you run `emerge man >& log` and post the log as an attachment ? Created attachment 68204 [details, diff]
man-unicode.patch
how about this one
Created attachment 68242 [details]
log of emerge man
Your new patch is working properly for Russian, but may be problems with
Korean. ;) See attachement.
Fixed by sys-apps/man-1.6a-r1 Created attachment 90869 [details]
sys-apps/man/man-1.6a-r1.ebuild
Sorry. It is my own ebuild.
sys-apps/man-1.6-r1 also works properly when add key '--manpage' to the NROFF command. May be it need to make by ebuild? sys-apps/man-1.6-r1 also works properly when add key '--manpage' to the NROFF command in /etc/man.conf. May be it need to make by ebuild? --manpage is key of patched (by me) groff. :) ive contacted upstream man maintainer about unicode in man and they're working on it ... really i think you should look at man-1.6d and also work with the upstream maintainer to get this resolved ... i have no problem admitting that this is beyond my capabilities to make sure it gets done right ;) for contact information, please see: http://primates.ximian.com/~flucifredi/man/ *** Bug 193973 has been marked as a duplicate of this bug. *** *** Bug 256839 has been marked as a duplicate of this bug. *** |