On Wed, May 28, 2008 at 04:34:10PM +0100, Penguin Lover Neil Bothwick squawked:
> On Wed, 28 May 2008 15:21:53 +0000 (UTC), Grant Edwards wrote:
>
> > I can't figure out why "emerge --search" can't find a local
> > ebuild, but "emerge -av" can:
>
> The man page states:
>
> --search (-s)
> Searches for matches of the supplied string in the portage tree.
>
> It only mentions the portage tree, not overlays. emerge --search is not
> worth using anyway, it is far too slow. Use eix instead.
>
That's just false (not that emerge --search not worth using part, but
the part before that).
app-i18n/gcin is provided by the gentoo-taiwan overlay:
~ $ emerge --search gcin
Searching...
[ Results for search key : gcin ]
[ Applications found : 1 ]
* app-i18n/gcin
Latest version available: 1.4.0_pre13
Latest version installed: 1.4.0_pre10
Size of files: 6,716 kB
Homepage: http://www.csie.nctu.edu.tw/~cp76/gcin/
http://cle.linux.org.tw/trac/wiki/GcinGirlForNoBopomofo
Description: Another Traditional Chinese IM.
License: GPL-2
but
~ $ emerge --search "app-i18n/gcin"
Searching...
[ Results for search key : app-i18n/gcin ]
[ Applications found : 0 ]
whereas app-i18n/kinput2 is provided by the tree
~ $ emerge --search kinput2
Searching...
[ Results for search key : kinput2 ]
[ Applications found : 1 ]
* app-i18n/kinput2
Latest version available: 3.1-r1
Latest version installed: 3.1-r1
Size of files: 500 kB
Homepage: http://www.nec.co.jp/canna/
Description: A Japanese input server which supports the XIM protocol
License: as-is
and yet I can't search it either with category
~ $ emerge --search "app-i18n/kinput2"
Searching...
[ Results for search key : app-i18n/kinput2 ]
[ Applications found : 0 ]
The right answer, should you have looked several more lines
down the man page, is that:
= If you want to include the category into the
= search string, prepend an @: emerge --search "[EMAIL PROTECTED]".
So
~ $ emerge --search "@app-i18n/gcin"
Searching...
[ Results for search key : app-i18n/gcin ]
[ Applications found : 1 ]
* app-i18n/gcin
Latest version available: 1.4.0_pre13
Latest version installed: 1.4.0_pre10
Size of files: 6,716 kB
Homepage: http://www.csie.nctu.edu.tw/~cp76/gcin/
http://cle.linux.org.tw/trac/wiki/GcinGirlForNoBopomofo
Description: Another Traditional Chinese IM.
License: GPL-2
Finds gcin that is in an overlay.
HTH,
W
--
I just let my mind wander, and it didn't come back.
Sortir en Pantoufles: up 537 days, 14:46
--
[email protected] mailing list