From 9506f0d11b7335beb0fde80781b1e9c1ba6ba01b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 29 Sep 2015 15:34:53 +0100 Subject: [PATCH] Instructions for installing K-9 on Android --- doc/EN/usage.org | 37 +++++++++++++++++++++++++++++ website/EN/usage.html | 55 ++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 91 insertions(+), 1 deletion(-) diff --git a/doc/EN/usage.org b/doc/EN/usage.org index 9db82619..123a6ced 100644 --- a/doc/EN/usage.org +++ b/doc/EN/usage.org @@ -215,6 +215,19 @@ To get K9 working with Freedombone you'll need to install development versions o Build script for OpenKeychain: +#+BEGIN_SRC bash +mkdir ~/develop +cd ~/develop +git clone https://github.com/bashrc/open-keychain +cd open-keychain +git checkout origin/bashrc/hidden-recipient-4 +git checkout -b bashrc/hidden-recipient-4 +cd tools +nano build.sh +#+END_SRC + +Then add the following: + #+BEGIN_SRC bash #!/bin/bash @@ -285,8 +298,25 @@ echo "$PROJECT_HOME/OpenKeychain/build/outputs/apk/OpenKeychain-debug.apk" exit 0 #+END_SRC +Save and exit with *CTRL-o*, *CTRL-x*. + +#+BEGIN_SRC bash +chmod +x build.sh +./build.sh +#+END_SRC + Build script for K9: +#+BEGIN_SRC bash +cd ~/develop +git clone https://github.com/k9mail/k-9 +cd k-9 +cd tools +nano build.sh +#+END_SRC + +Then add the following: + #+BEGIN_SRC bash #!/bin/bash @@ -351,6 +381,13 @@ echo "$PROJECT_HOME/k9mail/build/outputs/apk/k9mail-debug.apk" exit 0 #+END_SRC +Save and exit with *CTRL-o*, *CTRL-x*. + +#+BEGIN_SRC bash +chmod +x build.sh +./build.sh +#+END_SRC + *** Import your GPG key into OpenKeychain With your device connected to a laptop via USB cable and with USB debugging enabled on it: diff --git a/website/EN/usage.html b/website/EN/usage.html index 4cfc45ab..93be0492 100644 --- a/website/EN/usage.html +++ b/website/EN/usage.html @@ -4,7 +4,7 @@ - + @@ -688,6 +688,23 @@ Build script for OpenKeychain:
+
mkdir ~/develop
+cd ~/develop
+git clone https://github.com/bashrc/open-keychain
+cd open-keychain
+git checkout origin/bashrc/hidden-recipient-4
+git checkout -b bashrc/hidden-recipient-4
+cd tools
+nano build.sh
+
+
+ +

+Then add the following: +

+ +
+
#!/bin/bash
 
 # This script is intended to be used on Debian systems for building
@@ -758,12 +775,37 @@ git submodule init && git submodule update
 
+

+Save and exit with CTRL-o, CTRL-x. +

+ +
+ +
chmod +x build.sh
+./build.sh
+
+
+

Build script for K9:

+
cd ~/develop
+git clone https://github.com/k9mail/k-9
+cd k-9
+cd tools
+nano build.sh
+
+
+ +

+Then add the following: +

+ +
+
#!/bin/bash
 
 # This script is intended to be used on Debian systems for building
@@ -827,6 +869,17 @@ android sdk
 exit 0
 
+ +

+Save and exit with CTRL-o, CTRL-x. +

+ +
+ +
chmod +x build.sh
+./build.sh
+
+