]> rtime.felk.cvut.cz Git - coffee/buildroot.git/log
coffee/buildroot.git
7 years agoAdd gitlab-CI support
Arnout Vandecappelle [Mon, 13 Feb 2017 23:23:03 +0000 (00:23 +0100)]
Add gitlab-CI support

The buildroot repository is now mirrored on
https://gitlab.com/buildroot.org/buildroot so we can use Gitlab-CI to
test Buildroot. Gitlab-CI is controlled by a .gitlab-ci.yml file
that exists in the repository.

For now, the only test is building all defconfigs (inspired on
https://travis-ci.org/buildroot/buildroot-defconfig-testing/). Since
all the defconfigs have to be specified in the .gitlab-ci.yml file,
we generate the file based on .gitlab-ci.yml.in. The generated
.gitlab-ci.yml file has to be committed into the repository, though,
otherwise Gitlab-CI doesn't see it. So there is also a test to verify
that .gitlab-ci.yml is up-to-date.

Building all the defconfigs takes a long time. Gitlab-CI will do that
every time it pulls from git.buildroot.org, which is once per hour.
That is way too often. Therefore, the defconfigs are not built on pull,
but only on explicit trigger through the API or when a tag is added.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas:
 - fix typo not -> no
 - add LC_ALL=C when calling 'ls -1' to get a predictable order of the
   defconfigs
 - regenerate .gitlab-ci.yml.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogtest/gmock: bump to version 1.8.0
Carlos Santos [Tue, 14 Feb 2017 11:05:16 +0000 (09:05 -0200)]
gtest/gmock: bump to version 1.8.0

GTest version 1.8.0 includes gmock so merge both packages inside gtest

In this merge:

- Add gmock as a suboption of gtest (BR2_PACKAGE_GTEST_GMOCK)
  following advice from Arnout Vandecappelle
- Add BR2_PACKAGE_GMOCK as a legacy entry, selecting BR2_PACKAGE_GTEST
  and BR2_PACKAGE_GTEST_GMOCK.
- Use cmake to install libraries and headers and add missing files
  (gtest.pc, gtest-config, gmock.pc) in
  GTEST_POST_INSTALL_STAGING_HOOKS instead of redefining
  GTEST_INSTALL_STAGING_CMDS
- Remove patch on Python as gmock/gtest now supports python 3.0
  (commit 456fc2b5c4e9ebf05a5987dfe1ff0ac9ffeb53cc)
- Add the correct license in HOST_GTEST_LICENSE as all python code in
  googlemock/scripts/generator is licensed under Apache-2.0 and not
  BSD-3c
- Fix URL of gtest project in Config.in
- Remove the gmock entry from DEVELOPERS
- Install gmock_gen directly, instead of as a symlink to gmock_gen.py

Notice that any external package that depends on gmock will cause an
immediate build termination because make doesn't know how to build
gmock. Since the user has just removed gmock from the legacy menu, it
should be quite obvious what needs to be done.

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - Use += instead of = when assigning a value to <pkg>_DEPENDENCIES in
   conditional
 - Remove comment about the "tricky logic" around BUILD_GTEST and
   BUILD_GMOCK
 - Move GTEST_GMOCK_INSTALL_MISSING_FILE inside
   the ($(BR2_PACKAGE_GTEST_GMOCK),y) condition.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolua: remove documentation from target
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:47 +0000 (18:00 +0100)]
lua: remove documentation from target

Many packages install documentation under /usr/share/lua/.../doc. Add
a TARGET_FINALIZE_HOOK to remove it.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoluabitop: use PKG_NAME_UPSTREAM
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:46 +0000 (18:00 +0100)]
luabitop: 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 agolua-testmore: use PKG_NAME_UPSTREAM
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:45 +0000 (18:00 +0100)]
lua-testmore: 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 agolua-cjson: use LUA_CJSON_SUBDIR
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:44 +0000 (18:00 +0100)]
lua-cjson: use LUA_CJSON_SUBDIR

The infra sets _SUBDIR to the correct value, so we can use it to define
_LICENSE_FILES.

This removes the need for LUA_CJSON_VERSION_UPSTREAM.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolua-coat: use PKG_NAME_UPSTREAM
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:43 +0000 (18:00 +0100)]
lua-coat: 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: lowercase the upstream name for LuaRocks
Arnout Vandecappelle [Thu, 23 Feb 2017 17:00:42 +0000 (18:00 +0100)]
luarocks-package: lowercase the upstream name for LuaRocks

LuaRocks has a policy that the rockspec and rock filenames are lower
case. However, the upstream name may contain uppercase characters.
We have several packages like that in Buildroot. To simplify the
package .mk files, apply the lowercase from within the infra.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agochocolate-doom: bump to version 2.3.0
Rodrigo Rebello [Sun, 5 Mar 2017 18:40:14 +0000 (15:40 -0300)]
chocolate-doom: bump to version 2.3.0

Also remove patches that have been merged upstream.

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-libust: fix build on musl
Thomas Petazzoni [Tue, 28 Feb 2017 22:09:30 +0000 (23:09 +0100)]
lttng-libust: fix build on musl

This commit backports two upstream patches in lttng-libust, that fix
the build with the musl C library.

Fixes:

  http://autobuild.buildroot.net/results/8bbcac9f9debf76cd1f56734bfd494677f2acd21/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoaltera_*_defconfig: remove broken defconfigs
Arnout Vandecappelle [Wed, 1 Mar 2017 08:30:46 +0000 (09:30 +0100)]
altera_*_defconfig: remove broken defconfigs

These defconfigs have been broken due to gcc5 for more than half a year,
and nobody stepped up to fix it. In addition, the rocketboards git
repository used by these defconfigs hasn't been reachable for more than
half a year. Finally, these defconfigs don't even use the
BR2_TARGET_UBOOT_ALTERA_SOCFPGA_IMAGE_CRC option so they are not a
great example for this family of targets.

Remove these defconfigs, as well as the board directory. Both are
removed in a single commit to avoid having an inconsistent readme.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Jan Viktorin <viktorin@rehivetech.com>
Cc: Charles Manning <cdhmanning@gmail.com>
Cc: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agovia_imx6_vab820_defconfig: remove broken defconfig
Arnout Vandecappelle [Wed, 1 Mar 2017 08:30:45 +0000 (09:30 +0100)]
via_imx6_vab820_defconfig: remove broken defconfig

This defconfig has been broken due to gcc5 for more than half a year,
and nobody stepped up to fix it. Remove it, as well as it board
directory.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Gergely Imreh <imrehg@gmail.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboard/minnowboard: remove support for minnowboard
Arnout Vandecappelle [Wed, 1 Mar 2017 08:30:43 +0000 (09:30 +0100)]
board/minnowboard: remove support for minnowboard

The scripts used for the minnowboards were generic for MinnowBoard and
MinnowBoard MAX. Since we removed the original MinnowBoard, this isn't
necessary anymore.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agominnowboard_defconfig: remove broken defconfig
Arnout Vandecappelle [Wed, 1 Mar 2017 08:30:42 +0000 (09:30 +0100)]
minnowboard_defconfig: remove broken defconfig

This defconfig has been broken due to gcc5 for more than half a year,
and nobody stepped up to fix it. Remove it, as well as the files it
references. Update the readme to remove references to MinnowBoard.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pylibftdi: new package
Christian Kellermann [Wed, 1 Mar 2017 16:18:39 +0000 (17:18 +0100)]
python-pylibftdi: new package

Adds the python binding for libftdi to buildroot.

Signed-off-by: Christian Kellermann <christian.kellermann@solectrix.de>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoodroid-mali: mark package as BROKEN
Thomas Petazzoni [Sat, 4 Mar 2017 14:34:19 +0000 (15:34 +0100)]
odroid-mali: mark package as BROKEN

The version of the khrplatform.h header bundled with odroid-mali has a
definition of the khronos_intptr_t and khronos_ssize_t that doesn't
match the official Khronos registry headers or the Mesa3D headers. Due
to this, it causes conflicts with some packages that redefines those
types (with the correct definitions), such as libepoxy.

Issue reported upstream at: https://github.com/mdrjr/c2_mali/issues/1

Since nobody bothered fixing the issue even though it has been happening
since July 2016 (first build failure at
http://autobuild.buildroot.net/results/ed8d562ae5fdb472a83f9a07b2f755c80c972c34/),
let's mark this package as BROKEN.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosngrep: use pkg-config to discover OpenSSL to fix static linking
Thomas Petazzoni [Sat, 4 Mar 2017 14:15:58 +0000 (15:15 +0100)]
sngrep: use pkg-config to discover OpenSSL to fix static linking

Building sngrep with OpenSSL support in static linking configurations
currently fails due to undefined symbols in the OpenSSL library. It's
the usual problem with using AC_CHECK_LIB() to discover libraries
instead of the pkg-config based PKG_CHECK_MODULES().

Therefore, this commit introduces a patch that switches to using
pkg-config to discover OpenSSL. A preliminary patch is needed, without
which appending to LIBS/CFLAGS doesn't work. Both patches have been
submitted upstream.

Fixes:

  http://autobuild.buildroot.net/results/911143de823b2c749ac0a59dfa06adb6ddd3de50/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agox264: fix build on OpenRISC
Thomas Petazzoni [Sat, 4 Mar 2017 13:45:50 +0000 (14:45 +0100)]
x264: fix build on OpenRISC

Even though x264 doesn't use an autoconf generated configure script
(and hence doesn't use the autotools-package infrastructure), it uses
config.guess and config.sub. The ones bundled in x264 are too old to
know about the OpenRISC architecture, so this commit leverages the
UPDATE_CONFIG_HOOK from the autotools-package infrastructure to update
config.sub and config.guess.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore/pkg-cmake: better way to pass our CMAKE_MODULE_PATH
Yann E. MORIN [Sat, 4 Mar 2017 17:28:44 +0000 (18:28 +0100)]
core/pkg-cmake: better way to pass our CMAKE_MODULE_PATH

Currently, we tell cmake where to look for our own custom platform
description by passing the path to the moduls directory on the command
line.

However, this causes two different problems.

First, some packages simply set CMAKE_MODULE_PATH in their
CMakeList.txt, thus overriding our own path, and then our platform
description is not found.

Second, cmake may internally call sub-cmake (e.g. in the try_compile
macro), but the CMAKE_MODULE_PATH is not automatically passed down in
this case.

For the first problem, we could hunt down and fix all offenders, but
this is an endless endeavour, especially since packagers are told to do
so on the cmake wiki [0]:

    CMAKE_MODULE_PATH
        tell CMake to search first in directories listed in
        CMAKE_MODULE_PATH when you use FIND_PACKAGE() or INCLUDE()
        SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/MyCMakeScripts)
        FIND_PACKAGE(HelloWorld)

The second problem could be solved by passing yet another variable on
the command line, that tells cmake to explicitly pass arbitrary
variables down to sub-cmake calls:

    -DCMAKE_TRY_COMPILE_PLATFORM_VARIABLES=CMAKE_MODULE_PATH

However, this only covers the case of try_compile. Even though no other
case is known yet, we'd still risk missing locations where we would need
to propagate CMAKE_MODULE_PATH, even some where we'd have no solution
like for try_compile.

Instead, ngladitz on IRC suggested that CMAKE_MODULE_PATH be set
directly from the toolchain file.

And indeed this fixes both problems explained above.

So be it.

[0] https://cmake.org/Wiki/CMake_Useful_Variables

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Jörg Krause <joerg.krause@embedded.rocks>
Cc: Ben Boeckel <mathstuf@gmail.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibwebsockets: bump to version 2.1.1
Kurt Van Dijck [Sun, 5 Mar 2017 18:27:48 +0000 (19:27 +0100)]
libwebsockets: bump to version 2.1.1

Mosquitto combined with version 2.1.0 of libwebsockets yields a failing
system. Version 2.1.1 restores the websocket interface again.

Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocryptsetup: install to staging
Thomas Petazzoni [Sun, 5 Mar 2017 15:19:11 +0000 (16:19 +0100)]
cryptsetup: install to staging

cryptsetup installs a library and a header file, so it makes sense to
install it to staging.

Fixes bug #9691.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Yann E. MORIN <yann.morin.1998@free.fr>
7 years agoipset: bump to version 6.31
Baruch Siach [Sun, 5 Mar 2017 19:33:37 +0000 (21:33 +0200)]
ipset: bump to version 6.31

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoipset: drop obsolete patch
Baruch Siach [Sun, 5 Mar 2017 19:33:36 +0000 (21:33 +0200)]
ipset: drop obsolete patch

Since commit 0552a367dbd ("Remove --{enable, disable}-debug configure flags.")
we do not pass --enable-debug to configure script. The patch to remove -Werror
in this case is thus no longer needed.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/raspberrypi3_defconfig: add raspberry pi 3 compute module support
Martin Bark [Sun, 5 Mar 2017 16:06:16 +0000 (16:06 +0000)]
configs/raspberrypi3_defconfig: add raspberry pi 3 compute module support

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/raspberrypi0_defconfig: add raspberry pi zero w support
Martin Bark [Sun, 5 Mar 2017 16:06:15 +0000 (16:06 +0000)]
configs/raspberrypi0_defconfig: add raspberry pi zero w support

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/rpi-userland: bump version
Martin Bark [Sun, 5 Mar 2017 16:06:14 +0000 (16:06 +0000)]
package/rpi-userland: bump version

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/rpi-firmware: bump version
Martin Bark [Sun, 5 Mar 2017 16:06:13 +0000 (16:06 +0000)]
package/rpi-firmware: bump version

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/raspberrypi3_defconfig: bump kernel version to 4.9.13
Martin Bark [Sun, 5 Mar 2017 16:06:12 +0000 (16:06 +0000)]
configs/raspberrypi3_defconfig: bump kernel version to 4.9.13

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/raspberrypi2_defconfig: bump kernel version to 4.9.13
Martin Bark [Sun, 5 Mar 2017 16:06:11 +0000 (16:06 +0000)]
configs/raspberrypi2_defconfig: bump kernel version to 4.9.13

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/raspberrypi0_defconfig: bump kernel version to 4.9.13
Martin Bark [Sun, 5 Mar 2017 16:06:10 +0000 (16:06 +0000)]
configs/raspberrypi0_defconfig: bump kernel version to 4.9.13

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/raspberrypi_defconfig: bump kernel version to 4.9.13
Martin Bark [Sun, 5 Mar 2017 16:06:09 +0000 (16:06 +0000)]
configs/raspberrypi_defconfig: bump kernel version to 4.9.13

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/{mesa3d, mesa3d-headers}: bump version to 17.0.1
Bernd Kuhls [Sat, 4 Mar 2017 19:54:56 +0000 (20:54 +0100)]
package/{mesa3d, mesa3d-headers}: bump version to 17.0.1

Changed _SITE according to URL mentioned in upstream release note.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xapp_sessreg: bump version to 1.1.1
Bernd Kuhls [Sat, 4 Mar 2017 19:54:55 +0000 (20:54 +0100)]
package/x11r7/xapp_sessreg: bump version to 1.1.1

Removed patch applied upstream:
https://cgit.freedesktop.org/xorg/app/sessreg/commit/?id=93f5d5abf6b214a4b36e00cd09174d24b2ed0a6d

Renumbered remaining patch.
Changed _SITE according to URL mentioned in upstream release note.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xlib_libX11: bump version to 1.6.5
Bernd Kuhls [Sat, 4 Mar 2017 19:54:54 +0000 (20:54 +0100)]
package/x11r7/xlib_libX11: bump version to 1.6.5

Changed _SITE according to URL mentioned in upstream release note.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xserver_xorg-server: bump version to 1.19.2
Bernd Kuhls [Sat, 4 Mar 2017 19:54:53 +0000 (20:54 +0100)]
package/x11r7/xserver_xorg-server: bump version to 1.19.2

Changed _SITE according to URL mentioned in upstream release note.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/wayland: don't build tests
Yann E. MORIN [Sun, 5 Mar 2017 10:56:51 +0000 (11:56 +0100)]
package/wayland: don't build tests

wayland is entirely written in C, except for a single test that is
written in C++.

Since we are not interested in running the tests on the target, add an
option to configure to disable tests altogether.

Fixes:
    http://autobuild.buildroot.org/results/291/291e0f1ea18004190ae5acd9bec147cacc3e4bda/

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>
7 years agopackage/wayland: drop non-existing configure option
Yann E. MORIN [Sun, 5 Mar 2017 10:56:50 +0000 (11:56 +0100)]
package/wayland: drop non-existing configure option

--disable-scanner was removed back in 2015, so drop it.

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>
7 years agolpeg: bump to version 1.0.1
Francois Perrad [Sat, 4 Mar 2017 21:19:30 +0000 (22:19 +0100)]
lpeg: bump to version 1.0.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add Martin Bark for package/nodejs
Martin Bark [Sat, 4 Mar 2017 23:48:28 +0000 (23:48 +0000)]
DEVELOPERS: add Martin Bark for package/nodejs

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/tzdata: bump version to 2017a
Martin Bark [Sun, 5 Mar 2017 00:10:24 +0000 (00:10 +0000)]
package/tzdata: bump version to 2017a

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/zic: bump version to 2017a
Martin Bark [Sun, 5 Mar 2017 00:10:23 +0000 (00:10 +0000)]
package/zic: bump version to 2017a

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/bluez5_utils: bump version to 5.44
Bernd Kuhls [Sun, 5 Mar 2017 09:49:28 +0000 (10:49 +0100)]
package/bluez5_utils: bump version to 5.44

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/chrony: bump version to 3.1
Bernd Kuhls [Sun, 5 Mar 2017 09:48:52 +0000 (10:48 +0100)]
package/chrony: bump version to 3.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouclibc: add patch to sync sys/timex.h
Waldemar Brodkorb [Sun, 5 Mar 2017 01:05:28 +0000 (02:05 +0100)]
uclibc: add patch to sync sys/timex.h

This fixes a qemu-user compile error.

Reported-by: François Perrad <francois.perrad@gadz.org>
Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoputty: needs wchar support
Thomas Petazzoni [Sat, 4 Mar 2017 22:42:46 +0000 (23:42 +0100)]
putty: needs wchar support

putty uses mbstate_t, which is a wchar related definition, so wchar
support is needed in the toolchain.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: remove cosmo package
Thomas Petazzoni [Sat, 4 Mar 2017 14:35:01 +0000 (15:35 +0100)]
DEVELOPERS: remove cosmo package

The cosmo package has been removed in commit
2c8438866394f2146ab60c483a820e3ca78ce560, but the entry in the
DEVELOPERS file was forgotten.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch: add support for the csky architecture
Guo Ren [Fri, 3 Mar 2017 01:20:20 +0000 (09:20 +0800)]
arch: add support for the csky architecture

This commit provides basic support for the C-SKY architecture.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
[Thomas: minor tweaks.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/mkusers: rename variable to avoid name clashing
Yann E. MORIN [Fri, 3 Mar 2017 22:07:20 +0000 (23:07 +0100)]
support/mkusers: rename variable to avoid name clashing

The LINES variable is automatically set by bash to represent the number
of lines in the terminal. That variable can be set when the shell
receives SIGWINCH.

If the shell does receive SIGWINCH after our LINES array is filled, the
content of the array is mangled.

Rename the variable to avoid that.

Fixes #9456

Reported-by: George Y. <georgebrmz@oss3d.com>
Reported-by: Paul Stewart <paulstewartis@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/librsvg: disable gdk-pixbuf-loader
Romain Naour [Sat, 4 Mar 2017 10:35:03 +0000 (11:35 +0100)]
package/librsvg: disable gdk-pixbuf-loader

gdk-pixbuf-loader support is enabled by default but it silently fail to
generate gdk-pixbuf.loaders file when host != target.

For exemple on ARM target:
output/host/usr/bin/gdk-pixbuf-query-loaders ./libpixbufloader-svg.la
g_module_open() failed for output/build/librsvg-2.40.16/gdk-pixbuf-loader/./libpixbufloader-svg.la: output/build/librsvg-2.40.16/gdk-pixbuf-loader/./.libs/libpixbufloader-svg.so: wrong ELF class: ELFCLASS32

But it doesn't break the build.

When host = target using the Sourcery CodeBench AMD64 2016.11 toolchain
optimized for x86_68 AMD Puma/Jaguar or AMD Steamroller, it break the
build due to "Illegal instruction".

output/host/usr/bin/gdk-pixbuf-query-loaders libpixbufloader-svg.la
Illegal instruction (core dumped)

Since this option is broken for cross-compilation, disable it.

Fixes:
http://autobuild.buildroot.net/results/393/393145bc9bcb93d6df55ec8c63725c3d9a299957

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "python-pytrie: bump to version 0.3"
Thomas Petazzoni [Sat, 4 Mar 2017 10:41:13 +0000 (11:41 +0100)]
Revert "python-pytrie: bump to version 0.3"

This reverts commit b0c7bd34286b39192dc8958dcf2140b240032b19, which
causes some build failures.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "python-pyasn: bump to version 1.6.0b1"
Thomas Petazzoni [Sat, 4 Mar 2017 10:40:44 +0000 (11:40 +0100)]
Revert "python-pyasn: bump to version 1.6.0b1"

This reverts commit 98c9b1bec6fd511889f38c72bc4aa5aba89e264d, which
causes build failures.

Fixes:

  http://autobuild.buildroot.net/results/27e1c6cdf330bd2009bf8895d8c72a7c4f5186af/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "python-pyasn: fix legal info"
Thomas Petazzoni [Sat, 4 Mar 2017 10:40:13 +0000 (11:40 +0100)]
Revert "python-pyasn: fix legal info"

This reverts commit aca82a056b04f1bc1d2578e414d8a8d1eaf66207, which is
needed to revert commit 98c9b1bec6fd511889f38c72bc4aa5aba89e264d,
which itself causes build failures.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "python-cherrypy: bump to version 10.1.1"
Thomas Petazzoni [Sat, 4 Mar 2017 10:38:49 +0000 (11:38 +0100)]
Revert "python-cherrypy: bump to version 10.1.1"

This reverts commit 98c0bb2324ab8a2eb2bacaa497f11f773af771cd, which
causes some build failures.

Fixes:

  http://autobuild.buildroot.net/results/b66/b66f8fbce3a5127b69a09bdc91a460a3c107e29d/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-enum: fix license information
Thomas Petazzoni [Sat, 4 Mar 2017 10:36:26 +0000 (11:36 +0100)]
python-enum: fix license information

The bump of python-enum to version 0.4.6 in commit
636df89872c7b6a6bed2c679cf65da41309ac652 forgot to update the license
information. Even though the PKG-INFO file still pretends it's GPLv2
or Python license, the only license file available is LICENSE.GPL-3
(which indicates a GPLv3 license), and the comment header in the
source code is pretty clear:

    This is free software: you may copy, modify, and/or distribute
    this work under the terms of the GNU General Public License as
    published by the Free Software Foundation; version 3 of that
    license or any later version.  No warranty expressed or
    implied. See the file ‘LICENSE.GPL-3’ for details.

Fixes:

   http://autobuild.buildroot.net/results/7fec1c7cde710f523263e74b1849f1f4488b7d26/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/mx51evk: Bump U-Boot and kernel versions
Fabio Estevam [Thu, 2 Mar 2017 22:20:18 +0000 (19:20 -0300)]
configs/mx51evk: Bump U-Boot and kernel versions

Bump U-Boot to 2017.01 version and kernel to 4.9.13.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agovala: bump to version 0.34.5
Gustavo Zacarias [Thu, 2 Mar 2017 19:17:18 +0000 (16:17 -0300)]
vala: bump to version 0.34.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoed: bump to version 1.14.2
Baruch Siach [Thu, 2 Mar 2017 19:08:26 +0000 (21:08 +0200)]
ed: bump to version 1.14.2

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocker-engine: bump to version 17.03.0-ce
Fabrice Fontaine [Thu, 2 Mar 2017 18:58:27 +0000 (19:58 +0100)]
docker-engine: bump to version 17.03.0-ce

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocker-containerd: bump to version 977c511eda0925a723debdc94d09459af49d082a
Fabrice Fontaine [Thu, 2 Mar 2017 18:58:26 +0000 (19:58 +0100)]
docker-containerd: bump to version 977c511eda0925a723debdc94d09459af49d082a

This is a runtime dependency of docker-engine in version 17.03.0-ce

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agorunc: bump to version a01dafd48bc1c7cc12bdb01206f9fea7dd6feb70
Fabrice Fontaine [Thu, 2 Mar 2017 18:58:25 +0000 (19:58 +0100)]
runc: bump to version a01dafd48bc1c7cc12bdb01206f9fea7dd6feb70

This is a runtime dependency of docker-engine in version 17.03.0-ce

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoweston: bump to version 2.0.0
Gustavo Zacarias [Thu, 2 Mar 2017 15:26:30 +0000 (12:26 -0300)]
weston: bump to version 2.0.0

Drop upstream patches.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowayland: bump to version 1.13.0
Gustavo Zacarias [Thu, 2 Mar 2017 15:26:29 +0000 (12:26 -0300)]
wayland: bump to version 1.13.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibinput: bump to version 1.6.2
Gustavo Zacarias [Thu, 2 Mar 2017 12:47:42 +0000 (09:47 -0300)]
libinput: bump to version 1.6.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibgtk3: bump to version 3.22.9
Gustavo Zacarias [Thu, 2 Mar 2017 12:36:50 +0000 (09:36 -0300)]
libgtk3: bump to version 3.22.9

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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>