summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Noël Rivasseau <elvanor@gentoo.org>2008-01-16 12:50:54 +0000
committerJean-Noël Rivasseau <elvanor@gentoo.org>2008-01-16 12:50:54 +0000
commitdafed5bac5e3506d41feaeac6b3430a1801617c8 (patch)
treea25c2a6ecc9eb52c9d0533dabb6d145cb8ed46e8 /dev-java/lucene
parentalpha/ia64/sparc stable wrt #204189 (diff)
downloadhistorical-dafed5bac5e3506d41feaeac6b3430a1801617c8.tar.gz
historical-dafed5bac5e3506d41feaeac6b3430a1801617c8.tar.bz2
historical-dafed5bac5e3506d41feaeac6b3430a1801617c8.zip
Added Lucene 1.9.1, needed for Eclipse-3.3.
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'dev-java/lucene')
-rw-r--r--dev-java/lucene/ChangeLog12
-rw-r--r--dev-java/lucene/Manifest34
-rw-r--r--dev-java/lucene/files/digest-lucene-1.9.13
-rw-r--r--dev-java/lucene/files/disable-contrib.patch45
-rw-r--r--dev-java/lucene/files/lucene-manifest10
-rw-r--r--dev-java/lucene/lucene-1.9.1.ebuild53
6 files changed, 141 insertions, 16 deletions
diff --git a/dev-java/lucene/ChangeLog b/dev-java/lucene/ChangeLog
index 969678244bdb..2aa5ecf48ebd 100644
--- a/dev-java/lucene/ChangeLog
+++ b/dev-java/lucene/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-java/lucene
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.38 2007/08/29 13:55:44 betelgeuse Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.39 2008/01/16 12:50:53 elvanor Exp $
+
+*lucene-1.9.1 (16 Jan 2008)
+
+ 16 Jan 2008; Jean-Noël Rivasseau <elvanor@gentoo.org>
+ +files/disable-contrib.patch, +files/lucene-manifest,
+ +lucene-1.9.1.ebuild:
+ Added 1.9.1 version, necessary for Eclipse. Initial ebuild written by
+ Serkan, clean up by myself (mostly to make tests run).
29 Aug 2007; Petteri Räty <betelgeuse@gentoo.org>
-lucene-1.4.3-r2.ebuild:
diff --git a/dev-java/lucene/Manifest b/dev-java/lucene/Manifest
index 430265c650c9..399c49f6bd5b 100644
--- a/dev-java/lucene/Manifest
+++ b/dev-java/lucene/Manifest
@@ -1,20 +1,30 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX disable-contrib.patch 2457 RMD160 a84c94094fab55c8b3fbf7c66f81518a2b9c0a37 SHA1 259d8abacdd8f1c2de2fb438e8ad5d38443169da SHA256 ddaa9d857e09ec02f64acdfb94c2eeff2b9ce061833b13822d2ecfac3bd8290f
+MD5 27c7dee300ea0c02a59467a8b8ed4c17 files/disable-contrib.patch 2457
+RMD160 a84c94094fab55c8b3fbf7c66f81518a2b9c0a37 files/disable-contrib.patch 2457
+SHA256 ddaa9d857e09ec02f64acdfb94c2eeff2b9ce061833b13822d2ecfac3bd8290f files/disable-contrib.patch 2457
+AUX lucene-manifest 505 RMD160 82ee9900dee2f4ccee3d8b7b19b94c613326e473 SHA1 3cfc8148961f45eaa194e97948bd9c726c946247 SHA256 47d26e144e15ac7d675547630f8d4d4399244eaaf1fb84429a7f82e806463218
+MD5 c518a8dae03a4dadeed3d6ba397ecd71 files/lucene-manifest 505
+RMD160 82ee9900dee2f4ccee3d8b7b19b94c613326e473 files/lucene-manifest 505
+SHA256 47d26e144e15ac7d675547630f8d4d4399244eaaf1fb84429a7f82e806463218 files/lucene-manifest 505
DIST lucene-1.4.3-src.tar.gz 768320 RMD160 e865c15885722e87c437d36e60fabd333976fb14 SHA1 7a7b62aa57ca4bae3a83c37aeb494592a677ef01 SHA256 62051daecebbae50c4e9d1c4d840f32fc58d85b0a5b370095c98e346c9ba1049
+DIST lucene-1.9.1-src.tar.gz 6135056 RMD160 35a65b9337adad253e740821a3bfe09126a2a711 SHA1 b3066cdf62022a25611d0c08b22f9d5d4856aea2 SHA256 a06bd64ce779f3d4e4b539c280f6a882efb2fd8cba4ebbed02a2b6f92658524f
DIST lucene-2.1.0-src.tar.gz 8154476 RMD160 c9c82dd8a6408a5b5526efa31d7d5045afe687a3 SHA1 7ac1dfc586f8c1397090d0893050b761dcdfd07e SHA256 b18c6bff8d74ddd6baabf9288aec45c34e90d74f6688657a4af2cbd0847e6ad9
EBUILD lucene-1.4.3-r3.ebuild 1165 RMD160 b72ec20a37eb2e78bfc43022a7b8220aff47fb05 SHA1 21a726fbcdfaa6f843d0d6b46bb45e9282a11bda SHA256 256ba48d2dae8f22966b0321d3cabb837b2d006c086931b9ec7f0593e64fba3b
MD5 da35c3b5ad084041c583f2a848720310 lucene-1.4.3-r3.ebuild 1165
RMD160 b72ec20a37eb2e78bfc43022a7b8220aff47fb05 lucene-1.4.3-r3.ebuild 1165
SHA256 256ba48d2dae8f22966b0321d3cabb837b2d006c086931b9ec7f0593e64fba3b lucene-1.4.3-r3.ebuild 1165
+EBUILD lucene-1.9.1.ebuild 1461 RMD160 20a2a9b6953a53d9e75cd323e558079c56478fea SHA1 485c03b12979e07b8c5db97218e8fe969b5edf44 SHA256 ab8e2a016813f35eb3501ce8875326308850fe4711c1b710c7cf27bf53e10d6e
+MD5 6e8e3ffeaae77a1de02b9ad4c014c115 lucene-1.9.1.ebuild 1461
+RMD160 20a2a9b6953a53d9e75cd323e558079c56478fea lucene-1.9.1.ebuild 1461
+SHA256 ab8e2a016813f35eb3501ce8875326308850fe4711c1b710c7cf27bf53e10d6e lucene-1.9.1.ebuild 1461
EBUILD lucene-2.1.0.ebuild 1646 RMD160 641736766034d0382d8d83705eccffad6ea83fbf SHA1 b6157ac4f369ac656dc88cce415f20650e785c8d SHA256 c06de86e4e549ac519364d948f9c4f612cb0bf14d926657f2de3ac4bd6319d60
MD5 cd3c7adf75f76c573015ab3563e891a6 lucene-2.1.0.ebuild 1646
RMD160 641736766034d0382d8d83705eccffad6ea83fbf lucene-2.1.0.ebuild 1646
SHA256 c06de86e4e549ac519364d948f9c4f612cb0bf14d926657f2de3ac4bd6319d60 lucene-2.1.0.ebuild 1646
-MISC ChangeLog 4991 RMD160 5fb6a8f329263feeb9c8d9bc72406b837bf5d5ff SHA1 4c4e44c06f6a0289a71f524ca0da75fe3ce856aa SHA256 abfe27f7e4028d05720262fb3e103cfe3e63809c5587dcab64f3192e1ebcd571
-MD5 d694d9e488d9788db8dda76b7e555c96 ChangeLog 4991
-RMD160 5fb6a8f329263feeb9c8d9bc72406b837bf5d5ff ChangeLog 4991
-SHA256 abfe27f7e4028d05720262fb3e103cfe3e63809c5587dcab64f3192e1ebcd571 ChangeLog 4991
+MISC ChangeLog 5284 RMD160 6ba7caa8264185ca310796235625ed28e0d255c3 SHA1 bbceb452ac1ddc962bd3e85340882738004b5bf3 SHA256 8227a20190830f296ff3e913dc767522062d874bfb9f70ccddfd4eb9d5cd3196
+MD5 50f2aad1ff3bdac440ec01bc92cc5dc5 ChangeLog 5284
+RMD160 6ba7caa8264185ca310796235625ed28e0d255c3 ChangeLog 5284
+SHA256 8227a20190830f296ff3e913dc767522062d874bfb9f70ccddfd4eb9d5cd3196 ChangeLog 5284
MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
@@ -22,13 +32,9 @@ SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata
MD5 da735d3f5336c345c46257a9186fd020 files/digest-lucene-1.4.3-r3 250
RMD160 6d86a59a67c2db8125199e3ea6a5a79f39072540 files/digest-lucene-1.4.3-r3 250
SHA256 2a543b1c331e9d4b66fb868741b4cffe832758e0137bbca6540adfb8cc7cefc2 files/digest-lucene-1.4.3-r3 250
+MD5 ade336f5cfbaea3dd1a9637140def856 files/digest-lucene-1.9.1 253
+RMD160 bf6ac491f656c4ba54fd7ab84cb9b64783bd5dc6 files/digest-lucene-1.9.1 253
+SHA256 5ce715a53a77f452ad8a57f2c4ab7461fc47d8774b14df8dd5e32cd5eb0e5c97 files/digest-lucene-1.9.1 253
MD5 320640eb2e83d66177037b01aec1b692 files/digest-lucene-2.1.0 253
RMD160 96497605a5550c44c28035236094423e74081833 files/digest-lucene-2.1.0 253
SHA256 f60385c20995239dc80f69f558c0781178813140c71a5549e7b7b112966b6bce files/digest-lucene-2.1.0 253
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.4 (GNU/Linux)
-
-iD8DBQFG1XrkcxLzpIGCsLQRAv6/AJ9HuzmY1L1JRBK5AP7ILr7rVIR4PACcDZ97
-KtzshQ3kY3u8kD/PbOH2zmE=
-=gfCw
------END PGP SIGNATURE-----
diff --git a/dev-java/lucene/files/digest-lucene-1.9.1 b/dev-java/lucene/files/digest-lucene-1.9.1
new file mode 100644
index 000000000000..617416900233
--- /dev/null
+++ b/dev-java/lucene/files/digest-lucene-1.9.1
@@ -0,0 +1,3 @@
+MD5 0cea69522b45674493e7ffd40a913cf4 lucene-1.9.1-src.tar.gz 6135056
+RMD160 35a65b9337adad253e740821a3bfe09126a2a711 lucene-1.9.1-src.tar.gz 6135056
+SHA256 a06bd64ce779f3d4e4b539c280f6a882efb2fd8cba4ebbed02a2b6f92658524f lucene-1.9.1-src.tar.gz 6135056
diff --git a/dev-java/lucene/files/disable-contrib.patch b/dev-java/lucene/files/disable-contrib.patch
new file mode 100644
index 000000000000..550564fb40aa
--- /dev/null
+++ b/dev-java/lucene/files/disable-contrib.patch
@@ -0,0 +1,45 @@
+diff -u -r lucene-1.9.1-orig/build.xml lucene-1.9.1/build.xml
+--- lucene-1.9.1-orig/build.xml 2006-02-27 21:12:42.000000000 +0100
++++ lucene-1.9.1/build.xml 2008-01-16 13:28:50.000000000 +0100
+@@ -368,41 +368,10 @@
+ <packageset dir="src/java"/>
+
+ <packageset dir="src/demo"/>
+-
+- <packageset dir="contrib/analyzers/src/java"/>
+- <packageset dir="contrib/ant/src/java"/>
+- <packageset dir="contrib/highlighter/src/java"/>
+- <packageset dir="contrib/lucli/src/java"/>
+- <packageset dir="contrib/memory/src/java"/>
+- <packageset dir="contrib/miscellaneous/src/java"/>
+- <packageset dir="contrib/similarity/src/java"/>
+- <packageset dir="contrib/regex/src/java"/>
+- <packageset dir="contrib/snowball/src/java"/>
+- <packageset dir="contrib/spellchecker/src/java"/>
+- <packageset dir="contrib/surround/src/java"/>
+- <packageset dir="contrib/swing/src/java"/>
+- <packageset dir="contrib/wordnet/src/java"/>
+
+ <group title="Core" packages="org.apache.*:org.apache.lucene.analysis:org.apache.lucene.analysis.standard*"/>
+
+ <group title="Demo" packages="org.apache.lucene.demo*"/>
+-
+- <group title="contrib: Analysis" packages="org.apache.lucene.analysis.*"/>
+- <group title="contrib: Ant" packages="org.apache.lucene.ant*"/>
+-
+- <group title="contrib: Highlighter" packages="org.apache.lucene.search.highlight*"/>
+- <group title="contrib: Lucli" packages="lucli*"/>
+- <group title="contrib: Memory" packages="org.apache.lucene.index.memory*"/>
+- <group title="contrib: Miscellaneous " packages="org.apache.lucene.misc*:org.apache.lucene.queryParser.analyzing*:org.apache.lucene.queryParser.precedence*"/>
+- <group title="contrib: MoreLikeThis" packages="org.apache.lucene.search.similar*"/>
+- <group title="contrib: RegEx" packages="org.apache.lucene.search.regex*:org.apache.regexp*"/>
+- <group title="contrib: Snowball" packages="org.apache.lucene.analysis.snowball*:net.sf.snowball*"/>
+- <group title="contrib: SpellChecker" packages="org.apache.lucene.search.spell*"/>
+- <group title="contrib: Surround Parser" packages="org.apache.lucene.queryParser.surround*"/>
+- <group title="contrib: Swing" packages="org.apache.lucene.swing*"/>
+- <group title="contrib: WordNet" packages="org.apache.lucene.wordnet*"/>
+-
+-
+ </javadoc>
+ </sequential>
+ </macrodef>
diff --git a/dev-java/lucene/files/lucene-manifest b/dev-java/lucene/files/lucene-manifest
new file mode 100644
index 000000000000..3a742df6b264
--- /dev/null
+++ b/dev-java/lucene/files/lucene-manifest
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-Vendor: %vendorName
+Bundle-Localization: plugin
+Export-Package: org.apache.lucene,org.apache.lucene.analysis,org.apache.lucene.analysis.de,org.apache.lucene.analysis.standard,
+ org.apache.lucene.document,org.apache.lucene.index,org.apache.lucene.queryParser, org.apache.lucene.search,org.apache.lucene.search.spans,
+ org.apache.lucene.store,org.apache.lucene.util
+Bundle-SymbolicName: org.apache.lucene
+Bundle-Version: 2.2.0
diff --git a/dev-java/lucene/lucene-1.9.1.ebuild b/dev-java/lucene/lucene-1.9.1.ebuild
new file mode 100644
index 000000000000..d65b9d0fc6e4
--- /dev/null
+++ b/dev-java/lucene/lucene-1.9.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-1.9.1.ebuild,v 1.1 2008/01/16 12:50:53 elvanor Exp $
+
+# This ebuild only builds the core of Lucene
+# It does not build any optional component (contributions)
+
+JAVA_PKG_IUSE="test source doc"
+
+inherit java-pkg-2 java-ant-2 java-osgi
+
+DESCRIPTION="High-performance, full-featured text search engine written entirely in Java"
+HOMEPAGE="http://jakarta.apache.org/lucene"
+SRC_URI="mirror://apache/lucene/java/archive/${P}-src.tar.gz"
+LICENSE="Apache-1.1"
+SLOT="1.9"
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.4
+ test? ( dev-java/junit dev-java/ant-junit )"
+
+RDEPEND=">=virtual/jre-1.4"
+
+src_unpack() {
+ unpack "${A}"
+ cd "${S}"
+ rm -rf contrib # we remove entirely the contrib directory
+ epatch "${FILESDIR}/disable-contrib.patch"
+
+ if use test; then
+ mkdir lib
+ java-ant_rewrite-classpath "common-build.xml"
+ fi
+}
+
+src_compile() {
+ eant jar-core $(use_doc javadocs)
+}
+
+src_test() {
+ ANT_TASKS="ant-junit" eant test -Dgentoo.classpath="$(java-pkg_getjars --build-only junit)"
+}
+
+src_install() {
+ dodoc CHANGES.txt README.txt
+ # WTF is with the jar version below
+ java-osgi_newjar-fromfile "build/lucene-core-1.9.2-dev.jar" \
+ "${FILESDIR}/lucene-manifest" "Apache Lucene"
+
+ use doc && java-pkg_dojavadoc build/docs/api
+ use source && java-pkg_dosrc src/java/org
+}