Merge lp:~thomas-voss/location-service/enable-dual-landing into lp:location-service/trunk

Proposed by Thomas Voß on 2015-11-20
Status: Superseded
Proposed branch: lp:~thomas-voss/location-service/enable-dual-landing
Merge into: lp:location-service/trunk
Prerequisite: lp:~thomas-voss/location-service/cherry-pick-fwd
Diff against target: 570 lines (+388/-21)
17 files modified
CMakeLists.txt (+28/-3)
debian/VERSION (+1/-0)
debian/VERSION.vivid (+1/-0)
debian/changelog (+13/-0)
debian/control (+11/-5)
debian/control.in (+123/-0)
debian/gen-debian-files.sh (+111/-0)
debian/get-versions.sh (+68/-0)
debian/libubuntu-location-service-dev.install (+0/-5)
debian/libubuntu-location-service-dev.install.in (+5/-0)
debian/libubuntu-location-service.install.in (+2/-0)
debian/libubuntu-location-service.install.with-gps.in (+3/-0)
debian/libubuntu-location-service2.install (+0/-2)
debian/libubuntu-location-service2.install.with-gps (+0/-3)
debian/rules (+20/-1)
debian/source/format (+1/-1)
tests/acceptance_tests.cpp (+1/-1)
To merge this branch: bzr merge lp:~thomas-voss/location-service/enable-dual-landing
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve on 2015-12-06
Ubuntu Phablet Team 2015-11-20 Pending
Review via email: mp+278143@code.launchpad.net

This proposal supersedes a proposal from 2015-11-20.

This proposal has been superseded by a proposal from 2016-01-18.

Commit Message

Enable dual landing.

Description of the Change

Enable dual landing.

To post a comment you must log in.
222. By Thomas Voß on 2015-11-20

Add missing build-dep on lsb-release.

223. By Thomas Voß on 2015-11-20

* libubuntu-location-service3: Replaces libubuntu-location-service2,
  config file /etc/gps.conf in both packages.
* Bump major revision and fix LP:#1478750 to account for toolchain update.

224. By Thomas Voß on 2015-11-20

Fix s/lsp/lsb/ typo.

225. By Thomas Voß on 2015-11-20

Add build-dependency on lsb-release to debian/control.in.

226. By Thomas Voß on 2015-11-20

Lower client count to make test more robust.

227. By Thomas Voß on 2015-11-21

Provide a sensible version fallback.
Add correct version for Replaces/Conflicts stanzas in generated debian/control.

228. By Thomas Voß on 2015-12-06

* Ensure that event connections are cleaned up on destruction. (LP:
  #1480877)
[ Alberto Mardegan ]
* Send last known position on session start
[ CI Train Bot ]
* New rebuild forced.
[ Thomas Voß ]
* Factor out service::Runtime from daemon.cpp into its own .h/.cpp
  pair of files. Add test cases around correct operation of
  service::Runtime. added:
  src/location_service/com/ubuntu/location/service/runtime.cpp
  src/location_service/com/ubuntu/location/service/runtime.h
  tests/runtime_test.cpp
[ thomas-voss ]
* Factor out service::Runtime from daemon.cpp into its own .h/.cpp
  pair of files. Add test cases around correct operation of
  service::Runtime. added:
  src/location_service/com/ubuntu/location/service/runtime.cpp
  src/location_service/com/ubuntu/location/service/runtime.h
  tests/runtime_test.cpp

Unmerged revisions

228. By Thomas Voß on 2015-12-06

* Ensure that event connections are cleaned up on destruction. (LP:
  #1480877)
[ Alberto Mardegan ]
* Send last known position on session start
[ CI Train Bot ]
* New rebuild forced.
[ Thomas Voß ]
* Factor out service::Runtime from daemon.cpp into its own .h/.cpp
  pair of files. Add test cases around correct operation of
  service::Runtime. added:
  src/location_service/com/ubuntu/location/service/runtime.cpp
  src/location_service/com/ubuntu/location/service/runtime.h
  tests/runtime_test.cpp
[ thomas-voss ]
* Factor out service::Runtime from daemon.cpp into its own .h/.cpp
  pair of files. Add test cases around correct operation of
  service::Runtime. added:
  src/location_service/com/ubuntu/location/service/runtime.cpp
  src/location_service/com/ubuntu/location/service/runtime.h
  tests/runtime_test.cpp

227. By Thomas Voß on 2015-11-21

Provide a sensible version fallback.
Add correct version for Replaces/Conflicts stanzas in generated debian/control.

226. By Thomas Voß on 2015-11-20

Lower client count to make test more robust.

225. By Thomas Voß on 2015-11-20

Add build-dependency on lsb-release to debian/control.in.

224. By Thomas Voß on 2015-11-20

Fix s/lsp/lsb/ typo.

223. By Thomas Voß on 2015-11-20

* libubuntu-location-service3: Replaces libubuntu-location-service2,
  config file /etc/gps.conf in both packages.
* Bump major revision and fix LP:#1478750 to account for toolchain update.

222. By Thomas Voß on 2015-11-20

Add missing build-dep on lsb-release.

221. By Thomas Voß on 2015-11-20

Account for versioned include dir.

220. By Thomas Voß on 2015-11-20

Alter build setup to query major.minor.patch from debian.VERSION* files.

219. By Thomas Voß on 2015-11-20

Enable dual landing.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2015-12-06 20:11:22 +0000
3+++ CMakeLists.txt 2015-12-06 20:11:22 +0000
4@@ -2,9 +2,34 @@
5
6 project(ubuntu-location-service)
7
8-set(UBUNTU_LOCATION_SERVICE_VERSION_MAJOR 2)
9-set(UBUNTU_LOCATION_SERVICE_VERSION_MINOR 0)
10-set(UBUNTU_LOCATION_SERVICE_VERSION_PATCH 0)
11+# We haven't received version information via the packaging setup.
12+# For that, we try to determine sensible values on our own, ensuring
13+# plain old invocations to cmake still work as expected.
14+if (NOT DEFINED UBUNTU_LOCATION_SERVICE_VERSION_MAJOR)
15+ find_program(LSB_RELEASE lsb_release)
16+ execute_process(
17+ COMMAND ${LSB_RELEASE} -c -s
18+ OUTPUT_VARIABLE DISTRO_CODENAME
19+ OUTPUT_STRIP_TRAILING_WHITESPACE)
20+
21+ # We explicitly ignore errors and only check if we are building for vivid.
22+ # For all other cases:
23+ # - releases other than vivid
24+ # - other distros
25+ # - errors
26+ # we define the version to be 2.0.0
27+ if (${DISTRO_CODENAME} STREQUAL "vivid")
28+ set(UBUNTU_LOCATION_SERVICE_VERSION_MAJOR 2)
29+ set(UBUNTU_LOCATION_SERVICE_VERSION_MINOR 0)
30+ set(UBUNTU_LOCATION_SERVICE_VERSION_PATCH 0)
31+ else ()
32+ set(UBUNTU_LOCATION_SERVICE_VERSION_MAJOR 3)
33+ set(UBUNTU_LOCATION_SERVICE_VERSION_MINOR 0)
34+ set(UBUNTU_LOCATION_SERVICE_VERSION_PATCH 0)
35+ endif()
36+endif()
37+
38+message(STATUS "${CMAKE_PROJECT_NAME} ${UBUNTU_LOCATION_SERVICE_VERSION_MAJOR}.${UBUNTU_LOCATION_SERVICE_VERSION_MINOR}.${UBUNTU_LOCATION_SERVICE_VERSION_PATCH}")
39
40 set(UBUNTU_LOCATION_SERVICE_TRUST_STORE_SERVICE_NAME "UbuntuLocationService")
41
42
43=== added file 'debian/VERSION'
44--- debian/VERSION 1970-01-01 00:00:00 +0000
45+++ debian/VERSION 2015-12-06 20:11:22 +0000
46@@ -0,0 +1,1 @@
47+3.0.0
48\ No newline at end of file
49
50=== added file 'debian/VERSION.vivid'
51--- debian/VERSION.vivid 1970-01-01 00:00:00 +0000
52+++ debian/VERSION.vivid 2015-12-06 20:11:22 +0000
53@@ -0,0 +1,1 @@
54+2.0.0
55
56=== modified file 'debian/changelog'
57--- debian/changelog 2015-12-06 20:11:22 +0000
58+++ debian/changelog 2015-12-06 20:11:22 +0000
59@@ -1,3 +1,16 @@
60+location-service (3.0.0-0ubuntu2) wily; urgency=medium
61+
62+ * libubuntu-location-service3: Replaces libubuntu-location-service2,
63+ config file /etc/gps.conf in both packages.
64+
65+ -- Matthias Klose <doko@ubuntu.com> Thu, 30 Jul 2015 09:57:50 +0200
66+
67+location-service (3.0.0) wily; urgency=medium
68+
69+ * Bump major revision and fix LP:#1478750 to account for toolchain update.
70+
71+ -- Thomas Voß <thomas.voss@canonical.com> Thu, 30 Jul 2015 08:33:13 +0200
72+
73 location-service (2.1+15.10.20150727-0ubuntu1) wily; urgency=medium
74
75 [ CI Train Bot ]
76
77=== modified file 'debian/control'
78--- debian/control 2015-07-15 19:04:43 +0000
79+++ debian/control 2015-12-06 20:11:22 +0000
80@@ -1,3 +1,8 @@
81+# This file is autogenerated. DO NOT EDIT!
82+#
83+# Modifications should be made to control.in instead.
84+# This file is regenerated automatically in the clean target.
85+#
86 Source: location-service
87 Section: utils
88 Priority: optional
89@@ -27,6 +32,7 @@
90 libubuntu-platform-hardware-api-headers [!arm64 !ppc64el !powerpc],
91 libubuntu-platform-hardware-api-dev [!arm64 !ppc64el !powerpc],
92 libproperties-cpp-dev,
93+ lsb-release,
94 trust-store-bin,
95 Standards-Version: 3.9.4
96 Homepage: http://launchpad.net/location-service
97@@ -35,7 +41,7 @@
98 Vcs-Bzr: https://code.launchpad.net/~phablet-team/location-service/trunk
99 Vcs-Browser: http://bazaar.launchpad.net/~phablet-team/location-service/trunk/files
100
101-Package: libubuntu-location-service2
102+Package: libubuntu-location-service3
103 Section: libs
104 Architecture: any
105 Multi-Arch: same
106@@ -52,7 +58,7 @@
107 Architecture: any
108 Multi-Arch: foreign
109 Recommends: ubuntu-location-service-doc,
110-Depends: libubuntu-location-service2 (= ${binary:Version}),
111+Depends: libubuntu-location-service3 (= ${binary:Version}),
112 libdbus-1-dev,
113 libdbus-cpp-dev,
114 libboost-dev,
115@@ -68,7 +74,7 @@
116 Section: debug
117 Architecture: any
118 Multi-Arch: foreign
119-Depends: libubuntu-location-service2 (= ${binary:Version}),
120+Depends: libubuntu-location-service3 (= ${binary:Version}),
121 ${misc:Depends},
122 Description: location service aggregating position/velocity/heading
123 updates and exporting them over dbus.
124@@ -86,7 +92,7 @@
125
126 Package: ubuntu-location-service-bin
127 Architecture: any
128-Depends: libubuntu-location-service2 (= ${binary:Version}),
129+Depends: libubuntu-location-service3 (= ${binary:Version}),
130 ${misc:Depends},
131 ${shlibs:Depends},
132 trust-store-bin,
133@@ -100,7 +106,7 @@
134 Package: ubuntu-location-service-examples
135 Architecture: any
136 Multi-Arch: same
137-Depends: libubuntu-location-service2 (= ${binary:Version}),
138+Depends: libubuntu-location-service3 (= ${binary:Version}),
139 ${misc:Depends},
140 ${shlibs:Depends},
141 ubuntu-location-service-doc,
142
143=== added file 'debian/control.in'
144--- debian/control.in 1970-01-01 00:00:00 +0000
145+++ debian/control.in 2015-12-06 20:11:22 +0000
146@@ -0,0 +1,123 @@
147+Source: location-service
148+Section: utils
149+Priority: optional
150+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
151+XSBC-Original-Maintainer: Thomas Voß <thomas.voss@canonical.com>
152+Build-Depends: cmake,
153+ curl,
154+ libdbus-cpp-dev (>= 4.1.0),
155+ debhelper (>= 9),
156+ doxygen,
157+ geoclue-ubuntu-geoip,
158+ google-mock (>= 1.6.0+svn437),
159+ graphviz,
160+ libapparmor-dev,
161+ libboost-filesystem-dev,
162+ libboost-program-options-dev,
163+ libboost-system-dev,
164+ libdbus-1-dev,
165+ libdbus-cpp-dev,
166+ libgoogle-glog-dev,
167+ libgtest-dev,
168+ libiw-dev,
169+ libjson-c-dev,
170+ libnet-cpp-dev,
171+ libprocess-cpp-dev,
172+ libtrust-store-dev,
173+ libubuntu-platform-hardware-api-headers [!arm64 !ppc64el !powerpc],
174+ libubuntu-platform-hardware-api-dev [!arm64 !ppc64el !powerpc],
175+ libproperties-cpp-dev,
176+ lsb-release,
177+ trust-store-bin,
178+Standards-Version: 3.9.4
179+Homepage: http://launchpad.net/location-service
180+# If you aren't a member of ~phablet-team but need to upload packaging changes,
181+# just go ahead. ~phablet-team will notice and sync up the code again.
182+Vcs-Bzr: https://code.launchpad.net/~phablet-team/location-service/trunk
183+Vcs-Browser: http://bazaar.launchpad.net/~phablet-team/location-service/trunk/files
184+
185+Package: libubuntu-location-service@UBUNTU_LOCATION_SERVICE_SOVERSION@
186+Section: libs
187+Architecture: any
188+Multi-Arch: same
189+Pre-Depends: ${misc:Pre-Depends}
190+Depends: ${misc:Depends},
191+ ${shlibs:Depends},
192+Description: location service aggregating position/velocity/heading
193+ updates and exporting them over dbus.
194+ .
195+ Contains the shared library needed by client applications.
196+
197+Package: libubuntu-location-service-dev
198+Section: libdevel
199+Architecture: any
200+Multi-Arch: foreign
201+Recommends: ubuntu-location-service-doc,
202+Depends: libubuntu-location-service@UBUNTU_LOCATION_SERVICE_SOVERSION@ (= ${binary:Version}),
203+ libdbus-1-dev,
204+ libdbus-cpp-dev,
205+ libboost-dev,
206+ ${misc:Depends},
207+Suggests: ubuntu-location-service-doc,
208+Description: location service aggregating position/velocity/heading
209+ updates and exporting them over dbus.
210+ .
211+ Contains header files required to develop clients talking to the ubuntu
212+ location service.
213+
214+Package: libubuntu-location-service-dbg
215+Section: debug
216+Architecture: any
217+Multi-Arch: foreign
218+Depends: libubuntu-location-service@UBUNTU_LOCATION_SERVICE_SOVERSION@ (= ${binary:Version}),
219+ ${misc:Depends},
220+Description: location service aggregating position/velocity/heading
221+ updates and exporting them over dbus.
222+ .
223+ Contains debug symbols.
224+
225+Package: ubuntu-location-service-tests
226+Architecture: any
227+Depends: ${misc:Depends},
228+ ${shlibs:Depends},
229+Description: location service aggregating position/velocity/heading
230+ updates and exporting them over dbus.
231+ .
232+ Contains all test executables
233+
234+Package: ubuntu-location-service-bin
235+Architecture: any
236+Depends: libubuntu-location-service@UBUNTU_LOCATION_SERVICE_SOVERSION@ (= ${binary:Version}),
237+ ${misc:Depends},
238+ ${shlibs:Depends},
239+ trust-store-bin,
240+Breaks: ubuntu-location-service-examples (<< 0.0.2),
241+Replaces: ubuntu-location-service-examples (<< 0.0.2),
242+Description: location service aggregating position/velocity/heading
243+ updates and exporting them over dbus.
244+ .
245+ Contains the service executable and man pages.
246+
247+Package: ubuntu-location-service-examples
248+Architecture: any
249+Multi-Arch: same
250+Depends: libubuntu-location-service@UBUNTU_LOCATION_SERVICE_SOVERSION@ (= ${binary:Version}),
251+ ${misc:Depends},
252+ ${shlibs:Depends},
253+ ubuntu-location-service-doc,
254+Description: location service aggregating position/velocity/heading
255+ updates and exporting them over dbus.
256+ .
257+ Contains example service and client.
258+
259+Package: ubuntu-location-service-doc
260+Section: doc
261+Architecture: all
262+Multi-Arch: foreign
263+Depends: ${misc:Depends},
264+ ${shlibs:Depends},
265+Recommends: ubuntu-location-service-examples,
266+Description: location service aggregating position/velocity/heading
267+ updates and exporting them over dbus.
268+ .
269+ Contains documentation for service and client.
270
271=== added file 'debian/gen-debian-files.sh'
272--- debian/gen-debian-files.sh 1970-01-01 00:00:00 +0000
273+++ debian/gen-debian-files.sh 2015-12-06 20:11:22 +0000
274@@ -0,0 +1,111 @@
275+#!/bin/sh
276+
277+# Copyright (C) 2015 Canonical Ltd
278+#
279+# This program is free software: you can redistribute it and/or modify
280+# it under the terms of the GNU Lesser General Public License version 3 as
281+# published by the Free Software Foundation.
282+#
283+# This program is distributed in the hope that it will be useful,
284+# but WITHOUT ANY WARRANTY; without even the implied warranty of
285+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
286+# GNU Lesser General Public License for more details.
287+#
288+# You should have received a copy of the GNU Lesser General Public License
289+# along with this program. If not, see <http://www.gnu.org/licenses/>.
290+#
291+# Authored by: Michi Henning <michi.henning@canonical.com>
292+# Thomas Voß <thomas.voss@canonical.com>
293+
294+#
295+# Script to generate debian files for dual landing in Vivid (gcc 4.9 ABI)
296+# and Wily and later (gcc 5 ABI).
297+#
298+# This script is called from debian/rules and generates:
299+#
300+# - control
301+# - libubuntu-location-service${soversion}.install.${target_arch}
302+#
303+# For all but control, this is a straight substition and/or renaming exercise for each file.
304+# For control, if building on Wily or later, we also fix the "Replaces:" and "Conflicts:"
305+# entries, so we don't end up with two packages claiming ownership of the same places
306+# in the file system.
307+#
308+# Because the debian files for the different distributions are generated on the fly,
309+# this allows us to keep a single source tree for both distributions. See ../HACKING
310+# for more explanations.
311+#
312+
313+set -e # Fail if any command fails.
314+
315+progname=$(basename $0)
316+
317+[ $# -ne 1 ] && {
318+ echo "usage: $progname path-to-debian-dir" >&2
319+ exit 1
320+}
321+dir=$1
322+version_dir=$(mktemp -d)
323+
324+# Dump version numbers into files and initialize vars from those files.
325+
326+sh ${dir}/get-versions.sh ${dir} ${version_dir}
327+
328+full_version=$(cat "${version_dir}"/libubuntu-location-service.full-version)
329+major_minor=$(cat "${version_dir}"/libubuntu-location-service.major-minor-version)
330+soversion=$(cat "${version_dir}"/libubuntu-location-service.soversion)
331+vivid_soversion=$(cat "${version_dir}"/libubuntu-location-service.vivid-soversion)
332+
333+warning=$(mktemp -t gen-debian-files-msg.XXX)
334+
335+trap "rm -fr $warning $version_dir" 0 INT TERM QUIT
336+
337+warning_msg()
338+{
339+ cat >$warning <<EOF
340+# This file is autogenerated. DO NOT EDIT!
341+#
342+# Modifications should be made to $(basename "$1") instead.
343+# This file is regenerated automatically in the clean target.
344+#
345+EOF
346+}
347+
348+# Generate debian/control from debian/control.in, substituting the soversion for both libs.
349+# For wily onwards, we also add an entry for the vivid versions to "Conflicts:" and "Replaces:".
350+
351+infile="${dir}"/control.in
352+outfile="${dir}"/control
353+warning_msg $infile
354+cat $warning $infile \
355+ | sed -e "s/@UBUNTU_LOCATION_SERVICE_SOVERSION@/${soversion}/" > "$outfile"
356+
357+[ "$distro" != "vivid" ] && {
358+ sed -i -e "/Replaces: libubuntu-location-service2,/a\
359+\ libubuntu-location-service${vivid_soversion}," \
360+ "$outfile"
361+}
362+
363+# Generate the install files, naming them according to the soversion.
364+
365+# Install file for binary package
366+infile="${dir}"/libubuntu-location-service.install.in
367+outfile="${dir}"/libubuntu-location-service${soversion}.install
368+warning_msg "$infile"
369+cat $warning "$infile" >"$outfile"
370+
371+infile="${dir}"/libubuntu-location-service.install.with-gps.in
372+outfile="${dir}"/libubuntu-location-service${soversion}.install.with-gps
373+warning_msg "$infile"
374+cat $warning "$infile" >"$outfile"
375+
376+infile="${dir}"/libubuntu-location-service-dev.install.in
377+outfile="${dir}"/libubuntu-location-service-dev.install
378+warning_msg "$infile"
379+cat $warning $infile | sed -e "s/@UBUNTU_LOCATION_SERVICE_SOVERSION@/${soversion}/" > "$outfile"
380+
381+ln -s "${dir}"/libubuntu-location-service${soversion}.install.with-gps "${dir}"/libubuntu-location-service${soversion}.install.amd64
382+ln -s "${dir}"/libubuntu-location-service${soversion}.install.with-gps "${dir}"/libubuntu-location-service${soversion}.install.armhf
383+ln -s "${dir}"/libubuntu-location-service${soversion}.install.with-gps "${dir}"/libubuntu-location-service${soversion}.install.i386
384+
385+exit 0
386
387=== added file 'debian/get-versions.sh'
388--- debian/get-versions.sh 1970-01-01 00:00:00 +0000
389+++ debian/get-versions.sh 2015-12-06 20:11:22 +0000
390@@ -0,0 +1,68 @@
391+#!/bin/sh
392+
393+# Copyright (C) 2015 Canonical Ltd
394+#
395+# This program is free software: you can redistribute it and/or modify
396+# it under the terms of the GNU Lesser General Public License version 3 as
397+# published by the Free Software Foundation.
398+#
399+# This program is distributed in the hope that it will be useful,
400+# but WITHOUT ANY WARRANTY; without even the implied warranty of
401+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
402+# GNU Lesser General Public License for more details.
403+#
404+# You should have received a copy of the GNU Lesser General Public License
405+# along with this program. If not, see <http://www.gnu.org/licenses/>.
406+#
407+# Authored by: Michi Henning <michi.henning@canonical.com>
408+
409+#
410+# Script to read the version numbers from VERSION and QT-VERSION
411+# and write the version components and the soversion numbers
412+# into separate files, so we can pick them up from both
413+# gen-debian-files.sh and CMakeLists.txt.
414+#
415+
416+set -e # Fail if any command fails.
417+
418+progname=$(basename $0)
419+
420+[ $# -lt 1 -o $# -gt 2 ] && {
421+ echo "usage: $progname path-to-debian-dir [output-dir]" >&2
422+ exit 1
423+}
424+dir=$1
425+output_dir=`pwd`
426+[ $# -eq 2 ] && output_dir=$2
427+
428+# Write the various version numbers into a bunch of files. This allows
429+# us to easily pick them up from both gen-debian-files.sh and CMakeLists.txt.
430+
431+distro=$(lsb_release -c -s)
432+
433+full_version=$(cat "${dir}"/VERSION)
434+
435+major=$(echo $full_version | cut -d'.' -f1)
436+minor=$(echo $full_version | cut -d'.' -f2)
437+micro=$(echo $full_version | cut -d'.' -f3)
438+major_minor="${major}.${minor}"
439+
440+vivid_full_version=$(cat "${dir}"/VERSION.vivid)
441+vivid_major=$(echo $vivid_full_version | cut -d'.' -f1)
442+vivid_soversion=$vivid_major
443+
444+if [ "$distro" = "vivid" ]
445+then
446+ soversion=${vivid_soversion}
447+else
448+ soversion="${major}"
449+fi
450+[ -n $soversion ]
451+
452+echo ${full_version} >${output_dir}/libubuntu-location-service.full-version
453+echo ${major} >${output_dir}/libubuntu-location-service.major-version
454+echo ${minor} >${output_dir}/libubuntu-location-service.minor-version
455+echo ${micro} >${output_dir}/libubuntu-location-service.micro-version
456+echo ${major_minor} >${output_dir}/libubuntu-location-service.major-minor-version
457+echo ${soversion} >${output_dir}/libubuntu-location-service.soversion
458+echo ${vivid_soversion} >${output_dir}/libubuntu-location-service.vivid-soversion
459
460=== removed file 'debian/libubuntu-location-service-dev.install'
461--- debian/libubuntu-location-service-dev.install 2014-07-18 14:42:10 +0000
462+++ debian/libubuntu-location-service-dev.install 1970-01-01 00:00:00 +0000
463@@ -1,5 +0,0 @@
464-usr/include/ubuntu-location-service-2
465-usr/lib/*/libubuntu-location-service.so
466-usr/lib/*/libubuntu-location-service-connectivity.so
467-usr/lib/*/pkgconfig/ubuntu-location-service.pc
468-usr/lib/*/pkgconfig/ubuntu-location-service-connectivity.pc
469
470=== added file 'debian/libubuntu-location-service-dev.install.in'
471--- debian/libubuntu-location-service-dev.install.in 1970-01-01 00:00:00 +0000
472+++ debian/libubuntu-location-service-dev.install.in 2015-12-06 20:11:22 +0000
473@@ -0,0 +1,5 @@
474+usr/include/ubuntu-location-service-@UBUNTU_LOCATION_SERVICE_SOVERSION@
475+usr/lib/*/libubuntu-location-service.so
476+usr/lib/*/libubuntu-location-service-connectivity.so
477+usr/lib/*/pkgconfig/ubuntu-location-service.pc
478+usr/lib/*/pkgconfig/ubuntu-location-service-connectivity.pc
479
480=== added file 'debian/libubuntu-location-service.install.in'
481--- debian/libubuntu-location-service.install.in 1970-01-01 00:00:00 +0000
482+++ debian/libubuntu-location-service.install.in 2015-12-06 20:11:22 +0000
483@@ -0,0 +1,2 @@
484+usr/lib/*/libubuntu-location-service.so.*
485+usr/lib/*/libubuntu-location-service-connectivity.so.*
486
487=== added file 'debian/libubuntu-location-service.install.with-gps.in'
488--- debian/libubuntu-location-service.install.with-gps.in 1970-01-01 00:00:00 +0000
489+++ debian/libubuntu-location-service.install.with-gps.in 2015-12-06 20:11:22 +0000
490@@ -0,0 +1,3 @@
491+usr/lib/*/libubuntu-location-service.so.*
492+usr/lib/*/libubuntu-location-service-connectivity.so.*
493+/etc/gps.conf
494
495=== removed file 'debian/libubuntu-location-service2.install'
496--- debian/libubuntu-location-service2.install 2014-07-30 13:55:44 +0000
497+++ debian/libubuntu-location-service2.install 1970-01-01 00:00:00 +0000
498@@ -1,2 +0,0 @@
499-usr/lib/*/libubuntu-location-service.so.*
500-usr/lib/*/libubuntu-location-service-connectivity.so.*
501
502=== removed symlink 'debian/libubuntu-location-service2.install.amd64'
503=== target was u'libubuntu-location-service2.install.with-gps'
504=== removed symlink 'debian/libubuntu-location-service2.install.armhf'
505=== target was u'libubuntu-location-service2.install.with-gps'
506=== removed symlink 'debian/libubuntu-location-service2.install.i386'
507=== target was u'libubuntu-location-service2.install.with-gps'
508=== removed file 'debian/libubuntu-location-service2.install.with-gps'
509--- debian/libubuntu-location-service2.install.with-gps 2014-07-30 13:55:44 +0000
510+++ debian/libubuntu-location-service2.install.with-gps 1970-01-01 00:00:00 +0000
511@@ -1,3 +0,0 @@
512-usr/lib/*/libubuntu-location-service.so.*
513-usr/lib/*/libubuntu-location-service-connectivity.so.*
514-/etc/gps.conf
515
516=== modified file 'debian/rules'
517--- debian/rules 2015-07-15 19:04:43 +0000
518+++ debian/rules 2015-12-06 20:11:22 +0000
519@@ -15,6 +15,18 @@
520
521 include /usr/share/dpkg/default.mk
522
523+distro=$(shell lsb_release -c -s)
524+
525+ifeq ($(distro),vivid)
526+ full_version=$(shell cat $(CURDIR)/debian/VERSION.vivid)
527+else
528+ full_version=$(shell cat $(CURDIR)/debian/VERSION)
529+endif
530+
531+major=$(shell echo $(full_version) | cut -d'.' -f1)
532+minor=$(shell echo $(full_version) | cut -d'.' -f2)
533+patch=$(shell echo $(full_version) | cut -d'.' -f3)
534+
535 ifneq (,$(filter $(DEB_HOST_ARCH),ppc64el powerpc arm64))
536 LOCATION_SERVICE_ENABLE_GPS_PROVIDER = OFF
537 else
538@@ -31,4 +43,11 @@
539 dh_strip --dbg-package=libubuntu-location-service-dbg
540
541 override_dh_auto_configure:
542- dh_auto_configure -- -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/ubuntu-location-service -DCMAKE_C_COMPILER=$(CC) -DCMAKE_CXX_COMPILER=$(CXX) -DLOCATION_SERVICE_ENABLE_GPS_PROVIDER=$(LOCATION_SERVICE_ENABLE_GPS_PROVIDER)
543+ dh_auto_configure -- -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/ubuntu-location-service -DCMAKE_C_COMPILER=$(CC) -DCMAKE_CXX_COMPILER=$(CXX) -DLOCATION_SERVICE_ENABLE_GPS_PROVIDER=$(LOCATION_SERVICE_ENABLE_GPS_PROVIDER) -DUBUNTU_LOCATION_SERVICE_VERSION_MAJOR=$(major) -DUBUNTU_LOCATION_SERVICE_VERSION_MINOR=$(minor) -DUBUNTU_LOCATION_SERVICE_VERSION_PATCH=$(patch)
544+
545+override_dh_auto_clean:
546+ rm -f $(CURDIR)/debian/libubuntu-location-service$(major).install.amd64
547+ rm -f $(CURDIR)/debian/libubuntu-location-service$(major).install.armhf
548+ rm -f $(CURDIR)/debian/libubuntu-location-service$(major).install.i386
549+ /bin/sh $(CURDIR)/debian/gen-debian-files.sh $(CURDIR)/debian
550+ dh_auto_clean
551
552=== modified file 'debian/source/format'
553--- debian/source/format 2014-07-30 14:15:06 +0000
554+++ debian/source/format 2015-12-06 20:11:22 +0000
555@@ -1,1 +1,1 @@
556-3.0 (quilt)
557+3.0 (native)
558
559=== modified file 'tests/acceptance_tests.cpp'
560--- tests/acceptance_tests.cpp 2015-12-06 20:11:22 +0000
561+++ tests/acceptance_tests.cpp 2015-12-06 20:11:22 +0000
562@@ -818,7 +818,7 @@
563
564 options.add(Keys::client_count,
565 "Number of clients that should be fired up.",
566- std::uint32_t{50});
567+ std::uint32_t{10});
568
569 options.add(Keys::test_duration,
570 "Test duration in [s]",

Subscribers

People subscribed via source and target branches