unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jai Vetrivelan <jaivetrivelan@gmail.com>
To: 53713@debbugs.gnu.org
Subject: [bug#53713] [PATCH] Add emacs-subed
Date: Wed, 02 Feb 2022 05:09:54 +0530	[thread overview]
Message-ID: <87pmo6p35h.fsf@gmail.com> (raw)

[-- 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





             reply	other threads:[~2022-02-02  2:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-01 23:39 Jai Vetrivelan [this message]
2022-02-06 21:13 ` bug#53713: [PATCH] Add emacs-subed Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pmo6p35h.fsf@gmail.com \
    --to=jaivetrivelan@gmail.com \
    --cc=53713@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).