Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67984 - x11-libs/gtk+ einfo recomendation don't do "the trick"
Summary: x11-libs/gtk+ einfo recomendation don't do "the trick"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High trivial (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-18 02:35 UTC by Octavio Ruiz (Ta^3)
Modified: 2005-03-02 13:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Octavio Ruiz (Ta^3) 2004-10-18 02:35:40 UTC
einfo "For gtk themes to work correctly after an update, you might have to rebuild your theme engines."
    einfo "Executing 'qpkg -f -nc /usr/lib/gtk-2.0/2.2.0/engines | xargs emerge' should do the trick if"
    einfo "you upgrade from gtk+-2.2 to 2.4 (requires gentoolkit)."


Its not working.. IMHO it should be changed to:
for i in /usr/lib/gtk-2.*/2.*/engines/*; do qpkg -nc -f $i; done | xargs emerge

;-)
Comment 1 Octavio Ruiz (Ta^3) 2004-10-18 02:39:41 UTC
Or maybe add it to the pkg_config() function...
Comment 2 foser (RETIRED) gentoo-dev 2004-10-18 09:00:25 UTC
no this is due to your machines lib64 breakage... the einfo is just a hint, we can't & shouldn't force rebuilding. If it doesn't work you have to figure out your own way to handle it.
Comment 3 Octavio Ruiz (Ta^3) 2004-10-18 11:40:09 UTC
No, this bug have nothing to do with bug #67989 and AMD64 arch.

I noticed about the einfo trick on my old x86 PC, where I have to upgrade.

`qpkg -f <directory>` do not output anything so there are no arguments for `xargs emerge`.

eg.

~ $ qpkg -f /usr/bin/     
~ $ 

And this is what the ebuild einfo its proposing :-(

I know that the einfo is just a hint, but its a hint that doesn't works in any machine or arch.. so this is why I reported this bug.

> If it doesn't work you have to figure out your own way to handle it.

No problem for me, but maybe for some users this is a problem.. if einfo takes cares of inform how to upgrade, it should inform in a correct way or more simple; not inform anything (just my opinion).

Thanks.
Comment 4 foser (RETIRED) gentoo-dev 2004-10-18 11:55:39 UTC
it works fine here.. whats your gentoolkit version ?
Comment 5 Octavio Ruiz (Ta^3) 2004-10-18 12:16:25 UTC
app-portage/gentoolkit-0.2.0_pre10
Comment 6 foser (RETIRED) gentoo-dev 2005-01-06 04:26:43 UTC
apperantly a change (bug?) introduced in newer gentoolkit versions.

@ tools-portage team : why this change & how to work around it ?
Comment 7 Marius Mauch (RETIRED) gentoo-dev 2005-01-06 05:02:45 UTC
bug 47451
But you shouldn't use qpkg anyway as it will be removed in the next version.
Comment 8 foser (RETIRED) gentoo-dev 2005-01-06 05:22:45 UTC
what should be used instead in this case ?
Comment 9 Octavio Ruiz (Ta^3) 2005-01-06 07:46:21 UTC
I think `equery`.

equery b /usr/lib/gtk-2.*/2.*/engines/* | while read i; do echo =$i; done | xargs emerge
Comment 10 foser (RETIRED) gentoo-dev 2005-03-02 13:40:14 UTC
closing, altough the suggestions are correct they don't apply to any recent gtk+ ebuilds anymore.