From c3cf4d595d3e6c6c0f5891d0f9c867c235fe2e8c Mon Sep 17 00:00:00 2001 From: Amin Bandali <amin.bandali@savoirfairelinux.com> Date: Wed, 29 Jun 2022 11:46:42 -0400 Subject: [PATCH] build: drop vestigial 'supported Qt distro' check This check was added in 5ec47bc3b231a8397a25b19dd1411899e922113c about two years ago when client-qt was just beginning to be ported to GNU/Linux and could not be readily/easily built on GNU/Linux systems. This removal should also fix/avoid the recently-introduced logic bug that broke --distribution=android. Change-Id: Ia9ab9e37b9d9cfd2f7a2a57931bbd5bf6f4d56bb --- build.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/build.py b/build.py index ff0ed626..918896e2 100755 --- a/build.py +++ b/build.py @@ -661,21 +661,6 @@ def validate_args(parsed_args): file=sys.stderr) sys.exit(1) - # The Qt client support will be added incrementally. - if not parsed_args.gnome: - supported_qt_distros = [ - 'guix', - OSX_DISTRIBUTION_NAME, - WIN32_DISTRIBUTION_NAME - ] + APT_BASED_DISTROS + DNF_BASED_DISTROS + PACMAN_BASED_DISTROS - - if parsed_args.distribution not in supported_qt_distros: - print('Distribution \'{0}\' not supported when building the Qt client.' - '\nChoose one of: {1}'.format( - parsed_args.distribution, ', '.join(supported_qt_distros) - ), file=sys.stderr) - sys.exit(1) - # On Windows, version 10 or later is needed to build Jami. if parsed_args.distribution == WIN32_DISTRIBUTION_NAME: if hasattr(sys, 'getwindowsversion') and sys.getwindowsversion()[0] < 10: -- GitLab