Merge lp:~bzoltan/ubuntu-sdk-ide/merge-click into lp:ubuntu-sdk-ide
- merge-click
- Merge into trunk
Proposed by
Zoltan Balogh
Status: | Merged |
---|---|
Approved by: | Benjamin Zeller |
Approved revision: | 156 |
Merged at revision: | 158 |
Proposed branch: | lp:~bzoltan/ubuntu-sdk-ide/merge-click |
Merge into: | lp:ubuntu-sdk-ide |
Diff against target: |
541 lines (+490/-0) 9 files modified
click/apparmor.json (+5/-0) click/manifest.json (+15/-0) click/sdk.desktop (+17/-0) click/ubuntu-sdk-ide-click (+23/-0) create-ubuntu-sdk-ide-click.README (+28/-0) create-ubuntu-sdk-ide-click.py (+290/-0) create_kit.sh (+76/-0) setup/gui/ubuntu-sdk-ide.desktop (+13/-0) snapcraft.yaml (+23/-0) |
To merge this branch: | bzr merge lp:~bzoltan/ubuntu-sdk-ide/merge-click |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
ubuntu-sdk-build-bot | continuous-integration | Approve | |
Benjamin Zeller | Approve | ||
Review via email: mp+305085@code.launchpad.net |
Commit message
Manual merge from the lp:ubuntu-sdk-ide-click with kalikiana's fix
Description of the change
Manual merge from the lp:ubuntu-sdk-ide-click with kalikiana's fix
To post a comment you must log in.
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : | # |
review:
Approve
(continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : | # |
PASSED: Continuous integration, rev:156
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
review:
Approve
(continuous-integration)
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added directory 'click' |
2 | === added file 'click/apparmor.json' |
3 | --- click/apparmor.json 1970-01-01 00:00:00 +0000 |
4 | +++ click/apparmor.json 2016-09-07 08:57:20 +0000 |
5 | @@ -0,0 +1,5 @@ |
6 | +{ |
7 | + "policy_version": 1.3, |
8 | + "template": "unconfined", |
9 | + "policy_groups": [] |
10 | +} |
11 | |
12 | === added file 'click/manifest.json' |
13 | --- click/manifest.json 1970-01-01 00:00:00 +0000 |
14 | +++ click/manifest.json 2016-09-07 08:57:20 +0000 |
15 | @@ -0,0 +1,15 @@ |
16 | +{ |
17 | + "architecture": "armhf", |
18 | + "description": "Ubuntu SDK IDE and DevKit", |
19 | + "framework": "ubuntu-sdk-15.04", |
20 | + "hooks": { |
21 | + "sdk": { |
22 | + "apparmor": "apparmor.json", |
23 | + "desktop": "sdk.desktop" |
24 | + } |
25 | + }, |
26 | + "maintainer": "Zoltán Balogh <zoltan.balogh@ubuntu.com>", |
27 | + "name": "com.ubuntu.sdk", |
28 | + "title": "Ubuntu SDK IDE and DevKit", |
29 | + "version": "27" |
30 | +} |
31 | |
32 | === added file 'click/sdk.desktop' |
33 | --- click/sdk.desktop 1970-01-01 00:00:00 +0000 |
34 | +++ click/sdk.desktop 2016-09-07 08:57:20 +0000 |
35 | @@ -0,0 +1,17 @@ |
36 | +[Desktop Entry] |
37 | +Name=Ubuntu SDK IDE and DevKit |
38 | +Exec=ubuntu-sdk-ide-click %F |
39 | +Terminal=false |
40 | +Type=Application |
41 | +X-Ubuntu-Touch=true |
42 | +X-Ubuntu-Gettext-Domain=com.ubuntu.sdk |
43 | +X-Ubuntu-XMir-Enable=true |
44 | +# Added Icon and Path as a workaround for http://pad.lv/1227359. |
45 | +# TODO remove them once that bug is fixed. --elopio - 2013-09-18 |
46 | +Icon=ubuntu-sdk-ide.png |
47 | +GenericName=Integrated Development Environment |
48 | +MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.nokia.qt.qmakeprofile;application/vnd.nokia.xml.qt.resource;application/x-qmlproject; |
49 | +Categories=Qt;Development;IDE; |
50 | +InitialPreference=9 |
51 | +Keywords=IDE;Ubuntu SDK IDE;buntu SDK;SDK;Ubuntu Touch;Qt Creator;Qt |
52 | + |
53 | |
54 | === added file 'click/ubuntu-sdk-ide-click' |
55 | --- click/ubuntu-sdk-ide-click 1970-01-01 00:00:00 +0000 |
56 | +++ click/ubuntu-sdk-ide-click 2016-09-07 08:57:20 +0000 |
57 | @@ -0,0 +1,23 @@ |
58 | +#!/bin/sh |
59 | + |
60 | +export PERL5LIB=//opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/share/perl5/:/opt/click.ubuntu.com/com.ubuntu.sdk/23/usr/lib/arm-linux-gnueabihf/perl/5.20.2/ |
61 | +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/lib |
62 | +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/lib/arm-linux-gnueabihf |
63 | +/opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/bin/matchbox-window-manager -theme ../../..//opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/share/themes/Default/ -use_titlebar no & |
64 | + |
65 | +#XKB config |
66 | +#export XKB_CONFIG_ROOT=/usr/share/X11/xkb |
67 | + |
68 | +# Qt Platform to Mir |
69 | +export QT_QPA_PLATFORM=xcb |
70 | +#export QTCHOOSER_NO_GLOBAL_DIR=1 |
71 | + |
72 | + |
73 | +export LD_LIBRARY_PATH=/opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/lib/arm-linux-gnueabihf:/opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/ubuntu-sdk-ide/lib/qtcreator/:/opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/ubuntu-sdk-ide/qtcreator/lib:/opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/lib:$LD_LIBRARY_PATH |
74 | + |
75 | +# Qt Modules |
76 | +export QT_PLUGIN_PATH=/opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/ubuntu-sdk-ide/bin/plugins/ |
77 | +#export QML2_IMPORT_PATH=/opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/ubuntu-sdk-dev/qml |
78 | + |
79 | +exec /opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/ubuntu-sdk-ide/bin/qtcreator |
80 | + |
81 | |
82 | === added file 'click/ubuntu-sdk-ide.png' |
83 | Binary files click/ubuntu-sdk-ide.png 1970-01-01 00:00:00 +0000 and click/ubuntu-sdk-ide.png 2016-09-07 08:57:20 +0000 differ |
84 | === added file 'create-ubuntu-sdk-ide-click.README' |
85 | --- create-ubuntu-sdk-ide-click.README 1970-01-01 00:00:00 +0000 |
86 | +++ create-ubuntu-sdk-ide-click.README 2016-09-07 08:57:20 +0000 |
87 | @@ -0,0 +1,28 @@ |
88 | +Modify /usr/bin/libertine-xmir with an export TMPDIR=/tmp" before the exec line. |
89 | + |
90 | +Change the GU in the /etc/ubuntu-touch-session.d/[DEVICE].conf to a smaller value. |
91 | + |
92 | +Testing from terminal the Xmir session can be started like this: |
93 | + $ Xmir :1 -mirSocket $XDG_RUNTIME_DIR/mir_socket --desktop_file_hint=dialer-app |
94 | + |
95 | +the display need to be directed to the Xmir |
96 | + $ export DISPLAY=:1 |
97 | + |
98 | +Set the Qt Platform |
99 | + $ export QT_QPA_PLATFORM=xcb |
100 | + |
101 | +Hack around the library path |
102 | + |
103 | +# Qt Libs |
104 | + $ export LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/:/opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/ubuntu-sdk-ide/qtcreator/lib:/opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/lib:$LD_LIBRARY_PATH |
105 | + $ export LD_LIBRARY_PATH=/opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/ubuntu-sdk-dev/lib:$LD_LIBRARY_PATH |
106 | + |
107 | + |
108 | + |
109 | +Set Qt Modules |
110 | + $ export QT_PLUGIN_PATH=/opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/ubuntu-sdk-ide/bin/plugins/ |
111 | + |
112 | + |
113 | +Execute /opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/ubuntu-sdk-ide/bin/qtcreator |
114 | + |
115 | + |
116 | |
117 | === added file 'create-ubuntu-sdk-ide-click.py' |
118 | --- create-ubuntu-sdk-ide-click.py 1970-01-01 00:00:00 +0000 |
119 | +++ create-ubuntu-sdk-ide-click.py 2016-09-07 08:57:20 +0000 |
120 | @@ -0,0 +1,290 @@ |
121 | +#!/usr/bin/python |
122 | +from optparse import OptionParser |
123 | +import re |
124 | +import urlparse |
125 | +from launchpadlib.launchpad import Launchpad |
126 | +from subprocess import call |
127 | +import subprocess |
128 | +import sys |
129 | +import os |
130 | +import glob |
131 | +import shutil |
132 | +import requests |
133 | + |
134 | +ide_packages = [ |
135 | + "ubuntu-sdk-ide", |
136 | + "ubuntu-sdk-dev", |
137 | + "ubuntu-clicksdk-qmake", |
138 | + "apparmor", |
139 | + "apparmor-easyprof", |
140 | + "apparmor-easyprof-ubuntu", |
141 | + "at", |
142 | + "autoconf", |
143 | + "automake", |
144 | + "autotools-dev", |
145 | + "base-files", |
146 | + "binutils", |
147 | + "bsdmainutils", |
148 | + "build-essential", |
149 | + "busybox-initramfs", |
150 | + "bzip2", |
151 | + "ca-certificates", |
152 | + "click", |
153 | + "click-apparmor", |
154 | + "click-dev", |
155 | + "click-reviewers-tools", |
156 | + "cmake", |
157 | + "cmake-data", |
158 | + "cmake-extras", |
159 | + "cpio", |
160 | + "cpp", |
161 | + "cpp-4.9", |
162 | + "cron", |
163 | + "dbus", |
164 | + "dctrl-tools", |
165 | + "debhelper", |
166 | + "debootstrap", |
167 | + "devscripts", |
168 | + "dh-apparmor", |
169 | + "dh-make", |
170 | + "dh-python", |
171 | + "diffstat", |
172 | + "distro-info-data", |
173 | + "dpkg-dev", |
174 | + "libdpkg-perl", |
175 | + "dput", |
176 | + "fakeroot", |
177 | + "file", |
178 | + "g++", |
179 | + "g++-4.9", |
180 | + "gcc", |
181 | + "gcc-4.9", |
182 | + "gdb", |
183 | + "gdb-multiarch", |
184 | + "gdbserver", |
185 | + "gettext", |
186 | + "gettext-base", |
187 | + "gir1.2-click-0.4", |
188 | + "gir1.2-gee-0.8", |
189 | + "gir1.2-glib-2.0", |
190 | + "gir1.2-json-1.0", |
191 | + "groff-base", |
192 | + "hardening-includes", |
193 | + "ifupdown", |
194 | + "init-system-helpers", |
195 | + "initramfs-tools", |
196 | + "initramfs-tools-bin", |
197 | + "intltool", |
198 | + "intltool-debian", |
199 | + "iproute2", |
200 | + "isc-dhcp-client", |
201 | + "isc-dhcp-common", |
202 | + "iso-codes", |
203 | + "klibc-utils", |
204 | + "kmod", |
205 | + "krb5-locales", |
206 | + "libalgorithm-c3-perl", |
207 | + "libalgorithm-diff-perl", |
208 | + "libalgorithm-diff-xs-perl", |
209 | + "libalgorithm-merge-perl", |
210 | + "libapparmor-perl", |
211 | + "libapt-pkg-perl", |
212 | + "libarchive-extract-perl", |
213 | + "libarchive-zip-perl", |
214 | + "libarchive13", |
215 | + "libasan1", |
216 | + "libasn1-8-heimdal", |
217 | + "libasprintf-dev", |
218 | + "libasprintf0c2", |
219 | + "libatm1", |
220 | + "libatomic1", |
221 | + "libauthen-sasl-perl", |
222 | + "libbabeltrace-ctf1", |
223 | + "libbabeltrace1", |
224 | + "libboost-filesystem1.55.0", |
225 | + "libboost-iostreams1.55.0", |
226 | + "libboost-program-options1.55.0", |
227 | + "libboost-system1.55.0", |
228 | + "libbotan-1.10-0", |
229 | + "libc-dev-bin", |
230 | + "libc6-dbg", |
231 | + "libc6-dev", |
232 | + "libcap-ng0", |
233 | + "libcgi-fast-perl", |
234 | + "libcgi-pm-perl", |
235 | + "libclass-accessor-perl", |
236 | + "libclass-c3-perl", |
237 | + "libclass-c3-xs-perl", |
238 | + "libclick-0.4-0", |
239 | + "libclone-perl", |
240 | + "libcloog-isl4", |
241 | + "libcommon-sense-perl", |
242 | + "libcpan-meta-perl", |
243 | + "libcroco3", |
244 | + "libcurl3", |
245 | + "libcurl3-gnutls", |
246 | + "libdata-optlist-perl", |
247 | + "libdata-section-perl", |
248 | + "libdbus-1-3", |
249 | + "libdbus-glib-1-2", |
250 | + "libdigest-hmac-perl", |
251 | + "libdistro-info-perl", |
252 | + "libdns-export100", |
253 | + "libdpkg-perl", |
254 | + "libemail-valid-perl", |
255 | + "libencode-locale-perl", |
256 | + "liberror-perl", |
257 | + "libmpfr4", |
258 | + "libmpc3", |
259 | + "perl", |
260 | + "libisl13", |
261 | + "make", |
262 | + "matchbox-common", |
263 | + "matchbox-window-manager", |
264 | + "matchbox-desktop", |
265 | + "matchbox-panel", |
266 | + "matchbox-panel-manager", |
267 | + "matchbox-keyboard", |
268 | + "libfakekey0", |
269 | + "libmatchbox1", |
270 | + "libxsettings-client0", |
271 | + "ttf-dejavu", |
272 | + "matchbox-keyboard-im", |
273 | + "libpango1.0-0", |
274 | + "libpangox-1.0-0", |
275 | + "libpangoxft-1.0-0", |
276 | + "libstartup-notification0", |
277 | + "libxft2", |
278 | + "libpthread-stubs0-dev", |
279 | + "libxau-dev", |
280 | + "libxcb-xinerama0", |
281 | + "libxcb1-dev", |
282 | + "libxdmcp-dev", |
283 | + "x11proto-core-dev", |
284 | + "xorg-sgml-doctools", |
285 | + "zlib1g", |
286 | + "gcc-4.9-base", |
287 | + "libstdc++-4.9-dev" |
288 | + |
289 | +] |
290 | + |
291 | + |
292 | +def create_webroot_url_from_self_link(self_link): |
293 | + scheme, netloc, _, _, _ = urlparse.urlsplit(self_link) |
294 | + netloc = netloc.lstrip("api.") |
295 | + return u"%s://%s/" % (scheme, netloc) |
296 | + |
297 | + |
298 | +def get_deb(archive, package, series, arch): |
299 | + re_version = re.compile(r"^\d+\:") |
300 | + arch_series = series.getDistroArchSeries(archtag=arch) |
301 | + x = archive.getPublishedBinaries(binary_name=package, |
302 | + distro_arch_series=arch_series, |
303 | + status="Published", pocket='Release', |
304 | + exact_match=True) |
305 | + |
306 | + webroot = create_webroot_url_from_self_link(archive.self_link) |
307 | + version = x[0].binary_package_version |
308 | + version = re_version.sub("", version, 1) |
309 | + if archive.owner.name == "ubuntu-archive": |
310 | + yield "%subuntu/+archive/primary/+files/%s_%s_%s.deb" \ |
311 | + % (webroot, x[0].binary_package_name, version, arch) |
312 | + else: |
313 | + yield "%s/~ubuntu-sdk-team/+archive/ubuntu/ppa/+files/%s_%s_%s.deb" \ |
314 | + % (webroot, x[0].binary_package_name, version, arch) |
315 | + |
316 | + |
317 | +def main(): |
318 | + parser = OptionParser(usage="usage: %prog [options] source ...") |
319 | + parser.add_option( |
320 | + "-l", "--launchpad", dest="launchpad_instance", default="production") |
321 | + parser.add_option( |
322 | + "-a", "--arch", dest="arch", default="armhf", choices=['armhf', 'i386', 'amd64',], help="architecture of the package") |
323 | + |
324 | + options, args = parser.parse_args() |
325 | + arch = options.arch |
326 | + launchpad = Launchpad.login_anonymously('just testing', |
327 | + options.launchpad_instance) |
328 | + ubuntu = launchpad.distributions["ubuntu"] |
329 | + distro_archive = ubuntu.main_archive |
330 | + overlay_archive = launchpad.people["ubuntu-sdk-team"].\ |
331 | + getPPAByName(name="ppa") |
332 | + series = ubuntu.getSeries(name_or_version="vivid") |
333 | + |
334 | + arch_series = series.getDistroArchSeries(archtag=arch) |
335 | + |
336 | + build_directory = "./click-%s/" % arch |
337 | + if not os.path.exists(build_directory): |
338 | + os.makedirs(build_directory) |
339 | + src="./click/" |
340 | + src_files = os.listdir(src) |
341 | + for file_name in src_files: |
342 | + full_file_name = os.path.join(src, file_name) |
343 | + if (os.path.isfile(full_file_name)): |
344 | + shutil.copy(full_file_name, build_directory) |
345 | + |
346 | + for ide_package in ide_packages: |
347 | + re_version = re.compile(r"^\d+\:") |
348 | + archive = overlay_archive |
349 | + x = overlay_archive.getPublishedBinaries( |
350 | + binary_name=ide_package, |
351 | + distro_arch_series=arch_series, |
352 | + status="Published", pocket='Release', |
353 | + exact_match=True) |
354 | + |
355 | + if len(x) == 0: |
356 | + archive = distro_archive |
357 | + x = distro_archive.getPublishedBinaries( |
358 | + binary_name=ide_package, |
359 | + distro_arch_series=arch_series, |
360 | + status="Published", pocket='Release', |
361 | + exact_match=True) |
362 | + if len(x) == 0: |
363 | + print("Could not find "+ide_package) |
364 | + sys.exit(1) |
365 | + else: |
366 | + print(ide_package+" found in Archive") |
367 | + else: |
368 | + print(ide_package+" found in SDK PPA") |
369 | + |
370 | + x = x[0].binary_package_version |
371 | + |
372 | + generator = get_deb(archive, ide_package, series, arch) |
373 | + for i in generator: |
374 | + request = requests.get(i) |
375 | + if request.status_code != 200: |
376 | + i = re.sub('_%s.deb' % arch, '_all.deb', i) |
377 | + |
378 | + if ide_package != 'ubuntu-ui-toolkit': |
379 | + binary_package_name = re.sub(r'-opensource-src', |
380 | + r'', |
381 | + ide_package.rstrip()) |
382 | + else: |
383 | + binary_package_name = re.sub(r'ubuntu-ui-toolkit', |
384 | + r'ubuntu-sdk', |
385 | + ide_package.rstrip()) |
386 | + call(["wget", i, "-nv"]) |
387 | + for deb_file in glob.glob('%s*deb' % ide_package): |
388 | + call(["dpkg-deb", "-x", deb_file, build_directory]) |
389 | + for junk_files in glob.glob("*.deb"): |
390 | + os.remove(junk_files) |
391 | +# click_package_rev = subprocess.Popen(["bzr", "revno"], stdout=subprocess.PIPE).communicate()[0] |
392 | +# click_package_rev = click_package_rev.rstrip() |
393 | +# manifest_file = open('click/manifest.json','r') |
394 | +# manifest_with_orig_version = manifest_file.read() |
395 | +# manifest_file.close() |
396 | +# manifest_with_new_version = re.sub("\"version\":\s+\".*\"", "\"version\": \"%s\"" % click_package_rev, manifest_with_orig_version) |
397 | +# manifest_file = open('click/manifest.json','w') |
398 | +# manifest_file.write(manifest_with_new_version) |
399 | +# manifest_file.close() |
400 | + |
401 | + |
402 | + |
403 | + call(["create_kit.sh","-a",arch]) |
404 | + s=open("%s/manifest.json" % build_directory).read() |
405 | + s=s.replace('armhf', '%s' % arch) |
406 | + f=open("%s/manifest.json" % build_directory, 'w') |
407 | + f.write(s) |
408 | + f.close() |
409 | + call(["click", "build", build_directory]) |
410 | +main() |
411 | |
412 | === added file 'create_kit.sh' |
413 | --- create_kit.sh 1970-01-01 00:00:00 +0000 |
414 | +++ create_kit.sh 2016-09-07 08:57:20 +0000 |
415 | @@ -0,0 +1,76 @@ |
416 | +#!/bin/bash |
417 | + |
418 | +ARCH="armhf" |
419 | +while getopts "ha:" opt; do |
420 | + case $opt in |
421 | + a) |
422 | + ARCH=$OPTARG |
423 | + ;; |
424 | + h) |
425 | + echo "Usage: create_kit.sh -a [arch]" |
426 | + echo -e "\t-a : Creat Kit for the given arch type. Default: ${ARCH} [armhf, i386, amd64]" |
427 | + exit |
428 | + ;; |
429 | + :) |
430 | + echo "Option -$OPTARG requires an argument." >&2 |
431 | + exit 1 |
432 | + ;; |
433 | + esac |
434 | +done |
435 | + |
436 | +QT_UID="UbuntuSDK-API-Qt" |
437 | +SDK_TOOL="/usr/ubuntu-sdk-ide/bin/sdktool" |
438 | +SDKPATH="./click-${ARCH}/usr/ubuntu-sdk-ide/share/qtcreator/QtProject/qtcreator" |
439 | + |
440 | + |
441 | +rm ${SDKPATH}/*.xml |
442 | + |
443 | +case "${ARCH}" in |
444 | + amd64) |
445 | + GCC_UID="ProjectExplorer.ToolChain.Gcc:UbuntuSDKGCC-x86_64-linux-gnu" |
446 | + NAME="GCC (x86 64bit in /opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/bin/g++)" |
447 | + ABI="x86-linux-generic-elf-64bit" |
448 | + SUPPORTED_ABIS="x86-linux-generic-elf-64bit,x86-linux-generic-elf-32bit" |
449 | + ;; |
450 | + |
451 | + i386) |
452 | + GCC_UID="ProjectExplorer.ToolChain.Gcc:UbuntuSDKGCC-x86-linux-generic-elf-32bit" |
453 | + NAME="GCC (x86 32bit in /opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/bin/g++)" |
454 | + ABI="x86-linux-generic-elf-32bit" |
455 | + SUPPORTED_ABIS="x86-linux-generic-elf-32bit" |
456 | + ;; |
457 | + |
458 | + armhf) |
459 | + GCC_UID="ProjectExplorer.ToolChain.Gcc:UbuntuSDKGCC-arm-linux-generic-elf-32bit" |
460 | + NAME="GCC (armhf in /opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/bin/g++)" |
461 | + ABI="arm-linux-generic-elf-32bit" |
462 | + SUPPORTED_ABIS="arm-linux-generic-elf-32bit" |
463 | + ;; |
464 | + |
465 | + *) |
466 | + echo "Unknown architecture" |
467 | + exit 1 |
468 | + ;; |
469 | +esac |
470 | + |
471 | +${SDK_TOOL} --sdkpath=${SDKPATH} addTC \ |
472 | + --id "${GCC_UID}" \ |
473 | + --name "${NAME}" \ |
474 | + --path /opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/bin/g++ \ |
475 | + --abi "${ABI}" \ |
476 | + --supportedAbis "${SUPPORTED_ABIS}" |
477 | + |
478 | +${SDK_TOOL} --sdkpath=${SDKPATH} addQt \ |
479 | + --id "${QT_UID}" \ |
480 | + --name "Ubuntu SDK Desktop Qt" \ |
481 | + --qmake /opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/bin/qmake-clicksdk \ |
482 | + --type Qt4ProjectManager.QtVersion.Desktop |
483 | + |
484 | +${SDK_TOOL} --sdkpath=${SDKPATH} addKit \ |
485 | + --id "UbuntuSDK-API-Desktop-Kit" \ |
486 | + --name "Ubuntu SDK Desktop Kit" \ |
487 | + --debuggerengine 1 \ |
488 | + --debugger /opt/click.ubuntu.com/com.ubuntu.sdk/current/usr/bin/gdb \ |
489 | + --devicetype Desktop \ |
490 | + --toolchain "${GCC_UID}" \ |
491 | + --qt "${QT_UID}" |
492 | |
493 | === added directory 'setup' |
494 | === added directory 'setup/gui' |
495 | === added file 'setup/gui/ubuntu-sdk-ide.desktop' |
496 | --- setup/gui/ubuntu-sdk-ide.desktop 1970-01-01 00:00:00 +0000 |
497 | +++ setup/gui/ubuntu-sdk-ide.desktop 2016-09-07 08:57:20 +0000 |
498 | @@ -0,0 +1,13 @@ |
499 | +[Desktop Entry] |
500 | +Exec=ubuntu-sdk-ide %F |
501 | +TryExec=ubuntu-sdk-ide |
502 | +Icon=${SNAP}/meta/gui/ubuntu-sdk-ide.png |
503 | +Type=Application |
504 | +Terminal=false |
505 | +Name=Ubuntu SDK IDE |
506 | +GenericName=Integrated Development Environment |
507 | +MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.nokia.qt.qmakeprofile;application/vnd.nokia.xml.qt.resource;application/x-qmlproject; |
508 | +Categories=Qt;Development;IDE; |
509 | +InitialPreference=9 |
510 | +Keywords=IDE;Ubuntu SDK IDE;buntu SDK;SDK;Ubuntu Touch;Qt Creator;Qt |
511 | + |
512 | |
513 | === added file 'setup/gui/ubuntu-sdk-ide.png' |
514 | Binary files setup/gui/ubuntu-sdk-ide.png 1970-01-01 00:00:00 +0000 and setup/gui/ubuntu-sdk-ide.png 2016-09-07 08:57:20 +0000 differ |
515 | === added file 'snapcraft.yaml' |
516 | --- snapcraft.yaml 1970-01-01 00:00:00 +0000 |
517 | +++ snapcraft.yaml 2016-09-07 08:57:20 +0000 |
518 | @@ -0,0 +1,23 @@ |
519 | +name: ubuntu-sdk-ide |
520 | +version: "0" |
521 | +summary: Integrated Development Environment for Ubuntu Touch |
522 | +description: | |
523 | + Qt Creator is a lightweight, cross-platform integrated development environment (IDE) designed to make |
524 | + development with the Qt application framework even faster and easier. |
525 | + |
526 | + This package contains the Qt Creator and the Ubuntu plugins providing deeper integration for developing |
527 | + applications for Ubuntu using the Ubuntu UI Toolkit. It also introduces an Ubuntu themed welcome screen. |
528 | +confinement: devmode |
529 | + |
530 | +apps: |
531 | + ubuntu-sdk-ide: |
532 | + command: desktop-launch $SNAP/usr/ubuntu-sdk-ide/bin/qtcreator.sh -noload Ubuntu |
533 | + plugs: [unity7, opengl, network-bind] |
534 | + |
535 | +parts: |
536 | + ubuntu-sdk-ide: |
537 | + plugin: nil |
538 | + stage-packages: |
539 | + - ubuntu-sdk-ide |
540 | + # https://wiki.ubuntu.com/snapcraft/parts |
541 | + after: [desktop-glib-only] |
PASSED: Continuous integration, rev:156 /jenkins. ubuntu. com/ubuntu- sdk/job/ qtcreator- ide-ci- amd64/171/ /jenkins. ubuntu. com/ubuntu- sdk/job/ generic- update- mp/5932/ console
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/ubuntu- sdk/job/ qtcreator- ide-ci- amd64/171/ rebuild
https:/