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
=== modified file 'data/unity8.conf'
--- data/unity8.conf 2014-04-09 13:22:43 +0000
+++ data/unity8.conf 2014-04-29 12:28:36 +0000
@@ -12,6 +12,9 @@
12expect stop12expect stop
1313
14pre-start script14pre-start script
15 # Tell unity-mir to raise SIGSTOP after we start
16 initctl set-env UNITY_MIR_EMITS_SIGSTOP=1
17
15 if [ -n "$MIR_SOCKET" ]; then18 if [ -n "$MIR_SOCKET" ]; then
16 if [ -z "$UNITY_MIR_SOCKET" ]; then19 if [ -z "$UNITY_MIR_SOCKET" ]; then
17 # Save original value of MIR_SOCKET in case we are restarted,20 # Save original value of MIR_SOCKET in case we are restarted,
@@ -46,3 +49,8 @@
46end script49end script
4750
48exec ${BINARY:-unity8} $ARGS51exec ${BINARY:-unity8} $ARGS
52
53post-stop script
54 initctl set-env --global MIR_SOCKET=$UNITY_MIR_SOCKET
55 initctl unset-env --global UNITY_MIR_SOCKET
56end script
4957
=== modified file 'debian/changelog'
--- debian/changelog 2014-04-16 13:45:01 +0000
+++ debian/changelog 2014-04-29 12:28:36 +0000
@@ -1,3 +1,13 @@
1unity8 (7.86-0ubuntu1) UNRELEASED; urgency=medium
2
3 [ Andrea Cimitan ]
4 * Update upstart job to reflect latest unity-mir changes
5
6 [ Michał Sawicz ]
7 * Split out unity8-common package
8
9 -- Andrea Cimitan <andrea.cimitan@gmail.com> Tue, 29 Apr 2014 09:13:06 +0100
10
1unity8 (7.85+14.04.20140416-0ubuntu1) trusty; urgency=low11unity8 (7.85+14.04.20140416-0ubuntu1) trusty; urgency=low
212
3 [ Albert Astals ]13 [ Albert Astals ]
414
=== modified file 'debian/control'
--- debian/control 2014-04-09 14:51:09 +0000
+++ debian/control 2014-04-29 12:28:36 +0000
@@ -11,34 +11,34 @@
11 libgl1-mesa-dev[!armhf] | libgl-dev[!armhf],11 libgl1-mesa-dev[!armhf] | libgl-dev[!armhf],
12 libgl1-mesa-dri,12 libgl1-mesa-dri,
13 libgles2-mesa-dev[armhf],13 libgles2-mesa-dev[armhf],
14 libglib2.0-dev,
14 libgsettings-qt-dev,15 libgsettings-qt-dev,
15 libhud-client2-dev,16 libhud-client2-dev,
16 libpulse-dev,17 libpulse-dev,
17 libqmenumodel-dev (>= 0.2.7),18 libqmenumodel-dev (>= 0.2.7),
19 libqt5xmlpatterns5-dev,
18 libunity-api-dev (>= 7.80.6),20 libunity-api-dev (>= 7.80.6),
19 libunity-mir-dev,21 libunity-mir-dev,
20 libusermetricsoutput1-dev,22 libusermetricsoutput1-dev,
21 libxcb1-dev,23 libxcb1-dev,
22 libglib2.0-dev,
23 pkg-config,24 pkg-config,
24 python:any (>= 2.7),
25 python-setuptools,25 python-setuptools,
26 python3-all:any,26 python3-all:any,
27 python3-setuptools,27 python3-setuptools,
28 python:any (>= 2.7),
28 qt5-default,29 qt5-default,
29 qtbase5-dev,30 qtbase5-dev,
30 qtbase5-dev-tools,31 qtbase5-dev-tools,
31 qtbase5-private-dev,32 qtbase5-private-dev,
32 qtdeclarative5-dev,33 qtdeclarative5-dev,
33 qtdeclarative5-dev-tools,34 qtdeclarative5-dev-tools,
35 qtdeclarative5-private-dev,
34 qtdeclarative5-qtmultimedia-plugin,36 qtdeclarative5-qtmultimedia-plugin,
35 qtdeclarative5-private-dev,
36 qtdeclarative5-qtquick2-plugin,37 qtdeclarative5-qtquick2-plugin,
37 qtdeclarative5-test-plugin,38 qtdeclarative5-test-plugin,
38 qtdeclarative5-ubuntu-settings-components,39 qtdeclarative5-ubuntu-settings-components,
39 qtdeclarative5-ubuntu-ui-toolkit-plugin,40 qtdeclarative5-ubuntu-ui-toolkit-plugin,
40 qtdeclarative5-xmllistmodel-plugin,41 qtdeclarative5-xmllistmodel-plugin,
41 libqt5xmlpatterns5-dev,
42 ttf-ubuntu-font-family,42 ttf-ubuntu-font-family,
43Standards-Version: 3.9.443Standards-Version: 3.9.4
44Homepage: http://launchpad.net/unity44Homepage: http://launchpad.net/unity
@@ -60,7 +60,8 @@
6060
61Package: unity-scope-tool61Package: unity-scope-tool
62Architecture: any62Architecture: any
63Depends: unity8 (= ${binary:Version}),63Depends: unity8-common (= ${source:Version}),
64 unity8-private (= ${binary:Version}),
64 ${misc:Depends},65 ${misc:Depends},
65 ${shlibs:Depends},66 ${shlibs:Depends},
66Description: Development tool for Unity scopes67Description: Development tool for Unity scopes
@@ -71,27 +72,18 @@
71Architecture: any72Architecture: any
72Provides: indicator-renderer,73Provides: indicator-renderer,
73Depends: gsettings-desktop-schemas,74Depends: gsettings-desktop-schemas,
75 libcap2-bin,
74 libglib2.0-bin,76 libglib2.0-bin,
75 libunity-mir1,77 libunity-mir1 (>= 0.4),
76 qmenumodel-qml (>= 0.2.7),78 qmenumodel-qml (>= 0.2.7),
77 qtdeclarative5-dee-plugin,79 qtdeclarative5-dee-plugin,
78 qtdeclarative5-gsettings1.0,80 qtdeclarative5-gsettings1.0,
79 qtdeclarative5-ubuntu-settings-components,81 qtdeclarative5-ubuntu-settings-components,
80 qtdeclarative5-ubuntu-thumbnailer0.1 | ubuntu-thumbnailer-impl,
81 ubuntu-thumbnailer-impl-0,
82 qtdeclarative5-ubuntu-ui-toolkit-plugin,
83 qtdeclarative5-unity-notifications-plugin | unity-notifications-impl,
84 qtdeclarative5-xmllistmodel-plugin,82 qtdeclarative5-xmllistmodel-plugin,
85 unity-application-impl-2,
86 unity-launcher-impl-3,83 unity-launcher-impl-3,
87 unity-notifications-impl-2,84 unity8-common (= ${source:Version}),
88 unity8-fake-env | unity-application-impl,
89 unity8-private (= ${binary:Version}),85 unity8-private (= ${binary:Version}),
90 unity8-private | unity-launcher-impl,86 unity8-private | unity-launcher-impl,
91 unity-plugin-scopes | unity-scopes-impl,
92 unity-scopes-impl-0,
93# for setcap:
94 libcap2-bin,
95 ${misc:Depends},87 ${misc:Depends},
96 ${shlibs:Depends},88 ${shlibs:Depends},
97Recommends: unity-scope-click,89Recommends: unity-scope-click,
@@ -99,10 +91,30 @@
99 unity-scope-scopes,91 unity-scope-scopes,
100Breaks: indicator-network (<< 0.5.1),92Breaks: indicator-network (<< 0.5.1),
101 ubuntu-touch-session (<< 0.107),93 ubuntu-touch-session (<< 0.107),
102Replaces: ubuntu-touch-session (<< 0.82~)94Replaces: ubuntu-touch-session (<< 0.82~),
103Description: Unity 8 shell95Description: Unity 8 shell
104 The Unity 8 shell is the primary user interface for Ubuntu devices.96 The Unity 8 shell is the primary user interface for Ubuntu devices.
10597
98Package: unity8-common
99Architecture: all
100Depends: qtdeclarative5-ubuntu-thumbnailer0.1 | ubuntu-thumbnailer-impl,
101 qtdeclarative5-ubuntu-ui-toolkit-plugin,
102 qtdeclarative5-unity-notifications-plugin | unity-notifications-impl,
103 ubuntu-thumbnailer-impl-0,
104 unity-application-impl-2,
105 unity-notifications-impl-2,
106 unity-plugin-scopes | unity-scopes-impl,
107 unity-scopes-impl-0,
108 unity8-fake-env | unity-application-impl,
109 ${misc:Depends},
110Breaks: unity8 (<< 7.86)
111Replaces: unity8 (<< 7.86)
112Description: Unity 8 shell (common files)
113 The Unity 8 shell is the primary user interface for Ubuntu devices.
114 .
115 This package contains the QML, graphics and locale files shared between
116 unity8 and unity-scope-tool.
117
106Package: unity8-autopilot118Package: unity8-autopilot
107Architecture: all119Architecture: all
108Depends: gir1.2-glib-2.0,120Depends: gir1.2-glib-2.0,
@@ -123,8 +135,8 @@
123 unity8-fake-env (>= ${source:Version}),135 unity8-fake-env (>= ${source:Version}),
124 url-dispatcher-tools,136 url-dispatcher-tools,
125 ${misc:Depends},137 ${misc:Depends},
138 ${python3:Depends},
126 ${python:Depends},139 ${python:Depends},
127 ${python3:Depends},
128 ${shlibs:Depends},140 ${shlibs:Depends},
129Description: Test package for Unity 8 shell141Description: Test package for Unity 8 shell
130 Autopilot tests for the unity8 package142 Autopilot tests for the unity8 package
@@ -146,9 +158,9 @@
146Multi-Arch: same158Multi-Arch: same
147Pre-Depends: ${misc:Pre-Depends},159Pre-Depends: ${misc:Pre-Depends},
148Depends: gsettings-ubuntu-schemas,160Depends: gsettings-ubuntu-schemas,
149 ${misc:Depends},
150 ${shlibs:Depends},
151 libunity-core-6.0-9,161 libunity-core-6.0-9,
162 ${misc:Depends},
163 ${shlibs:Depends},
152Provides: unity-launcher-impl,164Provides: unity-launcher-impl,
153 unity-launcher-impl-3,165 unity-launcher-impl-3,
154Description: Unity 8 private libs166Description: Unity 8 private libs
155167
=== added file 'debian/unity8-common.install'
--- debian/unity8-common.install 1970-01-01 00:00:00 +0000
+++ debian/unity8-common.install 2014-04-29 12:28:36 +0000
@@ -0,0 +1,5 @@
1usr/share/locale
2usr/share/unity8/Components
3usr/share/unity8/Dash
4usr/share/unity8/Notifications
5usr/share/unity8/graphics
06
=== modified file 'debian/unity8-fake-env.install'
--- debian/unity8-fake-env.install 2014-04-02 11:32:41 +0000
+++ debian/unity8-fake-env.install 2014-04-29 12:28:36 +0000
@@ -1,4 +1,4 @@
1usr/lib/*/unity8/qml/mocks
1usr/lib/*/unity8/qml/nonmirplugins2usr/lib/*/unity8/qml/nonmirplugins
2usr/lib/*/unity8/qml/mocks
3usr/lib/*/unity8/qml/scopefakes3usr/lib/*/unity8/qml/scopefakes
4usr/share/unity8/mocks4usr/share/unity8/mocks
55
=== modified file 'debian/unity8-private.install'
--- debian/unity8-private.install 2013-12-12 16:45:35 +0000
+++ debian/unity8-private.install 2014-04-29 12:28:36 +0000
@@ -1,7 +1,7 @@
1usr/lib/*/unity8/qml/AccountsService1usr/lib/*/unity8/qml/AccountsService
2usr/lib/*/unity8/qml/DashViews
2usr/lib/*/unity8/qml/HudClient3usr/lib/*/unity8/qml/HudClient
3usr/lib/*/unity8/qml/LightDM4usr/lib/*/unity8/qml/LightDM
4usr/lib/*/unity8/qml/DashViews
5usr/lib/*/unity8/qml/Powerd5usr/lib/*/unity8/qml/Powerd
6usr/lib/*/unity8/qml/SessionBroadcast6usr/lib/*/unity8/qml/SessionBroadcast
7usr/lib/*/unity8/qml/Ubuntu7usr/lib/*/unity8/qml/Ubuntu
88
=== modified file 'debian/unity8.install'
--- debian/unity8.install 2014-04-10 10:02:31 +0000
+++ debian/unity8.install 2014-04-29 12:28:36 +0000
@@ -1,15 +1,10 @@
1data/unity8.conf usr/share/upstart/sessions/
1usr/bin/unity82usr/bin/unity8
2usr/share/applications/unity8.desktop3usr/share/applications/unity8.desktop
3usr/share/locale
4usr/share/unity8/Bottombar4usr/share/unity8/Bottombar
5usr/share/unity8/Components
6usr/share/unity8/Dash
7usr/share/unity8/Greeter5usr/share/unity8/Greeter
8usr/share/unity8/Hud6usr/share/unity8/Hud
9usr/share/unity8/Launcher7usr/share/unity8/Launcher
10usr/share/unity8/Notifications
11usr/share/unity8/Panel8usr/share/unity8/Panel
12usr/share/unity8/Shell.qml9usr/share/unity8/Shell.qml
13usr/share/unity8/Stages10usr/share/unity8/Stages
14usr/share/unity8/graphics
15data/unity8.conf usr/share/upstart/sessions/
1611
=== modified file 'tests/autopilot/unity8/shell/tests/test_upstart.py'
--- tests/autopilot/unity8/shell/tests/test_upstart.py 2014-02-23 02:42:31 +0000
+++ tests/autopilot/unity8/shell/tests/test_upstart.py 2014-04-29 12:28:36 +0000
@@ -82,7 +82,7 @@
82 ))82 ))
8383
84 def test_no_sigstop(self):84 def test_no_sigstop(self):
85 self.patch_environment("UPSTART_JOB", "foo")85 self.patch_environment("UNITY_MIR_EMITS_SIGSTOP", "")
86 self._launch_unity()86 self._launch_unity()
87 self._set_proxy()87 self._set_proxy()
8888
@@ -91,7 +91,7 @@
91 logger.debug("Unity loaded and ready.")91 logger.debug("Unity loaded and ready.")
9292
93 def test_expect_sigstop(self):93 def test_expect_sigstop(self):
94 self.patch_environment("UPSTART_JOB", "unity8")94 self.patch_environment("UNITY_MIR_EMITS_SIGSTOP", "1")
95 self._launch_unity()95 self._launch_unity()
96 self.assertThat(lambda: os.WIFSTOPPED(self._get_status()), Eventually(Equals(True)), "Unity8 should raise SIGSTOP when ready")96 self.assertThat(lambda: os.WIFSTOPPED(self._get_status()), Eventually(Equals(True)), "Unity8 should raise SIGSTOP when ready")
9797

Subscribers

People subscribed via source and target branches