@@ -1,35 +1,31 @@
1Building Unity 8
1Building Unity 8
2================
2================
4+Only Ubuntu 13.10 (saucy) is supported as a developement environment.
4download source
6download source
5---------------
7---------------
6−- the build requires some additional dependencies, so create the parent folder to not pollute your setup
8+- create a parent folder to not pollute your setup. so that you can have different unity
9+ branches there (trunk, WIP etc)
7 $ mkdir ~/unity
10 $ mkdir ~/unity
9- fetch Unity 8 source
12- fetch Unity 8 source
10 $ sudo apt-get install bzr
13 $ sudo apt-get install bzr
11− $ bzr branch lp:unity/8.0 ~/unity/unity8
14+ $ bzr branch lp:unity/8.0 ~/unity/8.0
12− $ cd ~/unity/unity8
15+ $ cd ~/unity/8.0
14−build dependencies
17+install dependencies
15−------------------
18+--------------------
16−If its your first time, download & build deps
19+If its your first time, install build dependencies
17−$ ./build -s
20+$ ./build --setup
18 this will:
21 this will:
19 - add ppa:phablet-team/desktop-deps, ppa:canonical-qt5-edgers/qt5-proper, ppa:ubuntu-sdk-team
22 - add ppa:phablet-team/desktop-deps, ppa:canonical-qt5-edgers/qt5-proper, ppa:ubuntu-sdk-team
20− - build and install lp:libunity/phablet, lp:unity/phablet-mods, lp:hud/phablet locally
21 - install build dependencies
23 - install build dependencies
23build Unity 8
25build Unity 8
24-------------
26-------------
27−subsequent updates of the dependencies
28−--------------------------------------
33Running Unity 8 on your desktop
29Running Unity 8 on your desktop
34===============================
30===============================
@@ -54,8 +50,8 @@ Running Unity 8 on devices
54- make sure your device is connected to a WiFi network
50- make sure your device is connected to a WiFi network
55- also make sure you have your SSH key in ~/.ssh/id_rsa.pub (or install one on the device yourself)
51- also make sure you have your SSH key in ~/.ssh/id_rsa.pub (or install one on the device yourself)
57−$ cd ~/unity/unity8
53+$ cd ~/unity/8.0
58−$ ./run_on_device -s
54+$ ./run_on_device --setup
59 this will:
55 this will:
60 - install your public SSH key on the device
56 - install your public SSH key on the device
61 - add ppa:canonical-qt5-edgers/qt5-proper and ppa:phablet-team
57 - add ppa:canonical-qt5-edgers/qt5-proper and ppa:phablet-team
@@ -91,3 +87,6 @@ https://launchpad.net/canonical-client-development-guidelines
91Development Environment
87Development Environment
92=======================
88=======================
93QtCreator (available via the Software Center) is the best IDE to hack on Unity 8.
89QtCreator (available via the Software Center) is the best IDE to hack on Unity 8.
91+If using VIM, make sure you install some syntax highlighting for QML, like
92+https://github.com/peterhoeg/vim-qml