Commit graph

72 commits

Author SHA1 Message Date
Joey Hess
33d6057ca3 cabal unpack --pristine
Without --pristine, cabal will update the package's cabal file if a newer
one is available in hackage. But that can break applying patches.
Especially since the new version from hackage can apparently have dos line
endings, while the version from the tarball doesn't.
2014-12-04 01:02:36 -04:00
Joey Hess
fc073b05b0 clarify where host libs come from 2014-12-03 14:51:29 -04:00
Joey Hess
076e9c55ba finished convering android build to pinned packages
Package versions match Debian jessie, except for a few differences
needed due to the different version of ghc pulling in a few buildin
packages with other versions.

Most of the patches were cherry-picked from past commits, since these are
older versions.
2014-10-16 00:31:59 -04:00
Joey Hess
4f62c5358c android rebuild WIP 2014-10-15 14:37:21 -04:00
Joey Hess
6b08fdc818 fix build failure with empty parameter 2014-10-15 11:19:14 -04:00
Joey Hess
3332c4289b no more need for .cabal/bin in PATH 2014-10-15 01:17:17 -04:00
Joey Hess
dadb152988 fix path 2014-10-14 17:04:39 -04:00
Joey Hess
395371ea37 make cabal.config be available whenever cabal install is run
Ensures the constraints are consistently applied.
2014-10-14 16:02:02 -04:00
Joey Hess
cf005058e4 use cabal.config when installing native 2014-10-14 15:34:06 -04:00
Joey Hess
7a78d111fc use pinned package versions from cabal.config 2014-10-14 15:25:02 -04:00
Joey Hess
375158f6b5 refresh android and no-th haskell patches to latest package versions from cabal
Added a cabal.config file; the result of running cabal freeze.
It's not used yet (needs a newer cabal than is in debian stable),
but the plan is that once the autbuilders are swiched to jessie,
this can be used to make cabal install the same versions of packages
that this patch got building, and so avoid breaking every time eg, yesod is
upgraded.

This commit was sponsored by Daniel Atlas.
2014-10-14 00:19:07 -04:00
Joey Hess
1f9ff049a7 armel autobuilder now working again! 2014-08-15 10:58:04 -04:00
Joey Hess
f268c2c8ee remove bloomfilter patch no longer needed 2014-07-14 16:55:48 -04:00
Joey Hess
7145d25972
work around another dep problem 2014-05-26 13:53:53 -04:00
Joey Hess
8886ccb102 export PATH to alex and happy 2014-05-26 13:13:33 -04: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
2b75beaf4f got tasty-rerun working on android 2014-03-12 12:25:32 -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
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
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
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
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
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
c869005231 future work 2013-09-23 17:39:53 -04:00
Joey Hess
5a99ae9511 fix cd 2013-09-23 10:25:21 -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
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