|
a/src/README |
|
b/src/README |
|
... |
|
... |
391 |
|
391 |
|
392 |
----------------------------------------------------------------------
|
392 |
----------------------------------------------------------------------
|
393 |
|
393 |
|
394 |
4.1.2. Building
|
394 |
4.1.2. Building
|
395 |
|
395 |
|
396 |
Recoll has been built on Linux (redhat7.3, mandriva 2005), FreeBSD and
|
396 |
Recoll has been built on Linux (redhat7.3, mandriva 2005, Fedora Core 3),
|
397 |
Solaris 8. If you build on another system, I would very much welcome
|
397 |
FreeBSD and Solaris 8. If you build on another system, I would very much
|
398 |
patches.
|
398 |
welcome patches.
|
|
|
399 |
|
|
|
400 |
Depending on the qt configuration on your system, you may have to set the
|
|
|
401 |
QTDIR and QMAKESPECS variables in your environment:
|
|
|
402 |
|
|
|
403 |
* QTDIR should point to the directory above the one that holds the qt
|
|
|
404 |
include files (ie: qt.h).
|
|
|
405 |
|
|
|
406 |
* QMAKESPECS should be set to the name of one of the qt mkspecs
|
|
|
407 |
subdirectories (ie: linux-g++).
|
|
|
408 |
|
|
|
409 |
On many Linux systems, QTDIR is set by the login scripts, and QMAKESPECS
|
|
|
410 |
is not needed because there is a default link in mkspecs/.
|
|
|
411 |
|
|
|
412 |
The Recoll configure script does a better job of checking these variables
|
|
|
413 |
after release 1.1.1. Before this, unexplained errors will occur during
|
|
|
414 |
compilation if the environment is not set up. Also, for 1.1.0 the qmake
|
|
|
415 |
command should be in your PATH (later releases can also find it in
|
|
|
416 |
$QTDIR/bin).
|
399 |
|
417 |
|
400 |
Normal procedure:
|
418 |
Normal procedure:
|
401 |
|
419 |
|
402 |
cd recoll-xxx
|
420 |
cd recoll-xxx
|
403 |
configure
|
421 |
configure
|
|
... |
|
... |
524 |
the default file is:
|
542 |
the default file is:
|
525 |
|
543 |
|
526 |
*~ #* bin CVS Cache caughtspam tmp
|
544 |
*~ #* bin CVS Cache caughtspam tmp
|
527 |
|
545 |
|
528 |
The list can be redefined for subdirectories, but is only actually
|
546 |
The list can be redefined for subdirectories, but is only actually
|
529 |
changed for the top level ones in topdirs
|
547 |
changed for the top level ones in topdirs.
|
|
|
548 |
|
|
|
549 |
The top-level directories are not affected by this list (that is,
|
|
|
550 |
a directory in topdirs might match and would still be indexed).
|
|
|
551 |
|
|
|
552 |
The list in the default configuration does not exclude hidden
|
|
|
553 |
directories (names beginning with a dot), which means that it may
|
|
|
554 |
index quite a few things that you do not want. On the other hand,
|
|
|
555 |
mail user agents like thunderbird usually store messages in hidden
|
|
|
556 |
directories, and you probably want this indexed. One possible
|
|
|
557 |
solution is to have .* in skippedNames, and add things like
|
|
|
558 |
~/.thunderbird or ~/.evolution in topdirs.
|
530 |
|
559 |
|
531 |
loglevel
|
560 |
loglevel
|
532 |
|
561 |
|
533 |
Verbosity level for recoll and recollindex. A value of 4 lists
|
562 |
Verbosity level for recoll and recollindex. A value of 4 lists
|
534 |
quite a lot of debug/information messages. 3 only lists errors.
|
563 |
quite a lot of debug/information messages. 2 only lists errors.
|
535 |
|
564 |
|
536 |
logfilename
|
565 |
logfilename
|
537 |
|
566 |
|
538 |
Where should the messages go. 'stderr' can be used as a special
|
567 |
Where should the messages go. 'stderr' can be used as a special
|
539 |
value.
|
568 |
value.
|
|
... |
|
... |
600 |
The mappings can be specified on a per-subtree basis, which may be useful
|
629 |
The mappings can be specified on a per-subtree basis, which may be useful
|
601 |
in some cases. Example: gaim logs have a .txt extension but should be
|
630 |
in some cases. Example: gaim logs have a .txt extension but should be
|
602 |
handled specially, which is possible because they are usually all located
|
631 |
handled specially, which is possible because they are usually all located
|
603 |
in one place.
|
632 |
in one place.
|
604 |
|
633 |
|
|
|
634 |
mimemap also has a recoll_noindex variable which is a list of suffixes.
|
|
|
635 |
Matching files will be skipped (avoids unnecessary decompressions or file
|
|
|
636 |
executions). This is partially redundant with skippedNames in the main
|
|
|
637 |
configuration file, with two differences: it will not affect directories,
|
|
|
638 |
and it can be changed for any subdirectory.
|
|
|
639 |
|
605 |
----------------------------------------------------------------------
|
640 |
----------------------------------------------------------------------
|
606 |
|
641 |
|
607 |
4.3.3. The mimeconf file
|
642 |
4.3.3. The mimeconf file
|
608 |
|
643 |
|
609 |
~/.recoll/mimeconf specifies how the different mime types are handled for
|
644 |
~/.recoll/mimeconf specifies how the different mime types are handled for
|