1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
name: locationd
version: 3.0.0+16.10.20160616-0ubuntu1
confinement: strict
summary: Location service mediates access to positioning providers.
description: |
Location service mediates access to positioning providers.
**Note** Currently only the dummy provider is supported in this snap. Additional
providers will be made available in the near future.
Please find the source for this snap at https://code.launchpad.net/location-service
apps:
run:
daemon: simple
command: bin/locationd run --bus=system
slots: [service-control, service-observe]
plugs: [ubx, network-manager]
list-providers:
command: bin/locationd list
status:
command: bin/locationd status --bus=system
plugs: [client-observe]
monitor:
command: bin/locationd monitor --bus=system
plugs: [client-control, client-observe]
provide:
command: bin/locationd provider --bus=system
plugs: [client-control]
slots:
service-observe:
interface: location-observe
service-control:
interface: location-control
plugs:
client-observe:
interface: location-observe
client-control:
interface: location-control
ubx:
interface: serial-port
parts:
hooks:
plugin: dump
source: prebuilt
location-service:
plugin: cmake
configflags:
- -DCMAKE_VERBOSE_MAKEFILE=ON
- -DSNAPPY_UBUNTU_CORE=yes
- -DUBUNTU_LOCATION_SERVICE_VERSION_MAJOR=3
source: .
build-packages:
- curl
- doxygen
- gcc
- geoclue-ubuntu-geoip
- gettext
- google-mock
- graphviz
- g++
- libapparmor-dev
- libboost-filesystem-dev
- libboost-program-options-dev
- libboost-system-dev
- libc6-dev
- libdbus-1-dev
- libdbus-cpp-dev
- libgoogle-glog-dev
- libgtest-dev
- libiw-dev
- libjson-c-dev
- libnet-cpp-dev
- libprocess-cpp-dev
- libtrust-store-dev
- libproperties-cpp-dev
- libubuntu-platform-hardware-api-headers
- libubuntu-platform-hardware-api-dev
- trust-store-bin
stage-packages:
- geoclue-ubuntu-geoip
- libapparmor1
- libboost-filesystem1.58.0
- libboost-program-options1.58.0
- libboost-system1.58.0
- libdbus-cpp5
- libgflags2v5
- libgoogle-glog0v5
- libjson-c2
- libnet-cpp2
- libprocess-cpp3
- libtrust-store2
- libubuntu-platform-hardware-api3
filesets:
licenses:
- usr/share/doc/*/*copyright*
snap:
- bin/locationd
- etc/dbus-1/system.d
- etc/gps.conf
- lib/
- lib/libubuntu-location-service*
- share/ubuntu-location-service
- usr/lib/
- $licenses
|