From 7fdf7e39bcd567a3ac3755c48510528f4578c8e1 Mon Sep 17 00:00:00 2001 From: vzever Date: Wed, 8 Oct 2014 10:19:40 -0400 Subject: [PATCH 1/2] Update setup.sh apt-get install ubuntu-app-launch;"upstart-app-launch" >> "ubuntu-app-launch" --- cmd/ubuntu-touch/setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/ubuntu-touch/setup.sh b/cmd/ubuntu-touch/setup.sh index 3cd2ff65..1d045411 100644 --- a/cmd/ubuntu-touch/setup.sh +++ b/cmd/ubuntu-touch/setup.sh @@ -15,7 +15,7 @@ echo 'Installing Go and dependencies ------------------------------------------- apt-get update apt-get install -y \ - golang-go g++ git pkg-config \ + golang-go g++ git pkg-config ubuntu-app-launch\ qtbase5-private-dev qtdeclarative5-private-dev libqt5opengl5-dev apt-get clean @@ -38,4 +38,4 @@ su -l phablet -c 'cd $HOME/src/gopkg.in/qml.v0/examples/particle; go build' echo 'Launching particle example ---------------------------------------------------' -su -l phablet -c "upstart-app-launch $APP_ID" +su -l phablet -c "ubuntu-app-launch $APP_ID" From ab36fb4fbafc0c57d69cf368e2d14a3b0ae89472 Mon Sep 17 00:00:00 2001 From: vzever Date: Wed, 8 Oct 2014 10:25:20 -0400 Subject: [PATCH 2/2] Update README.md Documentation updates. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8ab5ee4e..cc93a248 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ run the following commands to get a working build environment inside the device: $ adb shell # cd /tmp - # wget https://github.com/go-qml/qml/raw/master/cmd/ubuntu-touch/setup.sh + # wget https://github.com/go-qml/qml/raw/v1/cmd/ubuntu-touch/setup.sh # /bin/bash setup.sh # su - phablet $ @@ -92,11 +92,11 @@ At the end of setup.sh, the phablet user will have GOPATH=$HOME in the environme the qml package will be built, and the particle example will be built and run. For stopping it from the command line, run as the phablet user: - $ upstart-app-stop gopkg.in.qml.particle-example + $ ubuntu-app-stop gopkg.in.qml.particle-example for running it again: - $ upstart-app-launch gopkg.in.qml.particle-example + $ ubuntu-app-launch gopkg.in.qml.particle-example These commands depend on the following file, installed by setup.sh: