From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-4.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.5 Received: by atuin.qyliss.net (Postfix, from userid 496) id 899B0CB5; Thu, 1 Jul 2021 15:55:36 +0000 (UTC) Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 44F76BED; Thu, 1 Jul 2021 15:55:13 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 496) id 7DECEBB8; Thu, 1 Jul 2021 15:55:09 +0000 (UTC) Received: from wforward3-smtp.messagingengine.com (wforward3-smtp.messagingengine.com [64.147.123.22]) by atuin.qyliss.net (Postfix) with ESMTPS id E9EE2C33 for ; Thu, 1 Jul 2021 15:55:03 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailforward.west.internal (Postfix) with ESMTP id 547F51AC10F4 for ; Thu, 1 Jul 2021 11:55:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 01 Jul 2021 11:55:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=Be02B3hTvbezWvhKo2H2kRZ7zEHPhVY6tHQRchAy2+Q=; b=V589q1MA /bAt+9vguf0U9xk5GIdRogSVxcrF0kDU5xeuSLiBPBf10r3opi3jH+j5RRjKwPzx Lg+Izji/4Sx/1L3rry6lWjNqO6d5WlcHte7A42UU9JtnyqRMv6eL4I7Ws0pGlrW1 REyC7Ny5RxKX5dNf1Ch6WKMWZC5JH4s3pSMp6qkchsg+70knnh0tCR3rcjfZYQsL r27XduYt8j/MBTb9zyqiq6BkC7ufxYMfwt1F4ATbV6L//u67o01MJZIIawffJCoI XZJMr/ETDMWS4u8RBRVnmgzHt1w6JkvcyFD3roW5tX7KKlPx3lemL+fqttS2zU4F LrXgah54VNyrxA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeeiiedgleefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptehlhihsshgrucftohhsshcuoehhihesrghlhihsshgrrdhi sheqnecuggftrfgrthhtvghrnhepveejuedtfeelkefgffeugeehtdehleefudeugeegtd fhvdffheduueekffejkedvnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehqhihlihhsshesvg hvvgdrqhihlhhishhsrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 1 Jul 2021 11:55:00 -0400 (EDT) Received: by eve.qyliss.net (Postfix, from userid 1000) id 0BA931422; Thu, 1 Jul 2021 15:54:57 +0000 (UTC) From: Alyssa Ross To: devel@spectrum-os.org Subject: [PATCH nixpkgs 1/2] tinywl: init at 0.11.0 Date: Thu, 1 Jul 2021 15:54:45 +0000 Message-Id: <20210701155446.1306212-2-hi@alyssa.is> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210701155446.1306212-1-hi@alyssa.is> References: <20210701155446.1306212-1-hi@alyssa.is> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 2JAQNXHZOXQ5GUPVNX5PC76NCGXQ2WWG X-Message-ID-Hash: 2JAQNXHZOXQ5GUPVNX5PC76NCGXQ2WWG X-MailFrom: qyliss@eve.qyliss.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.4 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: tinywl is the wlroots reference compositor. It's very useful when debugging Wayland/wlroots problems as it helps with determining whether an issue is the fault of a compositor or of wlroots. (cherry picked from commit d59a508701fca5b6cf090f19abfe35d4b41e03bb) --- .../window-managers/tinywl/default.nix | 30 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/applications/window-managers/tinywl/default.nix diff --git a/pkgs/applications/window-managers/tinywl/default.nix b/pkgs/applications/window-managers/tinywl/default.nix new file mode 100644 index 00000000000..4dc50fb8ed4 --- /dev/null +++ b/pkgs/applications/window-managers/tinywl/default.nix @@ -0,0 +1,30 @@ +{ lib, stdenv, wlroots, pkg-config +, libGL, libxkbcommon, pixman, udev, wayland, wayland-protocols +}: + +stdenv.mkDerivation { + pname = "tinywl"; + inherit (wlroots) version src; + + sourceRoot = "source/tinywl"; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ + libGL libxkbcommon pixman udev wayland wayland-protocols wlroots + ]; + + installPhase = '' + runHook preInstall + mkdir -p $out/bin + cp tinywl $out/bin + runHook postInstall + ''; + + meta = with lib; { + homepage = "https://github.com/swaywm/wlroots/tree/master/tinywl"; + description = ''"minimum viable product" Wayland compositor based on wlroots.''; + maintainers = with maintainers; [ qyliss ]; + license = licenses.cc0; + inherit (wlroots.meta) platforms; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6ba0505cb8a..d9f6adac419 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23268,6 +23268,8 @@ in trayer = callPackage ../applications/window-managers/trayer { }; + tinywl = callPackage ../applications/window-managers/tinywl { }; + tinywm = callPackage ../applications/window-managers/tinywm { }; tree-from-tags = callPackage ../applications/audio/tree-from-tags { }; -- 2.32.0