Add gnome-shell's weather integration to the whitelist
We don't want to show the indicator permanently, so mark the shell as system component. In 3.24.1, it will respect the location authorization for gnome-weather ...
This commit is contained in:
parent
be189f294f
commit
5509b9302c
35
0001-data-Add-gnome-shell-to-the-whitelist.patch
Normal file
35
0001-data-Add-gnome-shell-to-the-whitelist.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
From a4cef6c0ad08f1c2dc0b002c77bf41669f4ede98 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
||||||
|
Date: Fri, 17 Mar 2017 21:09:09 +0100
|
||||||
|
Subject: [PATCH] data: Add gnome-shell to the whitelist
|
||||||
|
|
||||||
|
gnome-shell now uses Geoclue to show weather information in the calendar
|
||||||
|
drop-down. While it can easily bypass the authorization dialog (being
|
||||||
|
the agent itself), the location indicator loses its usefulness when
|
||||||
|
permanently visible, so add it to the other system components in the
|
||||||
|
whitelist.
|
||||||
|
|
||||||
|
https://bugs.freedesktop.org/show_bug.cgi?id=100263
|
||||||
|
---
|
||||||
|
data/geoclue.conf.in | 5 +++++
|
||||||
|
1 file changed, 5 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/data/geoclue.conf.in b/data/geoclue.conf.in
|
||||||
|
index 7ee15c0..bf77038 100644
|
||||||
|
--- a/data/geoclue.conf.in
|
||||||
|
+++ b/data/geoclue.conf.in
|
||||||
|
@@ -73,6 +73,11 @@ allowed=true
|
||||||
|
system=true
|
||||||
|
users=
|
||||||
|
|
||||||
|
+[org.gnome.Shell]
|
||||||
|
+allowed=true
|
||||||
|
+system=true
|
||||||
|
+users=
|
||||||
|
+
|
||||||
|
[epiphany]
|
||||||
|
allowed=true
|
||||||
|
system=false
|
||||||
|
--
|
||||||
|
2.12.0
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: geoclue2
|
Name: geoclue2
|
||||||
Version: 2.4.5
|
Version: 2.4.5
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Geolocation service
|
Summary: Geolocation service
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -8,6 +8,7 @@ URL: http://www.freedesktop.org/wiki/Software/GeoClue/
|
|||||||
Source0: http://www.freedesktop.org/software/geoclue/releases/2.4/geoclue-%{version}.tar.xz
|
Source0: http://www.freedesktop.org/software/geoclue/releases/2.4/geoclue-%{version}.tar.xz
|
||||||
# Backported from upstream
|
# Backported from upstream
|
||||||
Patch0: 0001-data-Add-Night-Light-functionality-to-the-whitelist.patch
|
Patch0: 0001-data-Add-Night-Light-functionality-to-the-whitelist.patch
|
||||||
|
Patch1: 0001-data-Add-gnome-shell-to-the-whitelist.patch
|
||||||
|
|
||||||
BuildRequires: avahi-glib-devel
|
BuildRequires: avahi-glib-devel
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
@ -65,6 +66,7 @@ The %{name}-demos package contains demo applications that use %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n geoclue-%{version}
|
%setup -q -n geoclue-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -139,6 +141,9 @@ exit 0
|
|||||||
%{_datadir}/applications/geoclue-where-am-i.desktop
|
%{_datadir}/applications/geoclue-where-am-i.desktop
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 24 2017 Florian Müllner <fmuellner@redhat.com> - 32.4.5-4
|
||||||
|
- Add gnome-shell's weather integration to the whitelist
|
||||||
|
|
||||||
* Wed Mar 01 2017 Kalev Lember <klember@redhat.com> - 2.4.5-3
|
* Wed Mar 01 2017 Kalev Lember <klember@redhat.com> - 2.4.5-3
|
||||||
- Add "Night Light" functionality to the whitelist
|
- Add "Night Light" functionality to the whitelist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user