* [gentoo-java] jdks/jres and revdep-rebuild
@ 2005-12-07 22:37 Petteri Räty
2005-12-08 22:16 ` Greg Tassone
0 siblings, 1 reply; 2+ messages in thread
From: Petteri Räty @ 2005-12-07 22:37 UTC (permalink / raw
To: gentoo-java
[-- Attachment #1.1: Type: text/plain, Size: 471 bytes --]
As most of you are probably aware, the jdks and jres don't play nice
with revdep-rebuild because we don't want to force people to install for
example X. As part of solving this problem I am now adding use flags
that when turned on will bring in all the necessary dependencies for
sun-jdk and sun-jre. The next step is to remove the broken libraries
when the use flags are off, but I will do further testing before
unleashing that to the general public.
Regards,
Petteri
[-- Attachment #1.2: sun-jdk.patch --]
[-- Type: text/x-patch, Size: 1143 bytes --]
--- sun-jdk-1.5.0.05.ebuild 2005-12-08 00:32:58.000000000 +0200
+++ sun-jdk-1.5.0.06.ebuild 2005-12-08 00:29:55.000000000 +0200
@@ -27,7 +27,7 @@
LICENSE="sun-bcla-java-vm"
KEYWORDS="~x86 ~amd64 -*"
RESTRICT="fetch nostrip"
-IUSE="doc browserplugin nsplugin jce mozilla examples"
+IUSE="X alsa doc browserplugin nsplugin jce mozilla examples"
#
DEPEND=">=dev-java/java-config-1.2
@@ -36,7 +36,22 @@
doc? ( =dev-java/java-sdk-docs-1.5.0* )"
RDEPEND="x86? ( sys-libs/lib-compat )
- doc? ( =dev-java/java-sdk-docs-1.5.0* )"
+ alsa? ( media-libs/alsa-lib )
+ doc? ( =dev-java/java-sdk-docs-1.5.0* )
+ X? ( || ( ( x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXp
+ x11-libs/libXt
+ x11-libs/libXtst
+ )
+ virtual/x11
+ )
+ )"
PROVIDE="virtual/jre
virtual/jdk"
@@ -117,7 +132,7 @@
for i in bin include jre lib man; do
cp -pPR $i ${D}/opt/${P}/ || die "failed to copy ${i}"
done
- dodoc COPYRIGHT LICENSE README.html
+ dodoc COPYRIGHT README.html
dohtml README.html
dodir /opt/${P}/share/
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-java] jdks/jres and revdep-rebuild
2005-12-07 22:37 [gentoo-java] jdks/jres and revdep-rebuild Petteri Räty
@ 2005-12-08 22:16 ` Greg Tassone
0 siblings, 0 replies; 2+ messages in thread
From: Greg Tassone @ 2005-12-08 22:16 UTC (permalink / raw
To: gentoo-java
[-- Attachment #1: Type: text/plain, Size: 788 bytes --]
On Thu, 2005-12-08 at 00:37 +0200, Petteri Räty wrote:
> As most of you are probably aware, the jdks and jres don't play nice
> with revdep-rebuild because we don't want to force people to install for
> example X. As part of solving this problem I am now adding use flags
> that when turned on will bring in all the necessary dependencies for
> sun-jdk and sun-jre. The next step is to remove the broken libraries
> when the use flags are off, but I will do further testing before
> unleashing that to the general public.
I like this change. It will make things easier (support issues and
otherwise) when folks don't have to worry about these broken libraries
hanging around anymore.
I did a test build of it on one amd64 machine and all went well.
Thanks!
- Greg
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-08 22:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-07 22:37 [gentoo-java] jdks/jres and revdep-rebuild Petteri Räty
2005-12-08 22:16 ` Greg Tassone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox