Find file History
opacam and AndreMiras Minimal fixes to make pygame bootstrap work with python2legacy (#1587)
* Force SDL and pygame recipes to be build with python2legacy instead of python2

We don't know if pygame will work for the new python2, for now we force to be build only for python2legacy because we know for sure that it works (we always can grant python2 compatibility later or not...this could be the first step to deprecate pygame bootstrap)

* Make setup_pygame.py to use python2legacy

Because we will fix the pygame bootstrap build for python2legacy not for python2

* Adapt pygame bootstrap to new python build/distribution system (make use of refactored distribution methods)

* Adapt pygame bootstrap file `Application.mk` to newer ndks

And:
  - remove hardcoded entries
  - add cflags to allow build with newer ndks
  - comment APP_STL line and set it to c++_static because the gnustl will be removed in android ndk 18, plus the default behaviour is to use the static stl lib...so...better let the android build decide depending on the ndk used.

* Fix sdl's jpeg build with newer ndks

Because with the latest changes in master branch we need an ndk with the `unified headers feature`...so...we expect to find an ndk > 15 (preferably ndk17c or ndk18b at the time of writing)...this will allow us to use the same ndk for all bootstrap builds, otherwise we should use an old ndk to build the pygame bootstrap

* Fix start.c for pygame bootstrap and reduce specific code for pygame bootstrap

* Fix ant build for pygame bootstrap

The ideal would be to move the apk build from ant to gradle...but this will require more work...for now we fix the java version problem we have with ant's build....because the other option it's far more complicated...maybe we will get there in future commits...
Latest commit f36d340 Jan 14, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
testapp Updated testapp main.py Nov 3, 2016
testapp_flask Fix test apps for service_only and webview bootstraps Dec 19, 2018
testapp_keyboard More testapp rearranging Oct 28, 2016
testapp_nogui Moved tests folder to testapps Feb 14, 2016
testapp_service Add a test app for service_only's bootstrap Dec 19, 2018
testapp_sqlite_openssl Added sqlite and openssl testapp Nov 25, 2017
testapp_vispy Rearranged testapp folders and build files Oct 28, 2016
testlauncher_setup Fix orientation and app path Dec 12, 2016
testlauncherreboot_setup Add setup.py build for kivy-launcher reboot Nov 18, 2018
setup_keyboard.py Rearranged testapp folders and build files Oct 28, 2016
setup_pygame.py Minimal fixes to make pygame bootstrap work with python2legacy (#1587) Jan 14, 2019
setup_testapp_flask.py Fix test apps for service_only and webview bootstraps Dec 19, 2018
setup_testapp_python2.py [CORE UPDATE - PART I] Refactor python recipes + openssl + sqlite3 (#… Jan 9, 2019
setup_testapp_python2_sqlite_openssl.py [CORE UPDATE - PART I] Refactor python recipes + openssl + sqlite3 (#… Jan 9, 2019
setup_testapp_python2legacy_sqlite_openssl.py [CORE UPDATE - PART I] Refactor python recipes + openssl + sqlite3 (#… Jan 9, 2019
setup_testapp_python3.py [CORE UPDATE - PART I] Refactor python recipes + openssl + sqlite3 (#… Jan 9, 2019
setup_testapp_python3_sqlite_openssl.py [CORE UPDATE - PART I] Refactor python recipes + openssl + sqlite3 (#… Jan 9, 2019
setup_testapp_python3crystax.py Use API 27 as default for travis & examples Dec 16, 2018
setup_testapp_service.py Fix test apps for service_only and webview bootstraps Dec 19, 2018
setup_vispy.py Rearranged testapp folders and build files Oct 28, 2016