Merge lp:~robru/camera-app/packaging into lp:camera-app

Proposed by Robert Bruce Park
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
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.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
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?

review: Needs Fixing
lp:~robru/camera-app/packaging updated
110. By Robert Bruce Park

Add missing split mode.

Revision history for this message
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.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
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

review: Needs Information
lp:~robru/camera-app/packaging updated
111. By Robert Bruce Park

Lintian fixups.

112. By Robert Bruce Park

Lintian can get stuffed.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Robert Bruce Park (robru) wrote :

"FAILED: SUCCESS, SUCCESS, SUCCESS, SUCCESS"

I see.

Revision history for this message
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::statusChanged(QDeclarativeView::Status) in /home/robru/Applications/didrocks/build-area/camera-app-2.7/cameraapplication.cpp:67
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.
applicationIdentifier set and we have a toplevel window. Registering.
Creating publisher with XID 81788935
adding actions
context.cpp:static void Ubuntu::HUD::QML::Context::append(QQmlListProperty<Ubuntu::HUD::QML::Action>*, Ubuntu::HUD::QML::Action*)
context.cpp:static void Ubuntu::HUD::QML::Context::append(QQmlListProperty<Ubuntu::HUD::QML::Action>*, Ubuntu::HUD::QML::Action*)
context.cpp:static void Ubuntu::HUD::QML::Context::append(QQmlListProperty<Ubuntu::HUD::QML::Action>*, Ubuntu::HUD::QML::Action*)
context.cpp:static void Ubuntu::HUD::QML::Context::append(QQmlListProperty<Ubuntu::HUD::QML::Action>*, Ubuntu::HUD::QML::Action*)
context.cpp:static void Ubuntu::HUD::QML::Context::append(QQmlListProperty<Ubuntu::HUD::QML::Action>*, Ubuntu::HUD::QML::Action*)
QMetaType::registerType: Binary compatibility break -- Type flags for type 'QPaintBufferCacheEntry' [1024] don't match. Previously registered TypeFlags(0x103), now registering TypeFlags(0x3).
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?

Revision history for this message
Ken VanDine (ken-vandine) wrote :

You also need change the build depends from qt-components-ubuntu to qtdeclarative5-ubuntu-ui-toolkit-plugin. Or even add an | there:

    qtdeclarative5-ubuntu-ui-toolkit-plugin | qt-components-ubuntu,

review: Needs Fixing
lp:~robru/camera-app/packaging updated
113. By Robert Bruce Park

Package name was changed.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
lp:~robru/camera-app/packaging updated
114. By Robert Bruce Park

Rebase on trunk.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
lp:~robru/camera-app/packaging updated
115. By Robert Bruce Park

Merge trunk.

116. By Robert Bruce Park

Fix changelog.

Revision history for this message
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::statusChanged(QDeclarativeView::Status) in /home/robru/src/dr/build-area/camera-app-2.9.1/cameraapplication.cpp:73
register types Ubuntu.HUD
initialize engine Ubuntu.HUD
file:///usr/share/camera-app/camera-app.qml:19:1: module "Ubuntu.HUD" version 0.1 is not installed
     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?

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
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.

Revision history for this message
Ł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://s-jenkins:8080/job/camera-app-ci/18/

It seems that all the autopilot tests fail due to some problems.

process-stderr: {{{
Loading testability driver.
QObject::connect: No such signal QQuickView::statusChanged(QDeclarativeView::Status) in /tmp/buildd/camera-app-2.9.1+autopilot0/cameraapplication.cpp:73
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:///usr/share/camera-app/camera-app.qml:18:1: module "Ubuntu.Components" is not installed
     import Ubuntu.Components 0.1
     ^
QDBusConnection: name 'org.a11y.atspi.Registry' had owner '' but we thought it was ':1.1'
}}}

Seems like a problem in the source or dependencies?

Revision history for this message
Robert Bruce Park (robru) wrote :

That does look like a dependency issue. Does anybody know what package provides Ubuntu.Components? Didier?

Revision history for this message
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!

Revision history for this message
Günter Schwann (schwann) wrote :

151 + qtdeclarative5-ubuntu-ui-toolkit-plugin,

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 + libqt5declarative5-qtmultimedia-plugin,

This seems to be wrong, as two lines below, it's already installed (using the new or old name).

review: Needs Fixing
lp:~robru/camera-app/packaging updated
117. By Robert Bruce Park

Fix deps as per gusch.

118. By Robert Bruce Park

Remove extra dep.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
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.

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

For me, qtdeclarative5-ubuntu-ui-toolkit-plugin had to be in build-deps in addition to be in deps, as in the chroot environment to perform tests, only build-deps components are installed.

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?

Revision history for this message
Günter Schwann (schwann) wrote :

Oh Didier you are right. The qtdeclarative5-ubuntu-ui-toolkit-plugin is needed in the build dependencies. They are used there in the QML unit tests.
So I'd include qtdeclarative5-ubuntu-ui-toolkit-plugin in the dependencies _and_ the build dependencies.

lp:~robru/camera-app/packaging updated
119. By Robert Bruce Park

One more try...

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

everything is now passing! Let's approve it :)

review: Approve
Revision history for this message
Robert Bruce Park (robru) wrote :

Ok but it's still not running for me locally... quite strange.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
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-

Subscribers

People subscribed via source and target branches