I tried to build the Android app according to the instructions on the install page.
But during step 2 (In the chroot, run install-haskell-packages) cabal fails to handle the dependencies correctly. So I tried to change the standalone/android/cabal.config file to update all the dependencies, but this had me running into something I think is unresolvable in another package's dependencies. Eventually I had the following output:
# ./standalone/android/install-haskell-packages Downloading the latest package list from hackage.haskell.org Skipping download: Local and remote files match. /home/repo/git-annex /home/repo/git-annex/standalone/android Resolving dependencies... cabal: Could not resolve dependencies: trying: git-annex-6.20160318 (user goal) trying: persistent-template-2.1.6/installed-08b... (dependency of git-annex-6.20160318) next goal: monad-control (dependency of git-annex-6.20160318) rejecting: monad-control-220.127.116.11/installed-cac..., 18.104.22.168, 22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11, 0.3.3.1, 0.3.3.0, 0.3.2.3 (global constraint requires ==0.3.2.2) rejecting: monad-control-0.3.2.2 (conflict: persistent-template => monad-control==18.104.22.168/installed-cac...) rejecting: monad-control-0.3.2.1, 0.3.2, 0.3.1.4, 0.3.1.3, 0.3.1.2, 0.3.1.1, 0.3.1, 0.3.0.1, 0.3, 0.2.0.3, 0.2.0.2, 0.2.0.1, 0.2, 0.1 (global constraint requires ==0.3.2.2)
This tells me that the package persistent-template depends on the package monad-control at a version of 22.214.171.124. So I look at the persistent-template hackage page and see that it lists its dependency on monad-control as:
monad-control (>=0.2 && <1.1)
And I don't think that's possible to resolve.
All I wanted to do was change the icons on the Android package, so if you'll just accept the changed icons folder, I can submit the patch without testing the Android build, but currently I'm unable to build the Android port of git-annex.