Merge lp:~ted/gnome-session/upstart-unity into lp:~ubuntu-desktop/gnome-session/ubuntu

Proposed by Ted Gould
Status: Rejected
Rejected by: Jeremy Bícha
Proposed branch: lp:~ted/gnome-session/upstart-unity
Merge into: lp:~ubuntu-desktop/gnome-session/ubuntu
Diff against target: 41 lines (+10/-2)
3 files modified
debian/changelog (+8/-0)
debian/patches/50_ubuntu_sessions.patch (+1/-1)
debian/patches/52_xdg_current_desktop.patch (+1/-1)
To merge this branch: bzr merge lp:~ted/gnome-session/upstart-unity
Reviewer Review Type Date Requested Status
Jeremy Bícha Disapprove
Sebastien Bacher Needs Fixing
Review via email: mp+172664@code.launchpad.net

Description of the change

Makes it so that Upstart is used to start Unity and GNOME Settings Daemon instead of having GNOME Session do it. The Unity Upstart jobs have been tested by several people for a while and seem stable. It seems like a good time to transition over to using them by default.

To post a comment you must log in.
Revision history for this message
James Hunt (jamesodhunt) wrote :

LGTM.

Revision history for this message
Stéphane Graber (stgraber) wrote :

That's fine, though you should probably clearly state that from this point on, it won't be possible to start a Unity session without upstart user sessions.

Also a quick note (unrelated to this diff), please don't remove the gnome-settings-daemon.desktop override file in upstart as even though it won't be needed for Unity anymore, it'll still be used by all the other sessions using gnome-session.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Ted, I tried but it leads to visual regression on login (I see a white background then some fading in of the background, it's visually unpleasant)

gnome-session ensure that the settings (theme, etc) are set early and roll important services first, maybe we need to order the start as well ...

is anyone else seeing such glitches with that patch?

review: Needs Fixing
Revision history for this message
Ted Gould (ted) wrote :

I'm seeing a slight flash, but I think it's Nautilus starting.
Currently the Unity job is set to wait until g-s-d is started. Do you
think there's anything else we should wait on?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Not sure what's the issue, but that doesn't happen when gnome-session start those services ...

Revision history for this message
Jeremy Bícha (jbicha) wrote :

upstart has been removed from Ubuntu 17.10 so I'm closing this merge proposal.

review: Disapprove

Unmerged revisions

283. By Ted Gould

* debian/patches/50_ubuntu_sessions.patch:
  - Let upstart start Compiz and GNOME Settings Daemon instead of having
    GNOME Session do it.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-06-25 15:09:48 +0000
3+++ debian/changelog 2013-07-02 20:34:43 +0000
4@@ -1,3 +1,11 @@
5+gnome-session (3.8.2.1-1ubuntu5) UNRELEASED; urgency=low
6+
7+ * debian/patches/50_ubuntu_sessions.patch:
8+ - Let upstart start Compiz and GNOME Settings Daemon instead of having
9+ GNOME Session do it.
10+
11+ -- Ted Gould <ted@ubuntu.com> Tue, 02 Jul 2013 15:19:03 -0500
12+
13 gnome-session (3.8.2.1-1ubuntu4) saucy; urgency=low
14
15 * debian/patches/22_support_autostart_delay.patch:
16
17=== modified file 'debian/patches/50_ubuntu_sessions.patch'
18--- debian/patches/50_ubuntu_sessions.patch 2013-06-08 23:25:03 +0000
19+++ debian/patches/50_ubuntu_sessions.patch 2013-07-02 20:34:43 +0000
20@@ -47,7 +47,7 @@
21 @@ -0,0 +1,3 @@
22 +[GNOME Session]
23 +_Name=Ubuntu
24-+RequiredComponents=gnome-settings-daemon;compiz;
25++RequiredComponents=
26 Index: gnome-session-3.7.4/data/ubuntu.desktop.in
27 ===================================================================
28 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
29
30=== modified file 'debian/patches/52_xdg_current_desktop.patch'
31--- debian/patches/52_xdg_current_desktop.patch 2013-06-08 23:25:03 +0000
32+++ debian/patches/52_xdg_current_desktop.patch 2013-07-02 20:34:43 +0000
33@@ -5,7 +5,7 @@
34 @@ -1,3 +1,4 @@
35 [GNOME Session]
36 _Name=Ubuntu
37- RequiredComponents=gnome-settings-daemon;compiz;
38+ RequiredComponents=
39 +DesktopName=Unity
40 Index: gnome-session-3.7.4/gnome-session/gsm-session-fill.c
41 ===================================================================

Subscribers

People subscribed via source and target branches

to all changes: