[PATCH] Added dependencies and steps to build in README
Venkatesh Shukla IIT BHU
venkatesh.shukla.eee11 at iitbhu.ac.in
Fri Mar 21 09:58:19 PDT 2014
Minor patch improving documentation of subsurface-android.
It includes dependencies and steps to build.
>From 41a2b897001fc009b43e53f6fed576954d7ea955 Mon Sep 17 00:00:00 2001
From: Venkatesh Shukla <venkatesh.shukla.eee11 at iitbhu.ac.in>
Date: Fri, 21 Mar 2014 22:00:13 +0530
Subject: [PATCH] Added dependencies and steps to build in README
Signed-off-by: Venkatesh Shukla <venkatesh.shukla.eee11 at iitbhu.ac.in>
---
README | 46 ++++++++++++++++++++++++++++++++++++++++------
1 file changed, 40 insertions(+), 6 deletions(-)
diff --git a/README b/README
index ec38b1c..6c33883 100644
--- a/README
+++ b/README
@@ -1,9 +1,43 @@
Tool repo to crosscompile subsurface to android-arm
+---------------------------------------------------
+Dependencies:
+
+1. android_sdk, android_ndk and Qt5.2.1. See step 0.
+2. cmake
+3. ant
+4. Java
+5. working adb is recommended
+6. dependencies of libdivecomputer and subsurface -
+ visit http://subsurface.hohndel.org/documentation/building/
+
+Steps to install:
+
+Step 0.
Grab..
-Android ndk from:
-http://developer.android.com/tools/sdk/ndk/index.html
-Android sdk from:
-http://developer.android.com/sdk/index.html#download
-And QT for android from:
-http://qt-project.org/downloads
+Android ndk from: http://developer.android.com/tools/sdk/ndk/index.html
+Android sdk from: http://developer.android.com/sdk/index.html#download
+And QT for android from: http://qt-project.org/downloads
+
+Extract and install these into known directories.
+Let these directories be android_ndk, android_sdk and Qt5.2.1
+
+Step 1.
+Edit build.sh script present in this repository to set proper path to
+android_sdk, android_ndk and Qt5.2.1 as per your system. (lines 2-4)
+Also decide the android version you are building for (line 6)
+
+Step 2.
+Run bash build.sh in the terminal.
+The script will download and build the following libraries for android
+1. libsqlite3
+2. libxml2
+3. libxslt
+4. libgit2
+5. libusb1
+6. libdivecomputer
+
+After this, subsurface will be built for android.
+
+The output folder is subsurface-build/android_build
+You can import this folder in eclipse and run in your android devices.
--
1.8.5.3
*Venkatesh Shukla B. Tech ( Electrical Engineering )III YearIndian
Institute of TechnologyBanaras Hindu UniversityPh No. +91 8960 579 122*
*Email: venkatesh.shukla.eee11 at iitbhu.ac.in
<venkatesh.shukla.eee11 at iitbhu.ac.in>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140321/561e6ff8/attachment-0001.html>
More information about the subsurface
mailing list