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 3OJdJQ8UDGD/CgAA0tVLHw (envelope-from ) for ; Sat, 23 Jan 2021 12:18:23 +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 uCSeIA8UDGDJDAAAbx9fmQ (envelope-from ) for ; Sat, 23 Jan 2021 12:18:23 +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 A28E0940418 for ; Sat, 23 Jan 2021 12:18:20 +0000 (UTC) Received: from localhost ([::1]:50420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3Hrv-0001pj-69 for larch@yhetil.org; Sat, 23 Jan 2021 07:18:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3Hre-0001pX-Rs for guix-patches@gnu.org; Sat, 23 Jan 2021 07:18:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50477) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l3Hre-00049m-Km for guix-patches@gnu.org; Sat, 23 Jan 2021 07:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l3Hre-0006uw-Cv for guix-patches@gnu.org; Sat, 23 Jan 2021 07:18: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: Sat, 23 Jan 2021 12:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Received: via spool by 46018-submit@debbugs.gnu.org id=B46018.161140426726558 (code B ref 46018); Sat, 23 Jan 2021 12:18:02 +0000 Received: (at 46018) by debbugs.gnu.org; 23 Jan 2021 12:17:47 +0000 Received: from localhost ([127.0.0.1]:33790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3HrO-0006uH-Rl for submit@debbugs.gnu.org; Sat, 23 Jan 2021 07:17:47 -0500 Received: from out162-62-57-210.mail.qq.com ([162.62.57.210]:59515 helo=qq.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <873216071@qq.com>) id 1l3HrA-0006tl-Ty for 46018@debbugs.gnu.org; Sat, 23 Jan 2021 07:17:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1611404242; bh=zoO5HYh0BwtsfCzI0oHYFCQOuDGrGABf6GzvGX5uXoU=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=akRH+xsyRjPcDpfyyhACvUV6LJ9PxaqmAsftdamvMOMinRvuoeKxdyzEXcoRhAQlw EAtEG+IREcjTlLR2dl5UC2P03E59BgTfLTWy6VFw+ScFTBhz1P1l3A1YcYg5nHQgcG p4BuGPijDkdRoZm00lrnysyUWWMMbSm0CGZfiRSA= Received: from Z572 ([39.183.0.73]) by newxmesmtplogicsvrszb6.qq.com (NewEsmtp) with SMTP id 452B3818; Sat, 23 Jan 2021 20:17:18 +0800 X-QQ-mid: xmsmtpt1611404238thia2m7mk Message-ID: X-QQ-XMAILINFO: OIQkpkv/ETup+fNOvlYb+fsKbqJvYTXWLZNl8FJQKDOgPT76efEZQx5yLwahzB VhmzBx7JazOqGSYy6UQ8RXxAMA0ZjZaKa9WUw8hLUrMe/oUjFfmOkoOhpLSjsYtNmfZm8J9EDASn erABrmMecAU2BRPS8ICo+eD6dpVPW8D/wZWtdYasn562xPFEUvgSZKx7S6kxPA/VUBSD/OIMlppk fN8UYw/tMu3VzMW/6cPfQuXX1nGbP1BAMOpcw1469CFqZ/xMwW8A72YCC5H/LpTsy5DJ3Hp8H6Co Fl/S7piPF22U5APlQxgJEpqMGrsgHGdiCJj4Mx036kjzOVwZ5V9iTqFR/c+itSIgxtob/4fwFGvW gTgSE2Esjz8aZyxxkcEj8JbQTLJxpEFjqBoFqR0jwZW0EZzveXopxykW71HhhdFunsD2+WaoZLNP lF5FCjJMM4A/mAsDVYSs+BRqA6ia7r6gbMEkIVzc2BB1ZrkaUCWHxR3utPX27evukKQ13sXI1gYa 4uGOHibhSVRVPmeavWMZtNU2RTFkoJdUkvugv6Zu4/OFcgIvsvmYLHhMpe703FTFLVXQJ5WJaX94 zuRkOCEl/3lnZeIahklgGvCqGxDkiStCeSPohfTyzYw7txwzRZTMYkYWDsVq+IbIr56spxRoxMIP Wx6dN1vP0t7rjNfMFqY4qjcffpWGst8UgSsA== From: Z572 <873216071@qq.com> References: <874kj7gb04.fsf@nicolasgoaziou.fr> Date: Sat, 23 Jan 2021 20:17:18 +0800 In-Reply-To: <874kj7gb04.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sat, 23 Jan 2021 12:15:23 +0100") Message-ID: <87bldfrgoh.fsf_-_@qq.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) 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 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: , Cc: 46018@debbugs.gnu.org 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=akRH+xsy; 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: A28E0940418 X-Spam-Score: 3.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: Oy3fLY7PhCJz >From 19ea34ad94d10453e0b6697a835217df50a34d45 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 | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 084822f2c7..38e0d5ea98 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,49 @@ 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 + (string-append "CC=3D" ,(cc-for-target)) + (string-append "PREFIX=3D" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (delete 'configure) ; no configure + (replace 'install ; no install target + (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 "Dynamic window manager 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 easy to understand and hack on, due to a limited size and + a few external dependencies. It is configurable via @file{config.h}.") + ;; LICENSE LICENSE.dwm LICENSE.tinywl + (license (list license:gpl3+ license:expat license:cc0)))) + (define-public nitrogen (package (name "nitrogen") --=20 2.30.0