Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
From https://bugs.debian.org/1006631:
> dbus supports policy files in both `/usr/share/dbus-1/system.d` and
> `/etc/dbus-1/systemd`. [The] recently released dbus 1.14.0, officially
> deprecates installing packages' default policies into `/etc/dbus-1/systemd`,
> instead reserving it for the sysadmin. This is the same idea as the
> difference between `/usr/lib/udev/rules.d` and `/etc/udev/rules.d`.
|
|
Meson 0.56.0 deprecated get_pkgconfig_variable(),
use get_variable() instead.
|
|
Mention conf.d overwrites in man page
|
|
Bump to meson 0.60.0 for install_emptydir support
to install conf.d directory.
|
|
There were many requests to provide a static location source for systems
which don't normally move but where the existing location sources provide
poor location estimate.
An example of such system would be a desktop PC without WiFi or 3G modem.
So let's add a source that reads location from "geolocation" file in
@sysconfdir@ (normally /etc) to cover this use case.
This file is constantly monitored for changes during Geoclue operation
and the reported static location is updated accordingly.
The geoclue(5) man page should be consulted for the format description of
this file.
|
|
|
|
While old /v1/submit API is still active right now, it has been
deprecated since 2015. It's better to migrate to new /v2/geosubmit API.
|
|
This prevents "Read-only file system. dconf will not work properly."
warnings from the dconf GSettings backend, when GeoClue is run with
ProtectSystem=strict, i.e. a read-only homedir.
|
|
Currently, only Modem-GPS is supported as a provider of a location to
submit to MLS.
Let's also allow Network NMEA as such source if Modem-GPS is disabled in
the config - it's very unlikely that both are going to be actually present
on the same system and submission is disabled by default anyway.
|
|
config: Add 'compass' group with 'enable' key
location-source: Leave priv->compass to NULL and don't connect compass
signal handler, if compass is disabled in config.
|
|
|
|
|
|
This allows geoclue to use phosh (https://source.puri.sm/Librem5/phosh)
as agent.
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
Make the unix socket option and an option to specify the path.
Signed-off-by: Angus Ainslie <angus@akkea.ca>
|
|
And do not expose it in the configuration file.
|
|
|
|
System app don't go through agents anymore.
|
|
The leaderboard was dropped a while ago.
|
|
In the manpage.
|
|
Fixes #49
|
|
We'll need this in a following patch to start WiFi scan to be able to get
the most accurate location.
Related: #91
|
|
This eliminates a lot of get_option and some join_paths.
|
|
|
|
|
|
get_option('libexecdir') contains the path to libexecdir WITHOUT the
prefix, we need to prepend the correct prefix to the expanded path is
correct
|
|
Fixes #87.
|
|
Fixes #46.
|
|
|
|
|
|
|
|
Remove 'enable-' prefix from most options.
|
|
During the porting I found some issues in meson that have been fixed in
the git master and hence we require the upcoming release of meson: 0.47.0.
|
|
Use systemd's service file to lockdown the geoclue daemon to stop
eventual security problems.
https://bugs.freedesktop.org/show_bug.cgi?id=106190
|
|
Rather than have the default 5 seconds timeout in 2 separate locations,
move the default timeout value to the binary, so as to reduce the
difference between the interactive and non-interactive behaviour, and
reduce confusion.
https://bugs.freedesktop.org/show_bug.cgi?id=106249
|
|
Explain further in a comment that the apps white-list is not meant to list all
the apps in the world.
|
|
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
|
|
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
|
|
With xdg-app, we will want to bundle the client convenience library with
applications that require GeoClue, without having them ship all the
backend service files, which will be shipped in the core OS.
Introduce a --disable-backend build option that implements this policy.
https://bugs.freedesktop.org/show_bug.cgi?id=93889
|
|
|
|
The policy applies only to the process sending a message, not the one
receiving it. We need to be sure only the geoclue user can call the
Agent's methods.
Explanation by smvc from the bugreport:
[...]
The issue here is that every file in /etc/dbus-1/system.d applies to
everything on the system bus - there is no way to limit policies to
particular packages. So Geoclue2's policy allows any uid to call any
method on the Properties interface at the path
/org/freedesktop/GeoClue2/Agent, in *any* destination.
You might think "why would any other service have an object at
/org/freedesktop/GeoClue2/Agent?", but not all services distinguish
between object paths: those that are implemented in terms of simplistic
libdbus filters[1] typically do not.
[...]
https://bugs.freedesktop.org/show_bug.cgi?id=91214
|
|
Do not ship generated D-Bus service files in the tarball.
https://bugs.freedesktop.org/show_bug.cgi?id=91214
|
|
Add configuration option to enable/disable Network NMEA source. Default
is enabled.
https://bugs.freedesktop.org/show_bug.cgi?id=90974
|
|
Add a note to application-specific section, informing people that their
favorite app does not need to be in the config to be able to get
location.
|
|
Distributions are supposed to run the service as special user and when
they do, it means root can't run/launch geoclue. That is annoying for
bug reporters who need to launch geoclue manually for providing console
log from it.
Let's ensure that root is always able to launch the service.
|
|
If set to 'true', it means that app is more a part of system than an
app-app. You know what I mean. :)
Also mark gnome-datetime-panel as system component.
|
|
Now that we don't use NetworkManager, we don't need to get ourselves
access to it's D-Bus API.
|
|
We only need access to read properties and receive signals. A patch has
been submitted to wpa_supplicant to make this redundant in here but at
least for now, we need to get access ourselves.
|
|
Instead of relying on submission URL being provided or not, provide an
explicit boolean option in config to enable submission.
|