unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Hilton Chain via Guix-patches via <guix-patches@gnu.org>
To: 74223@debbugs.gnu.org
Cc: Hilton Chain <hako@ultrarare.space>
Subject: [bug#74223] [PATCH 10/11] gnu: Add hyprpicker.
Date: Wed,  6 Nov 2024 15:36:26 +0800	[thread overview]
Message-ID: <551eeff0a335652f9c232a32d111dd3fff47a844.1730877074.git.hako@ultrarare.space> (raw)
In-Reply-To: <cover.1730877074.git.hako@ultrarare.space>

* 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")
-- 
2.46.0





  parent reply	other threads:[~2024-11-06  7:39 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-06  7:30 [bug#74223] [PATCH 00/11] gnu: Add hyprland Hilton Chain via Guix-patches via
2024-11-06  7:36 ` [bug#74223] [PATCH 01/11] gnu: Add udis86 Hilton Chain via Guix-patches via
2024-11-06  7:36 ` [bug#74223] [PATCH 02/11] gnu: Add hyprutils Hilton Chain via Guix-patches via
2024-11-06  7:36 ` [bug#74223] [PATCH 03/11] gnu: Add hyprwayland-scanner Hilton Chain via Guix-patches via
2024-11-06  7:36 ` [bug#74223] [PATCH 04/11] gnu: Add hyprland-protocols Hilton Chain via Guix-patches via
2024-11-06  7:36 ` [bug#74223] [PATCH 05/11] gnu: Add hyprlang Hilton Chain via Guix-patches via
2024-11-06  7:36 ` [bug#74223] [PATCH 06/11] gnu: Add hyprcursor Hilton Chain via Guix-patches via
2024-11-06  7:36 ` [bug#74223] [PATCH 07/11] gnu: Add aquamarine Hilton Chain via Guix-patches via
2024-11-06  7:36 ` [bug#74223] [PATCH 08/11] gnu: Add hyprland Hilton Chain via Guix-patches via
2024-11-06  7:36 ` [bug#74223] [PATCH 09/11] gnu: Add xdg-desktop-portal-hyprland Hilton Chain via Guix-patches via
2024-11-06  7:36 ` Hilton Chain via Guix-patches via [this message]
2024-11-06  7:36 ` [bug#74223] [PATCH 11/11] gnu: Add grimblast Hilton Chain via Guix-patches via
2024-11-06 18:07 ` [bug#74223] [PATCH 00/11] gnu: Add hyprland Noé Lopez via Guix-patches via
2024-11-08  8:55   ` Hilton Chain via Guix-patches via
2024-11-23 13:51     ` Noé Lopez via Guix-patches via
2024-11-30 16:53       ` Hilton Chain via Guix-patches via
2024-11-06 20:24 ` Noé Lopez via Guix-patches via
2024-11-08  9:16   ` Hilton Chain via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=551eeff0a335652f9c232a32d111dd3fff47a844.1730877074.git.hako@ultrarare.space \
    --to=guix-patches@gnu.org \
    --cc=74223@debbugs.gnu.org \
    --cc=hako@ultrarare.space \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).