Commit graph

165 commits

Author SHA1 Message Date
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
Mathieu Virbel
9a4448c35c fix tremor compilation / ogg path / remove xiph fallback 2012-04-22 14:40:40 +02:00
Joseph Hager
f32d0c99a4 Add a build phase that automatically calls populate-project for the user. 2012-04-17 20:58:40 -04:00
Joseph Hager
18687fb762 Determine the correct SDK and DEVROOT programmatically. 2012-04-17 15:49:42 -04:00
Mathieu Virbel
f4ff8677a0 fix lxml rootbuild 2012-04-01 13:32:31 +02:00
Mathieu Virbel
41161740d2 update template to include libios by default 2012-03-12 18:14:04 +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
54e0ff7f62 seperate download from unpack 2012-03-11 22:26:33 +01:00
Mathieu Virbel
0f2ab13935 add lxml as a possible recipe + ensure flags are reset after using other build-* 2012-03-11 17:23:15 +01:00
Mathieu Virbel
e6ae3dc0ed update template to fix import path + reworked embed include for python (import site need pyconfig.h only) 2012-03-11 17:22:45 +01:00
Mathieu Virbel
6c6ad6bf7c remove include in package + fix code sign to iphone developer by default 2012-03-11 01:54:25 +01:00
Mathieu Virbel
2e1af4a224 enhance reduce python to create automatically the python27.zip 2012-03-11 01:54:06 +01:00
Mathieu Virbel
6b024f796e fix creation/populate of app 2012-03-09 02:46:16 +01:00
Mathieu Virbel
fcd89f675a fix path of all build script + add sdlmixer in build-all 2012-03-08 20:45:55 +01:00
Mathieu Virbel
2eb7ce33ff renmae 2012-03-08 18:09:31 +01:00
Mathieu Virbel
b75b93f6aa move all to src 2012-03-08 18:08:11 +01:00
Mathieu Virbel
cfa91a7458 first part of cleaning 2012-03-08 18:05:47 +01:00