Commit graph

183 commits

Author SHA1 Message Date
Mathieu Virbel
cfc9dc1c29 libffi/hostlibffi: force the binary to be python2.7, as by default osx don't have an alias for python2. This will allow the build system to use system python2.7 if brew python2 is not installed.
Closes #309
2018-11-16 10:42:12 +01:00
Mathieu Virbel
c9ca2de912 fixes plyer and pkgresources recipes that was depending on old platform 2018-11-10 10:14:39 +01:00
Mathieu Virbel
654f71f481 Merge branch 'master' of github.com:kivy/kivy-ios 2018-11-10 10:09:45 +01:00
Mathieu Virbel
4258cfd64b remove moodstocks, service is gone 2018-11-10 10:09:27 +01:00
Mathieu Virbel
fa5229f2a4 make python/hostpython version in the first list of recipes mandatory, otherwise we dont know which python version it will uses 2018-11-10 01:40:55 +01:00
Mathieu Virbel
7f139e382e remove pymoodstocks recipes, the service got shutdown 2018-11-09 20:39:18 +01:00
Mathieu Virbel
f316b8422c Merge branch 'python3' of github.com:kivy/kivy-ios into python3 2018-11-09 19:52:58 +01:00
Mathieu Virbel
0e52dab468 fix recipes order with hostpython/python alias that didnt work in the first run 2018-11-09 19:14:05 +01:00
Mathieu Virbel
9ad9abf9b6 fix cookiecutter project for python3 2018-11-09 18:48:08 +01:00
Mathieu Virbel
7c8a2c6c4b rework toolchain for python 3, new possibility to have a specific name for the include directory (like the recipe libffi install in ffi directory, not libffi), and new pyobjus recipe (works with new-ios-toolchain branch). 2018-11-09 17:54:56 +01:00
Mathieu Virbel
811cbd48a7 add alias for hostpython/python, that point to either 2 or 3 version depending of the previous compiled state.
This allows the recipe to point on an versionless python.
2018-11-02 11:44:25 +01:00
Mathieu Virbel
9762ee754c move hostpython/python to hostpython2/python2 2018-11-02 11:42:54 +01:00
Mathieu Virbel
6c043cf9f3 python3: recipe with cross compilation patch + example of main.m that works 2018-11-01 21:53:18 +01:00
Mathieu Virbel
7ed286efa8 hostpython3: enforce zlib compilation 2018-11-01 20:40:01 +01:00
Mathieu Virbel
3c77617141 sdl2: fix missing pbx frameworks 2018-11-01 20:39:28 +01:00
Mathieu Virbel
7baf869fac add hostpython3 recipe 2018-10-31 11:34:51 +01:00
Mathieu Virbel
a732b7526a remove about quiet 2018-10-30 17:05:59 +01:00
Mathieu Virbel
5686d556a5 Merge branch 'master' of github.com:kivy/kivy-ios 2018-10-30 15:01:21 +01:00
Mathieu Virbel
5a8b47ec19 update to SDL2 2.0.8, dont use the special branch anymore. Tested on iPAD with iOS 9 2018-10-30 14:59:29 +01:00
Mathieu Virbel
9bd149335c fix missing pbx framework for latest sdl2 2018-10-30 14:57:51 +01:00
Akshay Arora
d6835dd826
Update __init__.py 2018-10-29 15:13:10 +05:30
Mathieu Virbel
3f262e6549 fix hostpython openssl inclusion, and cxxsh 2018-10-28 13:18:54 +01:00
Mathieu Virbel
97a5e399bf fixes libffi for xcode 10 2018-10-27 18:51:07 +02:00
Mathieu Virbel
5a60fa58fe fixes hostlibffi for latest xcode (removes 32 bits compilation unsupported by xcode, and fixes cache issues within xcode) 2018-10-27 16:21:15 +02:00
Akshay Arora
624593b167
Merge pull request #287 from LarsDu/master
Added kivent_core and cymunk recipes
2018-07-11 05:42:28 +05:30
Charles Baynham
2674fc4ac0 Add recipe for pykka 2018-06-14 16:37:41 +01:00
Lawrence Du
71928646a2 Added kivent_core and cymunk recipes. Added *~ to .gitignore. Fixed a typo in kivent_core/__init__.py imports. 2018-05-23 09:41:09 -07:00
Lawrence Du
c3af68ad99 Added contact info to cymunk recipe 2018-05-23 09:25:52 -07:00
Lawrence Du
4eca2c46b1 Added kivent_core and cymunk recipes. Added *~ to .gitignore to prevent pushing emacs temporary files. 2018-05-23 09:23:21 -07:00
toni
de7abcbb59 Fixing compilation problems on osx 10.12 with xcode 9.
*Important Note:
When the xcode project is created, in order to get kivy working you have to manually add the following framewors:
- CoreMotion
- libz
- libsqlite3
2017-10-09 11:28:22 +02:00
Shivani Bhardwaj
c212f02167 Make webview window size customizable
Webview window size can now be passed as a parameter to `open` function of IOSWebview.
2017-06-05 14:31:44 +05:30
Mathieu Virbel
c09a150f56 Merge branch 'master' of github.com:kivy/kivy-ios 2017-05-30 16:06:05 +02:00
Mathieu Virbel
35cd3f738b rework pip to use --prefix and --isolated, instead of the variable env 2017-05-30 16:05:54 +02:00
Mathieu Virbel
54b9a0dad6 Merge pull request #249 from kived/concurrent-build
add concurrent make, xcodebuild, gzip/bzip2
2017-05-19 13:52:11 +02:00
Mathieu Virbel
819fa05712 fixes ipv6 for python (tested with ipv4/ipv6 + http/https). Closes #218 2017-05-14 20:39:16 +02:00
Mathieu Virbel
91ecf0fe4a update Kivy to 1.10.0, and fixes import graphics issues. Closes #240 2017-05-14 17:54:14 +02:00
Akshay Arora
9dc04610e8 Merge pull request #243 from shivan1b/add-webview
Add webview
2017-05-14 09:59:36 +05:30
Ryan Pessa
0239bde32d add concurrent make, xcodebuild, gzip/bzip2 2017-05-01 23:12:46 -07:00
Mathieu Virbel
0ab3c98e6a prevent usage of ftp, not reliable enough. 2017-05-01 14:03:28 +02:00
Mathieu Virbel
cdf664d9bf fixes python3 issue on osx. Closes #224 2017-04-29 17:51:42 +02:00
Dominik Jochym
c5dab82a64 Bump openssl version to 1.0.2k. 2017-03-13 21:06:35 +00:00
Shivani Bhardwaj
399694e0df Add class IOSWebView and wrapper functions 2017-02-27 18:15:20 +05:30
Shivani Bhardwaj
d46da92cc6 Include webview in header 2017-02-27 18:15:01 +05:30
Shivani Bhardwaj
9944c82c7c src: ios_browser: Add support for webview
Add webview support for kivy-ios. Any URL can be opened in webview by
just doing the following:

```
import ios
url = "http://www.google.com"
ios.IOSWebView().open(url)
```

Tested:OK
2017-02-27 18:11:20 +05:30
Richard Larkin
93c792e5e9 Add pyobjus dependency. closes #229 2016-12-14 13:42:57 +02:00
Richard Larkin
81121838c9 Merge pull request #204 from sighthoundinc/master
Update python loader to load from frameworks as well as main exe (i.e…
2016-11-09 23:28:49 +02:00
Henrique Dias
5a07f17f86 The recipe don't download the archive.
If I try download the archive manually, this url "http://vorboss.dl.sourceforge.net/project/libpng/libpng16/1.6.24/libpng-1.6.24.tar.gz" redirect to "https://sourceforge.net/projects/libpng/files/"

...
Extract libpng
Extract libpng for i386
Traceback (most recent call last):
  File "./toolchain.py", line 1311, in <module>
    ToolchainCL()
  File "./toolchain.py", line 1082, in __init__
    getattr(self, args.command)()
  File "./toolchain.py", line 1106, in build
    build_recipes(args.recipe, ctx)
  File "./toolchain.py", line 974, in build_recipes
    recipe.execute()
  File "/Users/prrcarvalho/Development/kivy-ios-master/toolchain.py", line 585, in execute
    self.extract()
  File "/Users/prrcarvalho/Development/kivy-ios-master/toolchain.py", line 56, in _cache_execution
    f(self, *args, **kwargs)
  File "/Users/prrcarvalho/Development/kivy-ios-master/toolchain.py", line 621, in extract
    self.extract_arch(arch.arch)
  File "/Users/prrcarvalho/Development/kivy-ios-master/toolchain.py", line 625, in extract_arch
    dest_dir = join(build_dir, self.archive_root)
  File "/Users/prrcarvalho/Development/kivy-ios-master/toolchain.py", line 577, in archive_root
    value = self.get_archive_rootdir(self.archive_fn)
  File "/Users/prrcarvalho/Development/kivy-ios-master/toolchain.py", line 442, in get_archive_rootdir
    archive = tarfile.open(filename)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tarfile.py", line 1673, in open
    return func(name, "r", fileobj, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tarfile.py", line 1738, in gzopen
    fileobj = gzip.GzipFile(name, mode, compresslevel, fileobj)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/gzip.py", line 94, in __init__
    fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb')
IOError: [Errno 2] No such file or directory: '/Users/prrcarvalho/Development/kivy-ios-master/.cache/libpng-libpng-1.6.24.tar.gz'
2016-11-09 18:24:16 +00:00
Richard Larkin
77d8d52e59 Merge pull request #209 from filipefigcorreia/libpng-recipe
New recipe for libpng
2016-11-09 20:00:57 +02:00
Robert Niederreiter
7cca79030a Avoid errors from setuptools if installed as egg with .pth mapping on subsequent package installs with hostpython 2016-10-14 16:46:33 +02:00
Robert Niederreiter
d79e7cf1a9 fix host_setuptools
reset kivy download url
2016-10-14 11:02:34 +02:00