Accepting request 657608 from GNOME:Next

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

OBS-URL: https://build.opensuse.org/request/show/657608
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoclue2?expand=0&rev=77
This commit is contained in:
Bruno Friedmann 2018-12-12 19:18:10 +00:00 committed by Git OBS Bridge
parent 2e4038e46b
commit d8385821aa
4 changed files with 39 additions and 14 deletions

View File

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

3
geoclue-2.5.1.tar.bz2 Normal file
View File

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

View File

@ -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 Tue Aug 14 18:08:53 UTC 2018 - bjorn.lie@gmail.com

View File

@ -12,27 +12,27 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 %define _name geoclue
Name: geoclue2 Name: geoclue2
Version: 2.4.12 Version: 2.5.1
Release: 0 Release: 0
Summary: GeoLocation Framework Summary: GeoLocation Framework
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
URL: http://people.freedesktop.org/~zeenix/releases/ 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 Source1: srvGeoClue.conf
Source99: geoclue2-rpmlintrc Source99: geoclue2-rpmlintrc
# PATCH-FIX-UPSTREAM geoclue2-Fix-duplicate-decl-specifier.patch -- Fix compiler warning about duplicate decl specifier # PATCH-FIX-UPSTREAM geoclue2-Fix-duplicate-decl-specifier.patch -- Fix compiler warning about duplicate decl specifier
Patch0: geoclue2-Fix-duplicate-decl-specifier.patch Patch0: geoclue2-Fix-duplicate-decl-specifier.patch
BuildRequires: gtk-doc
BuildRequires: intltool >= 0.40.0 BuildRequires: intltool >= 0.40.0
BuildRequires: meson
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
BuildRequires: sysuser-tools BuildRequires: sysuser-tools
@ -94,19 +94,19 @@ communication mechanism to provide location information
%autosetup -n %{_name}-%{version} -p1 %autosetup -n %{_name}-%{version} -p1
%build %build
%configure \ %meson \
--disable-geoip-server \ -Dgtk-doc=false \
--enable-introspection \ -Ddbus-srv-user=srvGeoClue \
--with-dbus-service-user=srvGeoClue %{nil}
%make_build %meson_build
%sysusers_generate_pre %{SOURCE1} srvGeoClue %sysusers_generate_pre %{SOURCE1} srvGeoClue
%install %install
%make_install %meson_install
install -d %{buildroot}%{_localstatedir}/lib/srvGeoClue install -d %{buildroot}%{_localstatedir}/lib/srvGeoClue
mkdir -p %{buildroot}%{_sysusersdir} mkdir -p %{buildroot}%{_sysusersdir}
install -m 644 %{SOURCE1} %{buildroot}%{_sysusersdir}/system-user-srvGeoClue.conf 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. # 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 #find %%{buildroot} -type f -name "geoclue-demo-agent.desktop" -delete -print