GNU bug report logs -
#45761
[PATCH] gnu: add mcg
Previous Next
Reported by: Noah Evans <noah <at> nevans.me>
Date: Sun, 10 Jan 2021 12:38:02 UTC
Severity: normal
Tags: patch
Done: Leo Prikler <leo.prikler <at> student.tugraz.at>
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 45761 in the body.
You can then email your comments to 45761 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#45761
; Package
guix-patches
.
(Sun, 10 Jan 2021 12:38:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Noah Evans <noah <at> nevans.me>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 10 Jan 2021 12:38:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
From 1fb897aa971dc9372abeb3308778265f9ef7e1e3 Mon Sep 17 00:00:00 2001
From: Noah Evans <noah <at> nevans.me>
Date: Sun, 10 Jan 2021 04:01:24 -0500
Subject: [PATCH] gnu: add mcg
---
gnu/packages/mpd.scm | 51 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index 6066913f16..d077c28dcf 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2020 Ricardo Wurmus <rekado <at> elephly.net>
;;; Copyright © 2020 Lars-Dominik Braun <lars <at> 6xq.net>
;;; Copyright © 2020 Simon Streit <simon <at> netpanic.org>
+;;; Copyright © 2021 Noah Evans <noah <at> nevans.me>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -460,3 +461,53 @@ of the music library will be created to provide a hierarchy of albums and
artists along with albumart.")
(home-page "https://github.com/cdrummond/cantata")
(license license:gpl3+)))
+
+(define-public mcg
+ (package
+ (name "mcg")
+ (version "2.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://gitlab.com/coderkun/mcg/-/archive/v"
+ version "/mcg-v" version ".tar.gz"))
+ (sha256
+ (base32
+ "0fi32jwms5qa36jw45m13f07b5f4ivip7xy7dcks6nv4mlmp6rv3"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("desktop-file-utils" ,desktop-file-utils)
+ ("gobject-introspection" ,gobject-introspection)
+ ("pkg-config" ,pkg-config)
+ ("glib:bin" ,glib "bin")))
+ (inputs
+ `(("gtk+" ,gtk+)
+ ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+ ("python-pygobject" ,python-pygobject)
+ ("dconf" ,dconf)
+ ("avahi" ,avahi)))
+ (arguments
+ `(#:imported-modules ((guix build glib-or-gtk-build-system)
+ ,@%python-build-system-modules)
+ #:modules ((guix build python-build-system)
+ ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
+ (guix build utils))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'wrap-program
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((prog (string-append (assoc-ref outputs "out")
+ "/bin/mcg")))
+ (wrap-program prog
+ `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
+ `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
+ #t)))
+ (add-after 'wrap-program 'glib-or-gtk-wrap
+ (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
+ (synopsis "Covergrid for the MPD")
+ (description
+ "mcg (CoverGrid) is a client for the Music Player Daemon (MPD), focusing on
+albums instead of single tracks. It is not intended to be a replacement
+for your favorite MPD client but an addition to get a better album-experience.")
+ (home-page "https://gitlab.com/coderkun/mcg")
+ (license license:gpl3+)))
--
2.30.0
[Message part 2 (text/html, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#45761
; Package
guix-patches
.
(Sun, 10 Jan 2021 21:16:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 45761 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Here is an updated patch removing erroneous dependency and tweaking a few things based on feedback for my other patch.
From 7980069c2b75a69755c922c0e10f1977881e25b0 Mon Sep 17 00:00:00 2001
From: Noah Evans <noah <at> nevans.me>
Date: Sun, 10 Jan 2021 15:39:40 -0500
Subject: [PATCH] gnu: Add mcg.
* gnu/packages/mpd.scm (mcg): New variable.
---
gnu/packages/mpd.scm | 51 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index 6066913f16..7a40aaf14f 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2020 Ricardo Wurmus <rekado <at> elephly.net>
;;; Copyright © 2020 Lars-Dominik Braun <lars <at> 6xq.net>
;;; Copyright © 2020 Simon Streit <simon <at> netpanic.org>
+;;; Copyright © 2021 Noah Evans <noah <at> nevans.me>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -460,3 +461,53 @@ of the music library will be created to provide a hierarchy of albums and
artists along with albumart.")
(home-page "https://github.com/cdrummond/cantata")
(license license:gpl3+)))
+
+(define-public mcg
+ (package
+ (name "mcg")
+ (version "2.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://gitlab.com/coderkun/mcg/-/archive/v"
+ version "/mcg-v" version ".tar.gz"))
+ (sha256
+ (base32
+ "0fi32jwms5qa36jw45m13f07b5f4ivip7xy7dcks6nv4mlmp6rv3"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("avahi" ,avahi)
+ ("dconf" ,dconf)
+ ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+ ("gtk+" ,gtk+)
+ ("python-pygobject" ,python-pygobject)))
+ (arguments
+ `(#:imported-modules ((guix build glib-or-gtk-build-system)
+ ,@%python-build-system-modules)
+ #:modules ((guix build python-build-system)
+ ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
+ (guix build utils))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'wrap-program
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((prog (string-append (assoc-ref outputs "out")
+ "/bin/mcg")))
+ (wrap-program prog
+ `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
+ `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
+ #t)))
+ (add-after 'wrap-program 'glib-or-gtk-wrap
+ (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
+ (synopsis "Covergrid for the MPD")
+ (description
+ "mcg (CoverGrid) is a client for the Music Player Daemon (MPD), focusing
+on albums instead of single tracks. It is not intended to be a replacement
+for your favorite MPD client but an addition to get a better
+album-experience.")
+ (home-page "https://gitlab.com/coderkun/mcg")
+ (license license:gpl3+)))
--
2.30.0
[Message part 2 (text/html, inline)]
Reply sent
to
Leo Prikler <leo.prikler <at> student.tugraz.at>
:
You have taken responsibility.
(Mon, 11 Jan 2021 11:52:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Noah Evans <noah <at> nevans.me>
:
bug acknowledged by developer.
(Mon, 11 Jan 2021 11:52:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 45761-done <at> debbugs.gnu.org (full text, mbox):
Changed the URI to a git-reference and pushed. Thanks!
Leo.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 08 Feb 2021 12:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 210 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.