From patchwork Thu Apr 3 20:49:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Ziltener X-Patchwork-Id: 41247 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 A0C2927BBE9; Thu, 3 Apr 2025 21:51:22 +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=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 A3E0327BBE2 for ; Thu, 3 Apr 2025 21:51:19 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u0RWj-0008D3-7Y; Thu, 03 Apr 2025 16:51:05 -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 1u0RWh-00089T-4z for guix-patches@gnu.org; Thu, 03 Apr 2025 16:51:03 -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 1u0RWg-0007Ck-Lr for guix-patches@gnu.org; Thu, 03 Apr 2025 16:51:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=Vq+GMQJv3FqJoNS3FYXqi5axoJu/XEt9e0ybSWsKCbo=; b=mlQEOEHLDQwE3V3sAEUKUdOdFzpQDRVyNdIXMhTAXY30V3lQFgPnM+jRhziE7zHhiLuH9uo+xuXEsqGLYqsIVhRqGLcL8myFU+Vq/2YR6Dq/59EiJbnKYQmgGD5pTvCsL46nxpwSDoMD8pHxVWoel7S2NJq8ip+34wXUFLJEiJNNOzr+Xvbng+HO2VDfv9UWucBLI6JvTuyERIm9xfgQbRmqghGJNTQICq/d1znaR905PJkrLRK1NoqKjXnCEK48fQpb5hf2tCAW12R62O+nfsbprr77JvmcNn5Sf9JSh8a+YCYbbfXI5MKqNHsZJlwJekSkAILE3P2qm8xVQhAcrA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u0RWg-0003zd-A1 for guix-patches@gnu.org; Thu, 03 Apr 2025 16:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77506] [PATCH] gnu: xdisorg: Add hyprsunset. Resent-From: Daniel Ziltener Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Apr 2025 20:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77506 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77506@debbugs.gnu.org Cc: Daniel Ziltener X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174371342315297 (code B ref -1); Thu, 03 Apr 2025 20:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Apr 2025 20:50:23 +0000 Received: from localhost ([127.0.0.1]:35924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0RW3-0003yf-0b for submit@debbugs.gnu.org; Thu, 03 Apr 2025 16:50:23 -0400 Received: from lists.gnu.org ([2001:470:142::17]:53250) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u0RW0-0003yQ-7w for submit@debbugs.gnu.org; Thu, 03 Apr 2025 16:50:20 -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 1u0RVs-0007sm-La for guix-patches@gnu.org; Thu, 03 Apr 2025 16:50:13 -0400 Received: from 195-15-241-199.dc3-a.pub1.etik-cloud.com ([195.15.241.199] helo=lyrion.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u0RVq-00076i-Bp for guix-patches@gnu.org; Thu, 03 Apr 2025 16:50:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lyrion.ch; s=20230702; t=1743713404; 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; bh=Vq+GMQJv3FqJoNS3FYXqi5axoJu/XEt9e0ybSWsKCbo=; b=utvnKZhdgFkBwfYDy4R9wZmHdDWBitvmjtzKcU9i3iv5/BL1xVZUCNaQiU+BeK9E4E/lUP UsaDSCdBeANHTBGhX5WxRntdkD+1Vow8GnRNoCdHXLHsRC2PfaYX/x/oLfBwMbzwUOfA0K q+D7UJAWfq9z4T6RQh+BfGwCOcxZF1SKgnT5XACuVGBxdrgu4ox1X3i48tziNG7y3fWbdm N937Ni6BPScCRT/t+F6c9HBBUNOTYaEVoLUbcJpKmutnv/r4w6hiZ4BRTXTvBGX9R4uHOJ DVrRzf0rOuijbTSHlGjSxxmfi94rsraEePbBc7lhBcGYX6AvyYN6bCHA0Bq8Eg== Received: from lyrion.ch (cf59784b.dynamic.tele-ag.de [207.89.120.75]) by lyrion.ch (OpenSMTPD) with ESMTPSA id 18405dc0 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 3 Apr 2025 20:50:04 +0000 (UTC) Date: Thu, 3 Apr 2025 22:49:26 +0200 Message-ID: <20250403204948.12653-1-dziltener@lyrion.ch> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Received-SPF: pass client-ip=195.15.241.199; envelope-from=dziltener@lyrion.ch; helo=lyrion.ch X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001 autolearn=no 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: , Reply-to: Daniel Ziltener X-ACL-Warn: , Daniel Ziltener via Guix-patches X-Patchwork-Original-From: Daniel Ziltener via Guix-patches via From: Daniel Ziltener 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 This adds the hyprsunset utility for Hyprland. --- gnu/packages/xdisorg.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 302c0434ca..8e03f637dc 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -1807,6 +1807,42 @@ (define-public redshift-wayland protocol.") (license license:gpl3+)))) +(define-public hyprsunset + (package + (name "hyprsunset") + (version "0.2.0") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/hyprwm/hyprsunset") + (commit (string-append "v" version)))) + (sha256 + (base32 + "049w9b7rbm5nzb51vqwirvm4xy27kqhn4qrhj1k4nj1dfmmn90hh")))) + (build-system cmake-build-system) + (arguments + (list + #:cmake cmake-3.30 + #:tests? #false)) + (native-inputs + (list + gcc-14 + hyprwayland-scanner + pkg-config + wayland + wayland-protocols)) + (inputs + (list + hyprland-protocols + hyprutils)) + (home-page "https://github.com/hyprwm/hyprsunset") + (synopsis "A blue-light filter for Hyprland") + (description "An application to enable a blue-light filter on Hyprland. It does not have +a timer on its own, but has to be controlled using Hyprland's @code{hyprctl}.") + (license license:bsd-3))) + (define-public xwhite (package (name "xwhite")