Accepting request 461648 from Application:Geo

1

OBS-URL: https://build.opensuse.org/request/show/461648
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoclue2?expand=0&rev=24
This commit is contained in:
Dominique Leuenberger 2017-03-05 16:56:43 +00:00 committed by Git OBS Bridge
commit 70a9d30d66
3 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,32 @@
From 37b18f20abc044689b8a493da859b3fcf174c407 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Tue, 28 Feb 2017 16:12:29 +0100
Subject: data: Add "Night Light" functionality to the whitelist
The gnome-settings-daemon color plugin uses Geoclue to guess the current
location and deduce the sunset and sunrise times. Make sure that the
functionality does not require a dialogue on startup when enabled.
See https://bugzilla.gnome.org/show_bug.cgi?id=779343
https://bugs.freedesktop.org/show_bug.cgi?id=100008
diff --git a/data/geoclue.conf.in b/data/geoclue.conf.in
index 5009ebf..7ee15c0 100644
--- a/data/geoclue.conf.in
+++ b/data/geoclue.conf.in
@@ -68,6 +68,11 @@ allowed=true
system=true
users=
+[gnome-color-panel]
+allowed=true
+system=true
+users=
+
[epiphany]
allowed=true
system=false
--
cgit v0.10.2

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 1 16:05:18 UTC 2017 - zaitor@opensuse.org
- Add geoclue2-permit-Night-Light.patch: Add "Night Light"
functionality to the whitelist (bgo#779343, fdo#100008).
-------------------------------------------------------------------
Thu Feb 2 21:21:10 UTC 2017 - zaitor@opensuse.org

View File

@ -29,6 +29,8 @@ Source: http://www.freedesktop.org/software/geoclue/releases/2.4/%{_name
Source99: geoclue2-rpmlintrc
# PATCH-FIX-UPSTREAM geoclue2-permit-gnome-maps.patch dimstar@opensuse.org -- Allow gnome-maps to access geoclue
Patch0: geoclue2-permit-gnome-maps.patch
# PATCH-FIX-UPSTREAM geoclue2-permit-Night-Light.patch zaitor@opensuse.org -- Add "Night Light" functionality to the whitelist
Patch1: geoclue2-permit-Night-Light.patch
BuildRequires: gtk-doc
BuildRequires: intltool >= 0.40.0
BuildRequires: pkg-config
@ -79,6 +81,7 @@ communication mechanism to provide location information
%prep
%setup -q -n %{_name}-%{version}
%patch0 -p1
%patch1 -p1
%build
%configure \