This commit is contained in:
Jean-Francois Dockes 2012-10-19 19:10:21 +02:00
parent 2b2cdcb685
commit 2e7bf44415
3 changed files with 20 additions and 134 deletions

View File

@ -5,7 +5,7 @@ PortSystem 1.0
PortGroup app 1.0
name recoll
version 1.17.2
version 1.18.0
categories textproc
platforms darwin
license GPL-2+
@ -18,8 +18,8 @@ long_description Recoll is a desktop search tool based on Xapian
homepage http://www.recoll.org/
master_sites ${homepage}
checksums sha1 676be89d376a948798611417b928b31485746b1b \
rmd160 be6752c9a36cd9708ab49bbf1eba445f0eb8f623
checksums rmd160 6c7d6be04d1133cb1043241852e171b80b53c1d3 \
sha256 352a5cd9c6c324c22ee659e8fd088735f99a7707f213369b19faf61983160057
depends_lib port:xapian-core \
port:qt4-mac \

View File

@ -1,6 +1,7 @@
--- configure.orig 2012-05-19 08:10:35.000000000 +0200
+++ configure 2012-05-19 08:10:47.000000000 +0200
@@ -4409,7 +4409,7 @@
diff -r d2ac364b662c src/configure
--- configure Fri Oct 19 16:28:23 2012 +0200
+++ configure Fri Oct 19 18:49:28 2012 +0200
@@ -4472,7 +4472,7 @@
LIBICONV=""
S_LDFLAGS=$LDFLAGS
S_CPPFLAGS=$CPPFLAGS

View File

@ -1,143 +1,28 @@
--- sampleconf/mimeview 2012-05-04 09:49:33.000000000 +0200
+++ sampleconf/mimeview.mac 2012-05-19 08:05:00.000000000 +0200
--- sampleconf/mimeview 2012-10-18 10:47:45.000000000 +0200
+++ sampleconf/mimeview.mac 2012-10-19 18:46:14.000000000 +0200
@@ -2,7 +2,8 @@
## ##########################################
# External viewers, launched by the recoll GUI when you click on a result
-# 'edit' link
+# 'Open' link - MAC version
+# On the MAC, we basically use "open" for everything...
+# On the MAC, we use "open" for everything...
# 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,82 +12,79 @@
@@ -16,12 +17,12 @@
# search string
# - For pages of CHM and EPUB documents where we can choose to open the
# parent document instead of a temporary html file.
-xallexcepts = application/pdf application/postscript application/x-dvi \
- text/html|gnuinfo text/html|chm text/html|epub
+#xallexcepts = application/pdf application/postscript application/x-dvi \
+# text/html|gnuinfo text/html|chm text/html|epub
[view]
# Pseudo entry used if the 'use desktop' preference is set in the GUI
-application/x-all = xdg-open %f
+application/x-all = open %f
application/x-kword = kword %f
application/x-abiword = abiword %f
-application/pdf = okular %f
-application/postscript = okular %f
-application/x-dvi = okular %f
+application/pdf = open %f
+application/postscript = open %f
+application/x-dvi = open %f
application/x-lyx = lyx %f
application/x-scribus = scribus %f
-application/msword = libreoffice %f
-application/vnd.ms-excel = libreoffice %f
-application/vnd.ms-powerpoint = libreoffice %f
+application/msword = open %f
+application/vnd.ms-excel = open %f
+application/vnd.ms-powerpoint = open %f
application/vnd.openxmlformats-officedocument.wordprocessingml.document = \
- libreoffice %f
+ open %f
application/vnd.openxmlformats-officedocument.wordprocessingml.template = \
- libreoffice %f
+ open %f
application/vnd.openxmlformats-officedocument.presentationml.template = \
- libreoffice %f
+ open %f
application/vnd.openxmlformats-officedocument.presentationml.presentation = \
- libreoffice %f
+ open %f
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = \
- libreoffice %f
+ open %f
application/vnd.openxmlformats-officedocument.spreadsheetml.template =\
- libreoffice %f
-application/vnd.sun.xml.calc = libreoffice %f
-application/vnd.sun.xml.calc.template = libreoffice %f
-application/vnd.sun.xml.draw = libreoffice %f
-application/vnd.sun.xml.draw.template = libreoffice %f
-application/vnd.sun.xml.impress = libreoffice %f
-application/vnd.sun.xml.impress.template = libreoffice %f
-application/vnd.sun.xml.math = libreoffice %f
-application/vnd.sun.xml.writer = libreoffice %f
-application/vnd.sun.xml.writer.global = libreoffice %f
-application/vnd.sun.xml.writer.template = libreoffice %f
-application/vnd.wordperfect = libreoffice %f
+ open %f
+application/vnd.sun.xml.calc = open %f
+application/vnd.sun.xml.calc.template = open %f
+application/vnd.sun.xml.draw = open %f
+application/vnd.sun.xml.draw.template = open %f
+application/vnd.sun.xml.impress = open %f
+application/vnd.sun.xml.impress.template = open %f
+application/vnd.sun.xml.math = open %f
+application/vnd.sun.xml.writer = open %f
+application/vnd.sun.xml.writer.global = open %f
+application/vnd.sun.xml.writer.template = open %f
+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
-application/ogg = rhythmbox %f
-
-image/jpeg = gwenview %f
-image/png = gwenview %f
-image/tiff = gwenview %f
-image/gif = gwenview %f
-image/svg+xml = inkview %f
-image/vnd.djvu = djview %f
-image/x-xcf = gimp %f
-image/bmp = gwenview %f
-image/x-ms-bmp = gwenview %f
-image/x-xpmi = gwenview %f
+application/x-flac = open %f
+audio/mpeg = open %f
+application/ogg = open %f
+
+image/jpeg = open %f
+image/png = open %f
+image/tiff = open %f
+image/gif = open %f
+image/svg+xml = open %f
+image/vnd.djvu = open %f
+image/x-xcf = open %f
+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
text/html|gnuinfo = rclshowinfo %F %(title)
-text/plain = emacsclient %f
-text/x-c = emacsclient %f
-text/x-c+ = emacsclient %f
-text/x-c++ = emacsclient %f
-text/x-html-sidux-man = konqueror %f
-text/x-html-aptosid-man = iceweasel %f
+text/plain = open %f
+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
application/epub+zip = ebook-viewer %f
# If you want to open the parent epub document for epub parts instead of