View previous topic :: View next topic |
Author |
Message |
caefer Apprentice


Joined: 14 Jan 2003 Posts: 170 Location: Hamburg, Germany
|
Posted: Tue Sep 09, 2003 6:22 am Post subject: emerge --new-usevar world -> possible? |
|
|
hi there,
I wonder if it is possible to change usevariables and then rebuild everything, that would be affected.
like you forgot to put "-kde -qt" or such a thing and want to unmerge those unwanted packages and to take the support out of every other build.
regards
/christian |
|
Back to top |
|
 |
bombcar Guru


Joined: 08 Apr 2003 Posts: 453 Location: Wisconsin
|
Posted: Tue Sep 09, 2003 6:28 am Post subject: Just a guess |
|
|
I think if you update your /etc/make.conf, and then do an emerge --world it might do what you want.
See man emerge (it knows more than I do!) |
|
Back to top |
|
 |
caefer Apprentice


Joined: 14 Jan 2003 Posts: 170 Location: Hamburg, Germany
|
Posted: Tue Sep 09, 2003 1:15 pm Post subject: |
|
|
well, no, it does not.
I changed my use vars and added '-gtk, -gtk2' which is installed unfortunatly.
an emerge --world did nothing (no-thing!).
any ideas left?
/christian |
|
Back to top |
|
 |
Brandy Bodhisattva


Joined: 08 Jun 2003 Posts: 820 Location: New Zealand
|
Posted: Tue Sep 09, 2003 3:01 pm Post subject: |
|
|
caefer, you may find this thread interesting.
Ciao, Brandy. _________________ Faber est suae quisque fortunae. |
|
Back to top |
|
 |
caefer Apprentice


Joined: 14 Jan 2003 Posts: 170 Location: Hamburg, Germany
|
Posted: Tue Sep 09, 2003 3:17 pm Post subject: |
|
|
interesting? yes.
usefull....erm not quiet.
as far as I understood, they found a not fully working solution to my problem. where 'not fully working' is the part, that bothers me...
but thanks anyway!
/christian |
|
Back to top |
|
 |
Ox- Guru


Joined: 19 Jun 2003 Posts: 305
|
Posted: Tue Sep 09, 2003 4:09 pm Post subject: |
|
|
caefer, that usechange script by dma in the thread pointed to by Brandy rocks, and should be the last step to actually cleaning gtk off your system.
The first step you'll want to perform though, is an analysis of all the programs that depend on gtk without having USE="gtk". For example gimp. USE="-gtk" on gimp doesn't make sense because it won't run without gtk. Therefore the gimp ebuild doesn't even check that USE flag. So, what this means is you need to find the list of installed packages that depend on gtk regardless of the use flags.
There are 2 programs in the gentoolkit package you can use to do this: etcat and qpkg. You can do either: Code: | # etcat depends x11-libs/gtk | or: Code: | # qpkg -q x11-libs/gtk+-2.2.1-r1
# qpkg -q x11-libs/gtk+-1.2.10-r10 |
Now you need to look at the list and decide, do you really want to throw out gtk? Are there some apps on the list you really need?
If you don't want any of those packages, then fire away by just unmerging each one. Finish up by unmerging gtk itself: Code: | # emerge -C =x11-libs/gtk+-1.2.10-r10
# emerge -C =x11-libs/gtk+-2.2.1-r1 |
Now, you can run that usechange script to find all the packages you built with "gtk gtk2", and re-emerge them so they won't have a dependency on the gtk. |
|
Back to top |
|
 |
kallamej Administrator


Joined: 27 Jun 2003 Posts: 4983 Location: Gothenburg, Sweden
|
|
Back to top |
|
 |
|