1 |
> > > Another possible feature in the future (not finished thinking about |
2 |
> > > yet) |
3 |
> > > could be to have portage install each (non-system-)package into a |
4 |
> > > separate prefix within its domain, without need to change prefix-api. |
5 |
> > > This could help ebuild-devs to detect unknown dependencies, which are |
6 |
> > > not found implicitly if not specified at configure-line. |
7 |
> > > Well - only for a testing system, and to be enabled explicitly |
8 |
> > > by setting FEATURES. |
9 |
> > |
10 |
> > This probably isn't as crazy as you might think. With ROOT, and a |
11 |
> > little more work on PREFIX, it should just be a matter of setting |
12 |
> > these appropriately on a per package basis. The other possible use |
13 |
> > for this would be creating package bundles with complete dep trees |
14 |
> > suitable for distribution. |
15 |
|
16 |
> Wow, ideas over ideas, and they all are conceivable! |
17 |
|
18 |
Because we are at strange ideas, would it be possible to introduce |
19 |
something like |
20 |
$PREFIXES, where this is a list of directories, say |
21 |
|
22 |
$PREFIXES=/:/gentoo |
23 |
|
24 |
If I want to emerge a package, the package should be installed into the |
25 |
first matching |
26 |
PREFIX |
27 |
If problems occur, say because there exist a un-manged version of some |
28 |
package, the prefix is black-listed for this packaage, and the next |
29 |
directory is choosen. |
30 |
|
31 |
This black-listing can also be done by a user. |
32 |
|
33 |
So I could emerge (and use), say app-text/editors into PREFIX=/, while, |
34 |
say dev-lan/python is emerged into /gentoo |
35 |
|
36 |
This would leave a problem how the correct executable and / or their |
37 |
corresponding resources are found. |
38 |
Say, imagemagic wants to call /usr/bin/gs, but ghostscript is really |
39 |
installed into /gentoo/usr/bin/gs |
40 |
|
41 |
Regards |
42 |
Dirk |
43 |
|
44 |
-- |
45 |
gentoo-osx@g.o mailing list |