--- a/packaging/macports/textproc/recoll/files/patch-sampleconf-mimeview.diff
+++ b/packaging/macports/textproc/recoll/files/patch-sampleconf-mimeview.diff
@@ -1,5 +1,5 @@
---- sampleconf/mimeview 2011-10-11 08:44:09.000000000 +0200
-+++ sampleconf/mimeview.mac 2011-11-27 17:55:42.000000000 +0100
+--- sampleconf/mimeview 2012-05-04 09:49:33.000000000 +0200
++++ sampleconf/mimeview.mac 2012-05-19 08:05:00.000000000 +0200
@@ -2,7 +2,8 @@
## ##########################################
@@ -10,7 +10,7 @@
# Mime types which we should not uncompress if they are found gzipped or
# bzipped because the native viewer knows how to handle. These would be
-@@ -11,74 +12,71 @@
+@@ -11,82 +12,79 @@
[view]
# Pseudo entry used if the 'use desktop' preference is set in the GUI
@@ -79,9 +79,11 @@
+application/vnd.wordperfect = open %f
application/x-chm = kchmviewer %f
+ application/x-dia-diagram = dia %f
-application/x-fsdirectory = dolphin %f
+application/x-fsdirectory = open %f
application/x-gnuinfo = xterm -e "info -f %f"
+ application/x-gnumeric = gnumeric %f
-application/x-flac = rhythmbox %f
-audio/mpeg = rhythmbox %f
@@ -97,11 +99,6 @@
-image/bmp = gwenview %f
-image/x-ms-bmp = gwenview %f
-image/x-xpmi = gwenview %f
--
--# Or firefox -remote "openFile(%u)"
--application/x-tex = emacsclient %f
--text/x-tex = emacsclient %f
--text/html = firefox %u
+application/x-flac = open %f
+audio/mpeg = open %f
+application/ogg = open %f
@@ -116,7 +113,14 @@
+image/bmp = open %f
+image/x-ms-bmp = open %f
+image/x-xpmi = open %f
-+
+
+ message/rfc822 = thunderbird -file %f
+ text/x-mail = thunderbird -file %f
+
+-application/x-tex = emacsclient %f
+-text/x-tex = emacsclient %f
+-# Or firefox -remote "openFile(%u)"
+-text/html = firefox %u
+application/x-tex = open %f
+text/x-tex = open %f
+text/html = open %u
@@ -131,4 +135,9 @@
+text/x-c = open %f
+text/x-c+ = open %f
+text/x-c++ = open %f
+ text/x-chm-html = openchm %f %i
+-text/x-ini = emacsclient %f
+-text/x-man = xterm -u8 -e "groff -T ascii -man %f | more"
++text/x-ini = open %f
++#text/x-man = xterm -u8 -e "groff -T ascii -man %f | more"
text/x-python = idle %f