monsieurp    15/08/01 20:12:20

  Modified:             ChangeLog
  Added:                bcel-5.2-r3.ebuild
  Log:
  EAPI 5 bump. Mend compilation errors due to wrong encoding set with 
JAVA_ANT_ENCODING.
  
  Signed-off-by: Patrice Clement <monsie...@gentoo.org>
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
93491BB8)

Revision  Changes    Path
1.70                 dev-java/bcel/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcel/ChangeLog?rev=1.70&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcel/ChangeLog?rev=1.70&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcel/ChangeLog?r1=1.69&r2=1.70

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/bcel/ChangeLog,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- ChangeLog   11 Jul 2015 09:21:08 -0000      1.69
+++ ChangeLog   1 Aug 2015 20:12:19 -0000       1.70
@@ -1,6 +1,12 @@
 # ChangeLog for dev-java/bcel
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/bcel/ChangeLog,v 1.69 2015/07/11 
09:21:08 chewi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bcel/ChangeLog,v 1.70 2015/08/01 
20:12:19 monsieurp Exp $
+
+*bcel-5.2-r3 (01 Aug 2015)
+
+  01 Aug 2015; Patrice Clement <monsie...@gentoo.org> +bcel-5.2-r3.ebuild:
+  EAPI 5 bump. Mend compilation errors due to wrong encoding set with
+  JAVA_ANT_ENCODING.
 
   11 Jul 2015; James Le Cuirot <ch...@gentoo.org> bcel-5.2-r2.ebuild,
   bcel-6.0_rc3.ebuild:



1.1                  dev-java/bcel/bcel-5.2-r3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcel/bcel-5.2-r3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcel/bcel-5.2-r3.ebuild?rev=1.1&content-type=text/plain

Index: bcel-5.2-r3.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/bcel/bcel-5.2-r3.ebuild,v 1.1 
2015/08/01 20:12:19 monsieurp Exp $

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/*
}




Reply via email to