buildroot.git
6 years agopackage/supertuxkart: bump to 0.9.3
Romain Naour [Wed, 29 Nov 2017 22:29:31 +0000 (23:29 +0100)]
package/supertuxkart: bump to 0.9.3

Remove upstream patches.

See: http://blog.supertuxkart.net/2017/11/supertuxkart-093-released.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoRevert "trinity: add optional dependency on btrfs-progs"
Baruch Siach [Sun, 3 Dec 2017 19:34:39 +0000 (21:34 +0200)]
Revert "trinity: add optional dependency on btrfs-progs"

This reverts commit a81782a3f5dc08bb8d740acb1e6d361022f62f96.

The trinity package does not use btrfs-progs, only btrfs kernel headers.

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agotrinity: bump to version 1.8
Baruch Siach [Sun, 3 Dec 2017 19:34:38 +0000 (21:34 +0200)]
trinity: bump to version 1.8

Drop upstream patches.

Add an upstream patch fixing build with kernel headers v4.14 or newer.

Enable build for musl; Marcin Nowakowski fixed all incompatibilities in
this version.

Fixes:
http://autobuild.buildroot.net/results/1a8/1a891bfa1f29060003bb7f4fce100aa5a1034673/
http://autobuild.buildroot.net/results/f22/f22cb03a4ec1eafb89ca5e81a2864f928117b54d/

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/kodi-pvr-mediaportal-tvserver: fix build with glibc 2.26
Bernd Kuhls [Sun, 3 Dec 2017 21:24:17 +0000 (22:24 +0100)]
package/kodi-pvr-mediaportal-tvserver: fix build with glibc 2.26

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/kodi-pvr-stalker: needs libxml2
Bernd Kuhls [Sun, 3 Dec 2017 18:23:10 +0000 (19:23 +0100)]
package/kodi-pvr-stalker: needs libxml2

Since
https://git.buildroot.net/buildroot/commit/package/kodi?id=bf9bfd065ba3fab328fd041ca040f2bf134fecf2
kodi itself does not depend on libxml2 anymore which previously
provided libxml2 still needed by kodi-pvr-stalker:
https://github.com/kodi-pvr/pvr.stalker/blob/Krypton/CMakeLists.txt#L12

Fixes a build error not caught by autobuilders because they do not have
host jdk installed:
CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/avahi: configure option pygtk was renamed to pygobject
Bernd Kuhls [Mon, 27 Nov 2017 20:27:00 +0000 (21:27 +0100)]
package/avahi: configure option pygtk was renamed to pygobject

See corresponding commit:
https://github.com/lathiat/avahi/commit/142124dae6f043085aba59fca4657c56b2b23b65

Fixes
http://autobuild.buildroot.net/results/1e9/1e974c814ae4236077a869339be1143a9af7e5cd/
http://autobuild.buildroot.net/results/010/0101b1205aec5a0c9c6509edf3d302aeaa3bd0ca/
http://autobuild.buildroot.net/results/572/5721634ffa2a4544a82dda08c1fcea331ecdadaf/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoDEVELOPERS: fix again alphabetic ordering for Sergey Matyukevich
Thomas Petazzoni [Sun, 3 Dec 2017 21:25:12 +0000 (22:25 +0100)]
DEVELOPERS: fix again alphabetic ordering for Sergey Matyukevich

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoDEVELOPERS: fix alphabetic ordering for Sergey Matyukevich
Thomas Petazzoni [Sun, 3 Dec 2017 20:32:18 +0000 (21:32 +0100)]
DEVELOPERS: fix alphabetic ordering for Sergey Matyukevich

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agokvm-unit-tests: bump to kvm-unit-tests-20171020
Matthew Weber [Sun, 3 Dec 2017 13:41:18 +0000 (14:41 +0100)]
kvm-unit-tests: bump to kvm-unit-tests-20171020

- 0001-Makefile-remove-Werror-to-avoid-build-failures.patch is
  adjusted to apply to the new version of kvm-unit-tests

- 0001-x86-hyperv_clock-be-explicit-about-mul-instruction-d.patch is
  removed, as it has been merged upstream as of commit
  45276b5860522921c77fb3ccc1458ff5f223c3c6.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibostree: bump to version 2017.13
Marcus Folkesson [Sat, 2 Dec 2017 17:09:09 +0000 (18:09 +0100)]
libostree: bump to version 2017.13

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoDEVELOPERS: Add myself to utils/config
Marcus Folkesson [Sat, 2 Dec 2017 16:58:44 +0000 (17:58 +0100)]
DEVELOPERS: Add myself to utils/config

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolxc: add hash for license file
Fabrice Fontaine [Sat, 2 Dec 2017 16:11:16 +0000 (17:11 +0100)]
lxc: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agowebp: add hash for license file
Fabrice Fontaine [Sat, 2 Dec 2017 16:07:50 +0000 (17:07 +0100)]
webp: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocjson: add hash for license file
Fabrice Fontaine [Sat, 2 Dec 2017 16:03:46 +0000 (17:03 +0100)]
cjson: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agotinydtls: add hash for license file
Fabrice Fontaine [Sat, 2 Dec 2017 15:57:26 +0000 (16:57 +0100)]
tinydtls: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agominissdpd: add hash for license file
Fabrice Fontaine [Sat, 2 Dec 2017 15:53:15 +0000 (16:53 +0100)]
minissdpd: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoigd2-for-linux: add hash for license file
Fabrice Fontaine [Sat, 2 Dec 2017 15:41:00 +0000 (16:41 +0100)]
igd2-for-linux: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agohiredis: add hash for license file
Fabrice Fontaine [Sat, 2 Dec 2017 15:36:20 +0000 (16:36 +0100)]
hiredis: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agogupnp-dlna: add hash for license file
Fabrice Fontaine [Sat, 2 Dec 2017 15:32:02 +0000 (16:32 +0100)]
gupnp-dlna: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agogtksourceview: bump to version 3.24.5
Fabrice Fontaine [Sat, 2 Dec 2017 15:28:03 +0000 (16:28 +0100)]
gtksourceview: bump to version 3.24.5

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibmediaart: add hash for license file
Fabrice Fontaine [Sat, 2 Dec 2017 14:34:33 +0000 (15:34 +0100)]
libmediaart: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agodomoticz: add hash for license file
Fabrice Fontaine [Sat, 2 Dec 2017 14:30:00 +0000 (15:30 +0100)]
domoticz: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoopenzwave: add hash for license files
Fabrice Fontaine [Sat, 2 Dec 2017 14:23:28 +0000 (15:23 +0100)]
openzwave: add hash for license files

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agowebp: add libfreeglut optional dependency
Fabrice Fontaine [Sat, 2 Dec 2017 14:03:07 +0000 (15:03 +0100)]
webp: add libfreeglut optional dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/weston: fix build with OpenGL ES disabled
Bernd Kuhls [Sun, 22 Oct 2017 18:05:21 +0000 (20:05 +0200)]
package/weston: fix build with OpenGL ES disabled

Building this defconfig

BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_WESTON=y
BR2_PACKAGE_XORG7=y

is broken:

  CC       clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.o
clients/simple-dmabuf-drm.c: In function 'create_display':
clients/simple-dmabuf-drm.c:758:15: warning: implicit declaration of function 'eglQueryString' [-Wimplicit-function-declaration]
  extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
               ^~~~~~~~~~~~~~
clients/simple-dmabuf-drm.c:758:30: error: 'EGL_NO_DISPLAY' undeclared (first use in this function)
  extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
                              ^~~~~~~~~~~~~~
clients/simple-dmabuf-drm.c:758:30: note: each undeclared identifier is reported only once for each function it appears in
clients/simple-dmabuf-drm.c:758:46: error: 'EGL_EXTENSIONS' undeclared (first use in this function)
  extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
                                              ^~~~~~~~~~~~~~
clients/simple-dmabuf-drm.c:759:21: warning: implicit declaration of function 'weston_check_egl_extension' [-Wimplicit-function-declaration]
  if (extensions && !weston_check_egl_extension(extensions,

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoomxplayer: add hash for license file
Julius Kriukas [Fri, 1 Dec 2017 22:30:20 +0000 (00:30 +0200)]
omxplayer: add hash for license file

Signed-off-by: Julius Kriukas <julius@kriukas.lt>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocheck-package: avoid false warning of useless flag
Ricardo Martincoski [Sat, 2 Dec 2017 04:28:24 +0000 (02:28 -0200)]
check-package: avoid false warning of useless flag

Just AUTORECONF = NO is redundant.
Just HOST_AUTORECONF = NO is redundant.
But the combination of AUTORECONF = YES + HOST_AUTORECONF = NO is valid.

So basically for all variables that have inheritance between target and
host, having the host variant of the variable set the variable value
back to its default is correct if the target variable is set.

Instead of increasing complexity of the script to fully detect this
case, ignore the host flag set to its default value as it can be
overriding a non-default value inherited from the equivalent target
flag.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Reported-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoconfigs/mx51evk: Bump U-Boot and kernel versions
Fabio Estevam [Sat, 2 Dec 2017 00:43:55 +0000 (22:43 -0200)]
configs/mx51evk: Bump U-Boot and kernel versions

Bump U-Boot to version 2017.11 and kernel to 4.14.3.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agowebp: add giflib optional dependency
Fabrice Fontaine [Sat, 2 Dec 2017 12:31:57 +0000 (13:31 +0100)]
webp: add giflib optional dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agomotion: add webp support
Fabrice Fontaine [Sat, 2 Dec 2017 12:08:49 +0000 (13:08 +0100)]
motion: add webp support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agogupnp-tools: bump to version 0.8.14
Fabrice Fontaine [Sat, 2 Dec 2017 11:19:02 +0000 (12:19 +0100)]
gupnp-tools: bump to version 0.8.14

Add hash for COPYING

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibostree: disable manpages/documentation generation
Marcus Folkesson [Sat, 2 Dec 2017 07:58:49 +0000 (08:58 +0100)]
libostree: disable manpages/documentation generation

--enable-man is set to `auto` as default, which may break builds.

Should fix:

  http://autobuild.buildroot.net/results/43c298afcea20d17bfd9638c8bbee2a912c643be/

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs: prepare temp directory before running PRE_GEN hooks
Yann E. MORIN [Sat, 2 Dec 2017 11:55:05 +0000 (12:55 +0100)]
fs: prepare temp directory before running PRE_GEN hooks

Some filesystems have PRE_GEN hooks that create a directory structure
under the temporary directory.

For example, iso9660 will create a sub-directory where it stores the
kernel (in case of initramfs or initrd).

So, we must run the PRE_GEN hooks after we cleanup/create the temporary
directory.

Fixes:
    https://gitlab.com/buildroot.org/buildroot/-/jobs/42835965
    https://gitlab.com/buildroot.org/buildroot/-/jobs/42835967

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years ago.gitlab-ci.yml: extend check-package test to hash files
Thomas Petazzoni [Sat, 2 Dec 2017 13:16:57 +0000 (14:16 +0100)]
.gitlab-ci.yml: extend check-package test to hash files

Now that all issues in hash files have been fixed, let's try to make
sure we don't introduce new ones by checking regularly the hash files
issues in Gitlab CI.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agogstreamer1: fix hash files
Thomas Petazzoni [Sat, 2 Dec 2017 13:03:49 +0000 (14:03 +0100)]
gstreamer1: fix hash files

In many gstreamer1 packages, the line containing a comment about the
origin of the hash was not prefixed with a pound sign as it should be.

Fixes those check-package warnings:

./package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-vaapi/gst1-vaapi.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-vaapi/gst1-vaapi.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gstreamer1/gstreamer1.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gstreamer1/gstreamer1.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-libav/gst1-libav.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-libav/gst1-libav.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst-omx/gst-omx.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst-omx/gst-omx.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofreetype: remove empty line at end of hash file
Thomas Petazzoni [Fri, 1 Dec 2017 23:20:28 +0000 (00:20 +0100)]
freetype: remove empty line at end of hash file

Fixes the following check-package warning:

./package/freetype/freetype.hash:10: empty line at end of file

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopython-schedule: add missing hash type
Thomas Petazzoni [Fri, 1 Dec 2017 23:19:58 +0000 (00:19 +0100)]
python-schedule: add missing hash type

Fixes the following check-package warning:

./package/python-schedule/python-schedule.hash:5: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/python-schedule/python-schedule.hash:5: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agogst1-imx: add missing dependency for imxv4l2videosink plugin
Gary Bisson [Thu, 30 Nov 2017 14:07:36 +0000 (15:07 +0100)]
gst1-imx: add missing dependency for imxv4l2videosink plugin

The plugin source code uses V4L2_COLORSPACE_DEFAULT macro which was
defined in kernel 4.2, so make sure the toolchain headers match this
requirement.

Fixes:
http://autobuild.buildroot.net/results/48dd782161fa5e8860b5ea00a5d60207cb623108/
http://autobuild.buildroot.net/results/f970c782b5bfbcf66ff3ba200b060d3653ff2630/

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/kodi-inputstream-adaptive: add dependencies for supported archs
Bernd Kuhls [Fri, 1 Dec 2017 22:19:35 +0000 (23:19 +0100)]
package/kodi-inputstream-adaptive: add dependencies for supported archs

kodi-inputstream-adaptive is available on a limited list of archs:
https://github.com/peak3d/inputstream.adaptive/blob/Krypton/wvdecrypter/cdm/build/build_config.h#L97

Fixes build error

/home/buildroot/br8/output/build/kodi-inputstream-adaptive-9af21218a87572bd4ab8d8d660c11f6295144f97/wvdecrypter/cdm/media/cdm/../../base/../base/../build/build_config.h:137:2: error: #error Please add support for your architecture in build/build_config.h
 #error Please add support for your architecture in build/build_config.h

for example with this defconfig:

BR2_powerpc64le=y
BR2_powerpc_power8=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.net/toolchains/tarballs/br-powerpc64le-power8-glibc-2017.05-1078-g95b1dae.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_6=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_12=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_PACKAGE_KODI=y
BR2_PACKAGE_KODI_INPUTSTREAM_ADAPTIVE=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_PYTHON=y
BR2_PACKAGE_PYTHON_PY_ONLY=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agogupnp: bump to version 1.0.2
Fabrice Fontaine [Fri, 1 Dec 2017 22:23:48 +0000 (23:23 +0100)]
gupnp: bump to version 1.0.2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoqt5quickcontrols2: fix examples compile without Qt widgets module
Peter Seiderer [Sat, 25 Nov 2017 21:54:25 +0000 (22:54 +0100)]
qt5quickcontrols2: fix examples compile without Qt widgets module

Add upstream suggested patch to fix flatstyle example configure
(needs widgets module).

Fixes:

  cd flatstyle/ && ( test -e Makefile || .../host/bin/qmake -o Makefile .../build/qt5quickcontrols2-5.9.2/examples/quickcontrols2/flatstyle/flatstyle.pro ) && make -f Makefile
  Project ERROR: Unknown module(s) in QT: widgets
  make[1]: *** [Makefile:202: sub-flatstyle-make_first] Error 3
  make[1]: Leaving directory '.../build/qt5quickcontrols2-5.9.2/examples/quickcontrols2'
  make: *** [Makefile:45: sub-quickcontrols2-make_first] Error 2

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: move patch to 5.9.3 directory, since we've bumped
qtquickcontrols2 since then.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoqt5: remove Qt Quick dependency on opengl
Joshua Henderson [Fri, 3 Nov 2017 00:01:24 +0000 (17:01 -0700)]
qt5: remove Qt Quick dependency on opengl

Qt Quick should no longer depend on opengl, and instead fallback to
the limited functionality software renderer as a replacement [1] when
not available.

[1] http://blog.qt.io/blog/2016/08/15/the-qt-quick-graphics-stack-in-qt-5-8/

Cc: Peter Seiderer <ps.report@gmx.net>
Cc: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Tested-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: drop qt5declarative patch, since we have bumped to 5.9.3,
which contains the patch.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agortl8723bu: new package
Mylène Josserand [Mon, 27 Nov 2017 09:01:19 +0000 (10:01 +0100)]
rtl8723bu: new package

Add RTL8723BU package to compile the Realtek RTL8723BU Wifi driver.

Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoqt5: bump latest version to 5.9.3
Peter Seiderer [Tue, 28 Nov 2017 22:37:44 +0000 (23:37 +0100)]
qt5: bump latest version to 5.9.3

qt5connectivity:
 - moved 0001-Example-heartrate-server-needs-only-core-and-bluetoo.patch
   to 5.9.3

qt5declarative:
 - removed 0001-Fix-no-opengl-builds.patch to 5.9.3 (upstream committed,
   see [1])

qt5webengine:
 - keep 0002-Load-libEGL-and-libGLES2-symbols-implicitly.patch
   (upstream committed, see [2], but reverted afterwards, see [3])

[1] https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=fa52bb665d6beb77a951c14c8edcba3541850afc
[2] https://code.qt.io/cgit/qt/qtwebengine.git/commit/?id=d4c621f6a6b87f2a86069fa393b9f7c4f9e7b9ad
[3] https://code.qt.io/cgit/qt/qtwebengine.git/commit/?id=c11c2c8981e647c1eb2c6753ce77d436b92fff87

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agogitlab-ci: run check-package
Yann E. MORIN [Wed, 29 Nov 2017 23:08:45 +0000 (00:08 +0100)]
gitlab-ci: run check-package

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoarmbian-firmware: fix check-package warnings
Thomas Petazzoni [Fri, 1 Dec 2017 21:59:43 +0000 (22:59 +0100)]
armbian-firmware: fix check-package warnings

Fixes:

./package/armbian-firmware/armbian-firmware.mk:14: use only one space before backslash
./package/armbian-firmware/armbian-firmware.mk:15: use only one space before backslash

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoqt5webkit: fix typo in the <pkg>_DEPENDENCIES declaration
Thomas Petazzoni [Fri, 1 Dec 2017 21:58:13 +0000 (22:58 +0100)]
qt5webkit: fix typo in the <pkg>_DEPENDENCIES declaration

This commit fixes a typo introduced in commit
43e1d099b4fca37ce7cbbf3dd41fe4330610b723 ("Revert
"package/qt5webkit-examples: remove obsolete package""), which caused
qt5declarative to not be added as a dependency for the correct
package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackages: fix trailing spaces and slash
Yann E. MORIN [Wed, 29 Nov 2017 23:08:43 +0000 (00:08 +0100)]
packages: fix trailing spaces and slash

... as reported by utils/check-package.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackages: remove "consecutive empty lines"
Yann E. MORIN [Wed, 29 Nov 2017 23:08:42 +0000 (00:08 +0100)]
packages: remove "consecutive empty lines"

... as reported by utils/check-package

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: Yegor Yefremov<yegorslists@googlemail.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/lockfile-progs: rename variable
Yann E. MORIN [Wed, 29 Nov 2017 23:08:41 +0000 (00:08 +0100)]
package/lockfile-progs: rename variable

We use package names as poor-man's namespace, so fix that.

Reported by utils/check-package.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/am335x-pru-package: rename variable
Yann E. MORIN [Wed, 29 Nov 2017 23:08:40 +0000 (00:08 +0100)]
package/am335x-pru-package: rename variable

We use package names as poor-man's namespace, so fix that.

Reported by utils/check-package.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/checkpolicy: rename variable
Yann E. MORIN [Wed, 29 Nov 2017 23:08:39 +0000 (00:08 +0100)]
package/checkpolicy: rename variable

We use package names as poor-man's namespace, so fix that.

Reported by utils/check-package.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas: use CHECKPOLICY_MAKE_OPTS instead of
CHECKPOLICY_TARGET_MAKE_OPTS, as it is more consistent with
HOST_CHECKPOLICY_MAKE_OPTS being used for the host variant.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoerlang: bump to version 20.0
Johan Oudinet [Thu, 30 Nov 2017 15:42:02 +0000 (16:42 +0100)]
erlang: bump to version 20.0

This change bumps the Erlang version from 19.3 to 20.0. As a new major
release, there are a few incompatibilities. Details are here:
http://www.erlang.org/news/114

This should fix builds on ppc64le host machines:
http://autobuild.buildroot.net/results/407af9800313d4540643d7625e85acc0c2366892
http://autobuild.buildroot.net/results/2aca54ad48ecfd72242d97499e21a46c1b384b10

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Reviewed-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux: bump Linux CIP to v4.4.98-cip13
Angelo Compagnucci [Thu, 30 Nov 2017 20:54:05 +0000 (21:54 +0100)]
linux: bump Linux CIP to v4.4.98-cip13

This patch bump the Linux CIP kernel to version v4.4.98-cip13

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux-headers: bump 4.14.x series
Fabio Estevam [Fri, 1 Dec 2017 21:10:15 +0000 (19:10 -0200)]
linux-headers: bump 4.14.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux: bump default to version 4.14.3
Fabio Estevam [Fri, 1 Dec 2017 21:10:14 +0000 (19:10 -0200)]
linux: bump default to version 4.14.3

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux-headers: bump 4.{4, 9}.x series
Bernd Kuhls [Fri, 1 Dec 2017 06:07:59 +0000 (07:07 +0100)]
linux-headers: bump 4.{4, 9}.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agomc: bump version to 4.8.20
Yegor Yefremov [Fri, 1 Dec 2017 07:29:29 +0000 (08:29 +0100)]
mc: bump version to 4.8.20

Add licence checksum.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agouboot-tools: fix dtc invocation
Yegor Yefremov [Fri, 1 Dec 2017 12:40:20 +0000 (13:40 +0100)]
uboot-tools: fix dtc invocation

Since uboot 2017.09 path to dtc will be configured via Kconfig. As BR
skips this step for uboot-tools building one has to provide
CONFIG_MKIMAGE_DTC_PATH=dtc on the build command line. Otherwise
mkimage will not be able to create FIT images, i.e.:

mkimage -f kernel-fit.its kernel-fit.itb

will fail with very weird errors.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoomxplayer: bump to version 2ee17b2
Julius Kriukas [Fri, 1 Dec 2017 17:27:55 +0000 (19:27 +0200)]
omxplayer: bump to version 2ee17b2

This patch updates omxplayer package to the latest commit on master as
of 2017-12-01.

Latest omxplayer version no longer have partial buildroot support and
Makefile.include file, but still contains some hardcoded include paths
that needs to be removed before building.

Signed-off-by: Julius Kriukas <julius@kriukas.lt>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoboinc: bump to version 7.8.4
Fabrice Fontaine [Fri, 1 Dec 2017 19:20:50 +0000 (20:20 +0100)]
boinc: bump to version 7.8.4

Add hash for COPYING and COPYING.LESSER

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/linknx: add lua as optional dependency
Bernd Kuhls [Fri, 1 Dec 2017 19:09:57 +0000 (20:09 +0100)]
package/linknx: add lua as optional dependency

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/linknx: add optional dependency to libcurl again
Bernd Kuhls [Fri, 1 Dec 2017 19:05:23 +0000 (20:05 +0100)]
package/linknx: add optional dependency to libcurl again

https://git.buildroot.net/buildroot/commit/package/linknx?id=e1c9a2349006e657e76dff35706a774376921fb7
made libcurl a hard dependency to fix autoreconf.

https://git.buildroot.net/buildroot/commit/package/linknx?id=b56083099f113817edc6811e2cdd820df1c80450
removed autoreconf but did not re-add libcurl as optional dependency by
mistakenly assuming that libcurl is needed only for autoreconf.

Tested using this defconfig:

BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_LIBCURL=y
BR2_PACKAGE_LINKNX=y

Configure log of linknx without this patch

checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.52.1
checking for libcurl >= version 7.14.0... yes
checking whether libcurl is usable... no

and with this patch

checking for curl-config... /home/buildroot/br4/output/host/i586-buildroot-linux-uclibc/sysroot/usr/bin/curl-config
checking for the version of libcurl... 7.57.0
checking for libcurl >= version 7.14.0... yes
checking whether libcurl is usable... yes
checking for curl_free... yes

Inspired by the fli4l project
https://web.nettworks.org/repo/changelog/fli4l?cs=49347

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/tor: security bump to version 0.3.1.9
Bernd Kuhls [Fri, 1 Dec 2017 17:46:03 +0000 (18:46 +0100)]
package/tor: security bump to version 0.3.1.9

Release notes:
https://blog.torproject.org/new-stable-tor-releases-security-fixes-0319-03013-02914-02817-02516

Fixes CVE-2017-8819, CVE-2017-8820, CVE-2017-8821, CVE-2017-8822
and CVE-2017-8823.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/feh: Bump to version 2.22.2
Petr Vorel [Thu, 16 Nov 2017 10:04:59 +0000 (11:04 +0100)]
package/feh: Bump to version 2.22.2

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/feh: Cleanup build configuration
Petr Vorel [Thu, 16 Nov 2017 10:04:58 +0000 (11:04 +0100)]
package/feh: Cleanup build configuration

* build in parallel
* use TARGET_CONFIGURE_OPTS
* cleanup FEH_INSTALL_TARGET_CMDS

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolttng-tools: bump to version 2.10.1
Philippe Proulx [Wed, 22 Nov 2017 22:56:37 +0000 (17:56 -0500)]
lttng-tools: bump to version 2.10.1

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolttng-libust: bump version to 2.10.0
Philippe Proulx [Wed, 22 Nov 2017 22:56:35 +0000 (17:56 -0500)]
lttng-libust: bump version to 2.10.0

The deleted patches are removed because they are now upstream as of
LTTng-UST v2.10.0.

Adding 0001-configure.ac-add-disable-examples-option-to-not-buil.patch
which will be part of a release eventually (in master branch as of this
date) to add the --disable-examples option. This option configures the
build so that examples are not built, so as to avoid build problems with
examples which involve CMake.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolttng-modules: bump version to 2.10.4
Philippe Proulx [Wed, 22 Nov 2017 22:56:34 +0000 (17:56 -0500)]
lttng-modules: bump version to 2.10.4

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/asterisk: fix parallel install
Yann E. MORIN [Fri, 1 Dec 2017 10:18:05 +0000 (11:18 +0100)]
package/asterisk: fix parallel install

Fixes:
    http://autobuild.buildroot.org/results/7c92fb71d0aee211c8e0ef9d646da477fd97fb4c/
    http://autobuild.buildroot.org/results/2b8c810bd8775413fd4567b2f8495be70b7bb808/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoMerge branch 'next'
Thomas Petazzoni [Fri, 1 Dec 2017 20:56:44 +0000 (21:56 +0100)]
Merge branch 'next'

This merges the next branch accumulated during the 2017.11 release
cycle back into the master branch.

A few conflicts had to be resolved:

 - In the DEVELOPERS file, because Fabrice Fontaine was added as a
   developer for libupnp in master, and for libupnp18 in
   next. Resolution is simple: add him for both.

 - linux/Config.in, because we updated the 4.13.x release used by
   default in master, while we moved to 4.14 in next. Resolution: use
   4.14.

 - package/libupnp/libupnp.hash: a hash for the license file was added
   in master, while the package was bumped into next. Resolution: keep
   the hash for the license file, and keep the hash for the newest
   version of libupnp.

 - package/linux-headers/Config.in.host: default version of the kernel
   headers for 4.13 was bumped to the latest 4.13.x in master, but was
   changed to 4.14 in next. Resolution: use 4.14.

 - package/samba4/: samba was bumped to 4.6.11 in master for security
   reasons, but was bumped to 4.7.3 in next. Resolution: keep 4.7.3.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoKickoff 2018.02 cycle
Peter Korsgaard [Fri, 1 Dec 2017 09:31:43 +0000 (10:31 +0100)]
Kickoff 2018.02 cycle

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowebsite/news.html: add 2017.11 announcement link
Peter Korsgaard [Fri, 1 Dec 2017 09:30:50 +0000 (10:30 +0100)]
website/news.html: add 2017.11 announcement link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoUpdate for 2017.11
Peter Korsgaard [Thu, 30 Nov 2017 21:35:17 +0000 (22:35 +0100)]
Update for 2017.11

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agofs: don't remove intermediate files
Yann E. MORIN [Sun, 12 Nov 2017 17:45:49 +0000 (18:45 +0100)]
fs: don't remove intermediate files

Now that they are in their own directory and no longer pollute the build
dir, there is no point in removing them.

Furthermore, a follow-up patch will require that those files survive
when more than one filesystem image is generated.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs/iso9660: don't pollute $(BUILD_DIR) with temp dir
Yann E. MORIN [Sun, 12 Nov 2017 17:45:48 +0000 (18:45 +0100)]
fs/iso9660: don't pollute $(BUILD_DIR) with temp dir

Use the newly-introdued $(FS_DIR) location to store temporary files.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs: don't pollute $(BUILD_DIR) with temp files
Yann E. MORIN [Sun, 12 Nov 2017 17:45:47 +0000 (18:45 +0100)]
fs: don't pollute $(BUILD_DIR) with temp files

Currently, we create a bunch of temporary files in $(BUILD_DIR), while
assembling the filesystem images.

Move those files to their own sub-directory.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs: remove TARGET_DIR_WARNING_FILE late
Yann E. MORIN [Sun, 12 Nov 2017 17:45:46 +0000 (18:45 +0100)]
fs: remove TARGET_DIR_WARNING_FILE late

Remove it just before generating the filesystem image.

This way, removing-and-recreating the file encloses the actual
image generation as tightly as possible.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs/common: get rid of post-target rules
Yann E. MORIN [Sun, 12 Nov 2017 17:45:45 +0000 (18:45 +0100)]
fs/common: get rid of post-target rules

The only users of post-target rules were ext2, cpio and initramfs.

Of those, ext2 and cpio were changed to use post-gen hooks, while
initramfs was not even using the generic rootfs infra and was fixed
to no longer reference post-target rules.

Besides, the comment in the infra was really misleading: it referenced
initramfs implying it was the sole user of that feature, even though
initramfs was not using the fs infra.

Furthermore, using post-target rules was inherently broken for top-level
parallel builds, because filesystems had to ensure the ordering by
themselves. Of the two real users of post-target rules (cpio and ext2),
one did enforce rules ordering (apparently correctly), while the other
forgot to do so.

We can get rid of post-target rules altogether, now.

Add a legacy check, to catch out-of-tree (e.g. br2-external) users of
post-target rules, and instruct them to switch to post-gen hooks instead.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs/cpio: use a post-gen hook rather than a post-target rule
Yann E. MORIN [Sun, 12 Nov 2017 17:45:44 +0000 (18:45 +0100)]
fs/cpio: use a post-gen hook rather than a post-target rule

We already have a mechanism for running stuff after the filesystem is
generated, and that's called post-gen hooks.

Use those hooks.

Note: for cpio (and unlike ext2 previously), the dependency chain was
correct, in that the post-target rule correctly depended on the image
rule. Nonetheless, we still want to fix it for consistency.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs/ext2: use a post-gen hook rather than a post-target rule
Yann E. MORIN [Sun, 12 Nov 2017 17:45:43 +0000 (18:45 +0100)]
fs/ext2: use a post-gen hook rather than a post-target rule

post-target rules are probably not resilient to parallel builds, given
that they do not depend on the image being generated first.

Beside, we already have a mechanism for running stuff after the
filesystem is generated, and that's called post-gen hooks.

Use those hooks.

Note: this basically reverts 75b6303 (rootfs-ext2: make the symlink as a
_POST_TARGET) since we've now re-introduced post-gen hooks.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs/initramfs: cleanups, enhance comments
Yann E. MORIN [Sun, 12 Nov 2017 17:45:42 +0000 (18:45 +0100)]
fs/initramfs: cleanups, enhance comments

rootfs-initramfs is not using the generic fs infrastructure, because
there is virtually nothing to do to build the initramfs image: there is
no actual image to be built to begin with.

The only purpose of rootfs-initramfs is to ensure the rootfs.cpio image
is built and then that the Linux kernel is rebuilt with that rootfs.cpio
as initramfs source.

Using variables of the fs infra like if it were used is misleading. It
looked nice as long as there was the possibility that rootfs-initramfs
would one day use the fs infra. But there's no way that will happen any
time soon.

Furthermore, the linux' rule linux-rebuild-with-initramfs now already
depends on rootfs-cpio by itself, so we need not duplicate this
dependency in rootfs-initramfs.

Still, we want to advertise that the dependency is on rootfs-cpio, so
we get nice dependency graphs (and not expose the internal
linux-rebuild-with-initramfs rule to the users).

So, remove the variables and directly define the rules.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux: meddle not in the internals of filesystems
Yann E. MORIN [Sun, 12 Nov 2017 17:45:41 +0000 (18:45 +0100)]
linux: meddle not in the internals of filesystems

Currently, the rule to rebuild the Linux kernel with an initramfs
directly depends on the path of the file of the intermediate cpio image.

This is inherently "bad" from a purity point of view; linux.mk should
not have to delve into the fs internals.

Rather, make it directly depend on the "frontal" rule that generates the
cpio image.

Drop the comment for linux-rebuild-with-initramfs, it was misleading
(talking about generating "the initramfs list of files", which is not
what was done, since we use a cpio as source of initramfs, not a list of
files).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux: split overly-long dependency line for readability
Yann E. MORIN [Sun, 12 Nov 2017 17:45:40 +0000 (18:45 +0100)]
linux: split overly-long dependency line for readability

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocore: sort packages and eliminate duplicates in show-targets
Yann E. MORIN [Sun, 12 Nov 2017 17:45:39 +0000 (18:45 +0100)]
core: sort packages and eliminate duplicates in show-targets

Currently, enabling more than one filesystem image will make
'show-targets' list a few host packages more than once.

This is because all filesystem images add the same set of
host-packages to their dependencies, which are then added as-is
to the package list.

Thus, host-fakeroot, host-makedevs and, if needed, host-mkpasswd will
appear as many times as there are filesystem images enabled.

Fix that by sorting the package list, thus eliminating duplicates from
that list. Also sort the rootfs list for good measure. Sort the two
separately, so that rootfses are last.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/efl: bump to 1.20.6
Romain Naour [Wed, 29 Nov 2017 23:33:34 +0000 (00:33 +0100)]
package/efl: bump to 1.20.6

https://www.enlightenment.org/news/efl-1.20.6

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agomusl: enable or1k architecture
Waldemar Brodkorb [Thu, 30 Nov 2017 06:00:28 +0000 (07:00 +0100)]
musl: enable or1k architecture

With Linux kernel >= 4.13.x musl or1k can be used
with Qemu.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoqemu-or1k: update to 4.14.x
Waldemar Brodkorb [Thu, 30 Nov 2017 05:59:56 +0000 (06:59 +0100)]
qemu-or1k: update to 4.14.x

Or1k support improved, f.e. musl can be tested inside qemu.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agouclibc: enable NPTL for or1k
Waldemar Brodkorb [Thu, 30 Nov 2017 05:58:54 +0000 (06:58 +0100)]
uclibc: enable NPTL for or1k

With 1.0.27 NPTL for or1k is improved and can be used
by default.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibcurl: security bump to version 7.57.0
Peter Korsgaard [Thu, 30 Nov 2017 00:07:01 +0000 (01:07 +0100)]
libcurl: security bump to version 7.57.0

Fixes the following security issues:

- CVE-2017-8816: NTLM buffer overflow via integer overflow
- CVE-2017-8817: FTP wildcard out of bounds read
- CVE-2017-8818: SSL out of buffer access

For more details, see the changelog:
https://curl.haxx.se/changes.html#7_57_0

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/lttng-tools: fix typo in variable name
Yann E. MORIN [Wed, 29 Nov 2017 22:17:10 +0000 (23:17 +0100)]
package/lttng-tools: fix typo in variable name

It's lttng-tools, not lttng-libust. ;-)

Fixes numerous build failures caused by a late autoreconf:
    http://autobuild.buildroot.org/results/b84/b84a6e39fcca70c56bfe49d54c385dfe6da82422/
    etc...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoDEVELOPERS: add me for supertuxkart package
Romain Naour [Wed, 29 Nov 2017 22:29:30 +0000 (23:29 +0100)]
DEVELOPERS: add me for supertuxkart package

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agobinutils: allow the selection of upstream binutils 2.29 for ARC
Alexey Brodkin [Fri, 10 Nov 2017 16:37:26 +0000 (19:37 +0300)]
binutils: allow the selection of upstream binutils 2.29 for ARC

As of today quite a lot of ARC stuff got merged in upsream
such that we may finally use upstream realease for building
and even running Linux kernel and rootfs built with vanilla
binutils.

Essentially upstream release is still a bit behind our
GitHub-based releases but let's try to use vanilla version
and if we're lucky enough with just a small set of back-ported patches
we'll be able to use vanilla release(s) for everything in Buildroot.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
[Thomas: fixup the condition to select the special binutils site for ARC.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agogcc: allow the selection of upstream GCC 7.x for ARC
Alexey Brodkin [Thu, 9 Nov 2017 21:56:48 +0000 (00:56 +0300)]
gcc: allow the selection of upstream GCC 7.x for ARC

Upstream gcc now has support for ARC, as of 7.x, with 7.2 being
usable, so let's allow its selection.

GCC from Synopsys GitHub still has a lot of fixes and improvements
most of which will be a part of the next upstream release but let's
see how it goes and if we see vanilla GCC doesn't require way too many
back-ported patches we'll be able to get rid of Synopsys GitHub here
at all.

As of today the only really required back-port is the one for non-uClibc
libc.

Back-ported from upstream master with help of:
-------------------->8--------------------
git format-patch 927c0132251f -1 -- . ':!gcc/ChangeLog' ':!libgcc/ChangeLog'
-------------------->8--------------------

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agondisc6: fix bogus <pkg>_DEPENDENCIES names
Thomas Petazzoni [Wed, 29 Nov 2017 22:16:22 +0000 (23:16 +0100)]
ndisc6: fix bogus <pkg>_DEPENDENCIES names

Spotted by check-package:

package/ndisc6/ndisc6.mk:14: possible typo: NDISC8_DEPENDENCIES -> *NDISC6*

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibostree: new package
Marcus Folkesson [Sun, 12 Nov 2017 21:06:09 +0000 (22:06 +0100)]
libostree: new package

OSTree is an upgrade system for Linux-based operating systems

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
[Thomas: use SPDX license code, fix license, it's GPL-2.0+ not GPL-2.0.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoRevert "package/qt5webkit-examples: remove obsolete package"
Gaël PORTAY [Wed, 29 Nov 2017 04:50:38 +0000 (23:50 -0500)]
Revert "package/qt5webkit-examples: remove obsolete package"

This reverts commit 940bfe2f4336a3fea1ec6805db1f90ce83bd4a78 with the
following changes:

 - new hashes for 5.6.3 and 5.9.1 (there is no 5.9.2).
 - BR2_PACKAGE_QT5BASE_LICENSE_APPROVED has been removed
 - add GPL-3 to licences
 - uses SPDX identifier for licences
 - add missing dependencies (qt5base, qt5webkit, qt5declarative)
 - removes /usr when qmake host-tools is invoked at configure

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
[Thomas: add entry in the DEVELOPERS file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/x11r7/xapp_xfs: bump version to 1.2.0
Bernd Kuhls [Wed, 29 Nov 2017 20:55:54 +0000 (21:55 +0100)]
package/x11r7/xapp_xfs: bump version to 1.2.0

xfs was ported to use libXfont 2.x instead of 1.x:
https://cgit.freedesktop.org/xorg/app/xfs/diff/configure.ac?id=fedc90e8e3f6c36204de5562bfb726270064a4f1

Added all hashes provided by upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agorauc: bump to version 0.2
Andrey Yurovsky [Tue, 28 Nov 2017 03:27:23 +0000 (19:27 -0800)]
rauc: bump to version 0.2

Version 0.2 of rauc provides several bug fixes and minor feature
enhancements.

Signed-off-by: Andrey Yurovsky <yurovsky@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agotoolchain/buildroot: add comment for glibc NaN-2008 headers requirement
Yann E. MORIN [Sat, 25 Nov 2017 15:19:02 +0000 (16:19 +0100)]
toolchain/buildroot: add comment for glibc NaN-2008 headers requirement

Commit 4a5140ecf (toolchain/buildroot: glibc requires kernel headers >=
4.5 with NaN-2008) added a restriction on kernel headers for glibc when
the architecture is using naN-2008.

However, such a restriction is usually associated to a comment explaining
the restriction, so the user knows what is happening.

That comment was forgotten in 4a5140ecf. Add it now.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>