From 70c0d31906a3911abfc463dd1d7b3e508af034c3 Mon Sep 17 00:00:00 2001 From: navjot Date: Tue, 18 May 2021 00:15:50 +0530 Subject: [PATCH] updated Dockerfile.buildozer --- Dockerfile.buildozer | 33 +++++++++++++++++++++------------ src/buildozer.spec | 4 +--- 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/Dockerfile.buildozer b/Dockerfile.buildozer index 3be1fafa..a8f37db4 100644 --- a/Dockerfile.buildozer +++ b/Dockerfile.buildozer @@ -1,8 +1,17 @@ -FROM ubuntu:20.04 +FROM ubuntu:18.04 -RUN apt-get update +# configures locale +RUN apt update -qq > /dev/null && \ + apt install -qq --yes --no-install-recommends \ + locales && \ + locale-gen en_US.UTF-8 +ENV LANG="en_US.UTF-8" \ + LANGUAGE="en_US.UTF-8" \ + LC_ALL="en_US.UTF-8" -RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq --yes --no-install-recommends \ + +# system requirements to build most of the recipes +RUN apt install -qq --yes --no-install-recommends \ autoconf \ automake \ build-essential \ @@ -10,27 +19,27 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq --yes --no-install-recomm cmake \ gettext \ git \ - libncurses5-dev \ - libncursesw5-dev \ - libtinfo5 \ libffi-dev \ libltdl-dev \ libssl-dev \ libtool \ - openjdk-13-jdk \ + openjdk-8-jdk \ patch \ pkg-config \ + python2.7 \ python3-pip \ - python3-setuptools \ python3-venv \ + python3-setuptools \ sudo \ unzip \ zip \ - zlib1g-dev + zlib1g-dev \ + libncurses5-dev \ + libncursesw5-dev \ + libtinfo5 -RUN pip3 install cython buildozer -# RUN pip3 install "cython==0.29.15" -# RUN pip3 install "buildozer==1.0" +RUN pip3 install "cython==0.28.6" +RUN pip3 install "buildozer==1.0" RUN mkdir -p /buildozer diff --git a/src/buildozer.spec b/src/buildozer.spec index 7882e760..2d4d34fd 100644 --- a/src/buildozer.spec +++ b/src/buildozer.spec @@ -50,8 +50,6 @@ requirements = #git+https://github.com/navjotcis/KivyMD#egg=kivymd, git+https://github.com/kivymd/KivyMD#egg=kivymd, #kivymd, - kivy-garden, - kivy_garden.graph, qrcode, msgpack @@ -60,7 +58,7 @@ requirements = # requirements.source.kivy = ../../kivy # (list) Garden requirements -# garden_requirements = qrcode +garden_requirements = qrcode # (str) Presplash of the application #presplash.filename = %(source.dir)s/data/presplash.png