Merge lp:~morphis/ubuntu-touch-session/sync-vivid-and-droid-discover into lp:ubuntu-touch-session

Proposed by Simon Fels on 2016-01-14
Status: Merged
Merged at revision: 277
Proposed branch: lp:~morphis/ubuntu-touch-session/sync-vivid-and-droid-discover
Merge into: lp:ubuntu-touch-session
Diff against target: 133 lines (+70/-5)
7 files modified
touch.pa (+4/-4)
ubuntu-touch-session.d/flo.conf (+1/-0)
ubuntu-touch-session.d/mako.conf (+1/-0)
upstart-session/bluez-mpris-proxy.conf (+9/-0)
upstart-session/cameraservice-trust-stored.conf (+33/-0)
upstart-session/obexd.conf (+1/-1)
upstart-session/pulseaudio-trust-stored.conf (+21/-0)
To merge this branch: bzr merge lp:~morphis/ubuntu-touch-session/sync-vivid-and-droid-discover
Reviewer Review Type Date Requested Status
Ubuntu Phablet Team 2016-01-14 Pending
Review via email: mp+282579@code.launchpad.net

Commit Message

Sync with changes from vivid overlay ppa and enable PulseAudio Droid discover module.

Description of the Change

Sync with changes from vivid overlay ppa and enable PulseAudio Droid discover module.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'touch.pa'
2--- touch.pa 2015-08-07 15:24:48 +0000
3+++ touch.pa 2016-01-14 12:33:34 +0000
4@@ -38,8 +38,8 @@
5 load-module module-switch-on-connect skip_abstract=yes
6
7 ### Automatically load the Pulseaudio Droid
8-.ifexists module-droid-card.so
9-load-module module-droid-card voice_virtual_stream=true
10+.ifexists module-droid-discover.so
11+load-module module-droid-discover voice_virtual_stream=true
12 .endif
13
14 ### Automatically load the trust-store module
15@@ -68,8 +68,8 @@
16 load-module module-bluetooth-policy
17 .endif
18
19-.ifexists module-bluez4-discover.so
20-load-module module-bluez4-discover profile=a2dp sco_sink=sink.fake.sco sco_source=source.fake.sco
21+.ifexists module-bluez5-discover.so
22+load-module module-bluez5-discover headset=both profile=a2dp_sink sco_sink=sink.fake.sco sco_source=source.fake.sco
23 .endif
24
25 ### Load several protocols
26
27=== modified file 'ubuntu-touch-session.d/flo.conf'
28--- ubuntu-touch-session.d/flo.conf 2014-03-02 12:54:19 +0000
29+++ ubuntu-touch-session.d/flo.conf 2016-01-14 12:33:34 +0000
30@@ -1,3 +1,4 @@
31 GRID_UNIT_PX=18
32 QTWEBKIT_DPR=2.0
33 NATIVE_ORIENTATION=landscape
34+FORM_FACTOR=tablet
35
36=== modified file 'ubuntu-touch-session.d/mako.conf'
37--- ubuntu-touch-session.d/mako.conf 2013-06-04 16:36:00 +0000
38+++ ubuntu-touch-session.d/mako.conf 2016-01-14 12:33:34 +0000
39@@ -1,2 +1,3 @@
40 GRID_UNIT_PX=18
41 QTWEBKIT_DPR=2.0
42+FORM_FACTOR=phone
43
44=== added file 'upstart-session/bluez-mpris-proxy.conf'
45--- upstart-session/bluez-mpris-proxy.conf 1970-01-01 00:00:00 +0000
46+++ upstart-session/bluez-mpris-proxy.conf 2016-01-14 12:33:34 +0000
47@@ -0,0 +1,9 @@
48+description "BlueZ MPRIS proxy"
49+author "Simon Fels <simon.fels@canonical.com>"
50+
51+start on started dbus
52+stop on session-end
53+
54+respawn
55+
56+exec /usr/lib/bluetooth/mpris-proxy -s core.ubuntu.media.Service
57
58=== added file 'upstart-session/cameraservice-trust-stored.conf'
59--- upstart-session/cameraservice-trust-stored.conf 1970-01-01 00:00:00 +0000
60+++ upstart-session/cameraservice-trust-stored.conf 2016-01-14 12:33:34 +0000
61@@ -0,0 +1,33 @@
62+description "CameraService Trust Store Daemon"
63+
64+start on started dbus and xsession SESSION=ubuntu-touch
65+stop on runlevel [06]
66+
67+respawn
68+
69+script
70+ timeout=800
71+ service_socket=/dev/socket/camera_service/camera_service_to_trust
72+ # loop and then exit, if camera service isnt up after 80 sec
73+ # it is likely not starting at all (or not there)
74+ while [ ! -e $service_socket ]; do
75+ sleep 0.1
76+ if [ "$timeout" -le 0 ]; then
77+ stop; exit 0
78+ fi
79+ timeout=$(($timeout - 1))
80+ done
81+
82+ # Extra security to make sure the service is bound to the sockec
83+ # TODO check if needed by inspection of trust store library / camera service
84+ sleep 1
85+
86+ exec /usr/bin/trust-stored-skeleton \
87+ --remote-agent UnixDomainSocketRemoteAgent --endpoint=$service_socket \
88+ --local-agent MirAgent \
89+ --trusted-mir-socket=/var/run/user/$(id -u)/mir_socket_trusted \
90+ --for-service CameraService \
91+ --with-text-domain CameraService \
92+ --store-bus session \
93+ --disable-whitelisting=yes
94+end script
95
96=== renamed file 'upstart-session/cameraservice-trust-stored.conf' => 'upstart-session/cameraservice-trust-stored.conf.moved'
97=== modified file 'upstart-session/obexd.conf'
98--- upstart-session/obexd.conf 2015-04-22 23:01:28 +0000
99+++ upstart-session/obexd.conf 2016-01-14 12:33:34 +0000
100@@ -7,4 +7,4 @@
101 respawn
102 expect fork
103
104-exec /usr/lib/obexd/obexd
105+exec /usr/lib/bluetooth/obexd -P ftp,irmc,mas,opp,pcsuite,filesystem -r $HOME
106
107=== added file 'upstart-session/pulseaudio-trust-stored.conf'
108--- upstart-session/pulseaudio-trust-stored.conf 1970-01-01 00:00:00 +0000
109+++ upstart-session/pulseaudio-trust-stored.conf 2016-01-14 12:33:34 +0000
110@@ -0,0 +1,21 @@
111+description "Pulseaudio Trust Store Daemon"
112+
113+start on started pulseaudio
114+stop on stopped pulseaudio
115+
116+respawn
117+
118+script
119+ # Extra security until trust-stored handles DBus name owner changes
120+ # for the service
121+ sleep 2
122+
123+ exec /usr/bin/trust-stored-skeleton \
124+ --remote-agent DBusRemoteAgent --bus=session \
125+ --local-agent MirAgent \
126+ --trusted-mir-socket=/var/run/user/$(id -u)/mir_socket_trusted \
127+ --for-service PulseAudio \
128+ --with-text-domain PulseAudio \
129+ --store-bus session \
130+ --disable-whitelisting=yes
131+end script
132
133=== renamed file 'upstart-session/pulseaudio-trust-stored.conf' => 'upstart-session/pulseaudio-trust-stored.conf.moved'

Subscribers

People subscribed via source and target branches