Subject: Re: bug#65012: [PATCH] gnu: Add picket.

From: Ludovic Courtès <[email-masked]>
Date: Mon, 11 Sep 2023 23:44:18 +0200

Sergio Pastor Pérez <[email-masked]> skribis:

> * gnu/packages/image.scm (picket): New variable.

Applied with the changes below.

Thanks!

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 480335d704..4332a7ead8 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -1996,17 +1996,19 @@ (define-public picket
                               (("/usr")
                                #$output))))
                         (add-after 'unpack 'fix-cmake-paths
-                          (lambda _
+                          (lambda* (#:key inputs #:allow-other-keys)
                             (substitute* "CMakeLists.txt"
                               (("src/cfg/ini.h")
-                               (string-append #$mini "/include/mini/ini.h"))
+                               (search-input-file inputs
+                                                  "/include/mini/ini.h"))
                               (("/usr/")
                                #$output)))))))
     (build-system cmake-build-system)
     (home-page "https://github.com/rajter/picket")
-    (synopsis "Native linux screen color picker with custom format output")
+    (synopsis "Screen color picker with custom format output")
     (description
-     "Screen color picker for linux with magnifier and custom/user defined formats.")
+     "Picket is a screen color picker that includes a magnifier and supports
+custom formats for representing color values..")
     (license license:gpl3+)))
 
 (define-public gpick