From patchwork Sun Nov 10 20:06:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Perez de Castro X-Patchwork-Id: 1192667 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.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=igalia.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=igalia.com header.i=@igalia.com header.b="AFyCSW2L"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47B4mB0Ypbz9sNx for ; Mon, 11 Nov 2019 07:07:06 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 408BE86E5C; Sun, 10 Nov 2019 20:07:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U85opZcYpkmw; Sun, 10 Nov 2019 20:07:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 53F16861A2; Sun, 10 Nov 2019 20:07:02 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 5EFD51BF5A6 for ; Sun, 10 Nov 2019 20:07:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 5B59520504 for ; Sun, 10 Nov 2019 20:07:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PhMzpZFBKbqA for ; Sun, 10 Nov 2019 20:06:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from fanzine.igalia.com (fanzine.igalia.com [178.60.130.6]) by silver.osuosl.org (Postfix) with ESMTPS id 88B48204AC for ; Sun, 10 Nov 2019 20:06:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=08sLXm6QlKcmMm/TbF4mucwW/+a4hOdI4WXIaMyqQZw=; b=AFyCSW2Li3ZvEzv981nyPeMaxDrIzDC5wihR5RvaaSYiJThD6GnWbHv933X1rwDgRj7hJbO5fVQrt+0S7jObwc6Nzii6Va+XUcXLlJn0n0cQ7pPpmYKFEi0BzSCTvjZrwekeZv7vz3xeITqzYKbGA5nZxL1qRW5z5WNlaPM127aR46ddOlDQUXuYI2zLtUaRroGlNBxZZ3sRIITp41zCnCdaCS+xmAzLqUyiJpasFS+V1hWrBmfyCCtQc9La74rm3nv3GkoodX4BwOn0JfRlo33RUViV4LqFsrUmFVPsH9x0BdX1G8R2Pd/2BFRTYn9Jmp7BzobiFoSXXNzAH5oGcA==; Received: from 82-181-115-92.bb.dnainternet.fi ([82.181.115.92] helo=kodama) by fanzine.igalia.com with esmtpsa (Cipher TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) id 1iTtU7-0005wI-6r; Sun, 10 Nov 2019 21:06:55 +0100 Received: from localhost (kodama [local]) by kodama (OpenSMTPD) with ESMTPA id 2944b6c0; Sun, 10 Nov 2019 20:06:38 +0000 (UTC) From: Adrian Perez de Castro To: buildroot@buildroot.org Date: Sun, 10 Nov 2019 22:06:38 +0200 Message-Id: <20191110200638.3570497-3-aperez@igalia.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191110200638.3570497-1-aperez@igalia.com> References: <20191110200638.3570497-1-aperez@igalia.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 2/2] package/cage: new package 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: Adrian Perez de Castro Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Cage is a "kiosk" Wayland compositor, which shows a single maximized application at a time and limits user interaction to that application. https://www.hjdskes.nl/projects/cage/ Signed-off-by: Adrian Perez de Castro --- Changes v2 -> v3: - Fix dependencies in Config.in - Enable XWayland support automatically if BR2_PACKAGE_XORG7 is enabled, and remove the sub-option from Config.in. - Add note about the PGP signature being checked before generating the package hashes locally. - Use GitHub helper for CAGE_SITE. --- DEVELOPERS | 1 + package/Config.in | 1 + package/cage/Config.in | 17 +++++++++++++++++ package/cage/cage.hash | 5 +++++ package/cage/cage.mk | 18 ++++++++++++++++++ 5 files changed, 42 insertions(+) create mode 100644 package/cage/Config.in create mode 100644 package/cage/cage.hash create mode 100644 package/cage/cage.mk diff --git a/DEVELOPERS b/DEVELOPERS index 29cd425bc7..3a7ee6d95b 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -80,6 +80,7 @@ F: package/jack1/ N: Adrian Perez de Castro F: package/brotli/ +F: package/cage/ F: package/cog/ F: package/libepoxy/ F: package/libwpe/ diff --git a/package/Config.in b/package/Config.in index d426d05832..4031d27e99 100644 --- a/package/Config.in +++ b/package/Config.in @@ -337,6 +337,7 @@ comment "QT libraries and helper libraries" source "package/quazip/Config.in" source "package/qwt/Config.in" endif + source "package/cage/Config.in" source "package/tekui/Config.in" source "package/weston/Config.in" source "package/x11r7/Config.in" diff --git a/package/cage/Config.in b/package/cage/Config.in new file mode 100644 index 0000000000..bfa777fb1f --- /dev/null +++ b/package/cage/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_CAGE + bool "cage" + depends on !BR2_STATIC_LIBS # wlroots -> wayland + depends on BR2_INSTALL_LIBSTDCPP # wlroots -> wayland + depends on BR2_TOOLCHAIN_HAS_THREADS # wlroots -> wayland + depends on BR2_TOOLCHAIN_HAS_SYNC_1 # wlroots + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # wlroots + depends on BR2_ENABLE_LOCALE # wlroots -> libinput + depends on BR2_PACKAGE_HAS_UDEV # wlroots -> libinput + depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # wlroots + depends on BR2_PACKAGE_MESA3D_OPENGL_ES # wlroots + select BR2_PACKAGE_WLROOTS + help + Kiosk compositor for Wayland, which displays a single + maximized application at a time. + + https://www.hjdskes.nl/projects/cage/ diff --git a/package/cage/cage.hash b/package/cage/cage.hash new file mode 100644 index 0000000000..49b84f98af --- /dev/null +++ b/package/cage/cage.hash @@ -0,0 +1,5 @@ +# Generated locally, after checking https://github.com/Hjdskes/cage/releases/download/v0.1.1/cage-0.1.1.tar.gz.sig +sha256 63efbe96cf307381f2bedf9b80153343e255970a70d612515da7dc325dd49478 cage-0.1.1.tar.gz + +# Hashes for license files: +sha256 1fd28695090b961ed2846627365489228d84f784bff60a90e933febcedaeb65d LICENSE diff --git a/package/cage/cage.mk b/package/cage/cage.mk new file mode 100644 index 0000000000..6a9c067735 --- /dev/null +++ b/package/cage/cage.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# cage +# +################################################################################ + +CAGE_VERSION = 0.1.1 +CAGE_SITE = $(call github,Hjdskes,cage,v$(CAGE_VERSION)) +CAGE_LICENSE = MIT +CAGE_DEPENDENCIES = host-pkgconf wlroots + +ifeq ($(BR2_PACKAGE_XORG7),y) +CAGE_CONF_OPTS = -Dxwayland=true +else +CAGE_CONF_OPTS = -Dxwayland=false +endif + +$(eval $(meson-package))