Commit graph

255 commits

Author SHA1 Message Date
Joey Hess
0fcc805bc9 vector patch also needed for arm 2014-06-10 12:42:09 -04:00
Joey Hess
ba1e14d502
fix gnutls to link, again
I don't know why, but I keep finding that the way I hacked this to work
before doesn't work and a new way is needed. Perhaps changes to cabal made
my old hacks break?
2014-05-26 17:56:41 -04:00
Joey Hess
69f793a2b2
update path to gnutls etc libs 2014-05-26 15:51:21 -04:00
Joey Hess
7145d25972
work around another dep problem 2014-05-26 13:53:53 -04:00
Joey Hess
70fd42521f
remove patch that turns out to be unnecessary 2014-05-26 13:14:50 -04:00
Joey Hess
8886ccb102 export PATH to alex and happy 2014-05-26 13:13:33 -04:00
Joey Hess
fb3b1fac54 Merge orca:/tmp/build 2014-05-25 22:51:57 -04:00
androidbuilder
0f5b40a106 update remaining android patches 2014-05-26 02:47:15 +00:00
Joey Hess
ddd1a888a7 more work around for cabal dependency mess 2014-05-25 22:20:11 -04:00
Joey Hess
ddb1f25209 network-protocol-xmpp patch no longer needed 2014-05-25 21:59:13 -04:00
Joey Hess
1f05bcea98 libxml-sax patch no longer needed 2014-05-25 21:57:53 -04:00
Joey Hess
8abaafaf6d set unicode locale when building
some packages, particularly unix-compat, fail to install in a C
locale. wow
2014-05-25 21:44:28 -04:00
Joey Hess
6052486dc3 work around recent cabal dependency mess 2014-05-25 21:25:04 -04:00
Joey Hess
89f6f3347d Merge commit '5e9e9d3cc7f54d7aaa835ef7842a9d7a444c3fda' 2014-05-25 12:02:48 -04:00
Sören Brunk
5e9e9d3cc7 update android haskell patches 2014-05-25 10:04:37 +02:00
Joey Hess
1ce222efe9
fix abiversion lookup to work when propellor is running this script 2014-05-25 01:37:22 -04:00
Joey Hess
5ad87aae41
turn on -x debugging in these scripts 2014-05-24 14:44:20 -04:00
Joey Hess
44a3e76115 android: Run busybox install with -s, since some versions of Android prohibit making hard links. 2014-05-23 16:18:55 -04:00
Joey Hess
ca496b6a97 Standalone builds now check gpg signatures before upgrading. 2014-04-23 13:30:30 -04:00
Joey Hess
4e601cf124 more idempotency fixes 2014-04-05 13:29:17 -04:00
Joey Hess
0d965885b7
idempotency fixes 2014-04-04 19:07:53 -04:00
Joey Hess
15dc2e950b renaming build user for consistency 2014-04-04 19:00:28 -04:00
Joey Hess
2b75beaf4f got tasty-rerun working on android 2014-03-12 12:25:32 -04:00
Joey Hess
9fef973293 patch out another file perm check that does not make sense on android 2014-03-10 16:50:56 -04:00
Joey Hess
8101b964b7
fix filename 2014-02-11 01:18:29 -04:00
Joey Hess
b914620264 remove no longer needed patch 2014-02-10 23:32:56 -04:00
Joey Hess
f271d86ef6 add android patch for x509-system cert store 2014-02-11 02:50:51 +00:00
Joey Hess
e3a50f4abb refresh patches 2014-02-08 13:26:54 -04:00
Joey Hess
5f0b3b4d4e DAV fixed 2014-02-08 13:03:44 -04:00
Joey Hess
9a5f360f93 fix syntax 2014-02-07 18:38:46 -04:00
Joey Hess
a23d7abfcc avoid broken version of DAV on android 2014-02-07 17:57:04 -04:00
Joey Hess
7791060310 reorder 2014-02-07 14:52:17 -04:00
Joey Hess
e0c4b52996 added back lost certificate path fix for Android 2014-02-07 14:20:35 -04:00
Joey Hess
b520aa64da fix order 2013-12-29 22:13:19 -04:00
Joey Hess
8d3dc1bfbc disable NODELAY on android
and also refresh another patch
2013-12-30 00:41:19 +00:00
Joey Hess
1ed415690d pin busybox at known-good version for android build 2013-12-29 16:56:01 -04:00
Joey Hess
01bd650e2d refreshed android patches 2013-12-27 00:32:29 -04:00
Joey Hess
b09613ebc7 update haskell patches for new versions in hackage 2013-12-26 16:17:31 -04:00
Joey Hess
7ec27d8d57 install happy and alex into android build chroot 2013-12-26 12:08:29 -04:00
Joey Hess
ccef06da41 allow building webapp with EvilSplicer for non-android arm
Was able to reuse many of the android patches, but several had to be
re-done. On Android, ghc is a stage2 build, so can compile, but not run TH
code. But debian's ghc on armel cannot even compile TH code, so it has
to be patched out.

Some haskell packages have been updated to new versions, including yesod
and DAV, and their patches had to be redone.

The Makefile now has 2 new targets. The first is run on a companion x86
system to do the build and get TH splices. Then the second target is run
the same source tree on the arm system to build without needing TH.

This commit was sponsored by Svenne Krap.
2013-12-18 21:41:17 +00:00
Joey Hess
13b0bf17d9 begin work on installing TH-using dependencies of webapp, for standalone armel build
Will move common patches out of android/haskell-patches.
2013-12-16 23:05:00 -04:00
Joey Hess
b2e9339b57 Android: Fix SRV record lookups for XMPP to use android getprop command to find DNS server, since there is no resolv.conf. 2013-12-03 13:14:49 -04:00
Joey Hess
857548e1b7 fix gnutls 2013-11-26 19:19:47 +00:00
Joey Hess
22462ed891 fix ugly hardcoded library path to libgnutls and libnettle 2013-11-26 13:45:09 -04:00
Joey Hess
1e515b76b3 2 android bug fixes 2013-11-26 13:24:24 -04:00
Joey Hess
16fa980689 separate android 4.0 and 4.3 builds needed
Also, parameterize the abdroid abi version
2013-11-12 14:24:53 -04:00
Joey Hess
d128d1aae6 update to arm-linux-androideabi-4.8 and current cabal 2013-11-11 00:04:04 -04:00
Joey Hess
acd28220c7 refresh patches to current hackage versions 2013-10-18 22:44:06 -04:00
Joey Hess
41f80fef9f remove patches that have been applied upstream
WTF?! My birthday is not until April 11th
2013-10-18 21:59:48 -04:00
Joey Hess
bfc7fb817c remove no longer needed patch 2013-10-18 19:15:04 -04:00
Joey Hess
9701b9b142 comonad now depends on distributive 2013-10-18 19:11:39 -04:00
Joey Hess
ebd9f70ceb remove patch that is no longer needed 2013-10-18 19:05:33 -04:00
Joey Hess
eeb4182cb2 update some patches for new versions 2013-10-18 16:19:22 -04:00
Joey Hess
36ebf86469 add python, needed for ghc fingerprinting 2013-10-17 22:39:56 -04:00
Joey Hess
3bd3c62c0f updated android gpg version 2013-10-12 12:08:18 -04:00
Joey Hess
c869005231 future work 2013-09-23 17:39:53 -04:00
Joey Hess
5600aee90b move stuff into .android
This simplifies my schroot bind mounts
2013-09-23 14:20:13 -04:00
Joey Hess
ccf95fb2a2 java needs /proc mounted in the chroot? why am I surprised? 2013-09-23 13:35:49 -04:00
Joey Hess
ecd2ccb87c env sanitization 2013-09-23 13:15:34 -04:00
Joey Hess
5a99ae9511 fix cd 2013-09-23 10:25:21 -04:00
Joey Hess
420a2fc898 work around stupid licence prompt 2013-09-22 22:55:40 -04:00
Joey Hess
96b8224b63 pin term 2013-09-22 22:47:20 -04:00
Joey Hess
3b992c5b97 need gettext to build gnupg 2013-09-22 22:43:09 -04:00
Joey Hess
e1a0ae3bc6 pin rsync 2013-09-22 22:40:36 -04:00
Joey Hess
b9d5a3e9f3 grr 2013-09-22 22:39:29 -04:00
Joey Hess
9e0398e31d pin openssh 2013-09-22 22:36:00 -04:00
Joey Hess
5cce5b36f2 fix clones 2013-09-22 22:27:02 -04:00
Joey Hess
51cc760e06 working on getting make androidapp to work now 2013-09-22 22:23:08 -04:00
Joey Hess
929aa1452d fix cd 2013-09-22 21:36:45 -04:00
Joey Hess
8375e5f06d Merge remote-tracking branch 'orca/android-rebuild' into android-rebuild 2013-09-22 20:17:49 -04:00
Joey Hess
31b5ef6463 fix unix-time 2013-09-23 00:14:48 +00:00
Joey Hess
5e8bac96f1 cabal install from local git-annex cabal file 2013-09-22 19:30:44 -04:00
Joey Hess
e86cbcd631 reorder 2013-09-22 18:17:46 -04:00
Joey Hess
66631b4092 add 2013-09-22 17:30:04 -04:00
Joey Hess
140c69899a hamlet requires shapespeare
also, disable forced reinstalls, which hide such problems
2013-09-22 17:25:30 -04:00
Joey Hess
30a121b805 set git config stuff so it can commit (hate hate hate that) 2013-09-22 16:32:19 -04:00
Joey Hess
920e1a8923 cd to work dir 2013-09-22 15:58:13 -04:00
Joey Hess
ca0cd2dacc cd to home 2013-09-22 14:29:22 -04:00
Joey Hess
9a295c0653 Merge branch 'android-rebuild' of git://git-annex.branchable.com into android-rebuild 2013-09-22 19:14:10 +01:00
Joey Hess
00a12afffe successfully builds (except XMPP) 2013-09-22 19:13:31 +01:00
Joey Hess
5d052d3f9f create home dir 2013-09-22 13:52:26 -04:00
Joey Hess
a37ec465f7 apt-get clean 2013-09-22 13:15:25 -04:00
Joey Hess
c4074961c4 umount /proc 2013-09-22 13:06:32 -04:00
Joey Hess
a9881b9d0b new buildchroot script to automate android chroot setup 2013-09-22 13:03:34 -04:00
Joey Hess
6e4c1413a8 didn't need to install cabal here 2013-09-22 01:50:01 -04:00
Joey Hess
f10bae49d4 remove unused patches (2000+ lines!) 2013-09-22 01:43:52 -04:00
foo
2889211efd refresh haskell package patches for new android build
Android build is now almost entirely automated, except for the installation
of cross-built libs needed for XMPP.

Haskell packages updated to current newest versions. Am not currently
pinning the versions, as that didn't work out last time I tried it
(must have missed some pins before).
2013-09-22 01:43:28 -04:00
Joey Hess
9e8521910d Android: Fix bug in terminal app that caused it to spin using much CPU and battery. This problem was introduced in version 4.20130601. 2013-08-26 22:00:16 -04:00
Joey Hess
ab7cd3435c update android icons to use new version of logo 2013-07-21 18:54:25 -04:00
Joey Hess
00f52d9e53 Android: gpg is built without --enable-minimal, so it interoperates better with other gpg builds that may default to using other algorithms for encryption. 2013-07-08 16:00:40 -04:00
Joey Hess
7ccbd77b6a hack to deal with minor version skew in Data.Map when using EvilSplicer 2013-06-10 23:55:53 -04:00
Joey Hess
a48d340abd Android: Work around Android devices where the am command doesn't work. 2013-05-31 21:30:21 -04:00
Joey Hess
24d40b9cb4 make webapp menu item be visible in all languages 2013-05-29 19:22:16 -04:00
Joey Hess
3e2d50a336 Android: Added an "Open WebApp" item to the terminal's menu. Should work for Android devices that cannot auto-open the webapp on start. 2013-05-28 18:25:27 -04:00
Joey Hess
4713f0c89d Android app: Avoid using hard links to app's lib directory, which is sometimes on a different filesystem than the data directory.
Assumes symlinks work on all android. If not, this would need to be adapted
to try both. This worked for me.
2013-05-23 13:54:49 -04:00
Joey Hess
66b1493f78 patched DNS library to use getprop to find the DNS server (dunno if it will work) 2013-05-15 20:55:32 -04:00
Joey Hess
991d09139d add DNS library to Android build environment 2013-05-15 19:11:09 -04:00
Joey Hess
f2118ab6be bugfix 2013-05-09 16:09:43 -04:00
Joey Hess
fa1f3cdb9e typo 2013-05-09 14:07:53 -04:00
Joey Hess
c113d9eee9 add cleancross target 2013-05-09 13:08:24 -04:00