Merge branch 'android-rebuild'
This commit is contained in:
commit
78e90130c3
83 changed files with 4042 additions and 6862 deletions
|
@ -19,14 +19,14 @@ of Bath CS department.
|
|||
|
||||
## building it yourself
|
||||
|
||||
git-annex can be built for Android, with `make android`. It's not an easy
|
||||
process:
|
||||
git-annex can be built from source for Android.
|
||||
|
||||
* First, install <https://github.com/neurocyte/ghc-android>.
|
||||
* You will need to have the Android SDK and NDK installed; see
|
||||
`standalone/android/Makefile` to configure the paths to them. You'll also
|
||||
need ant, and the JDK.
|
||||
* In `standalone/android/`, run `install-haskell-packages native`
|
||||
* You also need to install git and all the utilities listed on [[fromscratch]],
|
||||
on the system doing the building.
|
||||
* Then to build the full Android app bundle, use `make androidapp`
|
||||
1. Run `standalone/android/buildchroot` as root (requires debootstrap).
|
||||
This builds a chroot with an `androidbuilder` user.
|
||||
The rest of the build will run in this chroot as that user.
|
||||
2. Then run `standalone/android/install-haskell-packages`
|
||||
Note that this will break from time to time as new versions of packages
|
||||
are released, and the patches it applies have to be updated when
|
||||
this happens.
|
||||
3. Finally, once the chroot is set up, you can build an Android binary
|
||||
with `make android`, and `make androidapp` will build the complete APK.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue