Gentoo Archives: gentoo-java

From: Jon Severinsson <jon@×××××××××××.net>
To: gentoo-java@l.g.o
Subject: [gentoo-java] java-vm-2.eclass dependancies
Date: Fri, 22 Dec 2006 15:17:37
Message-Id: 458BF6E1.5010409@severinsson.net
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Dear Gentoo/Java team
5
6 I recently noticed that sun-jdk-1.5 RDEPEND on =java-config-1.3*, which
7 I found quite odd, considering that jdk-1.5 isn't compatible with
8 java-config-1.
9
10 Digging a bit deeper I found that the problem is in java-vm-2.eclass,
11 witch doesn't consider JAVA_SUPPORTS_GENERATION_1 when it defines DEPEND
12 and RDEPEND. (It does in the rest of the eclass).
13
14 With the attached patch it does, and the end result works just fine on
15 both mixed generation systems, and generation 2 only systems, in the
16 first case with both java-config-1 and java-config-2, and the second
17 with only java-config-2.
18
19 Please consider adding it to the tree (so I don't have to do it myself
20 after every emerge --sync on my "pure" java 1.5 / generation 2 system).
21
22 Regards
23 - - Jonno
24
25 P.S. To get a pure java 1.5 / generation 2 system you'll have to get
26 creative in packages.keywords, but it is certainly possible. I'm
27 currently doing it on one system, where HD space is at a premium, and
28 two VM is overkill just to run tomcat. While java-config-1 isn't exactly
29 a space killer, it's the principle of the thing. After working hard on
30 getting rid of generation-1 I still can't get rid of this last piece.
31 -----BEGIN PGP SIGNATURE-----
32 Version: GnuPG v1.4.6 (GNU/Linux)
33 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
34
35 iD8DBQFFi/bhOOpxqcksWu4RAjfAAJ9TfPdFsp9GxfpJE3PkZ3aTsZqbpwCfSY7I
36 OB1Ht9ab3mFOMbfpzFckHMg=
37 =bp9l
38 -----END PGP SIGNATURE-----

Attachments

File name MIME type
java-vm-2.diff text/plain

Replies

Subject Author
Re: [gentoo-java] java-vm-2.eclass dependancies "Petteri Räty" <betelgeuse@g.o>