From unknown Tue Aug 19 05:10:12 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#50740 <50740@debbugs.gnu.org> To: bug#50740 <50740@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add wmname. Reply-To: bug#50740 <50740@debbugs.gnu.org> Date: Tue, 19 Aug 2025 12:10:12 +0000 retitle 50740 [PATCH] gnu: Add wmname. reassign 50740 guix-patches submitter 50740 Alexandru-Sergiu Marton severity 50740 normal tag 50740 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 22 12:29:02 2021 Received: (at submit) by debbugs.gnu.org; 22 Sep 2021 16:29:02 +0000 Received: from localhost ([127.0.0.1]:51537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mT57F-0007uY-Pm for submit@debbugs.gnu.org; Wed, 22 Sep 2021 12:29:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:55730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mT57C-0007uH-Lt for submit@debbugs.gnu.org; Wed, 22 Sep 2021 12:29:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mT57C-0008D9-Bl for guix-patches@gnu.org; Wed, 22 Sep 2021 12:28:58 -0400 Received: from mout01.posteo.de ([185.67.36.65]:56827) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mT579-0007TZ-Li for guix-patches@gnu.org; Wed, 22 Sep 2021 12:28:58 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 8D16224002C for ; Wed, 22 Sep 2021 18:28:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1632328131; bh=IMM5C1IAJC8q2PhQhzCyQjGMx1j5klSZDQq1lICwQpI=; h=From:To:Cc:Subject:Date:From; b=covPnqta4vxUkfHgNaO6FtachhW5PbM9ENv1UJqQNmT2Ktvq4d4aVv6DUYppqPFnR 8r8ThFhSPAcEK5Q+obOHVcMHILLW3fhzy9isclxhsOdHox0tOdDn7xmWhm/cruIKz2 bIShlh/FUPoGIoGGpFG9oyNeLXdiR/ZIdZSWDd1oCKv0IJTObGH6NVRZMHmK8pXJXL XuRuAv/PsSd+7RidSW4OSAJqgwT1fBKsle5SYHPlUJVOojt89UJ6plzLWs6Wdl9jik PwUJN4Q/pTVpk6aban6KnfLi9PvQN9rAM8a0X1pGBOfqOtkoGRQbFC4wZhqJU0cYsZ QO+iDIzkUKlkQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HF3dZ5MQCz9rxW; Wed, 22 Sep 2021 18:28:50 +0200 (CEST) From: Alexandru-Sergiu Marton To: guix-patches@gnu.org Subject: [PATCH] gnu: Add wmname. Date: Wed, 22 Sep 2021 16:28:31 +0000 Message-Id: <20210922162831.24051-1-brown121407@posteo.ro> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=brown121407@posteo.ro; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Alexandru-Sergiu Marton X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/suckless.scm (wmname): New variable. --- gnu/packages/suckless.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index b24eced379..314d8d5e44 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -488,6 +488,36 @@ few minutes.") (home-page "https://tools.suckless.org/sent") (license license:x11))) +(define-public wmname + (package + (name "wmname") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://dl.suckless.org/tools/wmname-" + version ".tar.gz")) + (sha256 + (base32 "1i82ilhbk36hspc2j0fbpg27wjj7xnvzpv1ppgf6fccina4d36jm")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:make-flags + (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) ; No configure script + (inputs + `(("libx11" ,libx11))) + (home-page "https://tools.suckless.org/x/wmname/") + (synopsis "Print or set the window manager name") + (description "wmname prints/sets the window manager name property of the +root window similar to how hostname(1) behaves. It is useful for fixing +problems with JDK versions and other broken programs assuming a reparenting +window manager for instance.") + (license license:x11))) + (define-public xbattmon (package (name "xbattmon") -- 2.33.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 22 19:42:19 2021 Received: (at 50740) by debbugs.gnu.org; 22 Sep 2021 23:42:19 +0000 Received: from localhost ([127.0.0.1]:52175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTBsZ-0004VT-50 for submit@debbugs.gnu.org; Wed, 22 Sep 2021 19:42:19 -0400 Received: from out1.migadu.com ([91.121.223.63]:29302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTBsU-0004VG-5m for 50740@debbugs.gnu.org; Wed, 22 Sep 2021 19:42:18 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1632354132; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NgMLjlblca2iSMkCpchAmbOKXrBgZaVd8GeUX4hwqCs=; b=LyrrXtF0aMkaxUR/nXTK96WXUnNX2o0nH9mnrbUH1Re4Nw28Fu7JBcseSuilKUaLjT86ow RaniXWsaeU7xuuvgiiMVlw8ekC9hKW63IfTorxZ1hKUSTO2DA1RfhjuU4IPBXdx/N/N5bn u3kMdU9AQRMA6v3ykk5x2GML8I1mYnw= From: Sarah Morgensen To: Alexandru-Sergiu Marton Subject: Re: [bug#50740] [PATCH] gnu: Add wmname. References: <20210922162831.24051-1-brown121407@posteo.ro> Date: Wed, 22 Sep 2021 16:42:09 -0700 In-Reply-To: <20210922162831.24051-1-brown121407@posteo.ro> (Alexandru-Sergiu Marton's message of "Wed, 22 Sep 2021 16:28:31 +0000 (6 hours, 18 minutes, 15 seconds ago)") Message-ID: <86sfxww52m.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: iskarian@mgsn.dev X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50740 Cc: 50740@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Thanks for your patch. I have a couple small suggestions, but otherwise it looks good to me! Alexandru-Sergiu Marton writes: > * gnu/packages/suckless.scm (wmname): New variable. > --- > gnu/packages/suckless.scm | 30 ++++++++++++++++++++++++++++++ > 1 file changed, 30 insertions(+) > > diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm > index b24eced379..314d8d5e44 100644 > --- a/gnu/packages/suckless.scm > +++ b/gnu/packages/suckless.scm > @@ -488,6 +488,36 @@ few minutes.") > (home-page "https://tools.suckless.org/sent") > (license license:x11))) > > +(define-public wmname > + (package > + (name "wmname") > + (version "0.1") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://dl.suckless.org/tools/wmname-" > + version ".tar.gz")) > + (sha256 > + (base32 "1i82ilhbk36hspc2j0fbpg27wjj7xnvzpv1ppgf6fccina4d36jm")))) > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f Please always comment "#:tests? #f", even if it's just "no test suite"/"no tests". > + #:make-flags > + (list (string-append "CC=" ,(cc-for-target)) > + (string-append "PREFIX=" %output)) > + #:phases > + (modify-phases %standard-phases > + (delete 'configure)))) ; No configure script > + (inputs > + `(("libx11" ,libx11))) > + (home-page "https://tools.suckless.org/x/wmname/") > + (synopsis "Print or set the window manager name") > + (description "wmname prints/sets the window manager name property of the > +root window similar to how hostname(1) behaves. It is useful for fixing > +problems with JDK versions and other broken programs assuming a reparenting > +window manager for instance.") Consider: (description "@command{wmname} prints/sets the window manager name property of the root window, similar to how @command{hostname} behaves. It is useful for fixing problems with JDK versions and other broken programs, such as those which assume a reparenting window manager.") > + (license license:x11))) Though the license header *says* "MIT/X Consortium", the actual license text looks like expat to me [0]. * Package review checklist (WIP) Lack of a check is not proof of noncompliance. 1. [ ] Package builds (guix build package) [X] x86_64 [ ] aarch64 [ ] armhf [ ] powerpc64le [ ] i686 [ ] i586 [ ] mips64le 2. [ ] Build is reproducible (guix build --rounds=n package) 3. [ ] Tests enabled (if available) or disabled with in-source comment 4. [ ] No extraneous dependencies (guix size package) 5. [ ] No unnecessary pre-built binaries/blobs 6. [ ] Dependencies unvendored when available in Guix 7. [ ] Cross-compile friendly (cc-for-target, patches with inputs) 8. [ ] License matches source 9. [ ] No problematic lints (guix lint package) 10. [ ] Formatting follows guidelines - [ ] Lines wrap at 80 characters - [ ] Indentation passes etc/indent-code.el - [ ] Two spaces used between sentences For new packages: 1. [ ] Source url is robust * mirror:// used with url-fetch when possible * No auto-generated archives from source repo (prefer cloning) 2. [ ] Synopsis is short, descriptive, and meaningful to a wide audience 3. [ ] Description is objective, takes 5-10 lines, uses full sentences, and provides the information users need to decide whether the software fits their needs. [0] https://en.wikipedia.org/wiki/MIT_License -- Sarah From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 22 19:50:11 2021 Received: (at 50740) by debbugs.gnu.org; 22 Sep 2021 23:50:11 +0000 Received: from localhost ([127.0.0.1]:52189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTC0B-0004kk-9O for submit@debbugs.gnu.org; Wed, 22 Sep 2021 19:50:11 -0400 Received: from out0.migadu.com ([94.23.1.103]:19088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTC08-0004kU-SH for 50740@debbugs.gnu.org; Wed, 22 Sep 2021 19:50:10 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1632354606; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+6A8d8Lb1Dww3P4OIth4BlVwZaFmk8SeqmPC/LKGrnU=; b=X6BZT1T7zM2MzfJA/pQnUg6zhAqWc2t3BNgaqpfnAcbHyFKrImhipEhFMSrpEVes1DuM6T VuNT4Rc0dOWoWYw/dx3PydTLdrOpY25Z2QUcEX4t2iKDiOgCN1987qt0R2ecNGD/1+9SgZ w/6lfU/DSzEjE6rFqGroSkMp2jiku68= From: Sarah Morgensen To: Alexandru-Sergiu Marton Subject: Re: [bug#50740] [PATCH] gnu: Add wmname. References: <20210922162831.24051-1-brown121407@posteo.ro> <86sfxww52m.fsf@mgsn.dev> Date: Wed, 22 Sep 2021 16:50:04 -0700 In-Reply-To: <86sfxww52m.fsf@mgsn.dev> (Sarah Morgensen's message of "Wed, 22 Sep 2021 16:42:09 -0700 (5 minutes, 7 seconds ago)") Message-ID: <86pmt0w4pf.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: iskarian@mgsn.dev X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50740 Cc: 50740@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, Sarah Morgensen writes: > > Though the license header *says* "MIT/X Consortium", the actual license > text looks like expat to me [0]. > > * Package review checklist (WIP) > Lack of a check is not proof of noncompliance. > > 1. [ ] Package builds (guix build package) > [X] x86_64 [ ] aarch64 [ ] armhf [ ] powerpc64le > [ ] i686 [ ] i586 [ ] mips64le > 2. [ ] Build is reproducible (guix build --rounds=n package) > 3. [ ] Tests enabled (if available) or disabled with in-source comment > 4. [ ] No extraneous dependencies (guix size package) > 5. [ ] No unnecessary pre-built binaries/blobs > 6. [ ] Dependencies unvendored when available in Guix > 7. [ ] Cross-compile friendly (cc-for-target, patches with inputs) > 8. [ ] License matches source > 9. [ ] No problematic lints (guix lint package) > 10. [ ] Formatting follows guidelines > - [ ] Lines wrap at 80 characters > - [ ] Indentation passes etc/indent-code.el > - [ ] Two spaces used between sentences > > For new packages: > 1. [ ] Source url is robust > * mirror:// used with url-fetch when possible > * No auto-generated archives from source repo (prefer cloning) > 2. [ ] Synopsis is short, descriptive, and meaningful to a wide audience > 3. [ ] Description is objective, takes 5-10 lines, uses full sentences, > and provides the information users need to decide whether the > software fits their needs. Apologies for unintentionally including an empty copy of this. I'm still tweaking my Emacs bindings :) -- Sarah From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 23 10:16:37 2021 Received: (at 50740) by debbugs.gnu.org; 23 Sep 2021 14:16:37 +0000 Received: from localhost ([127.0.0.1]:55299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTPWf-0006cI-4S for submit@debbugs.gnu.org; Thu, 23 Sep 2021 10:16:37 -0400 Received: from mout01.posteo.de ([185.67.36.65]:40173) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTPWd-0006br-4B for 50740@debbugs.gnu.org; Thu, 23 Sep 2021 10:16:36 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id D2CFD240027 for <50740@debbugs.gnu.org>; Thu, 23 Sep 2021 16:16:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1632406588; bh=5+KgLiqB4cy8S6pr9Yqxe/kJuPuCWdJ9ZEcFwdJiF+w=; h=Date:From:To:Cc:Subject:From; b=a33ej/f668er0/e2Zq27TcG+BbGjMf5hRJItDeyCopzQkKbXfn1iB0YIkyHs1ZKxi Nkh7Exw9FhY1a0AvQxKHTJA7SA1wL/UijPnaIkh78N4Yzrb32kZjYa4cCmCNnSF7al q/oxEzgJszbgmIPvRpDg9ywrMNbs9GMDly2C1OE2sUJO3MRytK4Ghu48KwLVjXqTY8 ZxrBjsiCUR2P6lnVxDq/KKUe4E/retWO73w9lmp6I6rycl7r36emQeYRK/b8DzvWPk K0SEekMwmstNE/y15Jdmgsa0hpsTYsQoOgo6Jf+n0JPJPGY+KOr8cqqjxbaUU59RoS jWmZ5txjbM+hQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HFcfM3qNFz6tmV; Thu, 23 Sep 2021 16:16:27 +0200 (CEST) Date: Thu, 23 Sep 2021 14:16:26 +0000 (UTC) From: Alexandru-Sergiu Marton To: Sarah Morgensen Message-ID: <22dc5753-d05d-49ba-8f5d-9d1ad5e8cb6e@posteo.ro> In-Reply-To: <86sfxww52m.fsf@mgsn.dev> References: <20210922162831.24051-1-brown121407@posteo.ro> <86sfxww52m.fsf@mgsn.dev> Subject: Re: [bug#50740] [PATCH] gnu: Add wmname. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Correlation-ID: <22dc5753-d05d-49ba-8f5d-9d1ad5e8cb6e@posteo.ro> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50740 Cc: 50740@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Sarah, Sep 23, 2021 02:42:19 Sarah Morgensen : > Hello, > > Thanks for your patch.=C2=A0 I have a couple small suggestions, but other= wise it looks > good to me! Thank you for the corrections! I will come back with a V2 at the beginning = of the next week, as I will not be having access to a computer for the next= few days. I hope that isn't a problem. Cheers, Sergiu From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 28 16:18:48 2021 Received: (at 50740) by debbugs.gnu.org; 28 Sep 2021 20:18:48 +0000 Received: from localhost ([127.0.0.1]:47119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVJYq-0007QN-4m for submit@debbugs.gnu.org; Tue, 28 Sep 2021 16:18:48 -0400 Received: from mout01.posteo.de ([185.67.36.65]:35871) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVJYm-0007Q7-GE for 50740@debbugs.gnu.org; Tue, 28 Sep 2021 16:18:42 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id D7EEF240028 for <50740@debbugs.gnu.org>; Tue, 28 Sep 2021 22:18:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1632860313; bh=PqRhNyg3ueIq8J94poM1g+84CNPsDueSpBKZAOrn/uM=; h=From:To:Cc:Subject:Date:From; b=XBAb9V5LnUtnTxLpMEkHvDuu3Nt4XzS2d6fBay1RHAeQ72lBV0CurMVo1/r8LZKqH tPaxErrjfnCsXfBy4cC397kaUEkatbKKtdVydwRHYK+1bqjqVWFUrOMcU46RxpQowT TWbTUEze/l5y9uQKqVBguiiPd612/We3NBbqpvkTg5Y8qq4KNWKQhauWMMqD2dV8hf 2wL5ZUusEGaIRNrttnW/ScjCxkLj8UBPJt7RGXMp5UDvlXr6xTNNWOpxslbbminng+ FPp9mXEkaZaUEWH0gHUtfkQ9FGkgkw2WP+anYa6nR7PBkPROk+qkbQfOaewvcGKJDP Oh5jAxp2TwRHQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJrRr4v73z9rxG; Tue, 28 Sep 2021 22:18:32 +0200 (CEST) From: Alexandru-Sergiu Marton To: 50740@debbugs.gnu.org Subject: [PATCH v2] gnu: Add wmname. Date: Tue, 28 Sep 2021 20:17:24 +0000 Message-Id: <20210928201724.14408-1-brown121407@posteo.ro> In-Reply-To: <86sfxww52m.fsf@mgsn.dev> References: <86sfxww52m.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50740 Cc: Alexandru-Sergiu Marton , Sarah Morgensen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/suckless.scm (wmname): New variable. --- I applied the changes suggested by Sarah and added a copyright line. I left the license set to license:x11 because I saw that other suckless packages that seem to have the same license still use license:x11 (such as dwm). gnu/packages/suckless.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index b24eced379..4ca353ad51 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2017 Alex Griffin ;;; Copyright © 2018–2021 Tobias Geerinckx-Rice ;;; Copyright © 2021 Raghav Gururajan +;;; Copyright © 2021 Alexandru-Sergiu Marton ;;; ;;; This file is part of GNU Guix. ;;; @@ -488,6 +489,36 @@ few minutes.") (home-page "https://tools.suckless.org/sent") (license license:x11))) +(define-public wmname + (package + (name "wmname") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://dl.suckless.org/tools/wmname-" + version ".tar.gz")) + (sha256 + (base32 "1i82ilhbk36hspc2j0fbpg27wjj7xnvzpv1ppgf6fccina4d36jm")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags + (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)) + #:phases ; no tests + (modify-phases %standard-phases + (delete 'configure)))) ; no configure script + (inputs + `(("libx11" ,libx11))) + (home-page "https://tools.suckless.org/x/wmname/") + (synopsis "Print or set the window manager name") + (description "@command{wmname} prints/sets the window manager name +property of the root window similar to how @command{hostname} behaves. It is +useful for fixing problems with JDK versions and other broken programs +assuming a reparenting window manager for instance.") + (license license:x11))) + (define-public xbattmon (package (name "xbattmon") -- 2.33.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 28 21:24:06 2021 Received: (at 50740) by debbugs.gnu.org; 29 Sep 2021 01:24:06 +0000 Received: from localhost ([127.0.0.1]:47350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVOKM-0006bE-E8 for submit@debbugs.gnu.org; Tue, 28 Sep 2021 21:24:06 -0400 Received: from out2.migadu.com ([188.165.223.204]:25518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVOKJ-0006b3-0l for 50740@debbugs.gnu.org; Tue, 28 Sep 2021 21:24:04 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1632878641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Gh2VktADDLLnHqUBsHJWwn5scoj23WOCZyu8+NjmXr4=; b=LtMEy85eMziMj2VZ9jXI4/qBU/6ceIpzj6nWkgbF6PUdu+W2MZmHEPg0Lw/pvsyH31mjIA h3dzIPattcS9LaTz/h7bGrVGQz5+ZVhd1D9pte7ItBP5RZJX0yuGxA8TEsp2I2i6jo2pIq 68SyF1UuQDAsXK78ZG5HgiFi27/Nxro= From: Sarah Morgensen To: Alexandru-Sergiu Marton Subject: Re: [bug#50740] [PATCH v2] gnu: Add wmname. References: <86sfxww52m.fsf@mgsn.dev> <20210928201724.14408-1-brown121407@posteo.ro> Date: Tue, 28 Sep 2021 18:23:59 -0700 In-Reply-To: <20210928201724.14408-1-brown121407@posteo.ro> (Alexandru-Sergiu Marton's message of "Tue, 28 Sep 2021 20:17:24 +0000 (4 hours, 55 minutes, 29 seconds ago)") Message-ID: <86sfxotbrk.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: iskarian@mgsn.dev X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50740 Cc: 50740@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Alexandru-Sergiu Marton writes: > * gnu/packages/suckless.scm (wmname): New variable. > --- > > I applied the changes suggested by Sarah and added a copyright line. I left > the license set to license:x11 because I saw that other suckless packages that > seem to have the same license still use license:x11 (such as dwm). Thanks for sending an updated patch. Regarding licensing... Just because other people are doing something doesn't mean it's the right answer :) But if we don't trust interpreting the license text ourselves, let's check with a third party source: It looks like the fsf wiki lists wmname as expat [0]. In fact, I checked a few other suckless packages which we list as x11, and the fsf wiki also lists them as expat instead: dwm [1], dmenu [2], ST [3]. So those are incorrect. I suppose I'll open a bug for that. [0] https://directory.fsf.org/wiki/Wmname#tab=Details [1] https://directory.fsf.org/wiki/Dwm#tab=Details [2] https://directory.fsf.org/wiki/Dmenu#tab=Details [3] https://directory.fsf.org/wiki/ST#tab=Details -- Sarah From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 13 04:45:48 2021 Received: (at 50740-done) by debbugs.gnu.org; 13 Oct 2021 08:45:48 +0000 Received: from localhost ([127.0.0.1]:58036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maZtU-00026x-Et for submit@debbugs.gnu.org; Wed, 13 Oct 2021 04:45:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maZtT-00021k-6f for 50740-done@debbugs.gnu.org; Wed, 13 Oct 2021 04:45:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49912) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maZtM-0007hR-6u; Wed, 13 Oct 2021 04:45:41 -0400 Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:65266 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maZt5-00076r-Sm; Wed, 13 Oct 2021 04:45:40 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Alexandru-Sergiu Marton Subject: Re: bug#50740: [PATCH] gnu: Add wmname. References: <86sfxww52m.fsf@mgsn.dev> <20210928201724.14408-1-brown121407@posteo.ro> Date: Wed, 13 Oct 2021 10:45:20 +0200 In-Reply-To: <20210928201724.14408-1-brown121407@posteo.ro> (Alexandru-Sergiu Marton's message of "Tue, 28 Sep 2021 20:17:24 +0000") Message-ID: <874k9ltisf.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50740-done Cc: 50740-done@debbugs.gnu.org, Sarah Morgensen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Alexandru-Sergiu Marton skribis: > * gnu/packages/suckless.scm (wmname): New variable. I changed the license to =E2=80=98expat=E2=80=99 as Sarah rightfully sugges= ted and applied it. Thank you, and thanks Sarah for the careful review! Ludo=E2=80=99. From unknown Tue Aug 19 05:10:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 10 Nov 2021 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator