[Marble-devel] Review Request: add application/x-gpx+xml & application/x-esri-shape to the mime-type database
Friedrich W. H. Kossebau
kossebau at kde.org
Mon Oct 22 08:44:14 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106977/
-----------------------------------------------------------
(Updated Oct. 22, 2012, 8:44 a.m.)
Review request for Marble.
Changes
-------
Updated patch to also install separate desktop files to register Marble as handler for shapefiles only if the plugin is installed.
Same solution as Okular uses, proposed by Albert here: http://lists.kde.org/?l=kde-devel&m=135083816331959&w=2
Description
-------
This patch installs an extension of the mimetype database for both file types.
This way such files get a nicer display in the file dialogs/managers and can also finally be bound to the Marble program by the mimetype ids.
Still to do after this patch:
* add the application/x-esri-shape to the mimetype listing in marble.desktop in case the shapefile plugin is built&installed.
* have the view zoom to the loaded shape/track
Patch additionally installs a mimetype for the Esri shapefile index, so this file at least looks better in the filemanager.
Mimetype is made up by me. Not sure if this is useful, could also remove this from the patch if you prefer. For that reason I have also not yet added entries for the two other additional file types with shapefiles.
PS: Request coming live from Torsten's Marble presentation :)
Diffs (updated)
-----
CMakeLists.txt 7f8777e
data/CMakeLists.txt 316d005
data/mimetypes/XmlMessages.sh PRE-CREATION
data/mimetypes/geo.xml PRE-CREATION
src/marble_part.desktop 9a75d07
src/plugins/runner/shp/CMakeLists.txt 0ef8c65
src/plugins/runner/shp/marble_part_shp.desktop PRE-CREATION
src/plugins/runner/shp/marble_shp.desktop PRE-CREATION
Diff: http://git.reviewboard.kde.org/r/106977/diff/
Testing
-------
Clicking an gpx file starts Marble and loads the file.
Thanks,
Friedrich W. H. Kossebau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20121022/addd9127/attachment.html>
More information about the Marble-devel
mailing list