* [bug#71990] [PATCH] gnu: Add emacs-empv.
@ 2024-07-08 6:27 Thanos Apollo
2024-07-08 8:02 ` Nicolas Goaziou via Guix-patches via
2024-07-08 16:41 ` [bug#71990] [PATCH 1/2] " Thanos Apollo
0 siblings, 2 replies; 4+ messages in thread
From: Thanos Apollo @ 2024-07-08 6:27 UTC (permalink / raw)
To: 71990
Cc: Thanos Apollo, Andrew Tropin, Katherine Cox-Buday,
Liliana Marie Prikler
* gnu/packages/emacs-xyz.scm (emacs-empv): New variable.
Change-Id: Ibfb0fca623a536e8db27b15b87e76ef9d7d5a742
---
gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c82e264930..0bb115ee42 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3730,6 +3730,34 @@ (define-public emacs-emprise
Selectrum.")
(license license:gpl3+)))
+(define-public emacs-empv
+ (let ((commit "631299ae2a918b4af17ae94eddcde4c9451235bb"))
+ (package
+ (name "emacs-empv")
+ (version "v4.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/isamert/empv.el")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0njqzri2qvpsdbkrkr1lidg2zc2742nzapwgdjaf5ms3rl8kc898"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ (list emacs-compat
+ emacs-s))
+ (home-page "https://github.com/isamert/empv.el")
+ (synopsis "An Emacs media player, media library manager, radio player, YouTube frontend ")
+ (description
+ "An Emacs media player, based on mpv. More precisely this package
+provides somewhat comprehensive interface to mpv with bunch of
+convenient functionality like an embedded radio manager, YouTube
+interface, local music/video library manager etc.")
+ (license license:gpl3+))))
+
(define-public emacs-marginalia-emprise
(package
(name "emacs-marginalia-emprise")
base-commit: 5217ea6d45bef053844d8360a06252b9436783b3
--
2.45.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#71990] [PATCH] gnu: Add emacs-empv.
2024-07-08 6:27 [bug#71990] [PATCH] gnu: Add emacs-empv Thanos Apollo
@ 2024-07-08 8:02 ` Nicolas Goaziou via Guix-patches via
2024-07-08 16:41 ` [bug#71990] [PATCH 1/2] " Thanos Apollo
1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou via Guix-patches via @ 2024-07-08 8:02 UTC (permalink / raw)
To: Thanos Apollo
Cc: Liliana Marie Prikler, Katherine Cox-Buday, 71990, Andrew Tropin
Hello,
Thanos Apollo <public@thanosapollo.org> writes:
> * gnu/packages/emacs-xyz.scm (emacs-empv): New variable.
Thank you. Some comments follow.
> +(define-public emacs-empv
> + (let ((commit "631299ae2a918b4af17ae94eddcde4c9451235bb"))
> + (package
> + (name "emacs-empv")
> + (version "v4.2.0")
Upstream version is confusing. The main file says its 4.3.0, but last
tag, created one day before bumping to 4.3.0, mentions 4.2.0-RC1.
Moreover, commit 631299... does not match a version bump. So, you should
also bind `revision' to, e.g., "0". and use `git-file-name'.
Eventually, you need to remove the "v" from the version string. It
belongs to the tag, not the version.
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/isamert/empv.el")
> + (commit commit)))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32
> + "0njqzri2qvpsdbkrkr1lidg2zc2742nzapwgdjaf5ms3rl8kc898"))))
> + (build-system emacs-build-system)
> + (propagated-inputs
> + (list emacs-compat
> + emacs-s))
You can write propagated inputs on a single line.
(propagated-inputs (list emacs-compat emacs-s))
> + (home-page "https://github.com/isamert/empv.el")
> + (synopsis "An Emacs media player, media library manager, radio player, YouTube frontend ")
Please remove the article "An" and the trailing white space.
> + (description
> + "An Emacs media player, based on mpv. More precisely this package
> +provides somewhat comprehensive interface to mpv with bunch of
> +convenient functionality like an embedded radio manager, YouTube
> +interface, local music/video library manager etc.")
> + (license license:gpl3+))))
Description should consist of complete sentences. I suggest something
like:
"This package is an Emacs player, based on MPV. More precisely, it
[...], local music and video library manager, etc."
Could you send an updated patch?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#71990] [PATCH 1/2] gnu: Add emacs-empv.
2024-07-08 6:27 [bug#71990] [PATCH] gnu: Add emacs-empv Thanos Apollo
2024-07-08 8:02 ` Nicolas Goaziou via Guix-patches via
@ 2024-07-08 16:41 ` Thanos Apollo
2024-07-09 8:07 ` bug#71990: " Nicolas Goaziou via Guix-patches via
1 sibling, 1 reply; 4+ messages in thread
From: Thanos Apollo @ 2024-07-08 16:41 UTC (permalink / raw)
To: 71990
Cc: Thanos Apollo, Thanos Apollo, Nicolas Goaziou, Andrew Tropin,
Katherine Cox-Buday, Liliana Marie Prikler
* gnu/packages/emacs-xyz.scm (emacs-empv): New variable.
Change-Id: Ibfb0fca623a536e8db27b15b87e76ef9d7d5a742
---
gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d5257f16a9..97d13e4635 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3730,6 +3730,34 @@ (define-public emacs-emprise
Selectrum.")
(license license:gpl3+)))
+(define-public emacs-empv
+ (let ((commit "631299ae2a918b4af17ae94eddcde4c9451235bb")
+ (revision "0"))
+ (package
+ (name "emacs-empv")
+ (version (git-version "4.3.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/isamert/empv.el")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0njqzri2qvpsdbkrkr1lidg2zc2742nzapwgdjaf5ms3rl8kc898"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ (list emacs-compat emacs-s))
+ (home-page "https://github.com/isamert/empv.el")
+ (synopsis "Emacs media player, media library manager, radio player, YouTube frontend")
+ (description
+ "Emacs multimedia player based on MPV. This package offers a
+comprehensive interface to mpv, including convenient features such as an
+embedded radio manager, YouTube integration, and a local music/video library
+manager.")
+ (license license:gpl3+))))
+
(define-public emacs-marginalia-emprise
(package
(name "emacs-marginalia-emprise")
base-commit: 13f0f52314244f08eb9fdd626d907c0c3976e06a
--
2.45.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#71990: [PATCH 1/2] gnu: Add emacs-empv.
2024-07-08 16:41 ` [bug#71990] [PATCH 1/2] " Thanos Apollo
@ 2024-07-09 8:07 ` Nicolas Goaziou via Guix-patches via
0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou via Guix-patches via @ 2024-07-09 8:07 UTC (permalink / raw)
To: Thanos Apollo
Cc: Katherine Cox-Buday, Andrew Tropin, Liliana Marie Prikler,
71990-done
Hello,
Thanos Apollo <public@thanosapollo.org> writes:
> * gnu/packages/emacs-xyz.scm (emacs-empv): New variable.
I bumped it to the (very recent) latest upstream commit and applied your
patch. Thank you!
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-07-09 8:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-08 6:27 [bug#71990] [PATCH] gnu: Add emacs-empv Thanos Apollo
2024-07-08 8:02 ` Nicolas Goaziou via Guix-patches via
2024-07-08 16:41 ` [bug#71990] [PATCH 1/2] " Thanos Apollo
2024-07-09 8:07 ` bug#71990: " Nicolas Goaziou via Guix-patches via
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).