Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Script to find which USE flags have changed since emerge.
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
dma
Guru
Guru


Joined: 31 Jan 2003
Posts: 437
Location: Charlotte, NC, USA

PostPosted: Sat Apr 26, 2003 4:12 am    Post subject: Script to find which USE flags have changed since emerge. Reply with quote

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


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Mon Sep 15, 2003 11:30 am    Post subject: Re: Script to find which USE flags have changed since emerge Reply with quote

dma wrote:
Feel free to mess with this or steal it.


Or move it to the Documentation, Tips & Tricks section. 8) Thanks a lot!


EDIT: See this thread for info on how to do this with portage. --pjp
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