Commit graph

815 commits

Author SHA1 Message Date
Alexander Taylor
9fcf28ba44 Code improvements around NDK download (#961)
* Cleaned up some variable references
* Improved how user build dir is accessed
* Minor code style improvements
* Fixed dist_dir calculation following p4a changes
2019-10-05 13:34:49 +02:00
Andre Miras
d483847bb5
Merge pull request #978 from misl6/fix-dist-dir
Fixes packaging for current p4a develop branch
2019-10-01 10:44:11 +02:00
Mirko Galimberti
99ad83a2b9 Fixes packaging for current p4a develop branch 2019-09-30 17:26:37 +02:00
Andre Miras
f01d09cdaf
Merge pull request #976 from AndreMiras/feature/update_installation_documentation
Updates install instructions and troubleshooting
2019-09-27 19:02:49 +02:00
Andre Miras
569c012676 Updates install instructions and troubleshooting
- Python3 only, since this is now a p4a requirement
 - links to p4a troubleshooting documentation
 - fixes code block formatting on `Aidl` section
2019-09-27 11:16:06 +02:00
Gabriel Pettier
e58ad280bd
Merge pull request #970 from kivy/fix/display_license
fix: show output of sdk update if auto_accept_license is false
2019-09-17 10:56:25 +02:00
Gabriel Pettier
fa117686c8 fix: show output of sdk update if auto_accept_license is false 2019-09-15 20:14:22 +02:00
Mathieu Virbel
2af534652d refactor packagename to prevent code duplication 2019-09-11 20:16:46 +02:00
Mathieu Virbel
c92b3ef925 Refactor apk_dest code to prevent code duplication. 2019-09-11 20:16:46 +02:00
Mathieu Virbel
581a1ba2da rename final apk with arch in the name 2019-09-11 20:16:46 +02:00
kojo mcroni
e95844e1b3 added cmake to requirements 2019-09-11 18:41:02 +02:00
Mathieu Virbel
8d4ad8b60f separate build per android.arch
This prevent using the same build (armv7a) when building another arch using profile (arm64-v8a)
2019-09-08 23:40:38 +02:00
Pol Canelles
182d13f102
Merge pull request #947 from opacam/feature-use-p4a-ndk
Add ability to get p4a's recommended android's NDK version
2019-08-24 14:03:36 +02:00
opacam
8dd22bd4d4 [p4a] Add ability to get p4a's recommended android's NDK version
Only if the p4a version used has the file `pythonforandroid/recommendations.py`, which contains the info we want, otherwise we will return the buildozer's one
2019-08-24 11:45:10 +02:00
Pol Canelles
7a0ef4f10c
Merge pull request #940 from opacam/feature-allow-p4a-forks
New feature: allow to use a p4a fork
2019-07-26 15:20:18 +02:00
opacam
3583bb2ad7 [p4a] Check if p4a.fork/p4a.branch changed...
and if so, remove the old p4a installation so the new one can be installed
2019-07-25 15:21:49 +02:00
opacam
cfdcad4857 [pep8] Fix pep8: expected 2 blank lines 2019-07-24 21:43:30 +02:00
opacam
c782e65556 [p4a] Add ability to use a p4a fork 2019-07-24 19:56:46 +02:00
opacam
e2c3e6656c [spec] Move the key p4a.branch to p4a section
To be neatest and to be easier to find the key
2019-07-24 19:56:45 +02:00
Andre Miras
1d1b0b7c80
Merge pull request #937 from AndreMiras/feature/linter_fix
Minor linter fix
2019-07-22 09:57:57 +02:00
Andre Miras
1fac86dbff Minor linter fix
Linter regression introduced in #934, see:
https://github.com/kivy/buildozer/pull/934#discussion_r304309602
2019-07-17 11:44:38 +02:00
Andre Miras
1e7cc7f9c4
Merge pull request #936 from yairlempert/patch-1
Update installation.rst
2019-07-17 11:43:44 +02:00
Yair Lempert
dbe02e3106
Update installation.rst
sdkmanager isn't accepting the "--install" option anymore. Works fine without it.
2019-07-16 11:17:26 +03:00
Alexander Taylor
6ce80697f8
Merge pull request #934 from misl6/add-libs-armeabi-v8a
Extend add_libs to arm64-v8a
2019-07-10 20:06:07 +01:00
Mirko Galimberti
81c825f6c6 extend add_libs to arm64-v8a 2019-07-10 20:57:55 +02:00
Gabriel Pettier
3deca91485
Merge pull request #932 from kivy/doc/installation_updates
Doc/installation updates
2019-07-06 14:49:42 +02:00
Gabriel Pettier
1bb1c56784 clarify which version of ubuntu is tested. 2019-07-05 00:10:22 +02:00
Gabriel Pettier
f271dda98d add starting instructions for ios 2019-07-04 00:48:28 +02:00
Gabriel Pettier
f9b5b07b4f update android instructions for buildozer 2019-07-04 00:46:44 +02:00
Andre Miras
5ede887a4e
Merge pull request #912 from zworkb/service_only
disable orientation and window option for service_only bootstrap
2019-06-16 22:41:07 +02:00
Philipp Auersperg-Castell
c0d625252e disable orientation and window option for service_only bootstrap 2019-06-03 22:59:28 +02:00
Andre Miras
678b1bf52c
Merge pull request #905 from AndreMiras/feature/ticket857_test_cmd_unicode_decode
Unit test unicode decode on command output, fixes #857
2019-05-28 23:05:38 +02:00
Andre Miras
11b733cbd9 Unit test unicode decode on command output, fixes #857
Also fixes stderr/stdout writing refs #743.
2019-05-28 22:32:10 +02:00
Alexander Taylor
f729829788
Merge pull request #904 from inclement/fix_sdkmanager_install_question
Made sure to print all lines of license question by always flushing
2019-05-26 21:55:39 +01:00
Alexander Taylor
c803e68687 Made sure to print all lines of license question by always flushing 2019-05-26 18:07:02 +01:00
Alexander Taylor
81b6ac51a3
Merge pull request #860 from robertpro/master
Download Apache ANT at the same path as the buildozer.spec android.ant_path option
2019-05-26 14:03:48 +01:00
Andre Miras
586152c6ce Exits with error code on build exception, fixes #674 2019-04-17 22:25:30 +02:00
Andre Miras
4183428daa
Merge pull request #846 from pax0r/uses-library
Support p4a uses-library argument
2019-03-29 22:46:45 +01:00
José Roberto Meza Cabrera
5540f84452 Added Android ANT path test 2019-03-17 19:05:55 -06:00
Andre Miras
dfd2ceb324
Merge pull request #843 from AndreMiras/feature/remove_extra_log_env
Removes extra log_env() call
2019-03-17 22:32:22 +01:00
José Roberto Meza Cabrera
f8f96e4eb7 Download Apache ANT at the same path as the buildozer.spec android.ant_path option 2019-03-16 17:42:17 -06:00
Andre Miras
33854f82a3
Merge pull request #835 from mkg20001/fix-release-unsigned
fix: drop release-unsigned from release output path
2019-03-17 00:03:18 +01:00
Gabriel Pettier
06a964dbe4
Merge pull request #856 from Draqun/master
Fix for bug when logcat value which cannot be decode to utf-8
2019-03-13 22:52:37 +01:00
Damian Giebas
2b09e1a0bb Fix for bug when logcat value which cannot be decode to utf-8 2019-03-13 22:36:36 +01:00
Mathieu Virbel
1edbb7e0e5
Merge pull request #855 from AndreMiras/feature/change_default_log_level_to_2
Changes default log level to debug (2)
2019-03-12 22:56:20 +01:00
Andre Miras
5cde0b0f92 Changes default log level to debug (2)
Helps with troubleshooting and error reporting.
Also closes #824
2019-03-12 20:04:13 +01:00
Andre Miras
4c2152b36e
Merge pull request #853 from AndreMiras/feature/ticket812_fix_AttributeError_translate_target
Handles unknown command/target error gracefully, closes #812
2019-03-12 19:47:07 +01:00
Andre Miras
831d85a5e0 Handles unknown command/target error gracefully, closes #812
Running `buildozer unknown_command` should show a meaningful error and
exit. Fixes regression introduced in 4936d31 and adds unit tests.

Also updates other tests `assert` keyword rather than `self.assert*` in
order to keep style consistent.

Last, minor `Dockerfile` documentation update as per recent @tshirtman
feedback.
2019-03-12 19:31:46 +01:00
Andre Miras
2b4046145f
Merge pull request #852 from AndreMiras/feature/dockerfile_system_requirements_rework
Updates system requirements needed to build recipes
2019-03-12 05:03:58 +01:00
Andre Miras
eabbf2b95e Updates system requirements needed to build recipes
Makes it possible to build Android APKs directly from Docker.
Tested by building sucessfully both:

  * kivy-garden/garden.zbarcam (20190303)
  * AndreMiras/EtherollApp (20190217)

After building the image with:
```
docker build --tag=kivy/buildozer .
```
The following command was used to build the Android APK:
```
docker run \
    --volume "$HOME/.buildozer":/home/user/.buildozer \
    --volume "$(pwd)":/home/user/hostcwd \
    kivy/buildozer android debug
```

Note the system dependencies were also sorted alphabetical to ease
maintenance.
Later more dependencies can be added if needed to build a given recipe.
2019-03-10 23:11:10 +01:00