buildroot.git
7 years agolinux: bump default to version 4.10.1
Gustavo Zacarias [Thu, 2 Mar 2017 12:33:57 +0000 (09:33 -0300)]
linux: bump default to version 4.10.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 4.10.x and 3.2.x series
Gustavo Zacarias [Thu, 2 Mar 2017 12:33:56 +0000 (09:33 -0300)]
linux-headers: bump 4.10.x and 3.2.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotslib: bump to version 1.6
Martin Kepplinger [Fri, 3 Mar 2017 07:43:54 +0000 (08:43 +0100)]
tslib: bump to version 1.6

Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibepoxy: bump to version 1.4.1
Gustavo Zacarias [Thu, 2 Mar 2017 22:47:18 +0000 (19:47 -0300)]
libepoxy: bump to version 1.4.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/alsamixergui: add license information
Wolfgang Grandegger [Fri, 3 Mar 2017 11:23:24 +0000 (12:23 +0100)]
package/alsamixergui: add license information

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/memtool: fix trailing /
Yann E. MORIN [Fri, 3 Mar 2017 18:13:54 +0000 (19:13 +0100)]
package/memtool: fix trailing /

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "nano: bump to version 2.7.5"
Gustavo Zacarias [Fri, 3 Mar 2017 09:54:41 +0000 (06:54 -0300)]
Revert "nano: bump to version 2.7.5"

The bump causes build failure with musl, this new version uses with
undefined REG_STARTEND which is a glibc-ism that isn't available for
musl-based toolchains.
The introduction of this is to address
https://savannah.gnu.org/bugs/?50030 so it's not quite straightforward
to fix.

This reverts commit d0035543432edddee4dcb017ac4dd74832133e89.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoyaml-cpp: update homepage link
Baruch Siach [Fri, 3 Mar 2017 05:53:57 +0000 (07:53 +0200)]
yaml-cpp: update homepage link

Cc: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibyuv: update homepage link
Baruch Siach [Fri, 3 Mar 2017 05:51:07 +0000 (07:51 +0200)]
libyuv: update homepage link

The original google code link redirects to the libyuv bug tracker. Use libyuv
git repo as a better sort of a homepage.

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibllcp: update homepage link
Baruch Siach [Fri, 3 Mar 2017 05:45:06 +0000 (07:45 +0200)]
libllcp: update homepage link

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosnappy: update homepage link
Baruch Siach [Fri, 3 Mar 2017 05:40:39 +0000 (07:40 +0200)]
snappy: update homepage link

Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqextserialport: update homepage link
Baruch Siach [Fri, 3 Mar 2017 05:37:13 +0000 (07:37 +0200)]
qextserialport: update homepage link

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-ipaddr: update homepage link
Baruch Siach [Fri, 3 Mar 2017 05:34:30 +0000 (07:34 +0200)]
python-ipaddr: update homepage link

Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-protobuf: update homepage link
Baruch Siach [Fri, 3 Mar 2017 05:27:49 +0000 (07:27 +0200)]
python-protobuf: update homepage link

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoprotobuf-c: update homepage link
Baruch Siach [Fri, 3 Mar 2017 05:25:16 +0000 (07:25 +0200)]
protobuf-c: update homepage link

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pyasn: update homepage link
Baruch Siach [Fri, 3 Mar 2017 05:16:19 +0000 (07:16 +0200)]
python-pyasn: update homepage link

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pyasn: fix legal info
Baruch Siach [Fri, 3 Mar 2017 05:03:26 +0000 (07:03 +0200)]
python-pyasn: fix legal info

Fixes:
http://autobuild.buildroot.net/results/29c/29ca13a653b2c0cbe449d0b5d795558ce5e4df82/
http://autobuild.buildroot.net/results/5cc/5cc55472682bcb48f732267dd2d9073ce338c294/
http://autobuild.buildroot.net/results/dd9/dd9b087a0e907cbc36f0b870beba375c5fe5b17f/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolua-bit32: use PKG_NAME_UPSTREAM
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:41 +0000 (18:00 +0100)]
lua-bit32: use PKG_NAME_UPSTREAM

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

Since we now require Lua package names to start with "lua", it is likely
that the Buildroot name is different from the upstream LuaRocks name.
Add a feature to the luarocks-package infra that makes it easier to
handle this situation: the package can explicitly specify the upstream
name in PKG_NAME_UPSTREAM, and that name will be used in PKG_ROCKSPEC,
PKG_SOURCE and PKG_SUBDIR.

Add an explanation of this feature to the manual. To make the example
relevant, it is changed to lua-foo, where the upstream name is plain
foo. To avoid confusion with the dependency on a native library, that
dependency is renamed to bar.

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

With the reworked luarocks extraction, they are no longer needed.

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

The luarocks package infra extracts the package directly under
$(BUILD_DIR), because the contents are always in a subdirectory name
<pkg>-<version>. However, this only works when the upstream package name
is the same as the Buildroot package name.

Instead, we can rely on the fixed structure of a .src.rock: it always
contains the source subdirectory in a directory called foo, where foo
is the basename of the .src.rock file. Therefore, we can extract into
a subdirectory of $($(PKG)_DIR), then move its contents up two
directory levels.

Note, we can't extract directly into $($(PKG)_DIR) because it's
possible that $($(PKG)_SUBDIR) == <pkg>-<version>. In that case, we
would try to move the directory unto itself and get "Directory not
empty". This is the case e.g. for the lpty package.

Two alternatives were considered but are more complicated:
- instead of using wildcards for the move, we could have used
  <.src.rock basename>/$($(PKG)_SUBDIR);
- instead of extracting with luarocks, we could use unzip to extract
  (the .src.rock is a ZIP file), but then we also have to move the
  .rockspec into the subdir. In addition, sometimes the ZIP file
  contains a tarball instead of the extracted source.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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>