1 |
On Sun, Mar 28, 2010 at 01:03:43AM -0500, Doug Goldstein wrote: |
2 |
> I seriously hate changing USE flags for the sake of changing use |
3 |
> flags. This provides a moderate amount of annoyance for anyone that |
4 |
> maintains more then one Gentoo box because they need to then tinker |
5 |
> with their /etc/make.conf and /etc/portage/package.use to get |
6 |
> everything right again. And oh no what if the one box is on ~arch and |
7 |
> one isn't and what if one is x86 and one isn't. Its just such a |
8 |
> configuration nightmare. |
9 |
> |
10 |
> So unless there's any real benefit, I'm against this. |
11 |
|
12 |
I'm not arguing for arbitrary changes, but if the change makes sense |
13 |
and isn't trivial it should be done. |
14 |
|
15 |
What is needed is to tweak the tools for such a move- specifically |
16 |
adding a new command to the update machinery (profiles/updates). |
17 |
Something roughly like |
18 |
|
19 |
usemove [atom] original_flag new_flag |
20 |
|
21 |
If an atom is specified, the move applies only to w/in that pkg; if no |
22 |
atom, it's a global shift in the configuration (meaning all ebuilds |
23 |
now use gtk instead of gtk2 for example). |
24 |
|
25 |
Examples: |
26 |
|
27 |
usemove gtk gtk2 |
28 |
usemove app-admin/gtkrellm gnutls ssl |
29 |
usemove dev-cpp/sptk:3 gnutls ssl |
30 |
usemove >=app-editors/emacs-22.3 gzip-el gzip |
31 |
|
32 |
Etc. |
33 |
|
34 |
Per the norm for updates, usual rules apply- since it's a string of |
35 |
delta commands, once a command is in there it cannot be changed in |
36 |
purpose (although folk can tweak existing commands to update for a |
37 |
final target, eg: A -> B, B -> C; changing it to A -> C, B -> C). |
38 |
|
39 |
|
40 |
> Also two little side points... USE defaults happened in EAPI 1. And |
41 |
> the method by which you're asking people to select would be nice if we |
42 |
> had some method for saying USE X and Y are subset of USE A. |
43 |
|
44 |
USE_EXPAND, roughly- I wouldn't say it's fully there, but it certainly |
45 |
would be where I'd start for any proposal... |
46 |
|
47 |
~harring |