I want to build Cairo/Pixman/Pango as a shared library using the Android NDK, but I've been having trouble making it work.
Looking for some help from someone who knows Android native development to get this open source code built into a .so file so I can include it as a plugin in the [login to view URL] engine using Mono.Cairo.
Project Requirements:
? Build script that issues the proper configure and make commands to generate a single Android .so file containing the Cairo, Pixman & Pango code, as well as any required dependencies (e.g., freetype2, libxml2).
? Instructions on how to use the build script and where the .so file is created.
? Script must be capable of compiling under Windows & Mac OS X.
? Script must successfully run for me on both platforms before project will be accepted.
## Deliverables
I have been using this webpage for guidance, and it probably has most of the hard work done, but something is missing:
[login to view URL]
I used the following to get the code onto my system:
git clone --recursive git://[login to view URL]
The pixman folder did not download though, so to get that I had to do the following:
git clone git://[login to view URL]
I had to change the NDK and TOOLCHAIN settings as follows:
NDK=$(HOME)/ndk
TOOLCHAIN=$(NDK)/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bin
I also changed the "configure" --build setting as follows to work for OS X:
./configure --build=i686-apple-darwin