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

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

* gnu/packages/emacs-xyz.scm (emacs-modus-operandi-theme): Update to 0.13.0.
[source]: Use git instead of elpa, as elpa is out of date
[arguments]: Add phase to remove modus-vivendi-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 5909016422..44aaaa0541 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -22654,15 +22654,25 @@ Emacs that integrate with major modes like Org-mode.")
 (define-public emacs-modus-operandi-theme
   (package
     (name "emacs-modus-operandi-theme")
-    (version "0.12.0")
+    (version "0.13.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://elpa.gnu.org/packages/"
-                           "modus-operandi-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 "1mllyysn701qfnglxs7n2f6mrzrz55v9hcwspvafc6fl2blr393y"))))
+        (base32
+         "0i6n3pzrmlgabsijy6z0hhs71q7g99yagwr2m33lr30skqc9rvdn"))))
     (build-system emacs-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'remove-other-theme
+           (lambda _
+             (delete-file "modus-vivendi-theme.el")
+             #t)))))
     (home-page "https://gitlab.com/protesilaos/modus-themes")
     (synopsis "Accessible light theme (WCAG AAA)")
     (description
-- 
2.28.0





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

* [bug#43911] [PATCH] gnu: emacs-modus-operandi-theme: Update to 0.13.0.
  2020-10-10 16:05 [bug#43911] [PATCH] gnu: emacs-modus-operandi-theme: Update to 0.13.0 Morgan.J.Smith
@ 2020-10-11 16:27 ` Nicolas Goaziou
  2020-11-03 10:49   ` bug#43911: " Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2020-10-11 16:27 UTC (permalink / raw)
  To: Morgan.J.Smith; +Cc: 43911

Hello,

Morgan.J.Smith@outlook.com writes:

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

See my comments about bug#43910.

Regards,
-- 
Nicolas Goaziou




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

* bug#43911: [PATCH] gnu: emacs-modus-operandi-theme: Update to 0.13.0.
  2020-10-11 16:27 ` Nicolas Goaziou
@ 2020-11-03 10:49   ` Nicolas Goaziou
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2020-11-03 10:49 UTC (permalink / raw)
  To: Morgan.J.Smith; +Cc: 43911-done

Hello,

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-10 16:05 [bug#43911] [PATCH] gnu: emacs-modus-operandi-theme: Update to 0.13.0 Morgan.J.Smith
2020-10-11 16:27 ` Nicolas Goaziou
2020-11-03 10:49   ` bug#43911: " 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).