summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-09-16 17:10:37 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-09-16 17:10:37 +0000
commitbc430c6de462c787a7246742b82813c6705e3d71 (patch)
tree8625f82262cea6307c5649843fdf974aac8a4166 /games-misc
parentValidate .desktop entries always, every problem must be reported upstream (diff)
downloadhistorical-bc430c6de462c787a7246742b82813c6705e3d71.tar.gz
historical-bc430c6de462c787a7246742b82813c6705e3d71.tar.bz2
historical-bc430c6de462c787a7246742b82813c6705e3d71.zip
convert file to utf8 if desired (bug #322111)
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-misc')
-rw-r--r--games-misc/fortune-mod-at-linux/ChangeLog8
-rw-r--r--games-misc/fortune-mod-at-linux/Manifest4
-rw-r--r--games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild17
3 files changed, 22 insertions, 7 deletions
diff --git a/games-misc/fortune-mod-at-linux/ChangeLog b/games-misc/fortune-mod-at-linux/ChangeLog
index 03560f905f65..ec613a693f23 100644
--- a/games-misc/fortune-mod-at-linux/ChangeLog
+++ b/games-misc/fortune-mod-at-linux/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-misc/fortune-mod-at-linux
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-at-linux/ChangeLog,v 1.11 2006/07/19 19:41:24 flameeyes Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-at-linux/ChangeLog,v 1.12 2010/09/16 17:10:37 mr_bones_ Exp $
+
+ 16 Sep 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ fortune-mod-at-linux-20030120.ebuild:
+ convert file to utf8 if desired (bug #322111)
19 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
fortune-mod-at-linux-20030120.ebuild:
diff --git a/games-misc/fortune-mod-at-linux/Manifest b/games-misc/fortune-mod-at-linux/Manifest
index 09cac221b14c..17a7eb63602d 100644
--- a/games-misc/fortune-mod-at-linux/Manifest
+++ b/games-misc/fortune-mod-at-linux/Manifest
@@ -1,4 +1,4 @@
DIST fortune-mod-at.linux-20030120.tar.gz 81012 RMD160 f6883f490895b8d264966680fda437a3ba52426d SHA1 fb8007ba0765dc21a2e846090b60c4f9de47dfe6 SHA256 67d686a1f16059b709c0721304512b089efcaee1450be14ebd432c69a0651c7b
-EBUILD fortune-mod-at-linux-20030120.ebuild 695 RMD160 b9283bb5f98e2e6107cb3dc5a0ac7215ca80ce2a SHA1 e4020d390d06fa3d4cf84ebbc8bee29b4d25efe4 SHA256 64d8391d711fe9aeca84d463c56f95cbd860f1e8ccf78b8dbe2de6ab82c0bdcf
-MISC ChangeLog 1512 RMD160 283feb0238babf391b5b8549531475e83fb71729 SHA1 5819baa00a7ada86fa9fecd94414d689dacc95c1 SHA256 c56d37d08c06d39678857a39af41426bdc142009e27f59e9bc4698e7a52d50fc
+EBUILD fortune-mod-at-linux-20030120.ebuild 936 RMD160 3eb466af012adb7c1f2e3a4e63ac3cf12e7e0d6d SHA1 73d68e5c9578d88d751ab1f676d229094adcb7c1 SHA256 b9d1205834ca13d0225b779b6d05922413fb1dff3613101fa4a02ffccf012f73
+MISC ChangeLog 1656 RMD160 99d0febf9a527e31b35c958afc03b201a2236e53 SHA1 0bbd5c5a1bdc2124e48b9eb25a23b01baf7e2593 SHA256 2c83046c88f4e20a624b992d4df4aeb5a594b9508f91236fce54ac16d1d98bce
MISC metadata.xml 159 RMD160 9ce79fb2f245a86f0fd9896ef34c65b6dc2a97bf SHA1 e8d4e28f664e8bd524cb04b5077852adc2f57d90 SHA256 a222ada7640e6dfb21d27151813829e91a72a6878d809dfddaa41581455f6b69
diff --git a/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild b/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild
index ec7ce0cb36da..41a06076a3e6 100644
--- a/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild
+++ b/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild,v 1.10 2006/07/19 19:41:24 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild,v 1.11 2010/09/16 17:10:36 mr_bones_ Exp $
MY_P="fortune-mod-at.linux-${PV}"
DESCRIPTION="Quotes from at.linux"
@@ -10,12 +10,23 @@ SRC_URI="mirror://sourceforge/fortune-mod-fvl/${MY_P}.tar.gz"
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}/${MY_P}
+src_compile() {
+ # bug #322111
+ if use unicode ; then
+ iconv --from-code=ISO-8859-1 --to-code=UTF-8 at.linux > at.linux-utf8
+ mv at.linux-utf8 at.linux
+ strfile -s at.linux
+ fi
+}
+
src_install() {
insinto /usr/share/fortune
doins at.linux at.linux.dat || die