public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-java] binary virtual machines and use flags / dependencies (X, alsa, odbc)
@ 2006-04-07  2:04 Joshua Nichols
  2006-04-07 19:56 ` William L. Thomson Jr.
  0 siblings, 1 reply; 4+ messages in thread
From: Joshua Nichols @ 2006-04-07  2:04 UTC (permalink / raw
  To: gentoo-java

-----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@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-java] binary virtual machines and use flags / dependencies (X, alsa, odbc)
  2006-04-07  2:04 [gentoo-java] binary virtual machines and use flags / dependencies (X, alsa, odbc) Joshua Nichols
@ 2006-04-07 19:56 ` William L. Thomson Jr.
  2006-04-11 16:00   ` Joshua Nichols
  0 siblings, 1 reply; 4+ messages in thread
From: William L. Thomson Jr. @ 2006-04-07 19:56 UTC (permalink / raw
  To: gentoo-java

On Thu, 2006-04-06 at 21:04 -0500, Joshua Nichols wrote:
>
> 
> 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.

Well I am not sure that would work or be ideal. A few reasons. One if
someone was on a server and so not using alsa, extra stuff is pulled in.
Now one could say big deal.

However two, if we installed all deps by default that would also include
X. Which is a very large app, many deps, takes forever to compile even
on fast hardware.

Now some time back when I was using JGenerator (a servlet) via Tomcat it
had deps on X. I can't recall what happened, I do not believe it was
anything catatstrophic. At the same time it was not the greatest either,
logs were created and JGenerator would not work till I installed X.

Granted both these scenarios are more server related than desktop.
However it's cases where the extra stuff would not be wanted across the
board. Much less have to package.provide stuff etc?

Unfortunately I think use flag is best, and yes it creates broken
symbols and etc for missing stuff. Not sure what to say, but it's murky
waters, and I am not sure there is any elegant, or ideal way to go about
it? Will keep the thinking cap on about it though.

-- 
Sincerely,
William L. Thomson Jr.
Obsidian-Studios, Inc.
http://www.obsidian-studios.com

-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-java] binary virtual machines and use flags / dependencies (X, alsa, odbc)
  2006-04-07 19:56 ` William L. Thomson Jr.
@ 2006-04-11 16:00   ` Joshua Nichols
  2006-05-01 16:45     ` Petteri Räty
  0 siblings, 1 reply; 4+ messages in thread
From: Joshua Nichols @ 2006-04-11 16:00 UTC (permalink / raw
  To: William L. Thomson Jr.; +Cc: gentoo-java

William L. Thomson Jr. wrote:
> On Thu, 2006-04-06 at 21:04 -0500, Joshua Nichols wrote:
>   
>> 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.
>>     
>
> Well I am not sure that would work or be ideal. A few reasons. One if
> someone was on a server and so not using alsa, extra stuff is pulled in.
> Now one could say big deal.
>
> However two, if we installed all deps by default that would also include
> X. Which is a very large app, many deps, takes forever to compile even
> on fast hardware.
>
> Now some time back when I was using JGenerator (a servlet) via Tomcat it
> had deps on X. I can't recall what happened, I do not believe it was
> anything catatstrophic. At the same time it was not the greatest either,
> logs were created and JGenerator would not work till I installed X.
>
> Granted both these scenarios are more server related than desktop.
> However it's cases where the extra stuff would not be wanted across the
> board. Much less have to package.provide stuff etc?
>
> Unfortunately I think use flag is best, and yes it creates broken
> symbols and etc for missing stuff. Not sure what to say, but it's murky
> waters, and I am not sure there is any elegant, or ideal way to go about
> it? Will keep the thinking cap on about it though.
>
>   
For now, I think I agree that the use flag just for dependencies is the
best route to take.  We currently do this to an extent, but just need to
make sure it is applied to all the appropriate VMs


- Josh
-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-java] binary virtual machines and use flags / dependencies (X, alsa, odbc)
  2006-04-11 16:00   ` Joshua Nichols
@ 2006-05-01 16:45     ` Petteri Räty
  0 siblings, 0 replies; 4+ messages in thread
From: Petteri Räty @ 2006-05-01 16:45 UTC (permalink / raw
  To: gentoo-java

[-- Attachment #1: Type: text/plain, Size: 1930 bytes --]

Joshua Nichols wrote:
> William L. Thomson Jr. wrote:
>> On Thu, 2006-04-06 at 21:04 -0500, Joshua Nichols wrote:
>>   
>>> 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.
>>>     
>> Well I am not sure that would work or be ideal. A few reasons. One if
>> someone was on a server and so not using alsa, extra stuff is pulled in.
>> Now one could say big deal.
>>
>> However two, if we installed all deps by default that would also include
>> X. Which is a very large app, many deps, takes forever to compile even
>> on fast hardware.
>>
>> Now some time back when I was using JGenerator (a servlet) via Tomcat it
>> had deps on X. I can't recall what happened, I do not believe it was
>> anything catatstrophic. At the same time it was not the greatest either,
>> logs were created and JGenerator would not work till I installed X.
>>
>> Granted both these scenarios are more server related than desktop.
>> However it's cases where the extra stuff would not be wanted across the
>> board. Much less have to package.provide stuff etc?
>>
>> Unfortunately I think use flag is best, and yes it creates broken
>> symbols and etc for missing stuff. Not sure what to say, but it's murky
>> waters, and I am not sure there is any elegant, or ideal way to go about
>> it? Will keep the thinking cap on about it though.
>>
>>   
> For now, I think I agree that the use flag just for dependencies is the
> best route to take.  We currently do this to an extent, but just need to
> make sure it is applied to all the appropriate VMs
> 

IMHO the best course of action is to use use flags and delete the shared
libraries if the use flag is turned off. I just never go to finishing
the work I started. Many people use java on server machines and as such
don't want anything X installed.

Regards,
Petteri


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-05-01 16:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-07  2:04 [gentoo-java] binary virtual machines and use flags / dependencies (X, alsa, odbc) Joshua Nichols
2006-04-07 19:56 ` William L. Thomson Jr.
2006-04-11 16:00   ` Joshua Nichols
2006-05-01 16:45     ` Petteri Räty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox