GNU bug report logs - #73822
[PATCH] gnu: emacs-xyz: add emacs-catppuccin-theme

Previous Next

Package: guix-patches;

Reported by: bigbookofbug <at> proton.me

Date: Tue, 15 Oct 2024 17:52:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

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 73822 in the body.
You can then email your comments to 73822 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#73822; Package guix-patches. (Tue, 15 Oct 2024 17:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to bigbookofbug <at> proton.me:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 15 Oct 2024 17:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: bigbookofbug <at> proton.me
To: guix-patches <at> gnu.org
Cc: emma thompson <bigbookofbug <at> proton.me>
Subject: [PATCH] gnu: emacs-xyz: add emacs-catppuccin-theme
Date: Tue, 15 Oct 2024 17:51:04 +0000
From: emma thompson <bigbookofbug <at> proton.me>

small addition to emacs-xyz to add the catppuccin theme

---
 gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0be1ac83bc..9864d9f06b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -146,6 +146,7 @@
 ;;; Copyright © 2024 Ashish SHUKLA <ashish.is <at> lostca.se>
 ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom <at> gmail.com>
 ;;; Copyright © 2024 Spencer King <spencer.king <at> nursiapress.com>
+;;; Copyright © 2024 emma thompson <bigbookofbug <at> proton.me>
 
 ;;;
 ;;; This file is part of GNU Guix.
@@ -2167,6 +2168,26 @@ (define-public emacs-acme-theme
 inspired by Plan 9 Acme and the Sam text editor.")
       (license license:gpl3+))))
 
+(define-public emacs-catppuccin-theme
+  (package
+   (name "emacs-catppuccin-theme")
+   (version "20240829.2151")
+   (source
+    (origin
+     (method git-fetch)
+     (uri (git-reference
+	   (url "https://github.com/catppuccin/emacs.git")
+	   (commit "3e4e534a60d72851feb6709be4afe4acc3374c87")))
+     (file-name (git-file-name name version))
+     (sha256
+      (base32 "1fj93np7x8b2hvhcryb61ryir49pgy4n8bciph2s43rczz6z1pii"))))
+   (build-system emacs-build-system)
+   (home-page "https://github.com/catppuccin/emacs")
+   (synopsis "Catppuccin for Emacs - Soothing pastel theme for Emacs")
+   (description
+    "Soothing pastel theme for Emacs @code{catppuccin-theme.el} provides the theme @code{catppuccin}, a port of the Catppuccin colors to Emacs.  To select a palette and enable the theme, evaluate: @code{(setq catppuccin-flavor frappe)} ; or latte, macchiato, or mocha (load-theme catppuccin t) For more information visit <https://catppuccin.com>.")
+   (license license:expat)))
+
 (define-public emacs-theme-magic
   ;; No tagged release upstream, but the commit below correspond to the 0.2.3
   ;; release.

base-commit: 377359315fbb0e1414354910ba3a14c145fdc519
-- 
2.46.0






Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Thu, 24 Oct 2024 13:17:02 GMT) Full text and rfc822 format available.

Notification sent to bigbookofbug <at> proton.me:
bug acknowledged by developer. (Thu, 24 Oct 2024 13:17:02 GMT) Full text and rfc822 format available.

Message #10 received at 73822-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: 73822-done <at> debbugs.gnu.org
Cc: bigbookofbug <at> proton.me
Subject: Re: [PATCH] gnu: emacs-xyz: add emacs-catppuccin-theme
Date: Thu, 24 Oct 2024 15:15:26 +0200
Hello,

> small addition to emacs-xyz to add the catppuccin theme

I added a proper commit message, tweaked a bit the patch and applied it. Thanks!

> +(define-public emacs-catppuccin-theme
> +  (package
> +   (name "emacs-catppuccin-theme")
> +   (version "20240829.2151")

I used version from upstream instead.

> +   (source
> +    (origin
> +     (method git-fetch)
> +     (uri (git-reference
> +	   (url "https://github.com/catppuccin/emacs.git")

I removed the ".git" suffix.

> +	   (commit "3e4e534a60d72851feb6709be4afe4acc3374c87")))

I let-bound this in a variable around the package definition.

> +     (file-name (git-file-name name version))
> +     (sha256
> +      (base32 "1fj93np7x8b2hvhcryb61ryir49pgy4n8bciph2s43rczz6z1pii"))))
> +   (build-system emacs-build-system)
> +   (home-page "https://github.com/catppuccin/emacs")
> +   (synopsis "Catppuccin for Emacs - Soothing pastel theme for Emacs")
> +   (description
> +    "Soothing pastel theme for Emacs @code{catppuccin-theme.el} provides the theme @code{catppuccin}, a port of the Catppuccin colors to Emacs.  To select a palette and enable the theme, evaluate: @code{(setq catppuccin-flavor frappe)} ; or latte, macchiato, or mocha (load-theme catppuccin t) For more information visit <https://catppuccin.com>.")
> +   (license license:expat)))

I tweaked the description and the synopsis according to project's page.

Regards,
-- 
Nicolas Goaziou






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 22 Nov 2024 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.