unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#45100] [PATCH] gnu: emacs-modus-themes: Update to 1.0.2.
@ 2020-12-07 12:43 André Alexandre Gomes
  2020-12-07 15:32 ` bug#45100: " Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: André Alexandre Gomes @ 2020-12-07 12:43 UTC (permalink / raw)
  To: 45100; +Cc: André Alexandre Gomes, info

Deprecates emacs-modus-operandi/vivendi-theme.
---
 gnu/packages/emacs-xyz.scm | 60 +++++++++-----------------------------
 1 file changed, 13 insertions(+), 47 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7fd8f3c245..adf08f14c6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -86,6 +86,7 @@
 ;;; Copyright © 2020 Tim Howes <timhowes@lavabit.com>
 ;;; Copyright © 2020 Noah Landis <noahlandis@posteo.net>
 ;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
+;;; Copyright © 2020 André A. Gomes <andremegafone@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -23225,68 +23226,33 @@ Emacs that integrate with major modes like Org-mode.")
       (license license:expat))))
 
 (define-public emacs-modus-operandi-theme
-  (package
-    (name "emacs-modus-operandi-theme")
-    (version "0.13.0")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://gitlab.com/protesilaos/modus-themes")
-             (commit version)))
-       (file-name (git-file-name name version))
-       (sha256
-        (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
-     "Modus operandi is the light version of the Modus accessible themes for
-GNU Emacs.  The contrast ratio between foreground and background values should
-always be greater than 7:1, which conforms with the WCAG AAA accessibility
-standard.  This is the highest standard of its kind.")
-    (license license:gpl3+)))
+  (deprecated-package "emacs-modus-operandi-theme" emacs-modus-themes))
 
 (define-public emacs-modus-vivendi-theme
+  (deprecated-package "emacs-modus-vivendi-theme" emacs-modus-themes))
+
+(define-public emacs-modus-themes
   (package
-    (name "emacs-modus-vivendi-theme")
-    (version "0.13.0")
+    (name "emacs-modus-themes")
+    (version "1.0.2")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://gitlab.com/protesilaos/modus-themes")
+             (url "https://gitlab.com/protesilaos/modus-themes.git")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0i6n3pzrmlgabsijy6z0hhs71q7g99yagwr2m33lr30skqc9rvdn"))))
+        (base32 "1v82payjgx8z0qdklsrkim7xkb6hqrbs34d5qpq0sii43jwhiy5j"))))
     (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)")
+    (synopsis "Accessible themes (WCAG AAA)")
     (description
-     "Modus vivendi is the dark version of the Modus accessible themes for GNU
-Emacs.  The contrast ratio between foreground and background values should
-always be greater than 7:1, which conforms with the WCAG AAA accessibility
-standard.  This is the highest standard of its kind.")
+     "Highly accessible themes for GNU Emacs, conforming with the highest
+standard for colour contrast between background and foreground values (WCAG
+AAA).")
     (license license:gpl3+)))
 
-(define-public emacs-modus-themes
-  (deprecated-package "emacs-modus-themes" emacs-modus-operandi-theme))
-
 (define-public emacs-punpun-theme
   (let ((commit "2f78125609277b2478abdebd8f9d5ee10a823b65")
         (revision "0"))
-- 
2.29.2





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

* bug#45100: [PATCH] gnu: emacs-modus-themes: Update to 1.0.2.
  2020-12-07 12:43 [bug#45100] [PATCH] gnu: emacs-modus-themes: Update to 1.0.2 André Alexandre Gomes
@ 2020-12-07 15:32 ` Nicolas Goaziou
  2020-12-09  9:24   ` [bug#45100] " André Alexandre Gomes
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2020-12-07 15:32 UTC (permalink / raw)
  To: André Alexandre Gomes; +Cc: info, 45100-done

Hello,

André Alexandre Gomes <andremegafone@gmail.com> writes:

> Deprecates emacs-modus-operandi/vivendi-theme.

Thank you! I applied your patch with the following changes:

- I wrote a complete commit message,

- I fixed the order of packages (you cannot deprecate a package before
  the definition of the new package)

- I relocated the home-page to https://protesilaos.com/modus-themes/

- I expounded the description (in particular, it consists of full
  sentences now).

I'm now waiting for GNU ELPA to catch up so we can switch back to this
source.

Regards,
-- 
Nicolas Goaziou




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

* [bug#45100] [PATCH] gnu: emacs-modus-themes: Update to 1.0.2.
  2020-12-07 15:32 ` bug#45100: " Nicolas Goaziou
@ 2020-12-09  9:24   ` André Alexandre Gomes
  0 siblings, 0 replies; 3+ messages in thread
From: André Alexandre Gomes @ 2020-12-09  9:24 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: info, 45100-done

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Thank you! I applied your patch with the following changes:
>
> - I wrote a complete commit message,
>
> - I fixed the order of packages (you cannot deprecate a package before
>   the definition of the new package)
>
> - I relocated the home-page to https://protesilaos.com/modus-themes/
>
> - I expounded the description (in particular, it consists of full
>   sentences now).

Thank you Nicolas.  I will keep in mind these observations in future
patches.

> I'm now waiting for GNU ELPA to catch up so we can switch back to this
> source.

Right, I recall you mentioning that we should stick to GNU ELPA since
it's easier to maintain.  Let's keep in mind that the themes will be
part of Emacs in the next release.  At that point, Guix doesn't need to
package it anymore.

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




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

end of thread, other threads:[~2020-12-09  9:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-07 12:43 [bug#45100] [PATCH] gnu: emacs-modus-themes: Update to 1.0.2 André Alexandre Gomes
2020-12-07 15:32 ` bug#45100: " Nicolas Goaziou
2020-12-09  9:24   ` [bug#45100] " André Alexandre Gomes

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