Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libshumate for openSUSE:Factory 
checked in at 2026-06-28 21:05:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libshumate (Old)
 and      /work/SRC/openSUSE:Factory/.libshumate.new.11887 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libshumate"

Sun Jun 28 21:05:54 2026 rev:26 rq:1361963 version:1.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libshumate/libshumate.changes    2026-04-26 
21:12:27.200215916 +0200
+++ /work/SRC/openSUSE:Factory/.libshumate.new.11887/libshumate.changes 
2026-06-28 21:06:19.985667720 +0200
@@ -1,0 +2,7 @@
+Fri Jun 26 20:52:45 UTC 2026 - Bjørn Lie <[email protected]>
+
+- Update to version 1.6.2:
+  + Avoid spurious drag events following pinch zoom and rotate
+    gestures on touch.
+
+-------------------------------------------------------------------

Old:
----
  libshumate-1.6.1.tar.xz

New:
----
  libshumate-1.6.2.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libshumate.spec ++++++
--- /var/tmp/diff_new_pack.r8JEgQ/_old  2026-06-28 21:06:22.025736460 +0200
+++ /var/tmp/diff_new_pack.r8JEgQ/_new  2026-06-28 21:06:22.029736595 +0200
@@ -22,7 +22,7 @@
 %bcond_with profiling
 
 Name:           libshumate
-Version:        1.6.1
+Version:        1.6.2
 Release:        0
 Summary:        C library providing a GtkWidget to display maps
 License:        Apache-2.0 AND LGPL-2.1-or-later AND BSD-3-Clause AND CC0-1.0 
AND CC-BY-3.0 AND GFDL-1.2-only

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.r8JEgQ/_old  2026-06-28 21:06:22.061737673 +0200
+++ /var/tmp/diff_new_pack.r8JEgQ/_new  2026-06-28 21:06:22.065737808 +0200
@@ -1,6 +1,6 @@
-mtime: 1776320099
-commit: c93450ba499583b9d0f1a912ffc2244b40fc66d139094338a216800ee7e0897d
+mtime: 1782507220
+commit: 32912cc615ffb7ed925bd290f485a1ae19a4fb78ebf9056f0b01c79a666dc1e6
 url: https://src.opensuse.org/GNOME/libshumate
-revision: c93450ba499583b9d0f1a912ffc2244b40fc66d139094338a216800ee7e0897d
+revision: 32912cc615ffb7ed925bd290f485a1ae19a4fb78ebf9056f0b01c79a666dc1e6
 projectscmsync: https://src.opensuse.org/GNOME/_ObsPrj
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.r8JEgQ/_old  2026-06-28 21:06:22.081738347 +0200
+++ /var/tmp/diff_new_pack.r8JEgQ/_new  2026-06-28 21:06:22.085738482 +0200
@@ -4,7 +4,7 @@
     <param name="url">https://gitlab.gnome.org/GNOME/libshumate.git</param>
     <param name="scm">git</param>
     <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
-    <param name="revision">1.6.1</param>
+    <param name="revision">1.6.2</param>
     <param name="versionrewrite-pattern">(.*)\+0</param>
     <param name="versionrewrite-replacement">\1</param>
   </service>

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-06-26 22:53:40.000000000 +0200
@@ -0,0 +1,5 @@
+*.obscpio
+*.osc
+_build.*
+.pbuild
+osc-collab.*

++++++ libshumate-1.6.1.tar.xz -> libshumate-1.6.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.6.1/NEWS new/libshumate-1.6.2/NEWS
--- old/libshumate-1.6.1/NEWS   2026-04-13 22:21:51.000000000 +0200
+++ new/libshumate-1.6.2/NEWS   2026-06-26 22:19:04.000000000 +0200
@@ -1,4 +1,9 @@
 ==================
+Version 1.6.2
+==================
+ - Avoid spurious drag events following pinch zoom and rotate gestures on touch
+
+==================
 Version 1.6.1
 ==================
  - Add missing gettext domains
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.6.1/meson.build 
new/libshumate-1.6.2/meson.build
--- old/libshumate-1.6.1/meson.build    2026-04-13 22:21:51.000000000 +0200
+++ new/libshumate-1.6.2/meson.build    2026-06-26 22:19:04.000000000 +0200
@@ -1,6 +1,6 @@
 project(
   'libshumate', 'c',
-  version: '1.6.1',
+  version: '1.6.2',
   license: 'LGPLv2.1+',
   meson_version: '>= 0.62.0',
   default_options: [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libshumate-1.6.1/shumate/shumate-data-source-request.c 
new/libshumate-1.6.2/shumate/shumate-data-source-request.c
--- old/libshumate-1.6.1/shumate/shumate-data-source-request.c  2026-04-13 
22:21:51.000000000 +0200
+++ new/libshumate-1.6.2/shumate/shumate-data-source-request.c  2026-06-26 
22:19:04.000000000 +0200
@@ -405,19 +405,19 @@
   g_return_if_fail (data != NULL);
   g_return_if_fail (!priv->completed);
 
-  if (priv->bytes != NULL && g_bytes_equal (data, priv->bytes))
-    return;
-
-  g_clear_pointer (&priv->bytes, g_bytes_unref);
-  priv->bytes = g_bytes_ref (data);
-
   if (complete)
     priv->completed = TRUE;
 
-  profiling_desc = g_strdup_printf ("(%d, %d) @ %d", priv->pos.x, priv->pos.y, 
priv->pos.zoom);
-  SHUMATE_PROFILE_START_NAMED (emit_data);
-  g_object_notify_by_pspec ((GObject *)self, properties[PROP_DATA]);
-  SHUMATE_PROFILE_END_NAMED (emit_data, profiling_desc);
+  if (priv->bytes == NULL || !g_bytes_equal (data, priv->bytes))
+    {
+      g_clear_pointer (&priv->bytes, g_bytes_unref);
+      priv->bytes = g_bytes_ref (data);
+
+      profiling_desc = g_strdup_printf ("(%d, %d) @ %d", priv->pos.x, 
priv->pos.y, priv->pos.zoom);
+      SHUMATE_PROFILE_START_NAMED (emit_data);
+      g_object_notify_by_pspec ((GObject *)self, properties[PROP_DATA]);
+      SHUMATE_PROFILE_END_NAMED (emit_data, profiling_desc);
+    }
 
   if (complete)
     g_object_notify_by_pspec ((GObject *)self, properties[PROP_COMPLETED]);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.6.1/shumate/shumate-map.c 
new/libshumate-1.6.2/shumate/shumate-map.c
--- old/libshumate-1.6.1/shumate/shumate-map.c  2026-04-13 22:21:51.000000000 
+0200
+++ new/libshumate-1.6.2/shumate/shumate-map.c  2026-06-26 22:19:04.000000000 
+0200
@@ -66,6 +66,7 @@
 
 #define DECELERATION_FRICTION 4.0
 #define ZOOM_ANIMATION_MS 200
+#define ZOOM_COOLDOWN_MS 100
 #define SCROLL_PIXELS_PER_LEVEL 50
 
 enum
@@ -145,6 +146,8 @@
   double gesture_begin_lon;
   double drag_begin_x;
   double drag_begin_y;
+
+  gint64 last_zoom_update_time;
 };
 
 G_DEFINE_TYPE (ShumateMap, shumate_map, GTK_TYPE_WIDGET);
@@ -437,6 +440,10 @@
                             double          start_y,
                             GtkGestureDrag *gesture)
 {
+
+  if (g_get_monotonic_time() - self-> last_zoom_update_time < ZOOM_COOLDOWN_MS 
* 1000)
+    return;
+
   g_assert (SHUMATE_IS_MAP (self));
 
   cancel_deceleration (self);
@@ -458,6 +465,10 @@
                              double          offset_y,
                              GtkGestureDrag *gesture)
 {
+
+  if (g_get_monotonic_time() - self-> last_zoom_update_time < ZOOM_COOLDOWN_MS 
* 1000)
+    return;
+
   move_location_to_coords (self,
                            self->gesture_begin_lat,
                            self->gesture_begin_lon,
@@ -584,6 +595,8 @@
   double zoom_level = shumate_viewport_get_zoom_level (self->viewport);
   double x, y;
 
+  self->last_zoom_update_time = g_get_monotonic_time();
+
   gtk_gesture_set_state (GTK_GESTURE (zoom), GTK_EVENT_SEQUENCE_CLAIMED);
   cancel_deceleration (self);
 
@@ -607,6 +620,8 @@
   gtk_gesture_get_bounding_box_center (GTK_GESTURE (zoom), &x, &y);
   shumate_viewport_set_zoom_level (self->viewport, self->zoom_level_begin + 
log (scale) / G_LN2);
   move_location_to_coords (self, self->gesture_begin_lat, 
self->gesture_begin_lon, x, y);
+
+  self->last_zoom_update_time = g_get_monotonic_time();
 }
 
 static void
@@ -616,6 +631,8 @@
 {
   double rotation = shumate_viewport_get_rotation (self->viewport);
 
+  self->last_zoom_update_time = g_get_monotonic_time();
+
   gtk_gesture_set_state (GTK_GESTURE (rotate), GTK_EVENT_SEQUENCE_CLAIMED);
   cancel_deceleration (self);
 
@@ -639,6 +656,8 @@
   shumate_viewport_set_rotation (self->viewport, rotation);
   gtk_gesture_get_bounding_box_center (GTK_GESTURE (rotate), &x, &y);
   move_location_to_coords (self, self->gesture_begin_lat, 
self->gesture_begin_lon, x, y);
+
+  self->last_zoom_update_time = g_get_monotonic_time();
 }
 
 static void

++++++ libshumate.obsinfo ++++++
--- /var/tmp/diff_new_pack.r8JEgQ/_old  2026-06-28 21:06:22.997769213 +0200
+++ /var/tmp/diff_new_pack.r8JEgQ/_new  2026-06-28 21:06:23.021770022 +0200
@@ -1,5 +1,5 @@
 name: libshumate
-version: 1.6.1
-mtime: 1776111711
-commit: 8bf191245f8010b003b6bb5462201cb35d61ecbb
+version: 1.6.2
+mtime: 1782505144
+commit: d4a953713949074d0f2f44cfb196b96d43fabb28
 

Reply via email to