buildroot.git
7 years agoluaposix: fix runtime by selecting "bit32" instead of "bitop"
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:37 +0000 (18:00 +0100)]
luaposix: fix runtime by selecting "bit32" instead of "bitop"

Since the bump of luaposix to 33.4.0, it doesn't work anymore at
runtime with LuaJIT or Lua 5.1. This can be tested with the following
defconfig:

BR2_x86_64=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_PACKAGE_LUA=y
BR2_PACKAGE_LUA_5_1=y
BR2_PACKAGE_LUAPOSIX=y

/usr/bin/lua: /usr/share/lua/5.1/posix/init.lua:17: module 'bit32' not found:
...

In older luaposix versions, it would try to load the 'bit' instead of
'bit32' module if LUAVER == 5.1. However, this feature was removed in
33.4.0.

So instead of adding a runtime dependency on luabitop, depend on
lua-bit32.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolua-bit32: new package
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:36 +0000 (18:00 +0100)]
lua-bit32: new package

This package is needed to make luaposix work.

The upstream name is just "bit32", but the luarocks infra doesn't
support an upstream name different from the Buildroot name. We therefore
have to explicitly set all variables and we need custom extract
commands.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas:
 - add entry to DEVELOPERS file
 - remove useless "depends on BR2_PACKAGE_HAS_LUAINTERPRETER" in
   Config.in file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolunit: remove default definition of PKG_SUBDIR
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:34 +0000 (18:00 +0100)]
lunit: remove default definition of PKG_SUBDIR

The luarocks infra already provides the correct default value for
PKG_SUBDIR, so it doesn't have to be defined in the .mk file.

Therefore, _VERSION_UPSTREAM doesn't need to be defined either.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoluacrypto: remove default definition of PKG_SUBDIR
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:33 +0000 (18:00 +0100)]
luacrypto: remove default definition of PKG_SUBDIR

The luarocks infra already provides the correct default value for
PKG_SUBDIR, so it doesn't have to be defined in the .mk file.

Therefore, _VERSION_UPSTREAM doesn't need to be defined either.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolua-iconv: remove default definition of PKG_SUBDIR
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:32 +0000 (18:00 +0100)]
lua-iconv: remove default definition of PKG_SUBDIR

The luarocks infra already provides the correct default value for
PKG_SUBDIR, so it doesn't have to be defined in the .mk file.

Therefore, _VERSION_UPSTREAM doesn't need to be defined either.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolua-csnappy: remove default definition of PKG_SUBDIR
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:31 +0000 (18:00 +0100)]
lua-csnappy: remove default definition of PKG_SUBDIR

The luarocks infra already provides the correct default value for
PKG_SUBDIR, so it doesn't have to be defined in the .mk file.

Therefore, _VERSION_UPSTREAM doesn't need to be defined either.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoljlinenoise: remove default definition of PKG_SUBDIR
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:30 +0000 (18:00 +0100)]
ljlinenoise: remove default definition of PKG_SUBDIR

The luarocks infra already provides the correct default value for
PKG_SUBDIR, so it doesn't have to be defined in the .mk file.

Therefore, _VERSION_UPSTREAM doesn't need to be defined either.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoluasec: remove LUASEC_VERSION_UPSTREAM
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:29 +0000 (18:00 +0100)]
luasec: remove LUASEC_VERSION_UPSTREAM

It is not used for anything.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolua-periphery: remove LUA_PERIPHERY_VERSION_UPSTREAM
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:28 +0000 (18:00 +0100)]
lua-periphery: remove LUA_PERIPHERY_VERSION_UPSTREAM

It is not used for anything.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolpty: remove LPTY_VERSION_UPSTREAM
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:27 +0000 (18:00 +0100)]
lpty: remove LPTY_VERSION_UPSTREAM

It is not used for anything.

Note that the SUBDIR is NOT the usual lpty-$(LPTY_VERSION_UPSTREAM);
it *does* have the rockspec version in its name.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomanual: luarocks: improve tutorial example
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:26 +0000 (18:00 +0100)]
manual: luarocks: improve tutorial example

The license file in a luarocks package is always inside the subdir, so the
example should reflect this.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoluarocks-package: use $(HOST_PKG_VERSION) instead of $(PKG_VERSION)
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:25 +0000 (18:00 +0100)]
luarocks-package: use $(HOST_PKG_VERSION) instead of $(PKG_VERSION)

The inner-luarocks-package macro was using $(3)_VERSION as the package
version, i.e. the version of the target package, even when it's the
host package. We should instead use $(2)_VERSION, i.e. the host package
version, like is done in inner-generic-package.

Since luarocks-package doesn't even support a host version, it doens't
make a whole lot of difference, but let's keep things consistent.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocosmo: remove broken package
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:24 +0000 (18:00 +0100)]
cosmo: remove broken package

The cosmo package has been marked as broken for two and a half years
now, and nobody cared. Get rid of it.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolutok: move to Lua libraries menu
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:23 +0000 (18:00 +0100)]
lutok: move to Lua libraries menu

Since this package really is a Lua extension, it fits under the Lua
libraries menu.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-crossbar: add a warning comment concerning version bump
Yegor Yefremov [Thu, 2 Mar 2017 13:58:53 +0000 (14:58 +0100)]
python-crossbar: add a warning comment concerning version bump

The latest crossbar needs a rather recent setuptools package, that
has circular dependencies. Until this issue is not resolved, it is
not safe to bump crossbar version.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/fastd: do not overwrite the cmake module path
Yann E. MORIN [Thu, 2 Mar 2017 21:03:16 +0000 (22:03 +0100)]
package/fastd: do not overwrite the cmake module path

fastd's CMakeList.txt completely overwrites CMAKE_MODULE_PATH with its
own, thus causing cmake to not find our own custom one.

We fix fastd by appending its custom value, rather than replacing.

Fixes:

   http://autobuild.buildroot.net/results/69f/69fb2e3b549a069e2898506db918423e6742c589/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Alexander Dahl <post@lespocky.de>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Ben Boeckel <mathstuf@gmail.com>
Cc: Jörg Krause <joerg.krause@embedded.rocks>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/cmake: impersonate a Linux system even more
Yann E. MORIN [Thu, 2 Mar 2017 21:03:15 +0000 (22:03 +0100)]
support/cmake: impersonate a Linux system even more

Some packages test the system name to decide whether to enable/disable
features or link with specific libs.

So we forcefully set the system name form our custom system file, so
that packagses still believe they are running on Linux rather than
Buildroot.

Fixes:
    fastd      : http://autobuild.buildroot.net/results/f1d/f1dfe90068ad62e733f17a22202235415bda3974/
    paho-mqtt-c: http://autobuild.buildroot.net/results/457/457d76279e16247bf58c838a2c5dd0a4f3962c21/
    libiio     : http://autobuild.buildroot.net/results/281/2812b008a0ab6bab5fe4d45eb9ffe4e9496a8cb4/
    and so on...

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reported-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Ben Boeckel <mathstuf@gmail.com>
Cc: Jörg Krause <joerg.krause@embedded.rocks>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-xlwt: bump to version 1.2.0
Adam Duskett [Sun, 19 Feb 2017 19:12:55 +0000 (14:12 -0500)]
python-xlwt: bump to version 1.2.0

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-xlsxwriter: bump to version 0.9.6
Adam Duskett [Sun, 19 Feb 2017 19:12:54 +0000 (14:12 -0500)]
python-xlsxwriter: bump to version 0.9.6

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-whoosh: bump to version 2.7.4
Adam Duskett [Sun, 19 Feb 2017 19:12:53 +0000 (14:12 -0500)]
python-whoosh: bump to version 2.7.4

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-werkzeug: bump to version 0.11.15
Adam Duskett [Sun, 19 Feb 2017 19:12:52 +0000 (14:12 -0500)]
python-werkzeug: bump to version 0.11.15

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Tested-by: Lionel Flandrin <lionel@svkt.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-urllib3: bump to version 1.20
Adam Duskett [Sun, 19 Feb 2017 19:12:51 +0000 (14:12 -0500)]
python-urllib3: bump to version 1.20

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-twisted: bump to version 17.1.0
Adam Duskett [Sun, 19 Feb 2017 19:12:50 +0000 (14:12 -0500)]
python-twisted: bump to version 17.1.0

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-treq: bump to version 16.12.0
Adam Duskett [Sun, 19 Feb 2017 19:12:49 +0000 (14:12 -0500)]
python-treq: bump to version 16.12.0

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-simplejson: bump to version 3.10.0
Adam Duskett [Sun, 19 Feb 2017 19:12:48 +0000 (14:12 -0500)]
python-simplejson: bump to version 3.10.0

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-sh: bump to version 1.12.9
Adam Duskett [Sun, 19 Feb 2017 19:12:47 +0000 (14:12 -0500)]
python-sh: bump to version 1.12.9

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-setuptools-scm: bump to version 1.15.1rc1
Adam Duskett [Sun, 19 Feb 2017 19:12:46 +0000 (14:12 -0500)]
python-setuptools-scm: bump to version 1.15.1rc1

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-rpi-gpio: bump to version 0.6.3
Adam Duskett [Sun, 19 Feb 2017 19:12:45 +0000 (14:12 -0500)]
python-rpi-gpio: bump to version 0.6.3

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-requests-toolbelt: bump to version 0.7.1
Adam Duskett [Sun, 19 Feb 2017 19:12:44 +0000 (14:12 -0500)]
python-requests-toolbelt: bump to version 0.7.1

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-requests: bump to version 2.13.0
Adam Duskett [Sun, 19 Feb 2017 19:12:43 +0000 (14:12 -0500)]
python-requests: bump to version 2.13.0

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pytrie: bump to version 0.3
Adam Duskett [Sun, 19 Feb 2017 19:12:41 +0000 (14:12 -0500)]
python-pytrie: bump to version 0.3

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pysocks: bump to version 1.6.6
Adam Duskett [Sun, 19 Feb 2017 19:12:40 +0000 (14:12 -0500)]
python-pysocks: bump to version 1.6.6

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pysnmp: bump to version 4.3.3
Adam Duskett [Sun, 19 Feb 2017 19:12:39 +0000 (14:12 -0500)]
python-pysnmp: bump to version 4.3.3

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pysmb: bump to version 1.1.19
Adam Duskett [Sun, 19 Feb 2017 19:12:38 +0000 (14:12 -0500)]
python-pysmb: bump to version 1.1.19

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pyroute2: bump to version 0.4.13
Adam Duskett [Sun, 19 Feb 2017 19:12:37 +0000 (14:12 -0500)]
python-pyroute2: bump to version 0.4.13

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pyro: bump to version 3.16
Adam Duskett [Sun, 19 Feb 2017 19:12:36 +0000 (14:12 -0500)]
python-pyro: bump to version 3.16

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pyparsing: bump to version 2.1.10
Adam Duskett [Sun, 19 Feb 2017 19:12:35 +0000 (14:12 -0500)]
python-pyparsing: bump to version 2.1.10

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pymysql: bump to version 0.7.10
Adam Duskett [Sun, 19 Feb 2017 19:12:34 +0000 (14:12 -0500)]
python-pymysql: bump to version 0.7.10

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pygments: bump to version 2.2.0
Adam Duskett [Sun, 19 Feb 2017 19:12:33 +0000 (14:12 -0500)]
python-pygments: bump to version 2.2.0

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pydal: bump to version 17.1
Adam Duskett [Sun, 19 Feb 2017 19:12:32 +0000 (14:12 -0500)]
python-pydal: bump to version 17.1

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pycparser: bump to version 2.17
Adam Duskett [Sun, 19 Feb 2017 19:12:31 +0000 (14:12 -0500)]
python-pycparser: bump to version 2.17

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pycli: bump to version 2.0.3
Adam Duskett [Sun, 19 Feb 2017 19:12:30 +0000 (14:12 -0500)]
python-pycli: bump to version 2.0.3

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pyasn: bump to version 1.6.0b1
Adam Duskett [Sun, 19 Feb 2017 19:12:29 +0000 (14:12 -0500)]
python-pyasn: bump to version 1.6.0b1

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pudb: bump to version 2017.1.1
Adam Duskett [Sun, 19 Feb 2017 19:12:28 +0000 (14:12 -0500)]
python-pudb: bump to version 2017.1.1

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-prompt-toolkit: bump to version 1.0.13
Adam Duskett [Sun, 19 Feb 2017 19:12:26 +0000 (14:12 -0500)]
python-prompt-toolkit: bump to version 1.0.13

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-netaddr: bump to version 0.7.19
Adam Duskett [Sun, 19 Feb 2017 19:12:24 +0000 (14:12 -0500)]
python-netaddr: bump to version 0.7.19

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-mutagen: bump to version 1.36.2
Adam Duskett [Sun, 19 Feb 2017 19:12:22 +0000 (14:12 -0500)]
python-mutagen: bump to version 1.36.2

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-mbstrdecoder: bump to version 0.2.2
Adam Duskett [Sun, 19 Feb 2017 19:12:21 +0000 (14:12 -0500)]
python-mbstrdecoder: bump to version 0.2.2

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-markdown: bump to version 2.6.8
Adam Duskett [Sun, 19 Feb 2017 19:12:20 +0000 (14:12 -0500)]
python-markdown: bump to version 2.6.8

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-mako: bump to version 1.0.6
Adam Duskett [Sun, 19 Feb 2017 19:12:19 +0000 (14:12 -0500)]
python-mako: bump to version 1.0.6

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-jinja2: bump to version 2.9.5
Adam Duskett [Sun, 19 Feb 2017 19:12:17 +0000 (14:12 -0500)]
python-jinja2: bump to version 2.9.5

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-ipython: bump to version 5.2.2
Adam Duskett [Sun, 19 Feb 2017 19:12:16 +0000 (14:12 -0500)]
python-ipython: bump to version 5.2.2

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-ipaddress: bump to version 1.0.18
Adam Duskett [Sun, 19 Feb 2017 19:12:15 +0000 (14:12 -0500)]
python-ipaddress: bump to version 1.0.18

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-idna: bump to version 2.2
Adam Duskett [Sun, 19 Feb 2017 19:12:14 +0000 (14:12 -0500)]
python-idna: bump to version 2.2

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-httplib2: bump to version 0.10.3
Adam Duskett [Sun, 19 Feb 2017 19:12:13 +0000 (14:12 -0500)]
python-httplib2: bump to version 0.10.3

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-flup: bump to version 1.0.3.dev20161029
Adam Duskett [Sun, 19 Feb 2017 19:12:12 +0000 (14:12 -0500)]
python-flup: bump to version 1.0.3.dev20161029

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-flask-login: bump to version 0.4.0
Adam Duskett [Sun, 19 Feb 2017 19:12:11 +0000 (14:12 -0500)]
python-flask-login: bump to version 0.4.0

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-enum34: bump to version 1.1.6
Adam Duskett [Sun, 19 Feb 2017 19:12:10 +0000 (14:12 -0500)]
python-enum34: bump to version 1.1.6

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-enum: bump to version 0.4.6
Adam Duskett [Sun, 19 Feb 2017 19:12:09 +0000 (14:12 -0500)]
python-enum: bump to version 0.4.6

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-docutils: bump to version 0.13.1
Adam Duskett [Sun, 19 Feb 2017 19:12:08 +0000 (14:12 -0500)]
python-docutils: bump to version 0.13.1

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-cssselect: bump to version 1.0.1
Adam Duskett [Sun, 19 Feb 2017 19:12:07 +0000 (14:12 -0500)]
python-cssselect: bump to version 1.0.1

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-cryptography: bump to version 1.7.2
Adam Duskett [Sun, 19 Feb 2017 19:12:06 +0000 (14:12 -0500)]
python-cryptography: bump to version 1.7.2

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-click: bump to version 6.7
Adam Duskett [Sun, 19 Feb 2017 19:12:04 +0000 (14:12 -0500)]
python-click: bump to version 6.7

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-cherrypy: bump to version 10.1.1
Adam Duskett [Sun, 19 Feb 2017 19:12:03 +0000 (14:12 -0500)]
python-cherrypy: bump to version 10.1.1

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-cffi: bump to version 1.9.1
Adam Duskett [Sun, 19 Feb 2017 19:12:02 +0000 (14:12 -0500)]
python-cffi: bump to version 1.9.1

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-certifi: bump to version 2017.1.23
Adam Duskett [Sun, 19 Feb 2017 19:12:01 +0000 (14:12 -0500)]
python-certifi: bump to version 2017.1.23

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-beautifulsoup4: bump to version 4.5.3
Adam Duskett [Sun, 19 Feb 2017 19:12:00 +0000 (14:12 -0500)]
python-beautifulsoup4: bump to version 4.5.3

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-backports-abc: bump to version 0.5
Adam Duskett [Sun, 19 Feb 2017 19:11:59 +0000 (14:11 -0500)]
python-backports-abc: bump to version 0.5

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofontconfig: needs host-gperf
Rahul Bedarkar [Thu, 2 Mar 2017 07:33:53 +0000 (13:03 +0530)]
fontconfig: needs host-gperf

Commit 701380c53b4d("fontconfig: add build fix for glibc 2.25") added
a patch that touches src/fcobjs.h. Package build system detects change
in timestamp and tries to regenerate fcobjshash.gperf which requires
gperf tool. So this commit adds dependency on host-gperf.

Since the patch is in upstream fontconfig, we can get rid of this
dependency once version is bumped next time.

Fixes:
  http://autobuild.buildroot.net/results/174/17471088b26ebc840d1922d7f2aa9e69b4b49ced

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
[Thomas: improve comment in the code.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoiptables: fix build with musl
Baruch Siach [Thu, 2 Mar 2017 07:54:00 +0000 (09:54 +0200)]
iptables: fix build with musl

Add a patch that defines _GNU_SOURCE to expose some struct tcphdr fields.

Fixes:
http://autobuild.buildroot.net/results/bee/bee20b689345b593378cfd91e0abc48bf381d3f9/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoexecline: new package
Eric Le Bihan [Mon, 19 Dec 2016 21:29:08 +0000 (22:29 +0100)]
execline: new package

This package provides execline, a (non-interactive) scripting language,
like sh, used in the s6 supervision system.

The host variant is provided as it is required to build and run the host
variants of s6 and s6-rc.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
[Thomas: add entry to DEVELOPERS file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-video-vmware: fix compilation without udev
Bernd Kuhls [Sun, 18 Dec 2016 14:32:46 +0000 (15:32 +0100)]
package/x11r7/xdriver_xf86-video-vmware: fix compilation without udev

https://cgit.freedesktop.org/xorg/driver/xf86-video-vmware/commit/configure.ac?id=755e38f373a511bd774a61c9420a67f630f71037
added a check for libudev which fails if the check is not disabled.

Fixes
http://autobuild.buildroot.net/results/7b3/7b38105dd1115ac622964cf243ac137b7624fb43/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: fix broken handling of 'usr/lib/locale'
Thomas De Schampheleire [Tue, 7 Feb 2017 21:56:39 +0000 (22:56 +0100)]
toolchain-external: fix broken handling of 'usr/lib/locale'

Function copy_toolchain_sysroot, which is in charge of copying the relevant
bits from the external toolchain to the staging directory, performs an rsync
loop of various directories and excludes the pattern 'usr/lib/locale' with
the intention of skipping the directory <toolchain>/usr/lib/locale.

However, while this worked in the original commit, commit
5628776c4a4d29d0715633ea463b64cc19e19c5a broke it inadvertently. The
relevant part of the diff:

-    rsync -au --chmod=Du+w --exclude 'usr/lib/locale' \
-          $${ARCH_SYSROOT_DIR}/$$i $(STAGING_DIR)/ ; \
+    rsync -au --chmod=Du+w --exclude 'usr/lib/locale' \
+          --exclude lib --exclude lib32 --exclude lib64 \
+          $${ARCH_SYSROOT_DIR}/$$i/ $(STAGING_DIR)/$$i/ ; \

Notice how the source directory now contains a trailing slash, which impacts
the way the exclude rules are interpreted. Previously, when 'i' was 'usr',
the exclude of 'usr/lib/locale' would find a match. With the trailing slash,
there will never be a match, unless for a directory 'usr/usr/lib/locale'.
The right rule would have been '--exclude lib/locale'.

However, just that fix does not solve the problem in all cases, in
particular in the (common) case where ARCH_LIB_DIR is 'lib'. This is due
another change in that commit, changing the iterated values of the above
rsync:

- for i in etc $${ARCH_LIB_DIR} sbin usr ; do \
+ for i in etc $${ARCH_LIB_DIR} sbin usr usr/$${ARCH_LIB_DIR}; do \

Due to the fact that we rsync both 'usr' as 'usr/lib' (assuming ARCH_LIB_DIR
is 'lib') we need to add the correct exclude in both cases. But the exclude
is different for both. When i == 'usr', the correct exclude rule would be
'--exclude lib/locale' while when i == 'usr/lib' the correct rule would be
'--exclude locale'.

Since we would like to avoid separate cases for this, use the following
exclude: '--exclude locale/'. The trailing slash will make sure only
directories called 'locale' will match. The targeted directories are then
usr/lib/locale and usr/share/locale. The latter directory was not matched
originally, but it should not hurt changing that.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: reduce nesting in copy_toolchain_sysroot
Thomas De Schampheleire [Tue, 7 Feb 2017 21:56:38 +0000 (22:56 +0100)]
toolchain-external: reduce nesting in copy_toolchain_sysroot

As discussed with Thomas Petazzoni, we can reduce the nesting level by early
returning on an invalid iteration.

I did not move the 'else' case (the common case) outside the if-else because
it would make the code less symmetrical and IMO makes it _less_ clear.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomesa3d: Add support for the Etnaviv gallium driver
Fabio Estevam [Wed, 15 Feb 2017 00:13:52 +0000 (22:13 -0200)]
mesa3d: Add support for the Etnaviv gallium driver

Add support for the Etnaviv gallium driver.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/{mesa3d, mesa3d-headers}: bump version to 17.0.0
Fabio Estevam [Wed, 15 Feb 2017 00:13:51 +0000 (22:13 -0200)]
package/{mesa3d, mesa3d-headers}: bump version to 17.0.0

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoglmark2: add imx-drm driver support
Gary Bisson [Tue, 14 Feb 2017 13:26:52 +0000 (14:26 +0100)]
glmark2: add imx-drm driver support

Upstream status: pending
https://github.com/glmark2/glmark2/pull/29

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoperl-gd: fix build of native part
Francois Perrad [Wed, 15 Feb 2017 07:42:12 +0000 (08:42 +0100)]
perl-gd: fix build of native part

EUMM don't find .xs file in subdirectory (only .pm files are handled)
So, let move lib/GD.xs in the root directory.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibsidplay2: fix build on ppc64le by not autoreconfiguring
Thomas Petazzoni [Wed, 1 Mar 2017 20:43:46 +0000 (21:43 +0100)]
libsidplay2: fix build on ppc64le by not autoreconfiguring

The libsidplay2 package build system is completely broken. It is made
of a top-level configure script, which calls into sub-configure
scripts in sub-directories. However, since it doesn't use the autoconf
provided AC_CONFIG_SUBDIRS() mechanism, an "autoreconf" doesn't
recurse into the subdirectories.

Due to this, the aclocal.m4 in the libsidplay/ subdirectory doesn't
get re-generated when Buildroot autoreconfs the package. However,
since we patch one of the .m4 files in this subdirectory, when build
time comes, the package notices its aclocal.m4 is older than one of
the .m4 file, and triggers an automatic autoreconf.

Since <pkg>_AUTORECONF = YES is enabled, this automatic autoreconf
works fine: host-autoconf and host-automake are available.

Expect that on powerpc64le, we patch the configure script itself to
make it recognize powerpc64le. But this patching of the configure
script itself gets overwritten by the automatic autoreconf at the
beginning of the build step, causing the build to fail on powerpc64le.

Switching to AC_CONFIG_SUBDIRS() would allow to fix this, but
libsidplay2 needs to pass custom configure options to each of the
sub-configure scripts, something that AC_CONFIG_SUBDIRS() doesn't
support. And since libsidplay2 upstream looks completely dead, the
incentive to fix the whole thing is very limited.

Since what's broken is the autoreconfiguration of the package, what we
do is modify patch 0001-sidplay2-libs-2.1.1.patch to directly tweak the
configure script (instead of the relevant .m4 file). Thanks to this,
<pkg>_AUTORECONF = YES is no longer needed, the .m4 file is no longer
newer than the sub-configure script, and no automatic autoreconf
triggers at build time. This allows the package to build properly on
powerpc64le.

While we normally don't like patching 'configure' scripts directly, in
this case the size of the change in the configure script is very small,
and as explained above, the incentive to fix the package properly is
very limited.

In detail, the changes:

 * Patch 0001-sidplay2-libs-2.1.1.patch is turned into a Git-formatted
   patch

 * The irrelevant changes to Makefile.in files, aclocal.m4, config.h.in,
   sidint.h are removed.

 * The change to my_macros.m4 is applied directly to the corresponding
   configure script.

 * The change to the configure.ac script regarding libdir is applied
   directly to the corresponding configure script.

 * The change to the configure.ac script regarding "*-k*bsd*-gnu" is
   dropped, since we don't care about kFreeBSD support.

 * LIBSIDPLAY2_AUTORECONF = YES is dropped from the .mk file.

Fixes:

  http://autobuild.buildroot.net/results/1f6a42bfece24e09c9c7f4078d549ec5c099c89d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "package/cwiid: add optional dependency to bluez5_utils"
Thomas Petazzoni [Wed, 1 Mar 2017 21:38:37 +0000 (22:38 +0100)]
Revert "package/cwiid: add optional dependency to bluez5_utils"

This reverts commit d4c4c259d25a8f2c5c2e2a5736609ba285fdd018. It was
mistakenly committed and pushed: it causes Kconfig circular
dependencies, so it cannot be applied as-is.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofontconfig: add build fix for glibc 2.25
Gustavo Zacarias [Sat, 25 Feb 2017 00:34:48 +0000 (21:34 -0300)]
fontconfig: add build fix for glibc 2.25

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoglibc: drop version 2.22
Gustavo Zacarias [Sat, 25 Feb 2017 00:34:47 +0000 (21:34 -0300)]
glibc: drop version 2.22

We don't want a dozen glibc versions and there's no particular reason to
keep this old version around so drop it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Thomas: add entry to Config.in.legacy.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoglibc: add version 2.25
Gustavo Zacarias [Sat, 25 Feb 2017 00:34:46 +0000 (21:34 -0300)]
glibc: add version 2.25

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoglibc: bump default to version 2.24
Gustavo Zacarias [Sat, 25 Feb 2017 00:34:45 +0000 (21:34 -0300)]
glibc: bump default to version 2.24

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/cwiid: add optional dependency to bluez5_utils
Bernd Kuhls [Sun, 19 Feb 2017 13:18:34 +0000 (14:18 +0100)]
package/cwiid: add optional dependency to bluez5_utils

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/cwiid: bump version
Bernd Kuhls [Sun, 19 Feb 2017 13:18:33 +0000 (14:18 +0100)]
package/cwiid: bump version

kodi needs CWIID_MESG_BALANCE
https://github.com/xbmc/xbmc/blob/Krypton/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp#L106

It was added after the last cwiid release, which took place 2009:
https://github.com/abstrakraft/cwiid/commit/2174214bc2caca51aa49a47025ccb80b3f75e53f

Instead of adding another 20k-sized patch we switch to the upstream
github repo and bump to its HEAD commit, dating back to 2010.

By doing this we can remove two patches which were applied upstream:

0001-fix-link-options-for-as-needed-90.patch
https://github.com/abstrakraft/cwiid/commit/6af678616531eb1f3d3d0a052313ef9d8125bac7

0002-Update-for-BlueZ-changes.patch
https://github.com/abstrakraft/cwiid/commit/c5dd7d4a9af5a7d8ead8ad26d9e5e0f8f8292d29

The remaining patches were renumbered.

This patch is needed for the upcoming Kodi version bump which also adds
optional cwiid support.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocs/website: improve website speed
Angelo Compagnucci [Wed, 22 Feb 2017 22:52:36 +0000 (23:52 +0100)]
docs/website: improve website speed

Currently the buildroot website is not leveraging common
techniques to have a better loading speed (browser caching,
gzip compression, deflating).
This commit provides an .htaccess files with all the needed to
enable mentioned features. This .htaccess only works if the
webserver has deflate, expires and headers modules enabled.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomemtool: new package
Peter Korsgaard [Sun, 26 Feb 2017 20:44:27 +0000 (21:44 +0100)]
memtool: new package

memtool allows one to read and write memory mapped registers via /dev/mem.
The commands are inspired by the respective commands of the barebox
bootloader.  This is handy during driver development to inspect and modify
register settings.  It can also be used to modify regular files and
character devices (e.g. to paint to /dev/fb0).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[Thomas: add entry to DEVELOPERS file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoputty: bump to version 0.68
Baruch Siach [Tue, 28 Feb 2017 17:48:15 +0000 (19:48 +0200)]
putty: bump to version 0.68

Drop upstream patches.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "dependencies/cmake: blacklist cmake 3.7"
Yann E. MORIN [Wed, 1 Mar 2017 20:59:44 +0000 (21:59 +0100)]
Revert "dependencies/cmake: blacklist cmake 3.7"

This reverts commit 4422eca2d418e2b817b419ff6c4c62f7f4cb7871.

We now have a workaround for the RPATH issue introduced in 3.7, so we
can use it again.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agompd: fix build for ARC
Zakharov Vlad [Wed, 1 Mar 2017 11:03:34 +0000 (14:03 +0300)]
mpd: fix build for ARC

mpd package fails for both internal and external ARC toolchain as check
for pthread support fails. Such checks fails because _REENTRANT flag is
not defined in gcc even when -pthread is passed.

So we add patch to gcc that defines _REENTRANT  on ARC when -pthread is
passed.

Also it disables mpd package for external ARC toolchain as it fails due
to the same issue.

This patch should be reverted as soon as the patch for GCC becomes a
part of ARC toolchain.

Fixes:
  http://autobuild.buildroot.net/results/7d7/7d70b62ad996830fbeca46dffcc7a1dc030e575d//

Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocmake: bump version to 3.7.2
Vicente Olivert Riera [Tue, 28 Feb 2017 18:07:26 +0000 (19:07 +0100)]
cmake: bump version to 3.7.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocmake: adjust dependencies added for libuv
Thomas Petazzoni [Tue, 28 Feb 2017 18:07:25 +0000 (19:07 +0100)]
cmake: adjust dependencies added for libuv

Commit 1ffcf364b6e9894a876dc581a090f87685945412 updated cmake to 3.7.0,
which requires selecting the libuv package. At the time, the libuv
package only depended on BR2_TOOLCHAIN_HAS_THREADS. However, later on,
it was changed in master to depend on BR2_TOOLCHAIN_HAS_THREADS_NPTL, a
change which was not taken into account in the cmake 3.7.0 bump that was
merged in the next branch.

Due to this, builds of cmake is attempted on architectures that don't
provide NPTL thread support, causing a build failure. This commit fixes
that by adjusting the dependency.

Fixes:

  http://autobuild.buildroot.net/results/16a5e1cbb57c0124537c4f3dc0807ba1eaa975ec/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocmake: bump version to 3.7.1
Vicente Olivert Riera [Tue, 28 Feb 2017 18:07:24 +0000 (19:07 +0100)]
cmake: bump version to 3.7.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocmake: bump version to 3.7.0
Vicente Olivert Riera [Tue, 28 Feb 2017 18:07:23 +0000 (19:07 +0100)]
cmake: bump version to 3.7.0

libuv is now a required dependency.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore/pkg-cmake: provide our own platform description
Yann E. MORIN [Tue, 28 Feb 2017 18:07:22 +0000 (19:07 +0100)]
core/pkg-cmake: provide our own platform description

The handling of RPATH in cmake-3.7 has changed drastically, causing a
slew of build failures dues to libraries from the host being pulled in:

  - domoticz : http://autobuild.buildroot.org/results/fd0/fd0ba54c7abf973691b39a0ca1bb4e07d749593a/
  - freerdp  : http://autobuild.buildroot.org/results/5d4/5d429d0e288754a541ee5d8be515454c5fccd28b/
  - libcec   : http://autobuild.buildroot.org/results/3f3/3f3593bab7734dd274faf5b5690895e9424cbb89/
  - and so on...

The bug was reported upstream [0], which dismissed it altogether [1] as
being expected behaviour, quoting:

    I don't think there is anything wrong with that change on its own.
    It merely exposed some existing behavior in a new case.

Instead, upstream suggested in that same message that a platform
definition be used instead, quoting:

    If a toolchain file specifies CMAKE_SYSTEM_NAME such that a custom
    `Platform/MySystem.cmake` file is loaded then the latter can set
    them as needed for the target platform.

So here we are doing so:

  - we add a new platfom definitions that inherits from the Linux one,
    then overrides the problematic settings;

  - we change our toolchain file to use that platform instead;

  - we tell cmake where to find additional modules, so that it can find
    our custom platform file.

This has been tested to work in the following conditions:

 - pre-installed host cmake, versions 3.5.1 (Ubuntu 16.04) and 3.7.2
   (manually built)

  - internal cmake, versions 3.6.3 (the current version as of this
    patch) and 3.7.2 (with the followup patches).

Thanks to Jörg, Ben and Baruch for the help investigating the issue.
Special thanks to Jörg for handling the discussion with upstream and
pointing to the relevant messages! :-)

[0] http://public.kitware.com/pipermail/cmake/2017-February/064970.html
[1] http://public.kitware.com/pipermail/cmake/2017-February/065063.html

To be noted: Thomas suggested we set these directly in the toolchain
file. Unfortunately, wherever we put those settings in the toolchain
file, this does not work.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Jörg Krause <joerg.krause@embedded.rocks>
Cc: Ben Boeckel <mathstuf@gmail.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoclasspath: enable on sparc and sparc64
Marcus Hoffmann [Tue, 28 Feb 2017 20:13:02 +0000 (21:13 +0100)]
classpath: enable on sparc and sparc64

GNU classpath builds fine on sparc and sparc64 architectures. So
we allow building it there to be consistent with the naming of
BR2_PACKAGE_CLASSPATH_ARCH_SUPPORTS.

Signed-off-by: Marcus Hoffmann <m.hoffmann@cartelsol.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/sdl2: disable altivec built-in function for PowerPC
Romain Naour [Tue, 28 Feb 2017 23:24:52 +0000 (00:24 +0100)]
package/sdl2: disable altivec built-in function for PowerPC

As reported in this bug report [1], altivec support in SDL break
arbitrary C++ code.

Issue reported by test-pkg script while testing supertux package:
    error: could not convert 'true' from 'bool' to '__vector(4) __bool int'

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi/?bug=770670

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofs/iso9660: doesn't support (grub2) EFI
Arnout Vandecappelle [Wed, 1 Mar 2017 20:05:42 +0000 (21:05 +0100)]
fs/iso9660: doesn't support (grub2) EFI

The iso9660 generation for grub2 assumes that grub-eltorito.img is
available. However, this image is only available for the i386-pc target
(i.e. legacy BIOS). An EFI-bootable iso9660 requires a different layout.

Since we currently can't generate the EFI-bootable iso9660 layout,
require the i386-pc target to be selected in grub.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reported-by: arnaud.miche@orange.com
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocjson: bump to version 1.3.2
Fabrice Fontaine [Tue, 28 Feb 2017 22:16:07 +0000 (23:16 +0100)]
cjson: bump to version 1.3.2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>