Re: java-pkg_dolauncher and emul-linux-x86-java

Petteri Räty <[email protected]> Tue, 05 May 2009 00:13:42 +0300
Newsgroups gmane.linux.gentoo.java
Message-ID <[email protected]>
Mario Fetka wrote:
> On Monday, 4. May 2009 22:15:51 Alistair Bush wrote:
>> Hi Mario
>>
>> Mario Fetka wrote:
>>> Hallo Java dev team,
>>>
>>> is there a way to specify the wanted java version with dolauncher
>> The _minimum_ java version is already specified automagically based on
>> the [R]DEPEND variables.
>>
>> Specifically the >=virtual/jre-1.* and java-virtuals/* items.
>>
> thx i alredy know this 
> but is there for ex. a way to say i want on amd64 systems the app-
> emulation/emul-linux-x86-java package as the java vm to use 
> i have some packages that provides only x86 native interface
> on x86 everything is ok but on amd64 you have a elf mismatch ...
> 
> yes at the moent i am writing some special scripts that use java-config --set-
> vm=emul-linux-x86-java
> 
> it would be greate if the java-pkg_dolauncher gets an extra parameter where i 
> can say use the emul-vm or sometihg simalar like virtual/jre32-1.*
> 
> at the momemt when you set app-emulation/emul-linux-x86-java it anly errors 
> out
> 
> !!! ERROR: Couldn't find a VM dep   
> 
> thx in av
> Mario
> 

Create a java virtual with only emul-linux-x86-java as the provider and
make the pkg creating the launcher depend on the virtual.

Regards,
Petteri
signature.asc (application/pgp-signature, 261 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkn/WokACgkQcxLzpIGCsLSKdACfUm8Cy8ASDnF98jGB8G4MH56J
E8wAnApjzzfSCtQZAZ5WAnpXuvZQ/oGM
=WsRI
-----END PGP SIGNATURE-----