Skip to content

zbarcamdemo

  • The app complies with the inclusion criteria
  • The original app author has been notified (and supports the inclusion)
  • All related fdroiddata and rfp issues have been referenced in this merge request
  • Builds with fdroid build

Demo app for Kivy zbarcam widget. This app is built in the same fashion as Etheroll, see !3229 (merged). I gave a fdroid build try on the VM via:

ANDROID_HOME=~/.buildozer/android/platform/android-sdk ~/workspace/fdroidserver/fdroid build --verbose --latest --server com.github.andremiras.zbarcamdemo

It worked OK finishing (in ~15 minutes) with the following output:

...truncated...
DEBUG: buildserver > [DEBUG]:           BUILD SUCCESSFUL in 1m 4s
DEBUG: buildserver > [DEBUG]:           27 actionable tasks: 27 executed
DEBUG: buildserver > [DEBUG]:
DEBUG: buildserver > [DEBUG]:
DEBUG: buildserver > [DEBUG]:
DEBUG: buildserver > # Build the application #1
DEBUG: buildserver > # Copy application source from /home/vagrant/build/com.github.andremiras.zbarcamdemo/src
DEBUG: buildserver > # Create directory /home/vagrant/build/com.github.andremiras.zbarcamdemo/.buildozer/android/app
DEBUG: buildserver > # Copy /home/vagrant/build/com.github.andremiras.zbarcamdemo/src/main.py
DEBUG: buildserver > # Create directory /home/vagrant/build/com.github.andremiras.zbarcamdemo/.buildozer/android/app/kivy_garden/zbarcam
DEBUG: buildserver > # Copy /home/vagrant/build/com.github.andremiras.zbarcamdemo/src/kivy_garden/zbarcam/__init__.py
DEBUG: buildserver > # Copy /home/vagrant/build/com.github.andremiras.zbarcamdemo/src/kivy_garden/zbarcam/zbarcam.py
DEBUG: buildserver > # Copy /home/vagrant/build/com.github.andremiras.zbarcamdemo/src/kivy_garden/zbarcam/zbarcam.kv
DEBUG: buildserver > # Copy /home/vagrant/build/com.github.andremiras.zbarcamdemo/src/kivy_garden/zbarcam/version.py
DEBUG: buildserver > # Package the application
DEBUG: buildserver > # Captured version: 2019.0902
DEBUG: buildserver > # project.properties updated
DEBUG: buildserver > # Gradle project detected, copy files /home/vagrant/build/com.github.andremiras.zbarcamdemo/.buildozer/android/platform/build/dists/zbarcamdemo/src/main/java
DEBUG: buildserver > # Asking for release but P4A_RELEASE_KEYALIAS is missing--sign will not be passed
DEBUG: buildserver > # Asking for release but P4A_RELEASE_KEYSTORE_PASSWD is missing--sign will not be passed
DEBUG: buildserver > # Asking for release but P4A_RELEASE_KEYSTORE is missing--sign will not be passed
DEBUG: buildserver > # Asking for release but P4A_RELEASE_KEYALIAS_PASSWD is missing--sign will not be passed
DEBUG: buildserver > # Run '/usr/bin/python3 -m pythonforandroid.toolchain apk --debug --bootstrap=sdl2 --dist_name zbarcamdemo --name \'ZBarCam Demo\' --version 2019.0902 --package com.github.andremiras.zbarcamdemo --android_api 27 --minsdk 21 --ndk-api 21 --private /home/vagrant/build/com.github.andremiras.zbarcamdemo/.buildozer/android/app --permission CAMERA --orientation portrait --window --release --copy-libs -
DEBUG: buildserver > [INFO]:    <- directory context /home/vagrant/build/com.github.andremiras.zbarcamdemo/.buildozer/android/platform/python-for-android
DEBUG: buildserver > [INFO]:    # Copying APK to current directory
DEBUG: buildserver > [INFO]:    # APK filename not found in build output. Guessing...
DEBUG: buildserver > [INFO]:    # Found APK file: /home/vagrant/build/com.github.andremiras.zbarcamdemo/.buildozer/android/platform/build/dists/zbarcamdemo/build/outputs/apk/release/zbarcamdemo-release-unsigned.apk
DEBUG: buildserver > [INFO]:    # Add version number to APK
DEBUG: buildserver > [INFO]:    # APK renamed to zbarcamdemo-2019.0902-release-unsigned.apk
DEBUG: buildserver > stty: 'standard input': Inappropriate ioctl for device
DEBUG: buildserver > [DEBUG]:   -> running cp /home/vagrant/build/com.github.andremiras.zbarcamdemo/.buildozer/android/platform/build/dists/zbarcamdemo/build/outputs/apk/release/zbarcamdemo-release-unsigned.apk zbarcamdemo-2019.0902-release-unsigned.apk
DEBUG: buildserver > WARNING: Received a --sdk argument, but this argument is deprecated and does nothing.
DEBUG: buildserver > No compiled python is present to zip, skipping.
DEBUG: buildserver > No setup.py/pyproject.toml used, copying full private data into .apk.
DEBUG: buildserver > Applying Java source code patches...
DEBUG: buildserver > Applying patch: src/patches/SDLActivity.java.patch
DEBUG: buildserver > # Android packaging done!
DEBUG: buildserver > # APK zbarcamdemo-2019.0902-release-unsigned.apk available in the bin directory
DEBUG: buildserver > INFO: Successfully built version 2019.0902 of com.github.andremiras.zbarcamdemo
DEBUG: buildserver > DEBUG: > /home/vagrant/android-sdk/build-tools/26.0.0/aapt dump xmltree build/com.github.andremiras.zbarcamdemo/bin/zbarcamdemo-2019.0902-release-unsigned.apk AndroidManifest.xml
DEBUG: buildserver > DEBUG: Checking build/com.github.andremiras.zbarcamdemo/bin/zbarcamdemo-2019.0902-release-unsigned.apk
DEBUG: buildserver > DEBUG: > /home/vagrant/android-sdk/build-tools/26.0.0/aapt dump badging build/com.github.andremiras.zbarcamdemo/bin/zbarcamdemo-2019.0902-release-unsigned.apk
DEBUG: buildserver > INFO: success: com.github.andremiras.zbarcamdemo
DEBUG: buildserver > INFO: Finished
DEBUG: buildserver > INFO: 1 build succeeded
INFO: ...getting exit status
DEBUG: retrieved com.github.andremiras.zbarcamdemo_721202802_toolsversion.log
INFO: Retrieving build output...
INFO: [chan 0] sftp session closed.
DEBUG: virtualbox is the sole installed and supported vagrant provider, selecting 'virtualbox'
DEBUG: vm uuid: f50185fc-dfb7-4ebb-96bf-ac229e7637f5
INFO: suspending buildserver
==> default: Saving VM state and suspending execution...
DEBUG: skip deploying full build logs: not enabled in config
INFO: success: com.github.andremiras.zbarcamdemo
INFO: Finished
INFO: 1 build succeeded
Edited by Izzy

Merge request reports