From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Gxm9Q-0001Mo-SD for garchives@archives.gentoo.org; Fri, 22 Dec 2006 15:17:37 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kBMFGpcm017589; Fri, 22 Dec 2006 15:16:51 GMT Received: from mxfep04.bredband.com (mxfep04.bredband.com [195.54.107.79]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kBMFGog5007721 for ; Fri, 22 Dec 2006 15:16:50 GMT Received: from ironport2.bredband.com ([195.54.107.84] [195.54.107.84]) by mxfep04.bredband.com with ESMTP id <20061222151650.BGUM10269.mxfep04.bredband.com@ironport2.bredband.com> for ; Fri, 22 Dec 2006 16:16:50 +0100 Received: from c-d20d70d5.028-32-6c6b7010.cust.bredbandsbolaget.se (HELO smtp.severinsson.net) ([213.112.13.210]) by ironport2.bredband.com with ESMTP; 22 Dec 2006 16:16:50 +0100 Received: from [192.168.80.254] (unknown [192.168.80.254]) by smtp.severinsson.net (Postfix) with ESMTP id A0CC8280003 for ; Fri, 22 Dec 2006 16:16:49 +0100 (CET) Message-ID: <458BF6E1.5010409@severinsson.net> Date: Fri, 22 Dec 2006 16:16:49 +0100 From: Jon Severinsson Organization: LiU User-Agent: Thunderbird 1.5.0.8 (X11/20061111) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 To: gentoo-java@lists.gentoo.org Subject: [gentoo-java] java-vm-2.eclass dependancies X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/mixed; boundary="------------020304010207060307030005" X-Archives-Salt: e210536f-de2d-43cb-bde9-485974d47cf1 X-Archives-Hash: da7693fbccb737e47d8c46ddc30a9b53 This is a multi-part message in MIME format. --------------020304010207060307030005 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear Gentoo/Java team I recently noticed that sun-jdk-1.5 RDEPEND on =java-config-1.3*, which I found quite odd, considering that jdk-1.5 isn't compatible with java-config-1. Digging a bit deeper I found that the problem is in java-vm-2.eclass, witch doesn't consider JAVA_SUPPORTS_GENERATION_1 when it defines DEPEND and RDEPEND. (It does in the rest of the eclass). With the attached patch it does, and the end result works just fine on both mixed generation systems, and generation 2 only systems, in the first case with both java-config-1 and java-config-2, and the second with only java-config-2. Please consider adding it to the tree (so I don't have to do it myself after every emerge --sync on my "pure" java 1.5 / generation 2 system). Regards - - Jonno P.S. To get a pure java 1.5 / generation 2 system you'll have to get creative in packages.keywords, but it is certainly possible. I'm currently doing it on one system, where HD space is at a premium, and two VM is overkill just to run tomcat. While java-config-1 isn't exactly a space killer, it's the principle of the thing. After working hard on getting rid of generation-1 I still can't get rid of this last piece. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFi/bhOOpxqcksWu4RAjfAAJ9TfPdFsp9GxfpJE3PkZ3aTsZqbpwCfSY7I OB1Ht9ab3mFOMbfpzFckHMg= =bp9l -----END PGP SIGNATURE----- --------------020304010207060307030005 Content-Type: text/plain; name="java-vm-2.diff" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="java-vm-2.diff" LS0tIC91c3IvcG9ydGFnZS9lY2xhc3MvamF2YS12bS0yLmVjbGFzcwkyMDA2LTExLTExIDAx OjM5OjE3LjAwMDAwMDAwMCArMDEwMAorKysgamF2YS12bS0yLmVjbGFzcwkyMDA2LTEyLTEw IDA3OjE0OjE0LjAwMDAwMDAwMCArMDEwMApAQCAtMTQsMTIgKzE0LDIxIEBACiAKIGluaGVy aXQgZXV0aWxzIGZkby1taW1lCiAKLURFUEVORD0iCi0JPWRldi1qYXZhL2phdmEtY29uZmln LTIuMCoKLQk+PXN5cy1hcHBzL3BvcnRhZ2UtMi4xIgotUkRFUEVORD0iCi0JPWRldi1qYXZh L2phdmEtY29uZmlnLTIuMCoKLQk9ZGV2LWphdmEvamF2YS1jb25maWctMS4zKiIKK2lmIFtb ICR7SkFWQV9TVVBQT1JUU19HRU5FUkFUSU9OXzF9ID09ICd0cnVlJyBdXTsgdGhlbgorCURF UEVORD0iCisJCT1kZXYtamF2YS9qYXZhLWNvbmZpZy0xLjMqCisJCT1kZXYtamF2YS9qYXZh LWNvbmZpZy0yLjAqCisJCT49c3lzLWFwcHMvcG9ydGFnZS0yLjEiCisJUkRFUEVORD0iCisJ CT1kZXYtamF2YS9qYXZhLWNvbmZpZy0xLjMqCisJCT1kZXYtamF2YS9qYXZhLWNvbmZpZy0y LjAqIgorZWxzZQorCURFUEVORD0iCisJCT1kZXYtamF2YS9qYXZhLWNvbmZpZy0yLjAqCisJ CT49c3lzLWFwcHMvcG9ydGFnZS0yLjEiCisJUkRFUEVORD0iCisJCT1kZXYtamF2YS9qYXZh LWNvbmZpZy0yLjAqIgorZmkKIAogZXhwb3J0IFdBTlRfSkFWQV9DT05GSUc9MgogCg== --------------020304010207060307030005-- -- gentoo-java@gentoo.org mailing list