* [Buildroot] [git commit] package/kodi: fix typos for libva/libvdpau dependencies
From: Thomas Petazzoni @ 2017-04-30 21:04 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=c1595feb0e6defde4d890a2aaf62d158d3d04575
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/kodi/Config.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index 6bc8133..d7b2692 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -240,25 +240,25 @@ config BR2_PACKAGE_KODI_LIBUSB
config BR2_PACKAGE_KODI_LIBVA
bool "va"
- depends on BR2_PACKAGE_KODI_EGL_GL
+ depends on BR2_PACKAGE_KODI_GL_EGL
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_LIBVA
help
Enable libva support.
comment "libva support needs X.org with an openGL backend"
- depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_EGL_GL
+ depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_GL_EGL
config BR2_PACKAGE_KODI_LIBVDPAU
bool "vdpau"
- depends on BR2_PACKAGE_KODI_EGL_GL
+ depends on BR2_PACKAGE_KODI_GL_EGL
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_LIBVDPAU
help
Enable libvdpau support.
comment "libvdpau support needs X.org with an openGL backend"
- depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_EGL_GL
+ depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_GL_EGL
config BR2_PACKAGE_KODI_UPNP
bool "upnp"
^ permalink raw reply related
* [Buildroot] [PATCH v2] x11vnc: make x11vnc select libvncserver
From: Thomas Petazzoni @ 2017-04-30 21:03 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430130502.32345-1-martink@posteo.de>
Hello,
On Sun, 30 Apr 2017 15:05:02 +0200, Martin Kepplinger wrote:
> diff --git a/package/x11vnc/Config.in b/package/x11vnc/Config.in
> index 0909b9aec..9d9541cbf 100644
> --- a/package/x11vnc/Config.in
> +++ b/package/x11vnc/Config.in
> @@ -2,9 +2,11 @@ config BR2_PACKAGE_X11VNC
> bool "x11vnc"
> depends on BR2_PACKAGE_XORG7
> depends on BR2_USE_MMU # fork()
> + depends on !BR2_nios2 # from libvncserver
The comment is normally just "# libvncserver"
> select BR2_PACKAGE_XLIB_LIBXT
> select BR2_PACKAGE_XLIB_LIBXEXT
> select BR2_PACKAGE_XLIB_LIBXTST
> + select BR2_PACKAGE_LIBVNCSERVER
We try to keep things sorted alphabetically, so this select should have
been before the other ones.
> diff --git a/package/x11vnc/x11vnc.mk b/package/x11vnc/x11vnc.mk
> index 9233b7047..5a505b920 100644
> --- a/package/x11vnc/x11vnc.mk
> +++ b/package/x11vnc/x11vnc.mk
> @@ -16,6 +16,8 @@ X11VNC_LICENSE_FILES = COPYING
> # Source coming from github, no configure included
> X11VNC_AUTORECONF = YES
>
> +X11VNC_DEPENDENCIES += libvncserver
No need for a new X11VNC_DEPENDENCIES assignment here, there was
already one a few lines above.
I've fixed those minor issues and applied your patch. Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH v2] package/expedite: fix build issue with gcc < 5
From: Thomas Petazzoni @ 2017-04-30 21:02 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430102528.11476-1-romain.naour@gmail.com>
Hello,
On Sun, 30 Apr 2017 12:25:28 +0200, Romain Naour wrote:
> The code use for loop initial declarations which are only allowed in
> C99 mode which is not the default C standard with gcc < 5.
>
> This way of writing for loop was added by the latest commit and it is
> not consistent with the rest of the code.
> So revert to the C89 for loop syntax.
>
> Reported upstream:
> https://phab.enlightenment.org/T5440
>
> Fixes:
> http://autobuild.buildroot.net/results/ed8/ed840755e8e486e48eab8c13a8bb5e9a448199ce
>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ---
> .../0001-fix-build-failure-with-gcc-5.patch | 289 +++++++++++++++++++++
> 1 file changed, 289 insertions(+)
> create mode 100644 package/expedite/0001-fix-build-failure-with-gcc-5.patch
I'm not sure why you gave up on the -std=c99 solution, but OK, I've
applied this patch. We'll see what upstream suggests.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] package/x11vnc: add dependency on libvncserver
From: Thomas Petazzoni @ 2017-04-30 21:02 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=61d0a65557d7c269d563962ca03b04c4d7c62a92
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
x11vnc needs libvncserver, so select it explicitely.
Fixes:
http://autobuild.buildroot.net/results/34f8045e772b96293cc7d25bd61ac0aa5842824f/
Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/x11vnc/Config.in | 2 ++
package/x11vnc/x11vnc.mk | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/package/x11vnc/Config.in b/package/x11vnc/Config.in
index 0909b9a..9e91a11 100644
--- a/package/x11vnc/Config.in
+++ b/package/x11vnc/Config.in
@@ -2,6 +2,8 @@ config BR2_PACKAGE_X11VNC
bool "x11vnc"
depends on BR2_PACKAGE_XORG7
depends on BR2_USE_MMU # fork()
+ depends on !BR2_nios2 # libvncserver
+ select BR2_PACKAGE_LIBVNCSERVER
select BR2_PACKAGE_XLIB_LIBXT
select BR2_PACKAGE_XLIB_LIBXEXT
select BR2_PACKAGE_XLIB_LIBXTST
diff --git a/package/x11vnc/x11vnc.mk b/package/x11vnc/x11vnc.mk
index 9233b70..f1f4da2 100644
--- a/package/x11vnc/x11vnc.mk
+++ b/package/x11vnc/x11vnc.mk
@@ -9,7 +9,7 @@ X11VNC_SITE = $(call github,LibVNC,x11vnc,$(X11VNC_VERSION))
# sdl support is not used in x11vnc, but host include / library search paths
# leak in if host has sdl-config
X11VNC_CONF_OPTS = --without-sdl
-X11VNC_DEPENDENCIES = xlib_libXt xlib_libXext xlib_libXtst
+X11VNC_DEPENDENCIES = xlib_libXt xlib_libXext xlib_libXtst libvncserver
X11VNC_LICENSE = GPL-2.0+
X11VNC_LICENSE_FILES = COPYING
^ permalink raw reply related
* [Buildroot] [git commit] package/expedite: fix build issue with gcc < 5
From: Thomas Petazzoni @ 2017-04-30 20:56 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=f3f631cdaedd8c10770c07b01e064d38715d3145
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The code use for loop initial declarations which are only allowed in
C99 mode which is not the default C standard with gcc < 5.
This way of writing for loop was added by the latest commit and it is
not consistent with the rest of the code.
So revert to the C89 for loop syntax.
Reported upstream:
https://phab.enlightenment.org/T5440
Fixes:
http://autobuild.buildroot.net/results/ed8/ed840755e8e486e48eab8c13a8bb5e9a448199ce
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
.../0001-fix-build-failure-with-gcc-5.patch | 289 +++++++++++++++++++++
1 file changed, 289 insertions(+)
diff --git a/package/expedite/0001-fix-build-failure-with-gcc-5.patch b/package/expedite/0001-fix-build-failure-with-gcc-5.patch
new file mode 100644
index 0000000..2d5d6ef
--- /dev/null
+++ b/package/expedite/0001-fix-build-failure-with-gcc-5.patch
@@ -0,0 +1,289 @@
+From 01a29e6a1d2ed083d1a1884dbca37ae518f354c7 Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@gmail.com>
+Date: Sun, 30 Apr 2017 12:07:02 +0200
+Subject: [PATCH] fix build failure with gcc < 5
+
+Definition of variables inside the initialization part of for() loops
+was added by [1] and produce some build failure with "old" gcc version
+(gcc < 5).
+
+This way of writing for loop is not consistent with the rest of the
+code. So revert to the C89 for loop syntax.
+
+Reported upstream:
+https://phab.enlightenment.org/T5440
+
+[1] https://git.enlightenment.org/tools/expedite.git/commit/?id=0529ce56b6fb01e9651e76461e9608e15a040fb3
+
+Fixes:
+http://autobuild.buildroot.net/results/930/930796603d37bc309a591eec68037192c51028ce
+
+Signed-off-by: Romain Naour <romain.naour@gmail.com>
+---
+ src/bin/image_data_argb.c | 9 ++++++---
+ src/bin/image_data_argb_alpha.c | 6 ++++--
+ src/bin/image_data_ycbcr601pl.c | 12 ++++++++----
+ .../image_data_ycbcr601pl_map_nearest_solid_rotate.c | 12 ++++++++----
+ src/bin/image_data_ycbcr601pl_map_solid_rotate.c | 12 ++++++++----
+ src/bin/image_data_ycbcr601pl_wide_stride.c | 17 +++++++++++------
+ 6 files changed, 45 insertions(+), 23 deletions(-)
+
+diff --git a/src/bin/image_data_argb.c b/src/bin/image_data_argb.c
+index d5889ce..9c607b2 100644
+--- a/src/bin/image_data_argb.c
++++ b/src/bin/image_data_argb.c
+@@ -20,12 +20,13 @@ static Evas_Object *o_images[1];
+ /* setup */
+ static void _setup(void)
+ {
++ int i;
+ Evas_Object *o;
+ Eina_Slice sl;
+
+ sl.len = 640 * 480 * 4;
+ sl.mem = malloc(sl.len);
+- for (int i = 0; i < 1; i++)
++ for (i = 0; i < 1; i++)
+ {
+ o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
+ o_images[i] = o;
+@@ -42,7 +43,8 @@ static void _setup(void)
+ /* cleanup */
+ static void _cleanup(void)
+ {
+- for (int i = 0; i < 1; i++)
++ int i;
++ for (i = 0; i < 1; i++)
+ {
+ Evas_Object *o = o_images[i];
+ Eina_Slice sl = {};
+@@ -56,7 +58,8 @@ static void _cleanup(void)
+ /* loop - do things */
+ static void _loop(double t, int f)
+ {
+- for (int i = 0; i < 1; i++)
++ int i;
++ for (i = 0; i < 1; i++)
+ {
+ Evas_Object *o = o_images[i];
+ unsigned int *data, *p;
+diff --git a/src/bin/image_data_argb_alpha.c b/src/bin/image_data_argb_alpha.c
+index 79f4c54..ffbe57e 100644
+--- a/src/bin/image_data_argb_alpha.c
++++ b/src/bin/image_data_argb_alpha.c
+@@ -20,12 +20,13 @@ static Evas_Object *o_images[1];
+ /* setup */
+ static void _setup(void)
+ {
++ int i;
+ Evas_Object *o;
+ Eina_Slice sl;
+
+ sl.len = 640 * 480 * 4;
+ sl.mem = malloc(sl.len);
+- for (int i = 0; i < 1; i++)
++ for (i = 0; i < 1; i++)
+ {
+ o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
+ o_images[i] = o;
+@@ -42,7 +43,8 @@ static void _setup(void)
+ /* cleanup */
+ static void _cleanup(void)
+ {
+- for (int i = 0; i < 1; i++)
++ int i;
++ for (i = 0; i < 1; i++)
+ {
+ Evas_Object *o = o_images[i];
+ Eina_Slice sl = {};
+diff --git a/src/bin/image_data_ycbcr601pl.c b/src/bin/image_data_ycbcr601pl.c
+index 032d5b3..e126e98 100644
+--- a/src/bin/image_data_ycbcr601pl.c
++++ b/src/bin/image_data_ycbcr601pl.c
+@@ -21,9 +21,11 @@ static Eina_Slice slice[3];
+ /* setup */
+ static void _setup(void)
+ {
++ int i;
+ FILE *f;
+- for (int i = 0; i < 1; i++)
++ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
+ o_images[i] = o;
+ efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
+@@ -37,7 +39,7 @@ static void _setup(void)
+ slice[2].len = 320 * 240;
+ f = fopen(build_path("tp.yuv"), "rb");
+ if (!f) continue;
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ slice[p].mem = malloc(slice[p].len);
+ fread((void *) slice[p].mem, slice[p].len, 1, f);
+@@ -51,10 +53,12 @@ static void _setup(void)
+ /* cleanup */
+ static void _cleanup(void)
+ {
+- for (int i = 0; i < 1; i++)
++ int i;
++ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = o_images[i];
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ efl_gfx_buffer_managed_set(o, NULL, 640, 480, 0, EFL_GFX_COLORSPACE_YCBCR422P601_PL, p);
+ free((void *) slice[p].mem);
+diff --git a/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c b/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
+index 0a5bcf4..db52b0b 100644
+--- a/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
++++ b/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
+@@ -21,9 +21,11 @@ static Eina_Slice slice[3];
+ /* setup */
+ static void _setup(void)
+ {
++ int i;
+ FILE *f;
+- for (int i = 0; i < 1; i++)
++ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
+ o_images[i] = o;
+ efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
+@@ -37,7 +39,7 @@ static void _setup(void)
+ slice[2].len = 320 * 240;
+ f = fopen(build_path("tp.yuv"), "rb");
+ if (!f) continue;
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ slice[p].mem = malloc(slice[p].len);
+ fread((void *) slice[p].mem, slice[p].len, 1, f);
+@@ -51,10 +53,12 @@ static void _setup(void)
+ /* cleanup */
+ static void _cleanup(void)
+ {
+- for (int i = 0; i < 1; i++)
++ int i;
++ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = o_images[i];
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ efl_gfx_buffer_managed_set(o, NULL, 640, 480, 0, EFL_GFX_COLORSPACE_YCBCR422P601_PL, p);
+ free((void *) slice[p].mem);
+diff --git a/src/bin/image_data_ycbcr601pl_map_solid_rotate.c b/src/bin/image_data_ycbcr601pl_map_solid_rotate.c
+index 355293f..ac4364d 100644
+--- a/src/bin/image_data_ycbcr601pl_map_solid_rotate.c
++++ b/src/bin/image_data_ycbcr601pl_map_solid_rotate.c
+@@ -22,8 +22,10 @@ static Eina_Slice slice[3];
+ static void _setup(void)
+ {
+ FILE *f;
+- for (int i = 0; i < 1; i++)
++ int i;
++ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
+ o_images[i] = o;
+ efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
+@@ -37,7 +39,7 @@ static void _setup(void)
+ slice[2].len = 320 * 240;
+ f = fopen(build_path("tp.yuv"), "rb");
+ if (!f) continue;
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ slice[p].mem = malloc(slice[p].len);
+ fread((void *) slice[p].mem, slice[p].len, 1, f);
+@@ -51,10 +53,12 @@ static void _setup(void)
+ /* cleanup */
+ static void _cleanup(void)
+ {
+- for (int i = 0; i < 1; i++)
++ int i;
++ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = o_images[i];
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ efl_gfx_buffer_managed_set(o, NULL, 640, 480, 0, EFL_GFX_COLORSPACE_YCBCR422P601_PL, p);
+ free((void *) slice[p].mem);
+diff --git a/src/bin/image_data_ycbcr601pl_wide_stride.c b/src/bin/image_data_ycbcr601pl_wide_stride.c
+index d4e8fa2..9adb62f 100644
+--- a/src/bin/image_data_ycbcr601pl_wide_stride.c
++++ b/src/bin/image_data_ycbcr601pl_wide_stride.c
+@@ -21,11 +21,13 @@ static Eina_Slice slice[3];
+ /* setup */
+ static void _setup(void)
+ {
++ int i;
+ int stride;
+ FILE *f;
+ int w = 320 - 16;
+- for (int i = 0; i < 1; i++)
++ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
+ o_images[i] = o;
+ efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
+@@ -41,7 +43,7 @@ static void _setup(void)
+ f = fopen(build_path("tp.yuv"), "rb");
+ if (!f) continue;
+ stride = 640;
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ slice[p].mem = malloc(slice[p].len);
+ fread((void *) slice[p].mem, slice[p].len, 1, f);
+@@ -57,10 +59,12 @@ static void _setup(void)
+ /* cleanup */
+ static void _cleanup(void)
+ {
+- for (int i = 0; i < 1; i++)
++ int i;
++ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = o_images[i];
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ efl_gfx_buffer_managed_set(o, NULL, 640, 480, 0,
+ EFL_GFX_COLORSPACE_YCBCR422P601_PL, p);
+@@ -77,11 +81,12 @@ static void _loop(double t, int f)
+ Evas_Coord x, y, w, h;
+ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = o_images[i];
+ Eina_Slice sl[3];
+ int stride;
+
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ efl_gfx_buffer_managed_get(o, &sl[p], p);
+
+ w = 640;
+@@ -97,7 +102,7 @@ static void _loop(double t, int f)
+ if (w > 640) w = 320;
+
+ stride = 640;
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ efl_gfx_buffer_managed_set(o, &sl[p], w, 480, stride,
+ EFL_GFX_COLORSPACE_YCBCR422P601_PL, p);
+--
+2.9.3
+
^ permalink raw reply related
* [Buildroot] [PATCH 3/4] package/freeswitch_mod_bcg729: new package
From: Thomas Petazzoni @ 2017-04-30 20:55 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430201737.12821-3-bernd.kuhls@t-online.de>
Hello,
On Sun, 30 Apr 2017 22:17:36 +0200, Bernd Kuhls wrote:
> DEVELOPERS | 1 +
> package/Config.in | 1 +
> package/freeswitch_mod_bcg729/Config.in | 9 +++++++
> .../freeswitch_mod_bcg729.hash | 2 ++
> .../freeswitch_mod_bcg729/freeswitch_mod_bcg729.mk | 30 ++++++++++++++++++++++
I think I'd prefer if the package was named freeswitch-mod-bcg729.
Indeed, we use - more frequently as the separator in package names
(python-*, lua-*, etc.).
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH 3/3] toolchain-external: CodeSourcery MIPS update upstream URL
From: Romain Naour @ 2017-04-30 20:20 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430202048.11320-1-romain.naour@gmail.com>
The current URL returns error 403: Forbidden, so switch to https.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
.../toolchain-external-codesourcery-mips.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-mips/toolchain-external-codesourcery-mips.mk b/toolchain/toolchain-external/toolchain-external-codesourcery-mips/toolchain-external-codesourcery-mips.mk
index 5117d47..94fbbff 100644
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-mips/toolchain-external-codesourcery-mips.mk
+++ b/toolchain/toolchain-external/toolchain-external-codesourcery-mips/toolchain-external-codesourcery-mips.mk
@@ -6,7 +6,7 @@
TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_VERSION = 2016.05-8
-TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_SITE = http://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
+TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_SITE = https://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_SOURCE = mips-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX)-i686-pc-linux-gnu.tar.bz2
TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_ACTUAL_SOURCE_TARBALL = mips-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX).src.tar.bz2
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH 2/3] toolchain-external: CodeSourcery ARM update upstream URL
From: Romain Naour @ 2017-04-30 20:20 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430202048.11320-1-romain.naour@gmail.com>
The current URL returns error 403: Forbidden, so switch to https.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
.../toolchain-external-codesourcery-arm.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-arm/toolchain-external-codesourcery-arm.mk b/toolchain/toolchain-external/toolchain-external-codesourcery-arm/toolchain-external-codesourcery-arm.mk
index f96a0e0..f15a50c 100644
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-arm/toolchain-external-codesourcery-arm.mk
+++ b/toolchain/toolchain-external/toolchain-external-codesourcery-arm/toolchain-external-codesourcery-arm.mk
@@ -6,7 +6,7 @@
TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM_VERSION = 2014.05-29
-TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM_SITE = http://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
+TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM_SITE = https://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM_SOURCE = arm-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX)-i686-pc-linux-gnu.tar.bz2
TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM_ACTUAL_SOURCE_TARBALL = arm-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX).src.tar.bz2
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH 1/3] toolchain-external: CodeSourcery aarch64 update upstream URL
From: Romain Naour @ 2017-04-30 20:20 UTC (permalink / raw)
To: buildroot
The current URL returns error 403: Forbidden, so switch to https.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
.../toolchain-external-codesourcery-aarch64.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/toolchain-external-codesourcery-aarch64.mk b/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/toolchain-external-codesourcery-aarch64.mk
index 5f4453a..192763a 100644
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/toolchain-external-codesourcery-aarch64.mk
+++ b/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/toolchain-external-codesourcery-aarch64.mk
@@ -4,7 +4,7 @@
#
################################################################################
-TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64_SITE = http://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
+TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64_SITE = https://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64_VERSION = 2014.11-95
TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64_SOURCE = aarch64-amd-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX)-i686-pc-linux-gnu.tar.bz2
TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64_ACTUAL_SOURCE_TARBALL = aarch64-amd-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX).src.tar.bz2
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH 4/4] package/freeswitch: Use mod_g729 only when freeswitch_mod_bcg729 is disabled
From: Bernd Kuhls @ 2017-04-30 20:17 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430201737.12821-1-bernd.kuhls@t-online.de>
mod_g729 contained in freeswitch source provides pass-through:
https://freeswitch.org/confluence/display/FREESWITCH/mod_g729
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 215d0b974..3465b19be 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -116,7 +116,6 @@ FREESWITCH_ENABLED_MODULES += \
applications/mod_valet_parking \
applications/mod_voicemail \
codecs/mod_g723_1 \
- codecs/mod_g729 \
dialplans/mod_dialplan_asterisk \
dialplans/mod_dialplan_xml \
endpoints/mod_loopback \
@@ -175,6 +174,10 @@ FREESWITCH_DEPENDENCIES += alsa-lib
FREESWITCH_ENABLED_MODULES += endpoints/mod_alsa
endif
+ifeq ($(BR2_PACKAGE_FREESWITCH_MOD_BCG729),)
+FREESWITCH_ENABLED_MODULES += codecs/mod_g729
+endif
+
ifeq ($(BR2_PACKAGE_FREETYPE),y)
FREESWITCH_DEPENDENCIES += freetype
endif
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH 3/4] package/freeswitch_mod_bcg729: new package
From: Bernd Kuhls @ 2017-04-30 20:17 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430201737.12821-1-bernd.kuhls@t-online.de>
This package is based on the bcg729 library from Belledonne
Communications which is wrapped into a freeswitch module to provide a
native G729.A codec.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/freeswitch_mod_bcg729/Config.in | 9 +++++++
.../freeswitch_mod_bcg729.hash | 2 ++
.../freeswitch_mod_bcg729/freeswitch_mod_bcg729.mk | 30 ++++++++++++++++++++++
5 files changed, 43 insertions(+)
create mode 100644 package/freeswitch_mod_bcg729/Config.in
create mode 100644 package/freeswitch_mod_bcg729/freeswitch_mod_bcg729.hash
create mode 100644 package/freeswitch_mod_bcg729/freeswitch_mod_bcg729.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 28c8bf5da..29157b2e0 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -167,6 +167,7 @@ F: package/eudev/
F: package/exim/
F: package/fetchmail/
F: package/freeswitch/
+F: package/freeswitch_mod_bcg729/
F: package/ffmpeg/
F: package/ghostscript/
F: package/giflib/
diff --git a/package/Config.in b/package/Config.in
index 3f88582b0..f180b52e5 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1550,6 +1550,7 @@ menu "Networking applications"
source "package/fmc/Config.in"
source "package/fping/Config.in"
source "package/freeswitch/Config.in"
+ source "package/freeswitch_mod_bcg729/Config.in"
source "package/gesftpserver/Config.in"
source "package/gupnp-tools/Config.in"
source "package/gutenprint/Config.in"
diff --git a/package/freeswitch_mod_bcg729/Config.in b/package/freeswitch_mod_bcg729/Config.in
new file mode 100644
index 000000000..848d4ee67
--- /dev/null
+++ b/package/freeswitch_mod_bcg729/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_FREESWITCH_MOD_BCG729
+ bool "freeswitch-mod-bcg729"
+ depends on BR2_PACKAGE_FREESWITCH
+ select BR2_PACKAGE_LIBBCG729
+ help
+ FreeSWITCH G.729A module using the opensource bcg729
+ implementation by Belledonne Communications.
+
+ https://github.com/xadhoom/mod_bcg729
diff --git a/package/freeswitch_mod_bcg729/freeswitch_mod_bcg729.hash b/package/freeswitch_mod_bcg729/freeswitch_mod_bcg729.hash
new file mode 100644
index 000000000..9e999ff79
--- /dev/null
+++ b/package/freeswitch_mod_bcg729/freeswitch_mod_bcg729.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 0fda28ad72a1cd6a675f2ec231fb8fd1f01fc095b3ea45a4eca6d06ecdf5ca9c freeswitch_mod_bcg729-803858c78e6f9ab7de42fdb452061d00255150c6.tar.gz
diff --git a/package/freeswitch_mod_bcg729/freeswitch_mod_bcg729.mk b/package/freeswitch_mod_bcg729/freeswitch_mod_bcg729.mk
new file mode 100644
index 000000000..42642720a
--- /dev/null
+++ b/package/freeswitch_mod_bcg729/freeswitch_mod_bcg729.mk
@@ -0,0 +1,30 @@
+################################################################################
+#
+# freeswitch_mod_bcg729
+#
+################################################################################
+
+FREESWITCH_MOD_BCG729_VERSION = 803858c78e6f9ab7de42fdb452061d00255150c6
+FREESWITCH_MOD_BCG729_SITE = $(call github,xadhoom,mod_bcg729,$(FREESWITCH_MOD_BCG729_VERSION))
+FREESWITCH_MOD_BCG729_LICENSE = MPL-1.1
+FREESWITCH_MOD_BCG729_LICENSE_FILES = LICENSE
+FREESWITCH_MOD_BCG729_DEPENDENCIES = freeswitch libbcg729
+
+# instead of patching the not cross-compile friendly Makefile from
+# upstream we issue the necessary build commands ourselves
+define FREESWITCH_MOD_BCG729_BUILD_CMDS
+ $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
+ -I$(STAGING_DIR)/usr/include/freeswitch \
+ -fPIC -fomit-frame-pointer -fno-exceptions \
+ -c $(@D)/mod_bcg729.c -o $(@D)/mod_bcg729.o
+ $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
+ -fPIC -fomit-frame-pointer -fno-exceptions \
+ -shared -Xlinker -x -lm -lbcg729 -Wl,-Bdynamic \
+ -o $(@D)/mod_bcg729.so $(@D)/mod_bcg729.o
+endef
+
+define FREESWITCH_MOD_BCG729_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 $(@D)/mod_bcg729.so $(TARGET_DIR)/usr/lib/freeswitch/mod/mod_bcg729.so
+endef
+
+$(eval $(generic-package))
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH 2/4] package/freeswitch: install to staging
From: Bernd Kuhls @ 2017-04-30 20:17 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430201737.12821-1-bernd.kuhls@t-online.de>
Needed for upcoming package freeswitch_mod_bcg729.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index e6c1e8c93..215d0b974 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -7,6 +7,8 @@
FREESWITCH_VERSION = 1.6.17
FREESWITCH_SOURCE = freeswitch-$(FREESWITCH_VERSION).tar.xz
FREESWITCH_SITE = http://files.freeswitch.org/freeswitch-releases
+# needed for external modules
+FREESWITCH_INSTALL_STAGING = YES
FREESWITCH_LICENSE = MPL-1.1, \
GPL-3.0+ with font exception (fonts), \
Apache-2.0 (apr, apr-util), \
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH 1/4] package/libbcg729: new package
From: Bernd Kuhls @ 2017-04-30 20:17 UTC (permalink / raw)
To: buildroot
Quoting http://www.linphone.org/technical-corner/bcg729/downloads
regarding patent information:
"ITU G729 Annex A/B were offically released October/November 1996
(https://www.itu.int/rec/T-REC-G.729), hence all patents covering these
specifications shall have expired in November 2016.
Patent pool administrator confirmed most licensed patents under the
G.729 Consortium have expired (http://www.sipro.com/G729.html)."
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/libbcg729/Config.in | 7 +++++++
package/libbcg729/libbcg729.hash | 2 ++
package/libbcg729/libbcg729.mk | 24 ++++++++++++++++++++++++
5 files changed, 35 insertions(+)
create mode 100644 package/libbcg729/Config.in
create mode 100644 package/libbcg729/libbcg729.hash
create mode 100644 package/libbcg729/libbcg729.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index a95e5bacc..28c8bf5da 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -178,6 +178,7 @@ F: package/leafnode2/
F: package/libaacs/
F: package/libasplib/
F: package/libass/
+F: package/libbcg729/
F: package/libbdplus/
F: package/libbluray/
F: package/libbroadvoice/
diff --git a/package/Config.in b/package/Config.in
index 4eaa95b1d..3f88582b0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -881,6 +881,7 @@ menu "Audio/Sound"
source "package/fdk-aac/Config.in"
source "package/libao/Config.in"
source "package/libasplib/Config.in"
+ source "package/libbcg729/Config.in"
source "package/libbroadvoice/Config.in"
source "package/libcdaudio/Config.in"
source "package/libcddb/Config.in"
diff --git a/package/libbcg729/Config.in b/package/libbcg729/Config.in
new file mode 100644
index 000000000..82847a0b7
--- /dev/null
+++ b/package/libbcg729/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LIBBCG729
+ bool "libbcg729"
+ help
+ Bcg729 is an opensource implementation of both encoder and
+ decoder of the ITU G729 Annex A/B speech codec.
+
+ http://www.linphone.org/technical-corner/bcg729/overview
diff --git a/package/libbcg729/libbcg729.hash b/package/libbcg729/libbcg729.hash
new file mode 100644
index 000000000..0172a40ce
--- /dev/null
+++ b/package/libbcg729/libbcg729.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 20f04d1d45c62cb6c06df2177db0701f376940a55744386da3651104251fd5fc libbcg729-1.0.1.tar.gz
diff --git a/package/libbcg729/libbcg729.mk b/package/libbcg729/libbcg729.mk
new file mode 100644
index 000000000..90ca22bff
--- /dev/null
+++ b/package/libbcg729/libbcg729.mk
@@ -0,0 +1,24 @@
+################################################################################
+#
+# libbcg729
+#
+################################################################################
+
+# we use version 1.0.1 because freeswitch mod_bcg729 is incompatible
+# with newer versions
+LIBBCG729_VERSION = 1.0.1
+LIBBCG729_SITE = $(call github,BelledonneCommunications,bcg729,$(LIBBCG729_VERSION))
+LIBBCG729_LICENSE = GPL-2.0+
+LIBBCG729_LICENSE_FILES = COPYING
+LIBBCG729_INSTALL_STAGING = YES
+LIBBCG729_AUTORECONF = YES
+LIBBCG729_DEPENDENCIES = host-pkgconf
+
+define LIBBCG729_CREATE_M4_DIR
+ mkdir -p $(@D)/m4
+endef
+LIBBCG729_POST_PATCH_HOOKS += LIBBCG729_CREATE_M4_DIR
+
+LIBBCG729_CONF_OPTS = --disable-msplugin
+
+$(eval $(autotools-package))
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH 2/2] toolchain-external: bump CodeSourcery NIOSII to 2017.05
From: Romain Naour @ 2017-04-30 19:51 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430195140.6401-1-romain.naour@gmail.com>
Tested with qemu_nios2_10m50_defconfig and Qemu 2.9.0 release.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
.../toolchain-external-codesourcery-niosII/Config.in | 6 +++---
.../toolchain-external-codesourcery-niosII.hash | 7 +++++--
.../toolchain-external-codesourcery-niosII.mk | 2 +-
3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in b/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in
index 9675c67..6bb376b 100644
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in
+++ b/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in
@@ -1,5 +1,5 @@
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
- bool "Sourcery CodeBench Nios-II 2016.11"
+ bool "Sourcery CodeBench Nios-II 2017.05"
depends on BR2_nios2
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
depends on !BR2_STATIC_LIBS
@@ -13,5 +13,5 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
select BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # based-on binutils-2.26
help
Sourcery CodeBench toolchain for the Nios-II architecture,
- from Mentor Graphics. It uses gcc 6.2, binutils 2.26,
- glibc 2.24, gdb 7.11 and kernel headers 4.7.
+ from Mentor Graphics. It uses gcc 6.3, binutils 2.26,
+ glibc 2.25, gdb 7.11 and kernel headers 4.7.
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.hash b/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.hash
index 17130b4..3643f92 100644
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.hash
+++ b/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.hash
@@ -1,3 +1,6 @@
+# From https://sourcery.mentor.com/GNUToolchain/release3302
+md5 54b7f7056c2159f3a9ddeca8ca775ed1 sourceryg++-2017.05-4-nios2-linux-gnu-i686-pc-linux-gnu.tar.bz2
+md5 529a7fecf33d0d113a446413b9d1e173 sourceryg++-2017.05-4-nios2-linux-gnu.src.tar.bz2
# Locally calculated
-sha256 97e3b878c67e46430f2b9a42b11bc95b1ef9fef263e6b5ee9103d1239c9e847d sourceryg++-2016.11-32-nios2-linux-gnu-i686-pc-linux-gnu.tar.bz2
-sha256 ee2c4391137be8fee987411301bbf9f0e4a823400e37c9f8c1cae9900485cbca sourceryg++-2016.11-32-nios2-linux-gnu.src.tar.bz2
+sha256 3f0307da3c0770b7cc3ed4a845038e6e438d3e3a96ce880f9a86b3d35f948a07 sourceryg++-2017.05-4-nios2-linux-gnu-i686-pc-linux-gnu.tar.bz2
+sha256 6e65878d0453708ee19098d3d68985bda244938d35999f3859915a2f5574fa08 sourceryg++-2017.05-4-nios2-linux-gnu.src.tar.bz2
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk b/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk
index dcca94f..dfa4ea4 100644
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk
+++ b/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk
@@ -4,7 +4,7 @@
#
################################################################################
-TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_VERSION = 2016.11-32
+TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_VERSION = 2017.05-4
TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_SITE = https://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_SOURCE = sourceryg++-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX)-i686-pc-linux-gnu.tar.bz2
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH 1/2] toolchain-external: CodeSourcery NIOSII update upstream URL
From: Romain Naour @ 2017-04-30 19:51 UTC (permalink / raw)
To: buildroot
The current URL returns error 403: Forbidden, so switch to https.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
.../toolchain-external-codesourcery-niosII.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk b/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk
index 7381061..dcca94f 100644
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk
+++ b/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk
@@ -6,7 +6,7 @@
TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_VERSION = 2016.11-32
-TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_SITE = http://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
+TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_SITE = https://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_SOURCE = sourceryg++-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX)-i686-pc-linux-gnu.tar.bz2
TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_ACTUAL_SOURCE_TARBALL = sourceryg++-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX).src.tar.bz2
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH 1/1] ext2.mk: ensure -b option is always set for mke2img and genext2fs
From: Yann E. MORIN @ 2017-04-30 19:43 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430193323.5ad396e1@free-electrons.com>
Thomas, All,
On 2017-04-30 19:33 +0200, Thomas Petazzoni spake thusly:
> On Sun, 30 Apr 2017 13:35:47 +0100, J Evans wrote:
> > Signed-off-by: J Evans <g4@novadsp.com>
> > ---
> > fs/ext2/ext2.mk | 2 --
> > 1 file changed, 2 deletions(-)
>
> Applied to master, thanks.
>
> However, I believe we should do the same for the number of inodes:
>
> ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_INODES)),0)
> EXT2_OPTS += -i $(BR2_TARGET_ROOTFS_EXT2_INODES)
> endif
Yep, was going to work on that next...
Regards,
Yann E. MORIN.
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
--
.-----------------.--------------------.------------------.--------------------.
| 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
* [Buildroot] [PATCH] freetype: add upstream security fixes for CVE-2017-8105 and CVE-2017-8287
From: Peter Korsgaard @ 2017-04-30 19:36 UTC (permalink / raw)
To: buildroot
Add upstream post-2.7.1 commits (except for ChangeLog modifications) fixing
the following security issues:
CVE-2017-8105 - FreeType 2 before 2017-03-24 has an out-of-bounds write
caused by a heap-based buffer overflow related to the
t1_decoder_parse_charstrings function in psaux/t1decode.c.
CVE-2017-8287 - FreeType 2 before 2017-03-26 has an out-of-bounds write
caused by a heap-based buffer overflow related to the
t1_builder_close_contour function in psaux/psobjs.c.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
.../0001-psaux-Better-protect-flex-handling.patch | 47 ++++++++++++++++++++++
...sobjs.c-t1_builder_close_contour-Add-safe.patch | 35 ++++++++++++++++
2 files changed, 82 insertions(+)
create mode 100644 package/freetype/0001-psaux-Better-protect-flex-handling.patch
create mode 100644 package/freetype/0002-src-psaux-psobjs.c-t1_builder_close_contour-Add-safe.patch
diff --git a/package/freetype/0001-psaux-Better-protect-flex-handling.patch b/package/freetype/0001-psaux-Better-protect-flex-handling.patch
new file mode 100644
index 000000000..a59f5b34f
--- /dev/null
+++ b/package/freetype/0001-psaux-Better-protect-flex-handling.patch
@@ -0,0 +1,47 @@
+From f958c48ee431bef8d4d466b40c9cb2d4dbcb7791 Mon Sep 17 00:00:00 2001
+From: Werner Lemberg <wl@gnu.org>
+Date: Fri, 24 Mar 2017 09:15:10 +0100
+Subject: [PATCH] [psaux] Better protect `flex' handling.
+
+Reported as
+
+ https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=935
+
+* src/psaux/t1decode.c (t1_decoder_parse_charstrings)
+<callothersubr>: Since there is not a single flex operator but a
+series of subroutine calls, malformed fonts can call arbitrary other
+operators after the start of a flex, possibly adding points. For
+this reason we have to check the available number of points before
+inserting a point.
+
+Fixes CVE-2017-8105
+
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+---
+diff --git a/src/psaux/t1decode.c b/src/psaux/t1decode.c
+index af7b465e..7dd45135 100644
+--- a/src/psaux/t1decode.c
++++ b/src/psaux/t1decode.c
+@@ -780,10 +780,19 @@
+ /* point without adding any point to the outline */
+ idx = decoder->num_flex_vectors++;
+ if ( idx > 0 && idx < 7 )
++ {
++ /* in malformed fonts it is possible to have other */
++ /* opcodes in the middle of a flex (which don't */
++ /* increase `num_flex_vectors'); we thus have to */
++ /* check whether we can add a point */
++ if ( FT_SET_ERROR( t1_builder_check_points( builder, 1 ) ) )
++ goto Syntax_Error;
++
+ t1_builder_add_point( builder,
+ x,
+ y,
+ (FT_Byte)( idx == 3 || idx == 6 ) );
++ }
+ }
+ break;
+
+--
+2.11.0
+
diff --git a/package/freetype/0002-src-psaux-psobjs.c-t1_builder_close_contour-Add-safe.patch b/package/freetype/0002-src-psaux-psobjs.c-t1_builder_close_contour-Add-safe.patch
new file mode 100644
index 000000000..1b9d90a7d
--- /dev/null
+++ b/package/freetype/0002-src-psaux-psobjs.c-t1_builder_close_contour-Add-safe.patch
@@ -0,0 +1,35 @@
+From 3774fc08b502c3e685afca098b6e8a195aded6a0 Mon Sep 17 00:00:00 2001
+From: Werner Lemberg <wl@gnu.org>
+Date: Sun, 26 Mar 2017 08:32:09 +0200
+Subject: [PATCH] * src/psaux/psobjs.c (t1_builder_close_contour): Add safety
+ guard.
+
+Reported as
+
+ https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=941
+
+Fixes CVE-2017-8287
+
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+diff --git a/src/psaux/psobjs.c b/src/psaux/psobjs.c
+index d18e821a..0baf8368 100644
+--- a/src/psaux/psobjs.c
++++ b/src/psaux/psobjs.c
+@@ -1718,6 +1718,14 @@
+ first = outline->n_contours <= 1
+ ? 0 : outline->contours[outline->n_contours - 2] + 1;
+
++ /* in malformed fonts it can happen that a contour was started */
++ /* but no points were added */
++ if ( outline->n_contours && first == outline->n_points )
++ {
++ outline->n_contours--;
++ return;
++ }
++
+ /* We must not include the last point in the path if it */
+ /* is located on the first point. */
+ if ( outline->n_points > 1 )
+--
+2.11.0
+
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH] package/xenomai: update udev rules search path
From: Thomas Petazzoni @ 2017-04-30 19:04 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430111438.11069-1-romain.naour@gmail.com>
Hello,
On Sun, 30 Apr 2017 13:14:38 +0200, Romain Naour wrote:
> The udev rules has been moved to kernel/cobalt/udev.
>
> Fixes:
> http://autobuild.buildroot.net/results/8eb/8eb4643faed523ffccd421f20c2955adfde634a6
>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
Applied, thanks!
> Do we want to keep the old path in the .mk for backward compatibility
> with Xenomai < 3 ?
No, there are already lots of things that no longer work with Xenomai <
3.
> define XENOMAI_INSTALL_UDEV_RULES
> if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \
Why do we have this test here? XENOMAI_INSTALL_UDEV_RULES is only used
when udev is enabled, so this folder should already exist, no?
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] package/xenomai: update udev rules search path
From: Thomas Petazzoni @ 2017-04-30 19:03 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=c975631dd9c965a60b679a3b637c36f776da21b9
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The udev rules has been moved to kernel/cobalt/udev.
Fixes:
http://autobuild.buildroot.net/results/8eb/8eb4643faed523ffccd421f20c2955adfde634a6
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/xenomai/xenomai.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk
index c1477d9..fa46819 100644
--- a/package/xenomai/xenomai.mk
+++ b/package/xenomai/xenomai.mk
@@ -146,7 +146,7 @@ XENOMAI_DEPENDENCIES += udev
define XENOMAI_INSTALL_UDEV_RULES
if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \
- for f in $(@D)/ksrc/nucleus/udev/*.rules ; do \
+ for f in $(@D)/kernel/cobalt/udev/*.rules ; do \
cp $$f $(TARGET_DIR)/etc/udev/rules.d/ || exit 1 ; \
done ; \
fi;
^ permalink raw reply related
* [Buildroot] [PATCH] aircrack-ng: requires C++
From: Thomas Petazzoni @ 2017-04-30 19:03 UTC (permalink / raw)
To: buildroot
In-Reply-To: <6863f849e68b9f2422f15fef9e815ac791b32c73.1493577198.git.baruch@tkos.co.il>
Hello,
On Sun, 30 Apr 2017 21:33:18 +0300, Baruch Siach wrote:
> Fixes:
> http://autobuild.buildroot.net/results/9b1/9b1cba480102746389e80b58c0e327b68a235a29/
> http://autobuild.buildroot.net/results/f65/f65de186324e6c3cd689540a22fa46ae89afc8c8/
> http://autobuild.buildroot.net/results/e02/e02e832a49972ba464f7749cb89d2b20b8df4484/
>
> Cc: Laurent Cans <laurent.cans@gmail.com>
> Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> package/aircrack-ng/Config.in | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] aircrack-ng: requires C++
From: Thomas Petazzoni @ 2017-04-30 19:02 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=b5dacefc1671a24a15457a99cbd6ff20a1d5473e
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes:
http://autobuild.buildroot.net/results/9b1/9b1cba480102746389e80b58c0e327b68a235a29/
http://autobuild.buildroot.net/results/f65/f65de186324e6c3cd689540a22fa46ae89afc8c8/
http://autobuild.buildroot.net/results/e02/e02e832a49972ba464f7749cb89d2b20b8df4484/
Cc: Laurent Cans <laurent.cans@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/aircrack-ng/Config.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/package/aircrack-ng/Config.in b/package/aircrack-ng/Config.in
index b6572dc..2164ad4 100644
--- a/package/aircrack-ng/Config.in
+++ b/package/aircrack-ng/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_AIRCRACK_NG
bool "aircrack-ng"
depends on BR2_USE_MMU # uses fork()
depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_INSTALL_LIBSTDCPP
# libnl has issues when linking statically
# they need fixing in libnl itself
select BR2_PACKAGE_LIBNL if !BR2_STATIC_LIBS
@@ -15,6 +16,6 @@ config BR2_PACKAGE_AIRCRACK_NG
http://www.aircrack-ng.org/
-comment "aircrack-ng needs a toolchain w/ threads"
+comment "aircrack-ng needs a toolchain w/ threads, C++"
depends on BR2_USE_MMU
- depends on !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
^ permalink raw reply related
* [Buildroot] [PATCH] aircrack-ng: requires C++
From: Baruch Siach @ 2017-04-30 18:33 UTC (permalink / raw)
To: buildroot
Fixes:
http://autobuild.buildroot.net/results/9b1/9b1cba480102746389e80b58c0e327b68a235a29/
http://autobuild.buildroot.net/results/f65/f65de186324e6c3cd689540a22fa46ae89afc8c8/
http://autobuild.buildroot.net/results/e02/e02e832a49972ba464f7749cb89d2b20b8df4484/
Cc: Laurent Cans <laurent.cans@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
package/aircrack-ng/Config.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/package/aircrack-ng/Config.in b/package/aircrack-ng/Config.in
index b6572dc986c7..2164ad40703f 100644
--- a/package/aircrack-ng/Config.in
+++ b/package/aircrack-ng/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_AIRCRACK_NG
bool "aircrack-ng"
depends on BR2_USE_MMU # uses fork()
depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_INSTALL_LIBSTDCPP
# libnl has issues when linking statically
# they need fixing in libnl itself
select BR2_PACKAGE_LIBNL if !BR2_STATIC_LIBS
@@ -15,6 +16,6 @@ config BR2_PACKAGE_AIRCRACK_NG
http://www.aircrack-ng.org/
-comment "aircrack-ng needs a toolchain w/ threads"
+comment "aircrack-ng needs a toolchain w/ threads, C++"
depends on BR2_USE_MMU
- depends on !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH 1/1] ext2.mk: ensure -b option is always set for mke2img and genext2fs
From: Thomas Petazzoni @ 2017-04-30 17:33 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1493555747-27289-1-git-send-email-g4@novadsp.com>
Hello,
On Sun, 30 Apr 2017 13:35:47 +0100, J Evans wrote:
> Signed-off-by: J Evans <g4@novadsp.com>
> ---
> fs/ext2/ext2.mk | 2 --
> 1 file changed, 2 deletions(-)
Applied to master, thanks.
However, I believe we should do the same for the number of inodes:
ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_INODES)),0)
EXT2_OPTS += -i $(BR2_TARGET_ROOTFS_EXT2_INODES)
endif
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] fs/ext2: ensure -b option is always set for mke2img
From: Thomas Petazzoni @ 2017-04-30 17:31 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=84e1e3881222b59c5af7cb8de566746cac2eb67b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: J Evans <g4@novadsp.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
fs/ext2/ext2.mk | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/ext2/ext2.mk b/fs/ext2/ext2.mk
index 30f1d17..9d3e8fd 100644
--- a/fs/ext2/ext2.mk
+++ b/fs/ext2/ext2.mk
@@ -6,9 +6,7 @@
EXT2_OPTS = -G $(BR2_TARGET_ROOTFS_EXT2_GEN) -R $(BR2_TARGET_ROOTFS_EXT2_REV)
-ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)),0)
EXT2_OPTS += -b $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)
-endif
ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_INODES)),0)
EXT2_OPTS += -i $(BR2_TARGET_ROOTFS_EXT2_INODES)
^ permalink raw reply related
* [Buildroot] [PATCH 1/1] package/kodi: fix typos for libva/libvdpau dependencies
From: Yann E. MORIN @ 2017-04-30 17:15 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430155540.21997-1-bernd.kuhls@t-online.de>
Bernd, All,
On 2017-04-30 17:55 +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/kodi/Config.in | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/package/kodi/Config.in b/package/kodi/Config.in
> index 6bc81338a..d7b269245 100644
> --- a/package/kodi/Config.in
> +++ b/package/kodi/Config.in
> @@ -240,25 +240,25 @@ config BR2_PACKAGE_KODI_LIBUSB
>
> config BR2_PACKAGE_KODI_LIBVA
> bool "va"
> - depends on BR2_PACKAGE_KODI_EGL_GL
> + depends on BR2_PACKAGE_KODI_GL_EGL
> depends on BR2_PACKAGE_XORG7
> select BR2_PACKAGE_LIBVA
> help
> Enable libva support.
>
> comment "libva support needs X.org with an openGL backend"
> - depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_EGL_GL
> + depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_GL_EGL
>
> config BR2_PACKAGE_KODI_LIBVDPAU
> bool "vdpau"
> - depends on BR2_PACKAGE_KODI_EGL_GL
> + depends on BR2_PACKAGE_KODI_GL_EGL
> depends on BR2_PACKAGE_XORG7
> select BR2_PACKAGE_LIBVDPAU
> help
> Enable libvdpau support.
>
> comment "libvdpau support needs X.org with an openGL backend"
> - depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_EGL_GL
> + depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_GL_EGL
>
> config BR2_PACKAGE_KODI_UPNP
> bool "upnp"
> --
> 2.11.0
>
> _______________________________________________
> 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
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox