From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- dev-java/bcel/Manifest | 3 ++ dev-java/bcel/bcel-5.2-r2.ebuild | 42 +++++++++++++++++ dev-java/bcel/bcel-5.2-r3.ebuild | 44 ++++++++++++++++++ dev-java/bcel/bcel-6.0_rc3.ebuild | 46 +++++++++++++++++++ dev-java/bcel/files/bcel-5.2-build.xml.patch | 29 ++++++++++++ .../files/findbugs-bcel-5.2_p20070531.patch.patch | 52 ++++++++++++++++++++++ dev-java/bcel/metadata.xml | 19 ++++++++ 7 files changed, 235 insertions(+) create mode 100644 dev-java/bcel/Manifest create mode 100644 dev-java/bcel/bcel-5.2-r2.ebuild create mode 100644 dev-java/bcel/bcel-5.2-r3.ebuild create mode 100644 dev-java/bcel/bcel-6.0_rc3.ebuild create mode 100644 dev-java/bcel/files/bcel-5.2-build.xml.patch create mode 100644 dev-java/bcel/files/findbugs-bcel-5.2_p20070531.patch.patch create mode 100644 dev-java/bcel/metadata.xml (limited to 'dev-java/bcel') diff --git a/dev-java/bcel/Manifest b/dev-java/bcel/Manifest new file mode 100644 index 000000000000..980e9ef3146e --- /dev/null +++ b/dev-java/bcel/Manifest @@ -0,0 +1,3 @@ +DIST BCEL_6_0_RC3.tar.gz 929878 SHA256 74a4a75cc7aea8dab4c17c6ff6c00c2c19411942974b4bd6871e6984235101a0 SHA512 05ccf95ebf6b374fb112296509b4011d741acf2315b331aa971f8c3bc6be2f73b39592721a8c769b6b9d631e78e348c124c56f567adc2338ed5508d5ec3bed77 WHIRLPOOL 6bd53b49a7b8b6cfd422b3249461c1ec685855e0e5dd33c7b3d1eac04f8d61f1cd14b357d1d560002fadec1ab21c1a2b0abaae553340e0b055c6446cc4d5a3ce +DIST bcel-5.2-src.tar.gz 261455 SHA256 68039d59a38379d7b65ea3fc72276c43ba234776460e14361af35771bcaab295 SHA512 c8c1d5250b0d8c2f194038551afbe322bd65cde2990277eb6b30e2cd8cc0af2576946afdbcd011b3804386a09fbbc2ae10fd20ae72a24232630b077e79b8847b WHIRLPOOL fae7334f7735e5f5be924bc35c434a2e6ea2ca85d1e038c7ffe6b4636ae9dd2e839c3d775cb17c054a48655c8539802d4db75fcb5e178c51eea2ad2cc9f152e1 +DIST findbugs-bcel-5.2_p20070531.patch.bz2 7190 SHA256 43d049134de3eab3914fe850f4ddd89cd304ab21d87ca2669153a24f734f7981 SHA512 84bf652cac3992fa3311af4962c0ae064c3f18dda43c91afc256592631f2597815bf07f92b3071680e3cef327b06530f689cf3320fb5ebf6342dc5eaf5d7a953 WHIRLPOOL 6d1d2b3e2d045c7368b4ef7fcd6bc13ce337e60910e24998359df5cccb489fd1077d96c7e7ac763b5041b8b38fe5d4194d1ccf1cc1f7ac68b625076e28c0abe3 diff --git a/dev-java/bcel/bcel-5.2-r2.ebuild b/dev-java/bcel/bcel-5.2-r2.ebuild new file mode 100644 index 000000000000..3277c61cf912 --- /dev/null +++ b/dev-java/bcel/bcel-5.2-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +JAVA_PKG_IUSE="doc source" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="The Byte Code Engineering Library: analyze, create, manipulate Java class files" +HOMEPAGE="http://commons.apache.org/bcel/" +SRC_URI="mirror://apache/jakarta/${PN}/source/${P}-src.tar.gz + findbugs? ( http://dev.gentoo.org/~fordfrog/distfiles/findbugs-${P}_p20070531.patch.bz2 )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="-findbugs" + +RDEPEND=">=virtual/jre-1.5" +DEPEND=">=virtual/jdk-1.5" + +ANT_OPTS="-Xmx256m" + +java_prepare() { + epatch "${FILESDIR}/${P}"-build.xml.patch + if use findbugs; then + # Remove next line if no longer needed. Removes build.xml from patch. + patch -d "${WORKDIR}" -p0 < "${FILESDIR}"/findbugs-${P}_p20070531.patch.patch || die "Failed to patch" + + EPATCH_OPTS="-p7" epatch "${WORKDIR}"/findbugs-${P}_p20070531.patch + fi +} + +src_install() { + java-pkg_newjar ./target/${P}.jar + dodoc README.txt || die + + use doc && java-pkg_dojavadoc dist/docs/api + use source && java-pkg_dosrc src/java/* +} diff --git a/dev-java/bcel/bcel-5.2-r3.ebuild b/dev-java/bcel/bcel-5.2-r3.ebuild new file mode 100644 index 000000000000..8fe233f3c176 --- /dev/null +++ b/dev-java/bcel/bcel-5.2-r3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +JAVA_PKG_IUSE="doc source" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="The Byte Code Engineering Library: analyze, create, manipulate Java class files" +HOMEPAGE="http://commons.apache.org/bcel/" +SRC_URI="mirror://apache/jakarta/${PN}/source/${P}-src.tar.gz + findbugs? ( http://dev.gentoo.org/~fordfrog/distfiles/findbugs-${P}_p20070531.patch.bz2 )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="-findbugs" + +RDEPEND=">=virtual/jre-1.6" +DEPEND=">=virtual/jdk-1.6" + +JAVA_ANT_ENCODING="ISO-8859-1" + +ANT_OPTS="-Xmx256m" + +java_prepare() { + epatch "${FILESDIR}/${P}"-build.xml.patch + if use findbugs; then + # Remove next line if no longer needed. Removes build.xml from patch. + patch -d "${WORKDIR}" -p0 < "${FILESDIR}"/findbugs-${P}_p20070531.patch.patch || die "Failed to patch" + + EPATCH_OPTS="-p7" epatch "${WORKDIR}"/findbugs-${P}_p20070531.patch + fi +} + +src_install() { + java-pkg_newjar ./target/${P}.jar + dodoc README.txt || die + + use doc && java-pkg_dojavadoc dist/docs/api + use source && java-pkg_dosrc src/java/* +} diff --git a/dev-java/bcel/bcel-6.0_rc3.ebuild b/dev-java/bcel/bcel-6.0_rc3.ebuild new file mode 100644 index 000000000000..2b8581b3b4c4 --- /dev/null +++ b/dev-java/bcel/bcel-6.0_rc3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_PV="${PV//./_}" +MY_PV="${MY_PV/rc/RC}" +MY_P="BCEL_${MY_PV}" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="The Byte Code Engineering Library: analyze, create, manipulate Java class files" +HOMEPAGE="http://commons.apache.org/bcel/" +SRC_URI="https://github.com/apache/commons-${PN}/archive/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +RDEPEND=">=virtual/jre-1.5" +DEPEND=">=virtual/jdk-1.5 + test? ( dev-java/junit:4 )" + +S="${WORKDIR}/commons-${PN}-${MY_P}/src" +JAVA_SRC_DIR="main/java" + +src_install() { + java-pkg-simple_src_install + dodoc ../{NOTICE,README,RELEASE-NOTES}.txt +} + +src_test() { + cd test/java || die + + local CP=".:${S}/${PN}.jar:$(java-pkg_getjars junit-4)" + local TESTS=$(find * -name "*TestCase.java" ! -name "Abstract*") + TESTS="${TESTS//.java}" + TESTS="${TESTS//\//.}" + + ejavac -g -cp "${CP}" -d . $(find * -name "*.java") + ejunit4 -classpath "${CP}" ${TESTS} +} diff --git a/dev-java/bcel/files/bcel-5.2-build.xml.patch b/dev-java/bcel/files/bcel-5.2-build.xml.patch new file mode 100644 index 000000000000..2f365afb6b78 --- /dev/null +++ b/dev-java/bcel/files/bcel-5.2-build.xml.patch @@ -0,0 +1,29 @@ +Remove test from jar target and set the encoding for javadocs. + +--- build.xml 2006-06-03 05:48:22.000000000 +0200 ++++ build.xml 2011-04-20 17:04:49.000000000 +0200 +@@ -56,7 +56,7 @@ + + + +- ++ + + + +@@ -100,7 +100,7 @@ + + + +- ++ + + + +@@ -121,4 +121,4 @@ + + + +- +\ No newline at end of file ++ diff --git a/dev-java/bcel/files/findbugs-bcel-5.2_p20070531.patch.patch b/dev-java/bcel/files/findbugs-bcel-5.2_p20070531.patch.patch new file mode 100644 index 000000000000..c3f21eb1c442 --- /dev/null +++ b/dev-java/bcel/files/findbugs-bcel-5.2_p20070531.patch.patch @@ -0,0 +1,52 @@ +Removes build.xml from patch + +--- findbugs-bcel-5.2_p20070531.patch 2011-04-20 17:16:53.000000000 +0200 ++++ findbugs-bcel-5.2_p20070531.patch 2011-04-20 17:17:48.000000000 +0200 +@@ -1,47 +1,3 @@ +-Index: /Users/pugh/Documents/eclipse/workspace/jakarta-bcel-5.2/build.xml +-=================================================================== +---- /Users/pugh/Documents/eclipse/workspace/jakarta-bcel-5.2/build.xml (revision 0) +-+++ /Users/pugh/Documents/eclipse/workspace/jakarta-bcel-5.2/build.xml (revision 0) +-@@ -0,0 +1,39 @@ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ + Index: /Users/pugh/Documents/eclipse/workspace/jakarta-bcel-5.2/src/java/org/apache/bcel/classfile/AbstractLocalVariableTable.java + =================================================================== + --- /Users/pugh/Documents/eclipse/workspace/jakarta-bcel-5.2/src/java/org/apache/bcel/classfile/AbstractLocalVariableTable.java (revision 0) diff --git a/dev-java/bcel/metadata.xml b/dev-java/bcel/metadata.xml new file mode 100644 index 000000000000..4fc74595c959 --- /dev/null +++ b/dev-java/bcel/metadata.xml @@ -0,0 +1,19 @@ + + + + java + + This is the main Reference implementation of the BCEL JavaClass API. + The Byte Code Engineering Library (formerly known as JavaClass) is intended + to give users a convenient possibility to analyze, create, and manipulate + (binary) Java class files (those ending with .class). Classes are represented + by objects which contain all the symbolic information of the given class: + methods, fields and byte code instructions, in particular. + + + Include performance patch for findbugs package. + + + apache/commons-bcel + + -- cgit v1.2.3-65-gdbad