1 |
monsieurp 15/08/01 20:12:20 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bcel-5.2-r3.ebuild |
5 |
Log: |
6 |
EAPI 5 bump. Mend compilation errors due to wrong encoding set with JAVA_ANT_ENCODING. |
7 |
|
8 |
Signed-off-by: Patrice Clement <monsieurp@g.o> |
9 |
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 93491BB8) |
10 |
|
11 |
Revision Changes Path |
12 |
1.70 dev-java/bcel/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcel/ChangeLog?rev=1.70&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcel/ChangeLog?rev=1.70&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcel/ChangeLog?r1=1.69&r2=1.70 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/bcel/ChangeLog,v |
21 |
retrieving revision 1.69 |
22 |
retrieving revision 1.70 |
23 |
diff -u -r1.69 -r1.70 |
24 |
--- ChangeLog 11 Jul 2015 09:21:08 -0000 1.69 |
25 |
+++ ChangeLog 1 Aug 2015 20:12:19 -0000 1.70 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for dev-java/bcel |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/bcel/ChangeLog,v 1.69 2015/07/11 09:21:08 chewi Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bcel/ChangeLog,v 1.70 2015/08/01 20:12:19 monsieurp Exp $ |
31 |
+ |
32 |
+*bcel-5.2-r3 (01 Aug 2015) |
33 |
+ |
34 |
+ 01 Aug 2015; Patrice Clement <monsieurp@g.o> +bcel-5.2-r3.ebuild: |
35 |
+ EAPI 5 bump. Mend compilation errors due to wrong encoding set with |
36 |
+ JAVA_ANT_ENCODING. |
37 |
|
38 |
11 Jul 2015; James Le Cuirot <chewi@g.o> bcel-5.2-r2.ebuild, |
39 |
bcel-6.0_rc3.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-java/bcel/bcel-5.2-r3.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcel/bcel-5.2-r3.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcel/bcel-5.2-r3.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: bcel-5.2-r3.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2015 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/bcel/bcel-5.2-r3.ebuild,v 1.1 2015/08/01 20:12:19 monsieurp Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
JAVA_PKG_IUSE="doc source" |
57 |
|
58 |
inherit eutils java-pkg-2 java-ant-2 |
59 |
|
60 |
DESCRIPTION="The Byte Code Engineering Library: analyze, create, manipulate Java class files" |
61 |
HOMEPAGE="http://commons.apache.org/bcel/" |
62 |
SRC_URI="mirror://apache/jakarta/${PN}/source/${P}-src.tar.gz |
63 |
findbugs? ( http://dev.gentoo.org/~fordfrog/distfiles/findbugs-${P}_p20070531.patch.bz2 )" |
64 |
|
65 |
LICENSE="Apache-2.0" |
66 |
SLOT="0" |
67 |
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" |
68 |
IUSE="-findbugs" |
69 |
|
70 |
RDEPEND=">=virtual/jre-1.6" |
71 |
DEPEND=">=virtual/jdk-1.6" |
72 |
|
73 |
JAVA_ANT_ENCODING="ISO-8859-1" |
74 |
|
75 |
ANT_OPTS="-Xmx256m" |
76 |
|
77 |
java_prepare() { |
78 |
epatch "${FILESDIR}/${P}"-build.xml.patch |
79 |
if use findbugs; then |
80 |
# Remove next line if no longer needed. Removes build.xml from patch. |
81 |
patch -d "${WORKDIR}" -p0 < "${FILESDIR}"/findbugs-${P}_p20070531.patch.patch || die "Failed to patch" |
82 |
|
83 |
EPATCH_OPTS="-p7" epatch "${WORKDIR}"/findbugs-${P}_p20070531.patch |
84 |
fi |
85 |
} |
86 |
|
87 |
src_install() { |
88 |
java-pkg_newjar ./target/${P}.jar |
89 |
dodoc README.txt || die |
90 |
|
91 |
use doc && java-pkg_dojavadoc dist/docs/api |
92 |
use source && java-pkg_dosrc src/java/* |
93 |
} |