This post is part of the Google Code in 2015. The task was to Build the dekko app and run all testsuites. You can see the task here.
Xubuntu 15.10 Wily Werewolf :
First of all, I downloaded Ubuntu SDK with the help of this guide.
Then, I got the source code URL from Ubuntu Developers Site :
git clone https://git.launchpad.net/dekko
The source code was about 29 MB.
Next thing I did was read “HACKING.md” file. There was a section called “Building” in it. There were two steps :
- ensure we have the armhf click chroot created
- the click chroot is up to date and has required dependencies installed
I chatted and found this page. Thanks to Dan Chapman. I also learnt that the “HACKING.md” file is no longer valid.
To build, the doc said :
If you just want to build & run Dekko on your desktop then you should use the run-desktop script with the --setup option.
$ ./scripts/run-desktop --setup
224 MB of archives need to be retrieved. It were the dependencies. That took a while :
The dependencies were successfully installed in a single try.
I ran :
It started to build :
There was this awesome little loading icon using ASCII chars to indicate the build process :
/ - | \ | /
Never saw such thing before. I should make a SVG animated image of this.
The building caused and error :
E: You must put some 'source' URIs in your sources.list
I looked over the script file and found why the error is coming. It was because I have disabled all the “source code” repositories.
So, I reloaded the package list and tried again. This time it worked. After that, I ran :
to run Dekko app. Now, it was compiling :
And finally Dekko ran :
As per the doc, I ran this :
The tests were started :
The testsuites was successfully finished :
- The file “HACKING.md” was outdated in the Git repo. I had to find the better documented page from Dan Chapman – maintainer of Dekko
The requirement of the above command to work is that the “Source Code” repository should be enabled.
I had them disabled and it didn’t work on my system. Everything worked after it was enabled and when package list was updated
- The “HACKING.md” file should be removed or updated
Dan Chapman said that he was planning to remove it. So, that’s OK
- The doc should mention that the “Source Code” repository should be enabled for the building to be done successfully.
Dekko is neat, beautiful and well written. I could only find Dan Chapman active in the project. Still, the Dekko doc site and project looks awesome.
Can’t wait to get an Ubuntu Touch Phone.