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
Joey Hess
f19e0d9f80
fix TLS certificate handling on Android
2013-05-09 12:38:26 -04:00
Joey Hess
78e1cd172e
forgot inotify
2013-05-09 11:35:01 -04:00
Joey Hess
d935314473
last few fixes to install-haskell-packages
2013-05-08 22:33:30 -04:00
Joey Hess
c9d7a8cc51
more fixes
2013-05-08 16:48:29 -04:00
Joey Hess
94d9caf1f7
Merge branch 'master' of ssh://git-annex.branchable.com
2013-05-08 14:02:25 -04:00
Joey Hess
8fe53c78c9
fix unix-time build to include cbits, and fix cbits to build
2013-05-08 14:01:47 -04:00
Joey Hess
48ce4c0597
install xmpp lib on native too
2013-05-08 13:31:30 -04:00
Joey Hess
a283f9907b
few more deps
2013-05-08 12:30:39 -04:00
Joey Hess
da3ca6eb0d
split native and cross builds
2013-05-08 12:23:38 -04:00
Joey Hess
5e0f1aea4a
work around cabal stupidity
2013-05-08 12:16:03 -04:00
Joey Hess
4976af73e6
add more deps
2013-05-08 12:12:42 -04:00
Joey Hess
fde6436ee8
add ifelse
2013-05-08 12:10:13 -04:00
Joey Hess
c792813672
hack around DAV issue
2013-05-08 12:08:24 -04:00
Joey Hess
9734c482a9
know also installs same versions on native system , for EvilSplicer
2013-05-08 11:31:42 -04:00
Joey Hess
d5cd86b977
finally got a clean build all the way through of all haskell libs
2013-05-08 02:20:52 -04:00
Joey Hess
f013864570
script that can rebuild all haskell packages, reproducibly
2013-05-07 19:36:49 -04:00
Joey Hess
b0e4a2f74a
fixes
2013-05-07 19:36:45 -04:00
Joey Hess
cb8fc922dd
Merge branch 'master' of ssh://git-annex.branchable.com
2013-05-07 19:18:39 -04:00
Joey Hess
ff942cc7ee
Merge branch 'master' of ssh://git-annex.branchable.com
2013-05-07 19:18:23 -04:00
Joey Hess
57767270d6
more patch cleanup
2013-05-07 19:18:21 -04:00
Joey Hess
ed58743953
remove unused patch
2013-05-07 19:17:22 -04:00
Joey Hess
a54402a047
add
2013-05-07 18:18:01 -04:00
Joey Hess
f13f9a6a7b
add
2013-05-07 17:53:44 -04:00
Joey Hess
36407928a9
fix filenames
2013-05-07 17:51:04 -04:00
Joey Hess
a27770ac85
version bytestring build dep to avoid cabal hell
2013-05-07 17:46:08 -04:00
Joey Hess
f040f8acc6
add
2013-05-07 17:39:12 -04:00
Joey Hess
86e25c4019
more build fixes
2013-05-07 16:13:59 -04:00
Joey Hess
216f1dcb5d
update patch, missed something
2013-05-07 16:08:57 -04:00
Joey Hess
09507924e6
rename patches for consistenct and machine application
2013-05-07 15:05:14 -04:00
Joey Hess
1e40e98a47
add patch, should fix some network issues
2013-05-07 14:59:39 -04:00
Joey Hess
621384ead3
add android.permission.WRITE_MEDIA_STORAGE
...
Needed to access removable media such as USB drives.
May only work with newer versions of Android.
2013-05-04 16:31:23 -04:00
Joey Hess
41e6c1de9a
prevent openssh from checking config file permissions
...
Android features filesystems with a variety of insane and wonderful
default permissions, such as ----rwxr-x
2013-05-04 16:00:02 -04:00
Joey Hess
4a2854d6fb
got hS3 to build
2013-05-04 15:34:13 -04:00
Joey Hess
71851f3180
android build fix
2013-05-04 14:25:24 -04:00
Joey Hess
82b57b65cd
don't start webapp in the background, so that password prompts can work
2013-05-03 14:59:13 -04:00
Joey Hess
543ffa5b9f
work around git/environment/gecos/android suck
...
I don't know why, but I can't seem to set the environment variables inside
git-annex to work around the git error caused by android's crappy username
and hostname settings. This workaround works, and that's all that's good
about it.
2013-05-03 14:08:26 -04:00
Joey Hess
063e344cbd
fix setup of runshell wrapper wrapper
2013-05-03 13:17:01 -04:00
Joey Hess
e3f76de319
better webapp startup, using the terminal app's default command config
...
This allows the user to turn it off easily, or only start the assistant and
not the webapp.
I was not able to determine why having runshell run the webapp segfaulted.
Strace was not helpful. Oh well, this is better anyway.
2013-05-03 12:39:33 -04:00
Joey Hess
201f802175
set TMPDIR
2013-05-03 11:56:53 -04:00
Joey Hess
cdddc58365
fixes
2013-05-03 11:51:58 -04:00
Joey Hess
214931546c
work around weird behavior when starting webapp not in shell
...
It seems to need nohup, or it segfaults on startup. I suspect the problem
is the command that opens the web browser.
2013-05-03 01:40:18 -04:00
Joey Hess
921d04501f
ensure HOME exists
...
The SD card could be replaced, or it got deleted some other way. Still let
git-annex start, and ensure anything that wants to write to HOME can.
2013-05-03 01:02:38 -04:00
Joey Hess
b3a3273741
improved runshell start
...
Start webapp in nohup so it doesn't close when window is closed and so it
doesn't output stuff over the shell prompt.
2013-05-03 01:00:00 -04:00
Joey Hess
9116580312
run webapp on startup
2013-05-02 22:42:51 -04:00
Joey Hess
be253aeff9
add a runshell script to the top of the app directory
...
This is mostly useful when you have adb with root access, to easily start the
git-annex environment in there.
2013-05-02 01:43:22 -04:00
Joey Hess
d983f68911
change the default GIT_ANNEX_ANDROID_SOURCETREE location to be in ~/tmp/
2013-05-01 22:37:20 -04:00
Joey Hess
9a24728d95
fix build stamps
2013-04-26 16:43:40 -04:00
Joey Hess
4df9036fa2
got XMPP building for Android
...
Also enable local pairing, which also builds now thanks to WebDAV
fixes to the haskell network library.
2013-04-21 19:10:23 -04:00
Joey Hess
84f0cb2ffc
fix unavailable symbols in bionic, should let webdav build
2013-04-19 16:32:16 -04:00
Joey Hess
c3748ae70d
got webdav going on android
2013-04-18 19:41:09 -04:00
Joey Hess
f14cb0b896
add import needed on autobuilder
2013-04-18 17:16:05 -04:00
Joey Hess
82dfd632af
only one more source file to go before the android webapp links.. but not tonight
2013-04-17 01:32:05 -04:00
Joey Hess
35f2e01c23
Evil Splicer only *thought* he was evil until this commit happened.
...
So many nasty hacks!
2013-04-16 21:47:08 -04:00
Joey Hess
02459e4c66
yesod-routes stuff for android build
2013-04-15 21:02:51 -04:00
Joey Hess
ed180036d5
add some more modules used by TH splices
2013-04-15 20:49:41 -04:00
Joey Hess
3deeb02430
updated yesod packages to export TH symbols and auto-spliced yesod-form
2013-04-15 17:42:46 -04:00
Joey Hess
737ece771b
update
2013-04-15 17:42:39 -04:00
Joey Hess
dd7e35ed97
incremental android builds with the EvilSplicer
2013-04-14 13:43:36 -04:00
Joey Hess
5f14ad8e36
LD_LIBRARY_PATH todo
2013-03-05 12:02:44 -04:00
Joey Hess
d9459a75b0
expanded some TH
2013-03-01 01:15:53 -04:00
Joey Hess
85db342a13
fall back to hardcoded app location
2013-03-01 00:06:32 -04:00
Joey Hess
1bc5734037
add patches porting necessary Haskell libraries to Android
...
This goes all the way up to Yesod, but everything above Wai is a real hack
job, removing TH left and right.
2013-02-28 23:43:26 -04:00
Joey Hess
1943bb31ab
build fix
2013-02-28 19:46:13 -04:00
Joey Hess
422928394e
fix android app upgrade hang
...
rm was blocked waiting for input
2013-02-28 19:18:56 -04:00
Joey Hess
6a52a47193
fix 2 bugs in android runshell
2013-02-28 19:12:54 -04:00
Joey Hess
e69cb08264
allow reloacting the source tree used for building android
...
Putting it outside the git-annex directory is useful to me, so I don't
accidentially tar it up into my release tarball.. which almost happened today.
2013-02-28 02:42:59 -04:00
Joey Hess
9b4c98ac52
autostart assistant
2013-02-26 15:42:29 -04:00
Joey Hess
e83808bcf7
shut up update.sh
...
Its bogus warning and error confuses the autobuilder. The "error" is
non-fatal.
2013-02-26 12:31:54 -04:00
Joey Hess
b328776abf
better incremental building of android utilities, for autobuilder
...
also cleaned up some cruft patches not used
2013-02-25 23:32:19 -04:00