GNU bug report logs -
#60206
[PATCH] gnu: add wl-color-picker
Previous Next
Reported by: Sughosha <Sughosha <at> proton.me>
Date: Mon, 19 Dec 2022 17:20:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
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 60206 in the body.
You can then email your comments to 60206 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#60206
; Package
guix-patches
.
(Mon, 19 Dec 2022 17:20:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Sughosha <Sughosha <at> proton.me>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 19 Dec 2022 17:20:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/xdisorg.scm (wl-color-picker): New variable.
---
gnu/packages/xdisorg.scm | 42 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 5c4fd79091..f176f84f8b 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -112,6 +112,7 @@ (define-module (gnu packages xdisorg)
#:use-module (gnu packages haskell-xyz)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
+ #:use-module (gnu packages imagemagick)
#:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages libbsd)
#:use-module (gnu packages libevent)
@@ -2477,6 +2478,47 @@ (define-public xsecurelock
@end example")
(license license:asl2.0)))
+(define-public wl-color-picker
+ (package
+ (name "wl-color-picker")
+ (version "1.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jgmdev/wl-color-picker")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "0h5b8qfwri7a1invk8dran3436ac37x6r8fic3l5cxqj5rgnky4n"))))
+ (build-system copy-build-system)
+ (arguments
+ `(#:install-plan '(("wl-color-picker.sh" "bin/wl-color-picker")
+ ("wl-color-picker.png" "share/pixmaps/")
+ ("wl-color-picker.svg"
+ "share/icons/hicolor/scalable/apps/")
+ ("wl-color-picker.desktop" "share/applications/"))
+ #:phases (modify-phases %standard-phases
+ (add-after 'install 'wrap-script
+ (lambda* (#:key outputs #:allow-other-keys)
+ (wrap-program (string-append
+ (assoc-ref outputs "out")
+ "/bin/wl-color-picker")
+ `("PATH" = (,(getenv "PATH")))))))))
+ (inputs
+ (list coreutils-minimal
+ grim
+ hicolor-icon-theme
+ imagemagick
+ slurp
+ wl-clipboard
+ zenity))
+ (home-page "https://github.com/jgmdev/wl-color-picker")
+ (synopsis "Wayland color picker")
+ (description
+ "@command{wl-color-picker} is a script that provides color picker for
+Wayland and @code{wlroots} by leveraging @command{grim} and @command{slurp}.")
+ (license license:expat)))
+
(define-public wl-clipboard
(package
(name "wl-clipboard")
--
2.38.1
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Thu, 26 Jan 2023 09:59:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Sughosha <Sughosha <at> proton.me>
:
bug acknowledged by developer.
(Thu, 26 Jan 2023 09:59:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 60206-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
Sughosha <Sughosha <at> proton.me> skribis:
> * gnu/packages/xdisorg.scm (wl-color-picker): New variable.
I addressed ‘guix lint’ warnings and made cosmetic changes, as shown
below.
Applied with these changes, thanks!
Ludo’.
[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 5eee724f2b..f6f015732d 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -2476,14 +2476,16 @@ (define-public wl-color-picker
(package
(name "wl-color-picker")
(version "1.3")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/jgmdev/wl-color-picker")
- (commit (string-append "v" version))))
- (sha256
- (base32 "0h5b8qfwri7a1invk8dran3436ac37x6r8fic3l5cxqj5rgnky4n"))))
+ (home-page "https://github.com/jgmdev/wl-color-picker")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0h5b8qfwri7a1invk8dran3436ac37x6r8fic3l5cxqj5rgnky4n"))))
(build-system copy-build-system)
(arguments
`(#:install-plan '(("wl-color-picker.sh" "bin/wl-color-picker")
@@ -2491,22 +2493,21 @@ (define-public wl-color-picker
("wl-color-picker.svg"
"share/icons/hicolor/scalable/apps/")
("wl-color-picker.desktop" "share/applications/"))
- #:phases (modify-phases %standard-phases
- (add-after 'install 'wrap-script
- (lambda* (#:key outputs #:allow-other-keys)
- (wrap-program (string-append
- (assoc-ref outputs "out")
- "/bin/wl-color-picker")
- `("PATH" = (,(getenv "PATH")))))))))
- (inputs
- (list coreutils-minimal
- grim
- hicolor-icon-theme
- imagemagick
- slurp
- wl-clipboard
- zenity))
- (home-page "https://github.com/jgmdev/wl-color-picker")
+ #:phases (modify-phases %standard-phases
+ (add-after 'install 'wrap-script
+ (lambda* (#:key outputs #:allow-other-keys)
+ (wrap-program (string-append (assoc-ref outputs "out")
+ "/bin/wl-color-picker")
+ `("PATH" =
+ (,(getenv "PATH")))))))))
+ (inputs (list coreutils-minimal
+ bash-minimal
+ grim
+ hicolor-icon-theme
+ imagemagick
+ slurp
+ wl-clipboard
+ zenity))
(synopsis "Wayland color picker")
(description
"@command{wl-color-picker} is a script that provides color picker for
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 23 Feb 2023 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 55 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.