GNU bug report logs -
#62166
[PATCH 1/2] gnu: Add python-clickgen.
Previous Next
Reported by: conses <contact <at> conses.eu>
Date: Mon, 13 Mar 2023 18:42:02 UTC
Severity: normal
Tags: patch
Done: Andrew Tropin <andrew <at> trop.in>
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 62166 in the body.
You can then email your comments to 62166 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#62166
; Package
guix-patches
.
(Mon, 13 Mar 2023 18:42:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
conses <contact <at> conses.eu>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 13 Mar 2023 18:42:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-clickgen): New variable.
---
gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 83f3ec02ea..10c2ca3019 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3802,6 +3802,28 @@ (define-public python-click-7
(base32 "06kbzd6sjfkqan3miwj9wqyddfxc2b6hi7p5s4dvqjb3gif2bdfj"))))
(arguments `())))
+(define-public python-clickgen
+ (package
+ (name "python-clickgen")
+ (version "2.1.3")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "clickgen" version))
+ (sha256
+ (base32
+ "010j9zz0gd2za5l4hibicypnfw721x0gxp3rr0329bc97vw5maha"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ (list python-pillow python-toml python-numpy-next python-attrs))
+ (inputs (list libx11 libpng libxcursor))
+ (native-inputs (list python-setuptools python-wheel))
+ (home-page "https://github.com/ful1e5/clickgen")
+ (synopsis "The hassle-free cursor building toolbox")
+ (description
+ "clickgen is an API for building X11 and Windows cursors from .png files.
+clickgen is using @code{anicursorgen} and @code{xcursorgen} under the hood.")
+ (license license:expat)))
+
(define-public python-cligj
(package
(name "python-cligj")
--
2.39.1
--
Best regards,
conses
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62166
; Package
guix-patches
.
(Mon, 13 Mar 2023 18:44:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 62166 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/gnome-xyz.scm (bibata-cursor-theme): New variable.
---
gnu/packages/gnome-xyz.scm | 50 +++++++++++++++++++++++++++++++++++++-
1 file changed, 49 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 19838c3dd5..a7414d09ee 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -320,6 +320,54 @@ (define-public flat-remix-gnome-theme
highlights, and gradients for some depth.")
(license license:gpl3+)))
+(define-public bibata-cursor-theme
+ (package
+ (name "bibata-cursor-theme")
+ (version "2.0.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ful1e5/Bibata_Cursor")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1bhspswgxizc4sr2bihfjic8wm4khd6waw9qgw0yssfy0fm3nafc"))))
+ (build-system trivial-build-system)
+ (native-inputs (list python-attrs python-clickgen))
+ (arguments
+ (list
+ #:modules '((guix build utils))
+ #:builder
+ #~(begin
+ (use-modules (guix build utils))
+ (let ((themes-dir (string-append #$output "/share/icons")))
+ (mkdir-p themes-dir)
+ (let loop
+ ((themes '(("Bibata-Modern-Amber" . "Yellowish and rounded")
+ ("Bibata-Modern-Classic" . "Black and rounded")
+ ("Bibata-Modern-Ice" . "White and rounded")
+ ("Bibata-Original-Amber" . "Yellowish and sharp")
+ ("Bibata-Original-Classic" . "Black and sharp")
+ ("Bibata-Original-Ice" . "White and sharp"))))
+ (define theme
+ (car themes))
+ (invoke #$(file-append python-clickgen "/bin/ctgen")
+ (string-append #$source "/build.toml")
+ "-p" "x11"
+ "-d" (string-append #$source "/bitmaps/" (car theme))
+ "-n" (car theme)
+ "-c" (string-append (cdr theme) " edge Bibata cursors")
+ "-o" themes-dir)
+ (unless (null? (cdr themes))
+ (loop (cdr themes))))))))
+ (home-page "https://github.com/ful1e5/Bibata_Cursor")
+ (synopsis "Open-source, compact, and material-designed cursor set")
+ (description
+ "Bibata is an open-source, compact, and material designed
+cursor set. This project aims at improving the cursor experience.")
+ (license license:gpl3)))
+
(define-public gnome-plots
(package
(name "gnome-plots")
@@ -1690,7 +1738,7 @@ (define-public yaru-theme
sound themes.
@end itemize")
(license (list license:lgpl2.1 license:lgpl3 license:cc-by-sa4.0))))
-
+
(define-public nordic-theme
(let ((commit "07d764c5ebd5706e73d2e573f1a983e37b318915")
(revision "0"))
--
2.39.1
--
Best regards,
conses
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62166
; Package
guix-patches
.
(Wed, 22 Mar 2023 07:52:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 62166 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 2023-03-13 19:41, conses wrote:
> * gnu/packages/python-xyz.scm (python-clickgen): New variable.
> ---
> gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index 83f3ec02ea..10c2ca3019 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -3802,6 +3802,28 @@ (define-public python-click-7
> (base32 "06kbzd6sjfkqan3miwj9wqyddfxc2b6hi7p5s4dvqjb3gif2bdfj"))))
> (arguments `())))
>
> +(define-public python-clickgen
> + (package
> + (name "python-clickgen")
> + (version "2.1.3")
> + (source (origin
> + (method url-fetch)
> + (uri (pypi-uri "clickgen" version))
> + (sha256
> + (base32
> + "010j9zz0gd2za5l4hibicypnfw721x0gxp3rr0329bc97vw5maha"))))
> + (build-system python-build-system)
> + (propagated-inputs
> + (list python-pillow python-toml python-numpy-next python-attrs))
> + (inputs (list libx11 libpng libxcursor))
> + (native-inputs (list python-setuptools python-wheel))
Removed python-setuptools from inputs.
> + (home-page "https://github.com/ful1e5/clickgen")
> + (synopsis "The hassle-free cursor building toolbox")
> + (description
> + "clickgen is an API for building X11 and Windows cursors from .png files.
Capitalized the description.
> +clickgen is using @code{anicursorgen} and @code{xcursorgen} under the hood.")
> + (license license:expat)))
> +
> (define-public python-cligj
> (package
> (name "python-cligj")
> --
> 2.39.1
Thank you for the patch, applied.
--
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62166
; Package
guix-patches
.
(Wed, 22 Mar 2023 09:12:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 62166 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 2023-03-13 19:43, conses wrote:
> * gnu/packages/gnome-xyz.scm (bibata-cursor-theme): New variable.
> ---
> gnu/packages/gnome-xyz.scm | 50 +++++++++++++++++++++++++++++++++++++-
> 1 file changed, 49 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
> index 19838c3dd5..a7414d09ee 100644
> --- a/gnu/packages/gnome-xyz.scm
> +++ b/gnu/packages/gnome-xyz.scm
> @@ -320,6 +320,54 @@ (define-public flat-remix-gnome-theme
> highlights, and gradients for some depth.")
> (license license:gpl3+)))
>
> +(define-public bibata-cursor-theme
> + (package
> + (name "bibata-cursor-theme")
> + (version "2.0.3")
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/ful1e5/Bibata_Cursor")
> + (commit (string-append "v" version))))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32
> + "1bhspswgxizc4sr2bihfjic8wm4khd6waw9qgw0yssfy0fm3nafc"))))
> + (build-system trivial-build-system)
> + (native-inputs (list python-attrs python-clickgen))
> + (arguments
> + (list
> + #:modules '((guix build utils))
> + #:builder
> + #~(begin
> + (use-modules (guix build utils))
> + (let ((themes-dir (string-append #$output "/share/icons")))
> + (mkdir-p themes-dir)
> + (let loop
> + ((themes '(("Bibata-Modern-Amber" . "Yellowish and rounded")
> + ("Bibata-Modern-Classic" . "Black and rounded")
> + ("Bibata-Modern-Ice" . "White and rounded")
> + ("Bibata-Original-Amber" . "Yellowish and sharp")
> + ("Bibata-Original-Classic" . "Black and sharp")
> + ("Bibata-Original-Ice" . "White and sharp"))))
> + (define theme
> + (car themes))
> + (invoke #$(file-append python-clickgen "/bin/ctgen")
Changed it to
(search-input-file %build-inputs "/bin/ctgen")
> + (string-append #$source "/build.toml")
> + "-p" "x11"
> + "-d" (string-append #$source "/bitmaps/" (car theme))
> + "-n" (car theme)
> + "-c" (string-append (cdr theme) " edge Bibata cursors")
> + "-o" themes-dir)
> + (unless (null? (cdr themes))
> + (loop (cdr themes))))))))
> + (home-page "https://github.com/ful1e5/Bibata_Cursor")
> + (synopsis "Open-source, compact, and material-designed cursor set")
> + (description
> + "Bibata is an open-source, compact, and material designed
> +cursor set. This project aims at improving the cursor experience.")
> + (license license:gpl3)))
> +
> (define-public gnome-plots
> (package
> (name "gnome-plots")
> @@ -1690,7 +1738,7 @@ (define-public yaru-theme
> sound themes.
> @end itemize")
> (license (list license:lgpl2.1 license:lgpl3 license:cc-by-sa4.0))))
> -
> +
> (define-public nordic-theme
> (let ((commit "07d764c5ebd5706e73d2e573f1a983e37b318915")
> (revision "0"))
> --
> 2.39.1
Thank you for the patch! Applied, pushed as ac64367262.
--
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]
bug closed, send any further explanations to
62166 <at> debbugs.gnu.org and conses <contact <at> conses.eu>
Request was from
Andrew Tropin <andrew <at> trop.in>
to
control <at> debbugs.gnu.org
.
(Wed, 22 Mar 2023 10:33:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 19 Apr 2023 11:24:17 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 24 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.