diff options
-rw-r--r-- | app-i18n/prime/ChangeLog | 8 | ||||
-rw-r--r-- | app-i18n/prime/Manifest | 3 | ||||
-rw-r--r-- | app-i18n/prime/files/digest-prime-0.7a-r1 | 1 | ||||
-rw-r--r-- | app-i18n/prime/files/prime-0.7.a.1.diff | 30 | ||||
-rw-r--r-- | app-i18n/prime/prime-0.7a-r1.ebuild | 46 |
5 files changed, 87 insertions, 1 deletions
diff --git a/app-i18n/prime/ChangeLog b/app-i18n/prime/ChangeLog index 067a00148865..87665453e08c 100644 --- a/app-i18n/prime/ChangeLog +++ b/app-i18n/prime/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-i18n/prime # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/prime/ChangeLog,v 1.18 2004/03/03 17:04:55 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/prime/ChangeLog,v 1.19 2004/03/07 18:06:52 usata Exp $ + +*prime-0.7a-r1 (08 Mar 2004) + + 08 Mar 2004; Mamoru KOMACHI <usata@gentoo.org> prime-0.7a-r1.ebuild, + files/prime-0.7.a.1.diff: + Added a fix for ruby 1.6. Extracted from prime-0.7.a.1 *prime-0.7a_p1 (03 Mar 2004) diff --git a/app-i18n/prime/Manifest b/app-i18n/prime/Manifest index 3596568720fe..703c177fb37e 100644 --- a/app-i18n/prime/Manifest +++ b/app-i18n/prime/Manifest @@ -1,8 +1,11 @@ +MD5 398e54b3bcb31065e5b6319382aba71b prime-0.7a-r1.ebuild 986 MD5 bc6827b49d2347e90acea98fa99d9b2a prime-0.6.7.ebuild 808 MD5 1e52842d293e11e2b6cf7441e30c4e2e ChangeLog 3337 MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156 MD5 afd4e5e97a1ba8dffa008038a2dee816 prime-0.7.8.ebuild 891 MD5 7c597e7edec89f796f71e425abf4f88d prime-0.7a.ebuild 907 +MD5 b4bfc6a826b0bc0a0b705884bb8f03a1 files/prime-0.7.a.1.diff 715 +MD5 d04a072ed6c087a66210e01004f8420f files/digest-prime-0.7a-r1 63 MD5 24ad0a7db98a8f2af4fa44726eed27b6 files/digest-prime-0.6.7 63 MD5 b9e6372cf81524e73808a424d8ce16fd files/digest-prime-0.7.8 63 MD5 d04a072ed6c087a66210e01004f8420f files/digest-prime-0.7a 63 diff --git a/app-i18n/prime/files/digest-prime-0.7a-r1 b/app-i18n/prime/files/digest-prime-0.7a-r1 new file mode 100644 index 000000000000..792d921f0686 --- /dev/null +++ b/app-i18n/prime/files/digest-prime-0.7a-r1 @@ -0,0 +1 @@ +MD5 5f2e3bb7f54175078696ca8575f6c784 prime-0.7.a.tar.gz 229156 diff --git a/app-i18n/prime/files/prime-0.7.a.1.diff b/app-i18n/prime/files/prime-0.7.a.1.diff new file mode 100644 index 000000000000..1482d8a1195a --- /dev/null +++ b/app-i18n/prime/files/prime-0.7.a.1.diff @@ -0,0 +1,30 @@ +diff -urN taiyaki.rb.orig taiyaki.rb +--- taiyaki.rb.org 2004-02-05 20:39:32.000000000 +0900 ++++ taiyaki.rb 2004-03-03 03:21:51.000000000 +0900 +@@ -20,6 +20,26 @@ + end + end + ++### Considering under compatibility with Ruby1.6 ++begin ++ Array.new([]) ++rescue TypeError ++ class Array ++ alias original_initialize initialize ++ ++ def initialize(value = 0) ++ if value.kind_of?(Array) then ++ original_initialize(value.length) ++ self.length.times {|i| ++ self[i] = value[i] ++ } ++ else ++ original_initialize(value) ++ end ++ end ++ end ++end ++ + def require (name, package = nil, url = nil) + package_name = + {'progressbar' => 'progressbar', diff --git a/app-i18n/prime/prime-0.7a-r1.ebuild b/app-i18n/prime/prime-0.7a-r1.ebuild new file mode 100644 index 000000000000..1ab58057d0a7 --- /dev/null +++ b/app-i18n/prime/prime-0.7a-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/prime/prime-0.7a-r1.ebuild,v 1.1 2004/03/07 18:06:52 usata Exp $ + +inherit ruby + +IUSE="emacs" + +MY_P="${P/_pre*/-ss1}" +MY_P="${P/_rc/-rc}" +MY_P="${P/a/.a}" + +DESCRIPTION="PRIME -- Japanese PRedictive Input Method Editor" +HOMEPAGE="http://taiyaki.org/prime/" +SRC_URI="http://prime.sourceforge.jp/src/${MY_P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc" +SLOT="0" + +S="${WORKDIR}/${MY_P}" + +DEPEND="dev-lang/ruby + app-dicts/prime-dict + >=dev-ruby/sary-ruby-0.5_pre20030507-r1 + >=dev-libs/suikyo-1.3.0 + dev-ruby/ruby-progressbar" +PDEPEND="emacs? ( app-emacs/prime-el )" + +EXTRA_ECONF="--with-prime-docdir=/usr/share/doc/${PF}/html + --with-rubydir=/usr/lib/ruby/site_ruby" + +src_unpack() { + unpack ${A} + cd ${S}/lib + epatch ${FILESDIR}/${MY_P}.1.diff +} + +src_install() { + + einstall || die + make DESTDIR=${D} install-etc || die + + erubydoc + +} |