Commit graph

757 commits

Author SHA1 Message Date
Andre Miras
ad7628c4f5
Merge pull request #472 from AndreMiras/feature/prepares_kivy_ios_package
Moving to dedicated kivy_ios/ package directory
2020-05-04 21:40:44 +02:00
Andre Miras
56431b6922 Moving to dedicated kivy_ios/ package directory
- updates all imports to prefix kivy_ios
- adds basic `setup.py` file
- adds a simple `toolchain.py` to the root folder for compat

Makes it possible to install kivy-ios from PyPI:
```
pip install kivy-ios
toolchain --help
```
Note the `rebuild_updated_recipes.py` is expected to fail as we
moved all the recipes.

This is a working, but unperfect iteration that come with limitations
we would address in subsequent pull requests, such as:
- the new usage is not yet documented
- CI is not testing the source distribution creation and install
- Continuous Delivery to PyPI is not in place
- `toolchain` binary is a bit too generic name
- we're still vendoring things under `tools/`
2020-05-03 23:29:41 +02:00
Andre Miras
b831483cda
Merge pull request #471 from AndreMiras/feature/track_broken_recipes
Do not build known broken recipes
2020-05-03 16:21:58 +02:00
Andre Miras
136d19473d
Merge pull request #465 from AndreMiras/feature/use_cd_context_manager
Uses new `cd` context manager more
2020-05-03 16:04:20 +02:00
Andre Miras
d6d602a6b6
Merge pull request #469 from AndreMiras/feature/minor_issue_template_typos
Fixes minor typos in the issue template
2020-05-03 15:58:44 +02:00
Andre Miras
7c05e50ca7 Do not build known broken recipes
Recipes known to be broken should be part of `BROKEN_RECIPES` and have
a dedicated issue.
Demonstrates with `distribute` recipe that was modified but will be skipped.
Refs: #466, #467 and #468
2020-05-03 15:50:03 +02:00
Andre Miras
b7f5893066
Merge pull request #470 from misl6/bump-cython-version
Bumps Cython version
2020-05-03 14:58:46 +02:00
Andre Miras
9b6559cd5c
Merge pull request #454 from misl6/cleanup-and-cookiecutter
Cleanup + Add test in CI for cookiecutter related things
2020-05-03 14:46:30 +02:00
Mirko Galimberti
ef9e5b3715 Bumps Cython version 2020-05-03 13:56:47 +02:00
Mirko Galimberti
b8f2fd0f51 Cleanup - Removes vendored deps 2020-05-03 13:38:33 +02:00
Andre Miras
c06c51f149 Uses new cd context manager more
Also adds logging as we change directories.
2020-05-03 11:57:58 +02:00
Andre Miras
a692b986c2 Fixes minor typos in the issue template 2020-05-03 11:53:56 +02:00
Andre Miras
a83b3f495b
Merge pull request #464 from AndreMiras/feature/activate_venv_before_build
Activates venv before venv build
2020-05-03 10:55:04 +02:00
Andre Miras
58713e8b6e Activates venv before venv build
Also fixes toolchain.py failing silently on missing dependency.
2020-05-03 10:20:09 +02:00
Andre Miras
513efbb8b8
Merge pull request #462 from AndreMiras/feature/venv_build
Fixes building in venv
2020-05-02 22:02:34 +02:00
Andre Miras
d180ee0807 Fixes building in venv
Borrowed from p4a:
https://github.com/kivy/python-for-android/pull/2159
Also refs upstream issue:
https://bugs.python.org/issue40261
Note that the fix used upstream cannot really be used directly here
because the actual system Python is impacted.
Adds venv build to CI to check for regressions.
2020-05-01 19:56:15 +02:00
Andre Miras
aa1fced45a
Merge pull request #463 from misl6/add-demo-app-build
Improve CI with a demo app project creation + build
2020-05-01 19:18:42 +02:00
Mirko Galimberti
ae226bfc52 Improve CI with a demo app project creation + build 2020-05-01 18:04:25 +02:00
Andre Miras
4d7fcb1332
Merge pull request #461 from misl6/issue-template
Update issue templates
2020-05-01 11:21:45 +02:00
Mirko
9dac576993 Update issue templates 2020-05-01 11:06:41 +02:00
Andre Miras
49a13bbbb7
Merge pull request #460 from AndreMiras/feature/ci_minimal_build
Continuous Integration minimal build
2020-04-30 13:03:11 +02:00
Andre Miras
5ec5740d86 Continuous Integration minimal build
Makes sure at least Python and Kivy are built every time.
2020-04-29 05:33:54 -07:00
Richard Larkin
8416d46fd4
Fix flake8 CI check on toolchain, remaining recipes (#456)
* 🔥 Fix flake8 checks for host_setuptools3

* 🔥 Fix flake8 checks for kivy recipe

*  Fix flake8 for toolchain.py

* 💡 Set python3 as the default python

* Add .tox and ven to .gitignore

* Update toolchain.py

Co-Authored-By: Andre Miras <AndreMiras@users.noreply.github.com>

Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com>
2020-04-27 07:29:11 +02:00
Mirko
9bb9efe0f7
Update to python 3.8.2 (#443)
* bump python version to 3.8.2

* Revert to cython 0.28.1
2020-04-25 20:12:59 +02:00
Richard Larkin
64bd692632
Flake8 CI fixes (#451)
* Pep8 fixes

* tox Pep8 compliance

* Excluded external tools folder from flake 8 tests

* Added Flake 8 exclusions

* Pep8 fixes

* Pep8 fixes

* Corrected type

* Pep8 fixes

* Pep 8 compliance

* Pep8 fixes

* Pep8  fixes

* Pep8 fixes

* Pep8 fixes

* Pep 8 fixes

* Pep 8 fixes

* Pep8 fixes

* Pep8 fixes

* Pep8 fixes

* Pep8

* Pep8

* Pep 8

* Pep 8

* Pep8 fixes

* Pep8

* Pep8

* Pep8

* Pep8 fixes

* Pep8 fixes

* Pep8 fixes

* Pep8 fixes

* Pep8 fixes

* Revert chagnes

* Revert changes to kivy/__init.py

* Revert changes

* REvert changes

* Revert changes

* Revert changes to toolchain

* Add files exclusions to tox.ini

* Added exclusions for alias recipes

* Remove dead code

* Added py extension to recipes

* Removed recipe build skip

* Improves recipe matching

Previous expression was matching all the following three lines of a `git diff --name-only` output.
```
recipes/hostlibffi/__init__.py
recipes/hostpython.py
recipes/hostpython2/__init__.py
```
This was resulting to a bug when later splitting with `recipe = file_path.split('/')[1]` the `recipes/hostpython.py` string would return including the `\n` new line char, see:
 ```
>>> 'recipes/hostpython.py\n'.split('/')[1]
'hostpython.py\n'
>>> 'recipes/hostlibffi/__init__.py\n'.split('/')[1]
'hostlibffi'
>>> 
```

Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com>
2020-04-25 18:28:16 +02:00
Andre Miras
85f849e187
Merge pull request #445 from misl6/add-flake8
Add flake8
2020-04-14 23:57:39 +02:00
Mirko Galimberti
78c36997b1 Add flake8 2020-04-14 18:38:15 +02:00
Andre Miras
161b0bf132
Merge pull request #439 from misl6/fix-openssl
Update (and fixes) openssl to 1.1.1f
2020-04-11 19:37:49 +02:00
Mirko Galimberti
b47cddddad Fixes openssl compilation + bumps version 2020-04-11 19:21:28 +02:00
Andre Miras
2275362350
Merge pull request #440 from misl6/github-actions
Add Github Actions on kivy-ios
2020-04-11 19:10:34 +02:00
Mirko Galimberti
57afc7d8f9 Github Actions on kivy-ios 2020-04-11 18:51:22 +02:00
Richard Larkin
a583d5db07
Add NativeImagePicker class for use from the player IOS FileChooser class (#428)
Co-authored-by: richard <richard@dotmodus>
2020-03-10 21:24:31 +02:00
Mirko
558f987d9d Moved some utils to ios_utils, webview accepts x,y coords, improved get_scale and get_dpi (#415) 2020-01-12 12:21:16 +01:00
Mirko
2e8e9a1709 Add IOS_IS_WINDOWED env switch + update SDL2 (#414)
* Add IOS_IS_WINDOWED env switch + update SDL2

* updated kivy hash
2020-01-12 12:20:06 +01:00
Mirko
921f6b209d Fixes missing sqlite3 module in python3 (#398)
Cleanup
2019-11-24 23:49:08 +01:00
Mirko
eacd88bf3f Added the ability to query the safe area (#404) 2019-11-24 23:47:35 +01:00
Mirko
493e9c63af Update ffmpeg and ffpyplayer recipes (#403) 2019-11-24 22:34:18 +01:00
Richard Larkin
06e6e0b8b5
Document lack of multiprocess / async functionality (#402)
* docs: Added note regarding iOS multiprocess/tghreading limitations

* Fix typo

* Tweaked wording

* 🔧 Refine accuracy of multiprocess docs

*  Fix typo
2019-11-07 21:46:54 +02:00
Mathieu Virbel
2e2d52e203 Merge branch 'master' of github.com:kivy/kivy-ios 2019-09-29 12:00:20 +02:00
Mathieu Virbel
f288af58d5 launchimage: sips is broken, code using Pillow
sips issues:
- -Z apply on the destination
- -p doesn't work anymore
- --padColor is ignored

Reimplementation using Pillow also allow us to detect the lower/left pixel to determinate background color
of the launchimages.
2019-09-29 12:00:07 +02:00
Mathieu Virbel
dc695b1392 kivy: pin kivy version to have FBO fixes 2019-09-29 11:58:27 +02:00
richard
75f77fcf4e Update numpy version number 2019-09-28 22:05:16 +02:00
Mathieu Virbel
dff4995035 xcode: fix traceback showed for numpy.
This is supposed to be for debug only.
2019-09-28 18:08:33 +02:00
Mathieu Virbel
06d0c78575 tests: testing library app
By compiling this, we can check if the compilation result is actually
working.
2019-09-28 18:07:25 +02:00
Mathieu Virbel
e58fef85c3 update numpy to 1.16.4
Fixes #327
2019-09-28 18:06:36 +02:00
Mathieu Virbel
49b16c6f0d toolchain: have a better installation method
Instead of installing on a temporary directory, and copying only what
we want, this install directly in the dist,
and the recipe can clean itself in
reduce_python_package().

This prevent the fix for kivy recipes using bdist_egg and easy_install.
2019-09-28 18:04:36 +02:00
Mathieu Virbel
180ad7ebd0 xcode: fix error on missing frameworks directory 2019-09-28 18:02:36 +02:00
Richard Larkin
1d01005ba5 Python3 pillow recipe (#394)
* Pillow 6.1.0 building for python 3

* Added tiff disabling

* Removed prefix patch

* Removed darwin patch

* Removed standard locations patch

* Removed patch file altogether

* Removed easy_install, renamed to libpillow.a

* Added back destdir prefix

* Switched to python3 directory

* Removed commented code

* Remove pkgresources dependency

* Adde pillow 6.1.0 to docs
2019-09-27 23:59:42 +02:00
Mirko
a2de53bc85 Add gif to KIVY_IMAGE in template (#393) 2019-09-25 17:30:13 +02:00
Mirko
cc62c3c56e Fixes missing WKWebView (#392) 2019-09-25 17:29:43 +02:00