buildroot.git
6 years agocore/infra: fix build on toolchain without C++
Yann E. MORIN [Wed, 3 Jan 2018 17:39:52 +0000 (18:39 +0100)]
core/infra: fix build on toolchain without C++

Autotools-based packages that do not need C++ but check for it, and use
libtool, will fail to configure on distros that lack /lib/cpp.

This is the case for example on Arch Linux, where expat fails to build
with:

    configure: error: in `/home/dkc/src/buildroot/build/build/expat-2.2.4':
    configure: error: C++ preprocessor "/lib/cpp" fails sanity check

This is because libtool uses AC_PROC_CXXCPP, which can not be avoided,
and does require a cpp that passes some "sanity" checks (does not choke
on valid input, but does choke on invalid input). So we can use neither
/bin/false nor /bin/true...

We instead need something that can digest some basic C++ preprocessor
input. We can't use the target preprocessor: that does not work, because
it obviously has no C++ cupport:

    arm-linux-cpp.br_real: error: conftest.cpp: C++ compiler not
    installed on this system

We can however consider that the host machine does have a C++ compiler,
so we use the host' cpp, which is gcc's compiler wrapper that ends up
calling the host's C++ preprocessor.

That would give us a valid C++ preprocessor when we don't have one, in
fact. But autotools will then correctly fail anyway, because there is
indeed no C++ compiler at all, as we can see in this excerpt of a
configure log from expat:

    checking whether we are using the GNU C++ compiler... no
    checking whether false accepts -g... no
    checking dependency style of false... none
    checking how to run the C++ preprocessor... cpp
    checking whether the false linker (/home/ymorin/dev/buildroot/O/host/bin/arm-linux-ld) supports shared libraries... yes
    libtool.m4: error: problem compiling CXX test program
    checking for false option to produce PIC...  -DPIC
    checking if false PIC flag  -DPIC works... no
    checking if false static flag  works... no
    checking if false supports -c -o file.o... no
    checking if false supports -c -o file.o... (cached) no
    checking whether the false linker (/home/ymorin/dev/buildroot/O/host/bin/arm-linux-ld) supports shared libraries... yes

So, using the host's C++ preprocessor (by way of gcc's wrapper) leads to
a working situation, where the end result is as expected.

Reported-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Damien Riegel <damien.riegel@savoirfairelinux.com>
Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoconfigs/bananapro: bump Linux and U-Boot version
Jörg Krause [Thu, 4 Jan 2018 08:21:00 +0000 (09:21 +0100)]
configs/bananapro: bump Linux and U-Boot version

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agodaq: libdnet is optional not mandatory
Fabrice Fontaine [Sun, 7 Jan 2018 14:30:30 +0000 (15:30 +0100)]
daq: libdnet is optional not mandatory

libdnet is an optional dependency, it is only needed if nfq or ipq
module are enabled.

So, if libdnet and libnetfilter_queue are available, enable nfq module
and add a dependency to both packages otherwise disable nfq module.

Moreover, always disable ipq module as libipq is deprecated, it isn't
enable in iptables. Even if it was enabled, libipq.h can't be included
as it makes a reference to linux/netfilter_ipv4/ip_queue.h which is not
available anymore

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoconfigs: nitrogen*: bump u-boot version to 2017.07
Gary Bisson [Fri, 5 Jan 2018 14:39:47 +0000 (15:39 +0100)]
configs: nitrogen*: bump u-boot version to 2017.07

Also include new boot scripts to match standard distro uboot commands.

Our previous 6x_bootscript and 6x_upgrade used custom variables and
their naming don't make sense now that we target more than i.MX6 CPU.

Therefore those old scripts are marked as legacy and kept for now but
the goal is to deprecate and remove them later.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoconfigs: nitrogen*: bump kernel version to 4.9.x_1.0.0_ga
Gary Bisson [Fri, 5 Jan 2018 14:39:46 +0000 (15:39 +0100)]
configs: nitrogen*: bump kernel version to 4.9.x_1.0.0_ga

Currently based upon 4.9.74 stable release.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoconfigs: freescale_imx*: bump to version 4.9.x_1.0.0_ga
Gary Bisson [Fri, 5 Jan 2018 14:39:45 +0000 (15:39 +0100)]
configs: freescale_imx*: bump to version 4.9.x_1.0.0_ga

Also switch repository from old freescale site to codeaurora:
https://source.codeaurora.org/external/imx/

Cc: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx-uuc: bump revision to 2ae63428
Gary Bisson [Fri, 5 Jan 2018 14:39:44 +0000 (15:39 +0100)]
imx-uuc: bump revision to 2ae63428

Changelog:
- Setup utp via configfs
- Fix many compiler warnings
- Robustness improved

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx-kobs: bump revision to a0e9adce
Gary Bisson [Fri, 5 Jan 2018 14:39:43 +0000 (15:39 +0100)]
imx-kobs: bump revision to a0e9adce

Changelog:
- Fix compiler error with kernel headers >= 4.4
- Add i.MX8 platforms support

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx-vpu: bump to version 5.4.37
Gary Bisson [Fri, 5 Jan 2018 14:39:42 +0000 (15:39 +0100)]
imx-vpu: bump to version 5.4.37

Changelog:
- Integrate bug fixes

This patch is based on the following Yocto commit:
https://github.com/Freescale/meta-freescale/commit/b33b15e1

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx-parser: bump to version 4.2.1, enable on AArch64
Gary Bisson [Fri, 5 Jan 2018 14:39:41 +0000 (15:39 +0100)]
imx-parser: bump to version 4.2.1, enable on AArch64

Changelog:
1. Upgrade EULA to v18
2. Bugfixes/Optimization
 - Update HEVC PARSER 01.00.02/ APE PARSER 00.00.08/ MPEG2 PARSER 04.05.10
   1. Delete the useless label in HEVC PARSER.
   2. Fix 2 variables' not init in special case for APE PARSER.
   3. Fix one struct's not init for MPEG2 PARSER.
 - Fix one mp3 can't play on jb4.3_1.1.1-ga
   ID3V2 contains a picture larger than 3MB, need to save ID3 data size
   in self->m_dwID3V2Size to let parser skip it when starting playback.
 - Fix creating parser error
   When variable value is negative, if(bytesToRead) will return true,
   modify this condition to if(bytesToRead > 0).

Note that this package now includes AARCH64 libraries for the upcoming
i.MX8 CPU family.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx-codec: bump to version 4.2.1, enable on AArch64
Gary Bisson [Fri, 5 Jan 2018 14:39:40 +0000 (15:39 +0100)]
imx-codec: bump to version 4.2.1, enable on AArch64

Changelog:
1. Upgrade EULA to v18
2. Bugfix/Optimization
 - AACPlus: fixed playbe silence after 1s of stream
 - Removed duplicated code in aac_dec/aacplus_dec.
 - Removed unused code in flac_dec.

Note that this package now includes AARCH64 libraries for the upcoming
i.MX8 CPU family.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofirmware-imx: bump to version 6.0
Gary Bisson [Fri, 5 Jan 2018 14:39:39 +0000 (15:39 +0100)]
firmware-imx: bump to version 6.0

Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoxdriver_xf86-video-imx-viv: bump to version 6.2.2.p0
Gary Bisson [Fri, 5 Jan 2018 14:39:38 +0000 (15:39 +0100)]
xdriver_xf86-video-imx-viv: bump to version 6.2.2.p0

The following xorg.conf was used in order to force the use of the
vivante module:
https://github.com/Freescale/meta-freescale/blob/master/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf

Note that the X server must be started with the "noreset" option to
avoid crashes when closing X apps.
Tested with:
 # X -noreset &
 # cd /usr/share/examples/viv_samples/vdk/
 # DISPLAY=:0 ./tutorial7

Note that this package patch is removed as now upstream:
https://source.codeaurora.org/external/imx/xf86-video-imx-vivante/commit/?id=70ebd67c

Cc: Jérôme Pouiller <jezz@sysmic.org>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agokernel-module-imx-gpu-viv: bump to version 6.2.2.p0
Gary Bisson [Fri, 5 Jan 2018 14:39:37 +0000 (15:39 +0100)]
kernel-module-imx-gpu-viv: bump to version 6.2.2.p0

This package has been tested with the following commands:
 # modprobe galcore
 # cd /usr/share/examples/viv_samples/vdk/
 # ./tutorial7

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx-gpu-viv: bump to version 6.2.2.p0
Gary Bisson [Fri, 5 Jan 2018 14:39:36 +0000 (15:39 +0100)]
imx-gpu-viv: bump to version 6.2.2.p0

New features:
- Added mutex protection for referencing gctSIGNAL in gckOS_MapSignal to
  fix a MT race issue.
- Streamlined GPU address calculation base on MC20 (0/1) and MMU (0/1)
  combinations.
- Fixed multiple Android HWC 2.0 rendering issues. Refined HWC 2.0 driver
  implementation.
- Improved HWC2.0 composition performance by composing damaged regions
  only.
- Enabled offline/online compiler IR assembly dump function for users.
- Implemented the direct rendering support (no-resolve) for Wayland
  platform.
- Added EGL_EXT_buffer_age extension for Wayland and fbdev platforms.
- Updated wayland-viv protocol to support tile status sync from client
  to server.
- Improved OpenCL 1.2 builtin function support with native GPU
  instructions.
- Enabled OpenCL 1.2 API trace dump function controlled by VIV_TRACE
  environment variable.
- Support for OpenGL4.0
- Cleaned up driver code issues reported by Klocwork and Coverity.

Full changelog:
http://git.freescale.com/git/cgit.cgi/imx/fsl-arm-yocto-bsp.git/tree/GraphicsChangeLogv6?h=imx-morty

Note that the apitrace tool and the G2D libraries are not part of the
package any longer, so the corresponding options are removed. The G2D
libraries are now provided by a separate package.

This package has been tested with both X11 and Framebuffer backends:
 # cd /usr/share/examples/viv_samples/vdk/
 # ./tutorial7
 # gmem_info
 ... display memory use per PID ...

Also update packages that depended on g2d libraries to match new package
name.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx-gpu-g2d: new package
Gary Bisson [Fri, 5 Jan 2018 14:39:35 +0000 (15:39 +0100)]
imx-gpu-g2d: new package

Up until now, the G2D libraries were included inside the imx-gpu-viv
package. However, since next version of the i.MX will use a new
hardware IP to do 2D rendering (DPU), the GPU 2D libraries have been
separated from the 3D GPU package.

Tested with the following commands:
 # /usr/share/examples/g2d_samples/g2d_multiblit_test
 # /usr/share/examples/g2d_samples/g2d_overlay_test
 # /usr/share/examples/g2d_samples/g2d_test
 # gst-launch-1.0 videotestsrc ! imxg2dvideosink

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoDEVELOPERS: remove Will Newton from numactl
Thomas Petazzoni [Sun, 7 Jan 2018 14:24:56 +0000 (15:24 +0100)]
DEVELOPERS: remove Will Newton from numactl

His @imgtec.com e-mail address is boucing.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx-lib: bump to version imx_4.9.11_1.0.0_ga
Gary Bisson [Fri, 5 Jan 2018 14:39:34 +0000 (15:39 +0100)]
imx-lib: bump to version imx_4.9.11_1.0.0_ga

Also switching to git repository as done in Yocto recipe [1].

[1] https://github.com/Freescale/meta-freescale/blob/rocko/recipes-bsp/imx-lib/imx-lib_git.bb

Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofreescale-imx: add config options for i.MX6SL/SX and i.MX7D/ULP
Gary Bisson [Fri, 5 Jan 2018 14:39:33 +0000 (15:39 +0100)]
freescale-imx: add config options for i.MX6SL/SX and i.MX7D/ULP

In order to match the latest imx-lib PLATFORM variable requirements [1].

Also creating BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU so that it is easier
to hide/show the Vivante-related packages.

[1] https://github.com/Freescale/meta-freescale/blob/master/recipes-bsp/imx-lib/imx-lib_git.bb

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/kodi-peripheral-joystick: bump version to v1.3.4
Bernd Kuhls [Sat, 6 Jan 2018 17:25:31 +0000 (18:25 +0100)]
package/kodi-peripheral-joystick: bump version to v1.3.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/kodi-skin-confluence: bump version to 3.1.47
Bernd Kuhls [Sat, 6 Jan 2018 17:25:30 +0000 (18:25 +0100)]
package/kodi-skin-confluence: bump version to 3.1.47

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/kodi-pvr-vuplus: bump version to 2.4.12-Krypton
Bernd Kuhls [Sat, 6 Jan 2018 17:25:29 +0000 (18:25 +0100)]
package/kodi-pvr-vuplus: bump version to 2.4.12-Krypton

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/kodi-pvr-dvbviewer: bump version to 2.4.14-Krypton
Bernd Kuhls [Sat, 6 Jan 2018 17:25:28 +0000 (18:25 +0100)]
package/kodi-pvr-dvbviewer: bump version to 2.4.14-Krypton

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agonumactl: enable for aarch64
Vincent Stehlé [Sat, 6 Jan 2018 17:15:53 +0000 (18:15 +0100)]
numactl: enable for aarch64

numactl works on aarch64 so enable it for that architecture.

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Will Newton <will.newton@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/samba4: bump version to 4.7.4
Bernd Kuhls [Sat, 6 Jan 2018 17:50:20 +0000 (18:50 +0100)]
package/samba4: bump version to 4.7.4

Release notes: https://www.samba.org/samba/history/samba-4.7.4.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/zstd: bump version to v1.3.3
Bernd Kuhls [Sat, 6 Jan 2018 17:52:40 +0000 (18:52 +0100)]
package/zstd: bump version to v1.3.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/bluez5_utils: bump version to 5.48
Bernd Kuhls [Sat, 6 Jan 2018 18:01:21 +0000 (19:01 +0100)]
package/bluez5_utils: bump version to 5.48

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/intel-microcode: bump version to 20171117
Bernd Kuhls [Sat, 6 Jan 2018 18:07:01 +0000 (19:07 +0100)]
package/intel-microcode: bump version to 20171117

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/php: security bump to 7.1.13
Bernd Kuhls [Sat, 6 Jan 2018 18:36:57 +0000 (19:36 +0100)]
package/php: security bump to 7.1.13

Removed 0008-fix-asm-constraints-in-aarch64-multiply-macro.patch, patch
was applied upstream:
https://github.com/php/php-src/commit/d6d4f2a9b38cd7fa7e938142e49e5a514d612e52

Renumbered patch 0009.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocjson: bump to version 1.7.0
Fabrice Fontaine [Sat, 6 Jan 2018 19:45:15 +0000 (20:45 +0100)]
cjson: bump to version 1.7.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopython-xlib: fix LICENSE hash
Matt Weber [Sun, 7 Jan 2018 00:32:40 +0000 (18:32 -0600)]
python-xlib: fix LICENSE hash

Resolves:
http://autobuild.buildroot.net/results/762/7627e9da786852d6b08e2fc6092a5ce3ba2f4ea0/

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agonilfs-utils: need NPTL threads
Kurt Van Dijck [Thu, 4 Jan 2018 10:10:51 +0000 (11:10 +0100)]
nilfs-utils: need NPTL threads

nilfs-utils use clock_nanosleep(), which comes with NPTL threads. We
keep the dependency on threads, because sem_open() is really related
to thread support. The dependency on NPTL for clock_nanosleep() might
be lifted in the future, as it seems to be a bug in uClibc-ng.

Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
[Thomas: update Config.in comment.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agodaq: libpcap is optional not mandatory
Fabrice Fontaine [Thu, 4 Jan 2018 19:17:39 +0000 (20:17 +0100)]
daq: libpcap is optional not mandatory

daq can be compiled without libpcap thanks to --enable-pcap-module and
 --disable-pcap-module options.
libpcap is just a mandadory dependency of snort.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux-firmware: update Broadcom 43xxx file list
Jörg Krause [Thu, 4 Jan 2018 13:20:20 +0000 (14:20 +0100)]
linux-firmware: update Broadcom 43xxx file list

Add firmware file 'brcmfmac43430a0-sdio.bin' for bcm43430 revision 0.
Fix alphatical order for entry 'brcmfmac43430-sdio.bin'.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopython-xlib: new package
Joseph Kogut [Fri, 5 Jan 2018 21:13:07 +0000 (13:13 -0800)]
python-xlib: new package

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: fix license, it's LGPL-2.1+.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agotcf-agent: disable package for microblaze
Norbert Lange [Fri, 5 Jan 2018 21:50:17 +0000 (22:50 +0100)]
tcf-agent: disable package for microblaze

For now, tcf-agent fails to build on microblaze. Disable microblaze
until upstream is fixed.

Fixes:

  http://autobuild.buildroot.net/results/72554c9c70c1a068e4ed6612e65ea294e678bb0c/

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibzip: update legal hash for 1.4.0
Matt Weber [Sat, 6 Jan 2018 02:37:12 +0000 (20:37 -0600)]
libzip: update legal hash for 1.4.0

The copyright was updated in the LICENSES file

Fixes (one of many):
http://autobuild.buildroot.net/results/a64/a64ddf630aa44c7b0353f5a6818beffd20712615/

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{4, 9, 14}.x series
Fabio Estevam [Fri, 5 Jan 2018 15:35:15 +0000 (13:35 -0200)]
linux-headers: bump 4.{4, 9, 14}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux: bump default to version 4.14.12
Fabio Estevam [Fri, 5 Jan 2018 15:35:14 +0000 (13:35 -0200)]
linux: bump default to version 4.14.12

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibzip: bump to version 1.4.0
Baruch Siach [Thu, 4 Jan 2018 18:39:26 +0000 (20:39 +0200)]
libzip: bump to version 1.4.0

Upstream switched to cmake.

Add upstream patch that removes run of target binary on the host.

Cc: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoxr819-xradio: bump version to 33f4b1c2
Sergey Matyukevich [Thu, 4 Jan 2018 18:36:28 +0000 (21:36 +0300)]
xr819-xradio: bump version to 33f4b1c2

Out-of-tree driver has been updated according to mac80211
and timer API changes in the upcoming Linux v4.15.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agortl8189fs: bump revision to 569bdb91
Sergey Matyukevich [Thu, 4 Jan 2018 18:36:27 +0000 (21:36 +0300)]
rtl8189fs: bump revision to 569bdb91

Out-of-tree driver has been updated according to timer API changes
in the upcoming Linux v4.15.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agompd: bump to version 0.20.14
Jörg Krause [Thu, 4 Jan 2018 10:40:23 +0000 (11:40 +0100)]
mpd: bump to version 0.20.14

Remove upstream patch '0002-libupnp-1-6-24-compat.patch'.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agomariadb: security bump version to 10.1.30
Ryan Coe [Fri, 5 Jan 2018 14:47:26 +0000 (06:47 -0800)]
mariadb: security bump version to 10.1.30

Release notes: https://mariadb.com/kb/en/mariadb-10130-release-notes/
Changelog: https://mariadb.com/kb/en/mariadb-10130-changelog/

Fixes the following security vulnerability:

CVE-2017-15365 - Replication in sql/event_data_objects.cc occurs before ACL
checks.

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agogstreamer1: bump to version 1.12.4
Peter Korsgaard [Fri, 5 Jan 2018 11:42:53 +0000 (12:42 +0100)]
gstreamer1: bump to version 1.12.4

Fixes #10631

The gstreamer plugins were recently bumped to 1.12.4, but the main
gstreamer1 package not.  Fix that.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/imx6-sabresd: Bump U-Boot and kernel versions
Fabio Estevam [Wed, 3 Jan 2018 21:51:34 +0000 (19:51 -0200)]
configs/imx6-sabresd: Bump U-Boot and kernel versions

Bump to U-Boot 2017.11 and kernel to 4.14.11.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agozlib-ng: new package
Stefan Fröberg [Wed, 29 Nov 2017 21:17:14 +0000 (23:17 +0200)]
zlib-ng: new package

zlib-ng, a fast Zlib replacement

Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
[Thomas: drop host variant.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agozlib: switch to a virtual package
Stefan Fröberg [Wed, 29 Nov 2017 21:17:13 +0000 (23:17 +0200)]
zlib: switch to a virtual package

The existing zlib package is renamed to libzlib, and zlib is turned
into a virtual package. This is done in preparation to the
introduction of zlib-ng as an alternative implementation.

Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
[Thomas: define BR2_PACKAGE_PROVIDES_HOST_ZLIB as suggested by Yann
E. Morin.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocjson: add comment explaining how BUILD_SHARED_AND_STATIC_LIBS works
Thomas Petazzoni [Wed, 3 Jan 2018 21:30:44 +0000 (22:30 +0100)]
cjson: add comment explaining how BUILD_SHARED_AND_STATIC_LIBS works

This was missing in commit aca8412ce27fdb216e80145933baa13c15118719
("cjson: build shared and static library").

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocjson: build shared and static library
Fabrice Fontaine [Sun, 31 Dec 2017 16:29:33 +0000 (17:29 +0100)]
cjson: build shared and static library

cjson 1.6.0 added the BUILD_SHARED_AND_STATIC_LIBS option which is OFF
by default so set it depending on BR2_SHARED_STATIC_LIBS value.

If BUILD_SHARED_AND_STATIC_LIBS is set to OFF, cjson uses the standard
BUILD_SHARED_LIBS option which is passed by the cmake-package
infrastructure.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs: make it behave a bit more like the package infra
Yann E. MORIN [Thu, 28 Dec 2017 10:40:32 +0000 (11:40 +0100)]
fs: make it behave a bit more like the package infra

Currently, to register a filesystem, one has to call:

    $(eval $(call ROOTFS_TARGET,blabla))

This is very unlike the package infrastructure, where the name of the
package is automatically guessed by the infra.

It turns out that we can now do that for the filesystem infra too.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs/ubifs: spin-off ubi to be its own filesystem
Yann E. MORIN [Thu, 28 Dec 2017 10:40:31 +0000 (11:40 +0100)]
fs/ubifs: spin-off ubi to be its own filesystem

Currently, the ubifs-in-ubi-image ("UBI image" thereafter) filesystem
is half an option of the ubifs filesystem, half a filesystem on its
own: the config options are options of the ubifs filesystem, but the
.mk code is in a separate .mk and registers a real filesystem.

Make it a full filesystem on its own, in its own directory tree.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux-headers: bump 4.{4, 9, 14}.x series
Fabio Estevam [Tue, 2 Jan 2018 23:32:26 +0000 (21:32 -0200)]
linux-headers: bump 4.{4, 9, 14}.x series

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux: bump default to version 4.14.11
Fabio Estevam [Tue, 2 Jan 2018 23:32:25 +0000 (21:32 -0200)]
linux: bump default to version 4.14.11

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoconfigs/mx25pdk: Bump U-Boot and kernel versions
Fabio Estevam [Wed, 3 Jan 2018 19:10:09 +0000 (17:10 -0200)]
configs/mx25pdk: Bump U-Boot and kernel versions

Bump to U-Boot 2017.11 and kernel to 4.14.11.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agonilfs-utils: needs threads support
Baruch Siach [Tue, 2 Jan 2018 11:42:23 +0000 (13:42 +0200)]
nilfs-utils: needs threads support

nilfs-utils uses the sem_* family of functions from the realtime
extension. Technically this is not part of pthreads. But in uClibc
enabling threads enables also UCLIBC_HAS_REALTIME.

Fixes:
http://autobuild.buildroot.net/results/c5d/c5d93b6ab5b260fe5db46298b956a9ae765c828a/
http://autobuild.buildroot.net/results/9d6/9d6a248f9acbb58b6c2893de58978c6013332415/

Cc: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux-headers: bump 3.2.x series
Fabio Estevam [Tue, 2 Jan 2018 12:09:22 +0000 (10:09 -0200)]
linux-headers: bump 3.2.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/sysdig: bump to version 0.19.1
Angelo Compagnucci [Tue, 2 Jan 2018 16:25:26 +0000 (17:25 +0100)]
package/sysdig: bump to version 0.19.1

This patch bumps sysdig to version 0.19.1 and removes
an upstreamed patch.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agosupport/scripts: sort pie charts
Thomas De Schampheleire [Tue, 2 Jan 2018 14:07:23 +0000 (15:07 +0100)]
support/scripts: sort pie charts

Make sure that the pie charts produced by 'graph-build' and 'graph-size'
targets are sorted on the size of each piece of the pie. Otherwise, making
visual analysis is difficult, as one needs to look at the legends of each
piece and do the sorting manually in their head.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agotcf-agent: new package
Norbert Lange [Tue, 2 Jan 2018 17:39:25 +0000 (18:39 +0100)]
tcf-agent: new package

Signed-off-by: Norbert Lange <nolange79@gmail.com>
[Thomas: rename to tcf-agent, add missing dependency on BR2_USE_MMU.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs/iso9660: fix transparent (de)compression
Yann E. MORIN [Tue, 2 Jan 2018 20:04:12 +0000 (21:04 +0100)]
fs/iso9660: fix transparent (de)compression

It needs mkzftree from zisofs-tools, so we add a dependency to it, and
we call that one explicitly (to avoid using the one from the host in
PATH).

It also needs the the uncompressed kernel image, but because it is
already in target/ so it gets compressed by mkzftree. We have two
options:
  - compress everything but the kernel image,
  - compress everything, kernel included, and recopy it later.

We choose the latter, because it is the simplest solution. So, we always
define the kernel-copy hook, but only register it when needed.

Finally, it needs a kernel with support for transparent
(de)compression, so we update the existing test config.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/zisofs-tools: new package
Yann E. MORIN [Tue, 2 Jan 2018 20:04:11 +0000 (21:04 +0100)]
package/zisofs-tools: new package

To support transparent (de)compression in iso9660, we need mkzftree,
which comes from zisofs_tools, biundled with cdrkit.

However, cdrkit is a cmake package, but zisofs_tools is an autotools
package, so we need a separate package just to get mkzftree, but it is
pretty lightweight.

We just need the host variant for now,so we just add that.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Thomas: add entry to DEVELOPERS file, rename to zisofs-tools.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibdrm: fix libatomic_ops linking
Peter Seiderer [Mon, 18 Dec 2017 18:55:31 +0000 (19:55 +0100)]
libdrm: fix libatomic_ops linking

Add patch 0003-configure-Makefile.am-use-pkg-config-to-discover-lib.patch
provided by Thomas Petazzoni handling libatomic_ops linking when needed.

Fixes [1]:

    CCLD     etnaviv_cmd_stream_test
  ../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to `AO_store_full_emulation'
  ../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to `AO_fetch_compare_and_swap_emulation'
  collect2: error: ld returned 1 exit status

[1] http://autobuild.buildroot.net/results/92e074c49417261843eef95872ff935a56077c98

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoeeprog: remove package
Baruch Siach [Tue, 2 Jan 2018 06:16:01 +0000 (08:16 +0200)]
eeprog: remove package

The i2c-tools package has adopted the code of eeprog.

Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoi2c-tools: fix static build
Baruch Siach [Tue, 2 Jan 2018 05:36:19 +0000 (07:36 +0200)]
i2c-tools: fix static build

Add a patch to disable installation of dynamic library on static build.

Fixes:
http://autobuild.buildroot.net/results/2ba/2bab61f82fdab8fe7e13da61b7814a4c33501cd8/
http://autobuild.buildroot.net/results/284/28474ec930dc82fa504c57927e1f9bd994b2774a/
http://autobuild.buildroot.net/results/a1b/a1bf99467ad3661dcb3ede491a70a57f1f1e01b1/

Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agogst1-validate: bump to 1.12.4
Adam Duskett [Mon, 1 Jan 2018 16:17:22 +0000 (11:17 -0500)]
gst1-validate: bump to 1.12.4

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agogst1-libav: bump to 1.12.4
Adam Duskett [Mon, 1 Jan 2018 16:17:21 +0000 (11:17 -0500)]
gst1-libav: bump to 1.12.4

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agogst-omx: bump to 1.12.4
Adam Duskett [Mon, 1 Jan 2018 16:17:20 +0000 (11:17 -0500)]
gst-omx: bump to 1.12.4

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agogst1-vaapi: bump to 1.12.4
Adam Duskett [Mon, 1 Jan 2018 16:17:19 +0000 (11:17 -0500)]
gst1-vaapi: bump to 1.12.4

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agogst1-rtsp-server: bump to 1.12.4
Adam Duskett [Mon, 1 Jan 2018 16:17:18 +0000 (11:17 -0500)]
gst1-rtsp-server: bump to 1.12.4

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agogst1-plugins-ugly: bump to 1.12.4
Adam Duskett [Mon, 1 Jan 2018 16:17:17 +0000 (11:17 -0500)]
gst1-plugins-ugly: bump to 1.12.4

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agogst1-plugins-bad: bump to 1.12.4
Adam Duskett [Mon, 1 Jan 2018 16:17:16 +0000 (11:17 -0500)]
gst1-plugins-bad: bump to 1.12.4

Remove patch, as it has been added upstream.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agogst1-plugins-good: bump to 1.12.4
Adam Duskett [Mon, 1 Jan 2018 16:17:15 +0000 (11:17 -0500)]
gst1-plugins-good: bump to 1.12.4

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agogst1-plugins-base: bump to 1.12.4
Adam Duskett [Mon, 1 Jan 2018 16:17:14 +0000 (11:17 -0500)]
gst1-plugins-base: bump to 1.12.4

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/meson: fix malformed cross-compilation.conf.in
Yann E. MORIN [Sat, 30 Dec 2017 09:56:35 +0000 (10:56 +0100)]
package/meson: fix malformed cross-compilation.conf.in

Currently, meson will set the c_link_args and the cpp_link_args to the
value of TARGET_LDFLAGS, even when it's not defined.

This creates a malformed array ["",] which will break any package
building using meson/ninja.

We fix that by using an empty replacement when the corresponding values
are empty.

Reported-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
[yann.morin.1998@free.fr: alternate implementation, suggested by Thomas]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Adam Duskett aduskett@gmail.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/brltty: depends on BR2_USE_MMU due to calls to fork()
Mario Lang [Mon, 1 Jan 2018 15:12:18 +0000 (16:12 +0100)]
package/brltty: depends on BR2_USE_MMU due to calls to fork()

Fixes:
  http://autobuild.buildroot.net/results/489dd7a19911b45ae7b0f1eade63def793e03ade

Signed-off-by: Mario Lang <mlang@blind.guru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agosysstat: bump to version 11.6.1
Baruch Siach [Mon, 1 Jan 2018 19:24:42 +0000 (21:24 +0200)]
sysstat: bump to version 11.6.1

The isag tool has been removed in version 11.5.5; no need to avoid its
installation anymore.

Add license file hash.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoDEVELOPERS: Add myself to mpv & others
Mahyar Koshkouei [Mon, 1 Jan 2018 16:39:32 +0000 (16:39 +0000)]
DEVELOPERS: Add myself to mpv & others

Additionally added myself to ffmpeg, rpi-firmware and rpi-userland as
changes to mpv may require updates or other changes to these packages
and vice-versa.

Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agompv: fix typo in variable name
Thomas Petazzoni [Mon, 1 Jan 2018 21:44:46 +0000 (22:44 +0100)]
mpv: fix typo in variable name

FFMPEG_DEPENDENCIES shouldn't be used in mpv.mk. This typo was
introduced in commit 8e741412d444f9fd2a9af75bf33066a083f7f81b ("mpv:
add support for Raspberry Pi "rpi" output").

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agovlc: enable package on ARC
Evgeniy Didin [Wed, 11 Oct 2017 12:50:05 +0000 (15:50 +0300)]
vlc: enable package on ARC

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
CC: Alexey Brodkin <abrodkin@synopsys.com>
CC: arc-buildroot@synopsys.com
CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocoreutils: expand list of files moved from /usr/bin to /bin
Carlos Santos [Thu, 12 Oct 2017 23:33:32 +0000 (20:33 -0300)]
coreutils: expand list of files moved from /usr/bin to /bin

BusyBox installs kill, link, mktemp, nice and printenv on /bin, so
ensure that coreutils replaces them.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agompv: add support for Raspberry Pi "rpi" output
Mahyar Koshkouei [Tue, 24 Oct 2017 09:07:40 +0000 (10:07 +0100)]
mpv: add support for Raspberry Pi "rpi" output

mpv now compiles with the "rpi" video driver that provides hardware
acceleration on the Raspberry Pi.

Tested working on a Raspberry Pi 1 Model B+ and Zero.

Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
[Thomas: drop unneeded dependency on rpi-firmware.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoffmpeg: RaspberryPi support does not need rpi-firmware
Thomas Petazzoni [Mon, 1 Jan 2018 12:44:28 +0000 (13:44 +0100)]
ffmpeg: RaspberryPi support does not need rpi-firmware

rpi-userland provides the user-space blobs needed for OpenGL and al.,
rpi-firmware is not needed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoarch: add Atom CPUs as Silvermont Architecture target
Norbert Lange [Tue, 24 Oct 2017 12:22:06 +0000 (14:22 +0200)]
arch: add Atom CPUs as Silvermont Architecture target

The old Atom target is not really fitting for recent Atom CPUs based
on Silvermont, Airmont or Goldmont. Those have more in common with
older Desktop CPUs than old Atoms.

Signed-off-by: Norbert Lange <norbert.lange@andritz.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agodocs/website: update for 2017.02.9
Peter Korsgaard [Mon, 1 Jan 2018 11:51:59 +0000 (12:51 +0100)]
docs/website: update for 2017.02.9

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoUpdate for 2017.02.9
Peter Korsgaard [Mon, 1 Jan 2018 11:20:54 +0000 (12:20 +0100)]
Update for 2017.02.9

[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 8f03647169a17b10503594e5f3d95113a01171f9)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agogconf: new package
Joseph Kogut [Tue, 21 Nov 2017 02:02:58 +0000 (18:02 -0800)]
gconf: new package

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
[Thomas:
 - propagate dependencies of selected packages in Config.in
 - add missing Config.in comment about dependencies
 - add missing upstream URL in Config.in
 - add missing comment header in .mk file
 - remove --disable-nls from configuration options, it is taken care
   of by the package infrastructure
 - remove --disable-dependency-tracking, it is taken care of in the
   package infrastructure
 - add $(TARGET_NLS_DEPENDENCIES) to <pkg>_DEPENDENCIES, since gconf
   has optional NLS support
 - add host-intltool to <pkg>_DEPENDENCIES, since gconf needs
   intltool-update
 - fix license: it's LGPL-2.0+, not GPL-2.0.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agotoolchain: post-pone evaluation of TOOLCHAIN_EXTERNAL_BIN
Thomas Petazzoni [Fri, 1 Dec 2017 20:53:39 +0000 (21:53 +0100)]
toolchain: post-pone evaluation of TOOLCHAIN_EXTERNAL_BIN

The upcoming per-package SDK functionality is heavily based on the
fact that HOST_DIR, STAGING_DIR and TARGET_DIR are evaluated during
the configure/build/install steps of the packages. Therefore, any
evaluation-during-assignment using := is going to cause problems, and
need to be turned into evaluation-during-use using =.

This patch fix up one such instance in the external toolchain code.

This change is independent from the per-package SDK functionality, and
could be applied separately.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopkgconf: use relative path to STAGING_DIR instead of absolute path
Thomas Petazzoni [Fri, 1 Dec 2017 20:53:38 +0000 (21:53 +0100)]
pkgconf: use relative path to STAGING_DIR instead of absolute path

The pkg-config wrapper script is currently generated with absolute
paths to $(STAGING_DIR). However, this will not work properly with
per-package SDK, and each package will be built with a different
STAGING_DIR value.

In order to fix this, we adjust how the pkg-config wrapper script is
generated, so that it uses a relative path to itself: the sysroot (i.e
STAGING_DIR) is always located in $(path of
pkg-config)/../$(STAGING_SUBDIR).

This change is independent from the per-package SDK work, and could be
applied independently from it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocore/tests: add test for compressed iso9660
Yann E. MORIN [Wed, 20 Dec 2017 21:27:43 +0000 (22:27 +0100)]
core/tests: add test for compressed iso9660

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: really set the transparent compression option, take into
account the renaming of the option.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs/iso9660: add option for transparent (de)compression
Yann E. MORIN [Wed, 20 Dec 2017 21:27:42 +0000 (22:27 +0100)]
fs/iso9660: add option for transparent (de)compression

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: rename option to BR2_TARGET_ROOTFS_ISO9660_TRANSPARENT_COMPRESSION.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/libgta: new package
Romain Naour [Tue, 26 Dec 2017 21:10:06 +0000 (22:10 +0100)]
package/libgta: new package

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agonilfs-utils: new package
Kurt Van Dijck [Thu, 28 Dec 2017 19:45:55 +0000 (20:45 +0100)]
nilfs-utils: new package

nilfs-utils provides the user-space utilities for the nilfs2
filesystem.

Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocurlpp: new package
Sergio Prado [Sun, 31 Dec 2017 11:55:04 +0000 (09:55 -0200)]
curlpp: new package

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoutil-linux: bump to version 2.31.1
Carlos Santos [Sun, 31 Dec 2017 11:51:45 +0000 (09:51 -0200)]
util-linux: bump to version 2.31.1

Changes in this version:

- Small improvement and bug fixes.
- Install rfkill at /usr/sbin (thus overriding the one eventually
  installed by BusyBox).

Drop the md5 patch, already applyed upstream.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoi2c-tools: fix missing runtime library
Baruch Siach [Sun, 31 Dec 2017 13:25:45 +0000 (15:25 +0200)]
i2c-tools: fix missing runtime library

When building with dynamic library support, i2c-tools utilities are
linked against the libi2c.so library. Current i2c-tools install commands
don't take this into account, which leads to the following run-time
error:

eeprog: error while loading shared libraries: libi2c.so.0: cannot open shared object file: No such file or directory

Use the native install target to fix that.

Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agonetcat-openbsd: depends on linux-headers >= 3.12
Gaël PORTAY [Tue, 28 Nov 2017 15:44:37 +0000 (10:44 -0500)]
netcat-openbsd: depends on linux-headers >= 3.12

This debian fork of netcat includes the kernel UAPI inet6 header. This
header conflicts with the existing libc inet header and causes
redefinition of structures when they are both included.

The compiler raises the following error:

/home/buildroot/build/instance-0/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/linux/in6.h:30:8: error: redefinition of 'struct in6_addr' struct in6_addr {

>From version 3.12 of linux, the kernel UAPI header has mechanisms in
libc-compat.h to prevent such situations (see __UAPI_DEF_SOCKADDR_IN6
macros).

Unfortunately the build is broken when toolchains do not satisfy at least
the linux headers condition (>= 3.12).

The package now depends on the toolchain headers at least 3.12.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
[Thomas: update Config.in comment about the 3.12 headers dependency.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoeeprog: fix homepage link
Baruch Siach [Sun, 31 Dec 2017 11:25:06 +0000 (13:25 +0200)]
eeprog: fix homepage link

The current link leads to a 400 Bad Request error page.

Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agojson-c: fix build without threads support
Baruch Siach [Sat, 30 Dec 2017 22:31:29 +0000 (00:31 +0200)]
json-c: fix build without threads support

An uClibc toolchain that does not support threads emits a warning when
_REENTRANT is defined. This breaks build with -Werror. Remove -Werror as
a workaround to fix the build.

This issue as been reported upstream
(https://github.com/json-c/json-c/issues/396).

Fixes:
http://autobuild.buildroot.net/results/606/60683141f2ef320a28820c4cd65d2b951123b147/
http://autobuild.buildroot.net/results/969/969faba96d94c1bda7e06b005d8f3a3f7175a0a2/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agodocs/website: update for 2017.11.1
Peter Korsgaard [Sun, 31 Dec 2017 09:42:11 +0000 (10:42 +0100)]
docs/website: update for 2017.11.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>