Группа :: Работа с файлами
Пакет: recoll
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: recoll-1.2.3-alt-defaults.patch
diff -Naur recoll-1.2.3-orig/sampleconf/mimeconf recoll-1.2.3/sampleconf/mimeconf
--- recoll-1.2.3-orig/sampleconf/mimeconf 2006-02-03 12:53:35 +0200
+++ recoll-1.2.3/sampleconf/mimeconf 2006-03-10 16:10:58 +0200
@@ -53,22 +53,22 @@
##
# External viewers, launched when you double-click a result entry
[view]
-text/plain = xemacs %f
+text/plain = url_handler.sh %u
#text/html = firefox -remote "openFile(%u)"
-text/html = firefox %u
+text/html = url_handler.sh %u
application/pdf = xpdf %f
application/postscript = gv %f
-application/msword = openoffice %f
-application/vnd.sun.xml.calc = openoffice %f
-application/vnd.sun.xml.calc.template = openoffice %f
-application/vnd.sun.xml.draw = openoffice %f
-application/vnd.sun.xml.draw.template = openoffice %f
-application/vnd.sun.xml.impress = openoffice %f
-application/vnd.sun.xml.impress.template = openoffice %f
-application/vnd.sun.xml.math = openoffice %f
-application/vnd.sun.xml.writer = openoffice %f
-application/vnd.sun.xml.writer.global = openoffice %f
-application/vnd.sun.xml.writer.template = openoffice %f
+application/msword = ooffice2 %f
+application/vnd.sun.xml.calc = ooffice2 %f
+application/vnd.sun.xml.calc.template = ooffice2 %f
+application/vnd.sun.xml.draw = ooffice2 %f
+application/vnd.sun.xml.draw.template = ooffice2 %f
+application/vnd.sun.xml.impress = ooffice2 %f
+application/vnd.sun.xml.impress.template = ooffice2 %f
+application/vnd.sun.xml.math = ooffice2 %f
+application/vnd.sun.xml.writer = ooffice2 %f
+application/vnd.sun.xml.writer.global = ooffice2 %f
+application/vnd.sun.xml.writer.template = ooffice2 %f
image/vnd.djvu = djview %f
application/x-dvi = xdvi %f
diff -Naur recoll-1.2.3-orig/sampleconf/mimemap recoll-1.2.3/sampleconf/mimemap
--- recoll-1.2.3-orig/sampleconf/mimemap 2006-02-03 12:53:35 +0200
+++ recoll-1.2.3/sampleconf/mimemap 2006-03-10 16:11:47 +0200
@@ -59,7 +59,7 @@
.dat .bak .rdf .log .db .ini .msf \
.gnm .gnumeric .tex \
.jpg .gif .bmp .xpm .png \
- ,v
+ ,v ~
[~/.gaim]
.txt = text/x-gaim-log
diff -Naur recoll-1.2.3-orig/sampleconf/recoll.conf.in recoll-1.2.3/sampleconf/recoll.conf.in
--- recoll-1.2.3-orig/sampleconf/recoll.conf.in 2006-01-10 13:07:21 +0200
+++ recoll-1.2.3/sampleconf/recoll.conf.in 2006-03-10 16:19:08 +0200
@@ -2,9 +2,11 @@
#
# Recoll default configuration file. This should be copied to
# ~/.recoll/recoll.conf
+# Modified for 1.2.3-alt1 by Michael Shigorin <mike@altlinux>
-# Space-separated list of directories to index. Next line indexes $HOME
-topdirs = ~
+# Space-separated list of directories to index. Next line indexes
+# several default indexable data locations within $HOME
+topdirs = ~/Documents ~/.kde/share/apps/kmail/mail ~/.evolution/mail/local ~/.mozilla
# Wildcard expressions for names of files and directories that we should
# ignore. If you need index mozilla/thunderbird mail folders, don't put
@@ -12,7 +14,7 @@
skippedNames = *~ #* bin CVS Cache caughtspam tmp
# Debug messages. 4 is quite verbose. 3 would be errors only.
-loglevel = 4
+loglevel = 3
logfilename = stderr
# Place to search for executable filters. If RECOLL_FILTERSDIR is set in
@@ -40,7 +42,7 @@
# documents, will override this. It can be specified per directory (see
# below). Used when converting to utf-8 (internal storage format), so it
# may be quite important for pure text files.
-defaultcharset = iso-8859-1
+defaultcharset = utf-8
# Guessing charsets usually does not work well
guesscharset = 0