From 49a1f0dba9d9fc200b7c7cca67a44db248756c92aa625f15df6d1bc62d83d56e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Mon, 12 Aug 2024 12:32:15 +0000 Subject: [PATCH] - Update to version 1.2.3: + Fix build with -Dvector_renderer=false OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libshumate?expand=0&rev=31 --- .gitattributes | 23 +++++ .gitignore | 1 + _service | 17 ++++ libshumate-1.2.2.obscpio | 3 + libshumate-1.2.3.obscpio | 3 + libshumate.changes | 194 +++++++++++++++++++++++++++++++++++++++ libshumate.obsinfo | 4 + libshumate.spec | 123 +++++++++++++++++++++++++ 8 files changed, 368 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 libshumate-1.2.2.obscpio create mode 100644 libshumate-1.2.3.obscpio create mode 100644 libshumate.changes create mode 100644 libshumate.obsinfo create mode 100644 libshumate.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..a1fe800 --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + + https://gitlab.gnome.org/GNOME/libshumate.git + git + @PARENT_TAG@+@TAG_OFFSET@ + 1.2.3 + (.*)\+0 + \1 + + + + *.tar + zst + + + diff --git a/libshumate-1.2.2.obscpio b/libshumate-1.2.2.obscpio new file mode 100644 index 0000000..17c470a --- /dev/null +++ b/libshumate-1.2.2.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4521a7464d27c8a7d7981e00547a8baa219d03d08672917952810daaa57004f2 +size 1581580 diff --git a/libshumate-1.2.3.obscpio b/libshumate-1.2.3.obscpio new file mode 100644 index 0000000..16a6dea --- /dev/null +++ b/libshumate-1.2.3.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5e2953c0bc6db237eeff6d7964624d1fd3344f63e3a82ec96bdd0c780213f43b +size 1585676 diff --git a/libshumate.changes b/libshumate.changes new file mode 100644 index 0000000..3afef19 --- /dev/null +++ b/libshumate.changes @@ -0,0 +1,194 @@ +------------------------------------------------------------------- +Sun Aug 11 13:28:55 UTC 2024 - Bjørn Lie + +- Update to version 1.2.3: + + Fix build with -Dvector_renderer=false + +------------------------------------------------------------------- +Mon May 27 06:43:31 UTC 2024 - Dominique Leuenberger + +- Update to version 1.2.2: + + Fix some compiler warnings. + + Fix build failure with Clang 18. + + Allow building with G_DISABLE_ASSERT. + +------------------------------------------------------------------- +Thu May 2 12:28:23 UTC 2024 - Dominique Leuenberger + +- Update to version 1.2.1: + + Fix compiling with C++. + + Fix crash with null reference map source. + +------------------------------------------------------------------- +Sat Mar 16 09:31:19 UTC 2024 - Dominique Leuenberger + +- Update to version 1.2.0: + + Use g_assert_true instead of g_assert in tests. + + Updated translations. + +------------------------------------------------------------------- +Tue Mar 5 07:59:25 UTC 2024 - Dominique Leuenberger + +- Update to version 1.2.rc2: + + Fix regression in vector renderer with the latest optimizations + causing the hightway shield renderer in Maps not showing + shields. + + Fix compiling new tests with gcc using + -Wimplicit-function-declaration. + + Updated translations. + +------------------------------------------------------------------- +Mon Mar 4 07:34:51 UTC 2024 - Dominique Leuenberger + +- Update to version 1.2.rc: + + Performance improvements to the vector renderer. + + Remove undefined tile API. + + Fix zooming with smooth scrolling mice. + + Updated translations. + +------------------------------------------------------------------- +Sun Feb 18 15:37:05 UTC 2024 - Dominique Leuenberger + +- Update to version 1.2.beta: + + Fix artifacts in NGL renderer. + + Don't crash in vector reader if key is NULL. + + Enable the vector renderer by default when building (can still + be disabled if not needed). + + Add distance method for Location. + +------------------------------------------------------------------- +Sat Feb 17 10:18:07 UTC 2024 - Dominique Leuenberger + +- Update to version 1.2.alpha: + + Various vector renderer improvements. + + Support continous scroll. + + Support arrow key panning. +- Drop -D libsoup3=true mesom paraameter: no longer supported. + +------------------------------------------------------------------- +Fri Feb 16 10:34:16 UTC 2024 - Lubos Kocman + +- Update licenses based on legaldb review + +------------------------------------------------------------------- +Thu Nov 2 09:03:18 UTC 2023 - Bjørn Lie + +- Update to version 1.1.2: + + Fix using overlay map layers with different tile sizes than the + reference source. + +------------------------------------------------------------------- +Sun Oct 22 00:42:25 UTC 2023 - Bjørn Lie + +- Update to version 1.1.1: + + Fix null reference map source, avoid critical log message when + setting a null map source with + shumate_viewport_set_reference_map_source(). + +------------------------------------------------------------------- +Sat Sep 16 13:59:09 UTC 2023 - Bjørn Lie + +- Update to version 1.1.0: + + Fix grey background on sprites + + Updated translations. +- Switch compression to zst in both service and tarball produced. + +------------------------------------------------------------------- +Wed Sep 6 01:31:05 UTC 2023 - Luciano Santos + +- Add with(out) "profiling" build switch and disable it, by + default, as profiling isn't meant for general use. Add nested + pkgconfig(sysprof-capture-4) BuildRequires under an if-with + expression and pass sysprof=(enabled|disabled) to meson, + depending on the profiling switch. This is meant for an eventual + need for Sysprof's profiling support. + +------------------------------------------------------------------- +Mon Sep 4 09:40:03 UTC 2023 - Bjørn Lie + +- Update to version 1.1.rc: + + Bugfixes and optimizations in vector render. + + Add icon-color property for vector renderer. + + Disable g_asserts on release builds. + + Updated translations. + +------------------------------------------------------------------- +Fri Aug 18 18:49:17 UTC 2023 - Bjørn Lie + +- Update to version 1.1.beta: + + Vector rendering improvements. + + Updated translations. +- Add pkgconfig(gperf) BuildRequires, a new introduced dependency. + +------------------------------------------------------------------- +Wed Jul 19 09:15:01 UTC 2023 - Bjørn Lie + +- Update to version 1.0.5: + + Don't defer frame clock when widget is unrealized. + +------------------------------------------------------------------- +Tue Jul 11 12:13:01 UTC 2023 - Bjørn Lie + +- Update to version 1.0.4: + + Throttle tile download during animations. + +------------------------------------------------------------------- +Fri Dec 2 21:05:09 UTC 2022 - Bjørn Lie + +- Update to version 1.0.3: + + Fix memory leaks. + + Remove old tiles more aggresively, speeding up zoom animations. + +------------------------------------------------------------------- +Sat Oct 22 11:29:40 UTC 2022 - Bjørn Lie + +- Update to version 1.0.2: + + Avoid flickering when panning the map. + + Fix warnings about min/max zoom levels for the viewport. + + Fix documentation comments. + + Fix cross-compilation for gi-docgen. + +------------------------------------------------------------------- +Tue Oct 11 08:49:50 UTC 2022 - Bjørn Lie + +- Stop passing b_coverage=true to meson. We do not need the + coverage tracking, that is for upstream developers. + +------------------------------------------------------------------- +Sun Sep 18 19:45:30 UTC 2022 - Bjørn Lie + +- Update to version 1.0.1: + + Release 1.0.1 to avoid Meson considering 1.0.0 < 1.0.0.beta. + + Updated translations. + +------------------------------------------------------------------- +Sun Sep 18 09:00:29 UTC 2022 - Bjørn Lie + +- Update to version 1.0.0: + + Fix build error with Clang. + +------------------------------------------------------------------- +Tue Sep 6 08:20:09 UTC 2022 - Bjørn Lie + +- Add libshumate Provides to shared library to make -lang package + installable. + +------------------------------------------------------------------- +Thu Sep 1 06:07:18 UTC 2022 - Bjørn Lie + +- Update to version 1.0.0.beta: + + Finalized 1.0.0 API/ABI. + + Various code cleanups. + + Enabled localization support. + + Changed the URL template for map sources. +- Add pkgconfig(json-glib-1.0) and pkgconfig(libprotobuf-c) + BuildRequires, new dependencies. +- Pass vector_renderer=true, b_coverage=true and gtk_doc=true to + meson, follow what upstream uses for checkin build tests, without + the build fails.... +- Package translations in new lang sub-package. + +------------------------------------------------------------------- +Fri Jan 14 16:26:47 UTC 2022 - Bjørn Lie + +- Initial packaging for openSUSE, version 1.0.0.alpha.1 diff --git a/libshumate.obsinfo b/libshumate.obsinfo new file mode 100644 index 0000000..675378d --- /dev/null +++ b/libshumate.obsinfo @@ -0,0 +1,4 @@ +name: libshumate +version: 1.2.3 +mtime: 1722544145 +commit: ca387d96dffd7cc444fe47c470c7455ce6a2166d diff --git a/libshumate.spec b/libshumate.spec new file mode 100644 index 0000000..f28beb1 --- /dev/null +++ b/libshumate.spec @@ -0,0 +1,123 @@ +# +# spec file for package libshumate +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define somajor 1 +%define sominor 0 +%define soname libshumate-%{somajor}_%{sominor}-1 +%bcond_with profiling + +Name: libshumate +Version: 1.2.3 +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 +URL: https://wiki.gnome.org/Projects/libshumate +Source: %{name}-%{version}.tar.zst + +BuildRequires: gperf +BuildRequires: gtk-doc >= 1.9 +BuildRequires: meson >= 0.53.0 +BuildRequires: pkgconfig +BuildRequires: pkgconfig(cairo) >= 1.4 +BuildRequires: pkgconfig(gi-docgen) >= 2021.1 +BuildRequires: pkgconfig(gio-2.0) >= 2.16.0 +BuildRequires: pkgconfig(glib-2.0) >= 2.16.0 +BuildRequires: pkgconfig(gobject-2.0) >= 2.16.0 +BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.6.3 +BuildRequires: pkgconfig(gtk4) +BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(libprotobuf-c) +BuildRequires: pkgconfig(libsoup-3.0) >= 3.0 +BuildRequires: pkgconfig(sqlite3) >= 1.12.0 +BuildRequires: pkgconfig(vapigen) >= 0.11.0 +%if %{with profiling} +BuildRequires: pkgconfig(sysprof-capture-4) +%endif + +%description +libshumate is a C library providing a GtkWidget to display maps. +It supports numerous free map sources such as OpenStreetMap, +OpenCycleMap, OpenAerialMap and Maps for free. + +libshumate is named after Jessamine Shumate, an American artist, +historian, and cartographer (Wikipedia). libshumate is forked from, +and tries to follow similar principles in the API as libchamplain. + +%package -n %{soname} +Summary: Shared library for %{name} +Provides: %{name} = %{version} + +%description -n %{soname} +C library providing a GtkWidget to display maps. +This package contains the shared library files. + +%package -n typelib-1_0-Shumate-%{somajor}_%{sominor} +Summary: Introspection file for %{name} + +%description -n typelib-1_0-Shumate-%{somajor}_%{sominor} +C library providing a GtkWidget to display maps. +This package contains introspection file for %{name}. + +%package devel +Summary: Development files for %{name} +Requires: %{soname} = %{version} +Requires: typelib-1_0-Shumate-%{somajor}_%{sominor} = %{version} + +%description devel +C library providing a GtkWidget to display maps. +This package contains development files for %{name}. + +%lang_package + +%prep +%autosetup -p1 + +%build +%meson \ + -D vector_renderer=true \ + -D gtk_doc=true \ + -D sysprof=%{?with_profiling:enabled}%{!?with_profiling:disabled} \ + %{nil} +%meson_build + +%install +%meson_install +%find_lang shumate%{somajor} %{?no_lang_C} + +%ldconfig_scriptlets -n %{soname} + +%files -n %{soname} +%license COPYING +%{_libdir}/libshumate-%{somajor}.%{sominor}.so.* + +%files -n typelib-1_0-Shumate-%{somajor}_%{sominor} +%{_libdir}/girepository-1.0/Shumate-%{somajor}.%{sominor}.typelib + +%files devel +%doc AUTHORS README.md +%{_datadir}/doc/libshumate-%{somajor}.%{sominor}/ +%{_includedir}/shumate-%{somajor}.%{sominor}/ +%{_libdir}/pkgconfig/shumate-%{somajor}.%{sominor}.pc +%{_libdir}/libshumate-%{somajor}.%{sominor}.so +%{_datadir}/gir-1.0/Shumate-%{somajor}.%{sominor}.gir +%{_datadir}/vala/vapi/shumate-%{somajor}.%{sominor}.deps +%{_datadir}/vala/vapi/shumate-%{somajor}.%{sominor}.vapi + +%files lang -f shumate%{somajor}.lang + +%changelog