Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171271 - New ebuild: app-misc/recoll-1.16.0
Summary: New ebuild: app-misc/recoll-1.16.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 2 votes (vote)
Assignee: Markos Chandras (RETIRED)
URL: http://www.recoll.org
Whiteboard:
Keywords: EBUILD, REVIEWED
: 120214 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-17 18:20 UTC by Richard Hartmann
Modified: 2011-09-26 20:00 UTC (History)
15 users (show)

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


Attachments
recoll-1.81 ebuild (recoll-1.8.1.ebuild,666 bytes, text/plain)
2007-03-17 18:21 UTC, Richard Hartmann
Details
ebuild (recoll-1.8.1.ebuild,2.92 KB, text/plain)
2007-05-07 13:20 UTC, Axel Mueller
Details
Version update (recoll-1.10.0.ebuild,2.84 KB, text/plain)
2007-12-10 19:08 UTC, Valery Novikov
Details
kde-misc/recoll-applet/ (recoll-applet-1.10.0.ebuild,486 bytes, text/plain)
2008-03-01 04:12 UTC, Ilya Kashirin
Details
Updated recoll ebuild. Added some missing dependencies (recoll-1.10.6.ebuild,2.92 KB, text/plain)
2008-09-27 15:15 UTC, Bjoern Thorwirth
Details
Fixed a typo (recoll-1.10.6.ebuild,2.92 KB, text/plain)
2008-09-27 15:21 UTC, Bjoern Thorwirth
Details
recoll-1.12.0.ebuild (recoll-1.12.0.ebuild,3.34 KB, text/plain)
2009-02-13 08:10 UTC, Ilya Kashirin
Details
updated ebuild (recoll-1.12.0-r1.ebuild,3.34 KB, text/plain)
2009-02-25 15:01 UTC, mephinet
Details
recoll-1.12.1.ebuild (recoll-1.12.1.ebuild,3.27 KB, text/plain)
2009-10-11 20:40 UTC, mephinet
Details
Failed build.log for recoll-1.12.1 (build.log,71.35 KB, text/plain)
2009-11-19 03:15 UTC, dE
Details
fix recoll-1.12.1 detecting qt3 over qt4 (recoll-1.12.1-fix-detect-qt4.patch,702 bytes, patch)
2009-11-19 20:37 UTC, Israel G. Lugo
Details | Diff
fix recoll-1.12.3 preferring Qt3 over Qt4 (recoll-1.12.3-detect-qt4.patch,838 bytes, patch)
2009-11-30 00:41 UTC, Israel G. Lugo
Details | Diff
recoll-1.12.3 ebuild (recoll-1.12.3.ebuild,4.31 KB, text/plain)
2009-11-30 00:46 UTC, Israel G. Lugo
Details
updated ebuild for recoll 1.12.3 (recoll-1.12.3-r1.ebuild,4.31 KB, text/plain)
2009-11-30 15:50 UTC, Israel G. Lugo
Details
build log (app-misc_recoll-1.12.3:20091130-174340.log,101.58 KB, text/plain)
2009-11-30 17:54 UTC, Matt
Details
new configure options, fix installation of cmdline tool, fix build errors (recoll-1.13.02-gentoo1.patch,4.54 KB, patch)
2010-01-30 22:28 UTC, Israel G. Lugo
Details | Diff
recoll-1.13.02 ebuild (recoll-1.13.02.ebuild,5.53 KB, text/plain)
2010-01-30 22:53 UTC, Israel G. Lugo
Details
new x11mon configure option, fix installation of cmdline tool (recoll-1.13.04-gentoo1.patch,4.08 KB, patch)
2010-04-18 13:34 UTC, Israel G. Lugo
Details | Diff
recoll-1.13.04 ebuild (recoll-1.13.04.ebuild,5.28 KB, text/plain)
2010-04-18 13:38 UTC, Israel G. Lugo
Details
recoll-1.13.04-r1 ebuild (recoll-1.13.04-r1.ebuild,4.96 KB, text/plain)
2010-07-11 17:37 UTC, Israel G. Lugo
Details
Ebuild for Recoll 1.14.4 (recoll-1.14.4.ebuild,4.79 KB, text/plain)
2011-01-19 16:14 UTC, mephinet
Details
Removed virtual/python dependency, not required on Gentoo. (recoll-1.15.5.ebuild,4.73 KB, text/plain)
2011-05-12 16:32 UTC, dE
Details
recoll-1.15.9.ebuild (recoll-1.15.9.ebuild,5.05 KB, text/plain)
2011-06-23 02:32 UTC, Israel G. Lugo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Hartmann 2007-03-17 18:20:40 UTC
Please find attached recoll-1.8.1.ebuild, a full text search application.

I prefer it over applications like beagle, because it needs way less
dependencies.

I suggest app-misc/recoll as a its category. This ebuild depends on xapian, catdoc and qt3.
Comment 1 Richard Hartmann 2007-03-17 18:21:42 UTC
Created attachment 113595 [details]
recoll-1.81 ebuild
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-17 21:11:23 UTC
*** Bug 120214 has been marked as a duplicate of this bug. ***
Comment 3 Axel Mueller 2007-05-07 13:20:56 UTC
Created attachment 118446 [details]
ebuild

This is a slightly modified version of the ebuild attached to bug #120214

I added  app-text/catdoc as a dependency if the wv USE flag is set. catdoc is needed to inspect *.doc, *.xls and *.ppt (if you have the latest version) files.
Comment 4 Valery Novikov 2007-12-10 19:08:33 UTC
Created attachment 138189 [details]
Version update

Hi to all! Let's test it! :) Recoll is very cool local search tool, support many document formants and looks user friendly.

It works fine with multilanguage documents. (i use it for russian and english documents)
Comment 5 Ilya Kashirin 2008-03-01 04:12:19 UTC
Created attachment 144986 [details]
kde-misc/recoll-applet/
Comment 6 Ilya Kashirin 2008-03-01 04:13:25 UTC
recoll-applet is KDE kicker applet to start a Recoll search from the KDE toolbar
Comment 7 Bjoern Thorwirth 2008-09-27 15:15:43 UTC
Created attachment 166596 [details]
Updated recoll ebuild. Added some missing dependencies

I added some dependencies and updated the version. May be this dependencies should be connected to udesflags as well.

regards bjoern
Comment 8 Bjoern Thorwirth 2008-09-27 15:19:06 UTC
I forgott to mention, that i changed the dependency from the deprecated tetex to texlive-core. It contains the required dvips, too.

regards Björn Thorwirth
Comment 9 Bjoern Thorwirth 2008-09-27 15:21:46 UTC
Created attachment 166598 [details]
Fixed a typo
Comment 10 Bjoern Thorwirth 2009-02-12 06:18:16 UTC
new Version 1.12.0. it seems to be sufficient to rename the ebuild 
Comment 11 Ilya Kashirin 2009-02-13 08:10:27 UTC
Created attachment 181846 [details]
recoll-1.12.0.ebuild
Comment 12 Ilya Kashirin 2009-02-13 08:13:14 UTC
Comment on attachment 181846 [details]
recoll-1.12.0.ebuild

Renamed some USE-flags, added USE-flags: pics, rtf
Fixed depndecies: To parse ODF needs app-arch/unzip
Comment 13 mephinet 2009-02-25 15:01:03 UTC
Created attachment 183148 [details]
updated ebuild

Two small fixes to the latest ebuild:
* typo fixed in IUSE: xsl -> xls
* virtual/tetex -> virtual/latex-base, see #222501
Comment 14 Ilya Kashirin 2009-02-25 15:11:19 UTC
Also rename "pics" in "exif" at USE and RDEPEND
Comment 15 Matt 2009-07-11 15:20:41 UTC
thanks for those version-bumps, guys !
Comment 16 mephinet 2009-10-11 20:40:57 UTC
Created attachment 206807 [details]
recoll-1.12.1.ebuild

Bugfix version 1.12.1 is out. I updated the ebuild and tried to change some use flags to names that are already used by some other packages...
Comment 17 Matt 2009-10-24 18:05:52 UTC
(In reply to comment #16)
> Created an attachment (id=206807) [details]
> recoll-1.12.1.ebuild
> 
> Bugfix version 1.12.1 is out. I updated the ebuild and tried to change some use
> flags to names that are already used by some other packages...
> 

thanks for the updated ebuild ! :)
Comment 18 dE 2009-11-11 11:23:43 UTC
But why isn't this in the repositories?
Comment 19 mephinet 2009-11-11 11:49:47 UTC
Because there is no Gentoo maintainer for this package.
Comment 20 dE 2009-11-13 07:33:55 UTC
Oh...ok.
Comment 21 Israel G. Lugo 2009-11-15 23:19:45 UTC
(In reply to comment #19)
> Because there is no Gentoo maintainer for this package.
> 

I would like to volunteer to maintain the package... I am a developer myself, very experienced in C, although not so much with C++. I've dealt a few times with the upstream developer, he is quite receptive to feedback and patches. I take it maintainership would entail creating new ebuilds as new upstream versions came out, noting dependencies and the like, watching for bugs, and working with upstream to get them fixed, yes?

Being a long time Gentoo user, I would certainly like to contribute in some way. I imagine becoming an actual Gentoo-dev would be more complicated, but I've read a gentoo-dev post ( http://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg36336.html ) where the concept of proxy maintainership was mentioned. Perhaps something like that would be feasible?
Comment 22 dE 2009-11-18 07:43:51 UTC
Humm...thanks we are all in need (the users).
Comment 23 dE 2009-11-19 03:13:10 UTC
recoll-1.12.1 fails to build on amd64

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-4730.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
A: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
R: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
C: /usr/qt/3/bin/uic advsearch.ui -i advsearch.h -o .ui/advsearch.cpp 

F: open_wr
S: deny
P: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
A: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
R: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
C: /usr/qt/3/bin/uic spell.ui -i spell.h -o .ui/spell.cpp 

F: open_wr
S: deny
P: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
A: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
R: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
C: /usr/qt/3/bin/uic sort.ui -i sort.h -o .ui/sort.cpp 

F: open_wr
S: deny
P: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
A: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
R: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
C: /usr/qt/3/bin/uic ssearchb.ui -i ssearchb.h -o .ui/ssearchb.cpp 

F: open_wr
S: deny
P: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
A: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
R: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
C: /usr/qt/3/bin/uic uiprefs.ui -i uiprefs.h -o .ui/uiprefs.cpp 

F: open_wr
S: deny
P: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
A: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
R: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
C: /usr/qt/3/bin/uic viewaction.ui -i viewaction.h -o .ui/viewaction.cpp 

F: open_wr
S: deny
P: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
A: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
R: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
C: /usr/qt/3/bin/uic rclmain.ui -i rclmain.h -o .ui/rclmain.cpp 
--------------------------------------------------------------------------------

>>> Failed to emerge app-office/recoll-1.12.1, Log file:

>>>  '/var/tmp/portage/app-office/recoll-1.12.1/temp/build.log'




I've attached build.log
Comment 24 dE 2009-11-19 03:15:09 UTC
Created attachment 210592 [details]
Failed build.log for recoll-1.12.1
Comment 25 dE 2009-11-19 04:15:01 UTC
But recoll-1.10.6.ebuild compiles successfully.
Comment 26 Israel G. Lugo 2009-11-19 20:35:54 UTC
(In reply to comment #23)
> recoll-1.12.1 fails to build on amd64
> 
I have encountered the same bug as well. There is some problem in the way recoll builds against Qt3. I worked around the bug by making it use Qt4 -- I had both installed, and I prefer that it uses Qt4 anyway.

The problem is that, due to another bug, recoll's configuration does not detect Qt4 in Gentoo if Qt3 is installed as well. I have already submitted a patch upstream which fixes the problem; it was accepted and will be in the next release.

In the meantime, if you do have both Qt3 and Qt4, you can avoid the problem like me. You only need to fix the configure script so that it detects Qt4. I will attach a patch that fixes the recoll-1.12.1 source. Unfortunately, you will need to patch the source manually for now. Next week I should be able to host the patch and provide an updated ebuild that does everything automatically.

As a quick guide, to apply the patch manually you need to download the patch then run the following commands:
# ebuild /path/to/recoll-1.12.1.ebuild unpack
# cd /var/tmp/portage/app-misc/recoll-1.12.1/work/recoll-1.12.1
# patch -p1 < /path/to/recoll-1.12.1-fix-detect-qt4.patch
# cd ~
# ebuild /path/to/recoll-1.12.1.ebuild qmerge

After these steps, the package should be emerged and working as normal.
Comment 27 Israel G. Lugo 2009-11-19 20:37:04 UTC
Created attachment 210639 [details, diff]
fix recoll-1.12.1 detecting qt3 over qt4

See above comment.
Comment 28 dE 2009-11-20 06:29:54 UTC
ebuild /usr/local/portage/app-office/recoll/recoll-1.12.1.ebuild qmerge results in - 

>>> Existing ${T}/environment for 'recoll-1.12.1' will be sourced. Run
>>> 'clean' to start with a fresh environment.
 * recoll-1.12.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                       [ ok ]
 * checking auxfile checksums ;-) ...                                                                      [ ok ]
 * checking miscfile checksums ;-) ...                                                                     [ ok ]
 * checking recoll-1.12.1.tar.gz ;-) ...                                                                   [ ok ]
!!! mydo=qmerge, but the install phase has not been run



On emerging it shows the same error...notice emerge unpacks the sources again to /var/tmp/portage/app-office/recoll-1.12.1/work/recoll-1.12.1 overwriting the previously extracted and patched sources.

I had to manually compile recoll from /var/tmp/portage/app-office/recoll-1.12.1/work/recoll-1.12.1 to install it i.e it's not listed in portage as installed although it actually is.
Comment 29 Israel G. Lugo 2009-11-20 14:39:02 UTC
(In reply to comment #28)
> 
> >>> Existing ${T}/environment for 'recoll-1.12.1' will be sourced. Run
> >>> 'clean' to start with a fresh environment.
>  * recoll-1.12.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                        
>                            [ ok ]
>  * checking ebuild checksums ;-) ...                                           
>                            [ ok ]
>  * checking auxfile checksums ;-) ...                                          
>                            [ ok ]
>  * checking miscfile checksums ;-) ...                                         
>                            [ ok ]
>  * checking recoll-1.12.1.tar.gz ;-) ...                                       
>                            [ ok ]
> !!! mydo=qmerge, but the install phase has not been run

My apologies. I don't have a Gentoo box in which I can run tests right now so I didn't test the above procedure.

Fortunately, the problem is easily fixed. I was only trying to save you some typing, by telling ebuild to do the qmerge directly instead of doing all the steps one by one. Normally, a given step would execute the ones before it (e.g. install executes compile, etc). However, it seems qmerge doesn't necessarily execute install.

The following is the full procedure. It will work:
# ebuild /path/to/recoll-1.12.1.ebuild clean
# ebuild /path/to/recoll-1.12.1.ebuild setup
# ebuild /path/to/recoll-1.12.1.ebuild unpack
# cd /var/tmp/portage/app-misc/recoll-1.12.1/work/recoll-1.12.1
# patch -p1 < /path/to/recoll-1.12.1-fix-detect-qt4.patch
# cd ~
# ebuild /path/to/recoll-1.12.1.ebuild compile
# ebuild /path/to/recoll-1.12.1.ebuild install
# ebuild /path/to/recoll-1.12.1.ebuild qmerge

The "clean" step is only there to cleanup any possible leftover files from your previous failed attempt to emerge the package. There is no harm in running it, even if you already rm'ed /var/tmp/portage/recoll-1.12.1.

The procedure should also work if, after doing the patch, you do "ebuild /path/to/recoll-1.12.1.ebuild merge" (notice there is no "q"). This is simply to save time and typing. But the full procedure above will work.

> On emerging it shows the same error...notice emerge unpacks the sources again
> to /var/tmp/portage/app-office/recoll-1.12.1/work/recoll-1.12.1 overwriting the
> previously extracted and patched sources.

If you do a normal emerge, then yes, Portage will start fresh and remove all the manual changes, so you want to use the incremental procedure above.

If you do it step by step, as described above, Portage will not overwrite the old sources. Notice where it says:
> >>> Existing ${T}/environment for 'recoll-1.12.1' will be sourced. Run
> >>> 'clean' to start with a fresh environment.

On each successive step in the procedure, Portage is smart enough to notice that files already exist from the last step, so it won't overwrite them.

Note that my patch only makes it so that recoll detects Qt4 instead of Qt3 (if both are installed). If you only have Qt3 installed (and not Qt4), you will still get the compiler error. Odds are you do have Qt4, though, since most recent software needs it (including KDE4, for example).

Again, next week I will be back home and will update this bug with a new and complete ebuild, that does everything by itself including the patch. I'll do it for version 1.12.3, which is what I have installed and working at home.

Please let me know if all went well.
Comment 30 dE 2009-11-20 15:53:56 UTC
Yes, I have qt4 installed, although my use flags both state -qt3 and -qt4.

Thanks!...the installation worked flawlessly.


Also thanks for the good explanation...I'll surely use them.
Comment 31 Israel G. Lugo 2009-11-20 18:36:54 UTC
(In reply to comment #30)
> Yes, I have qt4 installed, although my use flags both state -qt3 and -qt4.

Oh, recoll requires Qt to function, it's a hard dependency. It would be nice for the ebuild to honor the use flags when it comes to choosing between qt3 or qt4, though (e.g. if you have both installed, which one do you want to use).

I'll work on that for a future ebuild.


> Thanks!...the installation worked flawlessly.
> 
> 
> Also thanks for the good explanation...I'll surely use them.

Glad to hear that everything worked out all right; happy to be of help :)

On another note, I've found the problem with building against Qt3. It's not a recoll bug, but rather a bug in the ebuild itself. It seems this particular sandbox violation is a normal part of Qt3 builds; it's accounted-for in the qt3 eclass, which this ebuild should be inheriting. I'll try and take care of that too before I post the updated ebuild.
Comment 32 Israel G. Lugo 2009-11-30 00:41:21 UTC
Created attachment 211547 [details, diff]
fix recoll-1.12.3 preferring Qt3 over Qt4

Required by the recoll-1.12.3 ebuild, which I will upload next.
Comment 33 Israel G. Lugo 2009-11-30 00:46:03 UTC
Created attachment 211548 [details]
recoll-1.12.3 ebuild

Version bump to recoll 1.12.3.

Ebuild now builds and installs properly with Qt3 (fixes bug reported by dE in comment 23 ).

Added several unlisted dependencies to the dependencies list; it should now be complete.

New USE flags:
inotify - use inotify for real-time indexing of modified files
spell - enable term expansion to other spellings (requires aspell)
qt3 - enable graphical interface using Qt 3
qt4 - enable graphical interface using Qt 4

When both qt3 and qt4 USE flags are enabled then qt4 has priority over qt3. If none of them are enabled, then the Qt vrsion is autodetected (preference given to Qt4 in case both exist).

When both inotify and fam USE flags are enabled then inotify has priority over fam.

Requires the recoll-1.12.3-detect-qt4.patch file, which is filed in this bug as an attachment. Just save the patch in your local overlay as normal: in the files/ subdirectory, below the recoll-1.12.3.ebuild file. If your local overlay is in /usr/local/portage, you would save the patch in the /usr/local/portage/app-misc/recoll/files/ directory.
Comment 34 Matt 2009-11-30 13:57:55 UTC
thanks for your efforts !

it still uses qt3 when both qt-flags are disabled, enabled qt3-flag only works fine

unfortunately with qt4 enabled it is broken: it doesn't display the search field and the besides that the only content it seems to display are the 3 arrow buttons (which don't work)
Comment 35 mephinet 2009-11-30 14:16:51 UTC
(In reply to comment #33)

> Version bump to recoll 1.12.3.

DPEND should read DEPEND in your ebuild:

RDEPEND="
        ${DPEND}
        app-arch/unzip
...
Comment 36 Israel G. Lugo 2009-11-30 15:50:01 UTC
Created attachment 211594 [details]
updated ebuild for recoll  1.12.3

Fix the typo reported by mephinet in comment 35. Thanks!!
Comment 37 Israel G. Lugo 2009-11-30 16:18:21 UTC
(In reply to comment #34)
> thanks for your efforts !
> 
> it still uses qt3 when both qt-flags are disabled, enabled qt3-flag only works
> fine
Curious... there must be something different between your setup and mine. Can you please tell me where your Qt3 and Qt4 store their qmake? Basically, the output of this command:

# for i in $(which -a qmake); do equery belongs "$i"; done

It would be very nice if you wouldn't mind building with both qt-flags and sending me the generated build.log...

> 
> unfortunately with qt4 enabled it is broken: it doesn't display the search
> field and the besides that the only content it seems to display are the 3 arrow
> buttons (which don't work)

Agh! It works for me, on Qt4 4.5.1, amd64. Can you please tell me which Qt version you have? Maybe an emerge --info too? If you could send me a build.log of when you build with Qt4 too, it might help...

If this is indeed a bug in the program, I can get in touch with upstream about debugging this.
Comment 38 Matt 2009-11-30 17:54:19 UTC
Created attachment 211605 [details]
build log

for i in $(which -a qmake); do equery belongs "$i"; done

 * Searching for /usr/bin/qmake ... 
x11-libs/qt-core-4.6.9999-r1 (/usr/bin/qmake)



emerge --info
WARNING: One or more repositories have missing repo_name entries:

	/usr/gentoo/overlays/gentoo-de/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.
Portage 2.2_rc51 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r0, 2.6.31-zen9_treev x86_64)
=================================================================
System uname: Linux-2.6.31-zen9_treev-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 29 Nov 2009 10:15:02 +0000
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.5.4-r3, 2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.51.0.10, 2.19.51.0.11, 2.19.51.0.13, 2.19.51.0.14, 2.20, 2.20.51.0.1, 2.20.51.0.2, 2.20.51.0.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"


qt version is qt 4.6.9999 (from qting-edge overlay) and should match 4.6 rc1

it built with those flags but the gui shows the already mentioned corruption


without any use-flags (-qt3 -qt4) it would say:

* Checking for suitable kernel configuration options...                  [ ok ]
 * 
 * You are building with pdf support enabled. If you don't already
 * have xpdf on your system and are concerned that Recoll is
 * pulling in not only xpdf, but also unwanted xpdf-dependencies
 * like openmotif, then you should consider building xpdf first,
 * with graphics support disabled.
 * 
>>> Unpacking source...
>>> Unpacking recoll-1.12.3.tar.gz to /var/tmp/portage/app-misc/recoll-1.12.3/work
>>> Source unpacked in /var/tmp/portage/app-misc/recoll-1.12.3/work
>>> Preparing source in /var/tmp/portage/app-misc/recoll-1.12.3/work/recoll-1.12.3 ...
 * Applying recoll-1.12.3-detect-qt4.patch ...                            [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-misc/recoll-1.12.3/work/recoll-1.12.3 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-aspell --disable-xattr --with-inotify --without-fam
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking for aspell... /usr/bin/aspell
configure: enabled support for inotify monitoring
checking for mkdtemp... yes
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking for iconv_open in -liconv... no
checking for iconv_open in -liconv... no
checking for iconv_open in -lc... yes
checking for type of inbuf parameter to iconv... checking for type of string parameter to putenv... checking for xapian-config... /usr/bin/xapian-config
checking for qmake... /usr/qt/3/bin/qmake
configure: using qt version 3 user interface
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for X... libraries /usr/lib64, headers 
checking whether -R must be followed by a space... neither works
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
configure: creating ./config.status
config.status: creating mk/localdefs
config.status: creating recollinstall
config.status: creating Makefile
config.status: creating sampleconf/recoll.conf
config.status: creating qtgui/recoll.pro
config.status: creating common/autoconfig.h
>>> Source configured.
Comment 39 dE 2009-12-02 03:40:19 UTC
Recoll 1.12.3 emerged successfully.
Comment 40 Israel G. Lugo 2009-12-03 00:14:02 UTC
(In reply to comment #38)
> Created an attachment (id=211605) [details]
> build log
> 
> for i in $(which -a qmake); do equery belongs "$i"; done
> 
>  * Searching for /usr/bin/qmake ... 
> x11-libs/qt-core-4.6.9999-r1 (/usr/bin/qmake)

Was that all the output it gave? I would have expected a second entry for /usr/qt/3/bin/qmake (the version which is detected in the build log you copied).

When the qt3 and qt4 useflags are both disabled, the detection is left up to recoll itself. The Qt detection code in recoll is rather intricate, though, since it has to work for many different distributions and possible locations for Qt3/Qt4. It's possible that it still needs some tweaking.

Could you please paste the output of these commands, so I can get some information about your paths and file locations? Thank you.

# which -a qmake
# equery belongs /usr/qt/3/bin/qmake
# echo $PATH
# echo $QTDIR . $QMAKE . $QMAKEPATH

 
> qt version is qt 4.6.9999 (from qting-edge overlay) and should match 4.6 rc1
> 
> it built with those flags but the gui shows the already mentioned corruption

Oh, I see. I have only tested recoll with the stable Qt4 found in official Gentoo repositories (qt 4.5.3). I will forward this problem to the upstream developer; perhaps there is some change in Qt 4.6 that breaks compatibility. I'm afraid I can't make promises about maintaining the stable ebuild to work with external bleeding-edge release candidates, though. As I'm sure you can understand, the priority must be to focus on the stable and official versions.

Many thanks for your feedback.
Comment 41 mephinet 2010-01-28 12:10:53 UTC
Version 1.13.02 is out, it builds with the 1.12.3 ebuild, so
linking the ebuild and the patch to the new name is sufficient.

Comment 42 Israel G. Lugo 2010-01-28 13:28:49 UTC
(In reply to comment #41)
> Version 1.13.02 is out, it builds with the 1.12.3 ebuild, so
> linking the ebuild and the patch to the new name is sufficient.
> 

Version 1.13.x brings in some neat new features, such as the possibility of building without a GUI, among other things. I'm currently working with upstream in order to clarify a few minor issues. I should have an ebuild ready (with new USE flags) in a few days.
Comment 43 Israel G. Lugo 2010-01-30 22:28:32 UTC
Created attachment 217947 [details, diff]
new configure options, fix installation of cmdline tool, fix build errors

Required by the recoll-1.13.02 ebuild, which I will upload next.
Comment 44 Israel G. Lugo 2010-01-30 22:53:14 UTC
Created attachment 217948 [details]
recoll-1.13.02 ebuild

New Recoll version 1.13.02.

USE flags:

# General behavior and functionality
camelcase - Treat camelCase as separate words
fam - Use File Alteration Monitor for real-time indexing of modified files
gui - Build and install graphical user interface
inotify - Use inotify for real-time indexing of modified files
session - Enable X11 session monitoring support in recollindex
spell - Enable term expansion to other spellings (requires aspell)
qt3 - Use Qt version 3.x for the graphical user interface
qt4 - Use Qt version 4.x for the graphical user interface
xattr - Enable fetching metadata from file extended attributes


# File format support
chm - Enable MS Compiled HTML Help indexing support
djvu - Enable DjVu indexing support
dvi - Enable DVI (Device Independent Bitmap) indexing support
exif - Enable image EXIF metadata indexing support
flac - Enable FLAC metadata indexing support
gs - Enable Ghostscript indexing support
ics - Enable iCalendar indexing support
lyx - Enable Lyx indexing support
mp3 - Enable MP3 ID3 tag indexing support
msdoc - Enable MS Word indexing support
msppt - Enable MS Powerpoint indexing support
msxls - Enable Ms Excel indexing support
ogg - Enable Ogg metadata indexing support
pdf - Enable PDF indexing support
rtf - Enable rich text format indexing support
tex - Enable TeX indexing support
wordperfect - Enable wordperfect indexing support
zip - Enable Zip archive indexing support

This ebuild requires only the recoll-1.13.02-gentoo1.patch, which can be found as an attachment to this bug report. Older patches are no longer necessary.
Comment 45 Matt 2010-01-30 23:44:39 UTC
thank your very much for your efforts in updating the ebuilds (and of course the creator of recoll - JFD and the others involved) :)

I just wanted to report that qt4 works fine now ! :) (using qt 4.6.1)

I don't know what fixed it but it works now and that's simply great ! ^^
Comment 46 dE 2010-02-02 13:28:33 UTC
Maybe this should be added to portage now.



Any more votes?
Comment 47 Matt 2010-02-02 13:44:04 UTC
*voted*

it would be really helpful to have this in portage since I use this on a regular basis for study (creating a index of my ebooks and search through them with recoll)

thanks !
Comment 48 dE 2010-02-06 04:44:08 UTC
Yup. Same with my case.
Comment 49 dE 2010-03-01 15:04:26 UTC
However it does not index the contents of CHM files, I've enabled the chm use flag.
Comment 50 dE 2010-03-01 15:06:10 UTC
No no...it's working now.

I re indexed a previous index so it did not update.
Comment 51 Israel G. Lugo 2010-03-01 15:56:03 UTC
I am glad to hear that recoll is working well. Thank you all for your feedback :)

I too would like to see this brought into Portage... I would be perfectly happy to maintain the ebuild. I believe there is an established procedure for this sort of thing, I will try to read up on it.
Comment 52 Israel G. Lugo 2010-04-18 13:34:34 UTC
Created attachment 228267 [details, diff]
new x11mon configure option, fix installation of cmdline tool

new x11mon configure option, fix installation of cmdline tool

Required by the recoll-1.13.04 ebuild, which I will upload next.
Comment 53 Israel G. Lugo 2010-04-18 13:38:26 UTC
Created attachment 228269 [details]
recoll-1.13.04 ebuild

New Recoll version 1.13.04.

Changes in the ebuild:
* Dropped support for qt3, as per http://archives.gentoo.org/gentoo-dev-announce/msg_f295c1c2d9d70238d289de3a7ed5bf5c.xml
* gui use flag no longer exists; the GUI is now enabled through the qt4 flag


USE flags:

# General behavior and functionality
camelcase - Treat camelCase as separate words
fam - Use File Alteration Monitor for real-time indexing of modified files
inotify - Use inotify for real-time indexing of modified files
session - Enable X11 session monitoring support in recollindex
spell - Enable term expansion to other spellings (requires aspell)
qt4 - Build and install graphical user interface, using Qt version 4.x
xattr - Enable fetching metadata from file extended attributes


# File format support
chm - Enable MS Compiled HTML Help indexing support
djvu - Enable DjVu indexing support
dvi - Enable DVI (Device Independent Bitmap) indexing support
exif - Enable image EXIF metadata indexing support
flac - Enable FLAC metadata indexing support
gs - Enable Ghostscript indexing support
ics - Enable iCalendar indexing support
lyx - Enable Lyx indexing support
mp3 - Enable MP3 ID3 tag indexing support
msdoc - Enable MS Word indexing support
msppt - Enable MS Powerpoint indexing support
msxls - Enable Ms Excel indexing support
ogg - Enable Ogg metadata indexing support
pdf - Enable PDF indexing support
rtf - Enable rich text format indexing support
tex - Enable TeX indexing support
wordperfect - Enable wordperfect indexing support
zip - Enable Zip archive indexing support
Comment 54 Israel G. Lugo 2010-07-11 17:37:14 UTC
Created attachment 238331 [details]
recoll-1.13.04-r1 ebuild

Minor update to the dependencies, thanks to David Wallin <david.wallin@gmail.com>:
* depend on Xapian version <1.2
* depend on app-text/poppler instead of app-text/pdf for PDF support (poppler gives us the required pdftotext; xpdf just brings poppler in as a dependency)

If you already have recoll-1.13.04 installed and working fine, it is not necessary to upgrade to this version (unless you want to uninstall xpdf from your system).
Comment 55 dE 2010-07-12 12:44:56 UTC
Yup... thanks. I've been always eying that xpdf which actually never worked.
Comment 56 Jonathan Lovelace 2010-08-19 19:12:20 UTC
It would be helpful if, instead of requiring Xapian version <1.2, the ebuild applied http://bitbucket.org/medoc/recoll/changeset/ca7b5d9eef9b as a second patch. And also if it added the argument "STRIP=/bin/true" to the einstall command, so it doesn't produce pre-stripped binaries.
Comment 57 C W Rose 2010-10-22 08:28:54 UTC
I've been trying to emerge recoll-1.13.04, and it insists on a
run-time linkage with libxapian.so.15.  I haven't ever emerged
this library, it's a clean install of recoll, and I can't find
out where it's getting the name.  Has anyone else seen this?

Will
Comment 58 dE 2010-10-22 12:52:29 UTC
dev-libs/xapian should be a hard dependency, the lib belongs to this package.
Comment 59 Israel G. Lugo 2010-10-22 13:08:40 UTC
(In reply to comment #58)
> dev-libs/xapian should be a hard dependency, the lib belongs to this package.
> 

It is a hard dependency. From recoll-1.13.04-r1.ebuild:

DEPEND="
	virtual/libiconv
	>=dev-libs/xapian-1.0.12
	<dev-libs/xapian-1.2.0
[...]

C W Rose, can you please give some more details about what is happening to you? What error exactly are you getting?
Comment 60 C W Rose 2010-10-25 07:56:01 UTC
It was a run-time error which came up when I tried to start recoll from
a terminal prompt - something like "cannot find libxapian.so.15".  Since
I rely on recoll pretty heavily, I fought the problem for a while and
then moved to 1.14, which compiles and runs with no problems.  1.14.2
will work with the current version of xapian, and has replaced the
various audio dependencies with a single dependency on mutagen, which
is already in portage.  It doesn't seem to need any patches.

Will
Comment 61 mephinet 2010-10-25 08:04:16 UTC
(In reply to comment #60)
> It was a run-time error which came up when I tried to start recoll from
> a terminal prompt - something like "cannot find libxapian.so.15". 

Will, 
as xapian is a build-time dependency, you should definitely have it on board. Have you tried running
$ revdep-rebuild --library libxapian.so.15
Comment 62 dE 2010-10-25 11:34:21 UTC
Do an emerge -pv recoll (of the latest version) and post the output.
Comment 63 Matt 2010-11-30 15:09:44 UTC
(In reply to comment #54)
> Created an attachment (id=238331) [details]
> recoll-1.13.04-r1 ebuild
> 
> Minor update to the dependencies, thanks to David Wallin
> <david.wallin@gmail.com>:
> * depend on Xapian version <1.2
> * depend on app-text/poppler instead of app-text/pdf for PDF support (poppler
> gives us the required pdftotext; xpdf just brings poppler in as a dependency)
> 
> If you already have recoll-1.13.04 installed and working fine, it is not
> necessary to upgrade to this version (unless you want to uninstall xpdf from
> your system).
> 

thanks Isreal ! :)

FYI: recoll 1.14.4 is out 
Comment 64 mephinet 2011-01-19 16:14:11 UTC
(In reply to comment #63)

> FYI: recoll 1.14.4 is out 

The ebuild only needs slight modifications to work for 1.14.4:
* xapian 1.2 is now supported by recoll (which is a good thing, as earlier xapians are no longer in the tree)
* Isreal's patch no longer applies. Isreal, can you please check whether the patch is still necessary - it isn't for my purposes, recoll builds and runs fine without...
Comment 65 mephinet 2011-01-19 16:14:53 UTC
Created attachment 260272 [details]
Ebuild for Recoll 1.14.4
Comment 66 Kete Tefid 2011-01-19 22:27:16 UTC
(In reply to comment #65)
> Created an attachment (id=260272) [details]
> Ebuild for Recoll 1.14.4
> 
And I'm still striving to get a "fully-functional" desktop search index tool to work but in vain.

emerge -pv recoll

Calculating dependencies... done!
[ebuild  N    ] app-misc/recoll-1.14.4  USE="djvu flac inotify mp3 msdoc msppt msxls ogg pdf qt4 rtf session spell xattr -camelcase -chm -dvi -exif -fam -gs -ics -lyx -tex -wordperfect -zip" 0 kB [1]


emerge --info
Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-tuxonice-r3 x86_64)
=================================================================
System uname: Linux-2.6.36-tuxonice-r3-x86_64-AMD_Athlon-tm-_7850_Dual-Core_Processor-with-gentoo-1.12.14
Timestamp of tree: Wed, 19 Jan 2011 20:30:22 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL sun-bcla-java-vm skype-eula dlj-1.1 RTCW-ETEULA AdobeFlash-10.1 AdobeFlash-10"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=amdfam10 -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=amdfam10 -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays"
DISTDIR="/mnt/e/distfiles/"
FEATURES="assume-digests binpkg-logs buildpkg ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms unknown-features-warn unmerge-logs userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-z,now,--as-needed,-O1,--hash-style=gnu,--sort-common"
LINGUAS="en ar fa"
MAKEOPTS="-j3"
PKGDIR="/mnt/e/GentooPackages/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/zugaina /var/lib/layman/dotnet /var/lib/layman/games /var/lib/layman/gnome /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3gp X a52 aac aalib acc acl acpi acpid alsa amd64 amr apache2 applet archive ares asf audacious autoipd automount avahi avi beagle berkdb bidi bmp bonjour bookmarks browserplugin bttv bzip2 cairo cd cdda cddax cddb cdio cdparanoia cdr cli consolekit cpudetection cracklib crypt cups cxx dbus dhcpcd dia directfb divx4linux djvu dmix docbook dot dts dv dvb dvd dvdnav dvdr dxr3 encode esd evdev excel extras fa faac faad farsi fasttrack fbcon fbcondecor fbsplash ffmpeg firefox flac flash flashplayer fltk fontconfig fortran fortran95 freetype fuse galago gd gdbm gdu gif gmp gnome gnome-keyring gnutella gnutls gpm gstreamer gtk gtk2 h323 hal html httpd iconv id3tag imagemagick ioplug iplayer ipv6 java java6 javascript jpeg jpeg2k jpg lame latex lcms libnotify lirc live m4a mad matroska mid mjpeg mmx mmxext modules mov mozilla mp3 mp4 mpeg mpg mudflap multilib mysql nautilus ncurses network networkmanager new-login nfs nls nptl nptlonly nsplugin nvidia ogg oggvorbis ogm openal opencore-amr openft opengl openmp oss pam pcre pdf perl persian php pipechan plug png pnm policykit pppd projectm proxy ps python qt3support quicktime ra ram rar rcs readline rm rtf samba sdl session sip slp smp socks socks5 spell sqlite sse sse2 ssl static-libs stream svg svn symlink sysfs taglib tcpd theora tiff tk tracker truetype udev unicode unrar usb v4l vcd vcdinfo vcdx vdpau vlm vorbis wav wavpack wma wmf wmv wxwindows x264 xanim xattr xcb xine xml xmms xorg xpm xulrunner xv xvid xvmc yahoo youtube zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="stv0680" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ar fa" LIRC_DEVICES="pctv" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="gt68xx" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



emerge recoll

>>> Emerging (1 of 1) app-misc/recoll-1.14.4 from local_overlay
 * recoll-1.14.4.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                               [ ok ]
 * Package:    app-misc/recoll-1.14.4
 * Repository: local_overlay
 * USE:  amd64 djvu elibc_glibc flac inotify kernel_linux mp3 msdoc msppt msxls multilib ogg pdf qt4 rtf session spell userland_GNU xattr
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.36-tuxonice-r3/build
 * Found sources for kernel version:
 *     2.6.36-tuxonice-r3
 * Checking for suitable kernel configuration options...                                                                                                                                                                              [ ok ]
>>> Unpacking source...
>>> Unpacking recoll-1.14.4.tar.gz to /var/tmp/portage/app-misc/recoll-1.14.4/work
>>> Source unpacked in /var/tmp/portage/app-misc/recoll-1.14.4/work
>>> Preparing source in /var/tmp/portage/app-misc/recoll-1.14.4/work/recoll-1.14.4 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-misc/recoll-1.14.4/work/recoll-1.14.4 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-aspell --enable-xattr --with-inotify --enable-qtgui --disable-camelcase --enable-x11mon --without-fam QMAKEPATH=/usr/bin/qmake
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking for file... /usr/bin/file
checking for aspell... /usr/bin/aspell
configure: enabled support for inotify monitoring
checking for mkdtemp... yes
checking for iconv_open in -liconv... no
checking for iconv_open in -liconv... no
checking for iconv_open in -liconv... no
checking for iconv_open in -lc... yes
checking for type of inbuf parameter to iconv... checking for type of string parameter to putenv... checking for xapian-config... /usr/bin/xapian-config
checking for qmake... /usr/bin/qmake
configure: using qt version 4 user interface
checking for uic3... NOTFOUND
configure: error: Cannot find the uic3 program. Maybe you need to add
      the qt3 compatibility libraries and tools to your qt4 installation ?


Comment 67 Kete Tefid 2011-01-19 22:29:56 UTC
(In reply to comment #65)
> Created an attachment (id=260272) [details]
> Ebuild for Recoll 1.14.4
> 

These are the packages it has built. And it does have qt3support.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-libs/xapian-1.2.3  3,766 kB [0]
[ebuild  N    ] app-text/unrtf-0.20.1  0 kB [0]
[ebuild  N    ] app-text/antiword-0.37  USE="-kde" 312 kB [0]
[ebuild  N    ] app-text/catdoc-0.94.2  USE="tk" 143 kB [0]
[ebuild   R   ] x11-libs/qt-core-4.6.3  USE="exceptions glib iconv qt3support* ssl (-aqua) -debug -doc -optimized-qmake -pch" 0 kB [0]
[ebuild   R   ] x11-libs/qt-gui-4.6.3-r2  USE="accessibility cups dbus exceptions glib gtk qt3support* tiff (-aqua) -debug -mng -nas -nis -pch -raster -trace -xinerama" 0 kB [0]
[ebuild  N    ] x11-libs/qt-sql-4.6.3-r2  USE="exceptions iconv mysql qt3support sqlite (-aqua) -debug (-firebird) -freetds -odbc -pch -postgres" 0 kB [0]
[ebuild  N    ] app-misc/recoll-1.14.4  USE="djvu flac inotify mp3 msdoc msppt msxls ogg pdf qt4 rtf session spell xattr -camelcase -chm -dvi -exif -fam -gs -ics -lyx -tex -wordperfect -zip" 0 kB [1]
[ebuild  N    ] x11-libs/qt-qt3support-4.6.3  USE="accessibility exceptions (-aqua) -debug -kde -pch -phonon" 0 kB [0]
Comment 68 Matt 2011-01-19 22:38:45 UTC
well:

equery b uic3
 * Searching for uic3 ... 
x11-libs/qt-qt3support-4.7.1 (/usr/bin/uic3)

so you might need to re-build that


Installed versions:  4.7.1(4)(08:59:40 AM 12/16/2010)(accessibility kde phonon -aqua -debug -exceptions -pch)
Comment 69 Matt 2011-02-18 17:08:13 UTC
does the ebuild also work with the latest recoll-release 1.15.2 ?

the search results seem to be significantly improved (especially with the reduction of duplicates)
Comment 70 dE 2011-02-20 09:01:42 UTC
(In reply to comment #69)
> does the ebuild also work with the latest recoll-release 1.15.2 ?
> 
> the search results seem to be significantly improved (especially with the
> reduction of duplicates)
> 

Humm... the last made ebuild simply goes over my head. Any volunteers to make a new ebuild off the old one?
Comment 71 Matt 2011-02-20 11:25:15 UTC
(In reply to comment #70)
> (In reply to comment #69)
> > does the ebuild also work with the latest recoll-release 1.15.2 ?
> > 
> > the search results seem to be significantly improved (especially with the
> > reduction of duplicates)
> > 
> 
> Humm... the last made ebuild simply goes over my head. Any volunteers to make a
> new ebuild off the old one?
> 

simply bumping the ebuild to 1.15.2 and then emerging with qt4 useflag enabled seemed to work fine :)

the only change to be made should be to make qt4 permanent (there's no qt3 gui anymore)
Comment 72 dE 2011-02-20 13:37:46 UTC
(In reply to comment #71)
> (In reply to comment #70)
> > (In reply to comment #69)
> > > does the ebuild also work with the latest recoll-release 1.15.2 ?
> > > 
> > > the search results seem to be significantly improved (especially with the
> > > reduction of duplicates)
> > > 
> > 
> > Humm... the last made ebuild simply goes over my head. Any volunteers to make a
> > new ebuild off the old one?
> > 
> 
> simply bumping the ebuild to 1.15.2 and then emerging with qt4 useflag enabled
> seemed to work fine :)
> 
> the only change to be made should be to make qt4 permanent (there's no qt3 gui
> anymore)
> 

Can you attach the ebuild with the fixes?
Comment 73 Matt 2011-02-20 14:42:27 UTC
(In reply to comment #72)
> (In reply to comment #71)
> > (In reply to comment #70)
> > > (In reply to comment #69)
> > > > does the ebuild also work with the latest recoll-release 1.15.2 ?
> > > > 
> > > > the search results seem to be significantly improved (especially with the
> > > > reduction of duplicates)
> > > > 
> > > 
> > > Humm... the last made ebuild simply goes over my head. Any volunteers to make a
> > > new ebuild off the old one?
> > > 
> > 
> > simply bumping the ebuild to 1.15.2 and then emerging with qt4 useflag enabled
> > seemed to work fine :)
> > 
> > the only change to be made should be to make qt4 permanent (there's no qt3 gui
> > anymore)
> > 
> 
> Can you attach the ebuild with the fixes?
> 

there are none:

diff recoll-1.14.4.ebuild recoll-1.15.2.ebuild

shows nothing for me :)


like I said/wrote:

it's just a version bump &

if you have qt4 use-flag enabled nothing should change and it'll emerge fine 
Comment 74 Kete Tefid 2011-03-04 16:53:52 UTC
recoll 1.15.5 is out!
Just rename the ebuild and you're done. Please upgrade to this version since it removes some annoying bugs and crashes.
Comment 75 Adam 2011-05-12 09:02:50 UTC
emerge recoll

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "virtual/python".
(dependency required by "app-misc/recoll-1.14.4[-ics,-chm,zip]" [ebuild])
(dependency required by "recoll" [argument])
Comment 76 dE 2011-05-12 16:32:33 UTC
Created attachment 272949 [details]
Removed virtual/python dependency, not required on Gentoo.
Comment 77 Adam 2011-05-12 21:46:03 UTC
Thank you!
Comment 78 Israel G. Lugo 2011-06-23 02:23:09 UTC
(In reply to comment #64)
> 
> The ebuild only needs slight modifications to work for 1.14.4:
> * xapian 1.2 is now supported by recoll (which is a good thing, as earlier
> xapians are no longer in the tree)
> * Isreal's patch no longer applies. Isreal, can you please check whether the
> patch is still necessary - it isn't for my purposes, recoll builds and runs
> fine without...

Apologies for the long delay. Indeed my patch is no longer necessary; my changes were integrated upstream as of version 1.14.
Comment 79 Israel G. Lugo 2011-06-23 02:32:22 UTC
Created attachment 277845 [details]
recoll-1.15.9.ebuild

New Recoll version 1.15.9.

Changes in the ebuild from version 1.14.4:
* FLAC, MP3 and Ogg support share the same dependencies now; their respective USE flags have been condensed into a new audio USE flag;
* New xml USE flag (see description below)
* New info USE flag (see description below)
* Properly print informational messages after installation. New informational messages detailing potential upgrade caveats.


USE flags:

# General behavior and functionality
camelcase - Treat camelCase as separate words
fam - Use File Alteration Monitor for real-time indexing of modified files
inotify - Use inotify for real-time indexing of modified files
session - Enable X11 session monitoring support in recollindex
spell - Enable term expansion to other spellings (requires aspell)
qt4 - Build and install graphical user interface, using Qt version 4.x
xattr - Enable fetching metadata from file extended attributes


# File format support 
# (These only alter dependencies to install the required helper packages;
# any helper packages installed manually at a later time will still be used
# automatically, even if the respective USE flag is disabled)
audio - MP3, FLAC, Ogg metadata indexing support
chm - MS Compiled HTML Help indexing support
djvu - DjVu indexing support
dvi - DVI (Device Independent Bitmap) indexing support
exif - Image EXIF metadata indexing support
gs - Ghostscript indexing support
ics - iCalendar indexing support
info - GNU Info indexing support
lyx - Lyx indexing support
msdoc - MS Word indexing support
msppt - MS Powerpoint indexing support
msxls - Ms Excel indexing support
pdf - PDF indexing support
rtf - rich text format indexing support
tex - TeX indexing support
wordperfect - Wordperfect indexing support
xml - Indexing support for several XML-based formats (Abiword, FictionBook, Kword, Office OpenXML, OpenDocument, SVG) using libxslt
Comment 80 dE 2011-06-24 12:41:34 UTC
Thanks for the ebuild.
Comment 81 dE 2011-06-24 14:04:26 UTC
Also who's providing the ebuild in the BGO overlay... anyone from here...?

@Israel G. Lugo 

Did you try to get your ebuild to sunrise overlay?
Comment 82 mephinet 2011-09-26 08:19:07 UTC
We finally have a maintainer! :-)
Comment 83 dE 2011-09-26 15:53:58 UTC
Where?
Comment 84 mephinet 2011-09-26 16:04:49 UTC
The ticket has been assigned - to Markos Chandras.
Comment 85 Markos Chandras (RETIRED) gentoo-dev 2011-09-26 20:00:13 UTC
1.16.0 is in portage but masked for broader testing since the ebuild and the application are a bit complicated to be tested by a single person (me). Thank you all for your contribution