chewi       15/03/15 21:07:16

  Modified:             ChangeLog
  Added:                eclipse-ecj-4.4.2.ebuild
  Log:
  Version bump plus some clean up. Fixes issue introduced in last
  version where two identical jars were installed. GNU findutils is now
  always present in @system.
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
9C6D7DE4)

Revision  Changes    Path
1.99                 dev-java/eclipse-ecj/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/ChangeLog,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- ChangeLog   10 Feb 2015 12:04:59 -0000      1.98
+++ ChangeLog   15 Mar 2015 21:07:16 -0000      1.99
@@ -1,6 +1,13 @@
 # ChangeLog for dev-java/eclipse-ecj
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/ChangeLog,v 1.98 
2015/02/10 12:04:59 fordfrog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/ChangeLog,v 1.99 
2015/03/15 21:07:16 chewi Exp $
+
+*eclipse-ecj-4.4.2 (15 Mar 2015)
+
+  15 Mar 2015; James Le Cuirot <[email protected]> +eclipse-ecj-4.4.2.ebuild:
+  Version bump plus some clean up. Fixes issue introduced in last version where
+  two identical jars were installed. GNU findutils is now always present in
+  @system.
 
   10 Feb 2015; Miroslav Ć ulc <[email protected]> eclipse-ecj-3.7.1.ebuild,
   eclipse-ecj-3.7.2-r1.ebuild:



1.1                  dev-java/eclipse-ecj/eclipse-ecj-4.4.2.ebuild

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

Index: eclipse-ecj-4.4.2.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/eclipse-ecj-4.4.2.ebuild,v 1.1 
2015/03/15 21:07:16 chewi Exp $

EAPI=5

JAVA_PKG_IUSE="doc source"

inherit java-pkg-2 java-pkg-simple

MY_PN="ecj"
DMF="R-${PV}-201502041700"

DESCRIPTION="Eclipse Compiler for Java"
HOMEPAGE="http://www.eclipse.org/";
SRC_URI="http://download.eclipse.org/eclipse/downloads/drops4/${DMF}/${MY_PN}src-${PV}.jar";

LICENSE="EPL-1.0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux 
~x86-linux ~x86-solaris"
SLOT="4.4"
IUSE="+ant"

COMMON_DEP="
        || ( app-admin/eselect-java app-admin/eselect-ecj )"
RDEPEND="${COMMON_DEP}
        >=virtual/jre-1.6"
DEPEND="${COMMON_DEP}
        >=virtual/jdk-1.6
        app-arch/unzip"
PDEPEND="
        ant? ( ~dev-java/ant-eclipse-ecj-${PV} )"

java_prepare() {
        # These have their own package.
        rm org/eclipse/jdt/core/JDTCompilerAdapter.java || die
        rm -r org/eclipse/jdt/internal/antadapter || die

        rm build.xml || die
}

src_compile() {
        java-pkg-simple_src_compile
        find org META-INF -type f ! -name "*.java" | xargs jar uvf "${PN}.jar" 
|| die "jar update failed"
}

src_install() {
        java-pkg-simple_src_install
        dosym "${PN}.jar" "/usr/share/${PN}-${SLOT}/lib/${MY_PN}.jar"

        java-pkg_dolauncher ${MY_PN}-${SLOT} --main \
                org.eclipse.jdt.internal.compiler.batch.Main
}

pkg_postinst() {
        einfo "To select between slots of ECJ..."
        einfo " # eselect ecj"

        eselect ecj update ecj-${SLOT}
}

pkg_postrm() {
        eselect ecj update
}




Reply via email to