From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mFbPNx9hUWN87wAAbAwnHQ (envelope-from ) for ; Thu, 20 Oct 2022 16:54:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6LPgNx9hUWMZMAEAauVa8A (envelope-from ) for ; Thu, 20 Oct 2022 16:54:23 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A0DDF28FE8 for ; Thu, 20 Oct 2022 16:54:23 +0200 (CEST) Received: from localhost ([::1]:38074 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olWw9-00018i-DD for larch@yhetil.org; Thu, 20 Oct 2022 10:54:21 -0400 Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olWtp-0006OK-Gm for larch@yhetil.org; Thu, 20 Oct 2022 10:51:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olUea-0002ts-6P for guix-patches@gnu.org; Thu, 20 Oct 2022 08:28:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34246) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1olUeZ-0005KI-O8 for guix-patches@gnu.org; Thu, 20 Oct 2022 08:28:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1olUeZ-0000Sx-Fd for guix-patches@gnu.org; Thu, 20 Oct 2022 08:28:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58655] [PATCH 2/3] gnu: Add swc. Resent-From: zamfofex Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Oct 2022 12:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58655 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58655@debbugs.gnu.org Cc: zamfofex X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16662688311685 (code B ref -1); Thu, 20 Oct 2022 12:28:03 +0000 Received: (at submit) by debbugs.gnu.org; 20 Oct 2022 12:27:11 +0000 Received: from localhost ([127.0.0.1]:33314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olUdi-0000R6-Uf for submit@debbugs.gnu.org; Thu, 20 Oct 2022 08:27:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:48164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olUdg-0000Qs-AP for submit@debbugs.gnu.org; Thu, 20 Oct 2022 08:27:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olUdR-0007xP-TH for guix-patches@gnu.org; Thu, 20 Oct 2022 08:27:00 -0400 Received: from mta-12-4.privateemail.com ([198.54.127.107]:27176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olUdQ-000524-Bl for guix-patches@gnu.org; Thu, 20 Oct 2022 08:26:53 -0400 Received: from mta-12.privateemail.com (localhost [127.0.0.1]) by mta-12.privateemail.com (Postfix) with ESMTP id CF18718000A3; Thu, 20 Oct 2022 08:26:50 -0400 (EDT) Received: from localhost.localdomain (unknown [187.39.0.141]) by mta-12.privateemail.com (Postfix) with ESMTPA id E295418000A1; Thu, 20 Oct 2022 08:26:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=twdb.moe; s=default; t=1666268810; bh=xERKaDIXUSjOMTY6YoMWTtcUj618+Wa9RPVkqIc0Q/s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jG1zoM+VyufGh8JclT2Yy/t1h2lEpZtQb9l6NwSoV/1sPnStCk9Z+0WTF9GGptbEZ 7NttSBRlDXC6nsGJIRX85e8EnDzepm/sDvIcpd1mPYX34lhdV2YUrPniynj7xLmsP1 Aj0zy1oHZFInQB0qlEzREciKwHzOzxErMGzQ/bj6uVWVMnxnWGHaI33R4WXP8gWOG1 cqFB4xxy7kgsCgDlRmIPKmZcPxg3Ap9XK8ohEwXH8M45FSaTsbqsncN65XnofbXfry EIq3E3nkOOPye9Slj0aQ95xVp00wUoQEGVj/NdA7GOZhhsj7sEjzyyJ+iQM1liMxkv zrE35S5K4+hpw== From: zamfofex Date: Thu, 20 Oct 2022 09:25:12 -0300 Message-Id: <189e15e5a0cc583fddd0c5ffc094298543af25c9.1666268609.git.zamfofex@twdb.moe> X-Mailer: git-send-email 2.38.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Received-SPF: pass client-ip=198.54.127.107; envelope-from=zamfofex@twdb.moe; helo=MTA-12-4.privateemail.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666277663; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=fSAzZkhVlbmcj9w1jgxRRs+vWndyy/JU9F0F32FmxCQ=; b=jplr+Y0GtbjGS+tyL9JrDl/4cQqIPCKtfg7ZV+abHejxkU+TSaO71DBFu+MR9Inr2Gx4hF Jj7WR+tnoNVgbZe4SLqP8xdZlLnB+uIsfycgfhPr1dkrrBKZJIMIBwxgslk3GrcHwyL9bG nYggz9L/8KrrdfWe/n8dsiFIk5TszjZ2Qm7iyxri2Il8e09PHzAOyMp3lsi4X6lsAUEzN3 1rBUOLfuehXQQzTGVxt3cEJvBS/rG0FhMxrQczE9PfzJ1GDxqHL5mbejnAXJOhLc4jeNNm 28lEBT6khKqyEwdkpEiwdjJ3J6glxe+h080BE8/wtr0mNYhyFEjruBHiKVP18A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666277663; a=rsa-sha256; cv=none; b=QK9yWnF70CMtLrWS/Nt0UO90tADmR4PhQMoLBRquf3xtL+iE9m1a4/Z5aiJbpqpxhJv8to nvJkzpYHNiW6F8KUzxr5aaA923vPBuwm/GJp7TUZb1Gp2W1TfIAjL9Lyb1+o17wbongffu 6/wxE2kfxDlAR1MaJNINoPqNpWn1kd/hRr0DQl0Cl9fzye4k8ypJWW1oIBDUD74r6sKwsO Sruutpw+ARs6Ta1fllNmFFoE8wRDl6cmgWbQ/VKNCyexU4pB9joztoBXlL4kadCR9v2q/1 D9vfCEdZ7di1Bc73p94exVowL/llWS/ytsRTlxRBuQzuUc9UfInx0Oqu1S0k+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=twdb.moe header.s=default header.b=jG1zoM+V; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.63 Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=twdb.moe header.s=default header.b=jG1zoM+V; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A0DDF28FE8 X-Spam-Score: -1.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: OKCe3lXRuEB2 * gnu/packages/wm.scm (swc): New variable. --- gnu/packages/wm.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 94dfd28f4a..d5c5dc4ed2 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -2966,3 +2966,48 @@ (define-public wld (synopsis "A primitive drawing library targeted at Wayland") (description "wld is a drawing library that targets Wayland.") (license license:expat)))) + +(define-public swc + (let ((commit "a7b615567f83d9e48d585251015048c441ca0239") + (revision "1")) + (package + (name "swc") + (version (git-version "0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/michaelforney/swc") + (commit commit))) + (sha256 + (base32 + "19rpbwpi81pm92fkhsmbx7pzagpah5m9ih5h5k3m8dy6r8ihdh35")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags + (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (inputs (list libdrm + libinput + libxcb + libxkbcommon + wayland + wayland-protocols + wld + xcb-util-wm)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/michaelforney/swc") + (synopsis "A library for making a simple Wayland compositor") + (description "swc is a small Wayland compositor implemented as a library. + +It has been designed primarily with tiling window managers in mind. Additionally, +notable features include: +@itemize +@item Easy to follow code base +@item XWayland support +@item Can place borders around windows +@end itemize") + (license license:expat)))) -- 2.38.0