Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] jack2: new package
Date: Mon, 28 Oct 2013 20:27:48 +0100	[thread overview]
Message-ID: <20131028202748.3d03c78f@skate> (raw)
In-Reply-To: <1382903456-5996-1-git-send-email-wzab01@gmail.com>

Dear Wojciech M. Zabolotny,

On Sun, 27 Oct 2013 20:50:56 +0100, Wojciech M. Zabolotny wrote:
> Signed-off-by: Wojciech M. Zabolotny <wzab01@gmail.com>
> ---
> I have modified patch introducing the new "jack2" package, according
> to suggestions received from Thomas De Schampheleire and Thomas Petazzoni
> (corrections of formatting, dependencies and downloading of source form git).

Thanks for the followup patch. Some comments below.

> new file mode 100644
> index 0000000..0fb6ca2
> --- /dev/null
> +++ b/package/jack2/Config.in
> @@ -0,0 +1,23 @@
> +config BR2_PACKAGE_JACK2
> +	bool "jack2"
> +	depends on BR2_LARGEFILE
> +	depends on BR2_TOOLCHAIN_HAS_THREADS
> +	select BR2_PACKAGE_LIBSAMPLERATE
> +	select BR2_PACKAGE_LIBSNDFILE
> +	select BR2_PACKAGE_ALSA_LIB
> +	help
> +	  JACK Audio Connection Kit (server and example clients)
> +	  JACK is a low-latency sound server, allowing multiple applications to
> +	  connect to one audio device, and to share audio between themselves.
> + 	  This package contains the daemon jackd as well as some example clients.
> +
> +	  http://jackaudio.org/
> +
> +comment "jack2 uses libsndfile which requires a toolchain with LARGEFILE support"
> +        depends on !BR2_LARGEFILE
> +
> +comment "jack2 uses alsa-lib which requires a toolchain with threads support"
> +        depends on !BR2_TOOLCHAIN_HAS_THREADS

These comments should be only one comment. See also the recent commit
c3a832a7fb26fed8fd7834e96f09e3565b637f69, which updated the manual to
explain how such comments should be written.

> +
> +
> +

These empty new lines are not needed.

> diff --git a/package/jack2/jack2.mk b/package/jack2/jack2.mk
> new file mode 100644
> index 0000000..5ab751f
> --- /dev/null
> +++ b/package/jack2/jack2.mk
> @@ -0,0 +1,31 @@
> +################################################################################
> +#
> +# jack2
> +#
> +################################################################################
> +
> +JACK2_VERSION = 37976441044d69b91d61d8f6278949a39cf1b7b7
> +JACK2_SITE = http://github.com/jackaudio/jack2/tarball/$(JACK2_VERSION)
> +JACK2_LICENSE = LGPLv2.1+
> +JACK2_DEPENDENCIES = \
> +      libsamplerate \
> +      libsndfile

You have selected BR2_PACKAGE_ALSA_LIB above, but you don't depend on
them. Unless alsa-lib is a runtime-only dependency, and not a
build-dependency, this is wrong.

Also, I believe that since the dependency list is not too long, putting
it on one line is ok:

JACK2_DEPENDENCIES = libsamplerate libsndfile alsa-lib

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2013-10-28 19:27 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-25 12:54 [Buildroot] [PATCH 1/1] Added pyusb as a package Wojciech M. Zabolotny
2013-10-25 15:26 ` Ryan Barnett
2013-10-25 16:50 ` Thomas De Schampheleire
2013-10-24 23:42   ` [Buildroot] [PATCH 1/1] Added jack2 as a package. Due to alignment errors on ARM platform, git sources are used Wojciech M. Zabolotny
2013-10-24 23:48     ` Wojciech Zabolotny
2013-10-25 23:36     ` [Buildroot] [PATCH 1/1] jack2: new package Wojciech M. Zabolotny
2013-10-27 17:10       ` Thomas Petazzoni
2013-10-27 19:50         ` [Buildroot] [PATCH v2 " Wojciech M. Zabolotny
2013-10-28 19:27           ` Thomas Petazzoni [this message]
2013-10-29 18:55             ` [Buildroot] [PATCH v3 " Wojciech M. Zabolotny
2013-10-29 19:34               ` Thomas Petazzoni
2013-10-30  0:00                 ` Wojciech Zabolotny
2013-10-30  0:14                   ` Thomas Petazzoni
2013-10-30 15:46                     ` [Buildroot] [PATCH v4 " Wojciech M. Zabolotny
2014-03-07 23:10                       ` Thomas Petazzoni
2013-10-25 23:15   ` [Buildroot] [PATCH 1/1] python-pyusb: " Wojciech M. Zabolotny
2013-10-25 23:41     ` Arnout Vandecappelle
2013-10-26  7:25       ` Wojciech M. Zabolotny
2013-10-26  7:35         ` [Buildroot] [PATCH v2 " Wojciech M. Zabolotny
2013-10-26  7:33       ` [Buildroot] [PATCH " Wojciech Zabolotny
2013-10-28  7:12         ` Arnout Vandecappelle
2013-10-28  8:10           ` Baruch Siach
2013-10-28  8:24             ` Arnout Vandecappelle
2013-10-28  8:40               ` Baruch Siach
2013-10-28  8:47                 ` Arnout Vandecappelle
2013-10-28  9:03                   ` Baruch Siach
  -- strict thread matches above, loose matches on Subject: below --
2013-10-25 23:05 [Buildroot] [PATCH 1/1] Package python-pyusb added Wojciech M. Zabolotny
2013-10-25 23:09 ` Wojciech Zabolotny

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

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

  git send-email \
    --in-reply-to=20131028202748.3d03c78f@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox