Merge lp:~robru/camera-app/packaging into lp:camera-app
- packaging
- Merge into trunk
Status: | Merged |
---|---|
Approved by: | Didier Roche-Tolomelli |
Approved revision: | 119 |
Merged at revision: | 119 |
Proposed branch: | lp:~robru/camera-app/packaging |
Merge into: | lp:camera-app |
Diff against target: |
219 lines (+45/-35) 7 files modified
.bzr-builddeb/default.conf (+2/-0) debian/camera-app.install (+2/-2) debian/changelog (+16/-10) debian/compat (+1/-1) debian/control (+23/-20) debian/copyright (+0/-1) debian/rules (+1/-1) |
To merge this branch: | bzr merge lp:~robru/camera-app/packaging |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Didier Roche-Tolomelli | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Günter Schwann (community) | Needs Fixing | ||
Ken VanDine | Needs Fixing | ||
Jim Hodapp | Pending | ||
Ugo Riboni | Pending | ||
Review via email: mp+153651@code.launchpad.net |
Commit message
Minor packaging fixes.
Description of the change
PS Jenkins bot (ps-jenkins) wrote : | # |
Didier Roche-Tolomelli (didrocks) wrote : | # |
Hey Robert,
I don't see the split mode in the branch either.
Apart from that, it looks good. Can youjust ensure we have all necessary build-dep on raring and try building it, installing it + running it on your system?
- 110. By Robert Bruce Park
-
Add missing split mode.
Robert Bruce Park (robru) wrote : | # |
Hey Didier, I built the package ok, but when I went to install it, it said that libautopilot-qt was not installed. I tried to install it, and I couldn't. I tried googling, and it seems to be in a PPA but not in raring. Is that what you wanted to know?
Same for libhud-qt-qml.
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:110
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
Click here to trigger a rebuild:
http://
Didier Roche-Tolomelli (didrocks) wrote : | # |
Right, please coordinate with cyphermox as he's working on this autopilot-qt.
For all apps we need to:
- assess the level of tests that the package have. Note if we are happy with this or not for daily release
- run the tests and ensure they run correctly
- ensure that all build-deps are already bootstrapped.
- if the deps or install autopilot* and it's not an autopilot/test package, look why :)
- run the app successfully on your desktop
- 111. By Robert Bruce Park
-
Lintian fixups.
- 112. By Robert Bruce Park
-
Lintian can get stuffed.
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:112
http://
Executed test runs:
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
Click here to trigger a rebuild:
http://
Robert Bruce Park (robru) wrote : | # |
"FAILED: SUCCESS, SUCCESS, SUCCESS, SUCCESS"
I see.
Robert Bruce Park (robru) wrote : | # |
After installing libhud-qt-qml, it compiles ok, but then I get this error when I try to run it:
$ camera-app
QObject::connect: No such signal QQuickView:
register types Ubuntu.HUD
initialize engine Ubuntu.HUD
Module 'CameraApp' does not contain a module identifier directive - it cannot be protected from external registrations.
Found a top level window.
applicationIden
Creating publisher with XID 81788935
adding actions
context.cpp:static void Ubuntu:
context.cpp:static void Ubuntu:
context.cpp:static void Ubuntu:
context.cpp:static void Ubuntu:
context.cpp:static void Ubuntu:
QMetaType:
Aborted (core dumped)
Ugo, can I get your input on this? Why is this happening? Is it possible to make it run on the desktop, on amd64?
Ken VanDine (ken-vandine) wrote : | # |
You also need change the build depends from qt-components-
qtdeclarati
- 113. By Robert Bruce Park
-
Package name was changed.
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:113
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 114. By Robert Bruce Park
-
Rebase on trunk.
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:114
http://
Executed test runs:
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
Click here to trigger a rebuild:
http://
- 115. By Robert Bruce Park
-
Merge trunk.
- 116. By Robert Bruce Park
-
Fix changelog.
Robert Bruce Park (robru) wrote : | # |
Ok, so I'm no longer getting that crash previously, however now when I run camera-app I get this message:
$ camera-app
QObject::connect: No such signal QQuickView:
register types Ubuntu.HUD
initialize engine Ubuntu.HUD
file://
import Ubuntu.HUD 0.1 as HUD
^
And the app technically doesn't *crash*, but the app window is 1x1px large and there are no UI elements visible. Just an icon appears in the launcher (with a question mark because it doesn't have a real icon). Can anybody else confirm this with this branch as-is?
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:116
http://
Executed test runs:
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
Click here to trigger a rebuild:
http://
Robert Bruce Park (robru) wrote : | # |
The link provided under "FAILED" 404's for me, so I'm going to need somebody to explain to me what failed here.
Łukasz Zemczak (sil2100) wrote : | # |
As mentioned on IRC, until the results are published publicly, you need to access those through s-jenkins, i.e. http://
It seems that all the autopilot tests fail due to some problems.
process-stderr: {{{
Loading testability driver.
QObject::connect: No such signal QQuickView:
register types Ubuntu.HUD
initialize engine Ubuntu.HUD
Module 'CameraApp' does not contain a module identifier directive - it cannot be protected from external registrations.
file://
import Ubuntu.Components 0.1
^
QDBusConnection: name 'org.a11y.
}}}
Seems like a problem in the source or dependencies?
Robert Bruce Park (robru) wrote : | # |
That does look like a dependency issue. Does anybody know what package provides Ubuntu.Components? Didier?
Didier Roche-Tolomelli (didrocks) wrote : | # |
Yeah, ubuntu-ui-toolkit source packages provide those binaries package (please look for those components in the blueprint with the tasks assigned) :)
I think you are even using them in friends-qml!
Günter Schwann (schwann) wrote : | # |
151 + qtdeclarative5-
This should be in "Depends:" section, not the "Build-Depends:". As this is a runtime, not a build time dependency. At this I guess is the reason why the UI tests fail.
169 + libqt5declarati
This seems to be wrong, as two lines below, it's already installed (using the new or old name).
- 117. By Robert Bruce Park
-
Fix deps as per gusch.
- 118. By Robert Bruce Park
-
Remove extra dep.
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:118
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
Robert Bruce Park (robru) wrote : | # |
Still complaining about missing Ubuntu.Components 0.1. I have no idea what provides that or how to add it to the test environment.
Didier Roche-Tolomelli (didrocks) wrote : | # |
For me, qtdeclarative5-
You should probably see with mzanetti, and the sdk team, as I'm even not sure those tests can be executed headless (this doesn't explain the first import issue, but better to confirm). Did you try to check with mterry or cyphermox as they probably had similar issues?
Günter Schwann (schwann) wrote : | # |
Oh Didier you are right. The qtdeclarative5-
So I'd include qtdeclarative5-
- 119. By Robert Bruce Park
-
One more try...
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:119
http://
Executed test runs:
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Didier Roche-Tolomelli (didrocks) wrote : | # |
everything is now passing! Let's approve it :)
Robert Bruce Park (robru) wrote : | # |
Ok but it's still not running for me locally... quite strange.
Preview Diff
1 | === added directory '.bzr-builddeb' |
2 | === added file '.bzr-builddeb/default.conf' |
3 | --- .bzr-builddeb/default.conf 1970-01-01 00:00:00 +0000 |
4 | +++ .bzr-builddeb/default.conf 2013-04-17 07:50:34 +0000 |
5 | @@ -0,0 +1,2 @@ |
6 | +[BUILDDEB] |
7 | +split = True |
8 | |
9 | === modified file 'debian/camera-app.install' |
10 | --- debian/camera-app.install 2013-01-18 16:09:32 +0000 |
11 | +++ debian/camera-app.install 2013-04-17 07:50:34 +0000 |
12 | @@ -1,7 +1,7 @@ |
13 | +/usr/lib/*/qt5/qml/* |
14 | usr/bin/camera-app |
15 | usr/share/applications/camera-app.desktop |
16 | +usr/share/camera-app/*.js |
17 | usr/share/camera-app/*.qml |
18 | -usr/share/camera-app/*.js |
19 | usr/share/camera-app/assets/* |
20 | usr/share/camera-app/theme/* |
21 | -/usr/lib/*/qt5/qml/* |
22 | |
23 | === modified file 'debian/changelog' |
24 | --- debian/changelog 2013-04-15 13:40:19 +0000 |
25 | +++ debian/changelog 2013-04-17 07:50:34 +0000 |
26 | @@ -1,3 +1,9 @@ |
27 | +camera-app (2.9.1-0ubuntu1) UNRELEASED; urgency=low |
28 | + |
29 | + * Minor packaging fixes. |
30 | + |
31 | + -- Robert Bruce Park <robert.park@canonical.com> Mon, 15 Apr 2013 09:32:07 -0700 |
32 | + |
33 | camera-app (2.9) quantal; urgency=low |
34 | |
35 | * Implemented pinch to zoom. |
36 | @@ -14,7 +20,7 @@ |
37 | |
38 | [Renato Filho] |
39 | * Replaced Sensors API in favor of Screen component. |
40 | - * Fixed controls layout during the landscape orientation. |
41 | + * Fixed controls layout during the landscape orientation. |
42 | |
43 | -- Bill Filler <bill.filler@canonical.com> Fri, 29 Mar 2013 11:03:05 -0400 |
44 | |
45 | @@ -63,7 +69,7 @@ |
46 | |
47 | camera-app (2.1) quantal; urgency=low |
48 | |
49 | - * set new env var to disable multi-threaded rendering on camera |
50 | + * set new env var to disable multi-threaded rendering on camera |
51 | |
52 | -- Bill Filler <bill.filler@canonical.com> Tue, 29 Jan 2013 17:20:04 -0500 |
53 | |
54 | @@ -82,7 +88,7 @@ |
55 | |
56 | camera-app (1.6) quantal; urgency=low |
57 | |
58 | - * New release |
59 | + * New release |
60 | |
61 | -- Florian Boucault <florian.boucault@canonical.com> Tue, 18 Dec 2012 01:51:15 +0000 |
62 | |
63 | @@ -110,9 +116,9 @@ |
64 | [ Ugo Riboni ] |
65 | * Swap the on and off icons for the torch so they work properly |
66 | * Add all missing copyright headers |
67 | - |
68 | + |
69 | [ Bill Filler ] |
70 | - * unset multi-threaded qml renderer env vars |
71 | + * unset multi-threaded qml renderer env vars |
72 | |
73 | -- Bill Filler <bill.filler@canonical.com> Tue, 04 Dec 2012 20:52:07 +0000 |
74 | |
75 | @@ -123,12 +129,12 @@ |
76 | * Disable the camera viewfinder when app is inactive to save resources |
77 | |
78 | [ Florian Boucault ] |
79 | - * Use Label instead of TextCustom |
80 | + * Use Label instead of TextCustom |
81 | |
82 | [ Michael Zanetti ] |
83 | * Rename the testing package to camera-app-autopilot |
84 | * Fix build dependencies |
85 | - * Make autopilot tests work on Desktop and Devices |
86 | + * Make autopilot tests work on Desktop and Devices |
87 | |
88 | -- Ugo Riboni <ugo.riboni@canonical.com> Tue, 04 Dec 2012 12:27:01 +0000 |
89 | |
90 | @@ -161,7 +167,7 @@ |
91 | |
92 | camera-app (0.7) quantal; urgency=low |
93 | |
94 | - * new release |
95 | + * new release |
96 | |
97 | -- Bill Filler <bill.filler@canonical.com> Mon, 05 Nov 2012 12:55:24 -0500 |
98 | |
99 | @@ -181,7 +187,7 @@ |
100 | |
101 | camera-app (0.4) quantal; urgency=low |
102 | |
103 | - * revert back to pre-photo viewer integration (bzr rev 29) as it's broken |
104 | + * revert back to pre-photo viewer integration (bzr rev 29) as it's broken |
105 | |
106 | -- Bill Filler <bill.filler@canonical.com> Fri, 19 Oct 2012 11:43:25 -0400 |
107 | |
108 | @@ -203,6 +209,6 @@ |
109 | * Initial release. |
110 | |
111 | [ Bill Filler ] |
112 | - * clean up of packaging for Qt5 |
113 | + * clean up of packaging for Qt5 |
114 | |
115 | -- Ugo Riboni <ugo.riboni@canonical.com> Wed, 17 Oct 2012 19:26:51 +0100 |
116 | |
117 | === modified file 'debian/compat' |
118 | --- debian/compat 2012-09-26 09:54:59 +0000 |
119 | +++ debian/compat 2013-04-17 07:50:34 +0000 |
120 | @@ -1,1 +1,1 @@ |
121 | -7 |
122 | +9 |
123 | |
124 | === modified file 'debian/control' |
125 | --- debian/control 2013-03-27 12:08:07 +0000 |
126 | +++ debian/control 2013-04-17 07:50:34 +0000 |
127 | @@ -3,44 +3,47 @@ |
128 | Priority: optional |
129 | Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
130 | XSBC-Original-Maintainer: Ugo Riboni <ugo.riboni@canonical.com> |
131 | -Build-Depends: debhelper (>= 9.0.0), |
132 | - cmake, |
133 | +Build-Depends: cmake, |
134 | + debhelper (>= 9), |
135 | + libgl-dev, |
136 | + libgles2-mesa-dev, |
137 | + pkg-config, |
138 | + python2.7, |
139 | qtbase5-dev, |
140 | - qtmultimedia5-dev, |
141 | qtdeclarative5-dev, |
142 | qtdeclarative5-qtquick2-plugin, |
143 | qtdeclarative5-test-plugin, |
144 | - pkg-config, |
145 | - libgl-dev, |
146 | - libgles2-mesa-dev, |
147 | - qt-components-ubuntu, |
148 | - python, |
149 | -Standards-Version: 3.9.3 |
150 | -Vcs-Bzr: lp:camera-app |
151 | + qtdeclarative5-ubuntu-ui-toolkit-plugin, |
152 | + qtmultimedia5-dev, |
153 | +Standards-Version: 3.9.4 |
154 | +Homepage: https://launchpad.net/camera-app |
155 | +# If you aren't a member of ~phablet-team but need to upload packaging changes, |
156 | +# just go ahead. ~phablet-team will notice and sync up the code again. |
157 | +Vcs-Bzr: https://code.launchpad.net/~phablet-team/camera-app/trunk |
158 | |
159 | Package: camera-app |
160 | Architecture: any |
161 | -Depends: ${shlibs:Depends}, |
162 | - ${misc:Depends}, |
163 | - qt-components-ubuntu, |
164 | +Depends: cameraplugin-aal [armel armhf], |
165 | + cameraplugin-fake [!armel !armhf], |
166 | libhud-qt-qml, |
167 | - cameraplugin-aal [armel armhf], |
168 | - cameraplugin-fake [!armel !armhf], |
169 | libqt5multimedia5, |
170 | qtdeclarative5-qtmultimedia-plugin | libqt5declarative5-qtmultimedia-plugin, |
171 | qtdeclarative5-qtquick2-plugin, |
172 | + qtdeclarative5-ubuntu-ui-toolkit-plugin, |
173 | qtdeclarative5-window-plugin, |
174 | + ${misc:Depends}, |
175 | + ${shlibs:Depends}, |
176 | Description: Camera application |
177 | An application to take pictures and videos with the device camera(s) |
178 | |
179 | Package: camera-app-autopilot |
180 | Architecture: all |
181 | -Depends: ${shlibs:Depends}, |
182 | - ${misc:Depends}, |
183 | - python-support (>= 0.90), |
184 | - camera-app (= ${source:Version}), |
185 | +Depends: camera-app (= ${source:Version}), |
186 | libautopilot-qt, |
187 | + libqt5test5, |
188 | libqt5widgets5, |
189 | - libqt5test5, |
190 | + python-support (>= 0.90), |
191 | + ${misc:Depends}, |
192 | + ${shlibs:Depends}, |
193 | Description: Test package for the camera app |
194 | Autopilot tests for the camera-app package |
195 | |
196 | === modified file 'debian/copyright' |
197 | --- debian/copyright 2013-02-07 13:14:01 +0000 |
198 | +++ debian/copyright 2013-04-17 07:50:34 +0000 |
199 | @@ -19,4 +19,3 @@ |
200 | . |
201 | On Debian systems, the full text of the GNU General Public License |
202 | version 3 can be found in the file /usr/share/common-licenses/GPL-3. |
203 | - |
204 | |
205 | === modified file 'debian/rules' |
206 | --- debian/rules 2013-02-07 15:43:22 +0000 |
207 | +++ debian/rules 2013-04-17 07:50:34 +0000 |
208 | @@ -3,10 +3,10 @@ |
209 | |
210 | # Uncomment this to turn on verbose mode. |
211 | #export DH_VERBOSE=1 |
212 | +export DPKG_GENSYMBOLS_CHECK_LEVEL=4 |
213 | |
214 | %: |
215 | dh $@ --parallel |
216 | |
217 | override_dh_install: |
218 | dh_install --fail-missing |
219 | - |
PASSED: Continuous integration, rev:109 s-jenkins: 8080/job/ camera- app-ci/ 10/ jenkins. qa.ubuntu. com/job/ camera- app-ci- builder/ ./build= panda-pbuilder, distribution= quantal, flavor= armhf/126/ console jenkins. qa.ubuntu. com/job/ camera- app-ci- builder/ ./build= pbuilder- master, distribution= quantal, flavor= i386/126/ console s-jenkins: 8080/job/ generic- mediumtests- runner/ 67/console
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ camera- app-ci/ 10/rebuild
http://