From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uBd/Aw1xCWAdYgAA0tVLHw (envelope-from ) for ; Thu, 21 Jan 2021 12:18:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wm9gOgxxCWBjFgAAbx9fmQ (envelope-from ) for ; Thu, 21 Jan 2021 12:18:20 +0000 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 7761D940629 for ; Thu, 21 Jan 2021 12:18:20 +0000 (UTC) Received: from localhost ([::1]:52736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2Yup-0001wR-9S for larch@yhetil.org; Thu, 21 Jan 2021 07:18:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2Ysg-000800-Qz for guix-patches@gnu.org; Thu, 21 Jan 2021 07:16:11 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45463) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l2Ysc-00056L-6W for guix-patches@gnu.org; Thu, 21 Jan 2021 07:16:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l2Ysc-0007ZQ-0Q for guix-patches@gnu.org; Thu, 21 Jan 2021 07:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46018] [PATCH] Add dwl. Resent-From: Z572 <873216071@qq.com> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Jan 2021 12:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46018@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161123131429044 (code B ref -1); Thu, 21 Jan 2021 12:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jan 2021 12:15:14 +0000 Received: from localhost ([127.0.0.1]:57009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2Yrq-0007YM-F7 for submit@debbugs.gnu.org; Thu, 21 Jan 2021 07:15:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:40484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <873216071@qq.com>) id 1l2Yrn-0007YC-PT for submit@debbugs.gnu.org; Thu, 21 Jan 2021 07:15:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <873216071@qq.com>) id 1l2Yrm-0007Mx-2k for guix-patches@gnu.org; Thu, 21 Jan 2021 07:15:10 -0500 Received: from out203-205-221-153.mail.qq.com ([203.205.221.153]:49953 helo=qq.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <873216071@qq.com>) id 1l2Yrb-0004W2-Ad for guix-patches@gnu.org; Thu, 21 Jan 2021 07:15:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1611231282; bh=Zrd5p0xTmu3tQ/uyfDWSydgazj6dmRtRoSnzqed5R0E=; h=From:To:Subject:Date; b=AgjokTRFQGQvblugvTSSCpBhx0hTbnZhCwYuM6Pc/YDquNP+hlJV2HC9YVvaj0njt 8WhRbCcx8kygsF8pq/iq0Bf3pd7zOeIH9vgPA0gKP5dWUhCLYGeYbT+PnZT/NjPXwC bkR4kc7Dqj7b+5mHvyUECwuj6KVB0qoGEqtr9JgA= Received: from Z572 ([112.10.77.123]) by newxmesmtplogicsvrsza8.qq.com (NewEsmtp) with SMTP id 3A8204CD; Thu, 21 Jan 2021 20:14:40 +0800 X-QQ-mid: xmsmtpt1611231280t6ulrumuu Message-ID: X-QQ-XMAILINFO: NmHwYPTv3QWk79HaGLoDWWrOiEtLK2Ok5WZ+7s2Z4tbWmci44Kavr0jdEkxdAk AYbrXFeNFqdQX0RuCHFpeS+yM/LQBW10xdqNl7KlNGG2HIFR4qDJzCfFjl7+7AGTiXPtUOQiaxr/ wCUGFJGJXl5CA4zZbT68IzvAjWDiyXfDP/ZdIesk4v3JC0pTVSdze+/2FvDYo0vEzsNWZyqT4j09 AaP3SxOhmQQKUe2nQrzqxhHJ1WYSHg3MEyOyn42KW/FMwXE0XTdCPVOPf9AqBnoXpqO3yDBpD5Pf EtaSUJfAb4zIvX2h2wUhDkI4jgEXoy2yR8h4+yNP9awKcRFp8CLcB4slofqKzDEicrudA5GrSAcg 5lzuNdVy6Zd+QvbljVId0l29axO84bjJ6/e7fuX7MrT4q5BRG/Nh06SuAcWyT4KL66UBFYiAuGYO 5rRW40TX3T2uQg1DSeWa2XLB7euR6yGNi4RJkb7EfDhUNGrjOatmxg8YvaZBtZLAa+z6wCepoLCt wi56umtDo+EEzvrj1b8tVJA5Ujftw0c10i2H2fv02CkoQK2c0006RDPbkv1e3nevBrx/6TiVotp4 6yzQuBEVKSaPLGxDoF3l9jod5C88ZGvsCYZXl8s3+u2+ZwsgjkC90MXjcBAAH7o9L/gbAnNggFbP DbkiFLMj1pi4MY From: Z572 <873216071@qq.com> Date: Thu, 21 Jan 2021 20:14:40 +0800 Message-ID: <87h7najxlb.fsf@qq.com> MIME-Version: 1.0 Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-dwl.patch Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=203.205.221.153; envelope-from=873216071@qq.com; helo=qq.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_DYNAMIC=0.982, 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-Spam-Score: 3.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=qq.com header.s=s201512 header.b=AgjokTRF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=qq.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 7761D940629 X-Spam-Score: 3.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0I1iT4+hU/1z >From fa60adfd7b2b48ea12a1ed66e7da9db94412e3af Mon Sep 17 00:00:00 2001 From: Zheng Junjie <873216071@qq.com> Date: Thu, 21 Jan 2021 20:12:13 +0800 Subject: [PATCH] gnu: Add dwl. --- gnu/packages/wm.scm | 48 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 084822f2c7..682fc69dbe 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -41,6 +41,7 @@ ;;; Copyright =C2=A9 2020 B. Wilson ;; Copyright =C2=A9 2020 Niklas Eklund ;;; Copyright =C2=A9 2020 Robert Smith +;;; Copyright =C2=A9 2021 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -1258,6 +1259,53 @@ It is inspired by Xmonad and dwm. Its major feature= s include: project derived from the original Calm Window Manager.") (license license:isc))) =20 +(define-public dwl + (package + (name "dwl") + (version "0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/djpohly/dwl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "18g2sx8cv54zl5iw5m9lzngrp6ra2pyp7c68qps2ava3brw9m0j2")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags + (list + "CC=3Dgcc" + (string-append "PREFIX=3D" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure) ; no configure + (replace 'install ; no install targer + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (install-file "dwl" bin))))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("wlroots" ,wlroots))) + (home-page "https://github.com/djpohly/dwl") + (synopsis "Dwm for Wayland") + (description + "A compact, hackable compositor for Wayland based on wlroots. It is +intended to fill the same space in the Wayland world that dwm does in X11, +primarily in terms of philosophy, and secondarily in terms of functionalit= y. +Like dwm, dwl is: +@itemize +@item Easy to understand, hack on, and extend with patches +@item One C source file (or a very small number) configurable via config.h +@item Limited to 2000 SLOC to promote hackability +@item Tied to as few external dependencies as possible +@end itemize") ;; LICENSE LICENSE.dwm LICENSE.tinywl + (license (list license:gpl3+ license:expat license:cc0)))) + (define-public nitrogen (package (name "nitrogen") --=20 2.30.0