Merge lp:~mir-team/platform-api/remove-mirserver into lp:platform-api
- remove-mirserver
- Merge into trunk
Status: | Merged |
---|---|
Approved by: | Alberto Aguirre |
Approved revision: | 315 |
Merged at revision: | 304 |
Proposed branch: | lp:~mir-team/platform-api/remove-mirserver |
Merge into: | lp:platform-api |
Prerequisite: | lp:~mir-team/platform-api/delete-deprecations |
Diff against target: |
322 lines (+7/-185) 11 files modified
debian/changelog (+1/-0) debian/ubuntu-application-api3-desktop.install (+0/-1) debian/ubuntu-application-api3-touch.install (+0/-1) src/ubuntu/application/common/CMakeLists.txt (+0/-2) src/ubuntu/application/common/mirclient/CMakeLists.txt (+4/-0) src/ubuntu/application/common/mirclient/ubuntu_application_api_mirclient.cpp (+2/-2) src/ubuntu/application/common/mircommon/CMakeLists.txt (+0/-23) src/ubuntu/application/common/mirserver/CMakeLists.txt (+0/-18) src/ubuntu/application/common/mirserver/ubuntu_application_api_mirserver.cpp (+0/-72) src/ubuntu/application/desktop/CMakeLists.txt (+0/-33) src/ubuntu/application/touch/CMakeLists.txt (+0/-33) |
To merge this branch: | bzr merge lp:~mir-team/platform-api/remove-mirserver |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Carr (community) | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Gerry Boland | Pending | ||
Alan Griffiths | Pending | ||
Kevin DuBois | Pending | ||
Review via email: mp+262284@code.launchpad.net |
This proposal supersedes a proposal from 2014-11-06.
Commit message
Remove the unused mirserver component
Description of the change
Remove the unused mirserver component
Rebased on top of lp:~mir-team/platform-api/delete-deprecations, hopefully to land together once and for all :)
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
PASSED: Continuous integration, rev:266
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Gerry Boland (gerboland) wrote : Posted in a previous version of this proposal | # |
Lots of red, nice :)
armhf CI fail appears unrelated:
1/1 Test #1: test_ua_
unsure how this change impacted it.
Since you're removing a feature from the library, think we'd better bump the version numbers.
Alberto Aguirre (albaguirre) wrote : Posted in a previous version of this proposal | # |
@Gerry,
Oh true, it merits a version bump.
CI now passed.
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
PASSED: Continuous integration, rev:267
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Gerry Boland (gerboland) wrote : Posted in a previous version of this proposal | # |
Please update the lib versions in CMakeLists.txt to match the debian version. Also these should match:
src/ubuntu/
src/ubuntu/
src/ubuntu/
src/ubuntu/
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:268
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
PASSED: Continuous integration, rev:268
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Alan Griffiths (alan-griffiths) wrote : Posted in a previous version of this proposal | # |
Yes!
Kevin DuBois (kdub) wrote : Posted in a previous version of this proposal | # |
I had a branch of similar nature, this one looks good by me.
Alberto Aguirre (albaguirre) wrote : Posted in a previous version of this proposal | # |
@Kevin, IT IS your branch :) (see r265)
Gerry Boland (gerboland) wrote : Posted in a previous version of this proposal | # |
Delayed, but finally getting to test this.
First off, I'm having to rebuild qtubuntu to have it work with this. I wasn't expecting an ABI change due to this MR. Expected?
Now I'm getting
Ubuntu Platform API: Unable to load selected module. -- Aborting
and adding dlerror() I get:
libubuntu_
Not sure where that version 2 is coming from, as you building v3.
Just bumping the so versions isn't enough sadly, as the debian packaging specifies version 2 everywhere. You either need to bump all the packaging to version 3 (and hit everything that depends on version 2) or else just make this a minor version bump.
Alberto Aguirre (albaguirre) wrote : Posted in a previous version of this proposal | # |
@Gerry,
Yes, after talking to ricmm, we would need to build all 14-15 rev deps on a major rev bump, so we'll stash this for now until an actual api change warrants a 3.0 bump.
Instead, we'll just stub out the mirserver backend so we can do a minor rev bump:
https:/
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:314
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 315. By Alberto Aguirre
-
Update changelog
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:315
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Robert Carr (robertcarr) wrote : | # |
Looks good to me :D
Preview Diff
1 | === modified file 'debian/changelog' | |||
2 | --- debian/changelog 2015-06-23 15:53:15 +0000 | |||
3 | +++ debian/changelog 2015-06-23 15:53:15 +0000 | |||
4 | @@ -1,6 +1,7 @@ | |||
5 | 1 | platform-api (3.0.0) UNRELEASED; urgency=medium | 1 | platform-api (3.0.0) UNRELEASED; urgency=medium |
6 | 2 | 2 | ||
7 | 3 | * Remove deprecated ua_ui_* functions. | 3 | * Remove deprecated ua_ui_* functions. |
8 | 4 | * Remove mirserver backend | ||
9 | 4 | 5 | ||
10 | 5 | -- Robert Carr <robert.carr@canonical.com> Wed, 25 Mar 2015 16:00:34 -0700 | 6 | -- Robert Carr <robert.carr@canonical.com> Wed, 25 Mar 2015 16:00:34 -0700 |
11 | 6 | 7 | ||
12 | 7 | 8 | ||
13 | === modified file 'debian/ubuntu-application-api3-desktop.install' | |||
14 | --- debian/ubuntu-application-api3-desktop.install 2014-05-15 15:46:30 +0000 | |||
15 | +++ debian/ubuntu-application-api3-desktop.install 2015-06-23 15:53:15 +0000 | |||
16 | @@ -1,2 +1,1 @@ | |||
17 | 1 | usr/lib/*/libubuntu_application_api_desktop_mirclient.so.* | 1 | usr/lib/*/libubuntu_application_api_desktop_mirclient.so.* |
18 | 2 | usr/lib/*/libubuntu_application_api_desktop_mirserver.so.* | ||
19 | 3 | 2 | ||
20 | === modified file 'debian/ubuntu-application-api3-touch.install' | |||
21 | --- debian/ubuntu-application-api3-touch.install 2014-05-15 15:46:30 +0000 | |||
22 | +++ debian/ubuntu-application-api3-touch.install 2015-06-23 15:53:15 +0000 | |||
23 | @@ -1,2 +1,1 @@ | |||
24 | 1 | usr/lib/*/libubuntu_application_api_touch_mirserver.so.* | ||
25 | 2 | usr/lib/*/libubuntu_application_api_touch_mirclient.so.* | 1 | usr/lib/*/libubuntu_application_api_touch_mirclient.so.* |
26 | 3 | 2 | ||
27 | === modified file 'src/ubuntu/application/common/CMakeLists.txt' | |||
28 | --- src/ubuntu/application/common/CMakeLists.txt 2014-05-15 14:56:16 +0000 | |||
29 | +++ src/ubuntu/application/common/CMakeLists.txt 2015-06-23 15:53:15 +0000 | |||
30 | @@ -3,6 +3,4 @@ | |||
31 | 3 | ) | 3 | ) |
32 | 4 | 4 | ||
33 | 5 | add_subdirectory(application) | 5 | add_subdirectory(application) |
34 | 6 | add_subdirectory(mircommon) | ||
35 | 7 | add_subdirectory(mirclient) | 6 | add_subdirectory(mirclient) |
36 | 8 | add_subdirectory(mirserver) | ||
37 | 9 | 7 | ||
38 | === modified file 'src/ubuntu/application/common/mirclient/CMakeLists.txt' | |||
39 | --- src/ubuntu/application/common/mirclient/CMakeLists.txt 2015-06-23 15:53:15 +0000 | |||
40 | +++ src/ubuntu/application/common/mirclient/CMakeLists.txt 2015-06-23 15:53:15 +0000 | |||
41 | @@ -1,6 +1,10 @@ | |||
42 | 1 | set(SOURCES | 1 | set(SOURCES |
43 | 2 | ubuntu_application_api_mirclient.cpp | 2 | ubuntu_application_api_mirclient.cpp |
44 | 3 | application_instance_mirclient.cpp | 3 | application_instance_mirclient.cpp |
45 | 4 | application_id_mir.cpp | ||
46 | 5 | application_options_mir.cpp | ||
47 | 6 | application_description_mir.cpp | ||
48 | 7 | lifecycle_delegate_mir.cpp | ||
49 | 4 | ) | 8 | ) |
50 | 5 | 9 | ||
51 | 6 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11 -fPIC") | 10 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11 -fPIC") |
52 | 7 | 11 | ||
53 | === renamed file 'src/ubuntu/application/common/mircommon/application_description_mir.cpp' => 'src/ubuntu/application/common/mirclient/application_description_mir.cpp' | |||
54 | === renamed file 'src/ubuntu/application/common/mircommon/application_description_mir_priv.h' => 'src/ubuntu/application/common/mirclient/application_description_mir_priv.h' | |||
55 | === renamed file 'src/ubuntu/application/common/mircommon/application_id_mir.cpp' => 'src/ubuntu/application/common/mirclient/application_id_mir.cpp' | |||
56 | === renamed file 'src/ubuntu/application/common/mircommon/application_id_mir_priv.h' => 'src/ubuntu/application/common/mirclient/application_id_mir_priv.h' | |||
57 | === renamed file 'src/ubuntu/application/common/mircommon/application_options_mir.cpp' => 'src/ubuntu/application/common/mirclient/application_options_mir.cpp' | |||
58 | === renamed file 'src/ubuntu/application/common/mircommon/application_options_mir_priv.h' => 'src/ubuntu/application/common/mirclient/application_options_mir_priv.h' | |||
59 | === renamed file 'src/ubuntu/application/common/mircommon/lifecycle_delegate_mir.cpp' => 'src/ubuntu/application/common/mirclient/lifecycle_delegate_mir.cpp' | |||
60 | === renamed file 'src/ubuntu/application/common/mircommon/lifecycle_delegate_mir_priv.h' => 'src/ubuntu/application/common/mirclient/lifecycle_delegate_mir_priv.h' | |||
61 | === modified file 'src/ubuntu/application/common/mirclient/ubuntu_application_api_mirclient.cpp' | |||
62 | --- src/ubuntu/application/common/mirclient/ubuntu_application_api_mirclient.cpp 2015-06-23 15:53:15 +0000 | |||
63 | +++ src/ubuntu/application/common/mirclient/ubuntu_application_api_mirclient.cpp 2015-06-23 15:53:15 +0000 | |||
64 | @@ -17,8 +17,8 @@ | |||
65 | 17 | */ | 17 | */ |
66 | 18 | 18 | ||
67 | 19 | #include "application_instance_mirclient_priv.h" | 19 | #include "application_instance_mirclient_priv.h" |
70 | 20 | #include "mircommon/lifecycle_delegate_mir_priv.h" | 20 | #include "lifecycle_delegate_mir_priv.h" |
71 | 21 | #include "mircommon/application_id_mir_priv.h" | 21 | #include "application_id_mir_priv.h" |
72 | 22 | 22 | ||
73 | 23 | #include <ubuntu/application/lifecycle_delegate.h> | 23 | #include <ubuntu/application/lifecycle_delegate.h> |
74 | 24 | #include <ubuntu/application/sensors/accelerometer.h> | 24 | #include <ubuntu/application/sensors/accelerometer.h> |
75 | 25 | 25 | ||
76 | === removed directory 'src/ubuntu/application/common/mircommon' | |||
77 | === removed file 'src/ubuntu/application/common/mircommon/CMakeLists.txt' | |||
78 | --- src/ubuntu/application/common/mircommon/CMakeLists.txt 2015-06-23 15:53:15 +0000 | |||
79 | +++ src/ubuntu/application/common/mircommon/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
80 | @@ -1,23 +0,0 @@ | |||
81 | 1 | set(SOURCES | ||
82 | 2 | application_id_mir.cpp | ||
83 | 3 | application_options_mir.cpp | ||
84 | 4 | application_description_mir.cpp | ||
85 | 5 | lifecycle_delegate_mir.cpp | ||
86 | 6 | ) | ||
87 | 7 | |||
88 | 8 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC --std=c++11") | ||
89 | 9 | |||
90 | 10 | include_directories( | ||
91 | 11 | ${MIRCLIENT_INCLUDE_DIRS} | ||
92 | 12 | ) | ||
93 | 13 | |||
94 | 14 | add_library( | ||
95 | 15 | ubuntu_application_api_mircommon STATIC | ||
96 | 16 | ${SOURCES} | ||
97 | 17 | ) | ||
98 | 18 | |||
99 | 19 | target_link_libraries( | ||
100 | 20 | ubuntu_application_api_mircommon | ||
101 | 21 | |||
102 | 22 | ${LINK_LIBRARIES} | ||
103 | 23 | ) | ||
104 | 24 | 0 | ||
105 | === removed directory 'src/ubuntu/application/common/mirserver' | |||
106 | === removed file 'src/ubuntu/application/common/mirserver/CMakeLists.txt' | |||
107 | --- src/ubuntu/application/common/mirserver/CMakeLists.txt 2014-11-14 16:05:29 +0000 | |||
108 | +++ src/ubuntu/application/common/mirserver/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
109 | @@ -1,18 +0,0 @@ | |||
110 | 1 | set(SOURCES | ||
111 | 2 | ubuntu_application_api_mirserver.cpp | ||
112 | 3 | ) | ||
113 | 4 | |||
114 | 5 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11 -fPIC") | ||
115 | 6 | |||
116 | 7 | include_directories( | ||
117 | 8 | ${CMAKE_BINARY_DIR}/include | ||
118 | 9 | ) | ||
119 | 10 | |||
120 | 11 | add_library( | ||
121 | 12 | ubuntu_application_api_mirserver STATIC | ||
122 | 13 | ${SOURCES} | ||
123 | 14 | ) | ||
124 | 15 | |||
125 | 16 | target_link_libraries( | ||
126 | 17 | ubuntu_application_api_mirserver | ||
127 | 18 | ) | ||
128 | 19 | 0 | ||
129 | === removed file 'src/ubuntu/application/common/mirserver/ubuntu_application_api_mirserver.cpp' | |||
130 | --- src/ubuntu/application/common/mirserver/ubuntu_application_api_mirserver.cpp 2015-06-23 15:53:15 +0000 | |||
131 | +++ src/ubuntu/application/common/mirserver/ubuntu_application_api_mirserver.cpp 1970-01-01 00:00:00 +0000 | |||
132 | @@ -1,72 +0,0 @@ | |||
133 | 1 | /* | ||
134 | 2 | * Copyright (C) 2013-2014 Canonical Ltd | ||
135 | 3 | * | ||
136 | 4 | * This program is free software: you can redistribute it and/or modify | ||
137 | 5 | * it under the terms of the GNU Lesser General Public License version 3 as | ||
138 | 6 | * published by the Free Software Foundation. | ||
139 | 7 | * | ||
140 | 8 | * This program is distributed in the hope that it will be useful, | ||
141 | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
142 | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
143 | 11 | * GNU Lesser General Public License for more details. | ||
144 | 12 | * | ||
145 | 13 | * You should have received a copy of the GNU Lesser General Public License | ||
146 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
147 | 15 | * | ||
148 | 16 | * Authored by: Robert Carr <robert.carr@canonical.com> | ||
149 | 17 | */ | ||
150 | 18 | |||
151 | 19 | // C APIs | ||
152 | 20 | #include <ubuntu/application/init.h> | ||
153 | 21 | #include <ubuntu/application/instance.h> | ||
154 | 22 | |||
155 | 23 | extern "C" | ||
156 | 24 | { | ||
157 | 25 | void u_application_init(void *args) | ||
158 | 26 | { | ||
159 | 27 | (void) args; | ||
160 | 28 | } | ||
161 | 29 | |||
162 | 30 | void u_application_finish() | ||
163 | 31 | { | ||
164 | 32 | } | ||
165 | 33 | |||
166 | 34 | UApplicationInstance* u_application_instance_new_from_description_with_options(UApplicationDescription* u_description, UApplicationOptions* u_options) | ||
167 | 35 | { | ||
168 | 36 | (void) u_description; | ||
169 | 37 | (void) u_options; | ||
170 | 38 | return NULL; | ||
171 | 39 | } | ||
172 | 40 | |||
173 | 41 | void | ||
174 | 42 | u_application_instance_ref(UApplicationInstance *u_instance) | ||
175 | 43 | { | ||
176 | 44 | (void) u_instance; | ||
177 | 45 | } | ||
178 | 46 | |||
179 | 47 | void | ||
180 | 48 | u_application_instance_unref(UApplicationInstance *u_instance) | ||
181 | 49 | { | ||
182 | 50 | (void) u_instance; | ||
183 | 51 | } | ||
184 | 52 | |||
185 | 53 | void | ||
186 | 54 | u_application_instance_destroy(UApplicationInstance *instance) | ||
187 | 55 | { | ||
188 | 56 | (void) instance; | ||
189 | 57 | } | ||
190 | 58 | |||
191 | 59 | void | ||
192 | 60 | u_application_instance_run(UApplicationInstance *instance) | ||
193 | 61 | { | ||
194 | 62 | // TODO<papi>: What is this supposed to do? Seems to be no-op on hybris. | ||
195 | 63 | (void) instance; | ||
196 | 64 | } | ||
197 | 65 | |||
198 | 66 | MirConnection* | ||
199 | 67 | u_application_instance_get_mir_connection(UApplicationInstance *instance) | ||
200 | 68 | { | ||
201 | 69 | (void) instance; | ||
202 | 70 | return nullptr; | ||
203 | 71 | } | ||
204 | 72 | } | ||
205 | 73 | 0 | ||
206 | === modified file 'src/ubuntu/application/desktop/CMakeLists.txt' | |||
207 | --- src/ubuntu/application/desktop/CMakeLists.txt 2014-06-24 19:59:46 +0000 | |||
208 | +++ src/ubuntu/application/desktop/CMakeLists.txt 2015-06-23 15:53:15 +0000 | |||
209 | @@ -8,31 +8,11 @@ | |||
210 | 8 | ubuntu_application_sensors_desktop.cpp | 8 | ubuntu_application_sensors_desktop.cpp |
211 | 9 | ) | 9 | ) |
212 | 10 | 10 | ||
213 | 11 | add_library( | ||
214 | 12 | ubuntu_application_api_desktop_mirserver MODULE | ||
215 | 13 | |||
216 | 14 | module.cpp | ||
217 | 15 | module_version.h | ||
218 | 16 | ubuntu_application_sensors_desktop.cpp | ||
219 | 17 | ) | ||
220 | 18 | |||
221 | 19 | target_link_libraries( | 11 | target_link_libraries( |
222 | 20 | ubuntu_application_api_desktop_mirclient | 12 | ubuntu_application_api_desktop_mirclient |
223 | 21 | 13 | ||
224 | 22 | "-Wl,--whole-archive" | 14 | "-Wl,--whole-archive" |
225 | 23 | ubuntu_application_api_mirclient | 15 | ubuntu_application_api_mirclient |
226 | 24 | ubuntu_application_api_mircommon | ||
227 | 25 | ${UBUNTU_APPLICATION_API_LINK_LIBRARIES} | ||
228 | 26 | "-Wl,--no-whole-archive" | ||
229 | 27 | #TODO: Alarms | ||
230 | 28 | ) | ||
231 | 29 | |||
232 | 30 | target_link_libraries( | ||
233 | 31 | ubuntu_application_api_desktop_mirserver | ||
234 | 32 | |||
235 | 33 | "-Wl,--whole-archive" | ||
236 | 34 | ubuntu_application_api_mirserver | ||
237 | 35 | ubuntu_application_api_mircommon | ||
238 | 36 | ${UBUNTU_APPLICATION_API_LINK_LIBRARIES} | 16 | ${UBUNTU_APPLICATION_API_LINK_LIBRARIES} |
239 | 37 | "-Wl,--no-whole-archive" | 17 | "-Wl,--no-whole-archive" |
240 | 38 | #TODO: Alarms | 18 | #TODO: Alarms |
241 | @@ -45,22 +25,9 @@ | |||
242 | 45 | SOVERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR} | 25 | SOVERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR} |
243 | 46 | ) | 26 | ) |
244 | 47 | 27 | ||
245 | 48 | set_target_properties( | ||
246 | 49 | ubuntu_application_api_desktop_mirserver | ||
247 | 50 | PROPERTIES | ||
248 | 51 | VERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR}.${UBUNTU_PLATFORM_API_VERSION_MINOR}.${UBUNTU_PLATFORM_API_VERSION_PATCH} | ||
249 | 52 | SOVERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR} | ||
250 | 53 | ) | ||
251 | 54 | install( | 28 | install( |
252 | 55 | TARGETS ubuntu_application_api_desktop_mirclient | 29 | TARGETS ubuntu_application_api_desktop_mirclient |
253 | 56 | # this is not a development library to compile against, users should always | 30 | # this is not a development library to compile against, users should always |
254 | 57 | # specify the SONAME; so don't build a *.so | 31 | # specify the SONAME; so don't build a *.so |
255 | 58 | LIBRARY DESTINATION "${LIB_INSTALL_DIR}" NAMELINK_SKIP | 32 | LIBRARY DESTINATION "${LIB_INSTALL_DIR}" NAMELINK_SKIP |
256 | 59 | ) | 33 | ) |
257 | 60 | |||
258 | 61 | install( | ||
259 | 62 | TARGETS ubuntu_application_api_desktop_mirserver | ||
260 | 63 | # this is not a development library to compile against, users should always | ||
261 | 64 | # specify the SONAME; so don't build a *.so | ||
262 | 65 | LIBRARY DESTINATION "${LIB_INSTALL_DIR}" NAMELINK_SKIP | ||
263 | 66 | ) | ||
264 | 67 | 34 | ||
265 | === modified file 'src/ubuntu/application/touch/CMakeLists.txt' | |||
266 | --- src/ubuntu/application/touch/CMakeLists.txt 2014-05-26 12:56:45 +0000 | |||
267 | +++ src/ubuntu/application/touch/CMakeLists.txt 2015-06-23 15:53:15 +0000 | |||
268 | @@ -9,31 +9,11 @@ | |||
269 | 9 | module_version.h | 9 | module_version.h |
270 | 10 | ) | 10 | ) |
271 | 11 | 11 | ||
272 | 12 | add_library( | ||
273 | 13 | ubuntu_application_api_touch_mirserver MODULE | ||
274 | 14 | |||
275 | 15 | module.cpp | ||
276 | 16 | module_version.h | ||
277 | 17 | ) | ||
278 | 18 | |||
279 | 19 | target_link_libraries( | 12 | target_link_libraries( |
280 | 20 | ubuntu_application_api_touch_mirclient | 13 | ubuntu_application_api_touch_mirclient |
281 | 21 | 14 | ||
282 | 22 | "-Wl,--whole-archive" | 15 | "-Wl,--whole-archive" |
283 | 23 | ubuntu_application_api_mirclient | 16 | ubuntu_application_api_mirclient |
284 | 24 | ubuntu_application_api_mircommon | ||
285 | 25 | ubuntu_application_api_hybris | ||
286 | 26 | ${UBUNTU_APPLICATION_API_LINK_LIBRARIES} | ||
287 | 27 | "-Wl,--no-whole-archive" | ||
288 | 28 | #TODO: Alarms | ||
289 | 29 | ) | ||
290 | 30 | |||
291 | 31 | target_link_libraries( | ||
292 | 32 | ubuntu_application_api_touch_mirserver | ||
293 | 33 | |||
294 | 34 | "-Wl,--whole-archive" | ||
295 | 35 | ubuntu_application_api_mirserver | ||
296 | 36 | ubuntu_application_api_mircommon | ||
297 | 37 | ubuntu_application_api_hybris | 17 | ubuntu_application_api_hybris |
298 | 38 | ${UBUNTU_APPLICATION_API_LINK_LIBRARIES} | 18 | ${UBUNTU_APPLICATION_API_LINK_LIBRARIES} |
299 | 39 | "-Wl,--no-whole-archive" | 19 | "-Wl,--no-whole-archive" |
300 | @@ -47,22 +27,9 @@ | |||
301 | 47 | SOVERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR} | 27 | SOVERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR} |
302 | 48 | ) | 28 | ) |
303 | 49 | 29 | ||
304 | 50 | set_target_properties( | ||
305 | 51 | ubuntu_application_api_touch_mirserver | ||
306 | 52 | PROPERTIES | ||
307 | 53 | VERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR}.${UBUNTU_PLATFORM_API_VERSION_MINOR}.${UBUNTU_PLATFORM_API_VERSION_PATCH} | ||
308 | 54 | SOVERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR} | ||
309 | 55 | ) | ||
310 | 56 | install( | 30 | install( |
311 | 57 | TARGETS ubuntu_application_api_touch_mirclient | 31 | TARGETS ubuntu_application_api_touch_mirclient |
312 | 58 | # this is not a development library to compile against, users should always | 32 | # this is not a development library to compile against, users should always |
313 | 59 | # specify the SONAME; so don't build a *.so | 33 | # specify the SONAME; so don't build a *.so |
314 | 60 | LIBRARY DESTINATION "${LIB_INSTALL_DIR}" NAMELINK_SKIP | 34 | LIBRARY DESTINATION "${LIB_INSTALL_DIR}" NAMELINK_SKIP |
315 | 61 | ) | 35 | ) |
316 | 62 | |||
317 | 63 | install( | ||
318 | 64 | TARGETS ubuntu_application_api_touch_mirserver | ||
319 | 65 | # this is not a development library to compile against, users should always | ||
320 | 66 | # specify the SONAME; so don't build a *.so | ||
321 | 67 | LIBRARY DESTINATION "${LIB_INSTALL_DIR}" NAMELINK_SKIP | ||
322 | 68 | ) |
FAILED: Continuous integration, rev:266 jenkins. qa.ubuntu. com/job/ platform- api-ci/ 388/ jenkins. qa.ubuntu. com/job/ platform- api-vivid- amd64-ci/ 1 jenkins. qa.ubuntu. com/job/ platform- api-vivid- armhf-ci/ 1/console jenkins. qa.ubuntu. com/job/ platform- api-vivid- i386-ci/ 1
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/platform- api-ci/ 388/rebuild
http://