unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0.
@ 2020-10-10 16:00 Morgan.J.Smith
  2020-10-11 16:25 ` Nicolas Goaziou
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Morgan.J.Smith @ 2020-10-10 16:00 UTC (permalink / raw)
  To: 43910; +Cc: Morgan Smith

From: Morgan Smith <Morgan.J.Smith@outlook.com>

* gnu/packages/emacs-xyz.scm (emacs-modus-vivendi-theme): Update to 0.13.0.
[source]: Use git instead of elpa, as elpa is out of date
[arguments]: Add phase to remove modus-operandi-theme.el
---
 gnu/packages/emacs-xyz.scm | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 44aaaa0541..f1ebdd90ff 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -22685,15 +22685,25 @@ standard.  This is the highest standard of its kind.")
 (define-public emacs-modus-vivendi-theme
   (package
     (name "emacs-modus-vivendi-theme")
-    (version "0.12.0")
+    (version "0.13.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://elpa.gnu.org/packages/"
-                           "modus-vivendi-theme-" version ".el"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.com/protesilaos/modus-themes")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "01f6z5xjnmki1k9m83jwva42lxidb31pdpwm4wpxjzxqmb96picn"))))
+        (base32
+         "0i6n3pzrmlgabsijy6z0hhs71q7g99yagwr2m33lr30skqc9rvdn"))))
     (build-system emacs-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'remove-other-theme
+           (lambda _
+             (delete-file "modus-operandi-theme.el")
+             #t)))))
     (home-page "https://gitlab.com/protesilaos/modus-themes")
     (synopsis "Accessible dark theme (WCAG AAA)")
     (description
-- 
2.28.0





^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0.
  2020-10-10 16:00 [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0 Morgan.J.Smith
@ 2020-10-11 16:25 ` Nicolas Goaziou
  2020-10-11 16:33   ` Morgan Smith
  2020-10-30 18:16 ` [bug#43910] (no subject) André Alexandre Gomes
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 9+ messages in thread
From: Nicolas Goaziou @ 2020-10-11 16:25 UTC (permalink / raw)
  To: Morgan.J.Smith; +Cc: 43910

Hello,

Morgan.J.Smith@outlook.com writes:

> * gnu/packages/emacs-xyz.scm (emacs-modus-vivendi-theme): Update to 0.13.0.
> [source]: Use git instead of elpa, as elpa is out of date
> [arguments]: Add phase to remove modus-operandi-theme.el

Thank you.

However I suggest we stick to GNU ELPA repository, since it makes the
package much easier to update. Also, GNU ELPA will eventually catch up
with the new version.

WDYT?

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0.
  2020-10-11 16:25 ` Nicolas Goaziou
@ 2020-10-11 16:33   ` Morgan Smith
  2020-11-02 13:50     ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Morgan Smith @ 2020-10-11 16:33 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 43910

I was thinking the author likely stopped updating elpa once his package
made it into mainline emacs (but not in time for 27.1). I guess I'll
reach out and let him know he should keep updating it for a bit.

Also I remembered someone telling me to not use elpa. Upon checking the
history, you warned me about melpa, not elpa.

Cheers!




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#43910] (no subject)
  2020-10-10 16:00 [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0 Morgan.J.Smith
  2020-10-11 16:25 ` Nicolas Goaziou
@ 2020-10-30 18:16 ` André Alexandre Gomes
  2020-10-31  5:07 ` [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0 Protesilaos Stavrou
  2020-11-03 11:01 ` bug#43910: " Nicolas Goaziou
  3 siblings, 0 replies; 9+ messages in thread
From: André Alexandre Gomes @ 2020-10-30 18:16 UTC (permalink / raw)
  To: 43910

Hi,

You may find the following discussion useful:

https://gitlab.com/protesilaos/modus-themes/-/issues/111

So it seems that Guix will wait for GNU ELPA to release the latest
version, correct?

-- 
André Alexandre Gomes
"Free Thought, Free World"




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0.
  2020-10-10 16:00 [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0 Morgan.J.Smith
  2020-10-11 16:25 ` Nicolas Goaziou
  2020-10-30 18:16 ` [bug#43910] (no subject) André Alexandre Gomes
@ 2020-10-31  5:07 ` Protesilaos Stavrou
  2020-11-03 11:01 ` bug#43910: " Nicolas Goaziou
  3 siblings, 0 replies; 9+ messages in thread
From: Protesilaos Stavrou @ 2020-10-31  5:07 UTC (permalink / raw)
  To: 43910

Hello everyone,

Just to note that I have not abandoned GNU ELPA: it remains an important
target.

The delay for this version is due to administrative changes that need to
happen.  The themes are now part of GNU Emacs, so GNU ELPA must be
patched to get them from emacs.git (together with their new Info
manual).

I do not have push access to GNU ELPA and must thus coordinate with the
maintainer.  Once this is done, future updates will not go through any
delays.

Thank you for your understanding!

Best regards,
Protesilaos

-- 
Protesilaos Stavrou
protesilaos.com




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0.
  2020-10-11 16:33   ` Morgan Smith
@ 2020-11-02 13:50     ` Ludovic Courtès
  2020-11-02 14:19       ` Morgan Smith
  0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2020-11-02 13:50 UTC (permalink / raw)
  To: Morgan Smith; +Cc: 43910, Nicolas Goaziou

Hi,

Nicolas, Morgan: what’s the status of this patch?

TIA! :-)

Ludo’.

Morgan Smith <Morgan.J.Smith@outlook.com> skribis:

> I was thinking the author likely stopped updating elpa once his package
> made it into mainline emacs (but not in time for 27.1). I guess I'll
> reach out and let him know he should keep updating it for a bit.
>
> Also I remembered someone telling me to not use elpa. Upon checking the
> history, you warned me about melpa, not elpa.
>
> Cheers!




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0.
  2020-11-02 13:50     ` Ludovic Courtès
@ 2020-11-02 14:19       ` Morgan Smith
  2020-11-02 18:33         ` Nicolas Goaziou
  0 siblings, 1 reply; 9+ messages in thread
From: Morgan Smith @ 2020-11-02 14:19 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 43910, Nicolas Goaziou

Hi Ludo,

So I really want it to be applied as is so I can use package
transformations and build this package from master (Currently if you try
to use package transformations you will obtain an extra unwanted file).
However, for some reason (I still don't know why) we like to use elpa.

If we do really want to keep using elpa (someone please explain to me
the benefits of doing this) than the good news is the author is working
on it and we just have to be patient. The moment this link says 0.13
instead of 0.12, we can do a version bump:
https://elpa.gnu.org/packages/modus-operandi-theme.html

Morgan

On 11/2/20 8:50 AM, Ludovic Courtès wrote:
> Hi,
> 
> Nicolas, Morgan: what’s the status of this patch?
> 
> TIA! :-)
> 
> Ludo’.
> 
> Morgan Smith <Morgan.J.Smith@outlook.com> skribis:
> 
>> I was thinking the author likely stopped updating elpa once his package
>> made it into mainline emacs (but not in time for 27.1). I guess I'll
>> reach out and let him know he should keep updating it for a bit.
>>
>> Also I remembered someone telling me to not use elpa. Upon checking the
>> history, you warned me about melpa, not elpa.
>>
>> Cheers!




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0.
  2020-11-02 14:19       ` Morgan Smith
@ 2020-11-02 18:33         ` Nicolas Goaziou
  0 siblings, 0 replies; 9+ messages in thread
From: Nicolas Goaziou @ 2020-11-02 18:33 UTC (permalink / raw)
  To: Morgan Smith; +Cc: 43910, Ludovic Courtès

Hello,

Morgan Smith <Morgan.J.Smith@outlook.com> writes:

> If we do really want to keep using elpa (someone please explain to me
> the benefits of doing this) than the good news is the author is working
> on it and we just have to be patient. The moment this link says 0.13
> instead of 0.12, we can do a version bump:
> https://elpa.gnu.org/packages/modus-operandi-theme.html

GNU ELPA is preferred because updating the package is much easier. This
is important when you have lot of packages you want to keep up-to-date.
It is also easier to get notified about updates, but that's not specific
to Guix.

Usually, GNU ELPA catches up releases quickly, but it seems more
complicated in this case. So, I think it is reasonable to update this
package using GitHub source and switch back to ELPA when the situation
is sorted out.

Regards,

-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#43910: [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0.
  2020-10-10 16:00 [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0 Morgan.J.Smith
                   ` (2 preceding siblings ...)
  2020-10-31  5:07 ` [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0 Protesilaos Stavrou
@ 2020-11-03 11:01 ` Nicolas Goaziou
  3 siblings, 0 replies; 9+ messages in thread
From: Nicolas Goaziou @ 2020-11-03 11:01 UTC (permalink / raw)
  To: Morgan.J.Smith; +Cc: 43910-done

Hello,

Morgan.J.Smith@outlook.com writes:

> * gnu/packages/emacs-xyz.scm (emacs-modus-vivendi-theme): Update to 0.13.0.
> [source]: Use git instead of elpa, as elpa is out of date
> [arguments]: Add phase to remove modus-operandi-theme.el

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-11-03 11:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-10 16:00 [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0 Morgan.J.Smith
2020-10-11 16:25 ` Nicolas Goaziou
2020-10-11 16:33   ` Morgan Smith
2020-11-02 13:50     ` Ludovic Courtès
2020-11-02 14:19       ` Morgan Smith
2020-11-02 18:33         ` Nicolas Goaziou
2020-10-30 18:16 ` [bug#43910] (no subject) André Alexandre Gomes
2020-10-31  5:07 ` [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0 Protesilaos Stavrou
2020-11-03 11:01 ` bug#43910: " Nicolas Goaziou

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