Merge lp:~saviq/unity8/split-common into lp:unity8

Proposed by Michał Sawicz
Status: Superseded
Proposed branch: lp:~saviq/unity8/split-common
Merge into: lp:unity8
Diff against target: 253 lines (+61/-31)
8 files modified
data/unity8.conf (+8/-0)
debian/changelog (+10/-0)
debian/control (+33/-21)
debian/unity8-common.install (+5/-0)
debian/unity8-fake-env.install (+1/-1)
debian/unity8-private.install (+1/-1)
debian/unity8.install (+1/-6)
tests/autopilot/unity8/shell/tests/test_upstart.py (+2/-2)
To merge this branch: bzr merge lp:~saviq/unity8/split-common
Reviewer Review Type Date Requested Status
Andrea Cimitan (community) Approve
PS Jenkins bot (community) continuous-integration Needs Fixing
Didier Roche-Tolomelli Approve
Review via email: mp+214907@code.launchpad.net

This proposal has been superseded by a proposal from 2014-04-29.

Commit message

Introduce unity8-common for shared resources, and wrap-and-sort.

Description of the change

 * Are there any related MPs required for this MP to build/function as expected? Please list.
No.

 * Did you perform an exploratory manual test run of your code change and any related functionality?
Yes.

 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
Yes.

 * If you changed the UI, has there been a design review?
N/A

To post a comment you must log in.
lp:~saviq/unity8/split-common updated
827. By Michał Sawicz

Fix thumbnailer dep and drop tool recommends.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:827
http://jenkins.qa.ubuntu.com/job/unity8-ci/2770/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-trusty-touch/125
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/4667/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1640
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/1291
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1295
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1295/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/1291
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-mako/121
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4252
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4252/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/5811
    FAILURE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/4022/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4794
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4794/artifact/work/output/*zip*/output.zip

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2770/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

your dependency on -common is wrong (I guess it should be the source version instead of the binary ones).

You can as well spot it with the lintian warning:
E: unity8 source: not-binnmuable-any-depends-all unity-scope-tool -> unity8-common
E: unity8 source: not-binnmuable-any-depends-all unity8 -> unity8-common

Other than that, the rest looks good.

review: Needs Fixing
lp:~saviq/unity8/split-common updated
828. By Michał Sawicz

Not binary, source version.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:828
http://jenkins.qa.ubuntu.com/job/unity8-ci/2773/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-trusty-touch/130
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/4678/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1643
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/1294
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1298
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1298/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/1294
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-mako/126
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4261
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4261/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/5823
    ABORTED: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/4033/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4805
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4805/artifact/work/output/*zip*/output.zip

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2773/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Andrea Cimitan (cimi) wrote :

Would be nice to have notifications too, for greeter and welcome wizard

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

-common needs to depends on misc. Once done, I can +1 it.

review: Needs Fixing
lp:~saviq/unity8/split-common updated
829. By Michał Sawicz

Add misc:Depends to unity8-common.

830. By Michał Sawicz

Add Notifications to common, too.

Revision history for this message
Michał Sawicz (saviq) wrote :

Done on both accounts.

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

+1 on the packaging change

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:830
http://jenkins.qa.ubuntu.com/job/unity8-ci/2804/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-trusty-touch/219
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/4809/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1668
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/1325
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1329
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1329/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/1325
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-mako/207
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4386
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4386/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/5987
    FAILURE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/4155/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4941
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4941/artifact/work/output/*zip*/output.zip

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2804/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Andrea Cimitan (cimi) wrote :

 * Did you perform an exploratory manual test run of the code change and any related functionality?
Yes
 * Did CI run pass? If not, please explain why.
Let's wait for a retrigger

Revision history for this message
Andrea Cimitan (cimi) :
review: Approve
lp:~saviq/unity8/split-common updated
831. By Michał Sawicz

Merge trunk

832. By Michał Sawicz

Merge lp:~cimi/unity8/unity8.upstart_unity-mir_variables

833. By Michał Sawicz

Ensure removal of unity8-common on unity8 downgrade.

834. By Michał Sawicz

Make autopilot rely on exact same version of unity8 and -fake-env.

835. By Michał Sawicz

Wrap-and-sort.

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/unity8.conf'
2--- data/unity8.conf 2014-04-09 13:22:43 +0000
3+++ data/unity8.conf 2014-04-29 12:28:36 +0000
4@@ -12,6 +12,9 @@
5 expect stop
6
7 pre-start script
8+ # Tell unity-mir to raise SIGSTOP after we start
9+ initctl set-env UNITY_MIR_EMITS_SIGSTOP=1
10+
11 if [ -n "$MIR_SOCKET" ]; then
12 if [ -z "$UNITY_MIR_SOCKET" ]; then
13 # Save original value of MIR_SOCKET in case we are restarted,
14@@ -46,3 +49,8 @@
15 end script
16
17 exec ${BINARY:-unity8} $ARGS
18+
19+post-stop script
20+ initctl set-env --global MIR_SOCKET=$UNITY_MIR_SOCKET
21+ initctl unset-env --global UNITY_MIR_SOCKET
22+end script
23
24=== modified file 'debian/changelog'
25--- debian/changelog 2014-04-16 13:45:01 +0000
26+++ debian/changelog 2014-04-29 12:28:36 +0000
27@@ -1,3 +1,13 @@
28+unity8 (7.86-0ubuntu1) UNRELEASED; urgency=medium
29+
30+ [ Andrea Cimitan ]
31+ * Update upstart job to reflect latest unity-mir changes
32+
33+ [ Michał Sawicz ]
34+ * Split out unity8-common package
35+
36+ -- Andrea Cimitan <andrea.cimitan@gmail.com> Tue, 29 Apr 2014 09:13:06 +0100
37+
38 unity8 (7.85+14.04.20140416-0ubuntu1) trusty; urgency=low
39
40 [ Albert Astals ]
41
42=== modified file 'debian/control'
43--- debian/control 2014-04-09 14:51:09 +0000
44+++ debian/control 2014-04-29 12:28:36 +0000
45@@ -11,34 +11,34 @@
46 libgl1-mesa-dev[!armhf] | libgl-dev[!armhf],
47 libgl1-mesa-dri,
48 libgles2-mesa-dev[armhf],
49+ libglib2.0-dev,
50 libgsettings-qt-dev,
51 libhud-client2-dev,
52 libpulse-dev,
53 libqmenumodel-dev (>= 0.2.7),
54+ libqt5xmlpatterns5-dev,
55 libunity-api-dev (>= 7.80.6),
56 libunity-mir-dev,
57 libusermetricsoutput1-dev,
58 libxcb1-dev,
59- libglib2.0-dev,
60 pkg-config,
61- python:any (>= 2.7),
62 python-setuptools,
63 python3-all:any,
64 python3-setuptools,
65+ python:any (>= 2.7),
66 qt5-default,
67 qtbase5-dev,
68 qtbase5-dev-tools,
69 qtbase5-private-dev,
70 qtdeclarative5-dev,
71 qtdeclarative5-dev-tools,
72+ qtdeclarative5-private-dev,
73 qtdeclarative5-qtmultimedia-plugin,
74- qtdeclarative5-private-dev,
75 qtdeclarative5-qtquick2-plugin,
76 qtdeclarative5-test-plugin,
77 qtdeclarative5-ubuntu-settings-components,
78 qtdeclarative5-ubuntu-ui-toolkit-plugin,
79 qtdeclarative5-xmllistmodel-plugin,
80- libqt5xmlpatterns5-dev,
81 ttf-ubuntu-font-family,
82 Standards-Version: 3.9.4
83 Homepage: http://launchpad.net/unity
84@@ -60,7 +60,8 @@
85
86 Package: unity-scope-tool
87 Architecture: any
88-Depends: unity8 (= ${binary:Version}),
89+Depends: unity8-common (= ${source:Version}),
90+ unity8-private (= ${binary:Version}),
91 ${misc:Depends},
92 ${shlibs:Depends},
93 Description: Development tool for Unity scopes
94@@ -71,27 +72,18 @@
95 Architecture: any
96 Provides: indicator-renderer,
97 Depends: gsettings-desktop-schemas,
98+ libcap2-bin,
99 libglib2.0-bin,
100- libunity-mir1,
101+ libunity-mir1 (>= 0.4),
102 qmenumodel-qml (>= 0.2.7),
103 qtdeclarative5-dee-plugin,
104 qtdeclarative5-gsettings1.0,
105 qtdeclarative5-ubuntu-settings-components,
106- qtdeclarative5-ubuntu-thumbnailer0.1 | ubuntu-thumbnailer-impl,
107- ubuntu-thumbnailer-impl-0,
108- qtdeclarative5-ubuntu-ui-toolkit-plugin,
109- qtdeclarative5-unity-notifications-plugin | unity-notifications-impl,
110 qtdeclarative5-xmllistmodel-plugin,
111- unity-application-impl-2,
112 unity-launcher-impl-3,
113- unity-notifications-impl-2,
114- unity8-fake-env | unity-application-impl,
115+ unity8-common (= ${source:Version}),
116 unity8-private (= ${binary:Version}),
117 unity8-private | unity-launcher-impl,
118- unity-plugin-scopes | unity-scopes-impl,
119- unity-scopes-impl-0,
120-# for setcap:
121- libcap2-bin,
122 ${misc:Depends},
123 ${shlibs:Depends},
124 Recommends: unity-scope-click,
125@@ -99,10 +91,30 @@
126 unity-scope-scopes,
127 Breaks: indicator-network (<< 0.5.1),
128 ubuntu-touch-session (<< 0.107),
129-Replaces: ubuntu-touch-session (<< 0.82~)
130+Replaces: ubuntu-touch-session (<< 0.82~),
131 Description: Unity 8 shell
132 The Unity 8 shell is the primary user interface for Ubuntu devices.
133
134+Package: unity8-common
135+Architecture: all
136+Depends: qtdeclarative5-ubuntu-thumbnailer0.1 | ubuntu-thumbnailer-impl,
137+ qtdeclarative5-ubuntu-ui-toolkit-plugin,
138+ qtdeclarative5-unity-notifications-plugin | unity-notifications-impl,
139+ ubuntu-thumbnailer-impl-0,
140+ unity-application-impl-2,
141+ unity-notifications-impl-2,
142+ unity-plugin-scopes | unity-scopes-impl,
143+ unity-scopes-impl-0,
144+ unity8-fake-env | unity-application-impl,
145+ ${misc:Depends},
146+Breaks: unity8 (<< 7.86)
147+Replaces: unity8 (<< 7.86)
148+Description: Unity 8 shell (common files)
149+ The Unity 8 shell is the primary user interface for Ubuntu devices.
150+ .
151+ This package contains the QML, graphics and locale files shared between
152+ unity8 and unity-scope-tool.
153+
154 Package: unity8-autopilot
155 Architecture: all
156 Depends: gir1.2-glib-2.0,
157@@ -123,8 +135,8 @@
158 unity8-fake-env (>= ${source:Version}),
159 url-dispatcher-tools,
160 ${misc:Depends},
161+ ${python3:Depends},
162 ${python:Depends},
163- ${python3:Depends},
164 ${shlibs:Depends},
165 Description: Test package for Unity 8 shell
166 Autopilot tests for the unity8 package
167@@ -146,9 +158,9 @@
168 Multi-Arch: same
169 Pre-Depends: ${misc:Pre-Depends},
170 Depends: gsettings-ubuntu-schemas,
171- ${misc:Depends},
172- ${shlibs:Depends},
173 libunity-core-6.0-9,
174+ ${misc:Depends},
175+ ${shlibs:Depends},
176 Provides: unity-launcher-impl,
177 unity-launcher-impl-3,
178 Description: Unity 8 private libs
179
180=== added file 'debian/unity8-common.install'
181--- debian/unity8-common.install 1970-01-01 00:00:00 +0000
182+++ debian/unity8-common.install 2014-04-29 12:28:36 +0000
183@@ -0,0 +1,5 @@
184+usr/share/locale
185+usr/share/unity8/Components
186+usr/share/unity8/Dash
187+usr/share/unity8/Notifications
188+usr/share/unity8/graphics
189
190=== modified file 'debian/unity8-fake-env.install'
191--- debian/unity8-fake-env.install 2014-04-02 11:32:41 +0000
192+++ debian/unity8-fake-env.install 2014-04-29 12:28:36 +0000
193@@ -1,4 +1,4 @@
194+usr/lib/*/unity8/qml/mocks
195 usr/lib/*/unity8/qml/nonmirplugins
196-usr/lib/*/unity8/qml/mocks
197 usr/lib/*/unity8/qml/scopefakes
198 usr/share/unity8/mocks
199
200=== modified file 'debian/unity8-private.install'
201--- debian/unity8-private.install 2013-12-12 16:45:35 +0000
202+++ debian/unity8-private.install 2014-04-29 12:28:36 +0000
203@@ -1,7 +1,7 @@
204 usr/lib/*/unity8/qml/AccountsService
205+usr/lib/*/unity8/qml/DashViews
206 usr/lib/*/unity8/qml/HudClient
207 usr/lib/*/unity8/qml/LightDM
208-usr/lib/*/unity8/qml/DashViews
209 usr/lib/*/unity8/qml/Powerd
210 usr/lib/*/unity8/qml/SessionBroadcast
211 usr/lib/*/unity8/qml/Ubuntu
212
213=== modified file 'debian/unity8.install'
214--- debian/unity8.install 2014-04-10 10:02:31 +0000
215+++ debian/unity8.install 2014-04-29 12:28:36 +0000
216@@ -1,15 +1,10 @@
217+data/unity8.conf usr/share/upstart/sessions/
218 usr/bin/unity8
219 usr/share/applications/unity8.desktop
220-usr/share/locale
221 usr/share/unity8/Bottombar
222-usr/share/unity8/Components
223-usr/share/unity8/Dash
224 usr/share/unity8/Greeter
225 usr/share/unity8/Hud
226 usr/share/unity8/Launcher
227-usr/share/unity8/Notifications
228 usr/share/unity8/Panel
229 usr/share/unity8/Shell.qml
230 usr/share/unity8/Stages
231-usr/share/unity8/graphics
232-data/unity8.conf usr/share/upstart/sessions/
233
234=== modified file 'tests/autopilot/unity8/shell/tests/test_upstart.py'
235--- tests/autopilot/unity8/shell/tests/test_upstart.py 2014-02-23 02:42:31 +0000
236+++ tests/autopilot/unity8/shell/tests/test_upstart.py 2014-04-29 12:28:36 +0000
237@@ -82,7 +82,7 @@
238 ))
239
240 def test_no_sigstop(self):
241- self.patch_environment("UPSTART_JOB", "foo")
242+ self.patch_environment("UNITY_MIR_EMITS_SIGSTOP", "")
243 self._launch_unity()
244 self._set_proxy()
245
246@@ -91,7 +91,7 @@
247 logger.debug("Unity loaded and ready.")
248
249 def test_expect_sigstop(self):
250- self.patch_environment("UPSTART_JOB", "unity8")
251+ self.patch_environment("UNITY_MIR_EMITS_SIGSTOP", "1")
252 self._launch_unity()
253 self.assertThat(lambda: os.WIFSTOPPED(self._get_status()), Eventually(Equals(True)), "Unity8 should raise SIGSTOP when ready")
254

Subscribers

People subscribed via source and target branches