From 7765da68893ff06ce1cc5d64ff1ad122731f929f Mon Sep 17 00:00:00 2001 From: dockes Date: Tue, 2 Oct 2007 14:22:38 +0000 Subject: [PATCH] a few more image files --- src/sampleconf/mimeconf | 11 +++++++++-- src/sampleconf/mimemap | 7 ++++++- src/sampleconf/mimeview | 4 +++- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/src/sampleconf/mimeconf b/src/sampleconf/mimeconf index 659ccd14..cafa20db 100644 --- a/src/sampleconf/mimeconf +++ b/src/sampleconf/mimeconf @@ -1,4 +1,4 @@ -# @(#$Id: mimeconf,v 1.33 2007-08-26 13:34:59 dockes Exp $ (C) 2004 J.F.Dockes +# @(#$Id: mimeconf,v 1.34 2007-10-02 14:22:38 dockes Exp $ (C) 2004 J.F.Dockes # Recoll : associations of mime types to processing filters. # There are different sections for decompression, 'interning' for indexing @@ -51,7 +51,10 @@ application/x-kword = exec rclkwd application/x-scribus = exec rclscribus audio/mpeg = exec rclid3 image/vnd.djvu = exec rcldjvu -image/jpeg = exec rcljpeg +image/gif = exec rclimg +image/jpeg = exec rclimg +image/png = exec rclimg +image/tiff = exec rclimg message/rfc822 = internal text/html = internal text/plain = internal @@ -87,6 +90,7 @@ application/x-kword = wordprocessing audio/mpeg = sownd image/jpeg = image image/png = image +image/tiff = image image/vnd.djvu = document message/rfc822 = message text/html = html @@ -129,6 +133,9 @@ media = \ application/x-flac \ image/jpeg \ image/png \ + image/tiff \ + image/gif \ + message = message/rfc822 \ text/x-gaim-log \ diff --git a/src/sampleconf/mimemap b/src/sampleconf/mimemap index b1fcb288..d15b8ac3 100644 --- a/src/sampleconf/mimemap +++ b/src/sampleconf/mimemap @@ -1,4 +1,4 @@ -# @(#$Id: mimemap,v 1.26 2007-09-07 08:04:07 dockes Exp $ (C) 2004 J.F.Dockes +# @(#$Id: mimemap,v 1.27 2007-10-02 14:22:38 dockes Exp $ (C) 2004 J.F.Dockes # Recoll: associations of file name extensions to mime types .txt = text/plain @@ -68,8 +68,13 @@ .mp3 = audio/mpeg .flac = application/x-flac .ogg = application/ogg + .png = image/png .jpg = image/jpeg +.jpeg = image/jpeg +.gif = image/gif +.tiff = image/tiff +.tif = image/tiff # A list of stuff that we don't want to touch at all (for now). Having the # suffixes listed in there speeds up things quite a lot by avoiding diff --git a/src/sampleconf/mimeview b/src/sampleconf/mimeview index 6eb992b5..2892776d 100644 --- a/src/sampleconf/mimeview +++ b/src/sampleconf/mimeview @@ -1,4 +1,4 @@ -# @(#$Id: mimeview,v 1.8 2007-08-26 13:34:59 dockes Exp $ (C) 2004 J.F.Dockes +# @(#$Id: mimeview,v 1.9 2007-10-02 14:22:38 dockes Exp $ (C) 2004 J.F.Dockes ## ########################################## # External viewers, launched by the recoll GUI when you click on a result @@ -36,6 +36,8 @@ application/x-scribus = scribus %f audio/mpeg = xmms %f image/jpeg = xv %f image/png = xv %f +image/tiff = xv %f +image/gif = xv %f image/vnd.djvu = djview %f # Or firefox -remote "openFile(%u)" text/html = firefox %u