sgothel/gluegen — pull request #10 by revane (2012-02-28 21:34:30+00:00)
Title: Patch to build gluegen with Android NDK r7

Commit log for this patch is below. I haven't tried building with earlier NDK versions again. Also, when I tried building the JOGL samples for Android using current trunk I'm getting an exception which I don't think is related to my patch.

java.lang.NoSuchMethodError: javax.media.nativewindow.GraphicsConfigurationFactory.registerFactory

- A bug in cpptasks was getting in the way of a working build with NDK
r7. A local patch to cpptasks fixed the bug.
- The patch is added as make/lib/cpptasks_gcclinker.patch and applies
cleanly to cpptasts @ revision 177.
- The result of building cpptasks r177 with this patch is part of the
commit as well.
- Cleaned up and simplified the android cross-compile script in
make/scripts.
- Cleaned up arguments passed to gcc for compiling and linking to look
more like the command lines used for building NDK samples.
- Some differences are necessary as cpptasks won't let us specify any
binary other than 'gcc' for building. See
gluegen-cpptasks-android-armv7.xml for comments on the matter.
- Thinking forward to x86 support, generalized jogamp-androidtasks.xml
to install the gluegen shared library in a subdirectory of image/lib
named for the targetted ABI for packaging with aapt. This file is
no-longer ARM-specific.