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 1/1] libdvbpsi: new package
Date: Wed, 30 Dec 2015 14:51:47 +0100	[thread overview]
Message-ID: <20151230145147.7640588b@free-electrons.com> (raw)
In-Reply-To: <1451482256-11816-1-git-send-email-pieterjan.camerlynck@gmail.com>

Hello,

Thanks for this contribution! See some comments below.

On Wed, 30 Dec 2015 14:30:56 +0100, Pieterjan Camerlynck wrote:
> libdvbpsi is a library used by vlc for decoding MPEG TS
> 
> Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
> ---
>  package/Config.in                |  1 +
>  package/libdvbpsi/Config.in      |  8 ++++++++
>  package/libdvbpsi/libdvbpsi.hash |  4 ++++
>  package/libdvbpsi/libdvbpsi.mk   | 15 +++++++++++++++
>  package/vlc/vlc.mk               |  7 +++++++

These should be two separate patches:

 - One patch adding the libdvbspi package
 - One patch adding its use to the vlc package

> diff --git a/package/libdvbpsi/Config.in b/package/libdvbpsi/Config.in
> new file mode 100644
> index 0000000..7323466
> --- /dev/null
> +++ b/package/libdvbpsi/Config.in
> @@ -0,0 +1,8 @@
> +config BR2_PACKAGE_LIBDVBPSI
> +	bool "libdvbpsi"

No toolchain dependencies on threads, MMU or anything like that? It is
possible indeed, but if you could verify building this library with the
following toolchain configurations, it would be useful:

http://autobuild.buildroot.org/toolchains/configs/bfin-uclinux.config
http://autobuild.buildroot.org/toolchains/configs/br-arm-full-nothread.config
http://autobuild.buildroot.org/toolchains/configs/br-arm-basic.config

> diff --git a/package/libdvbpsi/libdvbpsi.mk b/package/libdvbpsi/libdvbpsi.mk
> new file mode 100644
> index 0000000..c45ade0
> --- /dev/null
> +++ b/package/libdvbpsi/libdvbpsi.mk
> @@ -0,0 +1,15 @@
> +################################################################################
> +#
> +# libdvbpsi
> +#
> +################################################################################
> +
> +LIBDVBPSI_VERSION = 1.3.0
> +LIBDVBPSI_SITE = http://download.videolan.org/pub/libdvbpsi/$(LIBDVBPSI_VERSION)
> +LIBDVBPSI_SOURCE = libdvbpsi-$(LIBDVBPSI_VERSION).tar.bz2
> +LIBDVBPSI_LICENSE = LGPLv2.1+
> +LIBDVBPSI_LICENSE_FILES = COPYING
> +LIBDVBPSI_AUTORECONF = YES

Why do you need the autoreconf ? There is a pre-generated configure
script in the tarball, so it should be necessary. If it is necessary
for some reason, could you add a comment above this line explaining why?

Other than that, looks good. Could you send an updated version that
takes into account those comments ?

Thanks a lot!

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

  reply	other threads:[~2015-12-30 13:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-30 13:30 [Buildroot] [PATCH 1/1] libdvbpsi: new package Pieterjan Camerlynck
2015-12-30 13:51 ` Thomas Petazzoni [this message]
2015-12-30 14:45 ` [Buildroot] [v2 1/2] " Pieterjan Camerlynck
2015-12-30 14:45   ` [Buildroot] [v2 2/2] vlc: add support for libdvbpsi Pieterjan Camerlynck
2015-12-30 22:30     ` Thomas Petazzoni
2015-12-30 22:30   ` [Buildroot] [v2 1/2] libdvbpsi: new package Thomas Petazzoni

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=20151230145147.7640588b@free-electrons.com \
    --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