Mir

Merge lp:~alan-griffiths/mir/phone-setup into lp:mir

Proposed by Alan Griffiths
Status: Work in progress
Proposed branch: lp:~alan-griffiths/mir/phone-setup
Merge into: lp:mir
Diff against target: 58 lines (+29/-14)
2 files modified
src/client/CMakeLists.txt (+0/-14)
tools/setup-phone.sh (+29/-0)
To merge this branch: bzr merge lp:~alan-griffiths/mir/phone-setup
Reviewer Review Type Date Requested Status
Daniel van Vugt Needs Fixing
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+191448@code.launchpad.net

Commit message

tools: sample setup script for phone

Description of the change

tools: sample setup script for phone

To post a comment you must log in.
lp:~alan-griffiths/mir/phone-setup updated
1140. By Alan Griffiths

logging: correct component tag in connector report.

Approved by Alexandros Frantzis, PS Jenkins bot.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
lp:~alan-griffiths/mir/phone-setup updated
1141. By Alan Griffiths

client: fix hang(s) in client API when server dies. Fixes: https://bugs.launchpad.net/bugs/1227743.

Approved by PS Jenkins bot, Kevin DuBois.

1142. By Kevin DuBois

fix: lp 1239577

TestClientIPCRender (an android-only gfx driver test) was hanging due to changes in signal handling. refactor the test, changing the cross-process sync mechanism so it doesn't use sigcont. Fixes: https://bugs.launchpad.net/bugs/1239577.

Approved by PS Jenkins bot, Daniel van Vugt.

1143. By kevin gunn

merge from trunk

1144. By Alan Griffiths

Fix failing acceptance-test:
ServerShutdown/OnSignal.removes_endpoint_on_signal (LP: #1237710)

Avoid fatal_signal_cleanup getting caught in a loop restoring itself and
then re-entering itself. This could happen in some permutations of
acceptance-tests where run_mir is entered with fatal_signal_cleanup already
set up from previous tests' server instances. Fixes: https://bugs.launchpad.net/bugs/1237710.

Approved by Daniel van Vugt, PS Jenkins bot, Kevin DuBois.

1145. By kevin gunn

bump mir deb changelog to 0.0.16 and libmirserver8.

Approved by Daniel van Vugt, PS Jenkins bot, Chris Halse Rogers.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This looks very bespoke. It's likely the rest of us have our own (slightly different) processes already, so wouldn't use it. Also, the applicability is very narrow -- I doubt a newbie seeing this script could understand how to make it do useful things.

Therefore I think we probably don't want this in the Mir source.

But even if you disagree... Needs Fixing:
This file should not be mentioned at all. It's likely to vanish soon, making the rm command fail and therefore the whole script would fail:
9 +rm lib/libmirclient.so.0

review: Needs Fixing
lp:~alan-griffiths/mir/phone-setup updated
1146. By Daniel van Vugt

Avoid rendering surfaces that are fully hidden by other surfaces. This is
particularly important for mobile device performance. (LP: #1227739)
. Fixes: https://bugs.launchpad.net/bugs/1227739.

Approved by PS Jenkins bot, Kevin DuBois, Alan Griffiths, Alexandros Frantzis.

1147. By Daniel van Vugt

Remove orphaned tags, which appear to have come from the Compiz project (!?)
Add tags for the most recent releases up to 0.0.16.

No files changed, only tags.

1148. By Alan Griffiths

Don't create a link to a non-existant file

1149. By Alan Griffiths

merge lp:~alan-griffiths/mir/phone-setup

1150. By Alan Griffiths

Make script less specific

Unmerged revisions

1150. By Alan Griffiths

Make script less specific

1149. By Alan Griffiths

merge lp:~alan-griffiths/mir/phone-setup

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/client/CMakeLists.txt'
2--- src/client/CMakeLists.txt 2013-09-12 21:36:55 +0000
3+++ src/client/CMakeLists.txt 2013-10-17 10:35:25 +0000
4@@ -77,20 +77,6 @@
5 SOVERSION ${MIRCLIENT_ABI}
6 )
7
8-#
9-# The version of libEGL.so.N installed on the build machine will often link
10-# to an older version of libmirclient.so.N than we're trying to build. But if
11-# we allow EGL clients to link to both then they will depend on TWO different
12-# sonames of mirclient and get linkage errors. This hack ensures that all EGL
13-# mir clients in our source tree will only ever link to one version of
14-# mirclient; that is the new one here.
15-# It might sound nasty, but it's much nicer than having to maintain mirclient
16-# and mirserver in different source packages.
17-#
18-add_custom_target(mirclient_compat_links
19- COMMAND ln -fs libmirclient.so.1 libmirclient.so.0
20- WORKING_DIRECTORY ${LIBRARY_OUTPUT_PATH}
21-)
22 # Ensure mirclient_compat_links exist before any dependents of mirclient
23 add_dependencies(mirclient mirclient_compat_links)
24
25
26=== added file 'tools/setup-phone.sh'
27--- tools/setup-phone.sh 1970-01-01 00:00:00 +0000
28+++ tools/setup-phone.sh 2013-10-17 10:35:25 +0000
29@@ -0,0 +1,29 @@
30+#!/bin/bash
31+# Setup script for getting phone to a convenient state for development work
32+#
33+phablet-flash ubuntu-system --no-backup --channel=devel-proposed
34+adb shell mount -o remount,rw /
35+adb shell touch /userdata/.writable_image
36+phablet-network
37+adb shell apt-get install -y mir-demos gdb
38+
39+# You now can do stuff like this:
40+# tools/install_on_android.sh
41+
42+# Or stuff like this:
43+# $ adb shell
44+# # cd tmp/mirtest/
45+# # export LD_LIBRARY_PATH=/tmp/mirtest/
46+# # ./acceptance-tests
47+
48+# Or stuff like this:
49+# $ adb shell
50+# # apt-add-repository ppa:autopilot/ppa
51+# # apt-get update
52+# # apt-get install libautopilot-qt python-autopilot
53+
54+# Or even:
55+# $ adb shell
56+# # sudo -i -u phablet
57+# $ stop unity8
58+# # gdb unity8

Subscribers

People subscribed via source and target branches