Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --new-usevar world -> possible?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
caefer
Apprentice
Apprentice


Joined: 14 Jan 2003
Posts: 170
Location: Hamburg, Germany

PostPosted: Tue Sep 09, 2003 6:22 am    Post subject: emerge --new-usevar world -> possible? Reply with quote

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
View user's profile Send private message
bombcar
Guru
Guru


Joined: 08 Apr 2003
Posts: 453
Location: Wisconsin

PostPosted: Tue Sep 09, 2003 6:28 am    Post subject: Just a guess Reply with quote

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
View user's profile Send private message
caefer
Apprentice
Apprentice


Joined: 14 Jan 2003
Posts: 170
Location: Hamburg, Germany

PostPosted: Tue Sep 09, 2003 1:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Brandy
Bodhisattva
Bodhisattva


Joined: 08 Jun 2003
Posts: 820
Location: New Zealand

PostPosted: Tue Sep 09, 2003 3:01 pm    Post subject: Reply with quote

caefer, you may find this thread interesting.

Ciao, Brandy.
_________________
Faber est suae quisque fortunae.
Back to top
View user's profile Send private message
caefer
Apprentice
Apprentice


Joined: 14 Jan 2003
Posts: 170
Location: Hamburg, Germany

PostPosted: Tue Sep 09, 2003 3:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ox-
Guru
Guru


Joined: 19 Jun 2003
Posts: 305

PostPosted: Tue Sep 09, 2003 4:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Tue Sep 28, 2004 4:55 pm    Post subject: Reply with quote

Moved from Portage & Programming in favour of https://forums.gentoo.org/viewtopic.php?t=229453
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum