Gentoo Archives: gentoo-java

From: Joshua Nichols <nichoj@g.o>
To: gentoo-java@l.g.o
Subject: [gentoo-java] binary virtual machines and use flags / dependencies (X, alsa, odbc)
Date: Fri, 07 Apr 2006 02:04:03
Message-Id: 4435C89C.8030900@gentoo.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Currently, all the binary virtual machines link against libraries from
X, alsa, and  unixODBC.

Currently, we handle this in a couple ways (using alsa as an example):
* Have ' alsa? ( media-libs/alsa-lib ) ' in DEPEND/RDEPEND
	In these cases, if you don't use the USE flag, you'll have shared
objects that don't have don't have all their deps filled. This prob

* Have ' alsa? ( media-libs/alsa-lib ) ' in DEPEND/RDEPEND, and remove
the libs that link against alsa libs.
	This is better, as revdep-rebuild wouldn't be unhappy about the missing
symbols. However, if you use some classes need the missing shared
library, I'm not sure what will happen. Nothing good, I'd guess.

I don't think either of these are particular ideal. I think it would
slightly better to depend on the things that the libraries needed.
Someone that _really_ doesn't want the dependencies could put them into
/etc/portage/package.provided.

Any thoughts, or perhaps other suggestions?

- - Josh
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFENcic8ATTzZyw6sMRAgFxAJ4r8KtmgPpER9DU2ZuIl6HMtywO/ACeLlpS
+qIxeyDiH/hgYn4jhixRE30=
=EAHo
-----END PGP SIGNATURE-----
-- 
gentoo-java@g.o mailing list

Replies

Subject Author
Re: [gentoo-java] binary virtual machines and use flags / dependencies (X, alsa, odbc) "William L. Thomson Jr." <wlt@××××××××××××××××.com>