Commit graph

166 commits

Author SHA1 Message Date
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
Mathieu Virbel
44825d7197 fix python compilation broken from a recent commit 2013-02-12 00:15:39 +01:00
Mathieu Virbel
af09496fa5 fix back the KIVYIOSROOT path 2013-02-11 21:44:48 +01:00
Mathieu Virbel
3875dd12e2 Merge pull request #37 from fictorial/master
This is a request for help for building a version of Kivy for the iOS Simulator.
2013-02-11 12:42:27 -08:00
Mathieu Virbel
cc2051fd0d fix compilation warning in main.m 2013-02-11 21:34:03 +01:00
Mathieu Virbel
e547ffb97d replace SDKROOT with IOSSDKROOT. closes #33, #32, #30 2013-02-11 21:33:52 +01:00
Brian Hammond
952bffcebd First stab at Universal Python 2013-02-04 15:57:33 -05:00
Brian Hammond
d67552a703 Fix KIVYIOSROOT setting 2013-02-04 14:40:21 -05:00
Mathieu Virbel
79c3f66793 fix populate 2013-01-23 02:15:26 +01:00
Mathieu Virbel
803803b2b1 fix builtin importer headers + fallback on the "normal" module 2013-01-23 02:03:57 +01:00
Mathieu Virbel
8a2f5a621b fix lxml compilation 2013-01-23 02:03:32 +01:00
Mathieu Virbel
199850bec5 cythonize: use the last part in the modname (example: lxml.etree modulename is etree only.) 2013-01-23 02:03:22 +01:00
Mathieu Virbel
3d6297e6fc use rsync to populate the project instead of rm + cp -a 2013-01-23 02:02:40 +01:00
Mathieu Virbel
c96e9f72f2 ios: fix warning from the recent CustomBuiltinImporter 2013-01-13 01:46:14 +01:00
Mathieu Virbel
e58e114420 add audiostream recipe 2013-01-05 12:18:06 +01:00
Mathieu Virbel
92f38fe2d7 fix builtin module conflict
Now all the cythonized modules are rewrite with a mangled name of
package + module name. This avoid symbol conflict if you have the same
module.so as another library (for example, audiostream.sources.thread
and python thread.so was in conflict).

Then, a custom builtin importer is loaded before the application start,
and when you will want to import audiostream.sources.thread, if will
import builtin audiostream_sources_thread.

kivy/ios/lxml/audiostream recipes are impacted. A full rebuild is
needed.
2013-01-05 12:17:52 +01:00
Mathieu Virbel
4e5de20389 fix build-sdl.all to be cwd change resistant 2012-12-16 13:40:15 +01:00
Mathieu Virbel
9a6b0acce4 Merge branch 'master' of ssh://github.com/kivy/kivy-ios 2012-12-09 21:22:05 +01:00
Mathieu Virbel
8d8e26c75f change kivy default branch to master. 2012-12-09 21:21:00 +01:00
Thomas Hansen
f763bf437b freetype: doenload gzip source instaed of bzip
bzip wasn;t extaracted correctly on one retina mac book pro with mountain lion?!
2012-11-23 14:30:32 -06: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
10c9887263 update env to install ttf, vorbis and ogg in tmp/root. Then use that prefix for compiling sdlmixer and sdlttf. 2012-11-21 00:12:42 +01:00
Mathieu Virbel
83702e5f36 Revert "Update tools/build-sdlmixer.sh"
This reverts commit 886f344d08.
2012-11-02 20:32:30 +01:00
rogererens
886f344d08 Update tools/build-sdlmixer.sh
Added an Include library to ACLOCAL_FLAGS to search the autoconf
directory when MacPorts was used to install dependencies.
MacPorts installs by default into /opt/local.
2012-11-02 16:14:47 +01:00
Mathieu Virbel
b35e86e470 ios: fix missing CFLAGS export. This was the issue, but then, it seem that some system accept ARM_CFLAGS as a standard name when compiling to ARM ???. closes #22 2012-10-29 11:23:38 +01:00
Mathieu Virbel
e477068654 add sqlite3 support by default. closes #23 2012-10-28 02:59:17 +02:00
Mathieu Virbel
128b3ed816 read orientations values from the Info.plist 2012-10-15 12:40:01 +02:00
Mathieu Virbel
0ca8489393 SDL: fix changes from the newer hg SDL version, libSDL.a -> libSDL2.a 2012-10-15 00:23:28 +02:00
Mathieu Virbel
e76b539bb3 fix env test 2012-10-13 18:01:33 +02:00
Mathieu Virbel
7f85afb2ed protect -x under VERBOSE=1 env 2012-10-13 17:59:34 +02:00
kivmtest
f2f7234522 SDL_mixer : Specify branch SDL-1.2 for download
https://github.com/kivy/kivy-ios/issues/19

Default SDL_mixer branch now wants to build version 2, which causes both the SDL_mixer build to fail, and consequently, the kivy build as well.

Xcode Frameworks will show libSDL_mixer.a and libkivy.a are missing.

Specifying the SDL-1.2 branch results in the build working, fixing both problems.
2012-09-13 00:56:27 -07:00
Mathieu Virbel
a6b5859473 Update tools/populate-project.sh
Don't remove the previous directory the first time.
2012-07-25 15:07:42 +03:00
Mathieu Virbel
0291b0867f update sdl_ttf patch for SDL 2 (fix SDL_AllocSurface to SDL_CreateRGBSurface). closes #15 2012-07-21 19:10:39 +02:00
Mathieu Virbel
f70b893790 sdl-ttf: fix compilation when we never installed SDL on our system. the current buidl was relying on the sdl-config that doesn't exist.
Instead, generate a fake sdl.pc for pkg-config, and use it when compiling the SDL_ttf. closes #15
2012-07-21 16:54:24 +02:00
Mathieu Virbel
b70106c280 use our own hostpython and not the system one, to generate valid pyo files. closes #2 2012-07-19 01:55:25 +02:00
Mathieu Virbel
7d7cd44874 fix build script for latest sdl 2012-05-25 01:23:21 +02:00
Mathieu Virbel
4d07ae4112 fix lxml build 2012-05-10 03:01:07 +02:00
Mathieu Virbel
748aeee2ed show error if DEVROOT is not found on the disk 2012-05-04 01:09:41 +02:00