summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.5.02.5.0Zeeshan Ali2018-10-142-1/+27
|
* build: Don't hardcode the path of python3Ting-Wei Lan2018-10-022-2/+2
| | | | | | | 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.
* CI: Build with NMEA source enabledZeeshan Ali2018-09-251-3/+3
|
* CI: Always keep build artifactsZeeshan Ali2018-09-251-3/+3
|
* CI: Keep all build artifactsZeeshan Ali2018-09-251-3/+3
|
* build: Correct python pathZeeshan Ali2018-09-251-1/+1
| | | | On debian-based systems, there is no '/bin/python3'.
* build: Install demo agent to autostart directory tooZeeshan Ali2018-09-252-6/+40
| | | | We were doing this already but forgot to port this from autotools to meson.
* CI: Save artifacts on build failureZeeshan Ali2018-09-241-0/+15
|
* CI: Fetch gettext & ModemManager from distroZeeshan Ali2018-09-241-5/+1
| | | | I'm not sure why we were building these from sources.
* CI: no need to checkout geoclueZeeshan Ali2018-09-241-3/+3
| | | | | 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.
* Revert "build: Install demo agent to autostart directory too"Zeeshan Ali2018-09-242-26/+6
| | | | This reverts commit b8fa586f84c5fa485fe3924becc4ff2b08d55938.
* Revert "build: Pass absolute path of sysconfdir to install-file.py"Zeeshan Ali2018-09-241-2/+1
| | | | This reverts commit 3e9567962d6ea45d8929027dfec6e42ee0e951ca.
* build: Pass absolute path of sysconfdir to install-file.pyZeeshan Ali2018-09-241-1/+2
|
* build: Install demo agent to autostart directory tooZeeshan Ali2018-09-242-6/+26
| | | | We were doing this already but forgot to port this from autotools to meson.
* Revert "build: Install demo agent to autostart directory too"Zeeshan Ali2018-09-241-10/+6
| | | | This reverts commit 8556d0edf685424086c191ab2c6ec344c84cbdda.
* build: Install demo agent to autostart directory tooZeeshan Ali2018-09-241-6/+10
| | | | We were doing this already but forgot to port this from autotools to meson.
* conf: Document that all settings are mandatoryZeeshan Ali2018-09-201-0/+5
| | | | Fixes #87.
* service: Console message on inactivity timeoutZeeshan Ali2018-09-171-0/+2
|
* service: Increase agent timeout from 100ms to 20sZeeshan Ali2018-09-171-2/+4
| | | | | | | This should give sufficient amount of time for agents to register themselves before any dbus calls can timeoout (30s by default). Fixes #84.
* service: Increase default inactivity timeout to 60sZeeshan Ali2018-09-171-2/+2
| | | | | | | | 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.
* build: Use absolute paths in pkg-config variablesZeeshan Ali2018-09-171-2/+3
| | | | | Fixes https://gitlab.gnome.org/GNOME/gnome-build-meta/issues/62 (external).
* wifi: Use WiFi-based geolocation for city level accuracyZeeshan Ali2018-09-171-4/+23
| | | | | | | | | 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.
* location-source: Internal API to scramble locationZeeshan Ali2018-09-171-0/+50
| | | | | 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.
* service: Allow disabling of all sources through configZeeshan Ali2018-09-154-27/+133
| | | | Fixes #46.
* build: Avoid too long lines using a variableZeeshan Ali2018-09-151-3/+4
|
* build: Fix installation of generated headersEmmanuele Bassi2018-09-151-3/+3
| | | | | The `install_dir` argument is relative to the prefix, not to the include directory specified in the `includedir` command line argument.
* build: Drop autotoolsZeeshan Ali2018-09-1319-1906/+0
|
* build: Require meson 0.47.2Zeeshan Ali2018-09-131-1/+1
|
* docs: Add dep on agent sourcesZeeshan Ali2018-09-131-1/+2
| | | | | | | | | | 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
* service: Drop authorization for system appsZeeshan Ali2018-09-121-6/+17
| | | | | | | | | | | | | | 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.
* demo: Drop a redundant paramZeeshan Ali2018-09-111-2/+1
| | | | | We don't install the destkop.in files so no reason to give the generation command an install dir.
* build: Make public_api header part of the sourceZeeshan Ali2018-09-111-1/+1
| | | | | This is to ensure that the service is not built until all the sources of public api are not ready yet.
* conf: add elementary-desktop-agent to whitelistworldofpeace2018-08-301-1/+6
|
* Fix the links between the documentation filesLaurent Bigonville2018-08-173-1/+7
| | | | https://gitlab.freedesktop.org/geoclue/geoclue/issues/78
* meson,build: Remove some newlines for meson 0.47.1Laurent Bigonville2018-08-171-3/+1
| | | | | | | | 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
* service: Allow absence of agent if agent white-list emptyZeeshan Ali2018-08-131-8/+17
| | | | | | | If no agent is white-listed in the configuration, there is no point in requiring an agent. Fixes #74.
* service,config: Internal API to get number of whitelisted agentsZeeshan Ali2018-08-132-0/+7
|
* conf: Warn about use of Google's servicesZeeshan Ali2018-08-021-0/+5
|
* build,lib: Respect includedir option in .pc fileBastien Nocera2018-07-271-1/+1
| | | | Fixes #73.
* build: Clean generated vapi files on distcleanZeeshan Ali2018-07-251-1/+1
|
* build: Don't enable all warnings from cc by defaultZeeshan Ali2018-07-121-2/+0
| | | | Let's let user decide this.
* meson: Don't disable GIR for cross buildsZeeshan Ali2018-07-121-2/+1
| | | | Thanks to Emmanuele Bassi for pointing this out.
* build: Remove a redundant dep declarationZeeshan Ali2018-07-121-4/+0
| | | | We redefine that again later on in the file.
* build: Allow header to be installed into custom header dirZeeshan Ali2018-07-121-1/+2
| | | | Thanks to Emmanuele Bassi for pointing this out.
* build,lib: Fix typo in the last commitZeeshan Ali2018-07-111-1/+1
|
* build,lib: Make public_api header part of the sourceZeeshan Ali2018-07-111-0/+1
| | | | | This is to ensure that the library is not built until all the sources of public api are not ready yet.
* build: Only build service docs when library is enabledZeeshan Ali2018-07-111-1/+9
| | | | | | This is wrong actually and service docs should be buildable on their own but see the comment added in this patch for reasons on why we need to do this for now.
* build,docs: Make use of public api include variableZeeshan Ali2018-07-111-1/+1
|
* build: Only build lib docs if lib build is enabledZeeshan Ali2018-07-111-1/+3
|
* build: Display a build summary at the end of meson runZeeshan Ali2018-07-111-0/+29
| | | | This is to keep the same behaviour we had with autoconf.