Hi,
I have spotted this in the VM mailing list (I only read it via web occasionally these days, so please cc me for faster response if there is a problem, or file an issue in the squeakvm-tablet project).
Here are the instructions (still inexact, but someone followed them, and succeeded).
# clone the repo
git clone https://git.gitorious.org/~golubovsky/cogvm/dmg-blessed.git
# go to the build scripts directory
cd <repo/root>/codegen-scripts
# create the base Pharo image
export SQUEAKVM=<path/to/precompiled/squeak/vm/executable>; sh ./buildImage.sh -headless
# make sure there is no PharoDebug.log in <repo/root>/build, and there is generator.image (or there may be PharoDebug.log containing unrelated warnings, e. g. about AbstractLauncher - use -nosound instead of -headless if you would like to inspect the problem)
# generate the VM and plugins from VMMaker
sh ./generate.sh -headless StackEvtAndroidConfig
# build the native VM
cd <repo/root>/platforms/android/project
./ndk-build
This only builds the native VM. It is now librarified: to build actual Android project, see under <repo/root>/platforms/android/derived/generic - this should build an actual apk
ant clean && ant debug (reference to the native library is already in project.properties)
PS Some time ago I requested access to Jenkins to allow me set up Cogdroid build jobs - has there been any progress?
Thanks.
What does "generator.image" contain?
and does anyone have a reference document or suggested location in "the blue book" where I can find object formatting information?
On Thu, May 17, 2012 at 7:10 AM, Dmitry Golubovsky golubovsky@gmail.com wrote:
Hi,
I have spotted this in the VM mailing list (I only read it via web occasionally these days, so please cc me for faster response if there is a problem, or file an issue in the squeakvm-tablet project).
Here are the instructions (still inexact, but someone followed them, and succeeded).
# clone the repo
git clone https://git.gitorious.org/~golubovsky/cogvm/dmg-blessed.git
# go to the build scripts directory
cd <repo/root>/codegen-scripts
# create the base Pharo image
export SQUEAKVM=<path/to/precompiled/squeak/vm/executable>; sh ./buildImage.sh -headless
# make sure there is no PharoDebug.log in <repo/root>/build, and there is generator.image (or there may be PharoDebug.log containing unrelated warnings, e. g. about AbstractLauncher - use -nosound instead of -headless if you would like to inspect the problem)
# generate the VM and plugins from VMMaker
sh ./generate.sh -headless StackEvtAndroidConfig
# build the native VM
cd <repo/root>/platforms/android/project
./ndk-build
This only builds the native VM. It is now librarified: to build actual Android project, see under <repo/root>/platforms/android/derived/generic - this should build an actual apk
ant clean && ant debug (reference to the native library is already in project.properties)
PS Some time ago I requested access to Jenkins to allow me set up Cogdroid build jobs - has there been any progress?
Thanks.
-- Dmitry Golubovsky
Anywhere on the Web
On 16 May 2012 21:10, Dmitry Golubovsky golubovsky@gmail.com wrote:
Hi,
I have spotted this in the VM mailing list (I only read it via web occasionally these days, so please cc me for faster response if there is a problem, or file an issue in the squeakvm-tablet project).
Here are the instructions (still inexact, but someone followed them, and succeeded).
# clone the repo
git clone https://git.gitorious.org/~golubovsky/cogvm/dmg-blessed.git
# go to the build scripts directory
cd <repo/root>/codegen-scripts
# create the base Pharo image
export SQUEAKVM=<path/to/precompiled/squeak/vm/executable>; sh ./buildImage.sh -headless
# make sure there is no PharoDebug.log in <repo/root>/build, and there is generator.image (or there may be PharoDebug.log containing unrelated warnings, e. g. about AbstractLauncher - use -nosound instead of -headless if you would like to inspect the problem)
# generate the VM and plugins from VMMaker
sh ./generate.sh -headless StackEvtAndroidConfig
# build the native VM
cd <repo/root>/platforms/android/project
./ndk-build
This only builds the native VM. It is now librarified: to build actual Android project, see under <repo/root>/platforms/android/derived/generic - this should build an actual apk
ant clean && ant debug (reference to the native library is already in project.properties)
Dmirty, i added you as member to cog project on http://code.google.com/p/cog/ please put this valuable information to wiki, for the good of us all :)
PS Some time ago I requested access to Jenkins to allow me set up Cogdroid build jobs - has there been any progress?
i don't remember. There is no problem with giving the account, looks like we just forgot. I will discuss it with Christophe tomorrow.
Thanks.
-- Dmitry Golubovsky
Anywhere on the Web
Dmitry,
The updated build instructions are greatly appreciated. I had figured out enough to get a working vm, but these instructions make the process simpler than what I went through. I'm working on a few modifications that might be of interest to other Android users when they're done... is email a good way to submit patches for review? Also, are you looking to keep CogDroid running on as many versions of Android as possible or would 3.x+ specific (phone and tablet) mods be of interest?
Thanks, Phil
On May 16, 2012, at 3:10 PM, Dmitry Golubovsky wrote:
Hi,
I have spotted this in the VM mailing list (I only read it via web occasionally these days, so please cc me for faster response if there is a problem, or file an issue in the squeakvm-tablet project).
Here are the instructions (still inexact, but someone followed them, and succeeded).
DrGeo runs fine on from Android 1.x to 4.x series. So far, no compatibility problem with cogdroid
Hilaire
On 17/05/2012 06:14, Phil (list) wrote:
Dmitry,
The updated build instructions are greatly appreciated. I had figured out enough to get a working vm, but these instructions make the process simpler than what I went through. I'm working on a few modifications that might be of interest to other Android users when they're done... is email a good way to submit patches for review? Also, are you looking to keep CogDroid running on as many versions of Android as possible or would 3.x+ specific (phone and tablet) mods be of interest?
Thanks, Phil
On May 16, 2012, at 3:10 PM, Dmitry Golubovsky wrote:
Hi,
I have spotted this in the VM mailing list (I only read it via web occasionally these days, so please cc me for faster response if there is a problem, or file an issue in the squeakvm-tablet project).
Here are the instructions (still inexact, but someone followed them, and succeeded).
Hilaire,
My question was more related to adding features going forward. There are some things I'm thinking of adding that to make CogDroid a better experience on 3.x+ devices but would break compatibility with 2.x and prior. (I'm totally fine if the goal is maximum compatibility with older devices, I just need to know if I should be thinking about contributing mods that would do so or just maintain them for my needs)
Thanks, Phil
On May 17, 2012, at 4:29 AM, Hilaire Fernandes wrote:
DrGeo runs fine on from Android 1.x to 4.x series. So far, no compatibility problem with cogdroid
Hilaire
vm-dev@lists.squeakfoundation.org