[PATCH 0/6] emacs-xyz: add info manuals

DoneSubmitted by Jai Vetrivelan.
Details
2 participants
  • Jai Vetrivelan
  • Ludovic Courtès
Owner
unassigned
Severity
normal
J
J
Jai Vetrivelan wrote on 14 Apr 09:34 +0200
(address . guix-patches@gnu.org)
87y208xgna.fsf@gmail.com
Updated patch series of #54474

Jai Vetrivelan (5):
gnu: emacs-mct: Add Info manual.
gnu: Add emacs-logos.
gnu: Add emacs-lin.
gnu: Add emacs-pulsar.
gnu: emacs-modus-themes: Update to 2.3.2.

gnu/packages/emacs-xyz.scm | 144 +++++++++++++++++++++++++++++++++++--
1 file changed, 139 insertions(+), 5 deletions(-)


base-commit: 5743d505834a8b13778da2c969ea4e15bb7a3a75
prerequisite-patch-id: 7da4361fc7bcf0d0efcbc815aee37bb876bb202c
prerequisite-patch-id: 475f0df1fc6dc084c2207bd48d570ede16c737b7
prerequisite-patch-id: 3814923d8f0e61a0b6bccd3d51acfe94ea24ac0c
--
2.34.0
J
J
Jai Vetrivelan wrote on 14 Apr 09:38 +0200
[PATCH 1/5] gnu: emacs-mct: Add Info manual.
(address . 54925@debbugs.gnu.org)(name . Jai Vetrivelan)(address . jaivetrivelan@gmail.com)
20220414073806.24819-1-jaivetrivelan@gmail.com
* gnu/packages/emacs-xyz.scm (emacs-mct): Add Info manual.
---
gnu/packages/emacs-xyz.scm | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)

Toggle diff (37 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index bc96813754..38db64100f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1008,7 +1008,20 @@ (define-public emacs-mct
               (sha256
                (base32 "0714n5nim0hyd5jywvvddka2gi2bhi1vkrbhx75mdn8h50r688kq"))
               (file-name (git-file-name name version))))
+    (native-inputs (list texinfo))
     (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'makeinfo
+            (lambda _
+              (invoke "emacs"
+                      "--batch"
+                      "--eval=(require 'ox-texinfo)"
+                      "--eval=(find-file \"README.org\")"
+                      "--eval=(org-texinfo-export-to-info)")
+              (install-file "mct.info" (string-append #$output "/share/info")))))))
     (home-page "https://protesilaos.com/emacs/mct")
     (synopsis "Enhancement of the default Emacs minibuffer completion UI")
     (description "Minibuffer and Completions in Tandem, also known as MCT, or
@@ -1017,7 +1030,8 @@ (define-public emacs-mct
 framework.  The idea is to make the presentation and overall functionality be
 consistent with other popular, vertically aligned completion UIs while
 leveraging built-in functionality.")
-    (license license:gpl3+)))
+    (license (list license:gpl3+
+                   license:fdl1.3+)))) ; GFDLv1.3+ for the manual
 
 (define-public emacs-minions
   (package
-- 
2.34.0
J
J
Jai Vetrivelan wrote on 14 Apr 09:38 +0200
[PATCH 2/5] gnu: Add emacs-logos.
(address . 54925@debbugs.gnu.org)(name . Jai Vetrivelan)(address . jaivetrivelan@gmail.com)
20220414073806.24819-2-jaivetrivelan@gmail.com
* gnu/packages/emacs-xyz.scm (emacs-logos): New variable.
---
gnu/packages/emacs-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)

Toggle diff (49 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 38db64100f..43f08fa880 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13182,6 +13182,42 @@ (define-public emacs-log4e
 you to deal with multiple log levels.")
     (license license:gpl3+)))
 
+(define-public emacs-logos
+  (package
+    (name "emacs-logos")
+    (version "0.3.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~protesilaos/logos")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1xhnhaxmjqdv0bbh22gj9ak83hha8d59q64b6aa4rynrgcyajk45"))))
+    (native-inputs (list texinfo))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'makeinfo
+            (lambda* (#:key outputs #:allow-other-keys)
+              (invoke "emacs"
+                      "--batch"
+                      "--eval=(require 'ox-texinfo)"
+                      "--eval=(find-file \"README.org\")"
+                      "--eval=(org-texinfo-export-to-info)")
+              (install-file "logos.info" (string-append #$output "/share/info")))))))
+    (home-page "https://protesilaos.com/emacs/logos")
+    (synopsis "Simple focus mode for Emacs")
+    (description "This package provides a simple focus mode which can be applied
+to any buffer for reading, writing, or even doing a presentation.  The buffer
+can be divided in pages using the @lisp{page-delimiter}, outline structure, or any
+other pattern.")
+    (license (list license:gpl3+
+                   license:fdl1.3+)))) ; GFDLv1.3+ for the manual
+
 (define-public emacs-gn-mode
   (package
     (name "emacs-gn-mode")
-- 
2.34.0
J
J
Jai Vetrivelan wrote on 14 Apr 09:38 +0200
[PATCH 3/5] gnu: Add emacs-lin.
(address . 54925@debbugs.gnu.org)(name . Jai Vetrivelan)(address . jaivetrivelan@gmail.com)
20220414073806.24819-3-jaivetrivelan@gmail.com
* gnu/packages/emacs-xyz.scm (emacs-lin): New variable.
---
gnu/packages/emacs-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)

Toggle diff (49 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 43f08fa880..1ceb526cfd 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13741,6 +13741,42 @@ (define-public emacs-linum-relative
 number on the left margin in Emacs.")
     (license license:gpl2+)))
 
+(define-public emacs-lin
+  (package
+    (name "emacs-lin")
+    (version "0.3.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~protesilaos/lin")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1w1mli2wrxbnwagn3rx5ygslmzlri3drm74nqgwpl4pwh66xi98a"))))
+    (native-inputs (list texinfo))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'makeinfo
+            (lambda _
+              (invoke "emacs"
+                      "--batch"
+                      "--eval=(require 'ox-texinfo)"
+                      "--eval=(find-file \"README.org\")"
+                      "--eval=(org-texinfo-export-to-info)")
+              (install-file "lin.info" (string-append #$output "/share/info")))))))
+    (home-page "https://protesilaos.com/emacs/lin")
+    (synopsis "Make @command{hl-line-mode} more suitable for selection UIs")
+    (description "Lin is a stylistic enhancement for Emacs’ built-in
+@command{hl-line-mode}.  It remaps the hl-line face (or equivalent)
+buffer-locally to a style that is optimal for major modes where line selection
+is the primary mode of interaction.")
+    (license (list license:gpl3+
+                   license:fdl1.3+)))) ; GFDLv1.3+ for the manual
+
 (define-public emacs-idle-highlight
   (package
     (name "emacs-idle-highlight")
-- 
2.34.0
J
J
Jai Vetrivelan wrote on 14 Apr 09:38 +0200
[PATCH 4/5] gnu: Add emacs-pulsar.
(address . 54925@debbugs.gnu.org)(name . Jai Vetrivelan)(address . jaivetrivelan@gmail.com)
20220414073806.24819-4-jaivetrivelan@gmail.com
* gnu/packages/emacs-xyz.scm (emacs-pulsar): New variable.
---
gnu/packages/emacs-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)

Toggle diff (47 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 1ceb526cfd..058974847c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -18774,6 +18774,40 @@ (define-public emacs-pulseaudio-control
        "This package allows controlling @code{pulseaudio} from Emacs.")
       (license license:gpl3+))))
 
+(define-public emacs-pulsar
+  (package
+    (name "emacs-pulsar")
+    (version "0.3.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~protesilaos/pulsar")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "09s1r9zqc28g75jjxajdm34ni4m7gynh0xsffy5d60c50igiqa94"))))
+    (native-inputs (list texinfo))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'makeinfo
+            (lambda _
+              (invoke "emacs"
+                      "--batch"
+                      "--eval=(require 'ox-texinfo)"
+                      "--eval=(find-file \"README.org\")"
+                      "--eval=(org-texinfo-export-to-info)")
+              (install-file "pulsar.info" (string-append #$output "/share/info")))))))
+    (home-page "https://protesilaos.com/emacs/pulsar")
+    (synopsis "Pulse highlight line on demand or after running select functions")
+    (description "This package temporarily highlights the current line after a
+given function is invoked.")
+    (license (list license:gpl3+
+                   license:fdl1.3+)))) ; GFDLv1.3+ for the manual
+
 (define-public emacs-datetime
   (package
     (name "emacs-datetime")
-- 
2.34.0
J
J
Jai Vetrivelan wrote on 14 Apr 09:38 +0200
[PATCH 5/5] gnu: emacs-modus-themes: Update to 2.3.2.
(address . 54925@debbugs.gnu.org)(name . Jai Vetrivelan)(address . jaivetrivelan@gmail.com)
20220414073806.24819-5-jaivetrivelan@gmail.com
* gnu/packages/emacs-xyz.scm (emacs-modus-themes): Update to 2.3.2.
---
gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)

Toggle diff (50 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 058974847c..e40a77ec3a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27480,17 +27480,30 @@ (define-public emacs-doom-themes
 (define-public emacs-modus-themes
   (package
     (name "emacs-modus-themes")
-    (version "2.2.0")
+    (version "2.3.2")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://gitlab.com/protesilaos/modus-themes")
+             (url "https://git.sr.ht/~protesilaos/modus-themes")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1mnfbr312dqifsdngb29kvggfirfclc9ncaw5srd52hnwc5n0rxi"))))
+        (base32 "00c3sa663rnl2rvnjdqzghcyfbdri09xjfigyrgd5xa3y0mnpqiz"))))
+    (native-inputs (list texinfo))
     (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'makeinfo
+            (lambda _
+              (invoke "emacs"
+                      "--batch"
+                      "--eval=(require 'ox-texinfo)"
+                      "--eval=(find-file \"doc/modus-themes.org\")"
+                      "--eval=(org-texinfo-export-to-info)")
+              (install-file "doc/modus-themes.info" (string-append #$output "/share/info")))))))
     (home-page "https://protesilaos.com/modus-themes/")
     (synopsis "Accessible themes (WCAG AAA)")
     (description
@@ -27503,7 +27516,8 @@ (define-public emacs-modus-themes
 Vivendi (modus-vivendi) is dark.  Each theme’s color palette is designed to
 meet the needs of the numerous interfaces that are possible in the Emacs
 computing environment.")
-    (license license:gpl3+)))
+    (license (list license:gpl3+
+                   license:fdl1.3+)))) ; GFDLv1.3+ for the manual
 
 (define-public emacs-punpun-theme
   (let ((commit "7026684cd568cb691af3ced5de14c375fe6f5a1a")
-- 
2.34.0
L
L
Ludovic Courtès wrote on 9 May 00:09 +0200
Re: bug#54925: [PATCH 0/6] emacs-xyz: add info manuals
(name . Jai Vetrivelan)(address . jaivetrivelan@gmail.com)(address . 54925-done@debbugs.gnu.org)
878rrbvfps.fsf@gnu.org
Hi,

Jai Vetrivelan <jaivetrivelan@gmail.com> skribis:

Toggle quote (6 lines)
> gnu: emacs-mct: Add Info manual.
> gnu: Add emacs-logos.
> gnu: Add emacs-lin.
> gnu: Add emacs-pulsar.
> gnu: emacs-modus-themes: Update to 2.3.2.

There was invalid Texinfo markup in the description of emacs-logos, so I
fixed that (“make” or “guix lint emacs-logos” would report it.)

Pushed with this change, thanks!

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 54925@debbugs.gnu.org