Message ID | cb7a149a578dcd950dc6c53e2e756628305b90d1.1663018041.git.trev@trevdev.ca |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D878927BBEA; Mon, 12 Sep 2022 22:52:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3733027BBE9 for <patchwork@mira.cbaines.net>; Mon, 12 Sep 2022 22:52:18 +0100 (BST) Received: from localhost ([::1]:53784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org>) id 1oXrLl-000558-CX for patchwork@mira.cbaines.net; Mon, 12 Sep 2022 17:52:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1oXrLW-00054l-To for guix-patches@gnu.org; Mon, 12 Sep 2022 17:52:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59545) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1oXrLW-0004c0-LB for guix-patches@gnu.org; Mon, 12 Sep 2022 17:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1oXrLW-0004X8-CJ for guix-patches@gnu.org; Mon, 12 Sep 2022 17:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57756] [PATCH 2/2] * gnu/packages/wm.scm: Add sbcl-stumpwm-notify Resent-From: Trevor Richards <trev@trevdev.ca> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Sep 2022 21:52:02 +0000 Resent-Message-ID: <handler.57756.B57756.166301948817372@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57756 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57756@debbugs.gnu.org Received: via spool by 57756-submit@debbugs.gnu.org id=B57756.166301948817372 (code B ref 57756); Mon, 12 Sep 2022 21:52:02 +0000 Received: (at 57756) by debbugs.gnu.org; 12 Sep 2022 21:51:28 +0000 Received: from localhost ([127.0.0.1]:48244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1oXrKy-0004W8-HB for submit@debbugs.gnu.org; Mon, 12 Sep 2022 17:51:28 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:50519) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <trev@trevdev.ca>) id 1oXrKx-0004Vo-4F for 57756@debbugs.gnu.org; Mon, 12 Sep 2022 17:51:27 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 7471E3200927 for <57756@debbugs.gnu.org>; Mon, 12 Sep 2022 17:51:21 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 12 Sep 2022 17:51:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trevdev.ca; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1663019480; x= 1663105880; bh=3EevifJJxeTuBhQAJu8vZdKmV0FCdl13UHfVN8raZYo=; b=a e4+b75UQ0/eFRIj14iOMDwBlUiqvJa/20p1cdMC97fzuPJHjkyYvYSPza/Kjb01+ onprT86Bfxy83Nv3AJhYQY0zccHzxgzDe4mzOKzQbTvVYQup/X2wset7rPuFl08r BbmQ9rNk9Wr4lIoYDPS68XtzFqguJjimsa4ohAnDufxO5xKf4lJdBH1JbYF89Pbs dhnfaOF6MtiAK8fjyy8AePFJZMzpBs3hFSR6j/aT0O8LhkhGGmYcPhG5wCL346ga 3KhdHzi/kqHpju8zkvGoIOLc6FkFMHPkUQrVpq3KjrU2/dRsVGexexMwcNcecXiq f9gBJvaKOxtMhu/4Y7oHw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1663019480; x=1663105880; bh=3 EevifJJxeTuBhQAJu8vZdKmV0FCdl13UHfVN8raZYo=; b=IyKn9Bb1TVVvMnhZn j3dMFbPKlMlCJZwUyNDC26Dw5YwCoUbIFHsjN2gKOHQo3wPFNkd8JNjLDcLC91Qf TY9nBbJtXBzT2Ypn4Bjf3JDvUPbIEbSorDhUDkFofo/oDWVu+EcsATLTBvrdfYYC 879svFEFnNtmUCDP2DHF22ocvQPOXmgPXpd8RyJ2DATaa7QyUduqGtwL1ElG4oKQ 2rBBZwl0cIDYN1o9UyuMfl/291SW4553hPf09uIeL/4ZIqOlB9nuSBzxvTPECfX9 o7mAkjK6nGsdQ6V35TTIWHu1ru7IRfRBFKiD/Ab4MV0JFZ78wvmNmIdGfFCkjWKD EgyFw== X-ME-Sender: <xms:2KkfY0Jcl2XZDE2astZhCDLd8DHC-zuMckKHYKrOcwU6U5g7MKyKqA> <xme:2KkfY0KwI8__WPwyKVMnxGQDTzSUqCwuxdVTZQkPe2u389IJOVAXcG5uIQBRUCqce rXkhasCLmmUN6g33vk> X-ME-Received: <xmr:2KkfY0uwxfJdVbGaMFefsteZ29pck8l1xczfGprizr1iN6R9fdNkVEdPVkPcuu4bcw7b7UEkL5x9MawpgXsH-c3MEqiMXw> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedufedgtdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujgfffhgfkfggtgfgsehtqh ertddtreejnecuhfhrohhmpefvrhgvvhhorhcutfhitghhrghrughsuceothhrvghvseht rhgvvhguvghvrdgtrgeqnecuggftrfgrthhtvghrnhepjeekuedtieeludeukeeggfffgf ekjeeiudfhhfetjeefiefhgfdtgeetheeuhfegnecuffhomhgrihhnpehgihhthhhusgdr tghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe htrhgvvhesthhrvghvuggvvhdrtggr X-ME-Proxy: <xmx:2KkfYxbels4gwbaiE5QIm2gmbBLYJcd3VZUhM8eBxmfZHlZzZN7U0w> <xmx:2KkfY7YXUI6fin4FpK_WJnTTMaSdXNetx2PM2QLvPq86uKKhyZbLeA> <xmx:2KkfY9A4Fr6ZPzOa2-_BfUaP7dUG9pFC5zdHCbEvn4ta-ABZC3Xnkw> <xmx:2KkfY13pYMX3yJe67cXiqVeVYVfvBOEDDMjBIOy3y5YDQXC2cgwljA> Feedback-ID: i762946f9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <57756@debbugs.gnu.org>; Mon, 12 Sep 2022 17:51:20 -0400 (EDT) From: Trevor Richards <trev@trevdev.ca> In-Reply-To: <cover.1663018041.git.trev@trevdev.ca> Date: Mon, 12 Sep 2022 14:10:30 -0700 References: <cover.1663018041.git.trev@trevdev.ca> User-Agent: Notmuch/0.36 (https://notmuchmail.org) Emacs/28.1 (x86_64-pc-linux-gnu) Message-Id: <cb7a149a578dcd950dc6c53e2e756628305b90d1.1663018041.git.trev@trevdev.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-getmail-retrieved-from-mailbox: Patches |
Series |
Add sbcl-xml-emitter
|
|
Commit Message
Trevor Richards
Sept. 12, 2022, 9:10 p.m. UTC
--- gnu/packages/wm.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)
Comments
Trevor Richards <trev@trevdev.ca> writes: > --- > gnu/packages/wm.scm | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) Hi Trevor, The commit message for adding a package like this one would generally look like: gnu: Add sbcl-stumpwm-notify. * gnu/packages/wm.scm (sbcl-stumpwm-notify): New variable. You're mostly there. > diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm > index 451dfce516..6ae0135a64 100644 > --- a/gnu/packages/wm.scm > +++ b/gnu/packages/wm.scm > @@ -56,6 +56,7 @@ > ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> > ;;; Copyright © 2022 muradm <mail@muradm.net> > ;;; Copyright © 2022 Elais Player <elais@fastmail.com> > +;;; Copyright © 2022 Trevor Richards <trev@trevdev.ca> > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -2256,6 +2257,29 @@ (define-public sbcl-stumpwm-screenshot > PNG files.") > (license license:gpl3+))) > > +(define-public sbcl-stumpwm-notify > + (package > + (inherit stumpwm-contrib) > + (name "sbcl-stumpwm-notify") > + (build-system asdf-build-system/sbcl) > + (inputs > + `(("stumpwm" ,stumpwm "lib") > + ("xml-emitter" ,sbcl-xml-emitter) > + ("dbus" ,sbcl-dbus) > + ("bordeaux-threads" ,sbcl-bordeaux-threads))) > + (arguments > + '(#:asd-systems '("notify") > + #:tests? #f Why aren't the tests being run? If they can be run, that would be good. If there's a reason why they can't or shouldn't be run, it would be good to note that in a comment. > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'chdir > + (lambda _ (chdir "util/notify") #t))))) > + (home-page "https://github.com/stumpwm/stumpwm-contrib") > + (synopsis "Notifications server for StumpWM") > + (description "Implements org.freedesktop.Notifications > +interface[fn:dbus-spec]. Shows notifications using stumpwm:message by default.") > + (license license:gpl3))) > + > (define-public lemonbar > (package > (name "lemonbar")
Christopher Baines <mail@cbaines.net> writes: >> --- >> gnu/packages/wm.scm | 24 ++++++++++++++++++++++++ >> 1 file changed, 24 insertions(+) > > Hi Trevor, > > The commit message for adding a package like this one would generally > look like: > > gnu: Add sbcl-stumpwm-notify. > > * gnu/packages/wm.scm (sbcl-stumpwm-notify): New variable. > > > You're mostly there. > Thank you for this feedback! I had been following the guidelines described in the documentation: https://guix.gnu.org/manual/en/html_node/Submitting-Patches.html It states to write patches in the "changelog" format described here: https://www.gnu.org/prep/standards/html_node/Change-Logs.html#Change-Logs Is there documentation somewhere that might help me adapt my strategy for future contributions? I do prefer the tighter format you're asking for :) >> diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm >> index 451dfce516..6ae0135a64 100644 >> --- a/gnu/packages/wm.scm >> +++ b/gnu/packages/wm.scm >> @@ -56,6 +56,7 @@ >> ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> >> ;;; Copyright © 2022 muradm <mail@muradm.net> >> ;;; Copyright © 2022 Elais Player <elais@fastmail.com> >> +;;; Copyright © 2022 Trevor Richards <trev@trevdev.ca> >> ;;; >> ;;; This file is part of GNU Guix. >> ;;; >> @@ -2256,6 +2257,29 @@ (define-public sbcl-stumpwm-screenshot >> PNG files.") >> (license license:gpl3+))) >> >> +(define-public sbcl-stumpwm-notify >> + (package >> + (inherit stumpwm-contrib) >> + (name "sbcl-stumpwm-notify") >> + (build-system asdf-build-system/sbcl) >> + (inputs >> + `(("stumpwm" ,stumpwm "lib") >> + ("xml-emitter" ,sbcl-xml-emitter) >> + ("dbus" ,sbcl-dbus) >> + ("bordeaux-threads" ,sbcl-bordeaux-threads))) >> + (arguments >> + '(#:asd-systems '("notify") >> + #:tests? #f > > Why aren't the tests being run? If they can be run, that would be > good. If there's a reason why they can't or shouldn't be run, it would > be good to note that in a comment. > I flagged them off while testing the build in my own channel and forgot to put them back on. Oops! They pass if they exist. I can submit an update. >> + #:phases >> + (modify-phases %standard-phases >> + (add-after 'unpack 'chdir >> + (lambda _ (chdir "util/notify") #t))))) >> + (home-page "https://github.com/stumpwm/stumpwm-contrib") >> + (synopsis "Notifications server for StumpWM") >> + (description "Implements org.freedesktop.Notifications >> +interface[fn:dbus-spec]. Shows notifications using stumpwm:message by default.") >> + (license license:gpl3))) >> + >> (define-public lemonbar >> (package >> (name "lemonbar") >
Trev <trev@trevdev.ca> writes: > Christopher Baines <mail@cbaines.net> writes: > >>> --- >>> gnu/packages/wm.scm | 24 ++++++++++++++++++++++++ >>> 1 file changed, 24 insertions(+) >> >> Hi Trevor, >> >> The commit message for adding a package like this one would generally >> look like: >> >> gnu: Add sbcl-stumpwm-notify. >> >> * gnu/packages/wm.scm (sbcl-stumpwm-notify): New variable. >> >> >> You're mostly there. >> > > Thank you for this feedback! I had been following the guidelines > described in the documentation: > > https://guix.gnu.org/manual/en/html_node/Submitting-Patches.html > > It states to write patches in the "changelog" format described here: > > https://www.gnu.org/prep/standards/html_node/Change-Logs.html#Change-Logs > > Is there documentation somewhere that might help me adapt my strategy > for future contributions? I do prefer the tighter format you're asking > for :) I'm no expert on the changelog format, but I think you were just missing the descriptive first line of the commit. Looking at how other commits are written is the only recommendation I can give for writing commit messages. Also don't worry about it too much :) Chris
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 451dfce516..6ae0135a64 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -56,6 +56,7 @@ ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2022 muradm <mail@muradm.net> ;;; Copyright © 2022 Elais Player <elais@fastmail.com> +;;; Copyright © 2022 Trevor Richards <trev@trevdev.ca> ;;; ;;; This file is part of GNU Guix. ;;; @@ -2256,6 +2257,29 @@ (define-public sbcl-stumpwm-screenshot PNG files.") (license license:gpl3+))) +(define-public sbcl-stumpwm-notify + (package + (inherit stumpwm-contrib) + (name "sbcl-stumpwm-notify") + (build-system asdf-build-system/sbcl) + (inputs + `(("stumpwm" ,stumpwm "lib") + ("xml-emitter" ,sbcl-xml-emitter) + ("dbus" ,sbcl-dbus) + ("bordeaux-threads" ,sbcl-bordeaux-threads))) + (arguments + '(#:asd-systems '("notify") + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ (chdir "util/notify") #t))))) + (home-page "https://github.com/stumpwm/stumpwm-contrib") + (synopsis "Notifications server for StumpWM") + (description "Implements org.freedesktop.Notifications +interface[fn:dbus-spec]. Shows notifications using stumpwm:message by default.") + (license license:gpl3))) + (define-public lemonbar (package (name "lemonbar")