1 |
>Hey, I really like this feature! It really helps (anyway it's better that |
2 |
>looking in the .ebuild file and sort out what are the optional dependencies.) |
3 |
> |
4 |
>The thing I did not get is why is it sometimes dispalying the Disabled ..... |
5 |
>text ans sometimes not? |
6 |
> |
7 |
>P.S. What about enchancing it with some ncurses interface to make it really |
8 |
>intteractive? |
9 |
> |
10 |
>On Tuesday 29 April 2003 17:03, Panard wrote: |
11 |
>> Hello, |
12 |
>> |
13 |
>> After some experiencies with emerge, it could be great that to do an |
14 |
>> emerge with USE interactive : |
15 |
>> |
16 |
>> $ emerge -I php |
17 |
>> |
18 |
>> >>> ... |
19 |
>> |
20 |
>> Use Java [Y/n]? |
21 |
>> Use X[y/N] ? |
22 |
>> .... |
23 |
>> |
24 |
>> I found, that there are too many errors due to USE vars that we forget to |
25 |
>> disable or enable... |
26 |
>> |
27 |
>> So I have taken my hands and my vim, and tried to do this, it gave a good |
28 |
>> result. |
29 |
>> |
30 |
>> I join the script, its name is emerge-interactive, this is in fact the |
31 |
>> emerge script with my modifications (line 1840 to 1877)... place it in the |
32 |
>> directory |
33 |
>> /usr/lib/portage/bin |
34 |
>> then |
35 |
>> ln -s /usr/lib/portage/bin/emerge-interactive /usr/bin |
36 |
>> |
37 |
>> |
38 |
>> To use the interactive mide, use |
39 |
>> $ emerge-interactive -I or --interactive .... |
40 |
>> |
41 |
>> This is my first gentoo and linux contribution so I'm waiting for some |
42 |
>> feedback, impression, and sure critiques and amelioration (this is the |
43 |
>> first time I script in python, so be indulgent !!) |
44 |
>> |
45 |
|
46 |
This solution doesn't scale well, it would be impossible to emerge system |
47 |
and expect this to be sane, additionally the lack of sticky use vars means |
48 |
you can have unexpected support/lack of support after upgrading.. |
49 |
|
50 |
and digging through ebuilds? have you ever looked at emerge -h? |
51 |
|
52 |
tachyon root # emerge -vp vim |
53 |
|
54 |
These are the packages that I would merge, in order: |
55 |
|
56 |
Calculating dependencies ...done! |
57 |
[ebuild N ] app-editors/vim-core-6.2_pre2 -gnome +gpm -gtk -gtk2 +ncurses +nls +perl +python -ruby +X |
58 |
[ebuild N ] app-editors/vim-6.2_pre2 -gnome +gpm -gtk -gtk2 +ncurses +nls +perl +python -ruby +X |
59 |
|
60 |
look, tells you exactly how your use flags are going to affect the build |
61 |
|
62 |
USE="-X" emerge -vp vim and observe... |
63 |
|
64 |
additionally, we now have this great program for managing the plethora of USE vars called 'ufed' (app-admin/ufed).. that way you don't forget which are enabled/disabled, you can look through them all and turn on/off the support you desire.. it's a nice program, well worth emerging.. |
65 |
|
66 |
Cheers |
67 |
|
68 |
Joshua Brindle |
69 |
|
70 |
-- |
71 |
gentoo-dev@g.o mailing list |