summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2012-01-22 11:06:27 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2012-01-22 11:06:27 +0000
commita44b00aa43218e9df5fd631df8fb03bf81a4831b (patch)
tree3edcde275bd357630ca54da604b75f1e4f919e12 /app-i18n/prime
parentAdded LatticeMico32 (lm32) softmmu target. Added USE="nss rbd spice threads +... (diff)
downloadhistorical-a44b00aa43218e9df5fd631df8fb03bf81a4831b.tar.gz
historical-a44b00aa43218e9df5fd631df8fb03bf81a4831b.tar.bz2
historical-a44b00aa43218e9df5fd631df8fb03bf81a4831b.zip
Convert to ruby-ng. Fixed parallel make issue.
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'app-i18n/prime')
-rw-r--r--app-i18n/prime/ChangeLog10
-rw-r--r--app-i18n/prime/Manifest25
-rw-r--r--app-i18n/prime/files/prime-1.0.0.1-libdir.patch14
-rw-r--r--app-i18n/prime/files/prime-1.0.0.1-parallel.patch12
-rw-r--r--app-i18n/prime/prime-1.0.0.1-r1.ebuild52
5 files changed, 110 insertions, 3 deletions
diff --git a/app-i18n/prime/ChangeLog b/app-i18n/prime/ChangeLog
index 4f95d8ca881e..d3a8ecce46db 100644
--- a/app-i18n/prime/ChangeLog
+++ b/app-i18n/prime/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-i18n/prime
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/prime/ChangeLog,v 1.64 2010/01/23 10:18:30 matsuu Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/prime/ChangeLog,v 1.65 2012/01/22 11:06:26 matsuu Exp $
+
+*prime-1.0.0.1-r1 (22 Jan 2012)
+
+ 22 Jan 2012; MATSUU Takuto <matsuu@gentoo.org> +prime-1.0.0.1-r1.ebuild,
+ +files/prime-1.0.0.1-libdir.patch, +files/prime-1.0.0.1-parallel.patch:
+ Convert to ruby-ng. Fixed parallel make issue.
23 Jan 2010; MATSUU Takuto <matsuu@gentoo.org> prime-1.0.0.1.ebuild:
Fixed erubydoc issue, bug #299427.
diff --git a/app-i18n/prime/Manifest b/app-i18n/prime/Manifest
index 6c57041712e5..34a01d81a064 100644
--- a/app-i18n/prime/Manifest
+++ b/app-i18n/prime/Manifest
@@ -1,4 +1,27 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX prime-1.0.0.1-libdir.patch 430 RMD160 f7fefd6241f8b928ba8c2957a74832c0facab667 SHA1 ce6caf90d9f158cbf3433d071a6912741933b64f SHA256 eec73ffd498e4b8d1df014e6b39558cad12b610f3c75131e053b5e6d3ddd857c
+AUX prime-1.0.0.1-parallel.patch 535 RMD160 3c7ad01afe3d83b3c065ecd3ccedf72a0b8866cb SHA1 7afa386a532ad3471f7ba496967c9ffe0d0dccf2 SHA256 aa526f3b8ebd22bcbef4fc6a291d52f5dc8cecfc45f32e7782029c2aebb8b0ea
DIST prime-1.0.0.1.tar.gz 300251 RMD160 ce8bc8da881cfae6fe6ddaa3cab498ef874db6ce SHA1 cb634fcbc1e26903d690bd913798ce23776e6026 SHA256 3f647c98e09146e41d7c387b395788649534c8c8831c406ec3de5d1436ade4b4
+EBUILD prime-1.0.0.1-r1.ebuild 1220 RMD160 1b4b4cd7d0d514cc8339b84a36f08ef46f98d661 SHA1 6aa3d77476e94580103ef0fbc2e27954a3049995 SHA256 e5686dbacd83a03a308876f69896409530084e104165a238adf7bbe2d06cd652
EBUILD prime-1.0.0.1.ebuild 903 RMD160 c679fe5e0f7908a4f4050883f80ff4437b5725d3 SHA1 4873d062958e1aa90e4d04e7919f3725307c3b14 SHA256 0a22ba316cecb20b2af23399aefea4525874d1afbd19cf7a16886d98d032e7cf
-MISC ChangeLog 9875 RMD160 16a350af6359f0cd0268bfcbd4494b5c94bf351b SHA1 965d54c620a6191d5be4b1dd335c08de220cbf7f SHA256 7260d606175119c0c6967d8a8facb77d189e0644619a1a20b11f9169833f1d95
+MISC ChangeLog 10107 RMD160 398009fc97873192617d464a148fb7664b1effa5 SHA1 02878e356e4787c1e404311bc0d15ea17bd35505 SHA256 64d91311f9d7b66eceb32ea3bc4e05f6ca94bd050e8d2924c0562e16a369a907
MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iQIcBAEBAgAGBQJPG+24AAoJECaGw+YFKA1p5hQQAJ8XGE/ZtH93KpH2CV3t4Cjs
+TYRQqVj8AoCsfPER3Y+B5TNEYcV6h+W7T9ywoJCdYEebwBkNa+1/t6zrV7SHZ9q5
+0lkBPks829f1Ek3fQ3TvjDLohGFHQFOBVR2KaTUcK2bJNLASufHygb/HSww0xkAW
+QYJw2ixsrmUkeEim41lS5rUuL7zqEResrQDs0vbH+WaFYQEsdhsTIMSbfUeMUksS
+AZ55WPfwmrp0Gdv7AkvpmYmIQnP+7ey2XlDe/1/bN6nb3zGKFzMzKBFKrDPE7zfG
+Ul/MM+eTz3s8kcgtYJlqdZgAXB8DQtRLT5XrBjt1ltALPq+AUTvt15dsDIcayRbn
+USJaeFkaQc7YchN6wgKxoqmc8lL0e8bRFKoNxPtWuP3PIdCmP+VEJhOfWQYi+C7f
+uLOHz9xCXiAlA1NSMmLSMzXAQMa2s3FWFnILBPAw9crxv0LWF8P1zRQzSFqn5eMf
+i4IygvbNgOsff1kKKQ6m9n+VlVjTMKvu76FRDm69wiDHhJn3Q167qKD4wcsNyS+a
+CKf3VdgHRswgcw1xmPimRUm/e0gjDZiRDBe0u186Qg7Zxv9pdiMwfa/raVaGMF5a
+mmUi+OPJASAZ5Bnd811Xx9tGsdpY51aKwGnAglZtv6ORNZz5YLYFjzmt6nyqaK3y
+20N2GZTImqEUQcCOj/oS
+=Vvsm
+-----END PGP SIGNATURE-----
diff --git a/app-i18n/prime/files/prime-1.0.0.1-libdir.patch b/app-i18n/prime/files/prime-1.0.0.1-libdir.patch
new file mode 100644
index 000000000000..efa521969237
--- /dev/null
+++ b/app-i18n/prime/files/prime-1.0.0.1-libdir.patch
@@ -0,0 +1,14 @@
+--- prime-1.0.0.1.orig/src/prime.src 2005-03-07 16:51:34.000000000 +0900
++++ prime-1.0.0.1/src/prime.src 2010-05-27 18:44:37.000000000 +0900
+@@ -12,8 +12,10 @@
+ # the GNU General Public License version 2.
+ #
+
++require 'rbconfig'
++
+ PRIME_BINDIR = '%bindir%'
+-PRIME_LIBDIR = '%rubydir%'
++PRIME_LIBDIR = Config::CONFIG["sitelibdir"]
+ $LOAD_PATH.unshift(PRIME_LIBDIR) unless $LOAD_PATH.member?(PRIME_LIBDIR)
+
+ require 'getoptlong'
diff --git a/app-i18n/prime/files/prime-1.0.0.1-parallel.patch b/app-i18n/prime/files/prime-1.0.0.1-parallel.patch
new file mode 100644
index 000000000000..46d87fb94649
--- /dev/null
+++ b/app-i18n/prime/files/prime-1.0.0.1-parallel.patch
@@ -0,0 +1,12 @@
+diff -Naur prime-1.0.0.1.orig//src/Makefile.am prime-1.0.0.1//src/Makefile.am
+--- prime-1.0.0.1.orig//src/Makefile.am 2004-03-26 02:19:51.000000000 +0900
++++ prime-1.0.0.1//src/Makefile.am 2010-05-27 18:29:20.000000000 +0900
+@@ -23,7 +23,7 @@
+
+ ## FIXME: Consider other commands.
+ ## FIXME: (2004-02-05) <komatsu@taiyaki.org>
+-@PRIME_COMMAND@: $(script_sources) Makefile
++$(primelib_SCRIPTS): $(script_sources) Makefile
+ ruby -e " \
+ command_suffixes = ['', \
+ '-userdict-update', '-userdict-convert', \
diff --git a/app-i18n/prime/prime-1.0.0.1-r1.ebuild b/app-i18n/prime/prime-1.0.0.1-r1.ebuild
new file mode 100644
index 000000000000..f3fee1eecb6b
--- /dev/null
+++ b/app-i18n/prime/prime-1.0.0.1-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/prime/prime-1.0.0.1-r1.ebuild,v 1.1 2012/01/22 11:06:26 matsuu Exp $
+
+EAPI="3"
+# don't work with ruby19
+# jruby: sary-ruby issue
+# rbx: sary-ruby issue
+USE_RUBY="ruby18 ree18"
+inherit autotools eutils ruby-ng
+
+DESCRIPTION="Japanese PRedictive Input Method Editor"
+HOMEPAGE="http://taiyaki.org/prime/"
+SRC_URI="http://prime.sourceforge.jp/src/${P/_/-}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+ruby_add_rdepend ">=app-dicts/prime-dict-1.0.0
+ >=dev-libs/suikyo-2.1.0
+ dev-ruby/ruby-progressbar
+ dev-ruby/sary-ruby"
+
+S="${WORKDIR}/${P/_/-}"
+
+all_ruby_prepare() {
+ epatch \
+ "${FILESDIR}/${P}-parallel.patch" \
+ "${FILESDIR}/${P}-libdir.patch"
+ eautoreconf
+}
+
+each_ruby_configure() {
+ econf \
+ --with-prime-docdir=/usr/share/doc/${PF}/html \
+ --with-rubydir=$(ruby_rbconfig_value 'sitelibdir') || die
+}
+
+each_ruby_compile() {
+ emake || die
+}
+
+each_ruby_install() {
+ emake DESTDIR="${D}" install install-etc || die
+}
+
+all_ruby_install() {
+ dodoc AUTHORS ChangeLog NEWS README TODO || die
+ dohtml -r doc/* || die
+}