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-11-24 12:23:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libshumate (Old)
 and      /work/SRC/openSUSE:Factory/.libshumate.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libshumate"

Tue Nov 24 12:23:17 2026 rev:29 rq:1399911 version:1.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libshumate/libshumate.changes    2026-10-30 
18:10:11.030951378 +0100
+++ /work/SRC/openSUSE:Factory/.libshumate.new.1340718/libshumate.changes       
2026-11-24 12:24:58.173739589 +0100
@@ -1,0 +2,12 @@
+Sat Nov 21 12:28:48 UTC 2026 - Bjørn Lie <[email protected]>
+
+- Update to version 1.7.1:
+  * Don't remove map layer source when already deferring, avoids a crash
+  * Copy returned color for path layers, fixes bindings getting layer colors
+    (avoid double-freeing)
+  * Allow new swipes already coasting, fixes some crashes
+  * Annotate all functions/macros/types since 1.0
+  * Add version macros to be able to hide/show symbols depending on the API
+    version
+
+-------------------------------------------------------------------

Old:
----
  libshumate-1.7.0.tar.xz

New:
----
  libshumate-1.7.1.tar.xz

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

Other differences:
------------------
++++++ libshumate.spec ++++++
--- /var/tmp/diff_new_pack.mdg3tX/_old  2026-11-24 12:25:00.290829212 +0100
+++ /var/tmp/diff_new_pack.mdg3tX/_new  2026-11-24 12:25:00.296829466 +0100
@@ -22,7 +22,7 @@
 %bcond_with profiling
 
 Name:           libshumate
-Version:        1.7.0
+Version:        1.7.1
 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.mdg3tX/_old  2026-11-24 12:25:00.400833869 +0100
+++ /var/tmp/diff_new_pack.mdg3tX/_new  2026-11-24 12:25:00.412834377 +0100
@@ -1,7 +1,7 @@
-mtime: 1790785882
-commit: e133a032bae6289b5217c2ff8cac4255ee07eddf3d65515fca746ddd6c82992b
+mtime: 1795264158
+commit: e12f73f8e4a02c6cdf63f464296fc903a4e94c883fadc534c6e959c429673fd5
 url: https://src.opensuse.org/GNOME/libshumate
-revision: e133a032bae6289b5217c2ff8cac4255ee07eddf3d65515fca746ddd6c82992b
+revision: e12f73f8e4a02c6cdf63f464296fc903a4e94c883fadc534c6e959c429673fd5
 trackingbranch: factory
 projectscmsync: https://src.opensuse.org/GNOME/_ObsPrj
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.mdg3tX/_old  2026-11-24 12:25:00.477837129 +0100
+++ /var/tmp/diff_new_pack.mdg3tX/_new  2026-11-24 12:25:00.495837891 +0100
@@ -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.7.0</param>
+    <param name="revision">1.7.1</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-11-21 13:29:18.000000000 +0100
@@ -0,0 +1,5 @@
+*.obscpio
+*.osc
+_build.*
+.pbuild
+osc-collab.*

++++++ libshumate-1.7.0.tar.xz -> libshumate-1.7.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/NEWS new/libshumate-1.7.1/NEWS
--- old/libshumate-1.7.0/NEWS   2026-09-11 09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/NEWS   2026-11-21 12:10:57.000000000 +0100
@@ -1,4 +1,14 @@
 ===================
+Version 1.7.1
+===================
+ - Don't remove map layer source when already deferring, avoids a crash
+ - Copy returned color for path layers, fixes bindings getting layer colors
+   (avoid double-freeing)
+ - Allow new swipes already coasting, fixes some crashes
+ - Annotate all functions/macros/types since 1.0
+ - Add version macros to be able to hide/show symbols depending on the API 
version
+
+===================
 Version 1.7.0
 ===================
  - No changes since 1.7.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/build-aux/gen-visibility-macros.py 
new/libshumate-1.7.1/build-aux/gen-visibility-macros.py
--- old/libshumate-1.7.0/build-aux/gen-visibility-macros.py     1970-01-01 
01:00:00.000000000 +0100
+++ new/libshumate-1.7.1/build-aux/gen-visibility-macros.py     2026-11-21 
12:10:57.000000000 +0100
@@ -0,0 +1,166 @@
+#!/usr/bin/env python3
+#
+# SPDX-FileCopyrightText: 2022,2026 Collabora Inc.
+#                         2023 Emmanuele Bassi
+#
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
+# Original author: Xavier Claessens <[email protected]>
+
+import argparse
+import textwrap
+from pathlib import Path
+
+
+# Disable line length warnings as wrapping the C code templates would be hard
+# flake8: noqa: E501
+
+
+def gen_versions_macros(args, current_major_version, current_minor_version, 
current_micro_version):
+    with args.out_path.open("w", encoding="utf-8") as ofile, args.in_path.open(
+        "r", encoding="utf-8"
+    ) as ifile:
+        ns = args.namespace
+        for line in ifile.readlines():
+            if "@SHUMATE_VERSIONS@" in line:
+                ofile.write(
+                    textwrap.dedent(
+                        f"""\
+                    /**
+                     * SHUMATE_MAJOR_VERSION:
+                     *
+                     * The major version component of the library's version, 
e.g. "1" for "1.2.3".
+                     */
+                    #define SHUMATE_MAJOR_VERSION ({current_major_version})
+
+                    /**
+                     * SHUMATE_MINOR_VERSION:
+                     *
+                     * The minor version component of the library's version, 
e.g. "2" for "1.2.3".
+                     */
+                    #define SHUMATE_MINOR_VERSION ({current_minor_version})
+
+                    /**
+                     * SHUMATE_MICRO_VERSION:
+                     *
+                     * The micro version component of the library's version, 
e.g. "3" for "1.2.3".
+                     */
+                    #define SHUMATE_MICRO_VERSION ({current_micro_version})
+                        """
+                    )
+                )
+                for minor in range(0, current_minor_version + 1, 1):
+                    ofile.write(
+                        textwrap.dedent(
+                            f"""\
+                        /**
+                         * SHUMATE_VERSION_{current_major_version}_{minor}:
+                         *
+                         * A macro that evaluates to the 
{current_major_version}.{minor} version of Shumate, in a format
+                         * that can be used by the C pre-processor.
+                         *
+                         * Since: {current_major_version}.{minor}
+                         */
+                        #define 
SHUMATE_VERSION_{current_major_version}_{minor} (G_ENCODE_VERSION 
({current_major_version}, {minor}))
+                        """
+                        )
+                    )
+            elif "@SHUMATE_VISIBILITY@" in line:
+                ofile.write(
+                    textwrap.dedent(
+                        f"""\
+                    #pragma once
+
+                    #if (defined(_WIN32) || defined(__CYGWIN__)) && 
!defined({ns}_STATIC_COMPILATION)
+                    #  define _{ns}_EXPORT __declspec(dllexport)
+                    #  define _{ns}_IMPORT __declspec(dllimport)
+                    #elif __GNUC__ >= 4
+                    #  define _{ns}_EXPORT 
__attribute__((visibility("default")))
+                    #  define _{ns}_IMPORT
+                    #else
+                    #  define _{ns}_EXPORT
+                    #  define _{ns}_IMPORT
+                    #endif
+                    #ifdef {ns}_COMPILATION
+                    #  define _{ns}_API _{ns}_EXPORT
+                    #else
+                    #  define _{ns}_API _{ns}_IMPORT
+                    #endif
+
+                    #define _{ns}_EXTERN _{ns}_API extern
+
+                    #define {ns}_VAR _{ns}_EXTERN
+                    #define {ns}_AVAILABLE_IN_ALL _{ns}_EXTERN
+
+                    #ifdef SHUMATE_DISABLE_DEPRECATION_WARNINGS
+                    #define {ns}_DEPRECATED _{ns}_EXTERN
+                    #define {ns}_DEPRECATED_FOR(f) _{ns}_EXTERN
+                    #define {ns}_UNAVAILABLE(maj,min) _{ns}_EXTERN
+                    #define {ns}_UNAVAILABLE_STATIC_INLINE(maj,min)
+                    #else
+                    #define {ns}_DEPRECATED G_DEPRECATED _{ns}_EXTERN
+                    #define {ns}_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) 
_{ns}_EXTERN
+                    #define {ns}_UNAVAILABLE(maj,min) G_UNAVAILABLE(maj,min) 
_{ns}_EXTERN
+                    #define {ns}_UNAVAILABLE_STATIC_INLINE(maj,min) 
G_UNAVAILABLE(maj,min)
+                    #endif
+                    """
+                    )
+                )
+                for minor in range(0, current_minor_version + 1):
+                    ofile.write(
+                        textwrap.dedent(
+                            f"""
+                        #if SHUMATE_VERSION_MIN_REQUIRED >= 
SHUMATE_VERSION_1_{minor}
+                        #define 
{ns}_DEPRECATED_IN_{current_major_version}_{minor} {ns}_DEPRECATED
+                        #define 
{ns}_DEPRECATED_IN_{current_major_version}_{minor}_FOR(f) {ns}_DEPRECATED_FOR 
(f)
+                        #define 
{ns}_DEPRECATED_MACRO_IN_{current_major_version}_{minor} 
SHUMATE_DEPRECATED_MACRO
+                        #define 
{ns}_DEPRECATED_MACRO_IN_{current_major_version}_{minor}_FOR(f) 
SHUMATE_DEPRECATED_MACRO_FOR (f)
+                        #define 
{ns}_DEPRECATED_ENUMERATOR_IN_{current_major_version}_{minor} 
SHUMATE_DEPRECATED_ENUMERATOR
+                        #define 
{ns}_DEPRECATED_ENUMERATOR_IN_{current_major_version}_{minor}_FOR(f) 
SHUMATE_DEPRECATED_ENUMERATOR_FOR (f)
+                        #define 
{ns}_DEPRECATED_TYPE_IN_{current_major_version}_{minor} SHUMATE_DEPRECATED_TYPE
+                        #define 
{ns}_DEPRECATED_TYPE_IN_{current_major_version}_{minor}_FOR(f) 
SHUMATE_DEPRECATED_TYPE_FOR (f)
+                        #else
+                        #define 
{ns}_DEPRECATED_IN_{current_major_version}_{minor} _{ns}_EXTERN
+                        #define 
{ns}_DEPRECATED_IN_{current_major_version}_{minor}_FOR(f) _{ns}_EXTERN
+                        #define 
{ns}_DEPRECATED_MACRO_IN_{current_major_version}_{minor}
+                        #define 
{ns}_DEPRECATED_MACRO_IN_{current_major_version}_{minor}_FOR(f)
+                        #define 
{ns}_DEPRECATED_ENUMERATOR_IN_{current_major_version}_{minor}
+                        #define 
{ns}_DEPRECATED_ENUMERATOR_IN_{current_major_version}_{minor}_FOR(f)
+                        #define 
{ns}_DEPRECATED_TYPE_IN_{current_major_version}_{minor}
+                        #define 
{ns}_DEPRECATED_TYPE_IN_{current_major_version}_{minor}_FOR(f)
+                        #endif
+
+                        #if SHUMATE_VERSION_MAX_ALLOWED < 
SHUMATE_VERSION_{current_major_version}_{minor}
+                        #define 
{ns}_AVAILABLE_IN_{current_major_version}_{minor} {ns}_UNAVAILABLE 
({current_major_version}, {minor})
+                        #define 
{ns}_AVAILABLE_STATIC_INLINE_IN_{current_major_version}_{minor} 
SHUMATE_UNAVAILABLE_STATIC_INLINE ({current_major_version}, {minor})
+                        #define 
{ns}_AVAILABLE_MACRO_IN_{current_major_version}_{minor} 
SHUMATE_UNAVAILABLE_MACRO ({current_major_version}, {minor})
+                        #define 
{ns}_AVAILABLE_ENUMERATOR_IN_{current_major_version}_{minor} 
SHUMATE_UNAVAILABLE_ENUMERATOR ({current_major_version}, {minor})
+                        #define 
{ns}_AVAILABLE_TYPE_IN_{current_major_version}_{minor} SHUMATE_UNAVAILABLE_TYPE 
({current_major_version}, {minor})
+                        #else
+                        #define 
{ns}_AVAILABLE_IN_{current_major_version}_{minor} _{ns}_EXTERN
+                        #define 
{ns}_AVAILABLE_STATIC_INLINE_IN_{current_major_version}_{minor}
+                        #define 
{ns}_AVAILABLE_MACRO_IN_{current_major_version}_{minor}
+                        #define 
{ns}_AVAILABLE_ENUMERATOR_IN_{current_major_version}_{minor}
+                        #define 
{ns}_AVAILABLE_TYPE_IN_{current_major_version}_{minor}
+                        #endif
+                        """
+                        )
+                    )
+            else:
+                ofile.write(line)
+
+
+def main():
+    parser = argparse.ArgumentParser()
+    parser.add_argument("shumate_version", help="Current Shumate version")
+    parser.add_argument("namespace", help="Macro namespace")
+    parser.add_argument("in_path", help="input file", type=Path)
+    parser.add_argument("out_path", help="output file", type=Path)
+
+    args = parser.parse_args()
+    version = [int(i) for i in args.shumate_version.split(".")]
+    gen_versions_macros(args, version[0], version[1], version[2])
+
+
+if __name__ == "__main__":
+    main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/meson.build 
new/libshumate-1.7.1/meson.build
--- old/libshumate-1.7.0/meson.build    2026-09-11 09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/meson.build    2026-11-21 12:10:57.000000000 +0100
@@ -1,6 +1,6 @@
 project(
   'libshumate', 'c',
-  version: '1.7.0',
+  version: '1.7.1',
   license: 'LGPLv2.1+',
   meson_version: '>= 0.62.0',
   default_options: [
@@ -21,6 +21,10 @@
 version_major = version_arr[0]
 version_minor = version_arr[1]
 version_micro = version_arr[2]
+if version_micro == 'alpha' or version_micro == 'beta'
+  version_micro = '0'
+  version = '.'.join([version_major, version_minor, version_micro])
+endif
 
 api_version = '1.0'
 lib_version = '1.0'
@@ -104,6 +108,8 @@
 
add_project_arguments('-DSHUMATE_VERSION="@0@"'.format(meson.project_version()),
 language: 'c')
 add_project_arguments('-DGETTEXT_PACKAGE="shumate1"', language: 'c')
 
+gen_visibility_macros = find_program('build-aux/gen-visibility-macros.py')
+
 # Options
 build_demos = get_option('demos')
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/meson.build 
new/libshumate-1.7.1/shumate/meson.build
--- old/libshumate-1.7.0/shumate/meson.build    2026-09-11 09:50:19.000000000 
+0200
+++ new/libshumate-1.7.1/shumate/meson.build    2026-11-21 12:10:57.000000000 
+0100
@@ -170,10 +170,10 @@
 version_h.set('SHUMATE_MICRO_VERSION', version_micro)
 version_h.set('SHUMATE_VERSION', version)
 
-libshumate_version_h = configure_file(
+libshumate_version_h = custom_target(
   input: 'shumate-version.h.in',
   output: 'shumate-version.h',
-  configuration: version_h,
+  command: [gen_visibility_macros, version, 'SHUMATE', '@INPUT@', '@OUTPUT@'],
   install: true,
   install_dir: join_paths(
     pkgincludedir,
@@ -181,10 +181,6 @@
   )
 )
 
-libshumate_public_h += [
-  libshumate_version_h,
-]
-
 libshumate_marshals = gnome.genmarshal(
   'shumate-marshal',
   sources: 'shumate-marshal.list',
@@ -214,6 +210,7 @@
 libshumate_sources += [
   libshumate_marshals,
   libshumate_enums,
+  libshumate_version_h,
 ]
 
 install_headers(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libshumate-1.7.0/shumate/shumate-data-source-request.h 
new/libshumate-1.7.1/shumate/shumate-data-source-request.h
--- old/libshumate-1.7.0/shumate/shumate-data-source-request.h  2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-data-source-request.h  2026-11-21 
12:10:57.000000000 +0100
@@ -22,9 +22,11 @@
 #endif
 
 #include <glib-object.h>
+#include <shumate/shumate-version.h>
 
 G_BEGIN_DECLS
 
+SHUMATE_AVAILABLE_MACRO_IN_1_1
 #define SHUMATE_TYPE_DATA_SOURCE_REQUEST 
(shumate_data_source_request_get_type())
 G_DECLARE_DERIVABLE_TYPE (ShumateDataSourceRequest, 
shumate_data_source_request, SHUMATE, DATA_SOURCE_REQUEST, GObject)
 
@@ -37,24 +39,30 @@
   gpointer padding[16];
 };
 
+SHUMATE_AVAILABLE_IN_1_1
 ShumateDataSourceRequest *shumate_data_source_request_new (int x,
                                                            int y,
                                                            int zoom_level);
-
+SHUMATE_AVAILABLE_IN_1_1
 int shumate_data_source_request_get_x (ShumateDataSourceRequest *self);
+SHUMATE_AVAILABLE_IN_1_1
 int shumate_data_source_request_get_y (ShumateDataSourceRequest *self);
+SHUMATE_AVAILABLE_IN_1_1
 int shumate_data_source_request_get_zoom_level (ShumateDataSourceRequest 
*self);
-
+SHUMATE_AVAILABLE_IN_1_1
 GBytes *shumate_data_source_request_get_data (ShumateDataSourceRequest *self);
+SHUMATE_AVAILABLE_IN_1_1
 void shumate_data_source_request_emit_data (ShumateDataSourceRequest *self,
                                             GBytes                   *data,
                                             gboolean                  
complete);
-
+SHUMATE_AVAILABLE_IN_1_1
 GError *shumate_data_source_request_get_error (ShumateDataSourceRequest *self);
+SHUMATE_AVAILABLE_IN_1_1
 void shumate_data_source_request_emit_error (ShumateDataSourceRequest *self,
                                              const GError             *error);
-
+SHUMATE_AVAILABLE_IN_1_1
 gboolean shumate_data_source_request_is_completed (ShumateDataSourceRequest 
*self);
+SHUMATE_AVAILABLE_IN_1_1
 void shumate_data_source_request_complete (ShumateDataSourceRequest *self);
 
 G_END_DECLS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/shumate-data-source.h 
new/libshumate-1.7.1/shumate/shumate-data-source.h
--- old/libshumate-1.7.0/shumate/shumate-data-source.h  2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-data-source.h  2026-11-21 
12:10:57.000000000 +0100
@@ -19,7 +19,8 @@
 #pragma once
 
 #include <gio/gio.h>
-#include "shumate-data-source-request.h"
+#include <shumate/shumate-data-source-request.h>
+#include <shumate/shumate-version.h>
 
 G_BEGIN_DECLS
 
@@ -63,17 +64,20 @@
 GBytes *shumate_data_source_get_tile_data_finish (ShumateDataSource  *self,
                                                   GAsyncResult       *result,
                                                   GError            **error);
-
+SHUMATE_AVAILABLE_IN_1_1
 ShumateDataSourceRequest *shumate_data_source_start_request (ShumateDataSource 
*self,
                                                              int               
 x,
                                                              int               
 y,
                                                              int               
 zoom_level,
                                                              GCancellable      
*cancellable);
-
+SHUMATE_AVAILABLE_IN_1_1
 guint shumate_data_source_get_min_zoom_level (ShumateDataSource *self);
+SHUMATE_AVAILABLE_IN_1_1
 void shumate_data_source_set_min_zoom_level (ShumateDataSource *self,
                                              guint              zoom_level);
+SHUMATE_AVAILABLE_IN_1_1
 guint shumate_data_source_get_max_zoom_level (ShumateDataSource *self);
+SHUMATE_AVAILABLE_IN_1_1
 void shumate_data_source_set_max_zoom_level (ShumateDataSource *self,
                                              guint              zoom_level);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/shumate-location.h 
new/libshumate-1.7.1/shumate/shumate-location.h
--- old/libshumate-1.7.0/shumate/shumate-location.h     2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-location.h     2026-11-21 
12:10:57.000000000 +0100
@@ -25,6 +25,7 @@
 #define __SHUMATE_LOCATION_H__
 
 #include <glib-object.h>
+#include <shumate/shumate-version.h>
 
 G_BEGIN_DECLS
 
@@ -85,7 +86,7 @@
     double longitude);
 double shumate_location_get_latitude (ShumateLocation *location);
 double shumate_location_get_longitude (ShumateLocation *location);
-
+SHUMATE_AVAILABLE_IN_1_2
 double shumate_location_distance (ShumateLocation *self, ShumateLocation 
*other);
 
 G_END_DECLS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/shumate-map-layer.c 
new/libshumate-1.7.1/shumate/shumate-map-layer.c
--- old/libshumate-1.7.0/shumate/shumate-map-layer.c    2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-map-layer.c    2026-11-21 
12:10:57.000000000 +0100
@@ -301,9 +301,15 @@
                      gpointer       user_data)
 {
   ShumateMapLayer *self = SHUMATE_MAP_LAYER (widget);
-  self->defer_callback_id = 0;
 
   recompute_grid (self);
+
+  // don't remove the source if we're still deferring
+  if (self->deferring)
+    return G_SOURCE_CONTINUE;
+
+  self->defer_callback_id = 0;
+
   return G_SOURCE_REMOVE;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/shumate-map-layer.h 
new/libshumate-1.7.1/shumate/shumate-map-layer.h
--- old/libshumate-1.7.0/shumate/shumate-map-layer.h    2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-map-layer.h    2026-11-21 
12:10:57.000000000 +0100
@@ -26,6 +26,7 @@
 
 #include <shumate/shumate-layer.h>
 #include <shumate/shumate-map-source.h>
+#include <shumate/shumate-version.h>
 
 G_BEGIN_DECLS
 
@@ -35,11 +36,14 @@
 ShumateMapLayer *shumate_map_layer_new (ShumateMapSource *map_source,
                                         ShumateViewport  *viewport);
 
+SHUMATE_AVAILABLE_IN_1_7
 ShumateMapSource *shumate_map_layer_get_map_source (ShumateMapLayer *self);
+SHUMATE_AVAILABLE_IN_1_7
 void shumate_map_layer_set_map_source (ShumateMapLayer *self,
                                        ShumateMapSource *map_source);
-
+SHUMATE_AVAILABLE_IN_1_7
 void shumate_map_layer_refresh (ShumateMapLayer *self);
+SHUMATE_AVAILABLE_IN_1_7
 void shumate_map_layer_retry_failed (ShumateMapLayer *self);
 
 G_END_DECLS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/shumate-map.c 
new/libshumate-1.7.1/shumate/shumate-map.c
--- old/libshumate-1.7.0/shumate/shumate-map.c  2026-09-11 09:50:19.000000000 
+0200
+++ new/libshumate-1.7.1/shumate/shumate-map.c  2026-11-21 12:10:57.000000000 
+0100
@@ -326,7 +326,11 @@
   KineticScrollData *data;
   graphene_vec2_t velocity;
 
-  g_assert (self->deceleration_tick_id == 0);
+  /* A new swipe can arrive while the previous kinetic scroll is active.
+   * Remove its tick callback and free its data before replacing it.
+   */
+  cancel_deceleration (self);
+
 
   frame_clock = gtk_widget_get_frame_clock (GTK_WIDGET (self));
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/shumate-marker.h 
new/libshumate-1.7.1/shumate/shumate-marker.h
--- old/libshumate-1.7.0/shumate/shumate-marker.h       2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-marker.h       2026-11-21 
12:10:57.000000000 +0100
@@ -25,12 +25,13 @@
 #ifndef SHUMATE_MARKER_H
 #define SHUMATE_MARKER_H
 
-#include <shumate/shumate-location.h>
-
 #include <gdk/gdk.h>
 #include <glib-object.h>
 #include <gtk/gtk.h>
 
+#include <shumate/shumate-location.h>
+#include <shumate/shumate-version.h>
+
 G_BEGIN_DECLS
 
 #define SHUMATE_TYPE_MARKER shumate_marker_get_type ()
@@ -66,10 +67,11 @@
 GtkWidget *shumate_marker_get_child (ShumateMarker *marker);
 void shumate_marker_set_child (ShumateMarker *marker,
                                GtkWidget     *child);
-
+SHUMATE_AVAILABLE_IN_1_5
 void shumate_marker_set_hotspot (ShumateMarker *marker,
                                  gdouble        x_hotspot,
                                  gdouble        y_hotspot);
+SHUMATE_AVAILABLE_IN_1_5
 void shumate_marker_get_hotspot (ShumateMarker *marker,
                                  gdouble       *x_hotspot,
                                  gdouble       *y_hotspot);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/shumate-path-layer.c 
new/libshumate-1.7.1/shumate/shumate-path-layer.c
--- old/libshumate-1.7.0/shumate/shumate-path-layer.c   2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-path-layer.c   2026-11-21 
12:10:57.000000000 +0100
@@ -627,7 +627,7 @@
 {
   g_return_val_if_fail (SHUMATE_IS_PATH_LAYER (self), NULL);
 
-  return self->fill_color;
+  return gdk_rgba_copy (self->fill_color);
 }
 
 
@@ -671,7 +671,7 @@
 {
   g_return_val_if_fail (SHUMATE_IS_PATH_LAYER (self), NULL);
 
-  return self->stroke_color;
+  return gdk_rgba_copy (self->stroke_color);
 }
 
 /**
@@ -713,7 +713,7 @@
 {
   g_return_val_if_fail (SHUMATE_IS_PATH_LAYER (self), NULL);
 
-  return self->outline_color;
+  return gdk_rgba_copy (self->outline_color);
 }
 
 /**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/shumate-simple-map.h 
new/libshumate-1.7.1/shumate/shumate-simple-map.h
--- old/libshumate-1.7.0/shumate/shumate-simple-map.h   2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-simple-map.h   2026-11-21 
12:10:57.000000000 +0100
@@ -25,6 +25,7 @@
 #include <shumate/shumate-compass.h>
 #include <shumate/shumate-license.h>
 #include <shumate/shumate-scale.h>
+#include <shumate/shumate-version.h>
 
 G_BEGIN_DECLS
 
@@ -42,9 +43,11 @@
 
 void              shumate_simple_map_add_overlay_layer (ShumateSimpleMap *self,
                                                         ShumateLayer     
*layer);
+SHUMATE_AVAILABLE_IN_1_5
 void              shumate_simple_map_insert_overlay_layer_above 
(ShumateSimpleMap *self,
                                                                  ShumateLayer  
   *layer,
                                                                  ShumateLayer  
   *sibling);
+SHUMATE_AVAILABLE_IN_1_5
 void              shumate_simple_map_insert_overlay_layer_behind 
(ShumateSimpleMap *self,
                                                                   ShumateLayer 
    *layer,
                                                                   ShumateLayer 
    *sibling);
@@ -62,7 +65,7 @@
                                                             gboolean          
show_zoom_buttons);
 
 ShumateMap *shumate_simple_map_get_map (ShumateSimpleMap *self);
-
+SHUMATE_AVAILABLE_IN_1_4
 ShumateMapLayer *shumate_simple_map_get_base_map_layer (ShumateSimpleMap 
*self);
 
 G_END_DECLS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/shumate-symbol-event.h 
new/libshumate-1.7.1/shumate/shumate-symbol-event.h
--- old/libshumate-1.7.0/shumate/shumate-symbol-event.h 2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-symbol-event.h 2026-11-21 
12:10:57.000000000 +0100
@@ -22,6 +22,7 @@
 #pragma once
 
 #include <glib-object.h>
+#include <shumate/shumate-version.h>
 
 G_BEGIN_DECLS
 
@@ -34,6 +35,7 @@
 const GStrv shumate_symbol_event_get_keys (ShumateSymbolEvent *self);
 const char *shumate_symbol_event_get_tag (ShumateSymbolEvent *self,
                                           const char         *tag_name);
+SHUMATE_AVAILABLE_IN_1_5
 gint shumate_symbol_event_get_n_press (ShumateSymbolEvent *self);
 
 G_END_DECLS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/shumate-tile.h 
new/libshumate-1.7.1/shumate/shumate-tile.h
--- old/libshumate-1.7.0/shumate/shumate-tile.h 2026-09-11 09:50:19.000000000 
+0200
+++ new/libshumate-1.7.1/shumate/shumate-tile.h 2026-11-21 12:10:57.000000000 
+0100
@@ -23,7 +23,9 @@
 
 #include <glib.h>
 #include <glib-object.h>
-#include <gtk/gtk.h>
+#include <gdk/gdk.h>
+
+#include <shumate/shumate-version.h>
 
 G_BEGIN_DECLS
 
@@ -82,7 +84,9 @@
 void shumate_tile_set_paintable (ShumateTile  *self,
                                  GdkPaintable *paintable);
 
+SHUMATE_AVAILABLE_IN_1_1
 double shumate_tile_get_scale_factor (ShumateTile *self);
+SHUMATE_AVAILABLE_IN_1_1
 void shumate_tile_set_scale_factor (ShumateTile *self,
                                     double       scale_factor);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libshumate-1.7.0/shumate/shumate-vector-reader-iter.h 
new/libshumate-1.7.1/shumate/shumate-vector-reader-iter.h
--- old/libshumate-1.7.0/shumate/shumate-vector-reader-iter.h   2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-vector-reader-iter.h   2026-11-21 
12:10:57.000000000 +0100
@@ -18,6 +18,7 @@
 #pragma once
 
 #include <glib-object.h>
+#include <shumate/shumate-version.h>
 
 G_BEGIN_DECLS
 
@@ -35,6 +36,7 @@
  *
  * Since: 1.2
  */
+SHUMATE_AVAILABLE_TYPE_IN_1_2
 typedef enum {
   SHUMATE_GEOMETRY_TYPE_UNKNOWN,
   SHUMATE_GEOMETRY_TYPE_POINT,
@@ -45,31 +47,45 @@
   SHUMATE_GEOMETRY_TYPE_MULTIPOLYGON
 } ShumateGeometryType;
 
+SHUMATE_AVAILABLE_MACRO_IN_1_2
 #define SHUMATE_TYPE_VECTOR_READER_ITER (shumate_vector_reader_iter_get_type 
())
 G_DECLARE_FINAL_TYPE (ShumateVectorReaderIter, shumate_vector_reader_iter, 
SHUMATE, VECTOR_READER_ITER, GObject)
 
+SHUMATE_AVAILABLE_IN_1_2
 guint shumate_vector_reader_iter_get_layer_count (ShumateVectorReaderIter 
*self);
+SHUMATE_AVAILABLE_IN_1_2
 void shumate_vector_reader_iter_read_layer (ShumateVectorReaderIter *self, int 
index);
+SHUMATE_AVAILABLE_IN_1_2
 gboolean shumate_vector_reader_iter_read_layer_by_name 
(ShumateVectorReaderIter *self, const char *name);
+SHUMATE_AVAILABLE_IN_1_2
 const char *shumate_vector_reader_iter_get_layer_name (ShumateVectorReaderIter 
*self);
 
+SHUMATE_AVAILABLE_IN_1_2
 guint shumate_vector_reader_iter_get_layer_extent (ShumateVectorReaderIter 
*self);
+SHUMATE_AVAILABLE_IN_1_2
 guint shumate_vector_reader_iter_get_layer_feature_count 
(ShumateVectorReaderIter *self);
 
+SHUMATE_AVAILABLE_IN_1_2
 void shumate_vector_reader_iter_read_feature (ShumateVectorReaderIter *self, 
int index);
+SHUMATE_AVAILABLE_IN_1_2
 gboolean shumate_vector_reader_iter_next_feature (ShumateVectorReaderIter 
*self);
+SHUMATE_AVAILABLE_IN_1_2
 guint64 shumate_vector_reader_iter_get_feature_id (ShumateVectorReaderIter 
*self);
+SHUMATE_AVAILABLE_IN_1_2
 gboolean shumate_vector_reader_iter_get_feature_tag (ShumateVectorReaderIter 
*self,
                                                 const char          *key,
                                                 GValue              *value);
+SHUMATE_AVAILABLE_IN_1_2
 const char **shumate_vector_reader_iter_get_feature_keys 
(ShumateVectorReaderIter *self);
 
-
+SHUMATE_AVAILABLE_IN_1_2
 ShumateGeometryType shumate_vector_reader_iter_get_feature_geometry_type 
(ShumateVectorReaderIter *self);
+SHUMATE_AVAILABLE_IN_1_2
 gboolean shumate_vector_reader_iter_get_feature_point (ShumateVectorReaderIter 
*self,
                                                        double                  
*x,
                                                        double                  
*y);
+SHUMATE_AVAILABLE_IN_1_2
 gboolean shumate_vector_reader_iter_feature_contains_point 
(ShumateVectorReaderIter *self,
                                                             double             
      x,
                                                             double             
      y);
-G_END_DECLS
\ No newline at end of file
+G_END_DECLS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/shumate-vector-reader.h 
new/libshumate-1.7.1/shumate/shumate-vector-reader.h
--- old/libshumate-1.7.0/shumate/shumate-vector-reader.h        2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-vector-reader.h        2026-11-21 
12:10:57.000000000 +0100
@@ -17,16 +17,22 @@
 
 #pragma once
 
-#include "shumate-vector-reader-iter.h"
+#include <glib-object.h>
+#include <shumate/shumate-vector-reader-iter.h>
+#include <shumate/shumate-version.h>
 
 G_BEGIN_DECLS
 
+SHUMATE_AVAILABLE_MACRO_IN_1_2
 #define SHUMATE_TYPE_VECTOR_READER (shumate_vector_reader_get_type ())
 G_DECLARE_FINAL_TYPE (ShumateVectorReader, shumate_vector_reader, SHUMATE, 
VECTOR_READER, GObject)
 
+SHUMATE_AVAILABLE_IN_1_2
 ShumateVectorReader *shumate_vector_reader_new (GBytes *bytes);
+SHUMATE_AVAILABLE_IN_1_2
 ShumateVectorReaderIter *shumate_vector_reader_iterate (ShumateVectorReader 
*self);
 
+SHUMATE_AVAILABLE_IN_1_2
 ShumateVectorReader *shumate_vector_reader_iter_get_reader 
(ShumateVectorReaderIter *self);
 
 G_END_DECLS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/shumate-vector-renderer.h 
new/libshumate-1.7.1/shumate/shumate-vector-renderer.h
--- old/libshumate-1.7.0/shumate/shumate-vector-renderer.h      2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-vector-renderer.h      2026-11-21 
12:10:57.000000000 +0100
@@ -22,6 +22,7 @@
 #include <shumate/shumate-map-source.h>
 #include <shumate/shumate-vector-sprite-sheet.h>
 #include <shumate/shumate-vector-value.h>
+#include <shumate/shumate-version.h>
 
 G_BEGIN_DECLS
 
@@ -42,19 +43,24 @@
                                                         const char             
*sprites_json,
                                                         GError                
**error);
 
+SHUMATE_AVAILABLE_IN_1_1
 ShumateVectorSpriteSheet *shumate_vector_renderer_get_sprite_sheet 
(ShumateVectorRenderer *self);
+SHUMATE_AVAILABLE_IN_1_1
 void shumate_vector_renderer_set_sprite_sheet (ShumateVectorRenderer    *self,
                                                ShumateVectorSpriteSheet 
*sprites);
-
+SHUMATE_AVAILABLE_IN_1_2
 void shumate_vector_renderer_set_data_source (ShumateVectorRenderer *self,
                                               const char            *name,
                                               ShumateDataSource     
*data_source);
 
+SHUMATE_AVAILABLE_IN_1_6
 void shumate_vector_renderer_set_global_state (ShumateVectorRenderer *self,
                                                const char            *key,
                                                ShumateVectorValue    *value);
+SHUMATE_AVAILABLE_IN_1_6
 ShumateVectorValue *shumate_vector_renderer_get_global_state 
(ShumateVectorRenderer *self,
                                                               const char       
     *key);
+SHUMATE_AVAILABLE_IN_1_6
 void shumate_vector_renderer_reset_global_state (ShumateVectorRenderer *self,
                                                  const char            *key);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libshumate-1.7.0/shumate/shumate-vector-sprite-sheet.h 
new/libshumate-1.7.1/shumate/shumate-vector-sprite-sheet.h
--- old/libshumate-1.7.0/shumate/shumate-vector-sprite-sheet.h  2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-vector-sprite-sheet.h  2026-11-21 
12:10:57.000000000 +0100
@@ -19,32 +19,37 @@
 
 #include <gdk/gdk.h>
 #include <shumate/shumate-vector-sprite.h>
+#include <shumate/shumate-version.h>
 
 G_BEGIN_DECLS
 
+SHUMATE_AVAILABLE_MACRO_IN_1_1
 #define SHUMATE_TYPE_VECTOR_SPRITE_SHEET 
(shumate_vector_sprite_sheet_get_type())
 G_DECLARE_FINAL_TYPE (ShumateVectorSpriteSheet, shumate_vector_sprite_sheet, 
SHUMATE, VECTOR_SPRITE_SHEET, GObject)
 
+SHUMATE_AVAILABLE_IN_1_1
 ShumateVectorSpriteSheet *shumate_vector_sprite_sheet_new (void);
 
+SHUMATE_AVAILABLE_IN_1_1
 void shumate_vector_sprite_sheet_add_sprite (ShumateVectorSpriteSheet *self,
                                              const char               *name,
                                              ShumateVectorSprite      *sprite);
+SHUMATE_AVAILABLE_IN_1_1
 gboolean shumate_vector_sprite_sheet_add_page (ShumateVectorSpriteSheet  *self,
                                                GdkTexture                
*texture,
                                                const char                *json,
                                                double                     
default_scale,
                                                GError                   
**error);
-
+SHUMATE_AVAILABLE_IN_1_1
 ShumateVectorSprite *shumate_vector_sprite_sheet_get_sprite 
(ShumateVectorSpriteSheet *self,
                                                              const char        
       *name,
                                                              double            
        scale);
-
+SHUMATE_AVAILABLE_TYPE_IN_1_1
 typedef ShumateVectorSprite *(ShumateVectorSpriteFallbackFunc) 
(ShumateVectorSpriteSheet *sprite_sheet,
                                                                 const char     
          *name,
                                                                 double         
           scale,
                                                                 gpointer       
           user_data);
-
+SHUMATE_AVAILABLE_IN_1_1
 void shumate_vector_sprite_sheet_set_fallback (ShumateVectorSpriteSheet        
*self,
                                                ShumateVectorSpriteFallbackFunc 
 fallback,
                                                gpointer                        
 user_data,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/shumate-vector-sprite.c 
new/libshumate-1.7.1/shumate/shumate-vector-sprite.c
--- old/libshumate-1.7.0/shumate/shumate-vector-sprite.c        2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-vector-sprite.c        2026-11-21 
12:10:57.000000000 +0100
@@ -15,6 +15,8 @@
  * License along with this library; if not, see 
<https://www.gnu.org/licenses/>.
  */
 
+#include <gtk/gtk.h>
+
 #include "shumate-vector-sprite.h"
 
 /**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/shumate-vector-sprite.h 
new/libshumate-1.7.1/shumate/shumate-vector-sprite.h
--- old/libshumate-1.7.0/shumate/shumate-vector-sprite.h        2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-vector-sprite.h        2026-11-21 
12:10:57.000000000 +0100
@@ -17,25 +17,32 @@
 
 #pragma once
 
-#include <gtk/gtk.h>
+#include <gdk/gdk.h>
+#include <shumate/shumate-version.h>
 
 G_BEGIN_DECLS
 
+SHUMATE_AVAILABLE_MACRO_IN_1_1
 #define SHUMATE_TYPE_VECTOR_SPRITE shumate_vector_sprite_get_type()
 G_DECLARE_FINAL_TYPE(ShumateVectorSprite, shumate_vector_sprite, SHUMATE, 
VECTOR_SPRITE, GObject)
 
-
+SHUMATE_AVAILABLE_IN_1_1
 ShumateVectorSprite *shumate_vector_sprite_new (GdkPaintable 
*source_paintable);
+SHUMATE_AVAILABLE_IN_1_1
 ShumateVectorSprite *shumate_vector_sprite_new_full (GdkPaintable 
*source_paintable,
                                                      int           width,
                                                      int           height,
                                                      double        
scale_factor,
                                                      GdkRectangle 
*source_rect);
-
+SHUMATE_AVAILABLE_IN_1_1
 GdkPaintable *shumate_vector_sprite_get_source_paintable (ShumateVectorSprite 
*self);
+SHUMATE_AVAILABLE_IN_1_1
 int           shumate_vector_sprite_get_width            (ShumateVectorSprite 
*self);
+SHUMATE_AVAILABLE_IN_1_1
 int           shumate_vector_sprite_get_height           (ShumateVectorSprite 
*self);
+SHUMATE_AVAILABLE_IN_1_1
 double        shumate_vector_sprite_get_scale_factor     (ShumateVectorSprite 
*self);
+SHUMATE_AVAILABLE_IN_1_1
 GdkRectangle *shumate_vector_sprite_get_source_rect      (ShumateVectorSprite 
*self);
 
-G_END_DECLS
\ No newline at end of file
+G_END_DECLS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/shumate-vector-value.h 
new/libshumate-1.7.1/shumate/shumate-vector-value.h
--- old/libshumate-1.7.0/shumate/shumate-vector-value.h 2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-vector-value.h 2026-11-21 
12:10:57.000000000 +0100
@@ -18,6 +18,8 @@
 #pragma once
 
 #include <glib-object.h>
+#include <gdk/gdk.h>
+#include <shumate/shumate-version.h>
 
 G_BEGIN_DECLS
 
@@ -38,6 +40,7 @@
  *
  * Since: 1.6
  */
+SHUMATE_AVAILABLE_TYPE_IN_1_6
 typedef enum {
   SHUMATE_VECTOR_VALUE_TYPE_NULL,
   SHUMATE_VECTOR_VALUE_TYPE_NUMBER,
@@ -50,45 +53,71 @@
   SHUMATE_VECTOR_VALUE_TYPE_COLLATOR,
 } ShumateVectorValueType;
 
+SHUMATE_AVAILABLE_TYPE_IN_1_6
 typedef struct _ShumateVectorValue ShumateVectorValue;
 
+SHUMATE_AVAILABLE_MACRO_IN_1_6
 #define SHUMATE_TYPE_VECTOR_VALUE shumate_vector_value_get_type()
 
+SHUMATE_AVAILABLE_IN_1_6
 GType shumate_vector_value_get_type (void);
 
+SHUMATE_AVAILABLE_IN_1_6
 ShumateVectorValue *shumate_vector_value_new (void);
+SHUMATE_AVAILABLE_IN_1_6
 ShumateVectorValue *shumate_vector_value_new_from_value (const GValue *value);
+SHUMATE_AVAILABLE_IN_1_6
 ShumateVectorValue *shumate_vector_value_new_string (const char *string);
+SHUMATE_AVAILABLE_IN_1_6
 ShumateVectorValue *shumate_vector_value_new_number (double number);
+SHUMATE_AVAILABLE_IN_1_6
 ShumateVectorValue *shumate_vector_value_new_boolean (gboolean boolean);
+SHUMATE_AVAILABLE_IN_1_6
 ShumateVectorValue *shumate_vector_value_new_color (const GdkRGBA *color);
 
+SHUMATE_AVAILABLE_IN_1_6
 void shumate_vector_value_free (ShumateVectorValue *self);
 G_DEFINE_AUTOPTR_CLEANUP_FUNC (ShumateVectorValue, shumate_vector_value_free)
 
+SHUMATE_AVAILABLE_IN_1_6
 ShumateVectorValue *shumate_vector_value_dup (ShumateVectorValue *self);
 
+SHUMATE_AVAILABLE_IN_1_6
 ShumateVectorValueType shumate_vector_value_get_value_type (ShumateVectorValue 
*self);
 
+SHUMATE_AVAILABLE_IN_1_6
 gboolean shumate_vector_value_is_null (ShumateVectorValue *self);
+SHUMATE_AVAILABLE_IN_1_6
 void shumate_vector_value_unset (ShumateVectorValue *self);
 
+SHUMATE_AVAILABLE_IN_1_6
 void shumate_vector_value_set_number (ShumateVectorValue *self, double number);
+SHUMATE_AVAILABLE_IN_1_6
 gboolean shumate_vector_value_get_number (ShumateVectorValue *self, double 
*number);
 
+SHUMATE_AVAILABLE_IN_1_6
 void shumate_vector_value_set_string (ShumateVectorValue *self, const char 
*string);
+SHUMATE_AVAILABLE_IN_1_6
 gboolean shumate_vector_value_get_string (ShumateVectorValue *self, const char 
**string);
 
+SHUMATE_AVAILABLE_IN_1_6
 void shumate_vector_value_set_boolean (ShumateVectorValue *self, gboolean 
boolean);
+SHUMATE_AVAILABLE_IN_1_6
 gboolean shumate_vector_value_get_boolean (ShumateVectorValue *self, gboolean 
*boolean);
 
+SHUMATE_AVAILABLE_IN_1_6
 void shumate_vector_value_set_color (ShumateVectorValue *self, const GdkRGBA 
*color);
+SHUMATE_AVAILABLE_IN_1_6
 gboolean shumate_vector_value_get_color (ShumateVectorValue *self, GdkRGBA 
*color);
 
+SHUMATE_AVAILABLE_IN_1_6
 void shumate_vector_value_start_array (ShumateVectorValue *self);
+SHUMATE_AVAILABLE_IN_1_6
 void shumate_vector_value_array_append (ShumateVectorValue *self, 
ShumateVectorValue *element);
 
+SHUMATE_AVAILABLE_IN_1_6
 gboolean shumate_vector_value_equal (ShumateVectorValue *a, ShumateVectorValue 
*b);
+SHUMATE_AVAILABLE_IN_1_6
 gint shumate_vector_value_hash (ShumateVectorValue *self);
 
 G_END_DECLS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/shumate-version.h.in 
new/libshumate-1.7.1/shumate/shumate-version.h.in
--- old/libshumate-1.7.0/shumate/shumate-version.h.in   2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-version.h.in   2026-11-21 
12:10:57.000000000 +0100
@@ -31,26 +31,120 @@
  * an application was linked to.
  */
 
-/**
- * SHUMATE_MAJOR_VERSION:
- *
- * The major version of libshumate (1, if %SHUMATE_VERSION is 1.2.3)
+/* These macros are used to mark deprecated symbols in Shumate headers,
+ * and thus have to be exposed in installed headers. But please
+ * do *not* use them in other projects. Instead define your own wrappers
+ * around it.
+ */
+
+#if !defined(SHUMATE_DISABLE_DEPRECATION_WARNINGS) && \
+    (G_GNUC_CHECK_VERSION(4, 6) ||                 \
+     __clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 4))
+#define _SHUMATE_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x))
+#define SHUMATE_DEPRECATED_MACRO _SHUMATE_GNUC_DO_PRAGMA(GCC warning 
"Deprecated pre-processor symbol")
+#define SHUMATE_DEPRECATED_MACRO_FOR(f) \
+  _SHUMATE_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor 
symbol: replace with #f))
+#define SHUMATE_UNAVAILABLE_MACRO(maj,min) \
+  _SHUMATE_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Not available before 
maj.min))
+#else
+#define SHUMATE_DEPRECATED_MACRO
+#define SHUMATE_DEPRECATED_MACRO_FOR(f)
+#define SHUMATE_UNAVAILABLE_MACRO(maj,min)
+#endif
+
+#if !defined(SHUMATE_DISABLE_DEPRECATION_WARNINGS) && \
+    (G_GNUC_CHECK_VERSION(6, 1) ||                 \
+     (defined (__clang_major__) && (__clang_major__ > 3 || (__clang_major__ == 
3 && __clang_minor__ >= 0))))
+#define SHUMATE_DEPRECATED_ENUMERATOR G_DEPRECATED
+#define SHUMATE_DEPRECATED_ENUMERATOR_FOR(f) G_DEPRECATED_FOR(f)
+#define SHUMATE_UNAVAILABLE_ENUMERATOR(maj,min) G_UNAVAILABLE(maj,min)
+#else
+#define SHUMATE_DEPRECATED_ENUMERATOR
+#define SHUMATE_DEPRECATED_ENUMERATOR_FOR(f)
+#define SHUMATE_UNAVAILABLE_ENUMERATOR(maj,min)
+#endif
+
+#if !defined(SHUMATE_DISABLE_DEPRECATION_WARNINGS) && \
+    (G_GNUC_CHECK_VERSION(3, 1) ||                 \
+     (defined (__clang_major__) && (__clang_major__ > 3 || (__clang_major__ == 
3 && __clang_minor__ >= 0))))
+#define SHUMATE_DEPRECATED_TYPE G_DEPRECATED
+#define SHUMATE_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
+#define SHUMATE_UNAVAILABLE_TYPE(maj,min) G_UNAVAILABLE(maj,min)
+#else
+#define SHUMATE_DEPRECATED_TYPE
+#define SHUMATE_DEPRECATED_TYPE_FOR(f)
+#define SHUMATE_UNAVAILABLE_TYPE(maj,min)
+#endif
+
+@SHUMATE_VERSIONS@
+
+/* evaluates to the current stable version, with a hard backstop to the
+ * beginning of the stable series
+ */
+#if G_ENCODE_VERSION (SHUMATE_MAJOR_VERSION, SHUMATE_MINOR_VERSION) >= 
SHUMATE_VERSION_1_0
+# define SHUMATE_VERSION_CUR_STABLE         (G_ENCODE_VERSION 
(SHUMATE_MAJOR_VERSION, SHUMATE_MINOR_VERSION))
+#else
+# define SHUMATE_VERSION_CUR_STABLE         SHUMATE_VERSION_1_0
+#endif
+
+/* evaluates to the previous stable version, with a hard backstop to the
+ * beginning of the stable series
  */
-#define SHUMATE_MAJOR_VERSION   (@SHUMATE_MAJOR_VERSION@)
+#if G_ENCODE_VERSION (SHUMATE_MAJOR_VERSION, SHUMATE_MINOR_VERSION) > 
SHUMATE_VERSION_1_0
+# define SHUMATE_VERSION_PREV_STABLE        (G_ENCODE_VERSION 
(SHUMATE_MAJOR_VERSION, SHUMATE_MINOR_VERSION - 1))
+#else
+# define SHUMATE_VERSION_PREV_STABLE        SHUMATE_VERSION_1_0
+#endif
 
 /**
- * SHUMATE_MINOR_VERSION:
+ * SHUMATE_VERSION_MIN_REQUIRED:
+ *
+ * A macro that should be defined by the user prior to including
+ * the `shumate.h` header.
+ *
+ * The definition should be one of the predefined Shumate version
+ * macros: %SHUMATE_VERSION_1_0, %SHUMATE_VERSION_1_1,…
  *
- * The minor version of libshumate (2, if %SHUMATE_VERSION is 1.2.3)
+ * This macro defines the lower bound for the Shumate API to use.
+ *
+ * If a function has been deprecated in a newer version of Shumate,
+ * it is possible to use this symbol to avoid the compiler warnings
+ * without disabling warning for every deprecated function.
  */
-#define SHUMATE_MINOR_VERSION   (@SHUMATE_MINOR_VERSION@)
+#ifndef SHUMATE_VERSION_MIN_REQUIRED
+# define SHUMATE_VERSION_MIN_REQUIRED      (SHUMATE_VERSION_CUR_STABLE)
+#endif
 
 /**
- * SHUMATE_MICRO_VERSION:
+ * SHUMATE_VERSION_MAX_ALLOWED:
+ *
+ * A macro that should be defined by the user prior to including
+ * the `shumate.h` header.
  *
- * The micro version of libshumate (3, if %SHUMATE_VERSION is 1.2.3)
+ * The definition should be one of the predefined Shumate version
+ * macros: %SHUMATE_VERSION_1_0, %SHUMATE_VERSION_1_1,…
+ *
+ * This macro defines the upper bound for the Shumate API to use.
+ *
+ * If a function has been introduced in a newer version of Shumate,
+ * it is possible to use this symbol to get compiler warnings when
+ * trying to use that function.
  */
-#define SHUMATE_MICRO_VERSION   (@SHUMATE_MICRO_VERSION@)
+#ifndef SHUMATE_VERSION_MAX_ALLOWED
+# if SHUMATE_VERSION_MIN_REQUIRED > SHUMATE_VERSION_PREV_STABLE
+#  define SHUMATE_VERSION_MAX_ALLOWED      SHUMATE_VERSION_MIN_REQUIRED
+# else
+#  define SHUMATE_VERSION_MAX_ALLOWED      SHUMATE_VERSION_CUR_STABLE
+# endif
+#endif
+
+/* sanity checks */
+#if SHUMATE_VERSION_MAX_ALLOWED < SHUMATE_VERSION_MIN_REQUIRED
+# error "SHUMATE_VERSION_MAX_ALLOWED must be >= SHUMATE_VERSION_MIN_REQUIRED"
+#endif
+#if SHUMATE_VERSION_MIN_REQUIRED < SHUMATE_VERSION_1_0
+# error "SHUMATE_VERSION_MIN_REQUIRED must be >= SHUMATE_VERSION_1_0"
+#endif
 
 /**
  * SHUMATE_CHECK_VERSION:
@@ -69,4 +163,6 @@
      (SHUMATE_MAJOR_VERSION == (major) && SHUMATE_MINOR_VERSION == (minor) && \
       SHUMATE_MICRO_VERSION >= (micro)))
 
+@SHUMATE_VISIBILITY@
+
 #endif /* __SHUMATE_VERSION_H__ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libshumate-1.7.0/shumate/shumate-viewport.h 
new/libshumate-1.7.1/shumate/shumate-viewport.h
--- old/libshumate-1.7.0/shumate/shumate-viewport.h     2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/shumate-viewport.h     2026-11-21 
12:10:57.000000000 +0100
@@ -26,6 +26,7 @@
 #define __SHUMATE_VIEWPORT_H__
 
 #include <glib-object.h>
+#include <gtk/gtk.h>
 
 #include <shumate/shumate-location.h>
 #include <shumate/shumate-map-source.h>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libshumate-1.7.0/shumate/vector/shumate-vector-utils.c 
new/libshumate-1.7.1/shumate/vector/shumate-vector-utils.c
--- old/libshumate-1.7.0/shumate/vector/shumate-vector-utils.c  2026-09-11 
09:50:19.000000000 +0200
+++ new/libshumate-1.7.1/shumate/vector/shumate-vector-utils.c  2026-11-21 
12:10:57.000000000 +0100
@@ -15,6 +15,8 @@
  * License along with this library; if not, see 
<https://www.gnu.org/licenses/>.
  */
 
+#include <math.h>
+
 #include "shumate-vector-renderer.h"
 #include "shumate-vector-utils-private.h"
 

++++++ libshumate.obsinfo ++++++
--- /var/tmp/diff_new_pack.mdg3tX/_old  2026-11-24 12:25:01.815893773 +0100
+++ /var/tmp/diff_new_pack.mdg3tX/_new  2026-11-24 12:25:01.827894281 +0100
@@ -1,5 +1,5 @@
 name: libshumate
-version: 1.7.0
-mtime: 1789113019
-commit: e345c805a0dfc46cdbff46cac287b0b60a386f36
+version: 1.7.1
+mtime: 1795259457
+commit: 8fdfa61b681ac30e9b19d1f11d1d2b6f7f2cdbfd
 

Reply via email to