View previous topic :: View next topic |
Author |
Message |
nagmat84 Apprentice
Joined: 27 Mar 2007 Posts: 262
|
Posted: Tue Jun 04, 2024 5:58 pm Post subject: How to find obsolete USE flags efficiently? |
|
|
I am a long time Gentoo user who approximately made his initial choice of use flags 10 years ago. Since then some use flags have been removed (e.g. "qt4") from the ebuild system, new ones have been introduced (e.g. "qt6") as old features became obsolete and new features were added. Those obsolete use flags appear as "unknown" in ufed. From time to time when I stumble across such a use flag, I remove it manually from make.conf.
Is there an efficient way to identify those use flags which are set (or explicitly unset) in ./make.conf and ./package.use/ but have become obsolete and lost there purpose?
I mean another way than scrolling through ufed and try to spot "unknown" entries? |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2409
|
Posted: Tue Jun 04, 2024 6:02 pm Post subject: Re: How to find obsolete USE flags efficiently? |
|
|
nagmat84 wrote: | I am a long time Gentoo user who approximately made his initial choice of use flags 10 years ago. Since then some use flags have been removed (e.g. "qt4") from the ebuild system, new ones have been introduced (e.g. "qt6") as old features became obsolete and new features were added. Those obsolete use flags appear as "unknown" in ufed. From time to time when I stumble across such a use flag, I remove it manually from make.conf.
Is there an efficient way to identify those use flags which are set (or explicitly unset) in ./make.conf and ./package.use/ but have become obsolete and lost there purpose?
I mean another way than scrolling through ufed and try to spot "unknown" entries? |
In make.conf it's relatively easy - just comment the line and trigger a full world update. You'll see changes and compare with the USE line in make.conf. Similar approach can be used with package.use. Just rename it and trigger full world update, see what you like and what you don't. I hope somebody else will come with an easier way. I also recall reading a similar thread before, but wish me good luck finding it...
Best Regards,
Georgi |
|
Back to top |
|
|
sdauth l33t
Joined: 19 Sep 2018 Posts: 649 Location: Ásgarðr
|
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3852
|
Posted: Wed Jun 05, 2024 5:43 am Post subject: |
|
|
app-portage/portpeek should be your friend maintaining /etc/portage.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
|