From patchwork Tue May 11 15:40:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Elshuber X-Patchwork-Id: 1477239 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Ffjkk1Btcz9sWD for ; Wed, 12 May 2021 02:17:50 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id A5C6740574; Tue, 11 May 2021 16:17:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2FEtKsnSQaMz; Tue, 11 May 2021 16:17:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id AF02F40577; Tue, 11 May 2021 16:17:45 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id F39721BF409 for ; Tue, 11 May 2021 16:17:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id E1D378430A for ; Tue, 11 May 2021 16:17:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lg6GroVUSrKp for ; Tue, 11 May 2021 16:17:43 +0000 (UTC) X-Greylist: delayed 00:33:57 by SQLgrey-1.8.0 Received: from mail.theobroma-systems.com (vegas.theobroma-systems.com [144.76.126.164]) by smtp1.osuosl.org (Postfix) with ESMTPS id 2D8EE8419A for ; Tue, 11 May 2021 16:17:42 +0000 (UTC) Received: from ip092042140082.rev.nessus.at ([92.42.140.82]:56526 helo=meitner.lan) by mail.theobroma-systems.com with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1lgUXw-0006mM-5M; Tue, 11 May 2021 17:43:44 +0200 From: Martin Elshuber To: buildroot@buildroot.org Date: Tue, 11 May 2021 17:40:06 +0200 Message-Id: <20210511154006.630376-1-martin.elshuber@theobroma-systems.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/weston: add configuration options for weston shells X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Elshuber Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Enable selection of used weston shells. By default all available shells are enabled to keep the old behavior. The new configuration options enable the user to select them individually. Signed-off-by: Martin Elshuber --- package/weston/Config.in | 16 ++++++++++++++++ package/weston/weston.mk | 24 ++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/package/weston/Config.in b/package/weston/Config.in index d07eba4c9d..60351ff09d 100644 --- a/package/weston/Config.in +++ b/package/weston/Config.in @@ -119,6 +119,22 @@ config BR2_PACKAGE_WESTON_XWAYLAND comment "XWayland support needs libepoxy and X.org enabled" depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_LIBEPOXY +config BR2_PACKAGE_WESTON_SHELL_DESKTOP + bool "desktop shell" + default y + +config BR2_PACKAGE_WESTON_SHELL_FULLSCREEN + bool "fullscreen shell" + default y + +config BR2_PACKAGE_WESTON_SHELL_IVI + bool "ivi shell" + default y + +config BR2_PACKAGE_WESTON_SHELL_KIOSK + bool "kiosk shell" + default y + config BR2_PACKAGE_WESTON_DEMO_CLIENTS bool "demo clients" depends on BR2_USE_MMU # pango diff --git a/package/weston/weston.mk b/package/weston/weston.mk index f59963bf2e..6953132c57 100644 --- a/package/weston/weston.mk +++ b/package/weston/weston.mk @@ -132,6 +132,30 @@ else WESTON_CONF_OPTS += -Dtest-junit-xml=false endif +ifeq ($(BR2_PACKAGE_WESTON_SHELL_DESKTOP),y) +WESTON_CONF_OPTS += -Dshell-desktop=true +else +WESTON_CONF_OPTS += -Dshell-desktop=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_SHELL_FULLSCREEN),y) +WESTON_CONF_OPTS += -Dshell-fullscreen=true +else +WESTON_CONF_OPTS += -Dshell-fullscreen=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_SHELL_IVI),y) +WESTON_CONF_OPTS += -Dshell-ivi=true +else +WESTON_CONF_OPTS += -Dshell-ivi=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_SHELL_KIOSK),y) +WESTON_CONF_OPTS += -Dshell-kiosk=true +else +WESTON_CONF_OPTS += -Dshell-kiosk=false +endif + ifeq ($(BR2_PACKAGE_WESTON_DEMO_CLIENTS),y) WESTON_CONF_OPTS += -Ddemo-clients=true WESTON_DEPENDENCIES += pango