Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182475 - dev-java/proguard has a dependency over sun-j2me-bin and as such can't be keyworded for bsd
Summary: dev-java/proguard has a dependency over sun-j2me-bin and as such can't be key...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-18 15:38 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2013-08-26 21:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2007-06-18 15:38:16 UTC
DEPEND=">=virtual/jdk-1.4
        dev-java/sun-j2me-bin
        dev-java/ant-core"
RDEPEND=">=virtual/jre-1.4"

src_compile() {
        eant -Dgentoo.classpath=$(java-pkg_getjars sun-j2me-bin,ant-core) proguard
}

Also, sun-j2me-bin contains Linux-only ELFs, making proguard incompatible with Gentoo/FreeBSD.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-07-12 10:06:21 UTC
Well, it's not there anymore, I suppose this is good :)
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-07-12 13:57:41 UTC
(In reply to comment #1)
> Well, it's not there anymore, I suppose this is good :)
> 

huh?

betelgeuse@pena /usr/portage/dev-java/proguard $ grep sun-j2me-bin *
proguard-3.8.ebuild:    dev-java/sun-j2me-bin
proguard-3.8.ebuild:    eant -Dgentoo.classpath=$(java-pkg_getjars sun-j2me-bin,ant-core) proguard
Comment 3 Miroslav Šulc gentoo-dev 2007-07-12 18:14:58 UTC
proguard-4.0_beta5 uses 'j2me' use flag which puts dev-java/sun-j2me-bin in deps so it is now optional instead of being mandatory, so not in a tree yet but solved
Comment 4 Alex Barker 2008-01-25 05:45:23 UTC
This is not a problem as of 4.1 as well.  Its not in the tree either.
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-01-25 07:24:20 UTC
Anyway we now have cldc-api built from source, so if it's that, it can drop sun-j2me-bin. If it's midp-api, I can add it too.
Comment 6 Alex Barker 2008-03-25 16:53:32 UTC
Ok, As of 4.1 and now 4.2 you can build without j2me.  I (think) can add a check to 4.2 to prevent building of the j2me component for bsd.  Is there a bsd compatible j2me package we can use instead?
Comment 7 Miroslav Šulc gentoo-dev 2008-10-22 00:37:16 UTC
The only class that is imported from sun-j2me-bin when building proguard-wtk.jar is com.sun.kvem.environment.Obfuscator. I could not google out any alternative implementation.
Comment 8 Ralph Sennhauser (RETIRED) gentoo-dev 2012-06-17 20:36:57 UTC
By now sun-j2me-bin is an optional dependency. Current proguard already has a ~x86-fbsd keyword.
Comment 9 Alexis Ballier gentoo-dev 2013-08-26 21:45:09 UTC
(In reply to Ralph Sennhauser from comment #8)
> By now sun-j2me-bin is an optional dependency. Current proguard already has
> a ~x86-fbsd keyword.

closing then