diff --git a/0001-data-Add-Night-Light-functionality-to-the-whitelist.patch b/0001-data-Add-Night-Light-functionality-to-the-whitelist.patch new file mode 100644 index 0000000..66e750a --- /dev/null +++ b/0001-data-Add-Night-Light-functionality-to-the-whitelist.patch @@ -0,0 +1,35 @@ +From 37b18f20abc044689b8a493da859b3fcf174c407 Mon Sep 17 00:00:00 2001 +From: Bastien Nocera +Date: Tue, 28 Feb 2017 16:12:29 +0100 +Subject: [PATCH] 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 +--- + data/geoclue.conf.in | 5 +++++ + 1 file changed, 5 insertions(+) + +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 +-- +2.12.0 + diff --git a/geoclue2.spec b/geoclue2.spec index 47c4dcf..0488a85 100644 --- a/geoclue2.spec +++ b/geoclue2.spec @@ -1,11 +1,13 @@ Name: geoclue2 Version: 2.4.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Geolocation service License: GPLv2+ URL: http://www.freedesktop.org/wiki/Software/GeoClue/ Source0: http://www.freedesktop.org/software/geoclue/releases/2.4/geoclue-%{version}.tar.xz +# Backported from upstream +Patch0: 0001-data-Add-Night-Light-functionality-to-the-whitelist.patch BuildRequires: avahi-glib-devel BuildRequires: glib2-devel @@ -62,6 +64,7 @@ The %{name}-demos package contains demo applications that use %{name}. %prep %setup -q -n geoclue-%{version} +%patch0 -p1 %build @@ -136,6 +139,9 @@ exit 0 %{_datadir}/applications/geoclue-where-am-i.desktop %changelog +* Wed Mar 01 2017 Kalev Lember - 2.4.5-3 +- Add "Night Light" functionality to the whitelist + * Fri Feb 10 2017 Fedora Release Engineering - 2.4.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild