Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338380 - punt sys-apps/slocate
Summary: punt sys-apps/slocate
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard:
Keywords:
Depends on: 338426 338428 338430 343987
Blocks: 209394 219343 273077 280620 291013 337176
  Show dependency tree
 
Reported: 2010-09-22 21:03 UTC by SpanKY
Modified: 2010-12-18 17:13 UTC (History)
3 users (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 SpanKY gentoo-dev 2010-09-22 21:03:36 UTC
i'm tired of looking at this package.  please scrub it from the tree for me.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-09-22 21:11:57 UTC
mlocate being the replacement, do we have anothers?

http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1#book_part1_chap11

our handbook recommends users to install slocate:

9.c. Optional: File Indexing

If you want to index your system's files so you are able to quickly locate them using the locate tool, you need to install sys-apps/slocate.

Code Listing 3.1: Installing slocate

# emerge slocate
Comment 2 SpanKY gentoo-dev 2010-09-22 21:32:03 UTC
i was going to add a USE=locate to findutils
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-09-23 07:43:21 UTC
(In reply to comment #2)
> i was going to add a USE=locate to findutils
> 

that needs to be done then... didn't realize findutils had a locate command until now :)

slocate-3.1-r2.ebuild:KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"

mlocate-0.22.4.ebuild:KEYWORDS="amd64 ~ia64 ppc ~ppc64 sparc x86"

otherwise alpha, arm, hppa, m68k, mips, s390 and sh won't have any locate left...
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-11-09 20:28:23 UTC
Because app-vim/locateopen has KEYWORDS="alpha" this can't be masked before alpha is done at bug 343987.
Comment 5 Roger 2010-11-14 20:05:50 UTC
We have mlocate in portage:
http://carolina.mff.cuni.cz/~trmac/blog/mlocate/
https://fedorahosted.org/mlocate/

I'm also seeing some talk via a google search about rlocate but it doesn't seem to be actively maintained:
http://rlocate.sourceforge.net/

I'll likely try mlocate.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-11-14 20:07:14 UTC
(In reply to comment #5)
> I'll likely try mlocate.

sigh. That's what the mask message says... "replaced by mlocate"

Comment 7 Roger 2010-11-14 20:10:20 UTC
Interesting note, Bug #127010 Comment #16:
"mlocate supports ignore-case of non-ascii symbols in utf8 encoding unlike slocate and rlocate"
Comment 8 Roger 2010-11-14 20:12:54 UTC
I see the comment now... it was in dark blue font against my black terminal background within mutt email. ... before only noticed the error concerning slocate masked.
Comment 9 Sylvain GRIALOU 2010-11-17 19:16:56 UTC
this SUCKS totally, what about the DB compat then ?
Comment 10 Sylvain GRIALOU 2010-11-17 19:28:33 UTC
users should delete /var/lib/slocate/slocate.db
rm -Rf /var/lib/slocate
then "emerge -C slocate && emerge mlocate"
/etc/updatedb.conf is  the same
run "updatedb" as root to do the first indexing
Comment 11 SpanKY gentoo-dev 2010-11-17 22:33:38 UTC
db compatibility across packages is hardly an important feature and not one we will waste time on in any way.  rebuild things from scratch.
Comment 12 Navid Zamani 2010-11-20 01:44:52 UTC
(In reply to comment #10)
> users should delete /var/lib/slocate/slocate.db
> rm -Rf /var/lib/slocate
> then "emerge -C slocate && emerge mlocate"
> /etc/updatedb.conf is  the same
> run "updatedb" as root to do the first indexing

Hey, that’s a good tip to add to the mask message. And as a eselect news thingie. People (like me) will always be thankful for those little things that keep the system nice. :) *tips his hat*
Can you add it?
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2010-12-18 17:13:19 UTC
slocate is out of tree, use mlocate