Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy home page: puppylinux.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 06 Sep 2010, 02:11
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Recoll: QT-based text search tool
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [18 Posts]   Goto page: 1, 2 Next
Author Message
muggins

Joined: 20 Jan 2006
Posts: 5879
Location: hobart

PostPosted: Tue 27 Nov 2007, 12:13    Post subject:  Recoll: QT-based text search tool  

http://www.lesbonscomptes.com/recoll/

I'm posting this following the recommendation of mdisaster2, in this thread:

http://www.murga-linux.com/puppy/viewtopic.php?t=23964

It needs QT libraries installed, from the puppy ibiblio site, as well as the attached libxapian.so.15. (Just extract the .tar.bz2 file to / ). To run the program, Menu->File System->Recoll
recoll-1.10.2.pet
Description 
pet

 Download 
Filename  recoll-1.10.2.pet 
Filesize  771.83 KB 
Downloaded  153 Time(s) 
recoll.jpg
 Description   
 Filesize   10.95 KB
 Viewed   480 Time(s)

recoll.jpg

libxapian.so.15.tar.bz2
Description 
bz2

 Download 
Filename  libxapian.so.15.tar.bz2 
Filesize  629.32 KB 
Downloaded  196 Time(s) 

Last edited by muggins on Wed 28 May 2008, 07:18; edited 1 time in total
Back to top
View user's profile Send private message 
Branarchist

Joined: 27 Nov 2007
Posts: 7

PostPosted: Wed 28 Nov 2007, 16:23    Post subject: Recoll Installation Problem  

Hey Muggins:

Thanks for making the package and providing the instructions for installing Recoll. I'm having an installation problem I don't understand.

When I click on the unzipped recoll-1.10.0-i486.pet package, I get an error message saying:

There was an error expanding package recoll-1.10.0-i486.tar.gz. Either the file is corrupted, or has not expanded into its own directory with the name of recoll-1.10.0-i486/ (which is how most packages expand).

I'm using a clean copy of Puppy 2.16, installed the qt library from ibiblio packages, rebooted, unzipped libxapian to /, rebooted, then tried to run the Recoll .pet package from an attached USB drive, from the Puppy desktop, then downloaded another copy of Recoll and tried again on the off chance it got corrupted in transit.

Any idea how to fix this?

Thanks Again,
-- Brandan
Back to top
View user's profile Send private message Send e-mail 
muggins

Joined: 20 Jan 2006
Posts: 5879
Location: hobart

PostPosted: Wed 28 Nov 2007, 22:01    Post subject:  

Branarchist,

This is a known problem with .pets, where the script that extracts them is too conservative in estimating how much space you have available to extract them.

The solution is to that .pet archives are, at heart, .tgz packages, so you can just rename the .pet to .tgz, extract this to a temporary location somewhere, then enter the created directory, (with same name as archive), right click on /usr & select copy, then copy to /.

To have recoll in your menu, you'll need to run fixmenus on the commandline, then restart the window manager.

(N.B. Just a few points.

1) When you extract the above .tgz, you'll get an error message. Just ignore this, as it's normal.
2) You might want to check the hidden directory /root/.packages to see if the previous, aborted, try at extracting recoll .pet left any stray elements there. If so you can just delete these.
3) By manually extracting recoll this way, if at some stage you decide you don't want the app, you can't use the package-manager to delete, so you'll need to manually delete. So it's always a good idea to keep an eye on what is installed in such cases. With this app, you would need to delete:

/usr/share/applications/recoll-searchgui.desktop
/usr/share/icons/recoll.png
/usr/share/recoll/doc/usermanual.html
/usr/share/recoll/doc/docbook.css
/usr/man/man1/recoll.1
/usr/man/man1/recollindex.1
/usr/man/man5/recoll.conf.5
/usr/bin/recoll
/usr/bin/recollindex
/usr/share/recoll/

cheers)
Back to top
View user's profile Send private message 
Branarchist

Joined: 27 Nov 2007
Posts: 7

PostPosted: Thu 29 Nov 2007, 20:27    Post subject: Getting Closer...  

Hey Muggins:

Thanks again for the help. I think I'm getting closer.

I went into root/.packages and cleaned out the remains of the .pet installation attempt. And, I've renamed the .pet to a .tgz. I was unable to get the renamed .tgz file to expand. The returned error message is:

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

Is this the expected error message?

Thanks,
-- Brandan
Back to top
View user's profile Send private message Send e-mail 
muggins

Joined: 20 Jan 2006
Posts: 5879
Location: hobart

PostPosted: Thu 29 Nov 2007, 23:22    Post subject:  

No,

I wonder if you've had your original download of recoll interrupted & it's corrupted the archive? Could you try downloading again?
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 5879
Location: hobart

PostPosted: Thu 29 Nov 2007, 23:33    Post subject:  

branarchist,

i just dloaded the recoll .pet, and it installed it on my computer, just to satisfy myself that it uploaded OK to the murga-linux server. When you're trying to extract the recoll .tgz, are you just clicking on it to extract ti with xarchive?
Back to top
View user's profile Send private message 
Branarchist

Joined: 27 Nov 2007
Posts: 7

PostPosted: Mon 03 Dec 2007, 17:24    Post subject: Mostly Success!  

Hey Muggins:

Thanks to your help, I've got Recoll up and running!

I was unable to get the .pet archive to expand successfully using xarchive or tar in Puppy. I was also unable to get tar to expand the archive on my main laptop running MacOS 10.4. However, an old copy of stuffit expander was able to unzip it so I could follow your instructions and transfer it to the Puppy Machine using a USB drive. Fired it up, and it's doing exactly what it's supposed to.

The last thing I need to add to the project for it to be complete is the ability to index pdf files. I've read the documentation on recoll, and it says that recoll uses xpdf utilities to turn the documents into html, which it can then index like normal. I installed the xpdf .pup from the /Office section of pup downloads, and it worked just fine by itself. Recoll isn't working with it yet, though.

Out of curiosity, does your installation of recoll index pdf files?

Thanks,
-- Brandan
Back to top
View user's profile Send private message Send e-mail 
muggins

Joined: 20 Jan 2006
Posts: 5879
Location: hobart

PostPosted: Tue 04 Dec 2007, 20:46    Post subject:  

Hi Brandan,

I don't know much about the app! I only uploaded because mdisaster2 mentioned that it was good. But I just downloaded xpdf, to get the pdftotext utility, ran recoll & searched for a string that was in a particular .pdf, & it found it. Isn't this functionality working for you?
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 5879
Location: hobart

PostPosted: Tue 04 Dec 2007, 20:52    Post subject:  

Back in your original post,

http://www.murga-linux.com/puppy/viewtopic.php?t=23964

I mentioned that Turma wasn't finding strings within .pdf's, but I just ran it again &, oddly, it does now. Maybe I had a typo in my previous try?
Back to top
View user's profile Send private message 
Branarchist

Joined: 27 Nov 2007
Posts: 7

PostPosted: Thu 06 Dec 2007, 14:24    Post subject: I'll try a full rebuild.  

Hey Muggins:

Thanks for the help. I'm going to do a full reinstall from scratch to make sure that everything was added in the right order, and I've been studying Recoll's configuration files to make sure that the right pdftotext filter is in place. And if none of that works, I can always just use a script to convert all the .pdf files in that directory into text files.

Peace,
-- Brandan
Back to top
View user's profile Send private message Send e-mail 
muggins

Joined: 20 Jan 2006
Posts: 5879
Location: hobart

PostPosted: Wed 28 May 2008, 07:20    Post subject:  

upgraded to v1.10.2
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 555
Location: Ukraine

PostPosted: Thu 29 May 2008, 05:26    Post subject:  

Dear muggins,

Thanks for Recoll. It works nicely in 3.01. I would caution users with little disk space or RAM not to use it, however, since, in my case it created indexes in /root/.recoll that were 268 MB with a few partitions mounted. For me it doesn't matter, since I have plenty of space on my disk. For others, it might.

With kind regards,
vovchik
Back to top
View user's profile Send private message 
RR Koothady

Joined: 22 Jul 2006
Posts: 247
Location: Coimbatore, India

PostPosted: Thu 05 Jun 2008, 05:04    Post subject:  

Dear muggins

Thanks for RECOLL. It works wonderfully in my remastered Puppy 3.01. However, since this is a qt based program, it does not accept SCIM input.

We have been trying hard in the following thread [url]http://www.murga-linux.com/puppy/viewtopic.php?t=27967 [/url]to compile a SCIM friendly Puppy. [SCIM can be compiled for qt apps but we have succeeded only with GTK apps].

We have compiled and tried SearchMonkey (based on Beagle). It accepts SCIM input but it does not support UTF-8 at present.

The only text search tool that meets our requirement currently is "Google Desktop Search". But we are reluctant to use its as it is a closed source program.

The other candidate is meta Tracker. [url]http://www.gnome.org/projects/tracker/ [/url]

This program is used in Ubuntu and is said to accept SCIM input and is UTF-8 friendly. However, we have not been able to compile it for Puppy successfully - so far.

Can you help us with a .pet of this program?

Thanks in advance.

Ramesh
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 5879
Location: hobart

PostPosted: Fri 06 Jun 2008, 00:39    Post subject:  

Hello Ramesh,

tracker brings it's own set of compilation problems. It needs gmime, but won't see gmime if I use a too recent version! Use older version & it's OK. Then complains that glib version on pup3 not new enough. Pup4 is OK. I've managed to compile for pup4, and it will probably work for pup3, but be mindful that there is no gui interface, as this has gnome dependencies. Also, I saw one warning about the need for sqlite to be compiled with thread-safe parameter...(at least I think that's what it was because I've been unable to track the reference down again!)

Anyway, I managed to get it compiled with pup4, but I'm not very happy about it, as strange things are happening to various applications! Either, in my efforts to satisfy it's dependencies I've mangled something, or that reference to sqlite needing particular compilation parameters is biting me.

If, after all this, you want me to pm you the gzipped result, let me know.
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 5879
Location: hobart

PostPosted: Fri 06 Jun 2008, 00:40    Post subject:  

What about python-based catfish?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [18 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
hot copy
[ Time: 0.8969s ][ Queries: 10 (0.2416s) ][ Debug on ]