summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-04-06 15:57:05 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-04-06 15:57:05 +0000
commitf3b29521c200d709cbbc6071bcf44e7305f9e242 (patch)
tree6d1318531f449528439b953961960cc121bc5c04 /dev-java/commons-attributes
parentMaintainer retired. (diff)
downloadhistorical-f3b29521c200d709cbbc6071bcf44e7305f9e242.tar.gz
historical-f3b29521c200d709cbbc6071bcf44e7305f9e242.tar.bz2
historical-f3b29521c200d709cbbc6071bcf44e7305f9e242.zip
Manually add antttasks.properties to the compiler jar. Reported in bug #216261.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-java/commons-attributes')
-rw-r--r--dev-java/commons-attributes/ChangeLog9
-rw-r--r--dev-java/commons-attributes/Manifest11
-rw-r--r--dev-java/commons-attributes/commons-attributes-2.2-r1.ebuild49
-rw-r--r--dev-java/commons-attributes/files/anttasks.properties18
-rw-r--r--dev-java/commons-attributes/files/commons-attributes-2.1-gentoo.patch32
5 files changed, 62 insertions, 57 deletions
diff --git a/dev-java/commons-attributes/ChangeLog b/dev-java/commons-attributes/ChangeLog
index 41922b1de28b..e4aef7967a7c 100644
--- a/dev-java/commons-attributes/ChangeLog
+++ b/dev-java/commons-attributes/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/commons-attributes
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-attributes/ChangeLog,v 1.10 2008/04/05 00:37:20 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-attributes/ChangeLog,v 1.11 2008/04/06 15:57:05 betelgeuse Exp $
+
+*commons-attributes-2.2-r1 (06 Apr 2008)
+
+ 06 Apr 2008; Petteri Räty <betelgeuse@gentoo.org>
+ -files/commons-attributes-2.1-gentoo.patch, -files/anttasks.properties,
+ +commons-attributes-2.2-r1.ebuild:
+ Manually add antttasks.properties to the compiler jar. Reported in bug #216261.
05 Apr 2008; Petteri Räty <betelgeuse@gentoo.org>
commons-attributes-2.2.ebuild:
diff --git a/dev-java/commons-attributes/Manifest b/dev-java/commons-attributes/Manifest
index 17bc1b213ca2..d1c94f53856d 100644
--- a/dev-java/commons-attributes/Manifest
+++ b/dev-java/commons-attributes/Manifest
@@ -1,16 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX anttasks.properties 856 RMD160 21ff6246420b085e8c14742376a589b687f8ef86 SHA1 a8281f67ede0c10c491a6618769e6ea4d3bc0e81 SHA256 fa3969e5e8978d79a1279abbce5f54e2f31554927bf858b7e40d7f69156f5c4f
-AUX commons-attributes-2.1-gentoo.patch 1651 RMD160 97d7a5d901fb570771b4c67b4aff4741c1eb1c0f SHA1 c7cdeeb3803731e64881cb639f911cbcc190cc88 SHA256 9d1123d0ef3e215b75b55a14f6782421cd1e30c5087e8d491be4feba3e27984f
DIST commons-attributes-2.2-src.tar.gz 98307 RMD160 31a0ec5463dff5c097c0cbbaf07ea4dbc998abc6 SHA1 a80f415d720d70744832073bbf44f7e85f33ae0b SHA256 f24acddd1b82db16052672c255bd57add05107bbb1220264aec6ba10091e7713
+EBUILD commons-attributes-2.2-r1.ebuild 1402 RMD160 eb84ff3cc0f1b493b23425edb0ea3a0995ca33a1 SHA1 de6057dda71cf9c47a0afb81f4c54e5be660ff07 SHA256 d330cecdad3bf9fc683b2b92e9c2664c0dea98abb246ac853fe1447a4933f28d
EBUILD commons-attributes-2.2.ebuild 1282 RMD160 75384912b205f87eff0894ead56817bfdefca914 SHA1 c46dc8cd7352dd044ca7be227b58a83c9ab804db SHA256 39986378aded21f1ef656461a09dd2da1ec6c15bbd8eb8f1dbc5d86e2daed0bd
-MISC ChangeLog 1814 RMD160 7a2f261cf601d00108c33c7618eef619369b97f0 SHA1 5bef5440e87cffa676641a38034d91096519b131 SHA256 824917d662cdad1b833c4d72817b54de551d880a5b8ce3b7f8ba758b1add9331
+MISC ChangeLog 2103 RMD160 01ab519b41137bfb01a3b5236060ec43bb1f7dbb SHA1 06e9f75d1036e0f1f4de114b8041c26123341ec0 SHA256 503fb78e71f0c7d03e056fef86b4dea29c5d26efbd10ddb0ce6ee692fd946fb7
MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFH9snBcxLzpIGCsLQRAqyQAJ9Bhfp38Lubut4dJw0ljdpxa4RJmwCfaUjt
-VaT/sX8bQMFQcp53sA+hwx8=
-=fI+X
+iD8DBQFH+PLVcxLzpIGCsLQRAp6QAKCJE3fbExsJIjYmsOq52cp8E6N3YgCcDt+z
+QltI4lmy1WodcCrAgbuWl94=
+=yqtD
-----END PGP SIGNATURE-----
diff --git a/dev-java/commons-attributes/commons-attributes-2.2-r1.ebuild b/dev-java/commons-attributes/commons-attributes-2.2-r1.ebuild
new file mode 100644
index 000000000000..4456b5281c8e
--- /dev/null
+++ b/dev-java/commons-attributes/commons-attributes-2.2-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-attributes/commons-attributes-2.2-r1.ebuild,v 1.1 2008/04/06 15:57:05 betelgeuse Exp $
+
+EAPI=1
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Commons Attributes enables Java programmers to use C#/.Net-style attributes in their code."
+HOMEPAGE="http://commons.apache.org/attributes/"
+SRC_URI="mirror://apache/commons/attributes/source/${P}-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEP="dev-java/xjavadoc
+ dev-java/gjdoc
+ dev-java/ant-core
+ dev-java/qdox:1.6"
+DEPEND=">=virtual/jdk-1.4
+ ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="ant-core,gjdoc,qdox-1.6"
+
+src_compile() {
+ java-pkg-2_src_compile
+ # the generated build.xml is faulty
+ jar uf target/${PN}-compiler-${PV}.jar -C compiler/src/java \
+ org/apache/commons/attributes/anttasks.properties || die
+}
+
+src_install() {
+ java-pkg_newjar target/${PN}-api-${PV}.jar ${PN}-api.jar
+ java-pkg_newjar target/${PN}-compiler-${PV}.jar ${PN}-compiler.jar
+
+ java-pkg_register-ant-task
+
+ dodoc NOTICE.txt || die
+ dohtml README.html || die
+
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc api/src/java/org compiler/src/java/org
+}
diff --git a/dev-java/commons-attributes/files/anttasks.properties b/dev-java/commons-attributes/files/anttasks.properties
deleted file mode 100644
index 271c87b9240d..000000000000
--- a/dev-java/commons-attributes/files/anttasks.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Copyright 2003-2004 The Apache Software Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-attribute-compiler=org.apache.commons.attributes.compiler.AttributeCompiler
-attribute-indexer=org.apache.commons.attributes.compiler.AttributeIndexer
-attribute-validator=org.apache.commons.attributes.validation.AttributeValidatorTask \ No newline at end of file
diff --git a/dev-java/commons-attributes/files/commons-attributes-2.1-gentoo.patch b/dev-java/commons-attributes/files/commons-attributes-2.1-gentoo.patch
deleted file mode 100644
index b4de400cb3a1..000000000000
--- a/dev-java/commons-attributes/files/commons-attributes-2.1-gentoo.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Only in commons-attributes-patched/: .build.xml.swo
-Only in commons-attributes-patched/: .build.xml.swp
-diff -ru commons-attributes/build.xml commons-attributes-patched/build.xml
---- commons-attributes/build.xml 2004-08-01 16:18:27.000000000 -0400
-+++ commons-attributes-patched/build.xml 2005-06-24 21:31:02.000000000 -0400
-@@ -86,6 +86,9 @@
- <include name="**/*.xservice">
- </include>
- </fileset>
-+ <fileset dir="compiler/src/java">
-+ <include name="org/apache/commons/attributes/anttasks.properties"/>
-+ </fileset>
- </copy>
- <copy todir="${classesdir}">
- <fileset dir="." includes="LICENSE.txt,NOTICE.txt"/>
-@@ -100,7 +103,7 @@
- <target name="jar" description="o Create the jar" depends="compile">
- <jar jarfile="target/${final.name.api}.jar" includes="org/apache/commons/attributes/*,LICENSE.txt,NOTICE.txt" basedir="${classesdir}">
- </jar>
-- <jar jarfile="target/${final.name.compiler}.jar" excludes="org/apache/commons/attributes/*" includes="**/*" basedir="${classesdir}">
-+ <jar jarfile="target/${final.name.compiler}.jar" excludes="org/apache/commons/attributes/*.class" includes="**/*,org/apache/commons/attributes/anttasks.properties" basedir="${classesdir}">
- </jar>
- </target>
- <target name="clean" description="o Clean up the generated directories">
-@@ -162,4 +167,4 @@
- <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
- </unjar>
- </target>
--</project>
-\ No newline at end of file
-+</project>
-Only in commons-attributes-patched/: target