Commit graph

203 commits

Author SHA1 Message Date
Mathieu Virbel
3a2935f106 (whip) update environment to reflect the path of the new host python. This is temporary until the toolchain supports populate-project.sh. 2015-02-11 12:54:58 +01:00
Mathieu Virbel
456259f912 python/kivy: correctly install both of them into the dist/root 2015-02-09 23:34:02 +01:00
Mathieu Virbel
55345e1cae ensure that no ARCHFLAGS/CFLAGS/LDFLAGS from the user will be used. Ref: #109 2015-01-10 18:41:48 +01:00
Mathieu Virbel
3b45583353 Merge pull request #103 from schemacs/master
Add quotes to avoid shell expansion
2014-11-24 13:58:24 +01:00
Mathieu Virbel
a96f38ea77 Merge pull request #108 from kivy/support-numpy
Numpy support / recipe
2014-11-24 03:31:02 +01:00
Mathieu Virbel
9fd1190491 Merge pull request #105 from arcticshores/custom-kivy-repo
Allow customisation of kivy repo with env var KIVY_REPO.
2014-11-24 02:57:45 +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
Mathieu Virbel
eb12e12491 add missing bridge templates 2014-11-24 02:56:09 +01:00
Safe Hammad
4a9caa0846 Allow customisation of kivy repo with env var KIVY_REPO. 2014-11-07 10:54:16 +00:00
Lele Long
1c06b09a6f Add quotes to avoid shell expansion 2014-11-03 00:06:24 +08:00
Mathieu Virbel
2f8d7c0c26 Merge pull request #101 from matafc/xcode6-libffi
Fixes #100
2014-09-30 02:14:19 +02:00
Mathieu Virbel
d8ee195830 Merge pull request #80 from olliwang/python3
Update print and open file statements for Python3 compatibility.
2014-09-29 22:04:49 +02:00
Mathieu Virbel
54347f6d8a Merge pull request #91 from Zen-CODE/add_openssl
Add optional openssl support
2014-09-29 22:04:26 +02:00
Mathieu Virbel
baeaf47f82 Merge pull request #94 from thopiekar/master
Some little additions
2014-09-29 22:03:56 +02:00
Mathieu Virbel
4b9ae3609a Merge pull request #96 from trivedigaurav/patch-3
Fix typo
2014-09-29 22:03:37 +02:00
Frank Mata
e5a70bb6fb Change "-miphoneos-version-min=4.0" to "-miphoneos-version-min=6.0" in generate-ios-source-and-headers.py for libffi-3.0.13 2014-09-25 21:57:23 -07:00
gtrivedi
145e77bf81 Added build-plyer.sh 2014-08-09 18:27:46 -04:00
gtrivedi
f485f0bbde Added plyer build script 2014-08-09 18:25:16 -04:00
trivedigaurav
1cb6f754ed FIx typo 2014-08-01 17:43:09 -04:00
Thomas-Karl Pietrowski
bb5729a885 Adding info about iOS SDK path searching 2014-07-07 10:43:23 -07:00
Richard Larkin
ce0f1e5d22 Removed prompt 2014-05-15 16:57:14 +02:00
Richard Larkin
f4287f11f6 Corrected spelling 2014-05-15 16:33:15 +02:00
Richard Larkin
4e29cb4bd6 Added missing cp command 2014-05-15 16:32:20 +02:00
Richard Larkin
03dd1a494b Skip building if binaries exist 2014-05-15 11:47:38 +02:00
Richard Larkin
c8cc6d73dc Added duplicate copy following existing code 2014-05-15 08:31:21 +02:00
Richard Larkin
ac260a760a Added link to ios-openssl source site 2014-05-14 14:27:19 +02:00
Richard Larkin
06fa93c6e7 Check for existence of Setup.dist 2014-05-14 14:06:38 +02:00
Richard Larkin
436f0ef21b Corrected file name link 2014-05-14 13:59:35 +02:00
Richard Larkin
15ed8fb0de Corrected placement of openssl script 2014-05-14 13:44:27 +02:00
Richard Larkin
c839c06e09 Corrected indent 2014-05-14 12:51:20 +02:00
Richard Larkin
6bf1d25d71 Added extr line for linking 2014-05-14 12:49:09 +02:00
Richard Larkin
46157cda7c Added line to copy Setup.dist for openssl 2014-05-14 12:46:47 +02:00
Richard Larkin
167fc914e3 Renamed ssl link file 2014-05-14 12:45:10 +02:00
Richard Larkin
0b9328143d Included ssl linking script 2014-05-13 16:11:03 +02:00
Richard Larkin
6abc36e923 Added script including rebuild of Python with ssl links 2014-05-13 15:12:54 +02:00
Richard Larkin
0723fc81ed Moved the ssl building to before python to prepare for link building 2014-05-13 12:54:23 +02:00
Richard Larkin
6f4e0b476d A rebuild of all binaries is now forced 2014-05-08 10:13:16 +02:00
Richard Larkin
a07f830ed7 Neatened script 2014-05-05 22:06:42 +02:00
Richard Larkin
d11db8854e Corrected file check 2014-05-05 21:40:05 +02:00
Richard Larkin
3ee6ed46e9 Fixed typo 2014-05-03 08:56:53 +02:00
Richard Larkin
dcebc31d35 Added comment 2014-05-03 08:55:16 +02:00
Richard Larkin
e8a229cca2 Added directory flag 2014-05-02 23:13:31 +02:00
Richard Larkin
0aa737daec Added folder creation 2014-05-02 22:59:34 +02:00
Richard Larkin
ddf78cfbba Added copying of built binaries 2014-05-02 10:46:15 +02:00
Richard Larkin
fc8715c3a9 Added sh prefix fir building 2014-05-02 09:58:42 +02:00
Richard Larkin
b3fb9ec62b Tweaked build inclusion 2014-05-02 09:42:47 +02:00
Richard Larkin
372a5fe02e Added commented OpenSSL inclusion 2014-05-02 09:21:59 +02:00
Richard Larkin
6549e25c08 Added openssl script 2014-05-02 09:18:41 +02:00
Mathieu Virbel
12f233cedb python: fix new url download + ensure we are following any redirection in the future. closes #85 2014-03-24 12:16:58 +01:00
Mathieu Virbel
8b4e2721fb ffmpeg: fix root directory 2014-03-24 12:14:32 +01:00
BoonsNaibot
e34a816207 Updated python url 2014-02-24 12:04:27 -06:00
Mathieu Virbel
abccf67cb1 add ffmpeg builds script 2014-02-20 17:55:09 +01:00
Mathieu Virbel
ca544fc29e allow customization of kivy branch 2014-02-03 17:16:47 +01:00
Olli Wang
3761cf233d Updates print and open file statements for Python3 compatibility.
Replaces print statement as print() and replaces file() with open() to resolve error occurred when running the `tools/build-ios.sh` script under Python 3 environment.

Signed-off-by: Olli Wang <olliwang@ollix.com>
2014-02-03 13:58:11 +08:00
Mathieu Virbel
cdd79ab77c ensure byte-compiling py->pyo will work. closes #71 2013-10-27 13:24:14 +01: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
Mathieu Virbel
71a81a6924 force environ when opening a subprocess (cythonize) 2013-10-22 13:29:45 +02:00
Mathieu Virbel
d82802f277 Merge pull request #66 from shadowmint/master
Fixed PIL build flags and Tremor import path
2013-10-18 04:54:42 -07:00
Richard Larkin
0c21ea6f77 fix: correct permission issue in cloning repo 2013-10-16 20:28:04 +02:00
doug
45aee82636 libtremor download is now more robust on failure 2013-10-16 09:21:03 +08:00
doug
36d27030dd Fixed PIL build flags and Tremor import path 2013-10-12 20:47:35 +08:00
Mathieu Virbel
9b35cdbaa2 activate pyobjus again 2013-10-08 11:07:24 +02:00
Mathieu Virbel
395c40b9af first pass to move from llvm-gcc-4.2 to clang 2013-10-08 11:02:05 +02:00
Mathieu Virbel
07944c3a70 pyobjus: replace the ivpusic repo to kivy repo 2013-09-28 00:04:52 +02:00
Mathieu Virbel
7eb5961d88 Merge pull request #61 from ivpusic/master
pyobjus support
2013-09-27 15:03:33 -07:00
Richard Larkin
b3a9b5bee5 fix: prevent 'illegal byte code sequence' when parsing png files 2013-09-27 14:38:31 +02:00
ivpusic
5df6c725a9 updated project template. Also updated script for building pyobjus. Script now copy bridge.m/h files to templates dir, so they can be included by default as some start template for new projects. It contains code for accelerometer 2013-09-04 01:53:33 +02:00
ivpusic
37d718c20f removed cythonizing from build-pyobjus. cythonizing is now donne inside setup.py 2013-08-28 04:29:55 +02:00
ivpusic
16f0618c0e small fix 2013-08-27 14:05:56 +02:00
ivpusic
4fae87d527 updated project template 2013-08-27 14:00:29 +02:00
ivpusic
21efbbe530 added fix for message -> sed: RE error: illegal byte sequence 2013-08-26 23:39:35 +02:00
ivpusic
612d0925c7 updated template project. Added libffi.a and libpyobjus to link with binaries section 2013-08-26 23:22:49 +02:00
ivpusic
330c1974b6 pyobjus is getting code from ivpusic/master instead of ivpusic/test_on_device branch 2013-08-26 20:52:24 +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
ivpusic
aedcd4e9eb added build libffi script, and fix of pyobjus script 2013-08-22 19:14:21 +02:00
ivpusic
a4b5540d3e added build-pyobjus.sh script 2013-08-21 14:09:25 +02:00
Mathieu Virbel
490b7d45b2 manually add /usr/local/share/aclocal to find pkg.m4. 2013-08-02 13:35:48 +02:00
Toni Bagur
3f37ca6d52 Modifying the main build script in order to include the jpeg and pil building processes
modified:   build-all.sh
2013-07-13 11:17:39 +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
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
1f975c73cf use stable kivy branch by default 2013-05-13 10:39:32 +02:00
Mathieu Virbel
4a132275cb avoid listing non-existing path in PATH. 2013-05-07 08:48:16 +02:00
Mathieu Virbel
da698b29a6 ios bootstrap: if we dont detect xcode environment, fake stdout/stderr to not crash on print, Logger, and anything that could use sys.stdout/err. 2013-04-26 12:13:23 +02:00
Mathieu Virbel
cc4577186a force setting to not strip the product on installation (STRIP_INSTALLED_PRODUCT = NO) 2013-04-15 15:35:01 +02:00
Mathieu Virbel
bca88cbb8d fix DEBUG -> ifndef. condition was inverted ?!!!! 2013-04-15 15:28:02 +02:00
Mathieu Virbel
7b44cdefc3 make cython check optional 2013-04-15 08:51:42 +02:00
Mathieu Virbel
6b5c3a691c env: add manually /usr/local/bin to the PATH, seems like on some setup, its not included by default. 2013-04-11 23:09:12 +02:00
Mathieu Virbel
4fbea35e17 allow "tex" image loader by default, and add DEBUG=1 for showing the log in the console, only in debug mode. 2013-03-08 00:07:55 +01:00
Mathieu Virbel
066e868534 add requirements check for autoconf, automake, libtool, pkg-config, hg 2013-03-01 18:40:51 +01:00
Mathieu Virbel
20f932be92 ensure pkg-config is installed before going further. closes #43 2013-03-01 18:37:40 +01:00
Mathieu Virbel
0062353c58 finally fixed the _usedpool warning. thanks to the http://stackoverflow.com/questions/11064984/how-to-link-a-static-library-for-ios. closes #4 2013-03-01 11:29:52 +01:00
Mathieu Virbel
d0eacfc3ae replace PYTHON_VERSION with IOS_PYTHON_VERSION, and factorize HOSTPYTHON into environment.sh. closes #27 2013-02-28 19:21:58 +01:00
Mathieu Virbel
ad85ed15f0 detect if we could use cython-2.7 prior to cython. closes #28 2013-02-28 19:07:05 +01:00
Mathieu Virbel
5e3c5768b4 use sourceforge instead of savannah for downloading freetype. closes #34 2013-02-28 18:48:51 +01:00
Mathieu Virbel
aed84ab0b2 use aclocal --print-ac-dir. closes #26 2013-02-28 18:40:21 +01:00
Mathieu Virbel
d56d94f74e fixes iphone5 deployment: when you connect an iphone5, xcode said that the active architecture is armv7s. We compile only for armv7. armv7s is not in our valid architecture list, and we would need to change the toolchain too for that. 2013-02-12 04:12:34 +01:00
Mathieu Virbel
c8b8e2c67f revert a bad merge, universal python is absolutely not fixed >_> 2013-02-12 00:39:38 +01:00