Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.
The "AndroidReleasePatch" page has been changed by MattAdams. http://wiki.apache.org/couchdb/AndroidReleasePatch?action=diff&rev1=4&rev2=5 -------------------------------------------------- For use with [[Installing_on_Android]] {{{ - (to be updated) + diff -ru release-2011-01-26_22-07-58.bak/data/data/com.your.namespace/erlang/bin/erl release-2011-01-26_22-07-58/data/data/com.your.namespace/erlang/bin/erl + --- release-2011-01-26_22-07-58.bak/data/data/com.your.namespace/erlang/bin/erl 2011-01-26 22:08:02.000000000 -0700 + +++ release-2011-01-26_22-07-58/data/data/com.your.namespace/erlang/bin/erl 2011-01-26 22:39:33.000000000 -0700 + @@ -21,6 +21,7 @@ + BINDIR=$ROOTDIR/erts-5.7.5/bin + EMU=beam + PROGNAME=`echo $0 | sed 's/.*\///'` + +export ERL_INETRC=$ROOTDIR/bin/erl_inetrc + export EMU + export ROOTDIR + export BINDIR + diff -ru release-2011-01-26_22-07-58.bak/data/data/com.your.namespace/erlang/bin/erl_inetrc release-2011-01-26_22-07-58/data/data/com.your.namespace/erlang/bin/erl_inetrc + new file mode 100644 + --- /dev/null + +++ release-2011-01-26_22-07-58/data/data/com.your.namespace/erlang/bin/erl_inetrc 2011-01-26 23:32:55.000000000 -0700 + @@ -0,0 +1,5 @@ + +%% Use erlang's internal resolver. Native DNS on android is annoying + +{lookup, [file,dns]}. + +%% TODO: Not this, + +{nameserver, {8,8,8,8}}. + + + diff --git a/data/data/com.your.namespace/bin/couchjs_wrapper b/data/data/com.your.namespace/bin/couchjs_wrapper + new file mode 100755 + index 0000000..167b96e + --- /dev/null + +++ b/data/data/com.your.namespace/bin/couchjs_wrapper + @@ -0,0 +1,4 @@ + +#!/system/bin/sh + +echo "launched..." >> /sdcard/whathappened + +export LD_LIBRARY_PATH=/data/data/com.your.namespace/bin + +exec /data/data/com.your.namespace/bin/couchjs $@ + diff -ru release-2011-02-02_14-49-00.bak/data/data/com.your.namespace/erlang/lib/couch-1.0.1/priv/couchspawnkillable release-2011-02-02_14-49-00/data/data/com.your.namespace/erlang/lib/couch-1.0.1/priv/couchspawnkillable + --- release-2011-02-02_14-49-00.bak/data/data/com.your.namespace/erlang/lib/couch-1.0.1/priv/couchspawnkillable 2011-02-02 11:37:45.000000000 -0700 + +++ release-2011-02-02_14-49-00/data/data/com.your.namespace/erlang/lib/couch-1.0.1/priv/couchspawnkillable 2011-02-02 14:50:30.000000000 -0700 + @@ -1,4 +1,4 @@ + -#! /bin/sh -e + +#!/system/bin/sh -e + + # Licensed under the Apache License, Version 2.0 (the "License"); you may not + # use this file except in compliance with the License. You may obtain a copy of }}}
