From patchwork Tue Sep 28 20:17:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alexandru-Sergiu Marton X-Patchwork-Id: 33404 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 630C627BBE3; Tue, 28 Sep 2021 21:19:26 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 21DCC27BBE1 for ; Tue, 28 Sep 2021 21:19:26 +0100 (BST) Received: from localhost ([::1]:42050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVJZV-0005l3-7x for patchwork@mira.cbaines.net; Tue, 28 Sep 2021 16:19:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVJZ8-0005ko-II for guix-patches@gnu.org; Tue, 28 Sep 2021 16:19:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVJZ8-00054W-8d for guix-patches@gnu.org; Tue, 28 Sep 2021 16:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mVJZ8-0007Qs-0S for guix-patches@gnu.org; Tue, 28 Sep 2021 16:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50740] [PATCH v2] gnu: Add wmname. Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Sep 2021 20:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50740 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50740@debbugs.gnu.org Cc: Alexandru-Sergiu Marton , Sarah Morgensen Received: via spool by 50740-submit@debbugs.gnu.org id=B50740.163286032828550 (code B ref 50740); Tue, 28 Sep 2021 20:19:01 +0000 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 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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")