apkenv Compatibility Wrapper Generator Scripts
Python Shell C C++
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
gles
BUGS
COPYING
README
default_includes.h
environment.sh
find_headers.sh
function_prototype.sh
function_prototype_android.sh
generate_wrappers.py
preprocess_includes.sh
preprocess_includes_android.sh
shlib_extract.sh

README

 apkenv Compatibility Wrapper Generator
 ======================================

Scripts to auto-generate C wrapper functions for libc and OpenGL ES (1.x for
now) library functions to be used by apkenv.

License of the scripts: See the COPYING file.

You might need:

    The Android NDK (set paths in environment.sh)
    The Harmattan Platform SDK (Scratchbox)
    cproto (Debian/Ubuntu: apt-get install cproto)
    manpages - at least for libc, ideally others too

On your host:

    bash shlib_extract.sh examples/*.so
    bash find_headers.sh output/*.required

In Harmattan Scratchbox:

    bash preprocess_includes.sh output/*.includes

On your host:

    bash function_prototype.sh output/*.harmattan
    for file in output/*.harmattan.h; do python generate_wrappers.py $file; done