* [gentoo-dev] Little prog to check compile-options for packages.
@ 2003-04-16 13:36 Daniel Armyr
2003-04-16 17:36 ` Thomas de Grenier de Latour
0 siblings, 1 reply; 7+ messages in thread
From: Daniel Armyr @ 2003-04-16 13:36 UTC (permalink / raw
To: gentoo-dev
I thik I am the only one in the world who is interested in this feature,
but since I took the time to write the prog I can just as well post it.
It requires an installed portage, and being a python script obviously
python. I think some of you have issues with long emails, so I'll link
the code. Just save and make sure to set permissions. Then run >qflag
[substring] to display all packages with the given substring.
http://www.f.kth.se/~f00-dar/qflag/qflag
//Daniel Armyr
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-dev] Little prog to check compile-options for packages.
2003-04-16 13:36 [gentoo-dev] Little prog to check compile-options for packages Daniel Armyr
@ 2003-04-16 17:36 ` Thomas de Grenier de Latour
2003-04-18 12:57 ` [gentoo-dev] Talk is cheap. Was: " Daniel Armyr
0 siblings, 1 reply; 7+ messages in thread
From: Thomas de Grenier de Latour @ 2003-04-16 17:36 UTC (permalink / raw
To: gentoo-dev
Nice script, thanks.
> I thik I am the only one in the world who is interested in this
> feature
I think that we are numerous to wonder which packages have to be rebuilt
after a USE flag change: For instance, if a user adds "gtk2" to his USE
flags, applications that support it will only use it after their next
update, whereas he may want to recompile this apps right now.
So my point is that your program could be even more useful if it could
show only diffs on flags that appear in the IUSE variable from their
ebuild. This would be a nice answer to the "what should I recompile?"
question.
Here are a few other ideas of possible improvements:
* a few options: --cflags-only (-c), --useflags-only (-u), etc.
* integration into "qpkg" (as yet another "Information Selection"
option). I know "qpkg" is still a bash script, but I think there are
plans for a python version, am I wrong?
* taking ebuilds cflags filters into account. (Because if you go from
"-O2" to "-O3" in make.conf, and then wonder what packages have to be
recompiled for optimisation, those which filter "-O3" to "-O2" should
not be listed.)
Having said that, I won't blame you if you don't want to implement my
suggestions. I'm not a python programmer myself, and I really don't know
how hard it would be. :)
--
Thomas.
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-dev] Talk is cheap. Was: Little prog to check compile-options for packages.
2003-04-16 17:36 ` Thomas de Grenier de Latour
@ 2003-04-18 12:57 ` Daniel Armyr
2003-04-18 13:07 ` Daniel Armyr
0 siblings, 1 reply; 7+ messages in thread
From: Daniel Armyr @ 2003-04-18 12:57 UTC (permalink / raw
Cc: gentoo-dev
This is a multi-part message in MIME format.
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-dev] Talk is cheap. Was: Little prog to check compile-options for packages.
2003-04-18 12:57 ` [gentoo-dev] Talk is cheap. Was: " Daniel Armyr
@ 2003-04-18 13:07 ` Daniel Armyr
2003-04-20 13:48 ` Daniel Armyr
2003-04-22 8:27 ` Michael Kohl
0 siblings, 2 replies; 7+ messages in thread
From: Daniel Armyr @ 2003-04-18 13:07 UTC (permalink / raw
Cc: gentoo-dev
Well, I got the afternoon off, so I sat down and skimmed the original
qpkg code. Not quite understanding it, I wrote a Python version. It
mostly uses the portage core to do the work, and is therefore quite
simple. My unscientific tests shows it does some tastks slower, but some
up to 4 times faster than the bash script. All functionality of qpkg
have not been implemented yet, but It will if interest is shown.
Oh, and a link:
http://www.f.kth.se/~f00-dar/qflag/info
//Daniel Armyr
PS
If someone could tell me how to not make Mozilla send mails like this:
This is a multi-part message in MIME format.
Please drop me a private note. I do not want to enable HTML messages.
DS
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-dev] Talk is cheap. Was: Little prog to check compile-options for packages.
2003-04-18 13:07 ` Daniel Armyr
@ 2003-04-20 13:48 ` Daniel Armyr
2003-04-22 8:27 ` Michael Kohl
1 sibling, 0 replies; 7+ messages in thread
From: Daniel Armyr @ 2003-04-20 13:48 UTC (permalink / raw
Cc: gentoo-dev
Oops, found a quite embarassing bug. When searching for the owner of a
file, only every other file in the /var/db/pkg tree will be matched
against. Well, It was only a test-release anyways. Well, if there is
anyone out there who actually decides to est the thing, all you need to
do is remove on of the two
line = contentsFile.readline()
and it will work properly.
//Daniel Armyr
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-dev] Talk is cheap. Was: Little prog to check compile-options for packages.
2003-04-18 13:07 ` Daniel Armyr
2003-04-20 13:48 ` Daniel Armyr
@ 2003-04-22 8:27 ` Michael Kohl
2003-04-22 15:48 ` Daniel Armyr
1 sibling, 1 reply; 7+ messages in thread
From: Michael Kohl @ 2003-04-22 8:27 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 502 bytes --]
On Fri, 18 Apr 2003 21:07:44 +0800
Daniel Armyr <daniel.armyr@home.se> wrote:
> All functionality of qpkg have not been implemented yet, but It will
> if interest is shown.
>
> Oh, and a link:
> http://www.f.kth.se/~f00-dar/qflag/info
I'd like to test it but I just get a 404 error.
If you can't upload it anywhere again could you please mail it to me
offlist?
Thanks,
Michael
--
www.cargal.org
GnuPG-key-ID: 0x90CA09E3
Jabber-ID: citizen428 [at] cargal [dot] org
Registered Linux User #278726
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-dev] Talk is cheap. Was: Little prog to check compile-options for packages.
2003-04-22 8:27 ` Michael Kohl
@ 2003-04-22 15:48 ` Daniel Armyr
0 siblings, 0 replies; 7+ messages in thread
From: Daniel Armyr @ 2003-04-22 15:48 UTC (permalink / raw
To: Michael Kohl; +Cc: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Fixed.
http://www.f.kth.se/~f00-dar/qflag/info
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+pWRfhxtTUWLs2lERAg+nAJ9Zj8J6bJZhNxWavmMLfesWB2CkRwCdF3IJ
7Xj8mFyyI9R/B67Qnela8BY=
=TT6k
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-04-22 15:54 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-16 13:36 [gentoo-dev] Little prog to check compile-options for packages Daniel Armyr
2003-04-16 17:36 ` Thomas de Grenier de Latour
2003-04-18 12:57 ` [gentoo-dev] Talk is cheap. Was: " Daniel Armyr
2003-04-18 13:07 ` Daniel Armyr
2003-04-20 13:48 ` Daniel Armyr
2003-04-22 8:27 ` Michael Kohl
2003-04-22 15:48 ` Daniel Armyr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox