Merge lp:~mzanetti/reminders-app/switch-to-cmake into lp:reminders-app
- switch-to-cmake
- Merge into trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Alan Pope πΊπ§π± π¦ | ||||
Approved revision: | 46 | ||||
Merged at revision: | 27 | ||||
Proposed branch: | lp:~mzanetti/reminders-app/switch-to-cmake | ||||
Merge into: | lp:reminders-app | ||||
Prerequisite: | lp:~mzanetti/reminders-app/use-webview | ||||
Diff against target: |
455 lines (+153/-194) 18 files modified
3rdParty/3rdParty.pro (+0/-4) 3rdParty/CMakeLists.txt (+2/-0) 3rdParty/evernote-sdk-cpp/CMakeLists.txt (+21/-0) 3rdParty/evernote-sdk-cpp/evernote-sdk-cpp.pro (+0/-35) 3rdParty/libthrift/CMakeLists.txt (+40/-0) 3rdParty/libthrift/libthrift.pro (+0/-43) CMakeLists.txt (+10/-0) debian/control (+2/-1) reminders-app.pro (+0/-8) run_on_ubuntu_touch.sh (+2/-3) src/CMakeLists.txt (+2/-0) src/app/CMakeLists.txt (+15/-0) src/app/app.pro (+0/-25) src/plugin/CMakeLists.txt (+6/-0) src/plugin/Evernote/CMakeLists.txt (+53/-0) src/plugin/Evernote/Evernote.pro (+0/-71) src/plugin/plugin.pro (+0/-2) src/src.pro (+0/-2) |
||||
To merge this branch: | bzr merge lp:~mzanetti/reminders-app/switch-to-cmake | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve | |
Alan Pope πΊπ§π± π¦ (community) | Needs Fixing | ||
Review via email: mp+199377@code.launchpad.net |
Commit message
switch from qmake to cmake
Description of the change
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
- 41. By Michael Zanetti
-
merge trunk
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
FAILED: Continuous integration, rev:41
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 42. By Michael Zanetti
-
install plugin files as expected by .install file
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:42
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 43. By Michael Zanetti
-
merge prerequisite branch
- 44. By Michael Zanetti
-
use absolute include path
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:43
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:44
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Alan Pope πΊπ§π± π¦ (popey) wrote : | # |
This fails to deploy/build for me because cmake isn't pre-installed by "run_on_
alan@deep-
adbd is already running as root
ssh start/running, process 3020
Transferring code..
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
sending incremental file list
sent 11638 bytes received 77 bytes 23430.00 bytes/sec
total size is 3231629 speedup is 275.85
Setting up environment for building reminders-app...
/home/alan/
Original contents retained as /home/alan/
9 KB/s (399 bytes in 0.041s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
libboost-dev is already the newest version.
libssl-dev is already the newest version.
qt5-default is already the newest version.
qtbase5-dev is already the newest version.
qtdeclarative5-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
sending incremental file list
sent 11638 bytes received 77 bytes 23430.00 bytes/sec
total size is 3231629 speedup is 275.85
alan@deep-
adbd is already running as root
start: Job is already running: ssh
Transferring code..
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
sending incremental file list
sent 11638 bytes received 77 bytes 23430.00 bytes/sec
total size is 3231629 speedup is 275.85
Building..
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
Connection to 127.0.0.1 closed.
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
bash: cmake: command not found
Connection to 127.0.0.1 closed.
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
make: *** No targets specified and no makefile found. Stop.
Connection to 127.0.0.1 closed.
Running..
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
bash: cd: reminders-
Connection to 127.0.0.1 closed.
alan@deep-
root@ubuntu-
root@ubuntu-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
cmake-data
Suggested packages:
codeblocks eclipse
The following NEW packages will be installed:
cmake cmake-data
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
Need to get 3002 kB of archives.
After this operation, 12.5 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://
Get:2 http://
Alan Pope πΊπ§π± π¦ (popey) wrote : | # |
Other than that, it works okay once cmake is installed on device.
- 45. By Michael Zanetti
-
added cmake to run_on_ubuntu_touch -s
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
FAILED: Continuous integration, rev:45
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 46. By Michael Zanetti
-
merge prerequisite
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:46
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Preview Diff
1 | === removed file '3rdParty/3rdParty.pro' | |||
2 | --- 3rdParty/3rdParty.pro 2013-11-21 23:30:15 +0000 | |||
3 | +++ 3rdParty/3rdParty.pro 1970-01-01 00:00:00 +0000 | |||
4 | @@ -1,4 +0,0 @@ | |||
5 | 1 | TEMPLATE = subdirs | ||
6 | 2 | SUBDIRS = libthrift evernote-sdk-cpp | ||
7 | 3 | |||
8 | 4 | evernote-sdk-cpp.depends = libthrift | ||
9 | 5 | 0 | ||
10 | === added file '3rdParty/CMakeLists.txt' | |||
11 | --- 3rdParty/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
12 | +++ 3rdParty/CMakeLists.txt 2014-01-10 12:07:36 +0000 | |||
13 | @@ -0,0 +1,2 @@ | |||
14 | 1 | add_subdirectory(libthrift) | ||
15 | 2 | add_subdirectory(evernote-sdk-cpp) | ||
16 | 0 | 3 | ||
17 | === added file '3rdParty/evernote-sdk-cpp/CMakeLists.txt' | |||
18 | --- 3rdParty/evernote-sdk-cpp/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
19 | +++ 3rdParty/evernote-sdk-cpp/CMakeLists.txt 2014-01-10 12:07:36 +0000 | |||
20 | @@ -0,0 +1,21 @@ | |||
21 | 1 | include_directories( | ||
22 | 2 | ${CMAKE_CURRENT_SOURCE_DIR} | ||
23 | 3 | ${CMAKE_SOURCE_DIR}/3rdParty/libthrift | ||
24 | 4 | ) | ||
25 | 5 | |||
26 | 6 | SET(evernote-sdk-cpp_SRCS | ||
27 | 7 | src/Errors_constants.cpp | ||
28 | 8 | src/Errors_types.cpp | ||
29 | 9 | src/Limits_constants.cpp | ||
30 | 10 | src/Limits_types.cpp | ||
31 | 11 | src/NoteStore_constants.cpp | ||
32 | 12 | src/NoteStore.cpp | ||
33 | 13 | src/NoteStore_types.cpp | ||
34 | 14 | src/Types_constants.cpp | ||
35 | 15 | src/Types_types.cpp | ||
36 | 16 | src/UserStore_constants.cpp | ||
37 | 17 | src/UserStore.cpp | ||
38 | 18 | src/UserStore_types.cpp | ||
39 | 19 | ) | ||
40 | 20 | |||
41 | 21 | add_library(evernote-sdk-cpp ${evernote-sdk-cpp_SRCS}) | ||
42 | 0 | 22 | ||
43 | === removed file '3rdParty/evernote-sdk-cpp/evernote-sdk-cpp.pro' | |||
44 | --- 3rdParty/evernote-sdk-cpp/evernote-sdk-cpp.pro 2013-11-21 23:30:15 +0000 | |||
45 | +++ 3rdParty/evernote-sdk-cpp/evernote-sdk-cpp.pro 1970-01-01 00:00:00 +0000 | |||
46 | @@ -1,35 +0,0 @@ | |||
47 | 1 | TEMPLATE = lib | ||
48 | 2 | |||
49 | 3 | CONFIG = staticlib | ||
50 | 4 | |||
51 | 5 | QMAKE_CXXFLAGS += -std=c++0x -fPIC | ||
52 | 6 | |||
53 | 7 | INCLUDEPATH += ../libthrift | ||
54 | 8 | |||
55 | 9 | LIBS += -L../libthrift -llibthrift | ||
56 | 10 | |||
57 | 11 | SOURCES += src/Errors_constants.cpp \ | ||
58 | 12 | src/Errors_types.cpp \ | ||
59 | 13 | src/Limits_constants.cpp \ | ||
60 | 14 | src/Limits_types.cpp \ | ||
61 | 15 | src/NoteStore_constants.cpp \ | ||
62 | 16 | src/NoteStore.cpp \ | ||
63 | 17 | src/NoteStore_types.cpp \ | ||
64 | 18 | src/Types_constants.cpp \ | ||
65 | 19 | src/Types_types.cpp \ | ||
66 | 20 | src/UserStore_constants.cpp \ | ||
67 | 21 | src/UserStore.cpp \ | ||
68 | 22 | src/UserStore_types.cpp | ||
69 | 23 | |||
70 | 24 | HEADERS += src/Errors_constants.h \ | ||
71 | 25 | src/Errors_types.h \ | ||
72 | 26 | src/Limits_constants.h \ | ||
73 | 27 | src/Limits_types.h \ | ||
74 | 28 | src/NoteStore_constants.h \ | ||
75 | 29 | src/NoteStore.h \ | ||
76 | 30 | src/NoteStore_types.h \ | ||
77 | 31 | src/Types_constants.h \ | ||
78 | 32 | src/Types_types.h \ | ||
79 | 33 | src/UserStore_constants.h \ | ||
80 | 34 | src/UserStore.h \ | ||
81 | 35 | src/UserStore_types.h | ||
82 | 36 | 0 | ||
83 | === added file '3rdParty/libthrift/CMakeLists.txt' | |||
84 | --- 3rdParty/libthrift/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
85 | +++ 3rdParty/libthrift/CMakeLists.txt 2014-01-10 12:07:36 +0000 | |||
86 | @@ -0,0 +1,40 @@ | |||
87 | 1 | include_directories( | ||
88 | 2 | ${CMAKE_CURRENT_SOURCE_DIR} | ||
89 | 3 | ) | ||
90 | 4 | |||
91 | 5 | add_definitions( -DHAVE_CONFIG_H ) | ||
92 | 6 | |||
93 | 7 | SET(libthrift_SRCS | ||
94 | 8 | Thrift.cpp | ||
95 | 9 | TApplicationException.cpp | ||
96 | 10 | async/TAsyncChannel.cpp | ||
97 | 11 | async/TAsyncProtocolProcessor.cpp | ||
98 | 12 | #async/TEvhttpClientChannel.cpp | ||
99 | 13 | #async/TEvhttpServer.cpp | ||
100 | 14 | transport/TBufferTransports.cpp | ||
101 | 15 | transport/TFDTransport.cpp | ||
102 | 16 | transport/TFileTransport.cpp | ||
103 | 17 | transport/THttpClient.cpp | ||
104 | 18 | transport/THttpServer.cpp | ||
105 | 19 | transport/THttpTransport.cpp | ||
106 | 20 | transport/TServerSocket.cpp | ||
107 | 21 | transport/TSimpleFileTransport.cpp | ||
108 | 22 | transport/TSocket.cpp | ||
109 | 23 | transport/TSocketPool.cpp | ||
110 | 24 | transport/TSSLServerSocket.cpp | ||
111 | 25 | transport/TSSLSocket.cpp | ||
112 | 26 | transport/TTransportException.cpp | ||
113 | 27 | transport/TTransportUtils.cpp | ||
114 | 28 | transport/TZlibTransport.cpp | ||
115 | 29 | #concurrency/BoostMonitor.cpp | ||
116 | 30 | #concurrency/BoostMutex.cpp | ||
117 | 31 | #concurrency/BoostThreadFactory.cpp | ||
118 | 32 | concurrency/Monitor.cpp | ||
119 | 33 | concurrency/Mutex.cpp | ||
120 | 34 | concurrency/PosixThreadFactory.cpp | ||
121 | 35 | concurrency/ThreadManager.cpp | ||
122 | 36 | concurrency/TimerManager.cpp | ||
123 | 37 | concurrency/Util.cpp | ||
124 | 38 | ) | ||
125 | 39 | |||
126 | 40 | add_library(libthrift ${libthrift_SRCS}) | ||
127 | 0 | 41 | ||
128 | === removed file '3rdParty/libthrift/libthrift.pro' | |||
129 | --- 3rdParty/libthrift/libthrift.pro 2013-11-21 23:30:15 +0000 | |||
130 | +++ 3rdParty/libthrift/libthrift.pro 1970-01-01 00:00:00 +0000 | |||
131 | @@ -1,43 +0,0 @@ | |||
132 | 1 | TEMPLATE = lib | ||
133 | 2 | |||
134 | 3 | CONFIG = staticlib | ||
135 | 4 | |||
136 | 5 | QMAKE_CXXFLAGS += -std=c++0x -fPIC | ||
137 | 6 | |||
138 | 7 | LIBS += -lssl -lcrypto | ||
139 | 8 | |||
140 | 9 | DEFINES += HAVE_CONFIG_H | ||
141 | 10 | |||
142 | 11 | SOURCES += Thrift.cpp \ | ||
143 | 12 | TApplicationException.cpp \ | ||
144 | 13 | async/TAsyncChannel.cpp \ | ||
145 | 14 | async/TAsyncProtocolProcessor.cpp \ | ||
146 | 15 | #async/TEvhttpClientChannel.cpp \ | ||
147 | 16 | #async/TEvhttpServer.cpp \ | ||
148 | 17 | transport/TBufferTransports.cpp \ | ||
149 | 18 | transport/TFDTransport.cpp \ | ||
150 | 19 | transport/TFileTransport.cpp \ | ||
151 | 20 | transport/THttpClient.cpp \ | ||
152 | 21 | transport/THttpServer.cpp \ | ||
153 | 22 | transport/THttpTransport.cpp \ | ||
154 | 23 | transport/TServerSocket.cpp \ | ||
155 | 24 | transport/TSimpleFileTransport.cpp \ | ||
156 | 25 | transport/TSocket.cpp \ | ||
157 | 26 | transport/TSocketPool.cpp \ | ||
158 | 27 | transport/TSSLServerSocket.cpp \ | ||
159 | 28 | transport/TSSLSocket.cpp \ | ||
160 | 29 | transport/TTransportException.cpp \ | ||
161 | 30 | transport/TTransportUtils.cpp \ | ||
162 | 31 | transport/TZlibTransport.cpp \ | ||
163 | 32 | #concurrency/BoostMonitor.cpp \ | ||
164 | 33 | #concurrency/BoostMutex.cpp \ | ||
165 | 34 | #concurrency/BoostThreadFactory.cpp \ | ||
166 | 35 | concurrency/Monitor.cpp \ | ||
167 | 36 | concurrency/Mutex.cpp \ | ||
168 | 37 | concurrency/PosixThreadFactory.cpp \ | ||
169 | 38 | concurrency/ThreadManager.cpp \ | ||
170 | 39 | concurrency/TimerManager.cpp \ | ||
171 | 40 | concurrency/Util.cpp \ | ||
172 | 41 | |||
173 | 42 | HEADERS += config.h | ||
174 | 43 | |||
175 | 44 | 0 | ||
176 | === added file 'CMakeLists.txt' | |||
177 | --- CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
178 | +++ CMakeLists.txt 2014-01-10 12:07:36 +0000 | |||
179 | @@ -0,0 +1,10 @@ | |||
180 | 1 | cmake_minimum_required(VERSION 2.8.9) | ||
181 | 2 | |||
182 | 3 | project(reminders-app C CXX) | ||
183 | 4 | |||
184 | 5 | set(CMAKE_AUTOMOC ON) | ||
185 | 6 | |||
186 | 7 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-permissive -pedantic -Wall -Wextra -fPIC") | ||
187 | 8 | |||
188 | 9 | add_subdirectory(3rdParty) | ||
189 | 10 | add_subdirectory(src) | ||
190 | 0 | 11 | ||
191 | === modified file 'debian/control' | |||
192 | --- debian/control 2013-11-26 12:07:17 +0000 | |||
193 | +++ debian/control 2014-01-10 12:07:36 +0000 | |||
194 | @@ -1,7 +1,8 @@ | |||
195 | 1 | Source: reminders-app | 1 | Source: reminders-app |
196 | 2 | Priority: extra | 2 | Priority: extra |
197 | 3 | Maintainer: Ubuntu App Cats <ubuntu-touch-coreapps@lists.launchpad.net> | 3 | Maintainer: Ubuntu App Cats <ubuntu-touch-coreapps@lists.launchpad.net> |
199 | 4 | Build-Depends: debhelper (>= 9), | 4 | Build-Depends: cmake, |
200 | 5 | debhelper (>= 9), | ||
201 | 5 | gettext, | 6 | gettext, |
202 | 6 | libboost-dev, | 7 | libboost-dev, |
203 | 7 | libssl-dev, | 8 | libssl-dev, |
204 | 8 | 9 | ||
205 | === removed file 'reminders-app.pro' | |||
206 | --- reminders-app.pro 2013-11-22 18:51:32 +0000 | |||
207 | +++ reminders-app.pro 1970-01-01 00:00:00 +0000 | |||
208 | @@ -1,8 +0,0 @@ | |||
209 | 1 | TEMPLATE = subdirs | ||
210 | 2 | SUBDIRS = 3rdParty src | ||
211 | 3 | |||
212 | 4 | src.depends = 3rdParty | ||
213 | 5 | |||
214 | 6 | check.target = check | ||
215 | 7 | check.commands = "echo No tests yet" | ||
216 | 8 | QMAKE_EXTRA_TARGETS = check | ||
217 | 9 | 0 | ||
218 | === modified file 'run_on_ubuntu_touch.sh' | |||
219 | --- run_on_ubuntu_touch.sh 2013-11-22 22:35:37 +0000 | |||
220 | +++ run_on_ubuntu_touch.sh 2014-01-10 12:07:36 +0000 | |||
221 | @@ -16,7 +16,7 @@ | |||
222 | 16 | SUDO="echo $PASSWORD | sudo -S" | 16 | SUDO="echo $PASSWORD | sudo -S" |
223 | 17 | NUM_JOBS='$(( `grep -c ^processor /proc/cpuinfo` + 1 ))' | 17 | NUM_JOBS='$(( `grep -c ^processor /proc/cpuinfo` + 1 ))' |
224 | 18 | FLIPPED=false | 18 | FLIPPED=false |
226 | 19 | DEPS="qt5-default qtbase5-dev qtdeclarative5-dev libboost-dev libssl-dev" | 19 | DEPS="qt5-default qtbase5-dev qtdeclarative5-dev libboost-dev libssl-dev cmake" |
227 | 20 | 20 | ||
228 | 21 | exec_with_ssh() { | 21 | exec_with_ssh() { |
229 | 22 | ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -t $USER@$TARGET_IP -p $TARGET_SSH_PORT sudo -u $USER -i bash -ic \"$@\" | 22 | ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -t $USER@$TARGET_IP -p $TARGET_SSH_PORT sudo -u $USER -i bash -ic \"$@\" |
230 | @@ -61,8 +61,7 @@ | |||
231 | 61 | 61 | ||
232 | 62 | build() { | 62 | build() { |
233 | 63 | exec_with_ssh mkdir -p $CODE_DIR/$BUILD_DIR | 63 | exec_with_ssh mkdir -p $CODE_DIR/$BUILD_DIR |
236 | 64 | exec_with_ssh PATH=/usr/lib/ccache:$PATH "cd $CODE_DIR/$BUILD_DIR && PATH=/usr/lib/ccache:$PATH qmake --version" | 64 | exec_with_ssh PATH=/usr/lib/ccache:$PATH "cd $CODE_DIR/$BUILD_DIR && PATH=/usr/lib/ccache:$PATH QT_SELECT=qt5 cmake .." |
235 | 65 | exec_with_ssh PATH=/usr/lib/ccache:$PATH "cd $CODE_DIR/$BUILD_DIR && PATH=/usr/lib/ccache:$PATH QT_SELECT=qt5 qmake .." | ||
237 | 66 | exec_with_ssh PATH=/usr/lib/ccache:$PATH "cd $CODE_DIR/$BUILD_DIR && PATH=/usr/lib/ccache:$PATH make -j2" | 65 | exec_with_ssh PATH=/usr/lib/ccache:$PATH "cd $CODE_DIR/$BUILD_DIR && PATH=/usr/lib/ccache:$PATH make -j2" |
238 | 67 | } | 66 | } |
239 | 68 | 67 | ||
240 | 69 | 68 | ||
241 | === added file 'src/CMakeLists.txt' | |||
242 | --- src/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
243 | +++ src/CMakeLists.txt 2014-01-10 12:07:36 +0000 | |||
244 | @@ -0,0 +1,2 @@ | |||
245 | 1 | add_subdirectory(plugin) | ||
246 | 2 | add_subdirectory(app) | ||
247 | 0 | 3 | ||
248 | === added file 'src/app/CMakeLists.txt' | |||
249 | --- src/app/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
250 | +++ src/app/CMakeLists.txt 2014-01-10 12:07:36 +0000 | |||
251 | @@ -0,0 +1,15 @@ | |||
252 | 1 | file(GLOB_RECURSE QML_SRCS *.qml *.js) | ||
253 | 2 | |||
254 | 3 | set(reminders-app_SRCS | ||
255 | 4 | main.cpp | ||
256 | 5 | ${QML_SRCS} | ||
257 | 6 | ) | ||
258 | 7 | |||
259 | 8 | add_executable(reminders-app ${reminders-app_SRCS}) | ||
260 | 9 | |||
261 | 10 | qt5_use_modules(reminders-app Gui Qml Quick) | ||
262 | 11 | |||
263 | 12 | add_custom_target(reminders-app-qmlfiles ALL | ||
264 | 13 | COMMAND cp -r ${CMAKE_CURRENT_SOURCE_DIR}/qml ${CMAKE_CURRENT_BINARY_DIR} | ||
265 | 14 | DEPENDS ${QMLFILES} | ||
266 | 15 | ) | ||
267 | 0 | 16 | ||
268 | === removed file 'src/app/app.pro' | |||
269 | --- src/app/app.pro 2013-12-15 01:57:25 +0000 | |||
270 | +++ src/app/app.pro 1970-01-01 00:00:00 +0000 | |||
271 | @@ -1,25 +0,0 @@ | |||
272 | 1 | TARGET = reminders-app | ||
273 | 2 | TEMPLATE = app | ||
274 | 3 | |||
275 | 4 | QT+= core qml quick | ||
276 | 5 | |||
277 | 6 | SOURCES += main.cpp \ | ||
278 | 7 | |||
279 | 8 | OTHER_FILES = qml/reminders-app.qml \ | ||
280 | 9 | qml/ui/NotebooksPage.qml \ | ||
281 | 10 | qml/ui/RemindersPage.qml \ | ||
282 | 11 | qml/ui/NotesPage.qml \ | ||
283 | 12 | qml/ui/AccountSelectorPage.qml \ | ||
284 | 13 | qml/ui/NotePage.qml \ | ||
285 | 14 | qml/ui/SearchNotesPage.qml \ | ||
286 | 15 | qml/components/ToolbarSpacer.qml \ | ||
287 | 16 | qml/components/NotesDelegate.qml \ | ||
288 | 17 | qml/components/NotebooksDelegate.qml \ | ||
289 | 18 | qml/ui/EditNotePage.qml | ||
290 | 19 | |||
291 | 20 | # Copy qml to build dir for running with qtcreator | ||
292 | 21 | qmlfolder.source = src/app/qml | ||
293 | 22 | qmlfolder.target = . | ||
294 | 23 | DEPLOYMENTFOLDERS = qmlfolder | ||
295 | 24 | |||
296 | 25 | include(../../deployment.pri) | ||
297 | 26 | 0 | ||
298 | === added file 'src/plugin/CMakeLists.txt' | |||
299 | --- src/plugin/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
300 | +++ src/plugin/CMakeLists.txt 2014-01-10 12:07:36 +0000 | |||
301 | @@ -0,0 +1,6 @@ | |||
302 | 1 | include(FindPkgConfig) | ||
303 | 2 | find_package(Qt5Core) | ||
304 | 3 | find_package(Qt5Qml) | ||
305 | 4 | find_package(Qt5Quick) | ||
306 | 5 | |||
307 | 6 | add_subdirectory(Evernote) | ||
308 | 0 | 7 | ||
309 | === added file 'src/plugin/Evernote/CMakeLists.txt' | |||
310 | --- src/plugin/Evernote/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
311 | +++ src/plugin/Evernote/CMakeLists.txt 2014-01-10 12:07:36 +0000 | |||
312 | @@ -0,0 +1,53 @@ | |||
313 | 1 | include_directories( | ||
314 | 2 | ${CMAKE_CURRENT_SOURCE_DIR} | ||
315 | 3 | ${CMAKE_SOURCE_DIR}/3rdParty/libthrift | ||
316 | 4 | ${CMAKE_SOURCE_DIR}/3rdParty/evernote-sdk-cpp/src/ | ||
317 | 5 | ) | ||
318 | 6 | |||
319 | 7 | set(evernoteplugin_SRCS | ||
320 | 8 | evernoteplugin.cpp | ||
321 | 9 | notesstore.cpp | ||
322 | 10 | userstore.cpp | ||
323 | 11 | notebooks.cpp | ||
324 | 12 | notes.cpp | ||
325 | 13 | note.cpp | ||
326 | 14 | notebook.cpp | ||
327 | 15 | jobs/fetchnotesjob.cpp | ||
328 | 16 | jobs/fetchnotebooksjob.cpp | ||
329 | 17 | jobs/fetchnotejob.cpp | ||
330 | 18 | jobs/createnotejob.cpp | ||
331 | 19 | jobs/evernotejob.cpp | ||
332 | 20 | jobs/savenotejob.cpp | ||
333 | 21 | jobs/deletenotejob.cpp | ||
334 | 22 | evernoteconnection.cpp | ||
335 | 23 | jobs/userstorejob.cpp | ||
336 | 24 | jobs/notesstorejob.cpp | ||
337 | 25 | jobs/fetchusernamejob.cpp | ||
338 | 26 | jobs/createnotebookjob.cpp | ||
339 | 27 | jobs/expungenotebookjob.cpp | ||
340 | 28 | resourceimageprovider.cpp | ||
341 | 29 | utils/enmldocument.cpp | ||
342 | 30 | ) | ||
343 | 31 | |||
344 | 32 | add_library(evernoteplugin MODULE | ||
345 | 33 | ${evernoteplugin_SRCS} | ||
346 | 34 | ) | ||
347 | 35 | |||
348 | 36 | target_link_libraries(evernoteplugin | ||
349 | 37 | -L${CMAKE_BINARY_DIR}/3rdParty/evernote-sdk-cpp/ -L${CMAKE_BINARY_DIR}/3rdParty/libthrift/ -levernote-sdk-cpp -llibthrift -lssl -lcrypto | ||
350 | 38 | ) | ||
351 | 39 | |||
352 | 40 | qt5_use_modules(evernoteplugin Gui Qml Quick) | ||
353 | 41 | |||
354 | 42 | |||
355 | 43 | # Copy qmldir file to build dir for running in QtCreator | ||
356 | 44 | add_custom_target(evernoteplugin-qmldir ALL | ||
357 | 45 | COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/qmldir ${CMAKE_CURRENT_BINARY_DIR} | ||
358 | 46 | DEPENDS ${QMLFILES} | ||
359 | 47 | ) | ||
360 | 48 | |||
361 | 49 | # Install plugin file | ||
362 | 50 | exec_program(qmake ARGS "-query QT_INSTALL_QML" OUTPUT_VARIABLE QT_IMPORTS_DIR) | ||
363 | 51 | install(TARGETS evernoteplugin DESTINATION ${QT_IMPORTS_DIR}/Evernote/) | ||
364 | 52 | install(FILES qmldir DESTINATION ${QT_IMPORTS_DIR}/Evernote/) | ||
365 | 53 | |||
366 | 0 | 54 | ||
367 | === removed file 'src/plugin/Evernote/Evernote.pro' | |||
368 | --- src/plugin/Evernote/Evernote.pro 2013-12-14 22:38:57 +0000 | |||
369 | +++ src/plugin/Evernote/Evernote.pro 1970-01-01 00:00:00 +0000 | |||
370 | @@ -1,71 +0,0 @@ | |||
371 | 1 | TARGET=evernoteplugin | ||
372 | 2 | TEMPLATE=lib | ||
373 | 3 | CONFIG = qt plugin | ||
374 | 4 | QT += qml gui xml quick | ||
375 | 5 | QMAKE_CXXFLAGS += -std=c++0x -fPIC | ||
376 | 6 | |||
377 | 7 | INCLUDEPATH += ../../../3rdParty/evernote-sdk-cpp/src/ ../../../3rdParty/libthrift | ||
378 | 8 | |||
379 | 9 | TARGET = $$qtLibraryTarget($$TARGET) | ||
380 | 10 | uri = Evernote | ||
381 | 11 | |||
382 | 12 | SOURCES += evernoteplugin.cpp \ | ||
383 | 13 | notesstore.cpp \ | ||
384 | 14 | userstore.cpp \ | ||
385 | 15 | notebooks.cpp \ | ||
386 | 16 | notes.cpp \ | ||
387 | 17 | note.cpp \ | ||
388 | 18 | notebook.cpp \ | ||
389 | 19 | jobs/fetchnotesjob.cpp \ | ||
390 | 20 | jobs/fetchnotebooksjob.cpp \ | ||
391 | 21 | jobs/fetchnotejob.cpp \ | ||
392 | 22 | jobs/createnotejob.cpp \ | ||
393 | 23 | jobs/evernotejob.cpp \ | ||
394 | 24 | jobs/savenotejob.cpp \ | ||
395 | 25 | jobs/deletenotejob.cpp \ | ||
396 | 26 | evernoteconnection.cpp \ | ||
397 | 27 | jobs/userstorejob.cpp \ | ||
398 | 28 | jobs/notesstorejob.cpp \ | ||
399 | 29 | jobs/fetchusernamejob.cpp \ | ||
400 | 30 | jobs/createnotebookjob.cpp \ | ||
401 | 31 | jobs/expungenotebookjob.cpp \ | ||
402 | 32 | resourceimageprovider.cpp \ | ||
403 | 33 | utils/enmldocument.cpp | ||
404 | 34 | |||
405 | 35 | HEADERS += evernoteplugin.h \ | ||
406 | 36 | notesstore.h \ | ||
407 | 37 | userstore.h \ | ||
408 | 38 | notebooks.h \ | ||
409 | 39 | notes.h \ | ||
410 | 40 | note.h \ | ||
411 | 41 | notebook.h \ | ||
412 | 42 | jobs/fetchnotesjob.h \ | ||
413 | 43 | jobs/fetchnotebooksjob.h \ | ||
414 | 44 | jobs/fetchnotejob.h \ | ||
415 | 45 | jobs/createnotejob.h \ | ||
416 | 46 | jobs/evernotejob.h \ | ||
417 | 47 | jobs/savenotejob.h \ | ||
418 | 48 | jobs/deletenotejob.h \ | ||
419 | 49 | evernoteconnection.h \ | ||
420 | 50 | jobs/userstorejob.h \ | ||
421 | 51 | jobs/notesstorejob.h \ | ||
422 | 52 | jobs/fetchusernamejob.h \ | ||
423 | 53 | jobs/createnotebookjob.h \ | ||
424 | 54 | jobs/expungenotebookjob.h \ | ||
425 | 55 | resourceimageprovider.h \ | ||
426 | 56 | utils/enmldocument.h | ||
427 | 57 | |||
428 | 58 | message(building in $$OUT_PWD) | ||
429 | 59 | LIBS += -L$$OUT_PWD/../../../3rdParty/evernote-sdk-cpp/ -L$$OUT_PWD/../../../3rdParty/libthrift/ -levernote-sdk-cpp -llibthrift -lssl -lcrypto | ||
430 | 60 | |||
431 | 61 | installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /) | ||
432 | 62 | qmldir.files = qmldir | ||
433 | 63 | qmldir.path = $$installPath | ||
434 | 64 | target.path = $$installPath | ||
435 | 65 | INSTALLS += target qmldir | ||
436 | 66 | |||
437 | 67 | # Copy qml to build dir | ||
438 | 68 | qmldir.source = src/plugin/Evernote/qmldir | ||
439 | 69 | qmldir.target = . | ||
440 | 70 | DEPLOYMENTFOLDERS = qmldir | ||
441 | 71 | include(../../../deployment.pri) | ||
442 | 72 | 0 | ||
443 | === removed file 'src/plugin/plugin.pro' | |||
444 | --- src/plugin/plugin.pro 2013-11-21 23:30:15 +0000 | |||
445 | +++ src/plugin/plugin.pro 1970-01-01 00:00:00 +0000 | |||
446 | @@ -1,2 +0,0 @@ | |||
447 | 1 | TEMPLATE = subdirs | ||
448 | 2 | SUBDIRS = Evernote | ||
449 | 3 | 0 | ||
450 | === removed file 'src/src.pro' | |||
451 | --- src/src.pro 2013-11-21 23:30:15 +0000 | |||
452 | +++ src/src.pro 1970-01-01 00:00:00 +0000 | |||
453 | @@ -1,2 +0,0 @@ | |||
454 | 1 | TEMPLATE = subdirs | ||
455 | 2 | SUBDIRS += plugin app |
FAILED: Continuous integration, rev:40 91.189. 93.70:8080/ job/reminders- app-ci/ 52/ 91.189. 93.70:8080/ job/generic- mediumtests- trusty/ 515/console 91.189. 93.70:8080/ job/reminders- app-saucy- amd64-ci/ 52/console 91.189. 93.70:8080/ job/reminders- app-trusty- amd64-ci/ 52/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: 91.189. 93.70:8080/ job/reminders- app-ci/ 52/rebuild
http://