* [bug#53713] [PATCH] Add emacs-subed
@ 2022-02-01 23:39 Jai Vetrivelan
2022-02-06 21:13 ` bug#53713: " Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Jai Vetrivelan @ 2022-02-01 23:39 UTC (permalink / raw)
To: 53713
[-- Attachment #1: 0001-gnu-Add-emacs-subed.patch --]
[-- Type: text/x-patch, Size: 2399 bytes --]
From cfea2a0826f2c1fef798d15db10e5a5883ecfd80 Mon Sep 17 00:00:00 2001
From: Jai Vetrivelan <jaivetrivelan@gmail.com>
Date: Tue, 1 Feb 2022 21:43:12 +0530
Subject: [PATCH] gnu: Add emacs-subed.
* gnu/packages/emacs-xyz.scm: (emacs-subed) new variable.
---
gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8ce245c54a..ae69df0eff 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -107,6 +107,7 @@
;;; Copyright © 2021 Brian Kubisiak <brian@kubisiak.com>
;;; Copyright © 2021, 2022 Taiju HIGASHI <higashi@taiju.info>
;;; Copyright © 2022 Brandon Lucas <br@ndon.dk>
+;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -5935,6 +5936,35 @@ (define-public emacs-sudo-edit
user.")
(license license:gpl3+)))
+(define-public emacs-subed
+ (let ((version "0.0.4") (revision "0")
+ (commit "f69c3e09f21403722dd5294b0b640a15201afbf5"))
+ (package
+ (name "emacs-subed")
+ (version (git-version version revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sachac/subed")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0p510waqzr9kqa1nfi91rjdpiqqikhqxw9r1by9sxyf6wd890dg8"))))
+ (build-system emacs-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'chdir-subed
+ (lambda _
+ (chdir "subed"))))))
+ (home-page "https://elpa.nongnu.org/nongnu/subed.html")
+ (synopsis "Major mode for editing subtitles")
+ (description
+ "@code{subed} is an Emacs major mode for editing subtitles while
+playing the corresponding video with mpv. At the moment, the only supported
+formats are SubRip (.srt), WebVTT (.vtt), and Advanced SubStation Alpha (.ass).")
+ (license license:gpl3+))))
+
(define-public emacs-miniedit
(package
(name "emacs-miniedit")
base-commit: ce721bd2ce7b58c57402db393baa31b945b03b8e
--
2.34.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#53713: [PATCH] Add emacs-subed
2022-02-01 23:39 [bug#53713] [PATCH] Add emacs-subed Jai Vetrivelan
@ 2022-02-06 21:13 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2022-02-06 21:13 UTC (permalink / raw)
To: Jai Vetrivelan; +Cc: 53713-done
Hello,
Jai Vetrivelan <jaivetrivelan@gmail.com> writes:
> Subject: [PATCH] gnu: Add emacs-subed.
>
> * gnu/packages/emacs-xyz.scm: (emacs-subed) new variable.
Applied. Thank you.
> +(define-public emacs-subed
> + (let ((version "0.0.4") (revision "0")
> + (commit "f69c3e09f21403722dd5294b0b640a15201afbf5"))
Even though upstream does not tag releases, I used commit corresponding
to version "1.0.2" bump.
> + (package
> + (name "emacs-subed")
> + (version (git-version version revision commit))
I updated to "1.0.2".
> + "@code{subed} is an Emacs major mode for editing subtitles while
> +playing the corresponding video with mpv. At the moment, the only supported
> +formats are SubRip (.srt), WebVTT (.vtt), and Advanced SubStation
> Alpha (.ass).")
I added some Texinfo markup.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-06 21:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-01 23:39 [bug#53713] [PATCH] Add emacs-subed Jai Vetrivelan
2022-02-06 21:13 ` bug#53713: " 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).