Commit graph

33 commits

Author SHA1 Message Date
Mathieu Virbel
6ec26f957b ios: add iOS recipe 2015-02-12 00:51:54 +01:00
Mathieu Virbel
18c67317fe new ffi recipe 2015-02-02 05:22:01 +01:00
Mathieu Virbel
c2c552e7a9 numpy: first pass to supports numpy
Numpy requires severals requirements:
- It absolutely requires unittest, that was deleted before
(reduce-python.sh)
- It requires future_builtins (ModuleSetup)
- Deduplication of symbols now can merge multiple .a for easier
management in Xcode (tools/environments.sh)
- Avoid passing specific linker parameters to ar (-Wl ignored in
tools/liblink).

Numpy itself have few patch for:
- force endianess to be little, using directly endian.h leads to
detection error during the build process.
- force not BLAS to be built, Accelerate framework already have it
- rework the dependencies relation for lapack_lite and _umath_linalg,
to prevent duplicate symbols and force compilation of necessary module
/ missing symbols.
2014-11-24 02:56:38 +01:00
Olli Wang
a5015a746b Fixes the bug that MFMailComposeViewController not presented properly.
The get_viewcontroller() function assumed the SDL window is always the first window in the shared application. However, it is not there. This commit assumes the SDL window is the keyWindow of the shared application.

In the mailComposeController:didFinishWithResult:error: method. The code originally uses the same get_viewcontroller() function to dismiss the modal view. However, uses [controller presentingViewController] is more promising to make sure the view controller that presents the MFMailComposeViewController.

There are also errors showed in the log if animation is disabled. So I changed to use animation on both presenting and dismissing. And the errors in log gone.

Signed-off-by: Olli Wang <olliwang@ollix.com>
2014-01-29 17:07:13 +08:00
Thomas Hansen
28d7042856 Fixes for changes introduced by installing new XCode5 CommandLineTools, which put system headers in /usr/local. This change makes sure that the hostpython is using the system sdk, and PIL does not explicitly include /usr/include etc. as the highest priority path to look for headers in...that wont work if we are cross compiling. 2013-10-25 15:23:44 -05:00
Mathieu Virbel
7f247d4af3 fixes bad path resolution in Python setup.py (zlib.h is not located into /usr/include anymore.) 2013-10-25 17:33:47 +02:00
ivpusic
aca9a0eab7 added missing patches 2013-08-27 00:33:42 +02:00
ivpusic
8217ea4a55 fixed ctypes error. Added .patch files for required modifications to get working pyobjus on iOS. 2013-08-26 20:39:29 +02:00
ivpusic
a2aeb88386 fix for _ctypes compilation on device 2013-08-26 04:07:09 +02:00
ivpusic
43b613d9fa some patches for _ctypes compilation. Still it doesn't works. 2013-08-23 14:16:31 +02:00
Toni Bagur
02278679df modified: src/jpeg_files/jpeg_makefile.patch
modified:   src/pil_files/patch_pil.patch
	modified:   tools/build-libjpeg.sh
2013-07-12 15:11:30 +02:00
Toni Bagur
443cce7076 Fixing some problems in the libjpeg building process
new file:   ../../src/jpeg_files/jpeg_makefile.patch
	modified:   ../../tools/build-libjpeg.sh
2013-07-12 14:31:01 +02:00
Toni Bagur
5561d15db5 Adding scripts to build PIL for kivy-ios
new file:   pil_files/patch_pil.patch
	new file:   ../tools/build-libjpeg.sh
	new file:   ../tools/build-pil.sh
2013-07-12 11:16:34 +02:00
Mathieu Virbel
6af1a56be6 update to latest SDL master. keyboard API changed, kivy need to be updated as well. 2013-03-03 06:34:46 +01:00
Mathieu Virbel
2bf3ce17fc add pyexpat as a builtin module. closes 18 2013-02-28 23:51:09 +01:00
Mathieu Virbel
7d92d106c5 remove symlink of tito directory. closes #39 2013-02-28 19:32:00 +01:00
Thomas Hansen
97db40abc1 update libtremor patch to also change obsolete AM_CONFIG_HEADER to AC_CONFIG_HEADERS. AM_CONFIG_HEADER does not work since automake 1.4 2013-02-26 14:28:39 -06:00
Mathieu Virbel
ba638deb45 remove sdl tests files 2012-12-24 00:45:35 +01:00
Mathieu Virbel
6a1e722cc4 fix _scproxy error when importing urllib by adding a fake _scproxy.py 2012-11-21 16:10:05 +01:00
Mathieu Virbel
f24fc6844f ios: add method for calculating DPI and read UIscreen scale 2012-11-02 20:03:50 +01:00
Mathieu Virbel
e477068654 add sqlite3 support by default. closes #23 2012-10-28 02:59:17 +02:00
Mathieu Virbel
86327f2ea9 update to latest SDL 2012-10-14 23:44:30 +02:00
Mathieu Virbel
06d30e79d5 add missing SDL/gles* files 2012-07-07 22:35:16 +02:00
Mathieu Virbel
e6e3879a9b ios: if no mail is configured, prevent crashing and return a status code "cannotsend". 2012-05-25 18:39:48 +02:00
Mathieu Virbel
7f5a10a6bf remove SDL build directory 2012-05-25 18:35:22 +02:00
Mathieu Virbel
c71ad6dd47 update to latest SDL 2012-05-25 01:23:09 +02:00
Mathieu Virbel
0147538dfd add webbrowser support for ios 2012-05-10 03:43:52 +02:00
Mathieu Virbel
9a4448c35c fix tremor compilation / ogg path / remove xiph fallback 2012-04-22 14:40:40 +02:00
Mathieu Virbel
a3e533f1fc ios/mail: prevent a weird error appearing by not animating mail window
+ fix cython warning
2012-03-13 17:41:18 +01:00
Mathieu Virbel
bc48d359e7 handle unicode string (except for mimetype/filename) 2012-03-12 19:14:39 +01:00
Mathieu Virbel
290efe79e7 ios module: add alias filename for email 2012-03-12 19:09:30 +01:00
Mathieu Virbel
2f7c173c7f introduce "ios" python module, with the first "send_email" method that use MessageUI framework. 2012-03-12 18:07:16 +01:00
Mathieu Virbel
b75b93f6aa move all to src 2012-03-08 18:08:11 +01:00