Merge lp:~seb128/ubiquity/new-gsd-binaries into lp:ubiquity

Proposed by Sebastien Bacher on 2017-07-18
Status: Merged
Approved by: Mathieu Trudel-Lapierre on 2017-07-25
Approved revision: 6540
Merged at revision: 6546
Proposed branch: lp:~seb128/ubiquity/new-gsd-binaries
Merge into: lp:ubiquity
Diff against target: 49 lines (+19/-5)
2 files modified
bin/ubiquity-dm (+13/-5)
debian/changelog (+6/-0)
To merge this branch: bzr merge lp:~seb128/ubiquity/new-gsd-binaries
Reviewer Review Type Date Requested Status
Iain Lane 2017-07-18 Approve on 2017-07-27
Mathieu Trudel-Lapierre 2017-07-18 Approve on 2017-07-25
Didier Roche (community) Approve on 2017-07-25
Jeremy Bicha 2017-07-18 Pending
Review via email: mp+327611@code.launchpad.net

Commit Message

Update ubiquity-dm for the new gnome-settings-daemon (lp: #1702892)

Description of the Change

Update ubiquity-dm for the new gnome-settings-daemon (lp: #1702892)

The list of binaries is something that could be argued over, some are not very useful but could be used in some cases...

To post a comment you must log in.
Didier Roche (didrocks) wrote :

LGTM, I think the list makes sense (at least, I wouldn't remove any binaries from it) without looking if more is needed.

Didn't spot anything bad python-side wide.

review: Approve
Iain Lane (laney) wrote :

Looks good, just one comment inline that you might or might not want to do. (I'm not a reviewer though).

review: Approve
Mathieu Trudel-Lapierre (cyphermox) wrote :

Looks fine to me. I added a comment on Laney's comment. I leave the decision for this particular thing to you.

review: Approve
Iain Lane (laney) :
lp:~seb128/ubiquity/new-gsd-binaries updated on 2017-07-27
6541. By Sebastien Bacher on 2017-07-27

check for the gsd directory rather than a specific binary

Sebastien Bacher (seb128) wrote :

new commit up for review

lp:~seb128/ubiquity/new-gsd-binaries updated on 2017-07-27
6542. By Sebastien Bacher on 2017-07-27

Rebase on trunk

Iain Lane (laney) wrote :

I'm good with that, thanks.

Only concern is that if we move to multiarch paths there it'll stop working, but the full path to the binaries is given in any case, so that will already break.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/ubiquity-dm'
2--- bin/ubiquity-dm 2017-03-23 12:30:39 +0000
3+++ bin/ubiquity-dm 2017-07-27 07:51:38 +0000
4@@ -516,7 +516,13 @@
5
6 msd = '/usr/bin/mate-settings-daemon'
7 usd = '/usr/lib/unity-settings-daemon/unity-settings-daemon'
8- gsd = '/usr/lib/gnome-settings-daemon/gnome-settings-daemon'
9+ gsd = ['/usr/lib/gnome-settings-daemon/gsd-a11y-keyboard',
10+ '/usr/lib/gnome-settings-daemon/gsd-a11y-settings',
11+ '/usr/lib/gnome-settings-daemon/gsd-clipboard',
12+ '/usr/lib/gnome-settings-daemon/gsd-orientation',
13+ '/usr/lib/gnome-settings-daemon/gsd-power',
14+ '/usr/lib/gnome-settings-daemon/gsd-xrandr',
15+ '/usr/lib/gnome-settings-daemon/gsd-xsettings']
16
17 if osextras.find_on_path(msd):
18 extras.append(subprocess.Popen(
19@@ -535,10 +541,12 @@
20 # At this point we're sure the usd xsettings plugin is
21 # available, we can continue setting up the session.
22
23- elif osextras.find_on_path(gsd):
24- extras.append(subprocess.Popen(
25- [gsd], stdin=null, stdout=logfile, stderr=logfile,
26- preexec_fn=self.drop_privileges))
27+ elif os.path.isdir("/usr/lib/gnome-settings-daemon"):
28+ for gsdbinary in gsd:
29+ if osextras.find_on_path(gsdbinary):
30+ extras.append(subprocess.Popen(
31+ [gsdbinary], stdin=null, stdout=logfile, stderr=logfile,
32+ preexec_fn=self.drop_privileges))
33
34 elif background_image and osextras.find_on_path('feh'):
35 subprocess.call(
36
37=== modified file 'debian/changelog'
38--- debian/changelog 2017-07-25 21:27:37 +0000
39+++ debian/changelog 2017-07-27 07:51:38 +0000
40@@ -1,3 +1,9 @@
41+ubiquity (17.10.3) UNRELEASED; urgency=medium
42+
43+ * Update ubiquity-dm for the new gnome-settings-daemon (lp: #1702892)
44+
45+ -- Sebastien Bacher <seb128@ubuntu.com> Thu, 27 Jul 2017 09:50:30 +0200
46+
47 ubiquity (17.10.2) artful; urgency=medium
48
49 * Depend/build-depend on python3-debconf rather than debconf for the

Subscribers

People subscribed via source and target branches

to status/vote changes: