* [bug#66545] [PATCH] gnu: Add emacs-color-theme-sanityinc-tomorrow.
@ 2023-10-14 17:47 Rostislav Svoboda
2023-10-14 18:29 ` Liliana Marie Prikler
[not found] ` <handler.66545.B.169730574415684.ack@debbugs.gnu.org>
0 siblings, 2 replies; 7+ messages in thread
From: Rostislav Svoboda @ 2023-10-14 17:47 UTC (permalink / raw)
To: 66545
Cc: Rostislav Svoboda, Andrew Tropin, Katherine Cox-Buday,
Liliana Marie Prikler
* gnu/packages/emacs-xyz.scm (emacs-color-theme-sanityinc-tomorrow): New variable.
---
gnu/packages/emacs-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index bb8c25f9b5..1d10188b9c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -11057,6 +11057,46 @@ (define-public emacs-moe-theme-el
variants.")
(license license:gpl3+)))
+(define-public emacs-color-theme-sanityinc-tomorrow
+ (let ((commit "d34e8db507ee0c7b465ff18a8f220c33ed77cd79")
+ (revision "0"))
+ (package
+ (name "emacs-color-theme-sanityinc-tomorrow")
+ (version (git-version "0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
+ "https://github.com/purcell/color-theme-sanityinc-tomorrow")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1mfildi7rav2j42avii7z4gp4ghl04cqv8wp1vyxzl8vkyj60nkb"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:tests? #true
+ #:test-command
+ #~(list "emacs" "-Q" "--batch" "--eval" "
+(progn
+ (setq byte-compile-error-on-warn t)
+ (push default-directory load-path))
+"
+ "-f" "batch-byte-compile"
+ "color-theme-sanityinc-tomorrow.el"
+ "sanityinc-tomorrow-blue-theme.el"
+ "sanityinc-tomorrow-bright-theme.el"
+ "sanityinc-tomorrow-day-theme.el"
+ "sanityinc-tomorrow-eighties-theme.el"
+ "sanityinc-tomorrow-night-theme.el")))
+ (home-page "https://github.com/purcell/color-theme-sanityinc-tomorrow")
+ (synopsis "Emacs color themes based on Chris Kempson's 'tomorrow' themes")
+ (description
+ "An Emacs version of Chris Kempson's \"Tomorrow\" themes, with much more
+extensive face definitions than the \"official\" Emacs variant.")
+ (license license:gpl3+))))
+
(define-public emacs-solarized-theme
(package
(name "emacs-solarized-theme")
base-commit: 3d0cdf963820da665d71987c15cae6e503efc701
--
2.41.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#66545] [PATCH] gnu: Add emacs-color-theme-sanityinc-tomorrow.
2023-10-14 17:47 [bug#66545] [PATCH] gnu: Add emacs-color-theme-sanityinc-tomorrow Rostislav Svoboda
@ 2023-10-14 18:29 ` Liliana Marie Prikler
2023-10-14 20:26 ` Rostislav Svoboda
[not found] ` <handler.66545.B.169730574415684.ack@debbugs.gnu.org>
1 sibling, 1 reply; 7+ messages in thread
From: Liliana Marie Prikler @ 2023-10-14 18:29 UTC (permalink / raw)
To: Rostislav Svoboda, 66545; +Cc: Katherine Cox-Buday, Andrew Tropin
Am Samstag, dem 14.10.2023 um 19:47 +0200 schrieb Rostislav Svoboda:
> * gnu/packages/emacs-xyz.scm (emacs-color-theme-sanityinc-tomorrow):
> New variable.
> ---
> gnu/packages/emacs-xyz.scm | 40
> ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 40 insertions(+)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index bb8c25f9b5..1d10188b9c 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -11057,6 +11057,46 @@ (define-public emacs-moe-theme-el
> variants.")
> (license license:gpl3+)))
>
> +(define-public emacs-color-theme-sanityinc-tomorrow
> + (let ((commit "d34e8db507ee0c7b465ff18a8f220c33ed77cd79")
> + (revision "0"))
> + (package
> + (name "emacs-color-theme-sanityinc-tomorrow")
> + (version (git-version "0" revision commit))
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url
> +
> "https://github.com/purcell/color-theme-sanityinc-tomorrow")
> + (commit commit)))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32
> "1mfildi7rav2j42avii7z4gp4ghl04cqv8wp1vyxzl8vkyj60nkb"))))
> + (build-system emacs-build-system)
> + (arguments
> + (list
> + #:tests? #true
> + #:test-command
> + #~(list "emacs" "-Q" "--batch" "--eval" "
> +(progn
> + (setq byte-compile-error-on-warn t)
> + (push default-directory load-path))
> +"
> + "-f" "batch-byte-compile"
> + "color-theme-sanityinc-tomorrow.el"
> + "sanityinc-tomorrow-blue-theme.el"
> + "sanityinc-tomorrow-bright-theme.el"
> + "sanityinc-tomorrow-day-theme.el"
> + "sanityinc-tomorrow-eighties-theme.el"
> + "sanityinc-tomorrow-night-theme.el")))
The tests should not be byte compilation. In fact, these files should
be compiled by the build phase.
> + (home-page
> "https://github.com/purcell/color-theme-sanityinc-tomorrow")
> + (synopsis "Emacs color themes based on Chris Kempson's
> 'tomorrow' themes")
> + (description
> + "An Emacs version of Chris Kempson's \"Tomorrow\" themes,
> with much more
> +extensive face definitions than the \"official\" Emacs variant.")
> + (license license:gpl3+))))
> +
> (define-public emacs-solarized-theme
> (package
> (name "emacs-solarized-theme")
>
> base-commit: 3d0cdf963820da665d71987c15cae6e503efc701
Cheers
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#66545] [PATCH] gnu: Add emacs-color-theme-sanityinc-tomorrow.
2023-10-14 18:29 ` Liliana Marie Prikler
@ 2023-10-14 20:26 ` Rostislav Svoboda
2024-11-12 11:52 ` bug#66545: " Maxim Cournoyer
2024-11-12 14:12 ` [bug#66550] [bug#66545] " Maxim Cournoyer
0 siblings, 2 replies; 7+ messages in thread
From: Rostislav Svoboda @ 2023-10-14 20:26 UTC (permalink / raw)
To: Liliana Marie Prikler; +Cc: Katherine Cox-Buday, Andrew Tropin, 66545
[-- Attachment #1: Type: text/plain, Size: 603 bytes --]
> The tests should not be byte compilation. In fact, these files should be compiled by the build phase.
I see now that the emacs-build-system 'byte compiles all Emacs Lisp
files.' Then, I think the entire `(arguments ...)` can be elided. If
this is correct, I am resending the patch (see attachment). If not,
please direct me to some examples or explain in more detail how to
byte-compile the *.el file during the build phase. Thank you.
(FYI the code under #:test-command was from
https://github.com/purcell/color-theme-sanityinc-tomorrow/blob/d34e8db507ee0c7b465ff18a8f220c33ed77cd79/run-tests.sh)
[-- Attachment #2: 0001-gnu-Add-emacs-color-theme-sanityinc-tomorrow.patch --]
[-- Type: application/x-patch, Size: 1968 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#66545: [PATCH] gnu: Add emacs-color-theme-sanityinc-tomorrow.
2023-10-14 20:26 ` Rostislav Svoboda
@ 2024-11-12 11:52 ` Maxim Cournoyer
2024-11-12 14:12 ` [bug#66550] [bug#66545] " Maxim Cournoyer
1 sibling, 0 replies; 7+ messages in thread
From: Maxim Cournoyer @ 2024-11-12 11:52 UTC (permalink / raw)
To: Rostislav Svoboda
Cc: 66545-done, Andrew Tropin, Katherine Cox-Buday,
Liliana Marie Prikler, 66550-done
Hi,
Rostislav Svoboda <rostislav.svoboda@gmail.com> writes:
>> The tests should not be byte compilation. In fact, these files should be compiled by the build phase.
>
> I see now that the emacs-build-system 'byte compiles all Emacs Lisp
> files.' Then, I think the entire `(arguments ...)` can be elided. If
> this is correct, I am resending the patch (see attachment). If not,
> please direct me to some examples or explain in more detail how to
> byte-compile the *.el file during the build phase. Thank you.
>
> (FYI the code under #:test-command was from
> https://github.com/purcell/color-theme-sanityinc-tomorrow/blob/d34e8db507ee0c7b465ff18a8f220c33ed77cd79/run-tests.sh)
I've applied it.
Thank you!
--
Maxim
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#66550] [bug#66545] [PATCH] gnu: Add emacs-color-theme-sanityinc-tomorrow.
2023-10-14 20:26 ` Rostislav Svoboda
2024-11-12 11:52 ` bug#66545: " Maxim Cournoyer
@ 2024-11-12 14:12 ` Maxim Cournoyer
2024-11-12 14:12 ` Maxim Cournoyer
1 sibling, 1 reply; 7+ messages in thread
From: Maxim Cournoyer @ 2024-11-12 14:12 UTC (permalink / raw)
To: Rostislav Svoboda
Cc: Andrew Tropin, Katherine Cox-Buday, Liliana Marie Prikler, 66545,
66550
Hello,
Rostislav Svoboda <rostislav.svoboda@gmail.com> writes:
>> The tests should not be byte compilation. In fact, these files should be compiled by the build phase.
>
> I see now that the emacs-build-system 'byte compiles all Emacs Lisp
> files.' Then, I think the entire `(arguments ...)` can be elided. If
> this is correct, I am resending the patch (see attachment). If not,
> please direct me to some examples or explain in more detail how to
> byte-compile the *.el file during the build phase. Thank you.
>
> (FYI the code under #:test-command was from
> https://github.com/purcell/color-theme-sanityinc-tomorrow/blob/d34e8db507ee0c7b465ff18a8f220c33ed77cd79/run-tests.sh)
>
> From 1ab65dedbca8d38cf9291e93265cf48c0e473a58 Mon Sep 17 00:00:00 2001
> Message-ID: <1ab65dedbca8d38cf9291e93265cf48c0e473a58.1697312893.git.Rostislav.Svoboda@gmail.com>
> From: Rostislav Svoboda <Rostislav.Svoboda@gmail.com>
> Date: Sat, 14 Oct 2023 19:17:22 +0200
> Subject: [PATCH] gnu: Add emacs-color-theme-sanityinc-tomorrow.
>
> * gnu/packages/emacs-xyz.scm (emacs-color-theme-sanityinc-tomorrow): New variable.
> ---
> gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index bb8c25f9b5..b5fd851b38 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -11057,6 +11057,30 @@ (define-public emacs-moe-theme-el
> variants.")
> (license license:gpl3+)))
>
> +(define-public emacs-color-theme-sanityinc-tomorrow
I've added this comment here:
;; Use the latest commit as there are no release/tag.
We always justify why using a made-up version or random commit, to help
the next person who'll update the package.
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#66545] [PATCH] gnu: Add emacs-color-theme-sanityinc-tomorrow.
2024-11-12 14:12 ` [bug#66550] [bug#66545] " Maxim Cournoyer
@ 2024-11-12 14:12 ` Maxim Cournoyer
0 siblings, 0 replies; 7+ messages in thread
From: Maxim Cournoyer @ 2024-11-12 14:12 UTC (permalink / raw)
To: Rostislav Svoboda
Cc: Andrew Tropin, Katherine Cox-Buday, Liliana Marie Prikler, 66545,
66550
Hello,
Rostislav Svoboda <rostislav.svoboda@gmail.com> writes:
>> The tests should not be byte compilation. In fact, these files should be compiled by the build phase.
>
> I see now that the emacs-build-system 'byte compiles all Emacs Lisp
> files.' Then, I think the entire `(arguments ...)` can be elided. If
> this is correct, I am resending the patch (see attachment). If not,
> please direct me to some examples or explain in more detail how to
> byte-compile the *.el file during the build phase. Thank you.
>
> (FYI the code under #:test-command was from
> https://github.com/purcell/color-theme-sanityinc-tomorrow/blob/d34e8db507ee0c7b465ff18a8f220c33ed77cd79/run-tests.sh)
>
> From 1ab65dedbca8d38cf9291e93265cf48c0e473a58 Mon Sep 17 00:00:00 2001
> Message-ID: <1ab65dedbca8d38cf9291e93265cf48c0e473a58.1697312893.git.Rostislav.Svoboda@gmail.com>
> From: Rostislav Svoboda <Rostislav.Svoboda@gmail.com>
> Date: Sat, 14 Oct 2023 19:17:22 +0200
> Subject: [PATCH] gnu: Add emacs-color-theme-sanityinc-tomorrow.
>
> * gnu/packages/emacs-xyz.scm (emacs-color-theme-sanityinc-tomorrow): New variable.
> ---
> gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index bb8c25f9b5..b5fd851b38 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -11057,6 +11057,30 @@ (define-public emacs-moe-theme-el
> variants.")
> (license license:gpl3+)))
>
> +(define-public emacs-color-theme-sanityinc-tomorrow
I've added this comment here:
;; Use the latest commit as there are no release/tag.
We always justify why using a made-up version or random commit, to help
the next person who'll update the package.
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <handler.66545.B.169730574415684.ack@debbugs.gnu.org>]
* [bug#66545] Acknowledgement ([PATCH] gnu: Add emacs-color-theme-sanityinc-tomorrow.)
[not found] ` <handler.66545.B.169730574415684.ack@debbugs.gnu.org>
@ 2023-10-14 22:09 ` Rostislav Svoboda
0 siblings, 0 replies; 7+ messages in thread
From: Rostislav Svoboda @ 2023-10-14 22:09 UTC (permalink / raw)
To: 66545
Please consider reviewing the following two patches together:
[PATCH] gnu: Add emacs-color-theme-sanityinc-tomorrow.
https://issues.guix.gnu.org/issue/66545
[PATCH] gnu: Add emacs-color-theme-sanityinc-solarized.
https://issues.guix.gnu.org/issue/66550
Le sam. 14 oct. 2023 à 19:49, GNU bug Tracking System
<help-debbugs@gnu.org> a écrit :
>
> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> As you requested using X-Debbugs-CC, your message was also forwarded to
> Andrew Tropin <andrew@trop.in>, Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>, Liliana Marie Prikler <liliana.prikler@gmail.com>
> (after having been given a bug report number, if it did not have one).
>
> Your message has been sent to the package maintainer(s):
> guix-patches@gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 66545@debbugs.gnu.org.
>
> Please do not send mail to help-debbugs@gnu.org unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 66545: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66545
> GNU Bug Tracking System
> Contact help-debbugs@gnu.org with problems
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-11-12 14:14 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-14 17:47 [bug#66545] [PATCH] gnu: Add emacs-color-theme-sanityinc-tomorrow Rostislav Svoboda
2023-10-14 18:29 ` Liliana Marie Prikler
2023-10-14 20:26 ` Rostislav Svoboda
2024-11-12 11:52 ` bug#66545: " Maxim Cournoyer
2024-11-12 14:12 ` [bug#66550] [bug#66545] " Maxim Cournoyer
2024-11-12 14:12 ` Maxim Cournoyer
[not found] ` <handler.66545.B.169730574415684.ack@debbugs.gnu.org>
2023-10-14 22:09 ` [bug#66545] Acknowledgement ([PATCH] gnu: Add emacs-color-theme-sanityinc-tomorrow.) Rostislav Svoboda
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).