* [Buildroot] [PATCH 2/8] package/ffmpeg: Enable support for libavresample
2014-10-12 18:13 [Buildroot] [PATCH 1/8] package/libdvbcsa: New package Bernd Kuhls
@ 2014-10-12 18:13 ` Bernd Kuhls
2014-10-14 8:21 ` Yann E. MORIN
2014-10-12 18:13 ` [Buildroot] [PATCH 3/8] package/tvheadend: Convert to autotools-package Bernd Kuhls
` (6 subsequent siblings)
7 siblings, 1 reply; 20+ messages in thread
From: Bernd Kuhls @ 2014-10-12 18:13 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/ffmpeg/Config.in | 5 +++++
package/ffmpeg/ffmpeg.mk | 6 ++++++
2 files changed, 11 insertions(+)
diff --git a/package/ffmpeg/Config.in b/package/ffmpeg/Config.in
index 20d5231..6fde46e 100644
--- a/package/ffmpeg/Config.in
+++ b/package/ffmpeg/Config.in
@@ -49,6 +49,11 @@ config BR2_PACKAGE_FFMPEG_FFSERVER
help
FFserver is a streaming server for both audio and video.
+config BR2_PACKAGE_FFMPEG_AVRESAMPLE
+ bool "Build libavresample"
+ help
+ Avresample is a audio conversion library for compatibility.
+
config BR2_PACKAGE_FFMPEG_POSTPROC
bool "Build libpostproc"
depends on BR2_PACKAGE_FFMPEG_GPL
diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk
index af4e1f6..0493385 100644
--- a/package/ffmpeg/ffmpeg.mk
+++ b/package/ffmpeg/ffmpeg.mk
@@ -104,6 +104,12 @@ else
FFMPEG_CONF_OPTS += --disable-ffserver
endif
+ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE),y)
+FFMPEG_CONF_OPTS += --enable-avresample
+else
+FFMPEG_CONF_OPTS += --disable-avresample
+endif
+
ifeq ($(BR2_PACKAGE_FFMPEG_POSTPROC),y)
FFMPEG_CONF_OPTS += --enable-postproc
else
--
1.7.10.4
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Buildroot] [PATCH 2/8] package/ffmpeg: Enable support for libavresample
2014-10-12 18:13 ` [Buildroot] [PATCH 2/8] package/ffmpeg: Enable support for libavresample Bernd Kuhls
@ 2014-10-14 8:21 ` Yann E. MORIN
0 siblings, 0 replies; 20+ messages in thread
From: Yann E. MORIN @ 2014-10-14 8:21 UTC (permalink / raw)
To: buildroot
Bernd, All,
On 2014-10-12 20:13 +0200, Bernd Kuhls spake thusly:
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> package/ffmpeg/Config.in | 5 +++++
> package/ffmpeg/ffmpeg.mk | 6 ++++++
> 2 files changed, 11 insertions(+)
>
> diff --git a/package/ffmpeg/Config.in b/package/ffmpeg/Config.in
> index 20d5231..6fde46e 100644
> --- a/package/ffmpeg/Config.in
> +++ b/package/ffmpeg/Config.in
> @@ -49,6 +49,11 @@ config BR2_PACKAGE_FFMPEG_FFSERVER
> help
> FFserver is a streaming server for both audio and video.
>
> +config BR2_PACKAGE_FFMPEG_AVRESAMPLE
> + bool "Build libavresample"
> + help
> + Avresample is a audio conversion library for compatibility.
> +
> config BR2_PACKAGE_FFMPEG_POSTPROC
> bool "Build libpostproc"
> depends on BR2_PACKAGE_FFMPEG_GPL
> diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk
> index af4e1f6..0493385 100644
> --- a/package/ffmpeg/ffmpeg.mk
> +++ b/package/ffmpeg/ffmpeg.mk
> @@ -104,6 +104,12 @@ else
> FFMPEG_CONF_OPTS += --disable-ffserver
> endif
>
> +ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE),y)
> +FFMPEG_CONF_OPTS += --enable-avresample
> +else
> +FFMPEG_CONF_OPTS += --disable-avresample
> +endif
> +
> ifeq ($(BR2_PACKAGE_FFMPEG_POSTPROC),y)
> FFMPEG_CONF_OPTS += --enable-postproc
> else
> --
> 1.7.10.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Buildroot] [PATCH 3/8] package/tvheadend: Convert to autotools-package
2014-10-12 18:13 [Buildroot] [PATCH 1/8] package/libdvbcsa: New package Bernd Kuhls
2014-10-12 18:13 ` [Buildroot] [PATCH 2/8] package/ffmpeg: Enable support for libavresample Bernd Kuhls
@ 2014-10-12 18:13 ` Bernd Kuhls
2014-10-12 19:34 ` Thomas Petazzoni
2014-10-12 18:13 ` [Buildroot] [PATCH 4/8] package/tvheadend: Needs iconv() Bernd Kuhls
` (5 subsequent siblings)
7 siblings, 1 reply; 20+ messages in thread
From: Bernd Kuhls @ 2014-10-12 18:13 UTC (permalink / raw)
To: buildroot
tvheadend does not use autoconf but its configure script behaves as such.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/tvheadend/tvheadend.mk | 27 ++++++---------------------
1 file changed, 6 insertions(+), 21 deletions(-)
diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
index 1445838..25a732c 100644
--- a/package/tvheadend/tvheadend.mk
+++ b/package/tvheadend/tvheadend.mk
@@ -20,26 +20,11 @@ endif
TVHEADEND_DEPENDENCIES += dtv-scan-tables
-define TVHEADEND_CONFIGURE_CMDS
- (cd $(@D); \
- $(TARGET_CONFIGURE_OPTS) \
- $(TARGET_CONFIGURE_ARGS) \
- ./configure \
- --prefix=/usr \
- --arch="$(ARCH)" \
- --cpu="$(BR2_GCC_TARGET_CPU)" \
- --python="$(HOST_DIR)/usr/bin/python" \
- --disable-dvbscan \
- )
-endef
-
-define TVHEADEND_BUILD_CMDS
- $(MAKE) -C $(@D)
-endef
-
-define TVHEADEND_INSTALL_TARGET_CMDS
- $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
-endef
+TVHEADEND_CONF_OPTS += \
+ --arch="$(ARCH)" \
+ --cpu="$(BR2_GCC_TARGET_CPU)" \
+ --python="$(HOST_DIR)/usr/bin/python" \
+ --disable-dvbscan
#----------------------------------------------------------------------------
# To run tvheadend, we need:
@@ -62,4 +47,4 @@ define TVHEADEND_USERS
tvheadend -1 tvheadend -1 * /home/tvheadend - video TVHeadend daemon
endef
-$(eval $(generic-package))
+$(eval $(autotools-package))
--
1.7.10.4
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Buildroot] [PATCH 3/8] package/tvheadend: Convert to autotools-package
2014-10-12 18:13 ` [Buildroot] [PATCH 3/8] package/tvheadend: Convert to autotools-package Bernd Kuhls
@ 2014-10-12 19:34 ` Thomas Petazzoni
2014-10-13 17:46 ` Bernd Kuhls
0 siblings, 1 reply; 20+ messages in thread
From: Thomas Petazzoni @ 2014-10-12 19:34 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Sun, 12 Oct 2014 20:13:25 +0200, Bernd Kuhls wrote:
> tvheadend does not use autoconf but its configure script behaves as such.
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/tvheadend/tvheadend.mk | 27 ++++++---------------------
> 1 file changed, 6 insertions(+), 21 deletions(-)
I generally dislike this approach. The fact that a non-autoconf
configure script currently behaves sufficiently closely to an autoconf
configure script is just pure happenstance, and any change to the
pkg-autotools infrastructure may break this fragile assumption.
So in general, I prefer non-autoconf packages to be handled with
generic-package.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Buildroot] [PATCH 4/8] package/tvheadend: Needs iconv()
2014-10-12 18:13 [Buildroot] [PATCH 1/8] package/libdvbcsa: New package Bernd Kuhls
2014-10-12 18:13 ` [Buildroot] [PATCH 2/8] package/ffmpeg: Enable support for libavresample Bernd Kuhls
2014-10-12 18:13 ` [Buildroot] [PATCH 3/8] package/tvheadend: Convert to autotools-package Bernd Kuhls
@ 2014-10-12 18:13 ` Bernd Kuhls
2014-10-12 19:33 ` Thomas Petazzoni
2014-10-12 18:13 ` [Buildroot] [PATCH 5/8] package/tvheadend: Add support for libdvbcsa Bernd Kuhls
` (4 subsequent siblings)
7 siblings, 1 reply; 20+ messages in thread
From: Bernd Kuhls @ 2014-10-12 18:13 UTC (permalink / raw)
To: buildroot
Fixes
CC src/intlconv.o
src/intlconv.c:1:19: fatal error: iconv.h: No such file or directory
#include <iconv.h>
with this defconfig
BR2_arm=y
BR2_cortex_a15=y
BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_TVHEADEND=y
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/tvheadend/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/tvheadend/Config.in b/package/tvheadend/Config.in
index bb71d81..f7182a1 100644
--- a/package/tvheadend/Config.in
+++ b/package/tvheadend/Config.in
@@ -13,6 +13,7 @@ config BR2_PACKAGE_TVHEADEND
# architecture is avr32, which uses gcc 4.2.
depends on !BR2_avr32
select BR2_PACKAGE_DTV_SCAN_TABLES
+ select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
select BR2_PACKAGE_OPENSSL
help
Tvheadend is a TV streaming server for Linux supporting DVB-S,
--
1.7.10.4
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Buildroot] [PATCH 4/8] package/tvheadend: Needs iconv()
2014-10-12 18:13 ` [Buildroot] [PATCH 4/8] package/tvheadend: Needs iconv() Bernd Kuhls
@ 2014-10-12 19:33 ` Thomas Petazzoni
0 siblings, 0 replies; 20+ messages in thread
From: Thomas Petazzoni @ 2014-10-12 19:33 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Sun, 12 Oct 2014 20:13:26 +0200, Bernd Kuhls wrote:
> Fixes
> CC src/intlconv.o
> src/intlconv.c:1:19: fatal error: iconv.h: No such file or directory
> #include <iconv.h>
>
> with this defconfig
>
> BR2_arm=y
> BR2_cortex_a15=y
> BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
> BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
> BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
> BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
> BR2_TOOLCHAIN_BUILDROOT_CXX=y
> BR2_PACKAGE_TVHEADEND=y
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/tvheadend/Config.in | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/tvheadend/Config.in b/package/tvheadend/Config.in
> index bb71d81..f7182a1 100644
> --- a/package/tvheadend/Config.in
> +++ b/package/tvheadend/Config.in
> @@ -13,6 +13,7 @@ config BR2_PACKAGE_TVHEADEND
> # architecture is avr32, which uses gcc 4.2.
> depends on !BR2_avr32
> select BR2_PACKAGE_DTV_SCAN_TABLES
> + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
> select BR2_PACKAGE_OPENSSL
> help
> Tvheadend is a TV streaming server for Linux supporting DVB-S,
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(the .mk file already has the logic "if iconv package is enabled, then
depend on it")
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Buildroot] [PATCH 5/8] package/tvheadend: Add support for libdvbcsa
2014-10-12 18:13 [Buildroot] [PATCH 1/8] package/libdvbcsa: New package Bernd Kuhls
` (2 preceding siblings ...)
2014-10-12 18:13 ` [Buildroot] [PATCH 4/8] package/tvheadend: Needs iconv() Bernd Kuhls
@ 2014-10-12 18:13 ` Bernd Kuhls
2014-10-14 8:22 ` Yann E. MORIN
2014-10-12 18:13 ` [Buildroot] [PATCH 6/8] package/tvheadend: Enable bundled build Bernd Kuhls
` (3 subsequent siblings)
7 siblings, 1 reply; 20+ messages in thread
From: Bernd Kuhls @ 2014-10-12 18:13 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/tvheadend/tvheadend.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
index 25a732c..9909b5c 100644
--- a/package/tvheadend/tvheadend.mk
+++ b/package/tvheadend/tvheadend.mk
@@ -14,6 +14,13 @@ ifeq ($(BR2_PACKAGE_AVAHI),y)
TVHEADEND_DEPENDENCIES += avahi
endif
+ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
+TVHEADEND_DEPENDENCIES += libdvbcsa
+TVHEADEND_CONF_OPTS += --enable-dvbcsa
+else
+TVHEADEND_CONF_OPTS += --disable-dvbcsa
+endif
+
ifeq ($(BR2_PACKAGE_LIBICONV),y)
TVHEADEND_DEPENDENCIES += libiconv
endif
--
1.7.10.4
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Buildroot] [PATCH 5/8] package/tvheadend: Add support for libdvbcsa
2014-10-12 18:13 ` [Buildroot] [PATCH 5/8] package/tvheadend: Add support for libdvbcsa Bernd Kuhls
@ 2014-10-14 8:22 ` Yann E. MORIN
0 siblings, 0 replies; 20+ messages in thread
From: Yann E. MORIN @ 2014-10-14 8:22 UTC (permalink / raw)
To: buildroot
Bernd, All,
On 2014-10-12 20:13 +0200, Bernd Kuhls spake thusly:
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> package/tvheadend/tvheadend.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
> index 25a732c..9909b5c 100644
> --- a/package/tvheadend/tvheadend.mk
> +++ b/package/tvheadend/tvheadend.mk
> @@ -14,6 +14,13 @@ ifeq ($(BR2_PACKAGE_AVAHI),y)
> TVHEADEND_DEPENDENCIES += avahi
> endif
>
> +ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
> +TVHEADEND_DEPENDENCIES += libdvbcsa
> +TVHEADEND_CONF_OPTS += --enable-dvbcsa
> +else
> +TVHEADEND_CONF_OPTS += --disable-dvbcsa
> +endif
> +
> ifeq ($(BR2_PACKAGE_LIBICONV),y)
> TVHEADEND_DEPENDENCIES += libiconv
> endif
> --
> 1.7.10.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Buildroot] [PATCH 6/8] package/tvheadend: Enable bundled build
2014-10-12 18:13 [Buildroot] [PATCH 1/8] package/libdvbcsa: New package Bernd Kuhls
` (3 preceding siblings ...)
2014-10-12 18:13 ` [Buildroot] [PATCH 5/8] package/tvheadend: Add support for libdvbcsa Bernd Kuhls
@ 2014-10-12 18:13 ` Bernd Kuhls
2014-10-12 18:20 ` Bernd Kuhls
2014-10-14 8:26 ` Yann E. MORIN
2014-10-12 18:13 ` [Buildroot] [PATCH 7/8] package/tvheadend: Bump version to current git master Bernd Kuhls
` (2 subsequent siblings)
7 siblings, 2 replies; 20+ messages in thread
From: Bernd Kuhls @ 2014-10-12 18:13 UTC (permalink / raw)
To: buildroot
host-python is needed to create a bundled version of the tvheadend binary which
includes all files used by the web UI.
Having host-python alone as dependency is not enough, we need to add
--enable-bundle to enable this functionality.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/tvheadend/tvheadend.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
index 9909b5c..c152717 100644
--- a/package/tvheadend/tvheadend.mk
+++ b/package/tvheadend/tvheadend.mk
@@ -31,6 +31,7 @@ TVHEADEND_CONF_OPTS += \
--arch="$(ARCH)" \
--cpu="$(BR2_GCC_TARGET_CPU)" \
--python="$(HOST_DIR)/usr/bin/python" \
+ --enable-bundle \
--disable-dvbscan
#----------------------------------------------------------------------------
--
1.7.10.4
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Buildroot] [PATCH 6/8] package/tvheadend: Enable bundled build
2014-10-12 18:13 ` [Buildroot] [PATCH 6/8] package/tvheadend: Enable bundled build Bernd Kuhls
@ 2014-10-12 18:20 ` Bernd Kuhls
2014-10-12 19:35 ` Thomas Petazzoni
2014-10-14 8:26 ` Yann E. MORIN
1 sibling, 1 reply; 20+ messages in thread
From: Bernd Kuhls @ 2014-10-12 18:20 UTC (permalink / raw)
To: buildroot
Bernd Kuhls <bernd.kuhls@t-online.de> wrote in
news:1413137610-21887-6-git-send-email-bernd.kuhls at t-online.de:
> Having host-python alone as dependency is not enough, we need to add
> --enable-bundle to enable this functionality.
Hi,
the alternative is to remove host-python as a dependency and built
/usr/bin/tvheadend without its bundled webinterface, this will reduce build
time.
/usr/share/tvheadend, this is where the unbundled webinterface files are
stored, takes ~8 MB on the target, the bundled binary is ~3 MB bigger due to
the use of the Python gzip module when bundling the web files.
I leave this up for discussion ;)
Regards, Bernd
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Buildroot] [PATCH 6/8] package/tvheadend: Enable bundled build
2014-10-12 18:20 ` Bernd Kuhls
@ 2014-10-12 19:35 ` Thomas Petazzoni
2014-10-14 8:26 ` Yann E. MORIN
0 siblings, 1 reply; 20+ messages in thread
From: Thomas Petazzoni @ 2014-10-12 19:35 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Sun, 12 Oct 2014 20:20:46 +0200, Bernd Kuhls wrote:
> the alternative is to remove host-python as a dependency and built
> /usr/bin/tvheadend without its bundled webinterface, this will reduce build
> time.
>
> /usr/share/tvheadend, this is where the unbundled webinterface files are
> stored, takes ~8 MB on the target, the bundled binary is ~3 MB bigger due to
> the use of the Python gzip module when bundling the web files.
>
> I leave this up for discussion ;)
Size-wise and simplicity-wise, the bundled option seems like the right
choice to me. If it doesn't suit someone in the future, it will always
be time to make it optional if needed.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Buildroot] [PATCH 6/8] package/tvheadend: Enable bundled build
2014-10-12 19:35 ` Thomas Petazzoni
@ 2014-10-14 8:26 ` Yann E. MORIN
0 siblings, 0 replies; 20+ messages in thread
From: Yann E. MORIN @ 2014-10-14 8:26 UTC (permalink / raw)
To: buildroot
Thomas, Bernd, All,
On 2014-10-12 21:35 +0200, Thomas Petazzoni spake thusly:
> Dear Bernd Kuhls,
>
> On Sun, 12 Oct 2014 20:20:46 +0200, Bernd Kuhls wrote:
>
> > the alternative is to remove host-python as a dependency and built
> > /usr/bin/tvheadend without its bundled webinterface, this will reduce build
> > time.
> >
> > /usr/share/tvheadend, this is where the unbundled webinterface files are
> > stored, takes ~8 MB on the target, the bundled binary is ~3 MB bigger due to
> > the use of the Python gzip module when bundling the web files.
> >
> > I leave this up for discussion ;)
>
> Size-wise and simplicity-wise, the bundled option seems like the right
> choice to me. If it doesn't suit someone in the future, it will always
> be time to make it optional if needed.
Agreed.
However, whether we use bundled or unbundled, the webinterface files are
to be present, so the size would be a bit bigger when unbundled, since
files would not be conmpressed (except if the filesystem is itself a
compressed filesystem).
So, bundled seems like the correct option for now.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Buildroot] [PATCH 6/8] package/tvheadend: Enable bundled build
2014-10-12 18:13 ` [Buildroot] [PATCH 6/8] package/tvheadend: Enable bundled build Bernd Kuhls
2014-10-12 18:20 ` Bernd Kuhls
@ 2014-10-14 8:26 ` Yann E. MORIN
1 sibling, 0 replies; 20+ messages in thread
From: Yann E. MORIN @ 2014-10-14 8:26 UTC (permalink / raw)
To: buildroot
Bernd, All,
On 2014-10-12 20:13 +0200, Bernd Kuhls spake thusly:
> host-python is needed to create a bundled version of the tvheadend binary which
> includes all files used by the web UI.
>
> Having host-python alone as dependency is not enough, we need to add
> --enable-bundle to enable this functionality.
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> package/tvheadend/tvheadend.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
> index 9909b5c..c152717 100644
> --- a/package/tvheadend/tvheadend.mk
> +++ b/package/tvheadend/tvheadend.mk
> @@ -31,6 +31,7 @@ TVHEADEND_CONF_OPTS += \
> --arch="$(ARCH)" \
> --cpu="$(BR2_GCC_TARGET_CPU)" \
> --python="$(HOST_DIR)/usr/bin/python" \
> + --enable-bundle \
> --disable-dvbscan
>
> #----------------------------------------------------------------------------
> --
> 1.7.10.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Buildroot] [PATCH 7/8] package/tvheadend: Bump version to current git master
2014-10-12 18:13 [Buildroot] [PATCH 1/8] package/libdvbcsa: New package Bernd Kuhls
` (4 preceding siblings ...)
2014-10-12 18:13 ` [Buildroot] [PATCH 6/8] package/tvheadend: Enable bundled build Bernd Kuhls
@ 2014-10-12 18:13 ` Bernd Kuhls
2014-10-14 8:29 ` Yann E. MORIN
2014-10-12 18:13 ` [Buildroot] [PATCH 8/8] package/tvheadend: Add transcoding support by ffmpeg Bernd Kuhls
2014-10-14 8:20 ` [Buildroot] [PATCH 1/8] package/libdvbcsa: New package Yann E. MORIN
7 siblings, 1 reply; 20+ messages in thread
From: Bernd Kuhls @ 2014-10-12 18:13 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/tvheadend/tvheadend.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
index c152717..7d27edc 100644
--- a/package/tvheadend/tvheadend.mk
+++ b/package/tvheadend/tvheadend.mk
@@ -4,7 +4,7 @@
#
################################################################################
-TVHEADEND_VERSION = ca742e00a7717787351e1a432ca9b41f93369d60
+TVHEADEND_VERSION = 4c19cc8526b922d10b4d39bd5a25cb89e27d7ce8
TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION))
TVHEADEND_LICENSE = GPLv3+
TVHEADEND_LICENSE_FILES = LICENSE.md
--
1.7.10.4
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Buildroot] [PATCH 7/8] package/tvheadend: Bump version to current git master
2014-10-12 18:13 ` [Buildroot] [PATCH 7/8] package/tvheadend: Bump version to current git master Bernd Kuhls
@ 2014-10-14 8:29 ` Yann E. MORIN
0 siblings, 0 replies; 20+ messages in thread
From: Yann E. MORIN @ 2014-10-14 8:29 UTC (permalink / raw)
To: buildroot
Bernd, All,
On 2014-10-12 20:13 +0200, Bernd Kuhls spake thusly:
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> package/tvheadend/tvheadend.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
> index c152717..7d27edc 100644
> --- a/package/tvheadend/tvheadend.mk
> +++ b/package/tvheadend/tvheadend.mk
> @@ -4,7 +4,7 @@
> #
> ################################################################################
>
> -TVHEADEND_VERSION = ca742e00a7717787351e1a432ca9b41f93369d60
> +TVHEADEND_VERSION = 4c19cc8526b922d10b4d39bd5a25cb89e27d7ce8
> TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION))
> TVHEADEND_LICENSE = GPLv3+
> TVHEADEND_LICENSE_FILES = LICENSE.md
> --
> 1.7.10.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Buildroot] [PATCH 8/8] package/tvheadend: Add transcoding support by ffmpeg
2014-10-12 18:13 [Buildroot] [PATCH 1/8] package/libdvbcsa: New package Bernd Kuhls
` (5 preceding siblings ...)
2014-10-12 18:13 ` [Buildroot] [PATCH 7/8] package/tvheadend: Bump version to current git master Bernd Kuhls
@ 2014-10-12 18:13 ` Bernd Kuhls
2014-10-14 8:29 ` Yann E. MORIN
2014-10-14 8:20 ` [Buildroot] [PATCH 1/8] package/libdvbcsa: New package Yann E. MORIN
7 siblings, 1 reply; 20+ messages in thread
From: Bernd Kuhls @ 2014-10-12 18:13 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/tvheadend/tvheadend.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
index 7d27edc..5267a10 100644
--- a/package/tvheadend/tvheadend.mk
+++ b/package/tvheadend/tvheadend.mk
@@ -14,6 +14,13 @@ ifeq ($(BR2_PACKAGE_AVAHI),y)
TVHEADEND_DEPENDENCIES += avahi
endif
+ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE)$(BR2_PACKAGE_FFMPEG_SWSCALE),yy)
+TVHEADEND_DEPENDENCIES += ffmpeg
+TVHEADEND_CONF_OPTS += --enable-libav
+else
+TVHEADEND_CONF_OPTS += --disable-libav
+endif
+
ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
TVHEADEND_DEPENDENCIES += libdvbcsa
TVHEADEND_CONF_OPTS += --enable-dvbcsa
--
1.7.10.4
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Buildroot] [PATCH 8/8] package/tvheadend: Add transcoding support by ffmpeg
2014-10-12 18:13 ` [Buildroot] [PATCH 8/8] package/tvheadend: Add transcoding support by ffmpeg Bernd Kuhls
@ 2014-10-14 8:29 ` Yann E. MORIN
0 siblings, 0 replies; 20+ messages in thread
From: Yann E. MORIN @ 2014-10-14 8:29 UTC (permalink / raw)
To: buildroot
Bernd, All,
On 2014-10-12 20:13 +0200, Bernd Kuhls spake thusly:
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> package/tvheadend/tvheadend.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
> index 7d27edc..5267a10 100644
> --- a/package/tvheadend/tvheadend.mk
> +++ b/package/tvheadend/tvheadend.mk
> @@ -14,6 +14,13 @@ ifeq ($(BR2_PACKAGE_AVAHI),y)
> TVHEADEND_DEPENDENCIES += avahi
> endif
>
> +ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE)$(BR2_PACKAGE_FFMPEG_SWSCALE),yy)
> +TVHEADEND_DEPENDENCIES += ffmpeg
> +TVHEADEND_CONF_OPTS += --enable-libav
> +else
> +TVHEADEND_CONF_OPTS += --disable-libav
> +endif
> +
> ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
> TVHEADEND_DEPENDENCIES += libdvbcsa
> TVHEADEND_CONF_OPTS += --enable-dvbcsa
> --
> 1.7.10.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Buildroot] [PATCH 1/8] package/libdvbcsa: New package
2014-10-12 18:13 [Buildroot] [PATCH 1/8] package/libdvbcsa: New package Bernd Kuhls
` (6 preceding siblings ...)
2014-10-12 18:13 ` [Buildroot] [PATCH 8/8] package/tvheadend: Add transcoding support by ffmpeg Bernd Kuhls
@ 2014-10-14 8:20 ` Yann E. MORIN
7 siblings, 0 replies; 20+ messages in thread
From: Yann E. MORIN @ 2014-10-14 8:20 UTC (permalink / raw)
To: buildroot
Bernd, All,
On 2014-10-12 20:13 +0200, Bernd Kuhls spake thusly:
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Hashes match. However, I wonder how interesting it is to have md5,
especially since we have sha1 and sha256. I'd just remove it.
Otherwise:
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> package/Config.in | 1 +
> package/libdvbcsa/Config.in | 9 +++++++++
> package/libdvbcsa/libdvbcsa.hash | 6 ++++++
> package/libdvbcsa/libdvbcsa.mk | 31 +++++++++++++++++++++++++++++++
> 4 files changed, 47 insertions(+)
> create mode 100644 package/libdvbcsa/Config.in
> create mode 100644 package/libdvbcsa/libdvbcsa.hash
> create mode 100644 package/libdvbcsa/libdvbcsa.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 186ffea..da059d8 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -745,6 +745,7 @@ endmenu
> menu "Multimedia"
> source "package/libass/Config.in"
> source "package/libbluray/Config.in"
> + source "package/libdvbcsa/Config.in"
> source "package/libdvbsi/Config.in"
> source "package/libdvdnav/Config.in"
> source "package/libdvdread/Config.in"
> diff --git a/package/libdvbcsa/Config.in b/package/libdvbcsa/Config.in
> new file mode 100644
> index 0000000..dd7dc15
> --- /dev/null
> +++ b/package/libdvbcsa/Config.in
> @@ -0,0 +1,9 @@
> +config BR2_PACKAGE_LIBDVBCSA
> + bool "libdvbcsa"
> + help
> + libdvbcsa is a free implementation of the DVB Common Scrambling
> + Algorithm - DVB/CSA - with encryption and decryption capabilities
> +
> + As libdvbcsa implements a standard, it is completely legal to use it.
> +
> + http://www.videolan.org/developers/libdvbcsa.html
> diff --git a/package/libdvbcsa/libdvbcsa.hash b/package/libdvbcsa/libdvbcsa.hash
> new file mode 100644
> index 0000000..5b3fa4c
> --- /dev/null
> +++ b/package/libdvbcsa/libdvbcsa.hash
> @@ -0,0 +1,6 @@
> +# From http://download.videolan.org/pub/videolan/libdvbcsa/1.1.0/libdvbcsa-1.1.0.tar.gz.sha256
> +sha256 4db78af5cdb2641dfb1136fe3531960a477c9e3e3b6ba19a2754d046af3f456d libdvbcsa-1.1.0.tar.gz
> +# From http://download.videolan.org/pub/videolan/libdvbcsa/1.1.0/libdvbcsa-1.1.0.tar.gz.sha1
> +sha1 5f4640a7e93ae6494f24a881414e5c343f803365 libdvbcsa-1.1.0.tar.gz
> +# From http://download.videolan.org/pub/videolan/libdvbcsa/1.1.0/libdvbcsa-1.1.0.tar.gz.md5
> +md5 478ab1ca56ca58d2667da6ce22f74e39 libdvbcsa-1.1.0.tar.gz
> diff --git a/package/libdvbcsa/libdvbcsa.mk b/package/libdvbcsa/libdvbcsa.mk
> new file mode 100644
> index 0000000..ef1d957
> --- /dev/null
> +++ b/package/libdvbcsa/libdvbcsa.mk
> @@ -0,0 +1,31 @@
> +################################################################################
> +#
> +# libdvbcsa
> +#
> +################################################################################
> +
> +LIBDVBCSA_VERSION = 1.1.0
> +LIBDVBCSA_SITE = http://download.videolan.org/pub/videolan/libdvbcsa/$(LIBDVBCSA_VERSION)
> +LIBDVBCSA_LICENSE = GPLv2+
> +LIBDVBCSA_LICENSE_FILES = COPYING
> +LIBDVBCSA_INSTALL_STAGING = YES
> +
> +ifeq ($(BR2_X86_CPU_HAS_MMX),y)
> +LIBDVBCSA_CONF_OPTS += --enable-mmx
> +else
> +LIBDVBCSA_CONF_OPTS += --disable-mmx
> +endif
> +
> +ifeq ($(BR2_X86_CPU_HAS_SSE2),y)
> +LIBDVBCSA_CONF_OPTS += --enable-sse2
> +else
> +LIBDVBCSA_CONF_OPTS += --disable-sse2
> +endif
> +
> +ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
> +LIBDVBCSA_CONF_OPTS += --enable-altivec
> +else
> +LIBDVBCSA_CONF_OPTS += --disable-altivec
> +endif
> +
> +$(eval $(autotools-package))
> --
> 1.7.10.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20141014/182bd418/attachment.asc>
^ permalink raw reply [flat|nested] 20+ messages in thread