Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
TOOL - Usetool for useflag analisys
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
qzec
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jul 2004
Posts: 89

PostPosted: Mon Sep 13, 2004 10:13 pm    Post subject: Reply with quote

Thought I'd drop in and say thanks. :)

Q
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Sep 13, 2004 10:20 pm    Post subject: Reply with quote

glad if you find it usefull!

remember to download 0.3.19 version.
It has a bug fix ;)

thank you :)
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Trejkaz
Guru
Guru


Joined: 14 Nov 2002
Posts: 479
Location: Sydney, Australia

PostPosted: Wed Sep 22, 2004 4:51 am    Post subject: Reply with quote

I'm curious... I notice now that when I do a "usetool -d", a number of my packages have +bootstrap defined. It makes me wonder whether there is any benefit to recompiling those packages without it... any idea?
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Sep 22, 2004 6:54 am    Post subject: Reply with quote

I think it shouldn't be set.
if you read description
usetool wrote:

bootstrap: !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used during original system bootstrapping


you did something particular or a normal gentoo install?
bye
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Trejkaz
Guru
Guru


Joined: 14 Nov 2002
Posts: 479
Location: Sydney, Australia

PostPosted: Wed Sep 22, 2004 7:38 am    Post subject: Reply with quote

"usetool -p" is showing the differences, and the difference for a few packages was that they were compiled with +bootstrap, rather than -bootstrap.

This seems normal to me, and the install was normal.

I'm just wondering if recompiling those packages with bootstrap _off_ would result in any improvements at all...
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Sep 22, 2004 10:01 am    Post subject: Reply with quote

i don't know exactly but i think you could recomple using -bootstrap.

Maybe a gentoo developer could tell more about this.

Bye
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
_FD_
n00b
n00b


Joined: 06 Aug 2004
Posts: 37

PostPosted: Fri Sep 24, 2004 12:15 pm    Post subject: Reply with quote

All Packages compiled with +bootstrap are leftover from the original bootstrap process. So you never needed to compiled a new version of this package. This is totaly normal. I have one package with +bootstrap too. IMHO it would change nothing major, if you recompiled it without bootstrap. But you can do it if you want to get rid of the package in the difference check in usetool.
Back to top
View user's profile Send private message
Trejkaz
Guru
Guru


Joined: 14 Nov 2002
Posts: 479
Location: Sydney, Australia

PostPosted: Fri Sep 24, 2004 3:22 pm    Post subject: Reply with quote

Quick bug: it doesn't like package.use unless there are no blank lines in the file. If there are:

Traceback (most recent call last):
File "/usr/local/bin/usetool", line 732, in ?
main()
File "/usr/local/bin/usetool", line 701, in main
if not options['ignore-packageuse']: read_package_use()
File "/usr/local/bin/usetool", line 228, in read_package_use
pkt=row_list[0]
IndexError: list index out of range
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Fri Sep 24, 2004 3:25 pm    Post subject: Reply with quote

thank you man :)
i'll fix it in next release...
thanks again ;)
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Fri Oct 01, 2004 7:54 am    Post subject: Reply with quote

i fixed the bug!
new 0.3.20 released!

same place...

Thank you
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
gieltje
n00b
n00b


Joined: 14 Aug 2004
Posts: 59

PostPosted: Tue Oct 26, 2004 9:15 am    Post subject: Reply with quote

I think the new --newuse flag from portage makes the usetool obsolete, the only advantage I can see from usetool is that it shows exactly what flags are missing/extra.
Back to top
View user's profile Send private message
redog
n00b
n00b


Joined: 06 Nov 2002
Posts: 35

PostPosted: Tue Oct 26, 2004 3:19 pm    Post subject: Reply with quote

that and
Code:
equery uses
shows use flags installed compareing them with ones avaliable.

What I would find useful is if usetool let me add useflags.
usetool -g gtk ; would add gtk to make.conf then fireoff emerge --newuse -auv world
usetool -l gtk -gtk2 dopewars ; would add games-strategy/dopewars gtk -gtk2 to package.use then fireoff emerge --newuse -uav dopewars
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Nov 02, 2004 11:56 am    Post subject: Reply with quote

yes..
new portage makes usetool almost obsolete.

Anyway, i use it every day for inspecting only.

Sometimes i wonder which package "uses" a certain useflag or set of useflags. (-f function)

I think it's still usefull for adjusting package.use. (-ip , -po)
( i often emerge a package with this syntax: USE="blabla" emerge ... and when i'm satisified i use usetool -ip -po ...)

I prefer to leave usetool as safe as possible (don't wanna it to touch my files...)

Bye
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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