From: Oleg Pykhalov <go.wigust@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 29536@debbugs.gnu.org, 29536-done@debbugs.gnu.org, ng0 <ng0@n0.is>
Subject: [bug#29536] [PATCH] gnu: Add cava.
Date: Thu, 25 Jan 2018 22:49:07 +0300 [thread overview]
Message-ID: <87k1w5hg7g.fsf@gmail.com> (raw)
In-Reply-To: <87efocor8u.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2030 bytes --]
Hello Ludovic,
Thank you for review!
ludo@gnu.org (Ludovic Courtès) writes:
>>>>From af48537fc5c6af11993db03004a937251d8d60e9 Mon Sep 17 00:00:00 2001
>> From: Oleg Pykhalov <go.wigust@gmail.com>
>> Date: Sat, 2 Dec 2017 22:36:36 +0300
>> Subject: [PATCH] gnu: Add cava.
>>
>> * gnu/packages/audio.scm (cava): New variable.
>
> [...]
>
>> + (modify-phases %standard-phases
>> + (add-after 'unpack 'bootstrap
>> + (lambda _
>> + (setenv "HOME" (getcwd))
>> + (zero? (system* "sh" "autogen.sh"))))
>
> Please use ‘invoke’ instead of ‘system*’.
This is new. OK, will use. Thank you for notice!
>> + (add-before 'build 'make-cava-ldflags
>> + (lambda _ (mkdir-p (string-append (assoc-ref %outputs "out") "/lib"))))
>
> Please use:
>
> (lambda* (#:key outputs #:allow-other-keys)
> … outputs …)
Should be this?
(lambda* (#:key outputs #:allow-other-keys)
… (assoc-ref outputs "out") …)
>> + (add-after 'install 'data
>> + (lambda _ (for-each (lambda (file)
>> + (install-file file (string-append
>> + (assoc-ref %outputs "out")
>> + "/share/doc/examples")))
>> + (find-files "example_files")))))))
> Likewise.
OK.
>> + (home-page "https://karlstav.github.io/cava/")
>> + (synopsis "CLI audio visualizer for Alsa, MPD and Pulseaudio")
>
> Rather: “Console audio visualizer for ALSA, MPD, and PulseAudio”.
OK.
>> + (description "@code{cava} provides a command line audio visualizer for
>> +MPD, Alsa and Pulseaudio.")
>
> Based on their README:
>
> C.A.V.A. is a bar audio spectrum visualizer for the terminal using
> ALSA, MPD, PulseAudio, or a FIFO buffer as its input.
OK.
> OK with these changes, thank you!
Pushed as c2c0d66162152b05fc42fdd1be5f07b9eca3bc66
Oleg.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
prev parent reply other threads:[~2018-01-25 19:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-02 19:37 [bug#29536] [PATCH] gnu: Add cava Oleg Pykhalov
2017-12-02 19:40 ` [bug#29536] [PATCH] squash! " Oleg Pykhalov
2017-12-02 22:07 ` [bug#29536] [PATCH] " ng0
2017-12-03 7:16 ` Oleg Pykhalov
2017-12-03 7:34 ` Oleg Pykhalov
2018-01-19 23:51 ` Ludovic Courtès
2018-01-25 19:49 ` Oleg Pykhalov [this message]
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=87k1w5hg7g.fsf@gmail.com \
--to=go.wigust@gmail.com \
--cc=29536-done@debbugs.gnu.org \
--cc=29536@debbugs.gnu.org \
--cc=ludo@gnu.org \
--cc=ng0@n0.is \
/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).