buildroot.git
6 years agopackage/gcc: fix build of gcc-4.9.4 with glibc-2.28
Bernd Kuhls [Mon, 13 Aug 2018 18:14:14 +0000 (20:14 +0200)]
package/gcc: fix build of gcc-4.9.4 with glibc-2.28

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/gcc: fix build of gcc-5.5.0 with glibc-2.28
Bernd Kuhls [Mon, 13 Aug 2018 18:14:13 +0000 (20:14 +0200)]
package/gcc: fix build of gcc-5.5.0 with glibc-2.28

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/gcc: fix build of gcc-6.4.0 with glibc-2.28
Bernd Kuhls [Mon, 13 Aug 2018 18:14:12 +0000 (20:14 +0200)]
package/gcc: fix build of gcc-6.4.0 with glibc-2.28

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/gcc: fix build of gcc-7.3.0 with glibc-2.28
Bernd Kuhls [Mon, 13 Aug 2018 18:14:11 +0000 (20:14 +0200)]
package/gcc: fix build of gcc-7.3.0 with glibc-2.28

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/gcc: renumber patch
Bernd Kuhls [Mon, 13 Aug 2018 18:14:10 +0000 (20:14 +0200)]
package/gcc: renumber patch

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agohtop: bump to version 2.2.0
Joseph Kogut [Mon, 13 Aug 2018 19:30:28 +0000 (12:30 -0700)]
htop: bump to version 2.2.0

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/samba4: disable build of manpages and documentation
Bernd Kuhls [Wed, 8 Aug 2018 18:41:55 +0000 (20:41 +0200)]
package/samba4: disable build of manpages and documentation

Fixes
http://autobuild.buildroot.net/results/3f214cbb1fe2dc2c2cbfb630032e13eba81c1b5a/
and many others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: reformat patch as Git formatted]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/samba4: drop patch numbering in patch 0003
Thomas Petazzoni [Thu, 9 Aug 2018 08:06:19 +0000 (10:06 +0200)]
package/samba4: drop patch numbering in patch 0003

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/samba4: reformat patch 0002 as Git-formatted patch
Thomas Petazzoni [Thu, 9 Aug 2018 08:05:38 +0000 (10:05 +0200)]
package/samba4: reformat patch 0002 as Git-formatted patch

This commit reformats
0002-patch-source3__libads__kerberos_keytab.c.patch as a Git-formatted
patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibunistring: bump to version 0.9.10
Joseph Kogut [Mon, 13 Aug 2018 18:58:24 +0000 (11:58 -0700)]
libunistring: bump to version 0.9.10

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-module-implementation: new package
Christopher McCrory [Sat, 11 Aug 2018 18:27:42 +0000 (11:27 -0700)]
perl-module-implementation: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-mime-tools: new package
Christopher McCrory [Sat, 11 Aug 2018 18:27:41 +0000 (11:27 -0700)]
perl-mime-tools: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-io-socket-multicast: new package
Christopher McCrory [Sat, 11 Aug 2018 18:27:40 +0000 (11:27 -0700)]
perl-io-socket-multicast: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-data-optlist: new package
Christopher McCrory [Sat, 11 Aug 2018 18:27:37 +0000 (11:27 -0700)]
perl-data-optlist: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-class-std-fast: new package
Christopher McCrory [Sat, 11 Aug 2018 18:27:36 +0000 (11:27 -0700)]
perl-class-std-fast: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-sys-mmap: new package
Christopher McCrory [Fri, 10 Aug 2018 16:15:01 +0000 (09:15 -0700)]
perl-sys-mmap: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-sys-meminfo: new package
Christopher McCrory [Fri, 10 Aug 2018 16:15:00 +0000 (09:15 -0700)]
perl-sys-meminfo: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
[Thomas: add LICENSE variable.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-sub-install: new package
Christopher McCrory [Fri, 10 Aug 2018 16:14:59 +0000 (09:14 -0700)]
perl-sub-install: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-params-util: new package
Christopher McCrory [Fri, 10 Aug 2018 16:14:58 +0000 (09:14 -0700)]
perl-params-util: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-number-bytes-human: new package
Christopher McCrory [Fri, 10 Aug 2018 16:14:57 +0000 (09:14 -0700)]
perl-number-bytes-human: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/misc: updating Vagrantfile to ubuntu 18.04
Angelo Compagnucci [Mon, 13 Aug 2018 08:49:12 +0000 (10:49 +0200)]
support/misc: updating Vagrantfile to ubuntu 18.04

This patch updates the vagrant box to ubuntu bionic 64 and switches back
to the official ubuntu image cause the issues with the official image
are now solved.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-module-runtime: new package
Christopher McCrory [Fri, 10 Aug 2018 16:14:56 +0000 (09:14 -0700)]
perl-module-runtime: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-json-maybexs: new package
Christopher McCrory [Fri, 10 Aug 2018 16:14:55 +0000 (09:14 -0700)]
perl-json-maybexs: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-io-interface: new package
Christopher McCrory [Fri, 10 Aug 2018 16:14:54 +0000 (09:14 -0700)]
perl-io-interface: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
[Thomas: fix LICENSE variable.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/perl-device-serialport: fix LICENSE variable
Thomas Petazzoni [Sun, 12 Aug 2018 21:40:43 +0000 (23:40 +0200)]
package/perl-device-serialport: fix LICENSE variable

A bad copy/paste lead to the LICENSE variable using the wrong
prefix. Thanks to check-package, this was detected, and is now fixed
by this commit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-file-slurp: new package
Christopher McCrory [Fri, 10 Aug 2018 16:14:53 +0000 (09:14 -0700)]
perl-file-slurp: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-device-serialport: new package
Christopher McCrory [Fri, 10 Aug 2018 16:14:52 +0000 (09:14 -0700)]
perl-device-serialport: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
[Thomas: add _LICENSE variable.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-dbi: new package
Christopher McCrory [Fri, 10 Aug 2018 16:14:51 +0000 (09:14 -0700)]
perl-dbi: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-date-manip: new package
Christopher McCrory [Fri, 10 Aug 2018 16:14:50 +0000 (09:14 -0700)]
perl-date-manip: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-data-uuid: new package
Christopher McCrory [Fri, 10 Aug 2018 16:14:49 +0000 (09:14 -0700)]
perl-data-uuid: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
[Thomas: license is not "bsd", but some variant of MIT.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-class-std: new package
Christopher McCrory [Fri, 10 Aug 2018 16:14:48 +0000 (09:14 -0700)]
perl-class-std: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-astro-suntime: new package
Christopher McCrory [Fri, 10 Aug 2018 16:14:46 +0000 (09:14 -0700)]
perl-astro-suntime: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
[Thomas: use SPDX tag for license.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-appconfig: new package
Christopher McCrory [Fri, 10 Aug 2018 16:14:45 +0000 (09:14 -0700)]
perl-appconfig: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoMakefile: introduce check-package target
Thomas Petazzoni [Sat, 11 Aug 2018 10:44:23 +0000 (12:44 +0200)]
Makefile: introduce check-package target

The snippet of code that runs a check-package on all
.mk/.hash/Config.in files is currently only available within
.gitlab-ci.yml, and isn't immediately and easily usable by Buildroot
users. In order to simplify this, this commit introduces a top-level
"check-package" make target that implements the same logic. The
.gitlab-ci.yml file is changed to use "make check-package".

Since this target is oriented towards Buildroot developers, we
intentionally do not clutter the already noisy "make help" text with
this additional make target.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/iperf3: fix openssl detection
Bernd Kuhls [Sat, 11 Aug 2018 18:55:19 +0000 (20:55 +0200)]
package/iperf3: fix openssl detection

Searching for openssl uses the AC_ARG_WITH macro:

https://github.com/esnet/iperf/blob/master/config/ax_check_openssl.m4#L40

Pkgconf is only used when --with-openssl is not used at all as
configure parameter because it was placed in the "action-if-not-given"
part of the AC_ARG_WITH macro:
https://github.com/esnet/iperf/blob/master/config/ax_check_openssl.m4#L52

The current CONF_OPTS contain --with-openssl which causes OPENSSL_LIBS
not be filled by pkgconf but with default values "-lssl -lcrypto":
https://github.com/esnet/iperf/blob/master/config/ax_check_openssl.m4#L82

This breaks openssl detection for static builds because -lz is missing:
http://autobuild.buildroot.net/results/ba5/ba56d132c5994486066c304fa1f3872bb0f3ee32//iperf3-3.6/config.log

/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libcrypto.a(c_zlib.o):
 In function `zlib_stateful_expand_block':
  c_zlib.c:(.text+0x54): undefined reference to `inflate'

This patch removes --with-openssl and adds host-pkgconf as dependency
to let the configure script auto-detect openssl, this fixes

http://autobuild.buildroot.net/results/ba5/ba56d132c5994486066c304fa1f3872bb0f3ee32/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: add comment in the code to explain why we don't pass
--with-openssl.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoimx-parser: bump version to 4.3.5
Gary Bisson [Mon, 30 Jul 2018 13:01:44 +0000 (15:01 +0200)]
imx-parser: bump version to 4.3.5

Added COPYING hash to track license changes.

No changelog provided by NXP for v4.3.5.

Changelog for v4.3.4:
- Fix crash issue when parse index list.
- Add mett atom in mp4 parser.
- MP4 PARSER 06.13.00 add interface PARSER_API_GET_TEXT_TRACK_MIME
to get mime type from mett atom.
- Add protection for contentDescriptionObject in case the size is not
correct and larger than qwSize.

Changelog for v4.3.2:
- Fix creating parser error
When the variable value is negetive, if(bytesToRead) will return true,
modify this condition to if(bytesToRead > 0).
- FLAC PARSER 03.00.07
Check read actual length in case of parser reach eos.
- MP4 PARSER 06.12.11
Fix crash issue when parse id3 metadata.
- MPG2 PARSER 04.05.16
Fix parser return wrong frame size after fastforward.
- ASFPARSER_01.00.55
Update for HEVC tag and audio AC3 support.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
[Thomas: add hash for EULA file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoimx-codec: bump version to 4.3.5
Gary Bisson [Mon, 30 Jul 2018 13:01:43 +0000 (15:01 +0200)]
imx-codec: bump version to 4.3.5

No changelog provided by NXP for v4.3.5.

Added COPYING hash to track license change.

Changelog for v4.3.4
1. Add INSANE_SKIP for file-rdeps to fix QA Issue
2. Update mp3_enc version to 02.03.01
3. Fix crash in lib_mp3_enc_arm12_elinux.so
This crash error is caused by division by zero
in noOfElements_mp3e() function When encoding 0
size file by using unit test
so before performing a division operation, need to
check whether divisor is zero or not to fix it.

Changelog for v4.3.2
1. Upgrade EULA to v20
2. Add i.MX8 support
3. Bugfix/Optimization
   - Remove video codec in imx-codec package.
   - Fix logically dead code issue for aac_dec.
   - Fix wrong sizeof argument for flac_dec.
   - Cancel unused code in nb_amr/wb_amr/flac_dec/bsac_dec.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
[Thomas: add hash for EULA file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoimx-vpuwrap: bump version to 4.3.5
Gary Bisson [Mon, 30 Jul 2018 13:01:42 +0000 (15:01 +0200)]
imx-vpuwrap: bump version to 4.3.5

No changelog provided for 4.3.5 but it can now builds against the
following VPU backends:
- Chips&Media
- Hantro
- Amphion (not supported in BR yet)

Changes in 4.3.2:
- Add vpu_wrapper_test
- Add gst_dump tools
- Add gl sink
- Enable RMVB/VC1/DIVX3
- Add webp support

Changes in 4.3.4:
- set hasColorDesc and fullRange in VPU_DecGetInitialInfo.
- Fix H264 failure due to too many MBI buffers.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
[Thomas: add hash for EULA file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoimx-vpu: bump version to 5.4.38
Gary Bisson [Mon, 30 Jul 2018 13:01:41 +0000 (15:01 +0200)]
imx-vpu: bump version to 5.4.38

No changelog provided by NXP.
Added COPYING hash value to track license changes.
Reworked the help text to specify which CPU has Chips&Media VPU.
Also removed the dependency on BR2_arm as
BR2_PACKAGE_FREESCALE_IMX_HAS_VPU is sufficient.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
[Thomas: add hash for EULA file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoimx-vpu-hantro: new package
Gary Bisson [Mon, 30 Jul 2018 13:01:40 +0000 (15:01 +0200)]
imx-vpu-hantro: new package

This package provides the user-space libraries needed to use the Hantro
VPU present in processors such as the i.MX8MQ.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
[Thomas: add hash for EULA file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing/infra: rm extra log flush in builder.py
Matt Weber [Sat, 11 Aug 2018 01:02:26 +0000 (20:02 -0500)]
support/testing/infra: rm extra log flush in builder.py

While integrating proxy support in builder.py, a log flush
was left in the code.  This commit cleans/removes that code.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqemu: bump to 2.12.0
Adam Duskett [Fri, 27 Apr 2018 15:40:54 +0000 (11:40 -0400)]
qemu: bump to 2.12.0

In addition:
  - Update 0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch
    with new line numbers and file location.
  - Remove upstream 0002-memfd-fix-configure-test.patch
  - Add new options found in 2.12.0 in qemu.mk as disabled.
  - Remove --with-system-pixman as it's no longer optional.

Tested with test-pkg:

./utils/test-pkg -p qemu -c configs/qemu_min_defconfig
                             br-arm-full [1/6]: OK
                  br-arm-cortex-a9-glibc [2/6]: OK
                   br-arm-cortex-m4-full [3/6]: SKIPPED
                          br-x86-64-musl [4/6]: OK
                      br-arm-full-static [5/6]: OK
                armv5-ctng-linux-gnueabi [6/6]: OK
6 builds, 1 skipped, 0 build failed, 0 legal-info failed

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: runtest proxy support
Matt Weber [Wed, 11 Jul 2018 14:31:11 +0000 (09:31 -0500)]
support/testing: runtest proxy support

Allow builder.py to inherit the system proxy settings from
the env if they are present.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/Makefile.in: Add missing options to LDFLAGS for full RELRO build
Stefan Sørensen [Wed, 11 Jul 2018 14:31:09 +0000 (09:31 -0500)]
package/Makefile.in: Add missing options to LDFLAGS for full RELRO build

The options for a full RELRO build should also be added to LDFLAGS.

Originally submitted as
http://patchwork.ozlabs.org/patch/904034/

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/Makefile.in: Do not use CPPFLAGS for hardening options
Stefan Sørensen [Wed, 11 Jul 2018 14:31:08 +0000 (09:31 -0500)]
package/Makefile.in: Do not use CPPFLAGS for hardening options

The hardening options are compiler flags, not pure pre-processor flags, so
put them in CFLAGS, not CPPFLAGS.

This fixes build errors where -D_FORTIFY_SOURCE=2 whas put in CPPFLAGS and
then applied to configure tests which could fail since the required -O2 is
only in CFLAGS.

Originally submitted as
http://patchwork.ozlabs.org/patch/904057/

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoRevert "package/mono: remove target mips architecture"
Angelo Compagnucci [Thu, 9 Aug 2018 12:31:27 +0000 (14:31 +0200)]
Revert "package/mono: remove target mips architecture"

This reverts commit 0f96073561badde3c7abdf338abca7d00dba56dd cause the
newly released mono version (5.14.0.177) fixed the bug upstream.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mono: remove target mips architecture
Angelo Compagnucci [Sun, 5 Aug 2018 14:05:03 +0000 (16:05 +0200)]
package/mono: remove target mips architecture

Current version of mono doesn't compile on mips due to a bug, so
disabling the mips target architecture until the bug is fixed upstream.

Fixes: http://autobuild.buildroot.net/results/b402af8cb7f00dc2e69c219926b474a8e0c8d372
and many others.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/python-pillow: bump to version 5.2.0
Angelo Compagnucci [Fri, 10 Aug 2018 08:23:08 +0000 (10:23 +0200)]
package/python-pillow: bump to version 5.2.0

This patch bumps python-pillow to version 5.2.0 and adds the hash for
license file.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/python-can: bump to version 2.2.1
Angelo Compagnucci [Fri, 10 Aug 2018 08:15:40 +0000 (10:15 +0200)]
package/python-can: bump to version 2.2.1

This patch bumps python-can to version 2.2.1 and adds the has for
license file.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogzip: bump to version 1.9
Baruch Siach [Fri, 10 Aug 2018 07:48:01 +0000 (10:48 +0300)]
gzip: bump to version 1.9

Add reference to tarball signature and key.

Add license file hash.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/libva-utils: bump version to 2.2.0
Bernd Kuhls [Sun, 29 Jul 2018 19:25:28 +0000 (21:25 +0200)]
package/libva-utils: bump version to 2.2.0

Upstream moved its github repo to github.com/intel/, updated URLs, for
reference see upstream PR 110. Also updated project URL.

Added patch to fix build without stack-protector support.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/libva-intel-driver: bump version to 2.2.0
Bernd Kuhls [Sun, 29 Jul 2018 19:25:27 +0000 (21:25 +0200)]
package/libva-intel-driver: bump version to 2.2.0

Upstream moved its github repo to github.com/intel/, updated URLs, for
reference see upstream PR 371. Also updated project URL.

Added patch to fix build without stack-protector support.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/libva: bump version to 2.2.0
Bernd Kuhls [Sun, 29 Jul 2018 19:25:26 +0000 (21:25 +0200)]
package/libva: bump version to 2.2.0

Upstream moved its github repo to github.com/intel/, updated URLs, for
reference see upstream PR 198. Also updated project URL.

Added patch to fix build without stack-protector support.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/glibc: bump to version 2.28
Romain Naour [Fri, 3 Aug 2018 18:14:25 +0000 (20:14 +0200)]
package/glibc: bump to version 2.28

https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/systemd: fix statx support with glibc >= 2.28
Romain Naour [Fri, 3 Aug 2018 18:14:24 +0000 (20:14 +0200)]
package/systemd: fix statx support with glibc >= 2.28

Backport 2 patches fixing statx redefinition:

  In file included from ../src/basic/missing.h:18,
     from ../src/basic/util.h:28,
     from ../src/basic/hashmap.h:10,
     from ../src/shared/bus-util.h:12,
     from ../src/libsystemd/sd-bus/bus-creds.c:11:
     /usr/include/linux/stat.h:99:8: error: redefinition of ‘struct statx’

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/download: remove help from wrapper
Yann E. MORIN [Sat, 4 Aug 2018 16:33:03 +0000 (18:33 +0200)]
support/download: remove help from wrapper

The download wrapper is a purely internal helper, and is not supposed to
be callable manually. No need to offer some help.

Besides, the help text was way out-dated.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5wayland: add fix from upstream to compile without QtQuick
Floris Bos [Mon, 6 Aug 2018 00:36:53 +0000 (02:36 +0200)]
qt5wayland: add fix from upstream to compile without QtQuick

Compiling qt5wayland fails if you do not have the QtQuick module:

==
.obj/qwaylandquickhardwarelayer.o: In function `QWaylandQuickHardwareLayer::classBegin()':
qwaylandquickhardwarelayer.cpp:(.text+0x170): undefined reference to `QWaylandQuickItem::staticMetaObject'
.obj/qwaylandquickhardwarelayer.o: In function `non-virtual thunk to QWaylandQuickHardwareLayer::classBegin()':
qwaylandquickhardwarelayer.cpp:(.text+0x1cc): undefined reference to `QWaylandQuickItem::staticMetaObject'
.obj/qwaylandquickhardwarelayer.o: In function `QWaylandQuickHardwareLayer::disableSceneGraphPainting()':
qwaylandquickhardwarelayer.cpp:(.text+0x1e0): undefined reference to `QWaylandQuickItem::setPaintEnabled(bool)'
.obj/qwaylandquickhardwarelayer.o: In function `QWaylandQuickHardwareLayerPrivate::layerIntegration()':
qwaylandquickhardwarelayer.cpp:(.text+0x22c): undefined reference to `QtWayland::HardwareLayerIntegrationFactory::keys(QString const&)'
qwaylandquickhardwarelayer.cpp:(.text+0x408): undefined reference to `QtWayland::HardwareLayerIntegrationFactory::create(QString const&, QStringList const&, QString const&)'
qwaylandquickhardwarelayer.cpp:(.text+0x890): undefined reference to `QtWayland::HardwareLayerIntegrationFactory::create(QString const&, QStringList const&, QString const&)'
collect2: error: ld returned 1 exit status
Makefile:375: recipe for target '../../lib/libQt5WaylandCompositor.so.5.11.1' failed
make[4]: *** [../../lib/libQt5WaylandCompositor.so.5.11.1] Error 1
==

Fix taken from upstream's git:
http://code.qt.io/cgit/qt/qtwayland.git/commit/?id=2c48ee65e8c3b894caec214641723d0777fc60b8

No longer depends on declarative after applying either.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopostgresql: bump to version 10.4
Adam Duskett [Mon, 6 Aug 2018 15:17:14 +0000 (11:17 -0400)]
postgresql: bump to version 10.4

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/iperf3: bump version to 3.6
Bernd Kuhls [Mon, 6 Aug 2018 19:01:04 +0000 (21:01 +0200)]
package/iperf3: bump version to 3.6

Added license hash, switched _SITE to https.

Iperf 3.2 added optional ssl support, build-tested with libressl,
run-time tested with openssl.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-pip: new package
Adam Duskett [Mon, 6 Aug 2018 22:46:15 +0000 (18:46 -0400)]
python-pip: new package

A useful tool for managing and installing python packages.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/dt-utils: bump to v2018.05.0 and add hashes
Marcin Niestroj [Mon, 6 Aug 2018 19:25:36 +0000 (21:25 +0200)]
package/dt-utils: bump to v2018.05.0 and add hashes

Also drop mainlined patches.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mono: bump to version 5.14.0.177
Angelo Compagnucci [Thu, 9 Aug 2018 12:31:26 +0000 (14:31 +0200)]
package/mono: bump to version 5.14.0.177

This patch bumps mono to version 5.14.0.177

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage: add python-semver
Peter Korsgaard [Tue, 7 Aug 2018 09:38:39 +0000 (11:38 +0200)]
package: add python-semver

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/c-periphery: bump to 1.1.3
Sam Voss [Tue, 7 Aug 2018 13:48:54 +0000 (08:48 -0500)]
package/c-periphery: bump to 1.1.3

Specific areas of bugfixes:
- serial: 8th bit being stripped when using parity
- gpio: add retry loop waiting for exported gpio dir
- i2c: update i2c supported functions query for 64-bit
- add support for building with C++

Signed-off-by: Sam Voss <sam.voss@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoacpid: bump to version 2.0.30
Andy Shevchenko [Tue, 7 Aug 2018 20:20:36 +0000 (23:20 +0300)]
acpid: bump to version 2.0.30

Bump to version 2.0.30.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agorust: bump version to 1.27.2
Eric Le Bihan [Wed, 8 Aug 2018 08:45:59 +0000 (10:45 +0200)]
rust: bump version to 1.27.2

Bump version to 1.27.2 and force use of "stable" channel when configuring.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agorust-bin: bump version to 1.27.2
Eric Le Bihan [Wed, 8 Aug 2018 08:45:58 +0000 (10:45 +0200)]
rust-bin: bump version to 1.27.2

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomicropython: bump version to v1.9.4
Chris Packham [Thu, 9 Aug 2018 08:27:50 +0000 (20:27 +1200)]
micropython: bump version to v1.9.4

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mono: bump to version 5.12.0.301
Angelo Compagnucci [Sun, 5 Aug 2018 14:05:04 +0000 (16:05 +0200)]
package/mono: bump to version 5.12.0.301

This patch bump mono to version 5.12.0.301

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoUpdate for 2018.08-rc1
Thomas Petazzoni [Sun, 5 Aug 2018 13:40:05 +0000 (15:40 +0200)]
Update for 2018.08-rc1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinuxptp: add patch to fix no-thread/linuxthreads uClibc builds
Thomas Petazzoni [Sun, 5 Aug 2018 13:29:56 +0000 (15:29 +0200)]
linuxptp: add patch to fix no-thread/linuxthreads uClibc builds

linuxptp missing.h header implements a replacement clock_nanosleep()
function, which was used when the thread implementation was not NPTL,
because uClibc failed to provide clock_nanosleep() in such
configurations.

However, uClibc-ng has fixed this problem upstream, and has backported
this change in Buildroot in patch
package/uclibc/0002-librt-declare-clock_nanosleep-independent-of-thread-.patch
(the code is upstream and will be part of uClibc-ng 1.0.31). Due to
this, there is now a conflicting definition of clock_nanosleep()
between the C library and the linuxptp missing.h code, which manifests
itself by the following build failure:

missing.h:117:19: error: static declaration of 'clock_nanosleep' follows non-static declaration
 static inline int clock_nanosleep(clockid_t clock_id, int flags,
                   ^~~~~~~~~~~~~~~
In file included from clockadj.h:24:0,
                 from clockadj.c:24:

This commit fixes that by adding a patch that removes the replacement
clock_nanosleep() implementation from the linuxptp code base.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowiringpi: disable for static build
Peter Seiderer [Wed, 27 Jun 2018 19:21:50 +0000 (21:21 +0200)]
wiringpi: disable for static build

Static build of the wiringPi package is disabled by the tool author
(see wiringPi/noMoreStatic for details) since the version bump
to 2.46.

Fixes [1]:

  arm-linux-gcc.br_real: error: ../wiringPi/libwiringPi.a: No such file or directory

[1] http://autobuild.buildroot.net/results/a1ca953247475a5f31fe9283ade05c9cba26853b

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/qemu_sh4eb-r2d: restore the old sh-sci driver behaviour
Romain Naour [Sat, 16 Jun 2018 11:25:32 +0000 (13:25 +0200)]
configs/qemu_sh4eb-r2d: restore the old sh-sci driver behaviour

As for sh4-r2d (little-endian) restore the old sh-sci driver behaviour
for sh4eb-r2d.

Tested with qemu_sh4eb_r2d_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/qemu_sh4-r2d: restore the old sh-sci driver behaviour
Romain Naour [Sat, 16 Jun 2018 11:25:31 +0000 (13:25 +0200)]
configs/qemu_sh4-r2d: restore the old sh-sci driver behaviour

This reverts commit 18e8cf159177100e69d528293f8cf6875c0b1bca (kernel)

The last Qemu kernel update [1] introduced a regresion in sh4 SCIF
serial device. Some keyboard presses are very slow to be taken into
account, perhaps not even taken into account at all. This would
explain why our test infrastructure doesn’t manage to login as root
[2][3][4].

git bisect reported a kernel patch from 4.11, increasing RX FIFO
trigger defaults value for sh-sci (H)SCIF. The kernel patch itself
looks good but the Qemu emulation is not ready to handle this new
setting.

>From Qemu (2.12.0): target/sh4/README.sh4
"Configuration of the second serial port (SCIF) is supported. FIFO
handling infrastructure has been started but is not completed yet."

We can't use the first serial port (ttySC0) because it's the second
SH UART that's emulated by Qemu.

In order to be able to test sh4 architecture with newer kernel,
revert to the old behaviour.

[1] 03fb00f2175cdb4565e26fcb9b3da1c1059de1bd
[2] https://gitlab.com/free-electrons/toolchains-builder/-/jobs/72006425
[3] https://gitlab.com/free-electrons/toolchains-builder/-/jobs/72006427
[4] https://gitlab.com/free-electrons/toolchains-builder/-/jobs/72006426

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agovim: install /bin/vi as a relative symlink
Carlos Santos [Wed, 18 Jul 2018 12:34:43 +0000 (09:34 -0300)]
vim: install /bin/vi as a relative symlink

Prevent creating a dangling symlink when vim is not present on the host
machine. With BR2_ROOTFS_MERGED_USR, just link to "vim", since they are
on the same directory, otherwise link to "../usr/bin/vim".

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/pure-ftpd: add optional support for linux-pam
Artem Panfilov [Wed, 1 Aug 2018 13:21:14 +0000 (16:21 +0300)]
package/pure-ftpd: add optional support for linux-pam

Signed-off-by: Artem Panfilov <apanfilov@spectracom.com>
[Thomas: add explicit --without-pam when linux-pam is not enabled.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agognuradio: needs host-python2
Fabrice Fontaine [Tue, 26 Jun 2018 21:43:26 +0000 (23:43 +0200)]
gnuradio: needs host-python2

gnuradio needs host-python2 however there is no way to enforce this so
add a dependency on !BR2_PACKAGE_PYTHON3.
Indeed, if BR2_PACKAGE_PYTHON3 is selected, then buildroot will only
build host-python3.
This issue was not raised in the previous version of gnuradio as
host-python-cheetah was the only dependency and host-python-cheetah
enforces python2 through HOST_PYTHON_CHEETAH_NEEDS_HOST_PYTHON however
we now have host-python-six and host-python-mako dependencies and it
does not seem right to enforces python2 on those packages

Fixes:
 - http://autobuild.buildroot.net/results/a502fef3e2a40f38ca63332440b0b6bd2ed11d5a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agognuradio: remove host-python-cheetah dependency
Fabrice Fontaine [Tue, 26 Jun 2018 21:10:46 +0000 (23:10 +0200)]
gnuradio: remove host-python-cheetah dependency

host-python-cheetah has been replaced by host-python-mako:
https://github.com/gnuradio/volk/commit/1b2bedc8685c4dc2b3587068339d69b5ab1c874d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/glibc: remove --{with, without}-fp option
Romain Naour [Wed, 1 Aug 2018 19:47:29 +0000 (21:47 +0200)]
package/glibc: remove --{with, without}-fp option

This option has been removed since glibc 2.27 [1].

[1] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=8df5d34720dd71e934545bade879e04697830757

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/opencv3: fix build with gcc bug 64735
Bernd Kuhls [Wed, 1 Aug 2018 20:55:28 +0000 (22:55 +0200)]
package/opencv3: fix build with gcc bug 64735

OpenCV3 allows to disable the usage of std::exception_ptr:
https://github.com/opencv/opencv/issues/11878#issuecomment-402099255

Fixes
http://autobuild.buildroot.net/results/5ca/5ca221792c72c0a19f8b0e8303c0603d28f3c48e/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodocs/manual: update host gcc minimum required version
Baruch Siach [Sun, 5 Aug 2018 10:13:31 +0000 (13:13 +0300)]
docs/manual: update host gcc minimum required version

The oldest gcc that is known to work with current Buildroot is that of
RHEL 6, version 4.4.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/cutelyst: bump version to fix build issues
Daniel Nicoletti [Thu, 2 Aug 2018 13:38:13 +0000 (10:38 -0300)]
package/cutelyst: bump version to fix build issues

Fixes:

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

Signed-off-by: Daniel Nicoletti <dantti12@gmail.com>
[Thomas: add autobuilder reference.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/gdb: bump to version 8.1.1
Romain Naour [Fri, 3 Aug 2018 18:13:10 +0000 (20:13 +0200)]
package/gdb: bump to version 8.1.1

https://sourceware.org/ml/gdb-announce/2018/msg00002.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tinc: bump version to 1.0.34
Bernd Kuhls [Fri, 3 Aug 2018 20:04:55 +0000 (22:04 +0200)]
package/tinc: bump version to 1.0.34

Updated license hash after upstream commit:
http://www.tinc-vpn.org/git/browse?p=tinc;a=commitdiff;h=54b18a85f68652f94ac5ecffbd9d100879ed06ea

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/qt5/qt5base: fix PKG_CONFIG_LIBDIR
Bernd Kuhls [Thu, 2 Aug 2018 18:09:44 +0000 (20:09 +0200)]
package/qt5/qt5base: fix PKG_CONFIG_LIBDIR

By default pkgconf searches "${libdir}/pkgconfig:${datadir}/pkgconfig"
for .pc files:
https://github.com/pkgconf/pkgconf/blob/844f0a66621629a65e3cbf3c3ca47185602e9df5/configure.ac#L41

The new xorgproto package installs .pc files to ${datadir}/pkgconfig
whichs translates to $(STAGING_DIR)/usr/share/pkgconfig, for example
dri3proto:
https://cgit.freedesktop.org/xorg/proto/xorgproto/tree/Makefile.am#n65

whereas the old xproto_ packages installed their .pc files to
${libdir}/pkgconfig:
https://cgit.freedesktop.org/xorg/proto/dri3proto/tree/Makefile.am?id=3937f72040b79c7245b261da880364177cc40a6e#n4

Normally this upstream change is not a problem because pkgconf searches
both paths for .pc files, unless we define PKG_CONFIG_LIBDIR with
something else like we did for the last six years ;)
https://github.com/buildroot/buildroot/blame/master/package/qt5/qt5base/qt5base.mk#L280

This patch removes all variables concerning pkgconf paths. At the time
the qt5base package was introduced the pkgconf wrapper did not exist.
Today these variables are not necessary anymore.

Fixes
http://autobuild.buildroot.net/results/061/06159500c27026d56a772fafbb0d956c72dd4e6c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/aircrack-ng: needs dynamic library support
Bernd Kuhls [Thu, 2 Aug 2018 18:32:02 +0000 (20:32 +0200)]
package/aircrack-ng: needs dynamic library support

Fixes
http://autobuild.buildroot.net/results/611/61170d12811c70037ee875434a295ac35a2a5c50/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoluarocks: fix lua modules building with luajit
Francois Perrad [Sun, 29 Jul 2018 09:44:57 +0000 (11:44 +0200)]
luarocks: fix lua modules building with luajit

currently, when luajit is selected as luainterpreter,
all lua module fails to build with the message:
    Error: Failed finding Lua library. You may need to configure LUA_LIBDIR.

see http://autobuild.buildroot.net/results/66de049c306d7aff66894d53e2f4fa755fd01594

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/polkit: needs glibc
Yann E. MORIN [Sun, 5 Aug 2018 08:46:19 +0000 (10:46 +0200)]
package/polkit: needs glibc

The recent bump of polkit introduced a version that now unconditionally
uses glibc-specific functions from the getnetgrent() familly, which are
not available on musl or uClibc-ng.

Hide away polkit when the C library is not glibc.

Propagate the dependency to packages that select polkit: udisks and
systemd. For systemd, add a comment.

Fixes:
    http://autobuild.buildroot.org/results/d78/d783e6db60b187aa591f4b0150c590ab3aa5252f/ (musl)
    http://autobuild.buildroot.org/results/ba5/ba5da960c70c765bee753a79b9ad2c10967d05d6/ (uclibc)
    [...]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Marek Belisko <marek.belisko@open-nandra.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Artem Panfilov <apanfilov@spectracom.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoCHANGES: update for 2018.08-rc1
Thomas Petazzoni [Sat, 4 Aug 2018 17:10:50 +0000 (19:10 +0200)]
CHANGES: update for 2018.08-rc1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/lttng-tools: bump version to 2.10.5
Bernd Kuhls [Wed, 1 Aug 2018 06:14:47 +0000 (08:14 +0200)]
package/lttng-tools: bump version to 2.10.5

Added sha256 and license hashes, switched _SITE to https.

This bump includes
https://github.com/lttng/lttng-tools/commit/b4cf0332cc1164684bbc708b6c46c1d69a15b847
which fixes a musl build error:
http://autobuild.buildroot.net/results/09d/09d6d5e2d1c50dbd6c026e12aa245fc90687eb19/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/libdrm: bump version to 2.4.93
Bernd Kuhls [Wed, 1 Aug 2018 05:39:28 +0000 (07:39 +0200)]
package/libdrm: bump version to 2.4.93

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agofirmware-imx: fix EULA and COPYING hashes
Gary Bisson [Wed, 1 Aug 2018 08:21:00 +0000 (10:21 +0200)]
firmware-imx: fix EULA and COPYING hashes

NXP updated their EULA text to 2018.
Also add QCA text for their WiFi module firmware files.

Fixes:
http://autobuild.buildroot.net/results/144c3ac1902be605ca221e5685b13ba22db9a70e/
http://autobuild.buildroot.net/results/c8f787cc5309a9d216fb74b13e700e520facef64/

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/cutelyst: fix build dependencies
Daniel Nicoletti [Wed, 1 Aug 2018 11:47:38 +0000 (08:47 -0300)]
package/cutelyst: fix build dependencies

This commit adds missing optional dependencies on libpwquality and
jemalloc.

The optional dependency on grantlee is removed, because it fails to
build, so we explicitly disable grantlee support.

  http://autobuild.buildroot.net/results/ecbe25728a81f13e35a4315b64aacb8e592f5867/ (jemalloc)
  http://autobuild.buildroot.net/results/84c29fc0d6212f33ff1efdf8495cbb84e4eeed65/ (grantlee)

Signed-off-by: Daniel Nicoletti <dantti12@gmail.com>
[Thomas: explicitly disable grantlee support.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/polkit: bump version to 1.105
Artem Panfilov [Wed, 1 Aug 2018 07:41:08 +0000 (10:41 +0300)]
package/polkit: bump version to 1.105

Fixes build issue with network-manager package when polkit package is
enabled:

  CCLD     clients/cli/nmcli
clients/common/clients_cli_nmcli-nm-polkit-listener.o: In function `compare_users':
nm-polkit-listener.c:(.text.compare_users+0x48): undefined reference to `polkit_unix_user_get_name'
clients/common/clients_cli_nmcli-nm-polkit-listener.o: In function `initiate_authentication':
nm-polkit-listener.c:(.text.initiate_authentication+0x1c4): undefined reference to `polkit_unix_user_get_name'

Happening with the following defconfig:

BR2_arm=y
BR2_cortex_a8=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_INIT_SYSTEMD=y
BR2_PACKAGE_NETWORK_MANAGER=y
BR2_PACKAGE_SYSTEMD_POLKIT=y

Signed-off-by: Artem Panfilov <apanfilov@spectracom.com>
[Thomas: update hash file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-firmware: update hash of LICENSE.amdgpu
Thomas Petazzoni [Wed, 1 Aug 2018 07:47:25 +0000 (09:47 +0200)]
linux-firmware: update hash of LICENSE.amdgpu

In commit 51435be1f1e8d4f7f50c95a406ecde6cb0e22418 ("linux-firmware:
bump version to latest 8d69bab"), the hash of the LICENSE.amdgpu was
not updated as it should have been. Indeed, there was a copyright year
change in this file:

-Copyright (C) 2017  Advanced Micro Devices, Inc. All rights reserved.
+Copyright (C) 2018  Advanced Micro Devices, Inc. All rights reserved.

which changed the hash of this license file.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-firmware: fix hash for WHENCE license file
Thomas Petazzoni [Tue, 31 Jul 2018 21:51:10 +0000 (23:51 +0200)]
linux-firmware: fix hash for WHENCE license file

Commit 51435be1f1e8d4f7f50c95a406ecde6cb0e22418 ("linux-firmware: bump
version to latest 8d69bab") bumped the linux-firmware package, but
forgot to update the hash file accordingly for the license files.

Especially, the WHENCE file contains the list of all licenses for the
different firmware, so it gets updated pretty much whenever a new
firmware is added or a firmware is updated.

Update its hash to fix legal-info for the linux-firmware package, and
therefore fix:

  http://autobuild.buildroot.net/results/9795ac912d1bbe66386be9286f1703cdbe0a8898/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage: propagate pulseaudio dependencies correctly
Thomas Petazzoni [Tue, 31 Jul 2018 21:10:23 +0000 (23:10 +0200)]
package: propagate pulseaudio dependencies correctly

The BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC dependency of
BR2_PACKAGE_PULSEAUDIO was not properly propagated to reverse
dependencies, causing the following kconfig warning:

warning: (BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO && BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE && BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE && BR2_PACKAGE_KODI_PULSEAUDIO && BR2_PACKAGE_MPD_PULSEAUDIO && BR2_PACKAGE_EFL_PULSEAUDIO) selects BR2_PACKAGE_PULSEAUDIO which has unmet direct dependencies (BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS && !BR2_STATIC_LIBS && BR2_USE_MMU)

This commit fixes that by propagating the dependency as it should have
been done.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mesa3d: fix xlib_libxshmfence dependency
Bernd Kuhls [Sun, 29 Jul 2018 17:40:26 +0000 (19:40 +0200)]
package/mesa3d: fix xlib_libxshmfence dependency

Fixes
http://autobuild.buildroot.net/results/6b2/6b214f1013d2def0b7ff33af3115147f47afd7a1/
http://autobuild.buildroot.net/results/8b8/8b8251235f6b08ae2275659f7af241d6d43df074/
http://autobuild.buildroot.net/results/468/4681b76cbca66a267741df80719a4c2e032c6b00/
http://autobuild.buildroot.net/results/90f/90fee90a4a8f6bb35be94ee437f8f7c1f0cbb5d9/
http://autobuild.buildroot.net/results/1b8/1b862e22f9d1dfaf9b8d3a998061a83012302b05/
http://autobuild.buildroot.net/results/ebe/ebe3e12887c89649ad3de0045846836957d83396/
http://autobuild.buildroot.net/results/b7b/b7b300cc056bdc51a0570be2f250b806e306999e/
http://autobuild.buildroot.net/results/c39/c3960a95741341114ced8907de09b6a266999184/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogstreamer1: explicitly disable introspection
Adam Duskett [Sun, 29 Jul 2018 19:19:19 +0000 (15:19 -0400)]
gstreamer1: explicitly disable introspection

To get GStreamer ready for introspection, we must first explicitly
disable gstreamer1, plugins base and plugins bad from using
introspection. If not, adding the gobject-introspection will result in
these packages failing to build because setting the
_GIR_EXTRA_LIBS_PATH variable is required.

The other gstreamer1 packages do not require setting the
_GIR_EXTRA_LIBS_PATH variable.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/opencv3: bump version to 3.4.2
Bernd Kuhls [Mon, 30 Jul 2018 16:08:35 +0000 (18:08 +0200)]
package/opencv3: bump version to 3.4.2

Updated license hash after copyright year update:
https://github.com/opencv/opencv/commit/e6ed853905744018d9d570fa49e3b9e33b3c6ea6#diff-9879d6db96fd29134fc802214163b95a

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>