From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id QJ5vJRsdK2eEgAAAqHPOHw:P1 (envelope-from ) for ; Wed, 06 Nov 2024 07:39:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id QJ5vJRsdK2eEgAAAqHPOHw (envelope-from ) for ; Wed, 06 Nov 2024 08:39:07 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=rFYJexNj; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=Sxblj4qZ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730878747; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Dd9YOLOzm9xSW2h4xtniUzO8j257fyCbYwmUirdCU7Y=; b=GP1FaazENPuQYVNRyyKmfOuTwV9SGxniqHE0CjdO52Uz6ADSoI1nKvCyWKAtQjJoo+3J01 9kGykG0b3tYmovQJqD+FzNl41y/PnniVb0QZCvs7a9X08YPO3H8sCGWcBPKzlQbnTP1l9J kiE1v41n3xCurTm7BgNzWWLMxA469R4+R+cwPNFGV4dze9s2uEfC2zZS6Dr93rTY5e9qC1 Fw7PuPDnk5z/HX5dH50VPIDq3+69quX41fLg8zsSoheQHnH2t3m/QpEWmtC5oUvrWIVrzC 30VJECpOQMsYsXDpH6knCAf4bUVLYZgxTR0llc4Uu9MnqhX8o2jJJJrSR1plJQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730878747; a=rsa-sha256; cv=none; b=a5huJwvB0pkyjeP1fXAWAvhbowQ++XYSKEgCOxsIO3A9SMxCpz+vS8kDF3rRA90/OIiJ3x dXfJ1vo/13Xgf/7KCjf9pnZ1xTdKs2TFICIrLhWy8fh1zBMpLhM7flTTkFEJu+glt4a1Qn nUtT6FeokhINJUu1tJXfTDxx5aj6wdsQGEJvoQGVE7O+MJVBVOJj23K/ZXL40S5SEZMm8t nfL/dcrhTGQmbk94eZ+gjhUjmcM7nbiLBHZVg+Qrnzs3Mw4vslxXIjy49S9FNgNYOs5icF s74tVd/EJ8aLP32Di+9KBQft1cB4fphQ0Mz/pU+oAG3FpvyU72IUHpMxS16Lxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=rFYJexNj; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=Sxblj4qZ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 768D956AF3 for ; Wed, 06 Nov 2024 08:39:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8acL-0008Il-A8; Wed, 06 Nov 2024 02:38:17 -0500 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 1t8acB-0008Fs-Ts for guix-patches@gnu.org; Wed, 06 Nov 2024 02:38:09 -0500 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 1t8acB-0003ml-Kr for guix-patches@gnu.org; Wed, 06 Nov 2024 02:38:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Dd9YOLOzm9xSW2h4xtniUzO8j257fyCbYwmUirdCU7Y=; b=rFYJexNjXBWrAQojz1pplPyqP7aFGdtpT+aGRtblS8tF2wdSNUvjhuDkMdqBKZRPGs7HwfW3ITVeiy4kEXqdkeAiyZW5cRcei3gIP6yqKzoM9fMgjTi6pRv1i8f/ETaKLUoqMVoEGBpIQsMCCHjUss7n0sby+w0aJ8LnDc+vt4gAbRP1W29p/1aLQNhyEQKxKBkBZQh4D09E8RZBDSs8iWe0i1OaiaNgM422QsxoxRrQA6PJgB0ZejrZIDSHiv4VsnV58+cXbRsCC1HbMS+jrzfEwerdTkslxPkPbk/KcvnbNYKOJxoSANCM09EIQj4rF3aQEM3iFUjuaMCSRQcreQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8acB-0000ef-ET for guix-patches@gnu.org; Wed, 06 Nov 2024 02:38:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74223] [PATCH 11/11] gnu: Add grimblast. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Nov 2024 07:38:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74223 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74223@debbugs.gnu.org Cc: Hilton Chain Received: via spool by 74223-submit@debbugs.gnu.org id=B74223.17308786392386 (code B ref 74223); Wed, 06 Nov 2024 07:38:07 +0000 Received: (at 74223) by debbugs.gnu.org; 6 Nov 2024 07:37:19 +0000 Received: from localhost ([127.0.0.1]:39120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8abP-0000cL-4t for submit@debbugs.gnu.org; Wed, 06 Nov 2024 02:37:19 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:43372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8abK-0000aa-LT for 74223@debbugs.gnu.org; Wed, 06 Nov 2024 02:37:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1730878633; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Dd9YOLOzm9xSW2h4xtniUzO8j257fyCbYwmUirdCU7Y=; b=Sxblj4qZJxD2irdvo5Kv2XspiEi6jcKwjrBRlEN4UrSA0OqjT1CA/dtZB1nrR0/p7cG4bl iMgrOkoaonlGJ34Lu2p6OUP3KaFMqf496ULK1pOlWaP0QK+A2+rdrd1Cqihmf+30mZeWxi fQxOZvBm6LP/O9yx5qHTi9Y2T7OPKzA+ism+XIVaVye3UmvUI4u/KCtbHnSBXDohbzj2fY VdG2jgbR+++CE2iftNA2rQC6feuzffFQi0rmWELWZgOVsAXOeTxVI1yaO35/EBWnSsvqk1 HLVeEFSFLQwB4Qo72OrK6uXi44lNgtA7apHNGEx/h0cSmkqBL30N/dgqq/OJtA== Date: Wed, 6 Nov 2024 15:36:27 +0800 Message-ID: <53d47bb281db1f13db3b41105edde2b3788801af.1730877074.git.hako@ultrarare.space> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ----- 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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.66 X-Spam-Score: -2.66 X-Migadu-Queue-Id: 768D956AF3 X-Migadu-Scanner: mx13.migadu.com X-TUID: kzNFlply7NXs * gnu/packages/wm.scm (grimblast): New variable. Change-Id: I38d8e0ff92e8724cec64d37d036ff307c96a2cc0 --- gnu/packages/wm.scm | 60 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 01a6677e9a..bbecbf47e2 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -3766,6 +3766,66 @@ (define-public avizo used for multimedia keys.") (license license:gpl3+))) +(define-public grimblast + (let ((commit "9d67858b437d4a1299be496d371b66fc0d3e01f6") + (revision "1")) + (package + (name "grimblast") + (version (git-version "0.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hyprwm/contrib") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1v0v5j7ingx80b5zpyz8ilfhz0kh9dcssnx6iwwl45zzgp915cpv")))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ;No tests. + #:make-flags + #~(list (string-append "PREFIX=" #$output)) + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'chdir + (lambda _ + (chdir "grimblast"))) + (add-after 'chdir 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "grimblast" + (((string-append "\\<(" (string-join + '("date" + "grim" + "slurp" + "hyprctl" + "hyprpicker" + "wl-copy" + "jq" + "notify-send") + "|") + ")\\>") + cmd) + (search-input-file + inputs (string-append "bin/" cmd))))))))) + (native-inputs (list scdoc)) + (inputs + (list coreutils-minimal + grim + jq + libnotify + slurp + hyprland + hyprpicker + wl-clipboard)) + (home-page "https://github.com/hyprwm/contrib") + (synopsis "Screenshot utility for Hyprland") + (description + "This package provides a Hyprland version of @code{grimshot} for +screenshoting.") + (license license:expat)))) + (define-public grimshot (package (name "grimshot") -- 2.46.0