From patchwork Sat Apr 6 10:24:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 62774 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 0F2DD27BBEA; Sat, 6 Apr 2024 11:26:26 +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=ham 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 71D3327BBE2 for ; Sat, 6 Apr 2024 11:26:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rt3FH-0001tE-0g; Sat, 06 Apr 2024 06:25:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rt3FE-0001rV-Mc for guix-patches@gnu.org; Sat, 06 Apr 2024 06:25:56 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rt3FE-0001oJ-CC for guix-patches@gnu.org; Sat, 06 Apr 2024 06:25:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rt3FK-00039c-EN for guix-patches@gnu.org; Sat, 06 Apr 2024 06:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57300] [PATCH v2 1/1] gnu: Add xssstate. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 06 Apr 2024 10:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57300 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57300@debbugs.gnu.org Cc: Steve George , Ivan Vilata-i-Balaguer Received: via spool by 57300-submit@debbugs.gnu.org id=B57300.171239913111919 (code B ref 57300); Sat, 06 Apr 2024 10:26:02 +0000 Received: (at 57300) by debbugs.gnu.org; 6 Apr 2024 10:25:31 +0000 Received: from localhost ([127.0.0.1]:38376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rt3Eo-000365-SV for submit@debbugs.gnu.org; Sat, 06 Apr 2024 06:25:31 -0400 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:60114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rt3Eh-00034G-Tr for 57300@debbugs.gnu.org; Sat, 06 Apr 2024 06:25:26 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rt3EV-005pZZ-9Q; Sat, 06 Apr 2024 12:25:11 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=futurile.net; s=selector1; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From; bh=ai/M+juwpNH5an+bm3XbfQkqdDOYKbzXUBinK63sWes=; b=BFp2Rx7ZoeBj1pVSTRZedn6RWr QBIW+1u+ZE/eXqKpn23Da4XUipFWr4IaM4XoIJf5lXB/JhZLVqVU585b3+28mLsgmVyn7l5wx0ucb elwL+9JIrSEvAlV+jCOy+Dt6rVntIyJsctbuAE/iHfDeY4ZBJLLTXHDO6qu2rb0TgyUVqyz2Tll4p pAq+v0wKT45cobn0lz8pY7q4cLVqLDpo5ZNuzB5G8Z6cRTWGifR06wudIlsKwxmP3IH+17wz4d2a7 duEPYAPI2JF2QgdffvrJm1i2YiF/gMTeo2prYGee6Nq/4LNDatfxxNAIuaUTJ9fiEtr+qGeW507q2 KpRfEwtw==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rt3EU-0005qm-WA; Sat, 06 Apr 2024 12:25:11 +0200 Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rt3EQ-007t6c-R9; Sat, 06 Apr 2024 12:25:06 +0200 From: Steve George Date: Sat, 6 Apr 2024 11:24:50 +0100 Message-ID: <9f066ce67db661effc7eeff5f7501fcd7e3c6b45.1712398754.git.steve@futurile.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Ivan Vilata-i-Balaguer * gnu/packages/suckless.scm (xssstate): New variable. Reviewed-by: Steve George Change-Id: I80a44b979ae987b953dcbdb3979b9b4ad8e30c79 --- gnu/packages/suckless.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index a907b2fc6b9..f01c6093bc9 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2022 Jai Vetrivelan ;;; Copyright © 2022 jgart ;;; Copyright © 2022 Antero Mejr +;;; Copyright © 2022 Ivan Vilata i Balaguer ;;; Copyright © 2024 Clément Lassieur ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2024 cage @@ -1361,6 +1362,34 @@ (define-public lib9 (license (list license:expat ;modifications license:lpl1.02))))) ;original plan9 code +(define-public xssstate + (package + (name "xssstate") + (version "1.1") + (source (origin + (method url-fetch) + (uri (string-append "https://dl.suckless.org/tools/xssstate-" + version ".tar.gz")) + (sha256 + (base32 + "04b03jz38pn5qhddg8a9hh01qqzrrdjvsq09qrxj9sx8lq2gbdn4")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags (list (string-append "CC=" + ,(cc-for-target)) + (string-append "PREFIX=" %output)) + #:phases (modify-phases %standard-phases + (delete 'configure)))) + (inputs (list libxscrnsaver)) + (home-page "https://tools.suckless.org/x/xssstate/") + (synopsis "Simple tool to retrieve the X screensaver state") + (description + "A utility to retrieve the state of the X screensaver. These +states include the idle time, the screensaver state and the length of time +until the screensaver should be activated.") + (license license:x11))) + (define-public 9yacc (package (inherit lib9)