From patchwork Mon Mar 13 18:41:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Miguel_=C3=81ngel_Moreno?= X-Patchwork-Id: 47944 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 37D3716E4B; Mon, 13 Mar 2023 18:42:32 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CB71016E3E for ; Mon, 13 Mar 2023 18:42:30 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbn7c-00083g-8b; Mon, 13 Mar 2023 14:42:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbn7V-00083R-3x for guix-patches@gnu.org; Mon, 13 Mar 2023 14:42:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pbn7S-0000na-Ov for guix-patches@gnu.org; Mon, 13 Mar 2023 14:42:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pbn7S-000206-64 for guix-patches@gnu.org; Mon, 13 Mar 2023 14:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62166] [PATCH 1/2] gnu: Add python-clickgen. Resent-From: conses Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Mar 2023 18:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62166 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62166@debbugs.gnu.org Cc: contact@conses.eu X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16787329097668 (code B ref -1); Mon, 13 Mar 2023 18:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Mar 2023 18:41:49 +0000 Received: from localhost ([127.0.0.1]:35606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbn7F-0001zb-FL for submit@debbugs.gnu.org; Mon, 13 Mar 2023 14:41:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:39460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbn7D-0001zT-4j for submit@debbugs.gnu.org; Mon, 13 Mar 2023 14:41:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbn7C-00082u-UX for guix-patches@gnu.org; Mon, 13 Mar 2023 14:41:46 -0400 Received: from relay2-d.mail.gandi.net ([2001:4b98:dc4:8::222]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbn7A-0000kk-T5 for guix-patches@gnu.org; Mon, 13 Mar 2023 14:41:46 -0400 Received: (Authenticated sender: contact@conses.eu) by mail.gandi.net (Postfix) with ESMTPSA id AF3FA40002; Mon, 13 Mar 2023 18:41:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conses.eu; s=gm1; t=1678732898; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=7zBtNorB2u2qvDXg2GaFZIeRuK2wfZ3QqRPfRFHNsQE=; b=g4L03LqN4G9vxrAGxFfPU7xkkrhMedi8luaKab7HccRjz+wdGps0Pf1hoLkX+RZlFS+Nsw I26oWaf7mFnBun5suqdh/nRl2xBH1aezm3lZ5iWKHB7pcjaXok2gNX7QfKp3f3W8eh5YPA 0Dwc2f4VHzrJJyt0eN8xh8ljU5KZmbx/CxMAMaNp+uSEk/gyO6x0f60W7EEe5ZOToAONx+ woDKvbw8eP/CaEVL2SusdPQ21HrvY/ODZE3psjfmQlewMlafg5Qk5yvzPANo34OTbabwI4 FxJp8vtCPGiPlbnocu/WQNH9Pr5SpaTTqTlhD+9XuDH1pM1Yzkbi39NBvSwbxQ== From: conses Message-Id: Date: Mon, 13 Mar 2023 19:41:34 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Received-SPF: pass client-ip=2001:4b98:dc4:8::222; envelope-from=contact@conses.eu; helo=relay2-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Mon Mar 13 18:43:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Miguel_=C3=81ngel_Moreno?= X-Patchwork-Id: 47945 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8456C16E4E; Mon, 13 Mar 2023 18:44:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E249816E0A for ; Mon, 13 Mar 2023 18:44:23 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbn9W-0008EN-Vl; Mon, 13 Mar 2023 14:44:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbn9O-0008Dv-Mk for guix-patches@gnu.org; Mon, 13 Mar 2023 14:44:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pbn9O-00011e-B5 for guix-patches@gnu.org; Mon, 13 Mar 2023 14:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pbn9O-00023z-6d for guix-patches@gnu.org; Mon, 13 Mar 2023 14:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62166] [PATCH 2/2] gnu: Add bibata-cursor-theme. Resent-From: conses Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Mar 2023 18:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62166 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62166@debbugs.gnu.org Cc: contact@conses.eu Received: via spool by 62166-submit@debbugs.gnu.org id=B62166.16787330127885 (code B ref 62166); Mon, 13 Mar 2023 18:44:02 +0000 Received: (at 62166) by debbugs.gnu.org; 13 Mar 2023 18:43:32 +0000 Received: from localhost ([127.0.0.1]:35617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbn8t-000236-MG for submit@debbugs.gnu.org; Mon, 13 Mar 2023 14:43:32 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:37601) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbn8r-00022r-JB for 62166@debbugs.gnu.org; Mon, 13 Mar 2023 14:43:30 -0400 Received: (Authenticated sender: contact@conses.eu) by mail.gandi.net (Postfix) with ESMTPSA id B523E1BF203; Mon, 13 Mar 2023 18:43:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conses.eu; s=gm1; t=1678733002; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tBL7DftuOa13nKZ2iyCLqnE2dbIMbhkoo1+0IgF56eo=; b=GebamZpUofCDLPhvQ+R6ud8B4nfQRC0bC6vgNYuVOcgZQgbBc5uwcW0B4KCHP/MQ/WZ7Vh i+4gNoTyJn4gb+I/sGGGdphCHDYxsi+EUzvg2pdzFlYJDDwBkKdOnpAcZZe4NoBnQT7vWG DmYaEVdcdmUFIcg7a3WQsnHD+ePuQoNzsgMi4c3vy34DV9gpclcj/z7HLRDRye9KmOi/RZ 9HuX33LQt4g5qwy+HmkcnAnKT6DzJ0wH6EmyUPe5SEW+vBN7lFYu1B/Q2vy6tJgn+rBspG j1OTNS6jC4bhVO77o81FGlKCojIngqmMvZ9CnAbeBMtYapG325gHrBkqpdBWYA== From: conses In-Reply-To: References: Message-Id: <3f5ddd04f16495750d23a474bf30c9b428b80243.1678732846.git.contact@conses.eu> Date: Mon, 13 Mar 2023 19:43:18 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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"))