1 |
Mart Raudsepp wrote: |
2 |
> I wanted to work at some point on splitting out gnome and kde profiles |
3 |
> to separate ones. Perhaps desktop profile could be a generic universal |
4 |
> one with USE flags enabled that rox/lxde/fluxbox and so on would like as |
5 |
> well, and then gnome adds its stuff, and kde adds its own stuff. |
6 |
> Or desktop could be one that enabled both GNOME and KDE stuff as now, by |
7 |
> multi-inheriting both gnome and kde profiles. |
8 |
> Or perhaps both a lowest common denominator desktop-base profile and a |
9 |
> big desktop one enabling everything... |
10 |
|
11 |
What could be nice is if users could select multiple profiles. They |
12 |
first choose the "desktop" profile, which has lots of basic stuff that's |
13 |
DE/WM-agnostic. They could then select another profile that adds e.g. |
14 |
Gnome stuff, like you suggested. |
15 |
|
16 |
I suppose the potential problem here (besides coding support for more |
17 |
than one profile) is making sure that the selected profile's USE flags |
18 |
(etc.) don't conflict with other selected profiles. Profile authors |
19 |
would have to be pretty aware of what other profiles contain, and/or the |
20 |
package manager would have to have some heavy duty resolver. |
21 |
|
22 |
One could just avoid the whole multiple-profiles-selected thing by |
23 |
cloning bits of one profile (like a minimal agnostic "desktop"), then |
24 |
adding your own USE flags, and calling it the "Gnome" profile, but this |
25 |
introduces lots of code duplication. |