GNU bug report logs - #75338
[PATCH] gnu: Add hypridle.

Previous Next

Package: guix-patches;

Reported by: John Kehayias <john.kehayias <at> protonmail.com>

Date: Sat, 4 Jan 2025 05:31:02 UTC

Severity: normal

Tags: patch

Done: John Kehayias <john.kehayias <at> protonmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75338 in the body.
You can then email your comments to 75338 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#75338; Package guix-patches. (Sat, 04 Jan 2025 05:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to John Kehayias <john.kehayias <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 04 Jan 2025 05:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: John Kehayias <john.kehayias <at> protonmail.com>
To: guix-patches <at> gnu.org
Cc: John Kehayias <john.kehayias <at> protonmail.com>
Subject: [PATCH] gnu: Add hypridle.
Date: Sat, 04 Jan 2025 05:30:43 +0000
This depends on the update to sdbus-c++ in <https://issues.guix.gnu.org/74256#2>. I've tested this builds and seems to run but haven't tried it in practice.

Thanks!
John

* gnu/packages/wm.scm (hypridle): New variable.

Change-Id: I4eacd1f26153703fd8078e3895d9473573cb845b
---
 gnu/packages/wm.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index b5fd2307d5..e7a6cb6afc 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -323,6 +323,36 @@ (define-public herbstluftwm
     (home-page "https://herbstluftwm.org")
     (license license:bsd-2)))

+(define-public hypridle
+  (package
+    (name "hypridle")
+    (version "0.1.5")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/hyprwm/hypridle")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1622iz8bl8mi7gj2sc2jq6z7622l7l2izj1l9ajwj2mxpwpkdhbs"))))
+    (build-system cmake-build-system)
+    (arguments (list #:tests? #f)) ;No tests.
+    (native-inputs (list gcc-13 pkg-config))
+    (inputs
+     (list hyprlang
+           hyprutils
+           sdbus-c++
+           wayland
+           wayland-protocols))
+    (home-page "https://github.com/hyprwm/hypridle")
+    (synopsis "Hyprland's idle daemon")
+    (description
+     "Hyprland's idle daemon, based on the @code{ext-idle-notify-v1} Wayland
+protocol.  Hypridle has support for D-Bus's loginctl
+commands (lock/unlock/before-sleep) and inhibit.")
+    (license license:bsd-3)))
+
 (define-public hyprland
   (package
     (name "hyprland")

base-commit: a707ebe5d3875a49523bc17de2d36af6f1c18f7e
prerequisite-patch-id: 3efc585c869da704ca71214328a78b6e6bbad919
prerequisite-patch-id: 82bcb22fe1f5bd69d26626e575b7629f6f223ae3
--
2.47.1






Reply sent to John Kehayias <john.kehayias <at> protonmail.com>:
You have taken responsibility. (Mon, 06 Jan 2025 19:40:01 GMT) Full text and rfc822 format available.

Notification sent to John Kehayias <john.kehayias <at> protonmail.com>:
bug acknowledged by developer. (Mon, 06 Jan 2025 19:40:01 GMT) Full text and rfc822 format available.

Message #10 received at 75338-done <at> debbugs.gnu.org (full text, mbox):

From: John Kehayias <john.kehayias <at> protonmail.com>
To: 75338-done <at> debbugs.gnu.org
Subject: Re: [bug#75338] [PATCH] gnu: Add hypridle.
Date: Mon, 06 Jan 2025 19:38:53 +0000
On Sat, Jan 04, 2025 at 05:30 AM, John Kehayias wrote:

> This depends on the update to sdbus-c++ in <https://issues.guix.gnu.org/74256#2>. I've tested this builds and seems to run but haven't tried it in practice.
>
> Thanks!
> John
>
> * gnu/packages/wm.scm (hypridle): New variable.
>
> Change-Id: I4eacd1f26153703fd8078e3895d9473573cb845b

With the required update to sdbus-c++ pushed, I went ahead and pushed
this as well, as ee3673217b82d50e97434ae85145b8d68f077446

John





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 04 Feb 2025 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 37 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.