GNU bug report logs - #48904
[PATCH 0/2] Add ‘emacs-ytel’ and ‘emacs-ytel-show’

Previous Next

Package: guix-patches;

Reported by: Xinglu Chen <public <at> yoctocell.xyz>

Date: Mon, 7 Jun 2021 15:56:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48904 in the body.
You can then email your comments to 48904 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#48904; Package guix-patches. (Mon, 07 Jun 2021 15:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Xinglu Chen <public <at> yoctocell.xyz>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 07 Jun 2021 15:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/2] Add ‘emacs-ytel’ and
 ‘emacs-ytel-show’
Date: Mon, 07 Jun 2021 17:55:34 +0200
This patch series adds two Emacs packages, one for searching for YouTube
videos using the Invidious API (emacs-ytel), and one for browsing videos
and comments (emacs-ytel-show).

Xinglu Chen (2):
  gnu: Add emacs-ytel.
  gnu: Add emacs-ytel-show.

 gnu/packages/emacs-xyz.scm | 69 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)


base-commit: e3611cc412e7b1c750a56d17fb1b7cde684baa3f
-- 
2.32.0






Information forwarded to guix-patches <at> gnu.org:
bug#48904; Package guix-patches. (Mon, 07 Jun 2021 15:57:02 GMT) Full text and rfc822 format available.

Message #8 received at 48904 <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: 48904 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: Add emacs-ytel.
Date: Mon, 07 Jun 2021 17:56:39 +0200
* gnu/packages/emacs-xyz.scm (emacs-ytel): New variable.
---
 gnu/packages/emacs-xyz.scm | 43 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 1d954ec5bd..8ad6d1e119 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21204,6 +21204,49 @@ youtube-dl backends are supported.  It is possible to create download profiles
 depending on the downloaded URL.")
     (license license:gpl3+)))
 
+(define-public emacs-ytel
+  ;; No releases.
+  ;; Commit from 2020-11-28
+  (let ((commit "d40bc7ead8d4d7e4d16b03b66a93d63bef51cc5f")
+        (revision "0"))
+    (package
+      (name "emacs-ytel")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/grastello/ytel")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0pxzfsxzrpv59dssrgx2mmwkm6rzk49ffjkgsa3wks7rdyfil3kf"))))
+      (build-system emacs-build-system)
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'patch-exec-paths
+             (lambda* (#:key inputs #:allow-other-keys)
+               (let ((curl (assoc-ref inputs "curl")))
+                 (substitute* "ytel.el"
+                   (("\"curl\"") (string-append "\"" curl "/bin/curl\"")))))))))
+      (inputs
+       `(("curl" ,curl)))
+      (home-page "https://github.com/grastello/ytel")
+      (synopsis "Query YouTube via Invidious")
+      (description
+       "This package provide a major mode to search YouTube videos via an
+Elfeed-like buffer.  Information about videos displayed in this buffer can be
+extracted and manipulated by user-defined functions to do various things such
+as:
+
+@itemize
+@item playing them in some video player
+@item download them
+@end itemize")
+      (license license:gpl3+))))
+
 (define-public emacs-org-web-tools
   (package
     (name "emacs-org-web-tools")
-- 
2.32.0






Information forwarded to guix-patches <at> gnu.org:
bug#48904; Package guix-patches. (Mon, 07 Jun 2021 15:57:02 GMT) Full text and rfc822 format available.

Message #11 received at 48904 <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: 48904 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: Add emacs-ytel-show.
Date: Mon, 07 Jun 2021 17:56:40 +0200
* gnu/packages/emacs-xyz.scm (emacs-ytel-show): New variable.
---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8ad6d1e119..5b9ddfff62 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21247,6 +21247,32 @@ as:
 @end itemize")
       (license license:gpl3+))))
 
+(define-public emacs-ytel-show
+  ;; No releases.
+  ;; Commit from 2020-11-21.
+  (let ((commit "8b999484eb447ecdb741b24cbef2b5a7260a53e6")
+        (revision "0"))
+    (package
+      (name "emacs-ytel-show")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/xFA25E/ytel-show")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0nhgzfzq1bgpbdbljx5z2hzr8ia7ybsyvvr66yj4klz0zj97rghj"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-ytel" ,emacs-ytel)))
+      (home-page "https://github.com/xFA25E/ytel-show")
+      (synopsis "Browse YouTube in Emacs")
+      (description "This package provides an Emacs interface for browsing
+YouTube videos and comments.")
+      (license license:gpl3+))))
+
 (define-public emacs-org-web-tools
   (package
     (name "emacs-org-web-tools")
-- 
2.32.0






Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Sat, 12 Jun 2021 20:32:02 GMT) Full text and rfc822 format available.

Notification sent to Xinglu Chen <public <at> yoctocell.xyz>:
bug acknowledged by developer. (Sat, 12 Jun 2021 20:32:02 GMT) Full text and rfc822 format available.

Message #16 received at 48904-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Xinglu Chen <public <at> yoctocell.xyz>
Cc: 48904-done <at> debbugs.gnu.org
Subject: Re: [bug#48904] [PATCH 1/2] gnu: Add emacs-ytel.
Date: Sat, 12 Jun 2021 22:31:49 +0200
Hello,

Xinglu Chen <public <at> yoctocell.xyz> writes:

> * gnu/packages/emacs-xyz.scm (emacs-ytel): New variable.

Applied. Thank you.

> +      (version (git-version "0.0.0" revision commit))

I made it "0.1.0" according to the main file.  Same for the other package.

> +      (synopsis "Query YouTube via Invidious")

I rewrote the synopsis, since this one does not seem clearly related to
the project.

> +      (description
> +       "This package provide a major mode to search YouTube videos via an
> +Elfeed-like buffer.  Information about videos displayed in this buffer can be
> +extracted and manipulated by user-defined functions to do various things such
> +as:
> +
> +@itemize
> +@item playing them in some video player
> +@item download them
> +@end itemize")

The list wasn't strictly necessary so I appended it to the last
paragraph instead.

Regards,
-- 
Nicolas Goaziou




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 11 Jul 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 288 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.