SHA256
1
0
forked from pool/libgweather4

- Update to version 4.4.4:

+ Fix deprecation warnings
  + Fix introspection annotation for async functions
  + Plug some memory leaks
  + Updated translations.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgweather4?expand=0&rev=14
This commit is contained in:
Bjørn Lie 2024-09-08 12:33:20 +00:00 committed by Git OBS Bridge
commit 3929bbde44
6 changed files with 286 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
libgweather-4.4.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6e427b4770ada48945f3aa906af710fc833cff0d42df91f1828302740d794ec
size 2827456

BIN
libgweather-4.4.4.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

126
libgweather4.changes Normal file
View File

@ -0,0 +1,126 @@
-------------------------------------------------------------------
Sun Sep 1 15:16:46 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 4.4.4:
+ Fix deprecation warnings
+ Fix introspection annotation for async functions
+ Plug some memory leaks
+ Updated translations.
-------------------------------------------------------------------
Thu Mar 21 08:17:40 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 4.4.2:
+ Fix endpoing for the METAR provider.
+ Updated translations.
-------------------------------------------------------------------
Sat Sep 16 12:22:40 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 4.4.0:
+ nws: fix null string comparison when reading visibility
+ Location database changes: Adds Cities from Ukraines
Zaporizhzhia Oblast
+ Updated translations.
-------------------------------------------------------------------
Mon Aug 7 14:52:14 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 4.3.2:
+ Fix fallback metric unit detection logic
+ Documentation fixes
+ Performance improvements for nearest location lookups
+ Location database changes
+ Updated translations.
-------------------------------------------------------------------
Sun Feb 26 20:26:03 UTC 2023 - Luciano Santos <luc14n0@opensuse.org>
- Replace python3-gi-docgen build requirement with the more
reliable pkgconfig(gi-docgen).
-------------------------------------------------------------------
Sun Sep 18 14:06:27 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 4.2.0:
+ Allow overriding vapigen with older Meson versions.
+ Documentation fixes.
+ Build fixes with newer versions of Meson.
+ Updated translations.
-------------------------------------------------------------------
Sun Sep 4 18:22:52 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 4.1.1:
+ Locations database changes
- Give proper name for Cannes-Mandelieu Airport
- Add name of Korean cities written in Hangul
- Update romanization of the name of Korean cities
- Re-organize India's locations based on states
- Add airports in Georgia
- Add various cities in Brazil
- Add various cities in Chile
- Add major cities and all international airports in Indonesia
- Replace cities in the Netherlands with the top 44 large
cities
- Add Dunedin, NZ
- Add Zhytomyr, UA
+ Disable documentation when cross-compiling
+ Fix issue with missing variable initialization
+ Use Meson's gnome.post_install() instead of our custom script
+ Add NWS weather provider for locations in the US
+ Updated translations.
- Add pkgconfig(json-glib-1.0) BuildRequires: New dependency.
-------------------------------------------------------------------
Mon Jul 18 08:52:01 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 4.1.0:
+ Update dependency to geocode-glib-2.0.
+ Switch to using libsoup3 by default.
+ Add cities in: Greece, Turkey, India, Argentina.
+ Fix various locations in Israel and Palestine.
+ Fix test METAR service test suite.
+ Updated translations.
- Replace pkgconfig(geocode-glib-1.0) and pkgconfig(libsoup-2.4)
with pkgconfig(geocode-glib-2.0) and pkgconfig(libsoup-3.0)
BuildRequires following upstreams port.
- Pass soup2=false to meson, build just soup3 support.
-------------------------------------------------------------------
Fri Mar 18 16:46:56 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 4.0.0:
+ Updated translations.
- Drop baselibs.conf, should not be needed for this new library.
- Use ldconfig_scriptlets macro for post(un) handling.
-------------------------------------------------------------------
Thu Mar 3 17:20:48 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.99.0:
+ Updated location database.
+ Updated translations.
-------------------------------------------------------------------
Wed Jan 12 21:43:30 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.91.0:
+ Renamed `gweather-weather.h` to `gweather-info.h`.
+ Removed GWeatherTimezone.
+ New locations: Palestine cities, county capitals in Romania.
+ Fix Vala binding of Location.detect_nearest_city().
+ Add GWeather.Location.has_timezone().
+ Depend on GLib ≥ 2.68.
+ Fix build on 32bit architectures.
+ Documentation updates in the migration guide.
+ Updated translations.
- Pass soup2=true to meson, continue to build with old libsoup as
of now.
-------------------------------------------------------------------
Wed Jan 12 10:55:13 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Initial package, version 3.90, based on libgweather (parallel
installable).

130
libgweather4.spec Normal file
View File

@ -0,0 +1,130 @@
#
# spec file for package libgweather4
#
# 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/
#
Name: libgweather4
Version: 4.4.4
Release: 0
Summary: Library to get online weather information
License: GPL-2.0-or-later
Group: Development/Libraries/GNOME
URL: https://wiki.gnome.org/Projects/LibGWeather
Source0: https://download.gnome.org/sources/libgweather/4.4/libgweather-%{version}.tar.xz
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
BuildRequires: meson >= 0.50.0
BuildRequires: pkgconfig
BuildRequires: python3-gobject
BuildRequires: pkgconfig(geocode-glib-2.0)
BuildRequires: pkgconfig(gi-docgen)
BuildRequires: pkgconfig(gio-2.0) >= 2.68.0
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libsoup-3.0)
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.0
BuildRequires: pkgconfig(vapigen)
%description
This is a library to download weather information from online sources.
%package -n gweather4-data
Summary: Auxiliary schema data for libgweather
Group: Development/Libraries/GNOME
Requires: libgweather-4-0 = %{version}
Provides: %{name} = %{version}
%description -n gweather4-data
This is a library to download weather information from online sources.
This package provides the architecture independent files.
%package devel
Summary: Development files for libgweather, a weather info retrieval library
Group: Development/Libraries/GNOME
Requires: libgweather-4-0 = %{version}
Requires: typelib-1_0-GWeather-4_0 = %{version}
%description devel
This is a library to download weather information from online sources.
This package provides the development files.
%package -n libgweather-4-0
Summary: Library to get online weather information
Group: Development/Libraries/GNOME
Requires: gweather4-data >= %{version}
%description -n libgweather-4-0
This is a library to download weather information from online sources.
%package -n typelib-1_0-GWeather-4_0
Summary: Introspection bindings for libgweather
Group: System/Libraries
%description -n typelib-1_0-GWeather-4_0
This is a library to download weather information from online sources.
This package provides the GObject Introspection bindings for the
libgweather library.
%lang_package
%prep
%autosetup -p1 -n libgweather-%{version}
%build
%meson \
-D enable_vala=true \
-D gtk_doc=true \
-D soup2=false \
%{nil}
%meson_build
%install
%meson_install
%find_lang libgweather-4.0 %{?no_lang_C}
%find_lang libgweather-4.0-locations libgweather-4.0.lang %{?no_lang_C}
%ldconfig_scriptlets -n libgweather-4-0
%files -n gweather4-data
%{_datadir}/glib-2.0/schemas/org.gnome.GWeather4.enums.xml
%{_datadir}/glib-2.0/schemas/org.gnome.GWeather4.gschema.xml
%{_datadir}/libgweather-4/
%dir %{_libdir}/libgweather-4
%{_libdir}/libgweather-4/Locations.bin
%files -n libgweather-4-0
%license COPYING
%{_libdir}/*.so.*
%files -n typelib-1_0-GWeather-4_0
%{_libdir}/girepository-1.0/GWeather-4.0.typelib
%files devel
%doc README.md NEWS
%{_datadir}/doc/libgweather-4.0/
%{_includedir}/libgweather-4.0
%{_libdir}/*.so
%{_libdir}/pkgconfig/gweather4.pc
%{_datadir}/gir-1.0/GWeather-4.0.gir
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/gweather4.deps
%{_datadir}/vala/vapi/gweather4.vapi
%files lang -f libgweather-4.0.lang
%changelog