[SCM] freeplane packaging branch, master, updated. debian/1.2.23-1_exp1-4-g3935df1
Felix Natter
fnatter at gmx.net
Sat May 11 09:00:16 UTC 2013
The following commit has been merged in the master branch:
commit 3935df1a24f33b53b58ef0983ffce45771795f6a
Author: Felix Natter <fnatter at gmx.net>
Date: Sat May 11 10:54:05 2013 +0200
change freeplane.mime such that Freeplane is run by run-mailcap on *.mm (see the comments at the top of the file!!)
diff --git a/debian/freeplane.mime b/debian/freeplane.mime
index 05f2411..77b493e 100644
--- a/debian/freeplane.mime
+++ b/debian/freeplane.mime
@@ -1 +1,11 @@
-application/x-freeplane; /usr/bin/freeplane '%s'; test=test -n "$DISPLAY"; description="Freeplane MindMap file"; textualnewlines; nametemplate=%s.mm
+# The problem is: /etc/mime.types used by /etc/mailcap (which this file is compiled to) does not
+# support magic information (i.e. an XML prefix that distinguishes Freeplane from FreeMind),
+# so we cannot define application/x-freeplane in /etc/mime.types...
+# That's why we have to decide globally for one program if both (FreeMind, Freeplane) are installed.
+# But since /etc/mailcap is only used for old-style mime programs (see, edit, compose, print),
+# NOT by GNOME/KDE/Xfce/... (freedesktop.org), we don't care too much!
+# Freedesktop.org uses "debian/freeplane.sharedmimeinfo" which supports
+# magic, and so if both programs are installed, the correct program is used
+# for the correct magic (i.e. <map version="freeplane... vs <map>) in GNOME/KDE/Xfce!
+
+application/x-freemind; /usr/bin/freeplane '%s'; test=test -n "$DISPLAY"; description="Freeplane/FreeMind MindMap file"; textualnewlines; nametemplate=%s.mm; priority=7
--
freeplane packaging
More information about the pkg-java-commits
mailing list