summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-07-23 15:12:12 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-07-23 15:12:12 +0000
commit244a8351824987615cc08916df4cc761abffef49 (patch)
tree33452801a74f5433b979181bc6f23a05c548c098 /x11-misc/googleearth/files
parentVersion bump. (diff)
downloadgentoo-2-244a8351824987615cc08916df4cc761abffef49.tar.gz
gentoo-2-244a8351824987615cc08916df4cc761abffef49.tar.bz2
gentoo-2-244a8351824987615cc08916df4cc761abffef49.zip
Add some magic to the googleearth mime file to improve handling in gnome, thanks to Ed Catmur <ed@catmur.co.uk> in bug 141371
(Portage version: 2.1.1_pre3-r3)
Diffstat (limited to 'x11-misc/googleearth/files')
-rw-r--r--x11-misc/googleearth/files/mime-magic.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-misc/googleearth/files/mime-magic.patch b/x11-misc/googleearth/files/mime-magic.patch
new file mode 100644
index 000000000000..f45482e129e3
--- /dev/null
+++ b/x11-misc/googleearth/files/mime-magic.patch
@@ -0,0 +1,12 @@
+--- usr/share/mime/packages/googleearth-mimetypes.xml 2006-07-22 10:13:03.000000000 +0100
++++ usr/share/mime/packages/googleearth-mimetypes.xml 2006-07-22 10:41:14.584945382 +0100
+@@ -2,6 +2,9 @@
+ <mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+ <mime-type type="application/vnd.google-earth.kml+xml">
+ <comment>Keyhole Markup Language data</comment>
++ <magic priority="60">
++ <match value="&lt;kml xmlns=&quot;http://earth.google.com/kml/2.0&quot;&gt;" type="string" offset="0:64"/>
++ </magic>
+ <glob pattern="*.kml"/>
+ </mime-type>
+