From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1N7EHo-0000lO-Kr for garchives@archives.gentoo.org; Sun, 08 Nov 2009 20:22:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14C40E0AB4; Sun, 8 Nov 2009 20:22:56 +0000 (UTC) Received: from dsrg.mff.cuni.cz (dsrg.mff.cuni.cz [195.113.20.55]) by pigeon.gentoo.org (Postfix) with ESMTP id B3FA3E0AB4 for ; Sun, 8 Nov 2009 20:22:55 +0000 (UTC) Received: from r9.net.upc.cz ([62.24.83.9] helo=[192.168.1.112]) by dsrg.mff.cuni.cz with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1N7EHi-0006Zn-FN for gentoo-java@lists.gentoo.org; Sun, 08 Nov 2009 21:22:54 +0100 Message-ID: <4AF7288F.5040200@gentoo.org> Date: Sun, 08 Nov 2009 21:22:39 +0100 From: Vlastimil Babka User-Agent: Thunderbird 2.0.0.23 (X11/20090909) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@lists.gentoo.org MIME-Version: 1.0 To: gentoo-java Subject: Re: [gentoo-java] RFC: solving jdk-1.6 compatibility with bootclasspath References: <4AF60E77.50501@gentoo.org> <4AF68DF1.6090601@gentoo.org> In-Reply-To: <4AF68DF1.6090601@gentoo.org> Content-Type: multipart/mixed; boundary="------------000701060308050000080409" X-Spam-Score: -4.4 X-Spam-Level: ---- X-Archives-Salt: 659b6210-0047-40a9-ac12-676008078200 X-Archives-Hash: 08a507b1c0e0c142f04daa611ccc3aa0 This is a multi-part message in MIME format. --------------000701060308050000080409 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Petteri R=C3=A4ty wrote: > Vlastimil Babka wrote: >> If it looks sane, I can commit it. >> >=20 > Maybe register the jars for sun-bootclasspath and use java-pkg_getjars > --build-only? Users might find java-config -p sun-bootclasspath useful > for their own purposes. Too bad, I've read the dlj licence and it seems packaging just rt.jar=20 would violate it. So I've tried using gnu-classpath instead and seems to=20 work for everything except two packages (which I've solved differently). The attached eclass patch thus uses gnu-classpath. I've also added a=20 JAVA_PKG_WANT_BOOTCLASSPATH variable to pull the needed dep. gnu-classpath will just need a revbump to register the classes to=20 package.env > Regards, > Petteri >=20 --------------000701060308050000080409 Content-Type: text/plain; name="bootclasspath.patch" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="bootclasspath.patch" PyBlamF2YWMucGF0Y2gKSW5kZXg6IGphdmEtYW50LTIuZWNsYXNzCj09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0K UkNTIGZpbGU6IC92YXIvY3Zzcm9vdC9nZW50b28teDg2L2VjbGFzcy9qYXZhLWFudC0yLmVj bGFzcyx2CnJldHJpZXZpbmcgcmV2aXNpb24gMS40NQpkaWZmIC11IC1CIC1yMS40NSBqYXZh LWFudC0yLmVjbGFzcwotLS0gamF2YS1hbnQtMi5lY2xhc3MJMTUgRmViIDIwMDkgMDE6MjQ6 NTkgLTAwMDAJMS40NQorKysgamF2YS1hbnQtMi5lY2xhc3MJOCBOb3YgMjAwOSAyMDoxODo1 MCAtMDAwMApAQCAtNDUxLDMgKzQ1MSw0OSBAQAogCQlkaWUgInhtbC1yZXdyaXRlIG5vdCBm b3VuZCIKIAlmaQogfQorCisjIC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQorIyBAcHVibGlj IGphdmEtYW50X3Jld3JpdGUtYm9vdGNsYXNzcGF0aAorIworIyBBZGRzIGJvb3RjbGFzc3Bh dGggdG8gamF2YWMtbG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