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