@@ -8,18 +8,18 @@ download source
8- create a parent folder to not pollute your setup. so that you can have different unity
8- create a parent folder to not pollute your setup. so that you can have different unity
9 branches there (trunk, WIP etc)
9 branches there (trunk, WIP etc)
11− $ mkdir ~/unity
11+ $ mkdir ~/unity8
13- fetch Unity 8 source
13- fetch Unity 8 source
14 $ sudo apt-get install bzr
14 $ sudo apt-get install bzr
15− $ bzr branch lp:unity8 ~/unity/unity8
15+ $ bzr branch lp:unity8 ~/unity8/trunk
16− $ cd ~/unity/unity8
16+ $ cd ~/unity8/trunk
18install dependencies
18install dependencies
19--------------------
19--------------------
20If its your first time, install build dependencies
20If its your first time, install build dependencies
22−$ cd ~/unity/unity8
22+$ cd ~/unity8/trunk
23$ ./build --setup
23$ ./build --setup
25 this will:
25 this will:
@@ -39,7 +39,7 @@ and fail to install all the required dependencies.
39build Unity 8
39build Unity 8
40-------------
40-------------
42−$ cd ~/unity/unity8
42+$ cd ~/unity8/trunk
45You may also rebuild with the -c for clean, which just deletes the build
45You may also rebuild with the -c for clean, which just deletes the build
@@ -50,7 +50,7 @@ Running Unity 8 on your desktop
51run the Unity 8 shell
51run the Unity 8 shell
52---------------------
52---------------------
53−$ cd ~/unity/unity8
53+$ cd ~/unity8/trunk
56Options can be passed to test the lock screen
56Options can be passed to test the lock screen
@@ -77,17 +77,17 @@ Running Unity 8 on devices
77==========================
77==========================
78- Ubuntu Touch builds are currently only available in 13.10 flavour
78- Ubuntu Touch builds are currently only available in 13.10 flavour
79- supported hardware should match one those listed here
79- supported hardware should match one those listed here
80−https://wiki.ubuntu.com/Touch/Devices#Running_fine
80+ https://wiki.ubuntu.com/Touch/Devices#Running_fine
81- follow the Ubuntu Touch install instructions for your chosen device
81- follow the Ubuntu Touch install instructions for your chosen device
82−https://wiki.ubuntu.com/Touch/Install
82+ https://wiki.ubuntu.com/Touch/Install
83- make sure your device is connected to a WiFi network
83- make sure your device is connected to a WiFi network
84- If you haven’t already or if you’ve just freshly flashed your device
84- If you haven’t already or if you’ve just freshly flashed your device
85−make sure you run phablet-network-setup which will allow package updates to
85+ make sure you run phablet-network-setup which will allow package updates to
86−the device
86+ the device
87- also make sure you have your SSH key in ~/.ssh/id_rsa.pub (or install one
87- also make sure you have your SSH key in ~/.ssh/id_rsa.pub (or install one
88−on the device yourself)
88+ on the device yourself)
90−$ cd ~/unity/unity8
90+$ cd ~/unity/trunk
91$ ./run_on_device --setup
91$ ./run_on_device --setup
92 this will:
92 this will:
93 - install your public SSH key on the device
93 - install your public SSH key on the device
@@ -113,15 +113,14 @@ Notes
113 - you can persist the above via `adb shell setprop persist.adb.tcp.port 5555`
113 - you can persist the above via `adb shell setprop persist.adb.tcp.port 5555`
114 - it's unsafe - anyone can connect to your device
114 - it's unsafe - anyone can connect to your device
115 - with TCP the Nexus 10 doesn't drop the adb connection when locking
115 - with TCP the Nexus 10 doesn't drop the adb connection when locking
116− the screen
116+ the screen
117−- exporting ANDROID_SERIAL=$your_device_serial or
117+- exporting ANDROID_SERIAL=$your_device_serial or
118−ANDROID_SERIAL=$your_device_ip:5555
118+ ANDROID_SERIAL=$your_device_ip:5555 will make adb not complain about
119− will make adb not complain about multiple devices
119+ multiple devices
120- you can export TARGET_IP=$your_device_ip TARGET_SSH_PORT=22 for run_on_device
120- you can export TARGET_IP=$your_device_ip TARGET_SSH_PORT=22 for run_on_device
121 to not use adb forwarding - useful if you use multiple devices
121 to not use adb forwarding - useful if you use multiple devices
122- using Ninja (package ninja-build - run_on_device -s installs this now)
122- using Ninja (package ninja-build - run_on_device -s installs this now)
124− build times (especially in the nothing-to-build case)
123+ will improve build times (especially in the nothing-to-build case)
127Coding guidelines
126Coding guidelines