From 5a943d8d38e6c69af3c205f9b9d76467016b04dc Mon Sep 17 00:00:00 2001 From: Christian Date: Thu, 3 Oct 2024 21:32:54 +0200 Subject: [PATCH] Fix the build of v0.4.9.3 (#37) * chore: update build setup * chore: update build setup for arm64 * chore: move scc to other executables --- AppImageBuilder.debian-bullseye.yml | 1 + AppImageBuilder.debian.yml | 1 + AppImageBuilder.ubuntu-focal.yml | 1 + AppImageBuilder.yml | 1 + Dockerfile | 36 ++++++++++++++++++++++------- pyproject.toml | 2 +- scripts/scc => scc/bin/scc.py | 0 7 files changed, 33 insertions(+), 9 deletions(-) rename scripts/scc => scc/bin/scc.py (100%) diff --git a/AppImageBuilder.debian-bullseye.yml b/AppImageBuilder.debian-bullseye.yml index 880e39a0..76b2bc98 100644 --- a/AppImageBuilder.debian-bullseye.yml +++ b/AppImageBuilder.debian-bullseye.yml @@ -100,6 +100,7 @@ AppDir: - libbluetooth3 - libgtk-3-0 - librsvg2-common + - python-is-python3 - python3-evdev - python3-gi-cairo - python3-pylibacl diff --git a/AppImageBuilder.debian.yml b/AppImageBuilder.debian.yml index b4c4bbe2..1d4c70c6 100644 --- a/AppImageBuilder.debian.yml +++ b/AppImageBuilder.debian.yml @@ -112,6 +112,7 @@ AppDir: - libbluetooth3 - libgtk-3-0 - librsvg2-common + - python-is-python3 - python3-evdev - python3-gi-cairo - python3-pylibacl diff --git a/AppImageBuilder.ubuntu-focal.yml b/AppImageBuilder.ubuntu-focal.yml index 80cf0024..c9de37ac 100644 --- a/AppImageBuilder.ubuntu-focal.yml +++ b/AppImageBuilder.ubuntu-focal.yml @@ -104,6 +104,7 @@ AppDir: - libbluetooth3 - libgtk-3-0 - librsvg2-common + - python-is-python3 - python3-evdev - python3-gi-cairo - python3-libusb1 diff --git a/AppImageBuilder.yml b/AppImageBuilder.yml index af0f4120..21cc54b0 100644 --- a/AppImageBuilder.yml +++ b/AppImageBuilder.yml @@ -106,6 +106,7 @@ AppDir: - libbluetooth3 - libgtk-3-0 - librsvg2-common + - python-is-python3 - python3-evdev - python3-gi-cairo - python3-pylibacl diff --git a/Dockerfile b/Dockerfile index fd393313..b0f65ce0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,12 @@ FROM $BASE_OS:$BASE_CODENAME AS build-stage RUN <>/etc/apt/sources.list.d/jammy-proposed.list 'deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-proposed universe' + echo >>/etc/apt/sources.list.d/jammy-proposed.list 'deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ jammy-proposed universe' + fi + apt-get update apt-get install -y --no-install-recommends \ gcc \ @@ -14,22 +20,34 @@ RUN <