diff --git a/geoclue-2.4.12.tar.xz b/geoclue-2.4.12.tar.xz deleted file mode 100644 index 062e9fb..0000000 --- a/geoclue-2.4.12.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:05d0e2ec077a685de2a9c63973fe6d18366ca53881d1f0750110b93c5c68caca -size 398124 diff --git a/geoclue-2.5.1.tar.bz2 b/geoclue-2.5.1.tar.bz2 new file mode 100644 index 0000000..4ca36dc --- /dev/null +++ b/geoclue-2.5.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a9f440cad2d944019cd5b725818c88a5526fd4a12adc7faa53663621146e9aa +size 100470 diff --git a/geoclue2.changes b/geoclue2.changes index b4db1fd..a7b1924 100644 --- a/geoclue2.changes +++ b/geoclue2.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sun Dec 2 18:06:16 UTC 2018 - bjorn.lie@gmail.com + +- Update to version 2.5.1: + + Fix libgeoclue ABI break in 2.5.0. + + Use absolute paths for libexecdir. +- Changes from version 2.5.0: + + Drop authorization for system (non-flatpak) apps. + + Switch from autotools to meson build system. + + Use WiFi-based geolocation for city level accuracy. + + Provide Vala API. + + Don't enable all warnings from C compiler by default. + + No need to mark translatable strings in desktop files. +- Changes from version 2.4.13: + + Configuration file related changes: + - Allow absence of agent if agent white-list is empty. + - Add elementary-desktop-agent to whitelist. + - Allow disabling of all sources. + - Warn about use of Google's services. + - Document that all settings are mandatory. + + Increase default inactivity timeout to 60s. + + Increase agent timeout from 100ms to 20s. + + Console message on inactivity timeout. +- Switch to meson buildsystem, add meson BuildRequires and macros. + ------------------------------------------------------------------- Tue Aug 14 18:08:53 UTC 2018 - bjorn.lie@gmail.com diff --git a/geoclue2.spec b/geoclue2.spec index 164c28c..156f415 100644 --- a/geoclue2.spec +++ b/geoclue2.spec @@ -12,27 +12,27 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define _name geoclue Name: geoclue2 -Version: 2.4.12 +Version: 2.5.1 Release: 0 Summary: GeoLocation Framework License: GPL-2.0-or-later Group: Development/Libraries/C and C++ URL: http://people.freedesktop.org/~zeenix/releases/ -Source: http://www.freedesktop.org/software/geoclue/releases/2.4/%{_name}-%{version}.tar.xz +Source0: https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/%{version}/geoclue-%{version}.tar.bz2 Source1: srvGeoClue.conf Source99: geoclue2-rpmlintrc # PATCH-FIX-UPSTREAM geoclue2-Fix-duplicate-decl-specifier.patch -- Fix compiler warning about duplicate decl specifier Patch0: geoclue2-Fix-duplicate-decl-specifier.patch -BuildRequires: gtk-doc BuildRequires: intltool >= 0.40.0 +BuildRequires: meson BuildRequires: pkgconfig BuildRequires: systemd-rpm-macros BuildRequires: sysuser-tools @@ -94,19 +94,19 @@ communication mechanism to provide location information %autosetup -n %{_name}-%{version} -p1 %build -%configure \ - --disable-geoip-server \ - --enable-introspection \ - --with-dbus-service-user=srvGeoClue -%make_build +%meson \ + -Dgtk-doc=false \ + -Ddbus-srv-user=srvGeoClue \ + %{nil} +%meson_build %sysusers_generate_pre %{SOURCE1} srvGeoClue %install -%make_install +%meson_install install -d %{buildroot}%{_localstatedir}/lib/srvGeoClue mkdir -p %{buildroot}%{_sysusersdir} install -m 644 %{SOURCE1} %{buildroot}%{_sysusersdir}/system-user-srvGeoClue.conf -find %{buildroot} -type f -name "*.la" -delete -print + # Remove desktop file, we do not build the demos # Upstream is explicitly asking us to package these, so lets give it a go. #find %%{buildroot} -type f -name "geoclue-demo-agent.desktop" -delete -print