| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Going from limited ("captive portal") to full internet should update the
internet availability.
|
|
|
|
|
|
| |
Rather than calling get_internet_available() too often, use the cached
->internet_available variable and call get_internet_available() when
network status has actually changed.
|
|
|
|
| |
Thanks to lintian
|
|
|
|
| |
This eliminates a lot of get_option and some join_paths.
|
|
|
|
| |
Removes the need for a separate abs_dbus_interface_dir.
|
|
|
|
|
|
|
| |
This is a better name as it's not absolute but a subdirectory of the
includedir, relative to the prefix.
Also rename the identical install_dir in public-api.
|
| |
|
|
|
|
|
| |
Much like libexecdir, sysconfdir is relative if and only if contained
within the prefix.
|
|
|
|
| |
These were missed in dc46a4d942dc.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This function was being generated when we were using autotools because it
was part of our template. We unintentially dropped it when we ported to
meson's gnome.mkenums_simple() as that uses it's own template that doesn't
include this function.
This broke ABI in 2.5.0 and hence we now re-add it, implementing it
manually.
Fixes #90.
|
| |
|
|
|
|
|
|
| |
get_option('libexecdir') contains the path to libexecdir WITHOUT the
prefix, we need to prepend the correct prefix to the expanded path is
correct
|
| |
|
|
|
|
|
|
|
| |
Hardcoding paths to interpreters seldom works on *BSD. The ports system
allows users to choose their preferred installation prefix as long as it
is not /usr. This makes it nearly impossible to have a common path of
python3 which works on both GNU/Linux and *BSD.
|
| |
|
| |
|
| |
|
|
|
|
| |
On debian-based systems, there is no '/bin/python3'.
|
|
|
|
| |
We were doing this already but forgot to port this from autotools to meson.
|
| |
|
|
|
|
| |
I'm not sure why we were building these from sources.
|
|
|
|
|
| |
CI already does this for us. Before this change, we were always building
the master branch and that meant merge requests weren't getting tested.
|
|
|
|
| |
This reverts commit b8fa586f84c5fa485fe3924becc4ff2b08d55938.
|
|
|
|
| |
This reverts commit 3e9567962d6ea45d8929027dfec6e42ee0e951ca.
|
| |
|
|
|
|
| |
We were doing this already but forgot to port this from autotools to meson.
|
|
|
|
| |
This reverts commit 8556d0edf685424086c191ab2c6ec344c84cbdda.
|
|
|
|
| |
We were doing this already but forgot to port this from autotools to meson.
|
|
|
|
| |
Fixes #87.
|
| |
|
|
|
|
|
|
|
| |
This should give sufficient amount of time for agents to register
themselves before any dbus calls can timeoout (30s by default).
Fixes #84.
|
|
|
|
|
|
|
|
| |
instead of 5 seconds. 5s is very short amount of time when system is very
loaded and during startup of a desktop session. There is not harm in
waiting 60s anyway. Also, the default value should be longer than the
agent registeration timeout, which is currently 100ms but will be increased
to 20s in a following patch.
|
|
|
|
|
| |
Fixes https://gitlab.gnome.org/GNOME/gnome-build-meta/issues/62
(external).
|
|
|
|
|
|
|
|
|
| |
Since GeoIP can be easily extremely inaccurate, let's use WiFi-geolocation
for city accuracy level. We scramble the location a bit so that apps
requesting city accuracy level don't end up getting user's street
location with 300 meters accuracy.
Fixes #64.
|
|
|
|
|
| |
We'll use this in a following patch to use WiFi location for city-level
accuracy w/o giving away user's more exact location to the app.
|
|
|
|
| |
Fixes #46.
|
| |
|
|
|
|
|
| |
The `install_dir` argument is relative to the prefix, not to the include
directory specified in the `includedir` command line argument.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Docs need the generated agent docs and they are generated at the same time
as the agent sources so not depending on them means, docs fail to build if
they are built before the agent sources:
ERROR: 'gtkdoc-mkhtml' failed with status 6
warning: failed to load external entity "../../src/agent/docs-org.freedesktop.GeoClue2.Agent.xml"
../geoclue-docs.xml:80: element include: XInclude error : could not load ../../src/agent/docs-org.freedesktop.GeoClue2.Agent.xml, and no fallback was found
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We do not have any way to reliably identify system apps and they can
easily lie about their ID. So it does not make much sense to give users
the illusion that they can control apps' access to their location.
Moreover, recently we ran into a bunch of annoying and hard to solve
issues related to authorization of system apps and we ended up with lots
of angry users.
Also we might also drop all agent/authorization in favour of an
appropriate Flatpak portal soon anyway: https://gitlab.freedesktop.org/geoclue/geoclue/issues/83
Fixes #76, #80.
|
|
|
|
|
| |
We don't install the destkop.in files so no reason to give the generation
command an install dir.
|
|
|
|
|
| |
This is to ensure that the service is not built until all the sources of
public api are not ready yet.
|
| |
|
|
|
|
| |
https://gitlab.freedesktop.org/geoclue/geoclue/issues/78
|
|
|
|
|
|
|
|
| |
meson 0.47.1 is failing if the conditions are on multiple lines:
$ meson -Dnmea-source=false -Dmodem-gps-source=false -Dcdma-source=false -D3g-source=false -Ddemo-agent=false -Dgtk-doc=true build
[...]
src/meson.build:93:3: ERROR: Unknown statement
|
|
|
|
|
|
|
| |
If no agent is white-listed in the configuration, there is no point in
requiring an agent.
Fixes #74.
|
| |
|