From: Michael Sterrett Date: Wed, 14 Mar 2007 16:52:04 +0000 (+0000) Subject: unicode support with patch from Pedro Alvarez via bug #149169 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=45c183222e4c275c187eb307f7081f69b8b1e778;p=gentoo.git unicode support with patch from Pedro Alvarez via bug #149169 Package-Manager: portage-2.1.2.2 --- diff --git a/games-misc/fortune-mod-cs/ChangeLog b/games-misc/fortune-mod-cs/ChangeLog index 69ea909a171c..a827d16ad7f9 100644 --- a/games-misc/fortune-mod-cs/ChangeLog +++ b/games-misc/fortune-mod-cs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-misc/fortune-mod-cs -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-cs/ChangeLog,v 1.6 2006/07/19 19:44:00 flameeyes Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-cs/ChangeLog,v 1.7 2007/03/14 16:52:04 mr_bones_ Exp $ + + 14 Mar 2007; Michael Sterrett + fortune-mod-cs-1.6.9.ebuild: + unicode support with patch from Pedro Alvarez via bug #149169 19 Jul 2006; Diego Pettenò fortune-mod-cs-1.6.9.ebuild: diff --git a/games-misc/fortune-mod-cs/Manifest b/games-misc/fortune-mod-cs/Manifest index 359a5921bf85..951b15cc0752 100644 --- a/games-misc/fortune-mod-cs/Manifest +++ b/games-misc/fortune-mod-cs/Manifest @@ -1,15 +1,12 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST fortune-cs-1.6.9.tar.bz2 390766 RMD160 4867864efd50f81e506ed9ec0b14e267fa1854b6 SHA1 78a4c21c4773bda7a956f94d6a6d8d80f7aa8fcd SHA256 5a73b66071635b1213e61c18f68eeca70e16aa5c18bdcfdf33f580722e46ea7d -EBUILD fortune-mod-cs-1.6.9.ebuild 953 RMD160 78e0018496c674a9d4069da8333c60b5ee28e246 SHA1 a5822d384194a8f7725e6dbc611ef2ba2edae29d SHA256 360c90f8d79bd538d73871103a6e14414431ac0886453ade8b8d9fc540d648ad -MD5 156f1a0adef65e60f9fb702208938abc fortune-mod-cs-1.6.9.ebuild 953 -RMD160 78e0018496c674a9d4069da8333c60b5ee28e246 fortune-mod-cs-1.6.9.ebuild 953 -SHA256 360c90f8d79bd538d73871103a6e14414431ac0886453ade8b8d9fc540d648ad fortune-mod-cs-1.6.9.ebuild 953 -MISC ChangeLog 905 RMD160 aded55e04b4813282de9f7721f979bc05c9b525c SHA1 c3eb62924425ddee538c180b270f774c3e53a5d1 SHA256 7e9ef4781718f253a0bb0aa148b007dbf2d46f35a37e3b680aa9af3d56c53423 -MD5 db50cbf3a29b65c02b38dcce526d6e03 ChangeLog 905 -RMD160 aded55e04b4813282de9f7721f979bc05c9b525c ChangeLog 905 -SHA256 7e9ef4781718f253a0bb0aa148b007dbf2d46f35a37e3b680aa9af3d56c53423 ChangeLog 905 +EBUILD fortune-mod-cs-1.6.9.ebuild 1125 RMD160 646a9927c89208d55b8047ff0ec047a25ac9de5a SHA1 63ea18370c1a8960d580b0cfa5f893b5a7f5d856 SHA256 c8a9a7706718a91550de057fe201a088f89687775be1e123e4d3f4d25fd7978c +MD5 2cbd27c5b85982172c04b395cb7159b5 fortune-mod-cs-1.6.9.ebuild 1125 +RMD160 646a9927c89208d55b8047ff0ec047a25ac9de5a fortune-mod-cs-1.6.9.ebuild 1125 +SHA256 c8a9a7706718a91550de057fe201a088f89687775be1e123e4d3f4d25fd7978c fortune-mod-cs-1.6.9.ebuild 1125 +MISC ChangeLog 1056 RMD160 d1b14133f54036bf2993c00e973c35258b112554 SHA1 a4f656ab08fe15bf4343de84a4959465b506554f SHA256 ded3a27d9f30ba835e4992a0b61870f1b872a852beb38dc308a4a4d366ddcb00 +MD5 3afc91ed6b66da895cab32cc6a767e37 ChangeLog 1056 +RMD160 d1b14133f54036bf2993c00e973c35258b112554 ChangeLog 1056 +SHA256 ded3a27d9f30ba835e4992a0b61870f1b872a852beb38dc308a4a4d366ddcb00 ChangeLog 1056 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -17,10 +14,3 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata MD5 f07d935c363786a59497c0564773774e files/digest-fortune-mod-cs-1.6.9 253 RMD160 382e4d4c6170e23ca159aa6fefcfd9125892b3bc files/digest-fortune-mod-cs-1.6.9 253 SHA256 7d6e2f3e0d004a53cfc285d77aed5cac11e2175e7d8309bd483fb3448c3cbe27 files/digest-fortune-mod-cs-1.6.9 253 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.4 (GNU/Linux) - -iD8DBQFEvouGAiZjviIA2XgRAscyAKCysj+KThNuIJfp/5a/DNs3IVc3lgCfWz9U -LbiphRGLbEl2SpIqO1gkNJ0= -=GTvD ------END PGP SIGNATURE----- diff --git a/games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild b/games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild index bdc43c873a9c..f596e09d85b6 100644 --- a/games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild +++ b/games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild,v 1.7 2006/07/19 19:44:00 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild,v 1.8 2007/03/14 16:52:04 mr_bones_ Exp $ DESCRIPTION="Database of the Czech and Slovak cookies for the fortune(6) program" HOMEPAGE="http://ftp.fi.muni.cz/pub/linux/people/zdenek_pytela/" @@ -9,9 +9,11 @@ SRC_URI="http://ftp.fi.muni.cz/pub/linux/people/zdenek_pytela/${P/-mod/}.tar.bz2 LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" -IUSE="" +IUSE="unicode" RDEPEND="games-misc/fortune-mod" +DEPEND="${RDEPEND} + unicode? ( virtual/libiconv )" S=${WORKDIR}/${P/-mod/} @@ -24,6 +26,10 @@ src_unpack() { src_compile() { local f for f in [[:lower:]]* ; do + if use unicode ; then + iconv --from-code iso-8859-2 --to-code utf8 -o${f}.utf8 ${f} + mv ${f}.utf8 ${f} + fi strfile -s ${f} || die "strfile ${f} failed" done }