From patchwork Wed Sep 22 16:28:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru-Sergiu Marton X-Patchwork-Id: 33247 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 4C1CB27BBE1; Wed, 22 Sep 2021 17:42:50 +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 F2B2027BBE3 for ; Wed, 22 Sep 2021 17:42:49 +0100 (BST) Received: from localhost ([::1]:41676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mT5Ka-0004QF-W2 for patchwork@mira.cbaines.net; Wed, 22 Sep 2021 12:42:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mT58F-0000Vr-7E for guix-patches@gnu.org; Wed, 22 Sep 2021 12:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39993) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mT58E-0008RF-Vh for guix-patches@gnu.org; Wed, 22 Sep 2021 12:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mT58E-0007xD-S6 for guix-patches@gnu.org; Wed, 22 Sep 2021 12:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50740] [PATCH] gnu: Add wmname. Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Sep 2021 16:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50740 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50740@debbugs.gnu.org Cc: Alexandru-Sergiu Marton X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163232814230429 (code B ref -1); Wed, 22 Sep 2021 16:30:02 +0000 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 Date: Wed, 22 Sep 2021 16:28:31 +0000 Message-Id: <20210922162831.24051-1-brown121407@posteo.ro> MIME-Version: 1.0 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-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. --- 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")