packages: claws-mail-extra-plugins/claws-mail-extra-plugins-geolocation.pat...

lisu lisu at pld-linux.org
Mon Jan 2 13:09:45 CET 2012


Author: lisu                         Date: Mon Jan  2 12:09:45 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add support for libchamplain 0.12

---- Files affected:
packages/claws-mail-extra-plugins:
   claws-mail-extra-plugins-geolocation.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/claws-mail-extra-plugins/claws-mail-extra-plugins-geolocation.patch
diff -u /dev/null packages/claws-mail-extra-plugins/claws-mail-extra-plugins-geolocation.patch:1.1
--- /dev/null	Mon Jan  2 13:09:45 2012
+++ packages/claws-mail-extra-plugins/claws-mail-extra-plugins-geolocation.patch	Mon Jan  2 13:09:40 2012
@@ -0,0 +1,24 @@
+--- claws-mail-extra-plugins-3.8.0/geolocation_plugin-0.0.7/configure.ac~	2011-12-16 12:20:45.000000000 +0100
++++ claws-mail-extra-plugins-3.8.0/geolocation_plugin-0.0.7/configure.ac	2012-01-02 12:51:12.947113060 +0100
+@@ -103,7 +103,9 @@
+ 	CHAMPLAIN_VERSION=0.6.0], [])
+ PKG_CHECK_EXISTS(champlain-gtk-0.8 > 0.8.0,[CHAMPLAIN_MODULE=champlain-gtk-0.8
+ 	CHAMPLAIN_VERSION=0.8.0], [])
+-PKG_CHECK_MODULES(CHAMPLAIN, $CHAMPLAIN_MODULE >= $CHAMPLAIN_VERSION clutter-gtk-0.10)
++PKG_CHECK_EXISTS(champlain-gtk-0.12 > 0.12.0,[CHAMPLAIN_MODULE=champlain-gtk-0.12
++	CHAMPLAIN_VERSION=0.12.0], [])
++PKG_CHECK_MODULES(CHAMPLAIN, $CHAMPLAIN_MODULE >= $CHAMPLAIN_VERSION clutter-gtk-1.0)
+ 
+ AC_SUBST(VERSION)
+ AC_SUBST(PLUGINVERSION)
+--- claws-mail-extra-plugins-3.8.0/geolocation_plugin-0.0.7/src/geolocation_plugin.c~	2011-09-21 08:19:41.000000000 +0200
++++ claws-mail-extra-plugins-3.8.0/geolocation_plugin-0.0.7/src/geolocation_plugin.c	2012-01-02 12:59:59.397060657 +0100
+@@ -276,7 +276,7 @@
+   /* create map widget */
+   map = gtk_champlain_embed_new();
+   view = gtk_champlain_embed_get_view(GTK_CHAMPLAIN_EMBED(map));
+-  g_object_set(G_OBJECT(view), "scroll-mode", CHAMPLAIN_SCROLL_MODE_KINETIC, "zoom-level", 8, NULL);
++  g_object_set(G_OBJECT(view), "zoom-level", 8, "kinetic-mode", TRUE, NULL);
+ 
+   /* mail origin marker */
+   layer = champlain_layer_new();
================================================================


More information about the pld-cvs-commit mailing list