From patchwork Wed Nov 6 07:36:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 69919 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 873CF27BBEA; Wed, 6 Nov 2024 07:39:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,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 3B33427BBE2 for ; Wed, 6 Nov 2024 07:39:19 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8acM-0008JH-Oz; Wed, 06 Nov 2024 02:38:18 -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 1t8acA-0008Fp-QA 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 1t8acA-0003mT-H7 for guix-patches@gnu.org; Wed, 06 Nov 2024 02:38:06 -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=RmY9t3x5ds/AmPO77jYWQGSlncfEXtJJhhkuLWQKAqs=; b=EWPD2j2e9KIU90xqKlReewbsj1sb9Q1i5xKQ9wB+VzvqR5mMz5AYJCV4MLeCmL9eLK7auYWhjA0+dQ4yKJ5NDE90ZAz3Ap/eoZidovxB5lDTXtm6tpkrMmjJcUOVLWc1ecIennJnsZM+ixxy+nzOR2IReEl6kM4u+Ryye66GjTnZWlnBixwOTvXzxN9DJ17p5Qqf7muWa8FVBX7WjOAnT4rb1SPUs3t8U3ZioPnWbXHo/VDtTHs1JYAkT9Um5RBdIDk9LH9qynvfzY2QeZ48PHi1ifl6nGnYiIIGJqFYQIPibIdKe1qu3rHmkuxlIBDL0GCIKObKDp2DN+wO5iMINw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8acA-0000eQ-BX for guix-patches@gnu.org; Wed, 06 Nov 2024 02:38:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74223] [PATCH 10/11] gnu: Add hyprpicker. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Nov 2024 07:38:06 +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.17308786362368 (code B ref 74223); Wed, 06 Nov 2024 07:38:06 +0000 Received: (at 74223) by debbugs.gnu.org; 6 Nov 2024 07:37:16 +0000 Received: from localhost ([127.0.0.1]:39116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8abM-0000c2-2u for submit@debbugs.gnu.org; Wed, 06 Nov 2024 02:37:16 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:43368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8abJ-0000aQ-0s for 74223@debbugs.gnu.org; Wed, 06 Nov 2024 02:37:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1730878632; 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=RmY9t3x5ds/AmPO77jYWQGSlncfEXtJJhhkuLWQKAqs=; b=YX/2inGHZpmkREvoHLMY7fGrdQCahhPWGZJCP1oNVkXh721A15AIPkyzcpKcqzD7yAPRGa zavq6zde0JD5jfyDWvXouMtSq16xJ1sALDUXskmG9YiJH5qKilon175VroX010kN6/h2uB AfGxBb1wa4x03scZzCUntW9D9OhzQYfcmRcFCKbJSCWRGvyzuVwegDm902siwDtFDZ7oON Vl6bVGzj+MHQxrSl5sEWGQhl2x1C4A1K1ETMZNTUOG6gwBiU9uxMtZibgfZnvSIs0gxU/2 uBHDRN+JgXc2OLrfwCYIMQDf5MqX3EOnYkWVRLfXjqQ8+zEn0RcuG7B/P2auIA== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Date: Wed, 6 Nov 2024 15:36:26 +0800 Message-ID: <551eeff0a335652f9c232a32d111dd3fff47a844.1730877074.git.hako@ultrarare.space> In-Reply-To: References: MIME-Version: 1.0 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 X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain 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 * gnu/packages/wm.scm (hyprpicker): New variable. Change-Id: I09cfc8b465ca0ac5d4dcbae34f680e80c74fd56f --- gnu/packages/xdisorg.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 34ddad9123..9a9a416def 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -3705,6 +3705,46 @@ (define-public hyprcursor "This package provides Hyprland cursor format, library and utilities.") (license license:bsd-3))) +(define-public hyprpicker + (package + (name "hyprpicker") + (version "0.4.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hyprwm/hyprpicker") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "11r06c62dqj81r27qhf36f3smnjyk3vz8naa655m8khv4qqvmvc2")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f ;No tests. + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/clipboard/Clipboard.cpp" + (("wl-copy" cmd) + (search-input-file + inputs (string-append "bin/" cmd))))))))) + (native-inputs (list gcc-13 hyprwayland-scanner pkg-config)) + (inputs + (list cairo + hyprutils + libjpeg-turbo + libxkbcommon + pango + wayland + wayland-protocols + wl-clipboard)) + (home-page "https://github.com/hyprwm/hyprpicker") + (synopsis "Wayland color picker compatible with @code{wlroots}") + (description + "This package provides a @code{wlroots}-compatible Wayland color picker.") + (license license:bsd-3))) + (define-public jumpapp (package (name "jumpapp")