Switch to unified view

a/src/INSTALL b/src/INSTALL
...
...
26
                        4.1. Installing a prebuilt copy
26
                        4.1. Installing a prebuilt copy
27
27
28
   Recoll binary installations are always linked statically to the xapian
28
   Recoll binary installations are always linked statically to the xapian
29
   libraries, and have no other dependencies. You will only have to check or
29
   libraries, and have no other dependencies. You will only have to check or
30
   install supporting applications for the file types that you want to index
30
   install supporting applications for the file types that you want to index
31
   beyond text, html and mail files.
31
   beyond text, HTML and mail files.
32
32
33
4.1.1. Installing through a package system
33
4.1.1. Installing through a package system
34
34
35
   If you use a BSD-type port system or a prebuilt package (RPM or other),
35
   If you use a BSD-type port system or a prebuilt package (RPM or other),
36
   just follow the usual procedure, and maybe have a look at the
36
   just follow the usual procedure, and maybe have a look at the
...
...
58
   Finally, you may want to have a look at the configuration section.
58
   Finally, you may want to have a look at the configuration section.
59
59
60
   --------------------------------------------------------------------------
60
   --------------------------------------------------------------------------
61
61
62
   Prev                             Home                                 Next 
62
   Prev                             Home                                 Next 
63
   Customising the search interface         Packages needed for external file 
63
   Customizing the search interface         Packages needed for external file 
64
                                                                        types 
64
                                                                        types 
65
   Link: HOME
65
   Link: HOME
66
   Link: UP
66
   Link: UP
67
   Link: PREVIOUS
67
   Link: PREVIOUS
68
   Link: NEXT
68
   Link: NEXT
...
...
91
     * dvi: dvips
91
     * dvi: dvips
92
92
93
     * djvu: DjVuLibre
93
     * djvu: DjVuLibre
94
94
95
     * MP3: Recoll will use the id3info command from the id3lib package to
95
     * MP3: Recoll will use the id3info command from the id3lib package to
96
       extract tag information. Without it, only the filenames will be
96
       extract tag information. Without it, only the file names will be
97
       indexed.
97
       indexed.
98
98
99
   Text, Html, mail folders and Openoffice files are processed internally.
99
   Text, HTML, mail folders and Openoffice files are processed internally.
100
100
101
   --------------------------------------------------------------------------
101
   --------------------------------------------------------------------------
102
102
103
   Prev                               Home                               Next 
103
   Prev                               Home                               Next 
104
   Installation                        Up                Building from source 
104
   Installation                        Up                Building from source 
...
...
116
116
117
4.3.1. Prerequisites
117
4.3.1. Prerequisites
118
118
119
   At the very least, you will need to download and install the xapian core
119
   At the very least, you will need to download and install the xapian core
120
   package (Recoll development currently uses version 0.9.5), and the qt
120
   package (Recoll development currently uses version 0.9.5), and the qt
121
   runtime and development packages (Recoll development currently uses
121
   run-time and development packages (Recoll development currently uses
122
   version 3.3.5, but any 3.3 version is probably ok).
122
   version 3.3.5, but any 3.3 version is probably OK).
123
123
124
   You will most probably be able to find a binary package for qt for your
124
   You will most probably be able to find a binary package for qt for your
125
   system. You may have to compile Xapian but this is not difficult (if you
125
   system. You may have to compile Xapian but this is not difficult (if you
126
   are using FreeBSD, there is a port).
126
   are using FreeBSD, there is a port).
127
127
...
...
140
140
141
     * QTDIR should point to the directory above the one that holds the qt
141
     * QTDIR should point to the directory above the one that holds the qt
142
       include files (ie: qt.h).
142
       include files (ie: qt.h).
143
143
144
     * QMAKESPECS should be set to the name of one of the qt mkspecs
144
     * QMAKESPECS should be set to the name of one of the qt mkspecs
145
       subdirectories (ie: linux-g++).
145
       sub-directories (ie: linux-g++).
146
146
147
   On many Linux systems, QTDIR is set by the login scripts, and QMAKESPECS
147
   On many Linux systems, QTDIR is set by the login scripts, and QMAKESPECS
148
   is not needed because there is a default link in mkspecs/.
148
   is not needed because there is a default link in mkspecs/.
149
149
150
   The Recoll configure script does a better job of checking these variables
150
   The Recoll configure script does a better job of checking these variables
...
...
156
   Normal procedure:
156
   Normal procedure:
157
157
158
         cd recoll-xxx
158
         cd recoll-xxx
159
         configure
159
         configure
160
         make
160
         make
161
         (practises usual hardship-repelling invocations)
161
         (practices usual hardship-repelling invocations)
162
     
162
     
163
163
164
   There little autoconfiguration. The configure script will mainly link one
164
   There little auto-configuration. The configure script will mainly link one
165
   of the system-specific files in the mk directory to mk/sysconf. If your
165
   of the system-specific files in the mk directory to mk/sysconf. If your
166
   system is not known yet, it will tell you as much, and you may want to
166
   system is not known yet, it will tell you as much, and you may want to
167
   manually copy and modify one of the existing files (the new file name
167
   manually copy and modify one of the existing files (the new file name
168
   should be the output of uname -s).
168
   should be the output of uname -s).
169
169
...
...
215
   edit them by hand for now (there is still some hope for a GUI
215
   edit them by hand for now (there is still some hope for a GUI
216
   configuration tool in the future). The most accurate documentation for the
216
   configuration tool in the future). The most accurate documentation for the
217
   configuration parameters is given by comments inside the default files,
217
   configuration parameters is given by comments inside the default files,
218
   and we will just give a general overview here.
218
   and we will just give a general overview here.
219
219
220
   All configuration files share the same format. For exemple, a short
220
   All configuration files share the same format. For example, a short
221
   extract of the main configuration file might look as follows:
221
   extract of the main configuration file might look as follows:
222
222
223
         # Space-separated list of directories to index.
223
         # Space-separated list of directories to index.
224
         topdirs =  ~/docs /usr/share/doc
224
         topdirs =  ~/docs /usr/share/doc
225
225
...
...
233
233
234
     * Parameter affectation (name = value).
234
     * Parameter affectation (name = value).
235
235
236
     * Section definition ([somedirname]).
236
     * Section definition ([somedirname]).
237
237
238
   Section lines allow redefining some parameters for a directory subtree.
238
   Section lines allow redefining some parameters for a directory sub-tree.
239
   Some of the parameters used for indexing are looked up hierarchically from
239
   Some of the parameters used for indexing are looked up hierarchically from
240
   the more to the less specific. Not all parameters can be meaningfully
240
   the more to the less specific. Not all parameters can be meaningfully
241
   redefined, this is specified for each in the next section.
241
   redefined, this is specified for each in the next section.
242
242
243
   The tilde character (~) is expanded in file names to the name of the
243
   The tilde character (~) is expanded in file names to the name of the
...
...
279
           directories that should be completely ignored. The list defined in
279
           directories that should be completely ignored. The list defined in
280
           the default file is:
280
           the default file is:
281
281
282
 *~ #* bin CVS  Cache caughtspam  tmp
282
 *~ #* bin CVS  Cache caughtspam  tmp
283
283
284
           The list can be redefined for subdirectories, but is only actually
284
           The list can be redefined for sub-directories, but is only
285
           changed for the top level ones in topdirs.
285
           actually changed for the top level ones in topdirs.
286
286
287
           The top-level directories are not affected by this list (that is,
287
           The top-level directories are not affected by this list (that is,
288
           a directory in topdirs might match and would still be indexed).
288
           a directory in topdirs might match and would still be indexed).
289
289
290
           The list in the default configuration does not exclude hidden
290
           The list in the default configuration does not exclude hidden
...
...
308
   filtersdir
308
   filtersdir
309
309
310
           A directory to search for the external filter scripts used to
310
           A directory to search for the external filter scripts used to
311
           index some types of files. The value should not be changed, except
311
           index some types of files. The value should not be changed, except
312
           if you want to modify one of the default scripts. The value can be
312
           if you want to modify one of the default scripts. The value can be
313
           redefined for any subdirectory.
313
           redefined for any sub-directory.
314
314
315
   indexstemminglanguages
315
   indexstemminglanguages
316
316
317
           A list of languages for which the stem expansion databases will be
317
           A list of languages for which the stem expansion databases will be
318
           built. See recollindex(1) for possible values. You can add a stem
318
           built. See recollindex(1) for possible values. You can add a stem
...
...
322
322
323
   defaultcharset
323
   defaultcharset
324
324
325
           The name of the character set used for files that do not contain a
325
           The name of the character set used for files that do not contain a
326
           character set definition (ie: plain text files). This can be
326
           character set definition (ie: plain text files). This can be
327
           redefined for any subdirectory. If it is not set at all, the
327
           redefined for any sub-directory. If it is not set at all, the
328
           character set used is the one defined by the nls environment
328
           character set used is the one defined by the nls environment
329
           (LC_ALL, LC_CTYPE, LANG), or iso8859-1 if nothing is set.
329
           (LC_ALL, LC_CTYPE, LANG), or iso8859-1 if nothing is set.
330
330
331
   guesscharset
331
   guesscharset
332
332
...
...
337
   usesystemfilecommand
337
   usesystemfilecommand
338
338
339
           Decide if we use the file -i system command as a final step for
339
           Decide if we use the file -i system command as a final step for
340
           determining the mime type for a file (the main procedure uses
340
           determining the mime type for a file (the main procedure uses
341
           suffix associations as defined in the mimemap file). This can be
341
           suffix associations as defined in the mimemap file). This can be
342
           useful for files with suffixless names, but it will also cause the
342
           useful for files with suffix-less names, but it will also cause
343
           indexing of many bogus "text" files.
343
           the indexing of many bogus "text" files.
344
344
345
   indexallfilenames
345
   indexallfilenames
346
346
347
           Recoll indexes file names in a special section of the database to
347
           Recoll indexes file names in a special section of the database to
348
           allow specific file names searches using wild cards. This
348
           allow specific file names searches using wild cards. This
349
           parameter decides if file name indexing is performed only for
349
           parameter decides if file name indexing is performed only for
350
           files with mime types that would qualify them for full text
350
           files with mime types that would qualify them for full text
351
           indexing, or for all files inside the selected subtrees,
351
           indexing, or for all files inside the selected subtrees,
352
           independant of mime type.
352
           independently of mime type.
353
353
354
   idxabsmlen
354
   idxabsmlen
355
355
356
           Recoll stores an abstract for each indexed file inside the
356
           Recoll stores an abstract for each indexed file inside the
357
           database. This is so that they can be displayed inside the result
357
           database. This is so that they can be displayed inside the result
...
...
380
380
381
   mimemap also has a recoll_noindex variable which is a list of suffixes.
381
   mimemap also has a recoll_noindex variable which is a list of suffixes.
382
   Matching files will be skipped (avoids unnecessary decompressions or file
382
   Matching files will be skipped (avoids unnecessary decompressions or file
383
   executions). This is partially redundant with skippedNames in the main
383
   executions). This is partially redundant with skippedNames in the main
384
   configuration file, with two differences: it will not affect directories,
384
   configuration file, with two differences: it will not affect directories,
385
   and it can be changed for any subdirectory.
385
   and it can be changed for any sub-directory.
386
386
387
4.4.3. The mimeconf file
387
4.4.3. The mimeconf file
388
388
389
   mimeconf specifies how the different mime types are handled for indexing,
389
   mimeconf specifies how the different mime types are handled for indexing,
390
   and for display.
390
   and for display.
391
391
392
   Changing the indexing parameters is probably not a good idea except if you
392
   Changing the indexing parameters is probably not a good idea except if you
393
   are a Recoll developper.
393
   are a Recoll developers.
394
394
395
   You may want to adjust the external viewers defined in (ie: html is either
395
   You may want to adjust the external viewers defined in (ie: HTML is either
396
   previewed internally or displayed using firefox, but you may prefer
396
   previewed internally or displayed using firefox, but you may prefer
397
   mozilla, your openoffice.org program might be named oofice instead of
397
   mozilla, your openoffice.org program might be named oofice instead of
398
   openoffice ...). Look for the [view] section.
398
   openoffice ...). Look for the [view] section.
399
399
400
   You can also change the icons which are displayed by recoll in the result
400
   You can also change the icons which are displayed by recoll in the result