From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HScRD-0000Ua-9S for garchives@archives.gentoo.org; Sat, 17 Mar 2007 17:11:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l2HHB88J024427; Sat, 17 Mar 2007 17:11:08 GMT Received: from av6.karneval.cz (av7.karneval.cz [81.27.192.15]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l2HHB76f024422 for ; Sat, 17 Mar 2007 17:11:07 GMT Received: from localhost (localhost.karneval.cz [127.0.0.1]) by av6.karneval.cz (Postfix) with ESMTP id E3C2054D62B for ; Sat, 17 Mar 2007 18:11:06 +0100 (CET) X-Virus-Scanned: by karneval.cz Received: from av6.karneval.cz ([127.0.0.1]) by localhost (av6.karneval.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eMvxEDTFqbDL for ; Sat, 17 Mar 2007 18:11:03 +0100 (CET) Received: from mail.karneval.cz (mx1.karneval.cz [81.27.192.53]) by av6.karneval.cz (Postfix) with ESMTP id 2F51E54D91D for ; Sat, 17 Mar 2007 18:11:03 +0100 (CET) Received: from [192.168.13.101] (ip-89-102-210-214.karneval.cz [89.102.210.214]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.karneval.cz (Postfix) with ESMTP id 113E38ACD91 for ; Sat, 17 Mar 2007 18:11:02 +0100 (CET) Message-ID: <45FC2126.2060505@centrum.cz> Date: Sat, 17 Mar 2007 18:11:02 +0100 From: =?ISO-8859-2?Q?Honza_Mach=E1=E8ek?= User-Agent: Thunderbird 1.5.0.10 (X11/20070308) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user-cs@gentoo.org Reply-to: gentoo-user-cs@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user-cs@lists.gentoo.org Subject: [gentoo-user-cs] groff-utf8 X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/mixed; boundary="------------080800080106070806020401" X-Archives-Salt: 5468cc97-b01e-41fd-b0ea-cd3683d14ad9 X-Archives-Hash: 89e1a1d498ae278a7d188803ccd99afe This is a multi-part message in MIME format. --------------080800080106070806020401 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id l2HHB88R024427 Ahoj, lidi a spol., ned=E1vno jsem tu doporu=E8oval groff-utf8 http://www.haible.de/bruno/packages-groff-utf8.html Te=EF jsem po probl=E9mech s hardwarem p=F8einstalov=E1val syst=E9m, a tak jsem zase na= razil na obt=ED=BEe s =E8esk=FDmi manu=E1lov=FDmi str=E1nkami. To m=EC p=F8im=EC= lo napsat si na groff-utf8 ebuild -- p=F8ikl=E1d=E1m jej. Ob=E1v=E1m se, =BEe zp=F9sob, j= ak=FDm =E8m=E1r=E1 do /etc/man.conf, nen=ED nej=E8ist=B9=ED, ale nem=ECl jsem chu=BB upravovat = jin=E9 ebuildy, ba ani p=F8em=FD=B9let, jestli je vhodn=ECj=B9=EDm kandid=E1tem = na =FApravu groff nebo man. Pak jsem je=B9t=EC zjistil, =BEe n=ECkolik =E8esk=FDch manu=E1lov=FDch = str=E1nek m=E1m v UTF-8, ale v=ECt=B9inu v ISO Latin 2. Ob=E1v=E1m se, =BEe po p=E1r upgrad= ech s t=EDm zase budu m=EDt probl=E9my, ale prozat=EDm to vy=F8e=B9ilo (jeliko=BE m=E1= m v=B9echny komprimovan=E9 bzip2; n=ECkter=E9 jsou symbolick=E9 linky): > sudo find /usr/share/man/cs/ -type f -name "*.bz2" -exec bunzip2 {} \; > sudo find /usr/share/man/cs/ -type f ! -name "*.bz2" -exec enca -L czec= h -x UTF-8 {} \; > sudo recode l2..u8 /usr/share/man/cs/man3/cos.3 > sudo find /usr/share/man/cs/ -type f ! -name "*.bz2" -exec bzip2 {} \; Se str=E1nkou cos.3 si enca nev=ECd=ECla rady, tak jsem ji musel p=F8ek= =F3dovat zvl=E1=B9=BB, ale ostatn=ED snad zvl=E1dla. M=ECjte se kr=E1sn=EC. Honza Mach=E1=E8ek --------------080800080106070806020401 Content-Type: text/plain; name="groff-utf8-1.0.ebuild" Content-Disposition: inline; filename="groff-utf8-1.0.ebuild" Content-Transfer-Encoding: 7bit # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 inherit eutils DESCRIPTION="UTF-8 wrapper for groff to work with man" HOMEPAGE="http://www.haible.de/bruno/packages-groff-utf8.html" SRC_URI="http://www.haible.de/bruno/gnu/groff-utf8.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" IUSE="" DEPEND=">=sys-apps/groff-1.18.1 sys-apps/man" S=${WORKDIR}/${PN} src_unpack() { unpack ${A} cd "${S}" cp /etc/man.conf . } src_compile() { mv Makefile Makefile.orig echo 'PREFIX = /usr' > Makefile echo "CPPFLAGS = ${CPPFLAGS}" >> Makefile echo "CFLAGS = ${CFLAGS}" >> Makefile echo "LDFLAGS = ${LDFLAGS}" >> Makefile tail -n+8 Makefile.orig >> Makefile emake || die sed -e's/^\(NROFF[\t ]*\/\).*$/\1usr\/bin\/groff-utf8 -Tutf8 -c -mandoc/' \ -e's/^\(TROFF[\t ]*\/\).*$/\1usr\/bin\/groff-utf8 -Tps -mandoc/' \ -i man.conf } src_install() { make DESTDIR="${D}" install || die insinto /etc doins man.conf } --------------080800080106070806020401-- -- gentoo-user-cs@gentoo.org mailing list