First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 98513
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: EdiG <ed@golovkov.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
manpages-ru-0.98.ebuild manpages-ru-0.98.ebuild text/plain EdiG 2005-07-09 15:57 0000 1.32 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 98513 depends on: Show dependency tree
Show dependency graph
Bug 98513 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-09 15:55 0000
A collection of manual pages translated into Russian

------- Comment #1 From EdiG 2005-07-09 15:57:19 0000 -------
Created an attachment (id=63040) [edit]
manpages-ru-0.98.ebuild

manpages-ru-0.98.ebuild

------- Comment #2 From Jakub Moc 2005-07-10 01:05:12 0000 -------
Does this fix Bug 92017 or is the encoding still koi8-r?

------- Comment #3 From EdiG 2005-07-12 11:34:42 0000 -------
(From update of attachment 63040 [edit])
># Copyright 1999-2005 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: /var/cvsroot/gentoo-x86/sys-apps/man-pages/man-pages-2.05.ebuild,v 1.1 2005/06/29 23:28:49 vapier Exp $
>
>inherit eutils
>
>DESCRIPTION="A collection of manual pages translated into Russian"
>HOMEPAGE="http://www.linuxshare.ru/projects/trans/mans.html"
>SRC_URI="http://www.linuxshare.ru/projects/trans/manpages-ru-${PV}.tar.bz2"
> 
>
>LICENSE="GPL-2"
>SLOT="0"
>KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
>IUSE=""
>
>RDEPEND="sys-apps/man"
>
>src_unpack() {
>	unpack ${A}
>	cd "${S}"
>}
>
>src_compile() {  
>      return
>}
>
>src_install() {
zcat "$1" | iconv -f utf8 -t koi8-r | gzip -c >"$1.new" "$1"");}'

>locale x
>for x in *; do
>       if [ -d "$x" ]; then
>            for z in $(for y in $x/*.[1-9]; do echo ${y##*.}; done  | sort | uniq); do
>                einfo "$(printf "install %-20s  /usr/share/man/ru/man$z" $x:)"
>
>                insinto /usr/share/man/ru/man$z
>                doins $x/*.$z
>            done
>        fi
>done
>
>}
>pkg_postinst() {
>
>einfo
>einfo "You need to set appropriate MANPATCH  variable to use"
>einfo "Russian manpages."
>einfo "echo "MANPATCH /usr/share/man/ru" >>  /etc/man.conf"
>einfo " if you used utf8 test your groff"
>einfo "zcat /usr/share/man/ru/man1/chmod.1.gz  |iconv -f koi8-r -t utf8 |groff -mtty-char -Tlatin1 -P-c -mandoc"
>
>}

------- Comment #4 From Jakub Moc 2005-08-04 15:16:58 0000 -------
(In reply to comment #3)
> zcat "$1" | iconv -f utf8 -t koi8-r | gzip -c >"$1.new" "$1"");}'

Huh? We want utf-8 manpages, not koi8-r or anything like that, at least with
USE="unicode" set. See the other bug. 

------- Comment #5 From SpanKY 2005-09-01 21:29:04 0000 -------
now in portage, thanks

------- Comment #6 From Pun 2008-08-04 18:04:54 0000 -------
Unfortunately the russian collection of man files has a whole zoo of different
encodings right now. For example, /usr/share/man/ru/man1/mknod.1.bz2 is still
encoded in KOI-8U, while  /usr/share/man/ru/man1/su.1.bz2 is in UTF-8 as it
should maybe it is sensible to add an extra enca pass to the ebuild at least
with the "unicode" use flag on. There are many more improperly encoded pages.

First Last Prev Next    No search results available      Search page      Enter new bug