Announce migration, optional cancelling.
[marble] / packaging / debian / patches / migration-warning.diff
diff --git a/packaging/debian/patches/migration-warning.diff b/packaging/debian/patches/migration-warning.diff
new file mode 100644 (file)
index 0000000..b89a5c7
--- /dev/null
@@ -0,0 +1,18 @@
+Index: src-1.1/data/CMakeLists.txt
+===================================================================
+--- src-1.1.orig/data/CMakeLists.txt   2011-04-15 19:19:43.000000000 +0200
++++ src-1.1/data/CMakeLists.txt        2011-04-15 19:20:50.000000000 +0200
+@@ -344,3 +344,5 @@
+ install (FILES
+   ${AUDIO_FILES}
+ DESTINATION ${MARBLE_DATA_INSTALL_PATH}/audio)
++
++install (FILES migration-warning.txt DESTINATION ${MARBLE_DATA_INSTALL_PATH}/)
+Index: src-1.1/data/migration-warning.txt
+===================================================================
+--- /dev/null  1970-01-01 00:00:00.000000000 +0000
++++ src-1.1/data/migration-warning.txt 2011-04-15 19:17:04.000000000 +0200
+@@ -0,0 +1,3 @@
++Marble can share OpenStreetMap data with other applications on this device. This helps to save disk space and reduce network traffic.
++
++Press 'Accept' to enable sharing and migrate existing OpenStreetMap data. This can take several minutes. Alternatively you can skip this step now and data sharing will be disabled. You'll be prompted again to enable it during the next Marble version upgrade.