View previous topic :: View next topic |
Author |
Message |
dma Guru

Joined: 31 Jan 2003 Posts: 437 Location: Charlotte, NC, USA
|
Posted: Sat Apr 26, 2003 4:12 am Post subject: Script to find which USE flags have changed since emerge. |
|
|
Note: this was originally posted in:
https://forums.gentoo.org/viewtopic.php?t=48627
I wanted to know which USE flags had changed since compilation of a package because I've changed a lot of flags and wanted my system to reflect those changes. I did NOT want to re-merge everything because that would cause lots of problems and take forever.
So I spent a few hours in the computer lab sshed into my box and made this (my first and rather ugly python program):
Screenshot (Win32 PuTTY, Fixedsys):
[img:cc77263639]http://www.coe.uncc.edu/~danderse/images/usechange2.png[/img:cc77263639]
Source code:
http://www.coe.uncc.edu/~danderse/www/usechange.
I included the ebuild file so that it could be passed to emerge as an argument to force updating of a different slot.
I don't believe it handles flags like "-quicktime" correctly. It might crash on some occasions. It isn't as customizable as I'd like. However, I'm currently too busy to fix these things.
This functionality might be hidden somewhere in emerge and if it is I'm sorry I bothered everyone with this. Feel free to mess with this or steal it.
Last edited by dma on Fri Jun 11, 2004 12:07 am; edited 2 times in total |
|
Back to top |
|
 |
plate Bodhisattva


Joined: 25 Jul 2002 Posts: 1663 Location: Berlin
|
Posted: Mon Sep 15, 2003 11:30 am Post subject: Re: Script to find which USE flags have changed since emerge |
|
|
dma wrote: | Feel free to mess with this or steal it. |
Or move it to the Documentation, Tips & Tricks section. Thanks a lot!
EDIT: See this thread for info on how to do this with portage. --pjp |
|
Back to top |
|
 |
|
|
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
|
|