buildroot.git
8 years agoconfigs/warpboard: Generate an sdcard image
Fabio Estevam [Tue, 26 Jul 2016 16:01:51 +0000 (13:01 -0300)]
configs/warpboard: Generate an sdcard image

Generate an sdcard.img image to make it easier the deployment of a
Buildroot image.

[Peter: drop unneeded exit statement in post-image script]
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoipkg: mark as deprecated
Peter Korsgaard [Wed, 27 Jul 2016 07:34:14 +0000 (09:34 +0200)]
ipkg: mark as deprecated

ipkg dates back to the early 2000s when Compaq started the handhelds.org
project, it hasn't seen development since 2006, got forked as opkg a decade
ago and is starting to cause autobuilder issues, so mark it as deprecated.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoipmiutil: bump to version 2.9.9
Baruch Siach [Tue, 26 Jul 2016 10:20:13 +0000 (13:20 +0300)]
ipmiutil: bump to version 2.9.9

Drop upstream patches, and update AUTORECONF comment accordingly.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoodroid-scripts: select fbset
Dagg Stompler [Tue, 26 Jul 2016 15:54:05 +0000 (18:54 +0300)]
odroid-scripts: select fbset

fbset is used by one of the init scripts, so we need it as a runtime
dependency.

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogupnp: bump to version 0.20.18
Fabrice Fontaine [Tue, 26 Jul 2016 15:37:51 +0000 (17:37 +0200)]
gupnp: bump to version 0.20.18

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogssdp: bump to version 0.14.16
Fabrice Fontaine [Tue, 26 Jul 2016 15:34:59 +0000 (17:34 +0200)]
gssdp: bump to version 0.14.16

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomodem-manager: bump to version 1.6.0
Yegor Yefremov [Tue, 26 Jul 2016 14:47:43 +0000 (16:47 +0200)]
modem-manager: bump to version 1.6.0

MUSL build was fixed in this release.

Fixes:
http://autobuild.buildroot.net/results/fcc/fcce95bd13407535bee336e34288b55142ae0bb5

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibqmi: bump to version 1.16.0
Yegor Yefremov [Tue, 26 Jul 2016 14:47:42 +0000 (16:47 +0200)]
libqmi: bump to version 1.16.0

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibmbim: bump to version 1.14.0
Yegor Yefremov [Tue, 26 Jul 2016 14:47:41 +0000 (16:47 +0200)]
libmbim: bump to version 1.14.0

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/pdbg: new package
Joel Stanley [Tue, 26 Jul 2016 07:28:24 +0000 (16:58 +0930)]
package/pdbg: new package

PowerPC FSI Debugger, for low level debugging of a Power8 CPU over FSI.

Signed-off-by: Joel Stanley <joel@jms.id.au>
[Thomas:
 - add to package/Config.in
 - add hash file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodtc: install libfdt library and headers for host variant
David Raeman [Mon, 25 Jul 2016 19:52:27 +0000 (15:52 -0400)]
dtc: install libfdt library and headers for host variant

The dtc package currently does not install libfdt for the host install.
It can be useful to have libfdt on the host, such as for building QEMU
with the --enable-fdt configure switch.

Signed-off-by: David Raeman <draeman@bbn.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/Makefile.in should grab HOST_DIR headers using -isystem instead of -I.
David Raeman [Mon, 25 Jul 2016 19:52:26 +0000 (15:52 -0400)]
package/Makefile.in should grab HOST_DIR headers using -isystem instead of -I.

HOST_CFLAGS includes a search path for HOST_DIR/usr/include using -I.
When HOST_CFLAGS is used by a package, these flags are passed to the
compiler ahead of flags passed by the package's internal make system.
If a package has a header file with the same name as a header file in
HOST_DIR, this causes the toolchain to prefer the file from the system
include directory because its -I appears first on the command
line. Conflicts should prefer the file provided by the package.  This
can be accomplished by using -isystem, which is more appropriate then
-I for system-level include paths.

Real-world example: libfdt might be installed in HOST_DIR to install a
patched version of QEMU that does not bundle libfdt. Meanwhile, the
u-boot package provides its own copy of libfdt.h that is modified from
upstream.  If libfdt is also installed into HOST_DIR, then
host-uboot-tools fails to build because it grabs the libfdt.h from the
HOST_DIR area instead of using the patched version from its own source
tree. This patch corrects this issue.

This assumes the -isystem flag is supported by the host compiler,
which is the case since gcc 3.0 at least.

Signed-off-by: David Raeman <draeman@bbn.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotinycbor: new package
Fabrice Fontaine [Mon, 25 Jul 2016 08:37:39 +0000 (10:37 +0200)]
tinycbor: new package

Concise Binary Object Representation (CBOR) Library

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
[Thomas:
 - use lower-case letters in the Config.in option prompt
 - remove BR2_PACKAGE_TINYCBOR_JSON2CBOR sub-option, simply rely on
   the cjson package being enabled
 - pass prefix=/usr only at install time.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodocs/manual: use TARGET_CONFIGURE_OPTS in generic-package tutorial
Sergio Prado [Mon, 25 Jul 2016 18:35:18 +0000 (15:35 -0300)]
docs/manual: use TARGET_CONFIGURE_OPTS in generic-package tutorial

TARGET_CONFIGURE_OPTS is preferred over manually using CC and LD.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonettle: disable assembly optimizations for ARMv7M
Gustavo Zacarias [Mon, 25 Jul 2016 00:15:59 +0000 (21:15 -0300)]
nettle: disable assembly optimizations for ARMv7M

It's thumb2-only and it requires ARM instructions.
Since V4 and V5 aren't enough either use the V7M knob to avoid
over-complicating the conditional. Fixes:
http://autobuild.buildroot.net/results/354/35418d33efa902d3a1a82b2cd58d8db1b1172e49/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: Add new configuration for i.MX6UL Pico board
Fabio Estevam [Sun, 24 Jul 2016 23:56:10 +0000 (20:56 -0300)]
configs: Add new configuration for i.MX6UL Pico board

Add support for Technexion's i.MX6UL Pico board running U-boot 2016.07
and kernel 4.7.

For information about this board, please visit:
http://www.wandboard.org/images/hobbit/hobbitboard-imx6ul-reva1.pdf

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: bump default to version 4.7
Fabio Estevam [Sun, 24 Jul 2016 23:56:08 +0000 (20:56 -0300)]
linux-headers: bump default to version 4.7

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain: add 4.7.x choice for headers
Fabio Estevam [Sun, 24 Jul 2016 23:56:09 +0000 (20:56 -0300)]
toolchain: add 4.7.x choice for headers

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux: bump default to version 4.7
Fabio Estevam [Sun, 24 Jul 2016 23:56:07 +0000 (20:56 -0300)]
linux: bump default to version 4.7

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogrub2: add patch to fix build with recent gcc versions
Thomas Petazzoni [Mon, 25 Jul 2016 20:03:14 +0000 (22:03 +0200)]
grub2: add patch to fix build with recent gcc versions

This commit backports a patch from upstream grub2 that fixes a build
issue occuring at least with recent gcc versions:

gettext/gettext.c:37:36: error: storage size of 'main_context' isn't known
 static struct grub_gettext_context main_context, secondary_context;

Fixes bug #8991.

Bug reproduced with:

BR2_x86_64=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_GCC_VERSION_6_X=y
BR2_TARGET_GRUB2=y
BR2_TARGET_GRUB2_X86_64_EFI=y
BR2_TARGET_GRUB2_BUILTIN_MODULES="boot linux ext2 fat squash4 part_msdos part_gpt normal efi_gop terminal"

and verified fixed after adding this patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogrub2: rename patch with the proper naming convention
Thomas Petazzoni [Mon, 25 Jul 2016 19:58:29 +0000 (21:58 +0200)]
grub2: rename patch with the proper naming convention

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libsepol: Remove use of cdefs.h
Adam Duskett [Fri, 8 Jul 2016 21:45:36 +0000 (17:45 -0400)]
package/libsepol: Remove use of cdefs.h

Libsepol uses cdefs.h which is a internal glibc header.
This header is not intended to be used by any program and will cause
compiling against musl (and possibly other c libraries) to fail.
This patch fixed this issue and replaces all references of

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosupport: pkg-stats: add efl package in packages stats
Romain Naour [Sun, 24 Jul 2016 20:49:10 +0000 (22:49 +0200)]
support: pkg-stats: add efl package in packages stats

Since efl update to 1.15 version, the efl package is a "real"
Buildroot package. It doesn't contain any subdirectories anymore.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboard: add blackfin gdb simulator support
Waldemar Brodkorb [Fri, 8 Jul 2016 22:19:18 +0000 (00:19 +0200)]
board: add blackfin gdb simulator support

With this config you can bootup a Linux kernel
in GDB simulator and test Blackfin kernel and
userland.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboard/avnet: swap ramdisk and DT load addresses in U-Boot environment
Thomas Petazzoni [Fri, 8 Jul 2016 18:30:28 +0000 (20:30 +0200)]
board/avnet: swap ramdisk and DT load addresses in U-Boot environment

As reported in bug #9091, the U-Boot environment we provide for the
Microzed and Zedboard platforms loads the ramdisk at 0x2000000 and the
DT at 0x3000000. This means that a large enough ramdisk overwrites the
DT. It makes more sense to load the DT at 0x2000000 and the ramdisk at
0x3000000.

Reported-by: Michael Monaghan <michaellmonaghan@gmail.com>
Tested-by: Michael Monaghan <michaellmonaghan@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoodroid-mali: new package
Dagg Stompler [Sun, 24 Jul 2016 16:35:06 +0000 (19:35 +0300)]
odroid-mali: new package

Signed-off-by: Dagg Stompler <daggs@gmx.com>
[Thomas:
 - restrict to EABIhf for ARM, since the libraries are pre-built for
   this ABI
 - add comment about the glibc dependency
 - indicate odroid-scripts is a runtime dependency
 - remove fbset dependency]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/odroidc2: select odroid-scripts
Dagg Stompler [Sun, 24 Jul 2016 16:35:05 +0000 (19:35 +0300)]
configs/odroidc2: select odroid-scripts

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoodroid-scripts: new package
Dagg Stompler [Sun, 24 Jul 2016 16:35:04 +0000 (19:35 +0300)]
odroid-scripts: new package

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorunc: pass -extldflags '-static' on when BR2_STATIC_LIBS=y
Thomas Petazzoni [Sun, 24 Jul 2016 14:43:47 +0000 (16:43 +0200)]
runc: pass -extldflags '-static' on when BR2_STATIC_LIBS=y

There is no reason to link Go binaries statically, unless when
BR2_STATIC_LIBS=y.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoflannel: pass -extldflags '-static' on when BR2_STATIC_LIBS=y
Thomas Petazzoni [Sun, 24 Jul 2016 14:43:46 +0000 (16:43 +0200)]
flannel: pass -extldflags '-static' on when BR2_STATIC_LIBS=y

There is no reason to link Go binaries statically, unless when
BR2_STATIC_LIBS=y.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodocker-containerd: pass -extldflags '-static' on when BR2_STATIC_LIBS=y
Thomas Petazzoni [Sun, 24 Jul 2016 14:43:45 +0000 (16:43 +0200)]
docker-containerd: pass -extldflags '-static' on when BR2_STATIC_LIBS=y

There is no reason to link Go binaries statically, unless when
BR2_STATIC_LIBS=y.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ffmpeg: add optional dependency to libebur128
Bernd Kuhls [Sun, 24 Jul 2016 15:53:18 +0000 (17:53 +0200)]
package/ffmpeg: add optional dependency to libebur128

ebur128 support depends on gpl support in ffmpeg:
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=configure;h=ec4ff083dd373bce34869b67189905e2822b848b;hb=refs/heads/release/2.8#l2747

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libebur128: new package
Bernd Kuhls [Sun, 24 Jul 2016 15:53:17 +0000 (17:53 +0200)]
package/libebur128: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gdb: fix gnulib issue with musl and uClibc toolchains
Romain Naour [Sun, 24 Jul 2016 14:49:13 +0000 (16:49 +0200)]
package/gdb: fix gnulib issue with musl and uClibc toolchains

Starting with gdb 7.11, the bundled gnulib want to use rpl_gettimeofday
(gettimeofday replacement) due bad guessing when cross-compiling with musl
and uClibc toolchains. Instead of patching gnulib configure script to fix
the test, use gl_cv_func_gettimeofday_clobber=no to not use rpl_gettimeofday.

Thanks to Thomas Petazzoni to suggest this patch.

Reported upstream:
https://sourceware.org/bugzilla/show_bug.cgi?id=19798

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/go: needs PIE support
Romain Naour [Sun, 24 Jul 2016 15:39:43 +0000 (17:39 +0200)]
package/go: needs PIE support

When built statically, runc try to link against Scrt1.o which is not
provided by uClibc ARM toolchain for static build only.

[...]arm-buildroot-linux-uclibcgnueabi/bin/ld: cannot find Scrt1.o: No such file or directory
collect2: error: ld returned 1 exit status

On ARM, Go forces the use of -pie, for some reason:

    pie := (goarch == "arm" && goos == "linux") || goos == "android"
    if pie { // we need to use -pie for Linux/ARM to get accurate imported sym
              cgoLDFLAGS = append(cgoLDFLAGS, "-pie")
    }

For this reason, add a dependency on BR2_TOOLCHAIN_SUPPORTS_PIE for ARM
CPUs to disable Go for such toolchains.

While at it, rewrap Go dependencies.

[1] http://lists.busybox.net/pipermail/buildroot/2016-July/167206.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Christian Stewart <christian@paral.in>
Tested-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain: add hidden symbol for PIE support
Waldemar Brodkorb [Mon, 11 Jul 2016 14:35:14 +0000 (16:35 +0200)]
toolchain: add hidden symbol for PIE support

uClibc-ng does not support PIE for some architectures as
arc and m68k. It isn't implemented in the static linking case, too.
With musl toolchains you might have static PIE support with little
patching of gcc. Static linking for GNU libc isn't enabled in
buildroot. Fixup any package using special treatment of PIE.
(grep -ir pie package/*/*.mk)

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Thomas: use positive logic.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoomniorb: add patch to fix musl build
Thomas Petazzoni [Wed, 20 Jul 2016 22:09:21 +0000 (00:09 +0200)]
omniorb: add patch to fix musl build

Fixes:

  http://autobuild.buildroot.net/results/0e2025cbc1c54f0c177ce3f27020d454aa03645a/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ti-sgx-demos: new package
Lothar Felten [Thu, 14 Jul 2016 12:04:47 +0000 (14:04 +0200)]
package/ti-sgx-demos: new package

This package adds the SGX demos from Imagination Technologies, they are
available as binaries only.
This package contains binaries compiled for the SGX graphics accelerator used
in the following Texas Instruments SoCs: AM335x, AM437x, AM4430, AM5430.

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gdb: gdbserver: add missing header
Romain Naour [Sat, 23 Jul 2016 12:14:59 +0000 (14:14 +0200)]
package/gdb: gdbserver: add missing header

Backport upstream patch for musl toolchains

Fixes:
http://autobuild.buildroot.net/results/564/56443134388ee6c4a13add10cc53eff6f47f244e

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: add Arcturus uCP1020 BSP support
Oleksandr G Zhadan [Mon, 18 Jul 2016 21:52:07 +0000 (17:52 -0400)]
configs: add Arcturus uCP1020 BSP support

The uCP1020 product family (ucp1020) is an Arcturus Networks Inc.
System on Modules product featuring a Freescale P1020 CPU,
optionally populated with 1 or 2 Gig-Ethernet PHYs,
DDR3, NOR Flash, eMMC NAND Flash and/or SPI Flash.

Signed-off-by: Oleksandr G Zhadan <oleks@arcturusnetworks.com>
Signed-off-by: Michael Durrant <mdurrant@arcturusnetworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/odroidc2: update boot.ini
Dagg Stompler [Sun, 24 Jul 2016 05:20:12 +0000 (08:20 +0300)]
configs/odroidc2: update boot.ini

- fix disablehpd bug (thanks to Thomas for spotting it.)
- change default HDMI mode to 1080p60hz.
- add support for HDMI HotPlug Detection control.
- add support for mason timer.
- add support for headless boot

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/docker-containerd: bump to latest
Christian Stewart [Fri, 22 Jul 2016 20:52:58 +0000 (13:52 -0700)]
package/docker-containerd: bump to latest

Bump the pinned docker-containerd version to the latest in advance
of the introduction of docker-engine v1.12.0-rc4.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoigd2-for-linux: new package
Fabrice Fontaine [Thu, 21 Jul 2016 12:05:57 +0000 (14:05 +0200)]
igd2-for-linux: new package

This is The Linux UPnP Internet Gateway Device 2. It is
modified from the original Linux UPnP Internet Gateway Device
[http://linux-igd.sourceforge.net/] according to UPnP
InternetGatewayDevice:2 specifications.

It implements the UPnP Internet Gateway Device version 2
specification (IGDv2) and allows UPnP aware clients, such as
MSN Messenger, Azureus or Miranda to work properly from behind
a NAT firewall.

Please edit /etc/upnpd.conf before using upnpd!

https://github.com/ffontaine/igd2-for-linux

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/terminology: new package
Romain Naour [Sun, 17 Jul 2016 20:36:21 +0000 (22:36 +0200)]
package/terminology: new package

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - rewrap Config.in help text
 - fix license, it's BSD-2c, not just "BSD"
 - add dependency on host-pkgconf]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/sdl2_ttf: x-includes and x-libraries must be set for cross-compiling
Romain Naour [Sat, 23 Jul 2016 10:19:42 +0000 (12:19 +0200)]
package/sdl2_ttf: x-includes and x-libraries must be set for cross-compiling

If those flags are not explicitly passed, the sdl2_ttf configure script
will include -I/usr/include and -L/usr/lib in the compile flags, which
are obviously unsafe for cross-compilation.

"checking for X... libraries /usr/lib, headers /usr/include"

Fixes:

  http://autobuild.buildroot.net/results/f968fb31e9882cc856296a7c729d93e345e9e861

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - don't pass an argument to --with-x
 - use --without-x instead of --with-x=no]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/rtl8821au: switch to abperiasamy fork
Christian Stewart [Sat, 23 Jul 2016 20:28:40 +0000 (13:28 -0700)]
package/rtl8821au: switch to abperiasamy fork

Switching to the rtl8821au fork at github.com/abperiasamy/rtl8812AU_8821AU_linux.

 - The current fork we are using is maintained by 1 person.
 - The current fork does not work, and there are no plans to fix this:
     - https://github.com/ulli-kroll/rtl8821au/issues/5
     - https://github.com/ulli-kroll/rtl8821au/issues/6
 - In practice, the current fork has numerous instability issues.
 - Our lab switched to the abperiasamy fork a couple months ago and have been very happy with it.
 - The contributor list for the abperiasamy fork contains 21 well-known individuals in the community.
 - The raspberry pi community recommends the abperiasamy fork and uses it extensively.
 - Firmware blobs are not necessary with the new fork.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi: Support libcurl version 7.5.0
Bernd Kuhls [Sun, 24 Jul 2016 06:27:44 +0000 (08:27 +0200)]
package/kodi: Support libcurl version 7.5.0

Fixes
http://autobuild.buildroot.net/results/bc3/bc392094b5b05f5f4b4ede5ab3a54200d6d33be5/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/odroidc2: bump kernel to rev 1cb48cebb9d525e524de0ede46710bb29f54d4a6
Dagg Stompler [Sat, 23 Jul 2016 18:55:00 +0000 (21:55 +0300)]
configs/odroidc2: bump kernel to rev 1cb48cebb9d525e524de0ede46710bb29f54d4a6

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/odroidc2: bump uboot to rev 1ec799cec97574a9838bc25b286484e579a41652
Dagg Stompler [Sat, 23 Jul 2016 18:54:59 +0000 (21:54 +0300)]
configs/odroidc2: bump uboot to rev 1ec799cec97574a9838bc25b286484e579a41652

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofio: add optional libnuma (numactl) dependency
Gustavo Zacarias [Sat, 23 Jul 2016 17:30:36 +0000 (14:30 -0300)]
fio: add optional libnuma (numactl) dependency

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofio: add optional zlib dependency
Gustavo Zacarias [Sat, 23 Jul 2016 17:30:35 +0000 (14:30 -0300)]
fio: add optional zlib dependency

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofio: bump to version 2.13
Gustavo Zacarias [Sat, 23 Jul 2016 17:30:34 +0000 (14:30 -0300)]
fio: bump to version 2.13

And drop upstream patch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agozeromq: disable documentation
Gustavo Zacarias [Sat, 23 Jul 2016 17:30:01 +0000 (14:30 -0300)]
zeromq: disable documentation

If asciidoc and xmlto are around it will automatically enable the
documentation build which is pointless.
Build time on i5-3330 with docs = 37s, without docs 25s.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agozeromq: bump to version 4.1.5
Gustavo Zacarias [Sat, 23 Jul 2016 17:30:00 +0000 (14:30 -0300)]
zeromq: bump to version 4.1.5

Switch to github download URL since upstream switched.
Drop upstream patch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Thomas: remove duplicate _SITE variable.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agostunnel: security bump to version 5.35
Gustavo Zacarias [Sat, 23 Jul 2016 16:03:32 +0000 (13:03 -0300)]
stunnel: security bump to version 5.35

Fixes:
TLS session caching memory leak
Malfunctioning "verify = 4"

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibunwind: needs ARM instruction support
Gustavo Zacarias [Sat, 23 Jul 2016 15:24:34 +0000 (12:24 -0300)]
libunwind: needs ARM instruction support

Fixes:
http://autobuild.buildroot.net/results/4cf/4cf517cd81d3aa5da26848edaba5df0bfbab2c77/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libdrm: bump version to 2.4.70
Bernd Kuhls [Sat, 23 Jul 2016 15:17:17 +0000 (17:17 +0200)]
package/libdrm: bump version to 2.4.70

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotunctl: new package
Sergio Prado [Sat, 23 Jul 2016 14:18:50 +0000 (11:18 -0300)]
tunctl: new package

Tunctl is a tool for controlling the TUN/TAP driver in Linux.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
[Thomas: use $(TARGET_CONFIGURE_OPTS).]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolighttpd: add clock_gettime patch
Gustavo Zacarias [Sat, 23 Jul 2016 14:56:54 +0000 (11:56 -0300)]
lighttpd: add clock_gettime patch

Fixes:
http://autobuild.buildroot.net/results/590/5901153a345c69d0a041309cfb79329bb42ff98d/

Patch status: upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolighttpd: webdav locks require libuuid
Gustavo Zacarias [Sat, 23 Jul 2016 14:56:44 +0000 (11:56 -0300)]
lighttpd: webdav locks require libuuid

Since 1.4.40 webdav locks require libuuid from util-linux, so make it an
automatic dependency. Fixes:
http://autobuild.buildroot.net/results/b14/b14484300b4acfcaa18593b097167cef14330898/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconnman: bump to version 1.33
Gustavo Zacarias [Sat, 23 Jul 2016 13:39:42 +0000 (10:39 -0300)]
connman: bump to version 1.33

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopcmanfm: add optional support for gtk3
Gustavo Zacarias [Sat, 23 Jul 2016 13:31:25 +0000 (10:31 -0300)]
pcmanfm: add optional support for gtk3

pcmanfm can now use gtk3+ so use that over gtk2+ if it's available.
Since it's only x11-safe for the moment the comment and deps other than
gtk stay the same.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibfm: add optional support for gtk3
Gustavo Zacarias [Sat, 23 Jul 2016 13:31:24 +0000 (10:31 -0300)]
libfm: add optional support for gtk3

pcmanfm can now use gtk3+ so use that over gtk2+ if it's available.
Since it's only x11-safe for the moment the comment and deps other than
gtk stay the same.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopcmanfm: bump to version 1.2.4
Gustavo Zacarias [Sat, 23 Jul 2016 13:31:23 +0000 (10:31 -0300)]
pcmanfm: bump to version 1.2.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibfm: bump to version 1.2.4
Gustavo Zacarias [Sat, 23 Jul 2016 13:31:22 +0000 (10:31 -0300)]
libfm: bump to version 1.2.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomenu-cache: bump to version 1.0.1
Gustavo Zacarias [Sat, 23 Jul 2016 13:31:21 +0000 (10:31 -0300)]
menu-cache: bump to version 1.0.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibfm-extra: bump to version 1.2.4
Gustavo Zacarias [Sat, 23 Jul 2016 13:31:20 +0000 (10:31 -0300)]
libfm-extra: bump to version 1.2.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibarchive: fix build error when linking with lzma
Sergio Prado [Thu, 21 Jul 2016 14:10:26 +0000 (11:10 -0300)]
libarchive: fix build error when linking with lzma

Build fails when linking with liblzma compiled without threads support.

./.libs/libarchive.so: undefined reference to `lzma_cputhreads'
./.libs/libarchive.so: undefined reference to `lzma_stream_encoder_mt'

So let's enable LZMA only when toolchain has threads support.

Fixes:
http://autobuild.buildroot.org/results/2cb7f8a056982d0b894d0e2531ef357e74c8b796
http://autobuild.buildroot.org/results/d12954fbd460d396f255158fa127f39ff9d2be8d
http://autobuild.buildroot.org/results/abe10c70f38423a212ab27d7d27e22174eaa5aab
Many more...

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoser2net: add sysv init script
Vicente Olivert Riera [Fri, 22 Jul 2016 15:08:58 +0000 (16:08 +0100)]
ser2net: add sysv init script

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
[Thomas:
 - remove check for the ser2net binary
 - add check for the configuration file
 - use 'printf' instead of 'echo -n'
 - fix indentation where needed]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/enlightenment: enable systemd support
Romain Naour [Fri, 22 Jul 2016 22:23:18 +0000 (00:23 +0200)]
package/enlightenment: enable systemd support

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/efl: enable systemd support
Romain Naour [Fri, 22 Jul 2016 22:23:17 +0000 (00:23 +0200)]
package/efl: enable systemd support

systemd it one of the "highly recommended" dependecies according to the
README [1] but disabling it doesn't need the
--enable-i-really-know-what-i-am-doing... option.

That's why BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG is not disabled when
systemd is not selected.

[1] https://git.enlightenment.org/core/efl.git/tree/README?h=efl-1.17#n489

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agohtop: bump to version 2.0.2
Gustavo Zacarias [Sat, 23 Jul 2016 01:00:16 +0000 (22:00 -0300)]
htop: bump to version 2.0.2

And drop upstream patch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoharfbuzz: bump to version 1.3.0
Gustavo Zacarias [Sat, 23 Jul 2016 00:48:39 +0000 (21:48 -0300)]
harfbuzz: bump to version 1.3.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibinput: bump to version 1.4.0
Gustavo Zacarias [Sat, 23 Jul 2016 00:48:12 +0000 (21:48 -0300)]
libinput: bump to version 1.4.0

And drop upstream patch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobmon: bump to version 3.9
Gustavo Zacarias [Sat, 23 Jul 2016 00:10:39 +0000 (21:10 -0300)]
bmon: bump to version 3.9

And switch to github homepage.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agounrar: bump to version 5.4.3
Gustavo Zacarias [Fri, 22 Jul 2016 23:39:08 +0000 (20:39 -0300)]
unrar: bump to version 5.4.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibidn: security bump to version 1.33
Gustavo Zacarias [Fri, 22 Jul 2016 23:38:34 +0000 (20:38 -0300)]
libidn: security bump to version 1.33

Fixes:
CVE-2015-8948 - out-of-bounds read in CLI tool.
CVE-2016-6261 - out-of-bounds stack read in idna_to_ascii_4i.
CVE-2016-6262 - followup fix to CVE-2015-8948.
CVE-2016-6263 - stringprep_utf8_nfkc_normalize reject invalid UTF-8.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: bump 3.12.x series
Gustavo Zacarias [Fri, 22 Jul 2016 23:35:52 +0000 (20:35 -0300)]
linux-headers: bump 3.12.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoimagemagick: bump to version 7.0.2-5
Gustavo Zacarias [Fri, 22 Jul 2016 23:35:19 +0000 (20:35 -0300)]
imagemagick: bump to version 7.0.2-5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiozone: bump to version 3_446
Gustavo Zacarias [Fri, 22 Jul 2016 23:34:19 +0000 (20:34 -0300)]
iozone: bump to version 3_446

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agompv: bump to version 0.18.1
Gustavo Zacarias [Fri, 22 Jul 2016 22:38:39 +0000 (19:38 -0300)]
mpv: bump to version 0.18.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/elementary: provide the path to elementary_codgen
Romain Naour [Fri, 22 Jul 2016 22:22:40 +0000 (00:22 +0200)]
package/elementary: provide the path to elementary_codgen

elementary_codgen tool is build for the host, so use it while building
elementary for the target.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/enlightenment: bump to 0.20.10
Romain Naour [Fri, 22 Jul 2016 22:22:14 +0000 (00:22 +0200)]
package/enlightenment: bump to 0.20.10

"This will be the last release in the e20 series"

https://www.enlightenment.org/news/e-0.20.10-release

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: warpboard: Bump to U-Boot 2016.07
Fabio Estevam [Fri, 22 Jul 2016 00:45:24 +0000 (21:45 -0300)]
configs: warpboard: Bump to U-Boot 2016.07

U-Boot 2016.07 works well on warpboard, so bump to this version.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: atmel: fix typo in sama5d4 xplained development defconfig
Ludovic Desroches [Fri, 22 Jul 2016 13:18:54 +0000 (15:18 +0200)]
configs: atmel: fix typo in sama5d4 xplained development defconfig

The defconfig file for at91bootstrap was false:
s/sama5d4_xplainedsnf_uboot_secure/sama5d4_xplainednf_uboot_secure.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-dicttoxml: new package
Yegor Yefremov [Fri, 22 Jul 2016 06:36:34 +0000 (08:36 +0200)]
python-dicttoxml: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoperl-xml-libxml: bump to version 2.0126
Francois Perrad [Thu, 21 Jul 2016 19:08:55 +0000 (21:08 +0200)]
perl-xml-libxml: bump to version 2.0126

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoperl-datetime-tiny: bump to version 1.06
Francois Perrad [Thu, 21 Jul 2016 19:08:54 +0000 (21:08 +0200)]
perl-datetime-tiny: bump to version 1.06

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoperl-try-tiny: bump to version 0.24
Francois Perrad [Thu, 21 Jul 2016 19:08:53 +0000 (21:08 +0200)]
perl-try-tiny: bump to version 0.24

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoperl-module-build: bump to version 0.4218
Francois Perrad [Thu, 21 Jul 2016 19:08:52 +0000 (21:08 +0200)]
perl-module-build: bump to version 0.4218

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoperl-html-parser: bump to version 3.72
Francois Perrad [Thu, 21 Jul 2016 19:08:51 +0000 (21:08 +0200)]
perl-html-parser: bump to version 3.72

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoperl-mojolicious: bump to version 7.0
Francois Perrad [Thu, 21 Jul 2016 19:08:50 +0000 (21:08 +0200)]
perl-mojolicious: bump to version 7.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xserver_xorg-server: bump version to 1.18.4
Bernd Kuhls [Thu, 21 Jul 2016 19:07:20 +0000 (21:07 +0200)]
package/x11r7/xserver_xorg-server: bump version to 1.18.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libdrm: bump version to 2.4.69
Bernd Kuhls [Thu, 21 Jul 2016 19:07:19 +0000 (21:07 +0200)]
package/libdrm: bump version to 2.4.69

Removed patch 0002, applied upstream:
https://cgit.freedesktop.org/mesa/drm/commit/xf86drm.c?id=4031dc17bb728850c9b079c8d5f9cc0a379b9d46

Renumbered patch 0003.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodropbear: bump version to 2016.74
Alexander Dahl [Thu, 21 Jul 2016 16:35:12 +0000 (18:35 +0200)]
dropbear: bump version to 2016.74

According to https://matt.ucc.asn.au/dropbear/CHANGES there were some
severe security issues fixed.

Signed-off-by: Alexander Dahl <post@lespocky.de>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibcurl: bump version to 7.50.0
Vicente Olivert Riera [Thu, 21 Jul 2016 11:30:33 +0000 (12:30 +0100)]
libcurl: bump version to 7.50.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp: bump version to 7.0.9
Vicente Olivert Riera [Thu, 21 Jul 2016 11:23:07 +0000 (12:23 +0100)]
php: bump version to 7.0.9

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogamin: improve PTHREAD_MUTEX_RECURSIVE_NP patch to fix build issue
Thomas Petazzoni [Wed, 20 Jul 2016 19:47:11 +0000 (21:47 +0200)]
gamin: improve PTHREAD_MUTEX_RECURSIVE_NP patch to fix build issue

In the gamin package, patch
0003-fix-missing-PTHREAD_MUTEX_RECURSIVE_NP.patch was introduced to fix
the build with musl. Indeed, while musl defines "linux", it does not
define PTHREAD_MUTEX_RECURSIVE_NP, but only PTHREAD_MUTEX_RECURSIVE. So
the check was simplified to only verify if PTHREAD_MUTEX_RECURSIVE_NP is
defined.

However, this doesn't work well with uClibc linuxthreads. In uClibc,
PTHREAD_MUTEX_RECURSIVE_NP and PTHREAD_MUTEX_RECURSIVE are not
pre-processor defines, but enum values. For this reason, even if
PTHREAD_MUTEX_RECURSIVE_NP actually exists, #if
defined(PTHREAD_MUTEX_RECURSIVE_NP) is false. So, the gamin code falls
back to using PTHREAD_MUTEX_RECURSIVE.

Except that for uClibc linuxthreads, PTHREAD_MUTEX_RECURSIVE is defined
only if __USE_UNIX98 is defined. For the NPTL implementation,
PTHREAD_MUTEX_RECURSIVE is defined either if __USE_UNIX98 or
__USE_XOPEN2K8 are defined. This strange difference has been reported to
uClibc-ng upstream [1].

However, regardless of this uClibc behavior, using #if defined to check
for the availability of PTHREAD_MUTEX_RECURSIVE_NP is not good. This
commit therefore switches to using a proper AC_CHECK_DECL() autoconf
test, which works regardless of whether the value is #define'd or
defined as an enum value.

This fixes the build of gamin on linuxthreads platforms, such as
Microblaze or m68k.

Fixes:

  http://autobuild.buildroot.net/results/887df97196d7777efbf18a7bee91aa45c1a98700/ (Microblaze)
  http://autobuild.buildroot.net/results/eb4389474e1b30b5c395a07a857da13a66763bdb/ (m68k)

[1] http://mailman.uclibc-ng.org/pipermail/devel/2016-July/001087.html

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/elementary: add path to eolian_cxx
Romain Naour [Mon, 18 Jul 2016 20:51:27 +0000 (22:51 +0200)]
package/elementary: add path to eolian_cxx

When efl package is build with Eolian support, eolian_cxx tool is
build for the host.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoefl: add missing select of zlib
Thomas Petazzoni [Wed, 20 Jul 2016 21:35:44 +0000 (23:35 +0200)]
efl: add missing select of zlib

The efl package has zlib in its dependencies, but does not select it,
which causes a dependency check error with the following defconfig:

BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2016.05-1162-g94c7298.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_4_8=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_INIT_NONE=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_SYSTEM_BIN_SH_NONE=y
BR2_PACKAGE_EFL=y

This commit fixes this by selecting the zlib package at the Config.in
level.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>