From e70a23aac3ecdfc17ec60236ef0220eb74e7c3ba Mon Sep 17 00:00:00 2001 From: Amin Bandali <amin.bandali@savoirfairelinux.com> Date: Tue, 5 Oct 2021 10:50:30 -0400 Subject: [PATCH] packaging: add newly-required python3 build dependency for client-qt https://review.jami.net/c/jami-client-qt/+/19283 recently marked Python 3 as a required build depdendency for building client-qt, as it's needeed for generating 'resources.qrc' in build time. Change-Id: Ib7eb3822ec5af5e4223d8a05b52d7cb5bb22e8d5 --- packaging/rules/debian/control | 1 + packaging/rules/rpm/jami-qt.spec | 3 +++ packaging/rules/snap/jami/snapcraft.yaml | 1 + 3 files changed, 5 insertions(+) diff --git a/packaging/rules/debian/control b/packaging/rules/debian/control index b34d1a20..e763e491 100644 --- a/packaging/rules/debian/control +++ b/packaging/rules/debian/control @@ -10,6 +10,7 @@ Build-Depends: debhelper (>= 9), autotools-dev, # qt client libqt-jami, + python3, # both qt client and gnome client libnm-dev, libnotify-dev, diff --git a/packaging/rules/rpm/jami-qt.spec b/packaging/rules/rpm/jami-qt.spec index d53a2997..0771b8a0 100644 --- a/packaging/rules/rpm/jami-qt.spec +++ b/packaging/rules/rpm/jami-qt.spec @@ -23,6 +23,9 @@ BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: make +# For generating resources.qrc in build time. +BuildRequires: python3 + # Build and runtime dependencies. BuildRequires: qrencode-devel diff --git a/packaging/rules/snap/jami/snapcraft.yaml b/packaging/rules/snap/jami/snapcraft.yaml index 20f549c3..19c78dd5 100644 --- a/packaging/rules/snap/jami/snapcraft.yaml +++ b/packaging/rules/snap/jami/snapcraft.yaml @@ -329,6 +329,7 @@ parts: - libvdpau-dev - libyaml-cpp-dev - nasm # seems to be needed for building libvpx on an 18.04 base + - python3 - qt515base - qt515declarative - qt515graphicaleffects -- GitLab