buildroot.git
8 years agoarch: remove support for sh64
Gustavo Zacarias [Thu, 8 Sep 2016 18:38:57 +0000 (15:38 -0300)]
arch: remove support for sh64

It's been deprecated for quite some time now.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/qemu: fix build of host variant
Yann E. MORIN [Thu, 8 Sep 2016 18:46:58 +0000 (20:46 +0200)]
package/qemu: fix build of host variant

The Qemu buildsystem expects that the cpp it is passed can be called
like it were cc: it passes it the '-c' option, which is not allowed by
cpp, but is allowed for cc.

Fix that by overriding CPP when calling configure.

Note: the target variant of Qemu does not build the affected parts (the
PC-BIOS images). This is another problem that should be fixed separately.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoutil-linux: bump version to 2.28.2
Vicente Olivert Riera [Wed, 7 Sep 2016 15:54:47 +0000 (16:54 +0100)]
util-linux: bump version to 2.28.2

--enable-findfs and --enable-lsblk configure options don't exist
anymore. Now, findfs and lsblk are always built by default unless you
pass --disable-all-programs to the configure script.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/php: explicitly disable phpdbg
Theo Debrouwere [Thu, 8 Sep 2016 07:53:09 +0000 (09:53 +0200)]
package/php: explicitly disable phpdbg

When building php, the package will also build/install phpdbg.
This patch explicitly disables this behaviour.

Signed-off-by: Theo Debrouwere <t.debrouwere@televic.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosyslog-ng: Bump version to 3.7.3
Chris Packham [Thu, 8 Sep 2016 10:01:18 +0000 (22:01 +1200)]
syslog-ng: Bump version to 3.7.3

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosyslog-ng: add optional support for libnet build
Chris Packham [Thu, 8 Sep 2016 10:01:17 +0000 (22:01 +1200)]
syslog-ng: add optional support for libnet build

If libnet is included pass --enable-spoof-source to configure otherwise
pass --disable-spoof-source. This stops syslog-ng's configure from
enabling address spoofing based on the build host having libnet
installed.

Fixes:

  http://autobuild.buildroot.net/results/71c733e4a7275f3a1b79cd19065d94e77af0309b
  http://autobuild.buildroot.net/results/d16ba0b9ef75d5a676a26db788be31556b69772a
  http://autobuild.buildroot.net/results/9659d1db1a128b269459fd9b8be797a9efbd35af

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogcc/gcc-final: Disable libcilkrts when using static libs
Floris Bos [Thu, 8 Sep 2016 14:33:15 +0000 (16:33 +0200)]
gcc/gcc-final: Disable libcilkrts when using static libs

Disable libcilkrts when building static, as there is no static version:
https://software.intel.com/en-us/articles/intel-cilk-plus-runtime-library-libcilkrts-can-only-be-linked-dynamically/

Fixes the following toolchain build error when building for i386 and
BR2_STATIC_LIBS=y + BR2_TOOLCHAIN_BUILDROOT_CXX=y is set:

../../../libcilkrts/runtime/sysdep-unix.c:603:19:
fatal error: dlfcn.h: No such file or directory

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofreetype: bump to version 2.7
Gustavo Zacarias [Thu, 8 Sep 2016 18:26:27 +0000 (15:26 -0300)]
freetype: bump to version 2.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobinutils: deprecate 2.24.x
Gustavo Zacarias [Thu, 8 Sep 2016 01:17:27 +0000 (22:17 -0300)]
binutils: deprecate 2.24.x

Now that 2.26.x is stable and there's 2.25.x to fallback for whatever
reason it makes no sense to keep two versions back from default.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoConfig.in: Add BR2_DEPRECATED_SINCE_2016_11
Gustavo Zacarias [Thu, 8 Sep 2016 01:17:26 +0000 (22:17 -0300)]
Config.in: Add BR2_DEPRECATED_SINCE_2016_11

In preparation for new deprecated features/symbols.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobinutils: bump default to version 2.26.x
Gustavo Zacarias [Thu, 8 Sep 2016 01:17:24 +0000 (22:17 -0300)]
binutils: bump default to version 2.26.x

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoglibc: fix MIPS and SPARC builds for glibc < 2.24 with recent binutils
Vicente Olivert Riera [Thu, 8 Sep 2016 16:07:30 +0000 (17:07 +0100)]
glibc: fix MIPS and SPARC builds for glibc < 2.24 with recent binutils

Backport two upstream patches to fix a build failure on MIPS and SPARC
architectures when using recent binutils versions. It appears that on
these architectures pt-vfork.S includes vfork.S (through the alpha
version of pt-vfork.S) and that the __vfork aliases are not
conditionalized on IS_IN (libc) like on other architectures. Therefore
the aliases are also wrongly included in libpthread.so.

The build failure looks like this:

/br/output/build/glibc-2.22/build/nptl/libpthread.so:(*IND*+0x0):
multiple definition of `vfork@GLIBC_2.0'
/br/output/build/glibc-2.22/build/nptl/libpthread.so::(.text+0xeea0):
first defined here

This problem was reported in Debian here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827477

Upstream patches here:

https://sourceware.org/git/?p=glibc.git;a=commit;h=43c2948756bb6e144c7b871e827bba37d61ad3a3
https://sourceware.org/git/?p=glibc.git;a=commit;h=b87c1ec3fa398646f042a68f0ce0f7d09c1348c7

I have tweaked them a little bit in order to not patch the ChangeLog
file, otherwise it will fail.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoerlang-rebar: bump to version 2.6.4
Frank Hunleth [Thu, 8 Sep 2016 01:12:01 +0000 (21:12 -0400)]
erlang-rebar: bump to version 2.6.4

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoharfbuzz: bump to version 1.3.1
Gustavo Zacarias [Thu, 8 Sep 2016 14:15:00 +0000 (11:15 -0300)]
harfbuzz: bump to version 1.3.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/fbterm: fix download site
Julien BOIBESSOT [Thu, 8 Sep 2016 12:43:43 +0000 (14:43 +0200)]
package/fbterm: fix download site

fbterm-1.7.0.tar.gz is no more accessible from http://fbterm.googlecode.com/files

Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agognutls: bump to version 3.4.15
Gustavo Zacarias [Thu, 8 Sep 2016 12:40:29 +0000 (09:40 -0300)]
gnutls: bump to version 3.4.15

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agowireshark: bump version to 2.2.0
Vicente Olivert Riera [Thu, 8 Sep 2016 10:22:34 +0000 (11:22 +0100)]
wireshark: bump version to 2.2.0

- Adapt current patch for 2.2.0.

- Adapt gtk configure options for 2.2.0:
  - Instead of --enable-gtk3 or --enable-gtk2, now it uses
    --enable-gtk=[no/2/3/yes].

- Remove non-existing configure options:
  - --enable-usr-local: removed by
    https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=125989780ba8e658ad0d1f1c71ec01e6d36a2266

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocifs-utils: bump to version 6.6
Gustavo Zacarias [Thu, 8 Sep 2016 02:00:18 +0000 (23:00 -0300)]
cifs-utils: bump to version 6.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/stress-ng: bump to 0.06.15
Romain Naour [Wed, 7 Sep 2016 20:21:24 +0000 (22:21 +0200)]
package/stress-ng: bump to 0.06.15

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/stress-ng: fix install commande
Romain Naour [Wed, 7 Sep 2016 20:21:23 +0000 (22:21 +0200)]
package/stress-ng: fix install commande

Don't use make install otherwise stress-ng will be rebuild without
required link libraries if any. Furthermore, using INSTALL allow to
set the file permission correcly on the target.

Fixes:
http://autobuild.buildroot.net/results/bba/bba4d0b635ab6849f969b8a0363ebe9f5fafd82e

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopugixml: add toolchain comment
Peter Korsgaard [Wed, 7 Sep 2016 20:46:14 +0000 (22:46 +0200)]
pugixml: add toolchain comment

Reported-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoacpica: bump version to 20160831
Erico Nunes [Wed, 7 Sep 2016 20:42:37 +0000 (22:42 +0200)]
acpica: bump version to 20160831

New version has been build- and run-tested on x86_64 and aarch64.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopugixml: new package
Theo Debrouwere [Wed, 7 Sep 2016 15:37:07 +0000 (17:37 +0200)]
pugixml: new package

pugixml is a light-weight C++ XML processing library. It features:
* DOM-like interface with rich traversal/modification capabilities
* Extremely fast non-validating XML parser which constructs the DOM tree from an XML file/buffer
* XPath 1.0 implementation for complex data-driven tree queries
* Full Unicode support with Unicode interface variants and automatic encoding conversions

Homepage: http://pugixml.org/
Repository: https://github.com/zeux/pugixml

Signed-off-by: Theo Debrouwere <t.debrouwere@televic.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolvm2: bump version to 2.02.165
Vicente Olivert Riera [Wed, 7 Sep 2016 15:11:02 +0000 (16:11 +0100)]
lvm2: bump version to 2.02.165

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibcurl: bump version to 7.50.2
Vicente Olivert Riera [Wed, 7 Sep 2016 09:16:08 +0000 (10:16 +0100)]
libcurl: bump version to 7.50.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibpng: bump to version 1.6.25
Julien BOIBESSOT [Wed, 7 Sep 2016 09:02:03 +0000 (11:02 +0200)]
libpng: bump to version 1.6.25

1.6.23 tarballs have moved so, while we are at modifying libpng.mk, bump to 1.6.25.

[Peter: add back upstream sha1 hash]
Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux: bump default to version 4.7.3
Vicente Olivert Riera [Wed, 7 Sep 2016 09:11:53 +0000 (10:11 +0100)]
linux: bump default to version 4.7.3

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: bump 4.7.x series to 4.7.3
Vicente Olivert Riera [Wed, 7 Sep 2016 09:11:52 +0000 (10:11 +0100)]
linux-headers: bump 4.7.x series to 4.7.3

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogcc: bump 6.x series to 6.2.0
Gustavo Zacarias [Tue, 6 Sep 2016 01:12:10 +0000 (22:12 -0300)]
gcc: bump 6.x series to 6.2.0

Adjust some patches to avoid patching the ChangeLog which isn't quite
the same.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/binutils: add binutils 2.27
Gustavo Zacarias [Tue, 6 Sep 2016 01:11:50 +0000 (22:11 -0300)]
package/binutils: add binutils 2.27

And drop upstream patches.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/leveldb: bump version to 1.19
Bernd Kuhls [Mon, 5 Sep 2016 21:43:48 +0000 (23:43 +0200)]
package/leveldb: bump version to 1.19

Rebased 0002-Add-install-recipe.patch

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/php: switch from libmysqlclient to mysqlnd
Floris Bos [Tue, 23 Aug 2016 16:54:48 +0000 (18:54 +0200)]
package/php: switch from libmysqlclient to mysqlnd

The Mysql Native Driver has been the default mysql driver since
PHP 5.4, but buildroot was still using libmysqlclient.

Mysqlnd has several advantages such as improved memory management
and the more favorable PHP licensing terms.
(can combine it with proprietary PHP extensions like Ioncube
loader, while libmysqlclient requires commercial licensing if you
link to it and do not fall under their GPL/FOSS license exception)

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/python-pillow: bump to version 3.3.1
Angelo Compagnucci [Tue, 6 Sep 2016 21:01:23 +0000 (23:01 +0200)]
package/python-pillow: bump to version 3.3.1

This patch bumps python pillow to version 3.3.1

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogtest: retrieve package from github
Fabrice Fontaine [Wed, 31 Aug 2016 16:29:54 +0000 (18:29 +0200)]
gtest: retrieve package from github

https://googletest.googlecode.com/files is no more available, so update
gtest.mk and gtest.hash to retrieve googletest source code as a tar.gz
(and not a zip) from github as https://googletest.googlecode.com is now
a redirection to https://github.com/google/googletest.

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/galileo: update to 3.14 kernel
Padraig James Connolly [Tue, 6 Sep 2016 15:23:35 +0000 (16:23 +0100)]
configs/galileo: update to 3.14 kernel

This commit updates the kernel for Galileo board BSP from 3.8 to 3.14.

Signed-off-by: Padraig Connolly <padraig.connolly@intel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodomoticz: bump to version 87286ee (beta)
Fabrice Fontaine [Tue, 6 Sep 2016 07:51:07 +0000 (09:51 +0200)]
domoticz: bump to version 87286ee (beta)

This version includes the patch on execinfo
(commit 775da272719b52bca37b44a40e935a1eb9d10466) so remove
the 0001-add-proper-check-for-detecting-header-execinfo.h.patch file

This version also fixes arc and musl build (ambiguous call to abs and
missing linux/ioctl header):
  http://autobuild.buildroot.net/results/b5406ca587592a3bac446d1f1df93d3eb45b96a9 fixed by commit 331cd7d6eef6f9f2658b91e662644d88c31eaf64
  http://autobuild.buildroot.net/results/62ec0d348153dff0efd4c1975a9198c17f01f1fa fixed by commit 6ea21db228124565466bf16b0400d40a5eaad30d

Due to DOS line endings, it is easier to reference this beta release
than converting git patches.
The stable release should be released in the first week of October.

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freerdp: fix typo in x11 libs check
Bernd Kuhls [Tue, 6 Sep 2016 15:31:17 +0000 (17:31 +0200)]
package/freerdp: fix typo in x11 libs check

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibevdev: bump version to 1.5.4
Peter Seiderer [Tue, 6 Sep 2016 20:14:14 +0000 (22:14 +0200)]
libevdev: bump version to 1.5.4

For details see [1] and [2].

[1] https://lists.freedesktop.org/archives/input-tools/2016-August/001324.html
[2] https://lists.freedesktop.org/archives/input-tools/2016-August/001327.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogstreamer1: switch URLs to https
Gustavo Zacarias [Mon, 5 Sep 2016 23:13:04 +0000 (20:13 -0300)]
gstreamer1: switch URLs to https

In order to avoid pointless redirects since they're 301.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-libav: bump to version 1.8.3
Gustavo Zacarias [Mon, 5 Sep 2016 23:13:03 +0000 (20:13 -0300)]
gst1-libav: bump to version 1.8.3

Now that we moved to ffmpeg 3.x the build and runtime (when patched) problems
have gone away.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoaudit: add powerpc64 arch support
Judd Meinders [Tue, 30 Aug 2016 21:21:59 +0000 (16:21 -0500)]
audit: add powerpc64 arch support

Signed-off-by: Judd Meinders <judd.meinders@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/enlightenment: set eldbus-codegen path
Romain Naour [Fri, 2 Sep 2016 20:31:35 +0000 (22:31 +0200)]
package/enlightenment: set eldbus-codegen path

Otherwise the one from the host may be used.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/enlightenment: bump to v0.21.2
Romain Naour [Fri, 2 Sep 2016 20:31:34 +0000 (22:31 +0200)]
package/enlightenment: bump to v0.21.2

Remove upstream patch.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/expedite: bump to lastest commit
Romain Naour [Fri, 2 Sep 2016 20:31:33 +0000 (22:31 +0200)]
package/expedite: bump to lastest commit

expedite from 1.15 branch doesn't build anymore with efl 1.18 due to
API changes. Since there is no new release or 1.18 scpecific branch,
use the latest commit.

Add a hash file.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: fix hash file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libevas-generic-loaders: remove package
Romain Naour [Fri, 2 Sep 2016 20:31:32 +0000 (22:31 +0200)]
package/libevas-generic-loaders: remove package

libevas-generic-loaders package is not used anymore, remove it.
Add a legacy entry.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/elementary: remove package
Romain Naour [Fri, 2 Sep 2016 20:31:31 +0000 (22:31 +0200)]
package/elementary: remove package

elementary package is not used anymore, remove it.
Add a legacy entry.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: move the legacy entry at the right place.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/terminology: remove elementary dependency
Romain Naour [Fri, 2 Sep 2016 20:31:30 +0000 (22:31 +0200)]
package/terminology: remove elementary dependency

elementary is now provided by efl package, so remove elementary package
dependency.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/enlightenment: remove libevas-generic-loaders dependency
Romain Naour [Fri, 2 Sep 2016 20:31:29 +0000 (22:31 +0200)]
package/enlightenment: remove libevas-generic-loaders dependency

libevas-generic-loaders is now provided by efl package, so remove
libevas-generic-loaders package dependency.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/enlightenment: remove elementary dependency
Romain Naour [Fri, 2 Sep 2016 20:31:28 +0000 (22:31 +0200)]
package/enlightenment: remove elementary dependency

elementary is now provided by efl package, so remove elementary package
dependency.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/efl: bump to 1.18.0
Romain Naour [Fri, 2 Sep 2016 20:31:27 +0000 (22:31 +0200)]
package/efl: bump to 1.18.0

Elementary, evas-generic-loaders and emotion-generic-loaders are now
part of efl 1.18 package [1].

Merge the elementery and evas-generic-loaders package to the efl one.

Rename librsvg option (srvg/libsrvg)

[1] https://phab.enlightenment.org/w/efl_and_elementary_1_18/

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ffmpeg: add optional support for opencv3
Bernd Kuhls [Mon, 5 Sep 2016 14:51:20 +0000 (16:51 +0200)]
package/ffmpeg: add optional support for opencv3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/opencv: Fix compiling VFP assembler code
Bernd Kuhls [Tue, 6 Sep 2016 10:29:09 +0000 (12:29 +0200)]
package/opencv: Fix compiling VFP assembler code

Fixes build errors in ffmpeg
http://autobuild.buildroot.net/results/c32/c32a21240a9933796ee850349a62ff3c2314f25c/
http://autobuild.buildroot.net/results/22a/22a9769d83d2a398bb6b264d342b2077c41c9cc5/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/opencv3: use BR2_TOOLCHAIN_HAS_LIBATOMIC
Bernd Kuhls [Mon, 5 Sep 2016 21:00:56 +0000 (23:00 +0200)]
package/opencv3: use BR2_TOOLCHAIN_HAS_LIBATOMIC

It uses __atomic_fetch_add_4 so libatomic must be pulled in if
necessary. Fixes
http://autobuild.buildroot.net/results/652/6521223b426c3cb4dfefab27bc6021900db6910e/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowebkitgtk: bump to version 2.12.5
Gustavo Zacarias [Tue, 6 Sep 2016 02:39:57 +0000 (23:39 -0300)]
webkitgtk: bump to version 2.12.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoe2fsprogs: bump to version 1.43.3
Gustavo Zacarias [Tue, 6 Sep 2016 02:39:39 +0000 (23:39 -0300)]
e2fsprogs: bump to version 1.43.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agompd: bump to version 0.19.19
Gustavo Zacarias [Tue, 6 Sep 2016 03:46:53 +0000 (00:46 -0300)]
mpd: bump to version 0.19.19

It fixes runtime issues with ffmpeg 3.1.x

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agompd-mpc: bump to version 0.28
Gustavo Zacarias [Tue, 6 Sep 2016 03:46:39 +0000 (00:46 -0300)]
mpd-mpc: bump to version 0.28

The download has a .sig file so use it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoncmpc: bump to version 0.25
Gustavo Zacarias [Tue, 6 Sep 2016 03:45:57 +0000 (00:45 -0300)]
ncmpc: bump to version 0.25

The download has a .sig file so use it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agompv: bump to version 0.20.0
Gustavo Zacarias [Tue, 6 Sep 2016 02:59:11 +0000 (23:59 -0300)]
mpv: bump to version 0.20.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibenca: bump to version 1.19
Gustavo Zacarias [Tue, 6 Sep 2016 02:56:02 +0000 (23:56 -0300)]
libenca: bump to version 1.19

Switch to homepage download URL to get the smaller xz-compressed variant.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: bump 3.{12, 18}.x and 4.1.x series
Gustavo Zacarias [Tue, 6 Sep 2016 17:29:02 +0000 (14:29 -0300)]
linux-headers: bump 3.{12, 18}.x and 4.1.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobtrfs-progs: bump to version 4.7.2
Gustavo Zacarias [Tue, 6 Sep 2016 13:59:00 +0000 (10:59 -0300)]
btrfs-progs: bump to version 4.7.2

Drop all of the upstreamed patches (not precisely in the same form) and
rebase the only required patch for proper static builds with staging
libs required by other packages.
Build-tested for arm-glibc, arm-uclibc, arm-musl and arm-uclibc-static.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolxc: use uptream patch to handle --disable-werror
Jérôme Pouiller [Tue, 6 Sep 2016 09:38:54 +0000 (11:38 +0200)]
lxc: use uptream patch to handle --disable-werror

This new patch does change behavior, but it was accepted by upstream and
could be removed on next version bump.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibgtk3: fix typo
Gustavo Zacarias [Mon, 5 Sep 2016 21:16:52 +0000 (18:16 -0300)]
libgtk3: fix typo

It's wayland, not waylandd, hence gtk3+ with the wayland backend went
completely poof.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/amd-catalyst: fix legal-info
Bernd Kuhls [Mon, 5 Sep 2016 20:37:55 +0000 (22:37 +0200)]
package/amd-catalyst: fix legal-info

Fixes
http://autobuild.buildroot.net/results/4f1/4f1e9b4bf43add4712e82d4a58e633abb2a7d2b8/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libva-intel-driver: bump version to 1.7.2
Bernd Kuhls [Mon, 5 Sep 2016 10:02:19 +0000 (12:02 +0200)]
package/libva-intel-driver: bump version to 1.7.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libva: bump version to 1.7.2
Bernd Kuhls [Mon, 5 Sep 2016 10:02:18 +0000 (12:02 +0200)]
package/libva: bump version to 1.7.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi: Fix compilation of kodi-pvr-vbox with gcc6
Bernd Kuhls [Mon, 5 Sep 2016 11:56:34 +0000 (13:56 +0200)]
package/kodi: Fix compilation of kodi-pvr-vbox with gcc6

Fixes a compile error not yet caught by autobuilders:

In file included from /home/bernd/buildroot/br2/output/build/kodi-pvr-vbox-15e864d160da5a051e18aef06f3a53e49808be02/src/client.cpp:24:0:
/home/bernd/buildroot/br2/output/host/usr/i586-buildroot-linux-uclibc/sysroot/usr/include/kodi/xbmc_pvr_dll.h:423:63: error: 'SEEK_SET' was not declared in this scope
   long long SeekLiveStream(long long iPosition, int iWhence = SEEK_SET);
                                                               ^~~~~~~~
/home/bernd/buildroot/br2/output/host/usr/i586-buildroot-linux-uclibc/sysroot/usr/include/kodi/xbmc_pvr_dll.h:510:67: error: 'SEEK_SET' was not declared in this scope
   long long SeekRecordedStream(long long iPosition, int iWhence = SEEK_SET);
                                                                   ^~~~~~~~
CMakeFiles/pvr.vbox.dir/build.make:62: recipe for target 'CMakeFiles/pvr.vbox.dir/src/client.cpp.o' failed

using this defconfig

BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_BINUTILS_VERSION_2_26_X=y
BR2_GCC_VERSION_6_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_INIT_NONE=y
BR2_PACKAGE_KODI=y
BR2_PACKAGE_KODI_PVR_VBOX=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_XORG7=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomicropython: replace local fix with upstream one
Chris Packham [Mon, 5 Sep 2016 09:16:15 +0000 (21:16 +1200)]
micropython: replace local fix with upstream one

The fix from commit 26248571b625 ("micropython: fix build failures") was
applied upstream. This replaces the local buildroot fix with the patch
that was accepted upstream.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain: Bump ARC tools to arc-2016.09-eng011
Zakharov Vlad [Mon, 5 Sep 2016 17:41:37 +0000 (20:41 +0300)]
toolchain: Bump ARC tools to arc-2016.09-eng011

As described at:
4520524ba055706236db9f00dd79f1b2e2e87fde
this commit continues a series of updates of ARC tools.
This time we're updating tools to arc-2016.09-eng011.

This engenering build contains the following updates:
1. rebase binutils on top of the latest upstream master
2. update GCC to version 6.2

We still keep GDB as it is of arc-2016.03 release because there're some
issues we'd like to resolve before releasing it to wider audience.

So again note this is next engineering builds of arc-2016.09 series
and it might have all kinds of breakages, please don't use it for
production builds.

Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/{mesa3d, mesa3d-headers}: bump version to 12.0.2
Bernd Kuhls [Mon, 5 Sep 2016 15:56:23 +0000 (17:56 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 12.0.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoe2fsprogs: bump version to 1.43.2
Vicente Olivert Riera [Mon, 5 Sep 2016 14:51:54 +0000 (15:51 +0100)]
e2fsprogs: bump version to 1.43.2

- Upstream patches removed.
- Do not autoreconf since this was neecessary for one of those patches
  that are now upstream. Also remove host-gettext dependency for the
  same reason.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogit: bump version to 2.10.0
Vicente Olivert Riera [Mon, 5 Sep 2016 13:40:11 +0000 (14:40 +0100)]
git: bump version to 2.10.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomutt: bump version to 1.7.0
Vicente Olivert Riera [Mon, 5 Sep 2016 13:40:10 +0000 (14:40 +0100)]
mutt: bump version to 1.7.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonano: bump version to 2.7.0
Vicente Olivert Riera [Mon, 5 Sep 2016 13:40:09 +0000 (14:40 +0100)]
nano: bump version to 2.7.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoprivoxy: bump version to 3.0.26
Vicente Olivert Riera [Mon, 5 Sep 2016 13:40:08 +0000 (14:40 +0100)]
privoxy: bump version to 3.0.26

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqemu: bump version to 2.7.0
Vicente Olivert Riera [Mon, 5 Sep 2016 13:40:07 +0000 (14:40 +0100)]
qemu: bump version to 2.7.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/binutils: Disable -Os for ARM cortex-M cpus
Romain Naour [Sun, 4 Sep 2016 14:14:00 +0000 (16:14 +0200)]
package/binutils: Disable -Os for ARM cortex-M cpus

ERROR: reloc type R_ARM_THM_MOVW_ABS_NC unsupported in this context
ERROR: reloc type R_ARM_THM_MOVT_ABS unsupported in this context
2 bad relocscollect2: error: ld returned 1 exit status

Binutils build fine with -O1, -O2 or -O3.

Reported upstream:
https://sourceware.org/bugzilla/show_bug.cgi?id=20552

Fixes:
http://autobuild.buildroot.net/results/e72/e727e6e9cf361acc786acec192a88f5f5444a2f6

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomicropython: fix build failures
Chris Packham [Sat, 3 Sep 2016 09:15:35 +0000 (21:15 +1200)]
micropython: fix build failures

Fixes:

  http://autobuild.buildroot.net/results/061c66987e9c33a6641c8183f5e0badae516fc1d
  http://autobuild.buildroot.net/results/62e5b5c6d9dca0f41fb4e7d462ebfbb02f8d29da
  http://autobuild.buildroot.net/results/a6437a49659a7b2983269e758dba9fa5a29240d7

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibwebsockets: bump to version 2.0.2
Danomi Manchego [Sun, 4 Sep 2016 00:21:56 +0000 (20:21 -0400)]
libwebsockets: bump to version 2.0.2

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/jpeg: properly declare providers
Yann E. MORIN [Sat, 3 Sep 2016 22:58:42 +0000 (00:58 +0200)]
package/jpeg: properly declare providers

libjpeg and jpeg-turo are providers of the jpeg virtual package, so they
must declare themselves as such.

We do not have any problem, because the dependency is computed from the
Kconfig-defined option BR2_PACKAGE_PROVIDES_JPEG, and we do not check
the Makefile-defined <FOO>_PROVIDES variable.

For the sake of correctness, make both libjpeg and jpeg-turo declare
themselves as providers for the jpeg virtual package.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/openssl: depend on the virtual cryptodev package
Yann E. MORIN [Sat, 3 Sep 2016 22:58:41 +0000 (00:58 +0200)]
package/openssl: depend on the virtual cryptodev package

Instead of depending on each provider of cryptodev, make openssl depend
on the virtual package.

This is easy because in both cases the openssl build systems needs the
same configuration options.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/cryptodev: properly declare providers
Yann E. MORIN [Sat, 3 Sep 2016 22:58:40 +0000 (00:58 +0200)]
package/cryptodev: properly declare providers

cryptodev-linux and ocf-linux are providers of the cryptodev virtual
package, so they must declare themselves as such.

We do not have any problem for now, as the only consumer (openssl) of
both cryptodev-linux and ocf-linux did not depend on the virtual package
but on each provider. The other consumer is gnutls, but has only a
dependency on cryptodev-linux.

However, openssl can be turned into a proper consumer of the virtual
package, which would trigger the bug.

For the sake of correctness, make both cryptodev-linux and ocf-linux
declare themselves as providers for the cryptodev virtual package.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dosfstools: Fix undefined PATH_MAX under musl
Romain Naour [Sat, 3 Sep 2016 16:24:06 +0000 (18:24 +0200)]
package/dosfstools: Fix undefined PATH_MAX under musl

Dosfstools doesn't build with musl only if BR2_PACKAGE_HAS_UDEV is set
due to a missing include for PATH_MAX (limits.h).

Fixes:
http://autobuild.buildroot.net/results/346/346feda6a4a83850dbb62919eb33482302053490

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolxc: revive "drop-werror" patch
Jérôme Pouiller [Sat, 3 Sep 2016 15:24:49 +0000 (17:24 +0200)]
lxc: revive "drop-werror" patch

commit 5050a94ae9f448641e05ce29c931671ffdc62784 dropped patch that
remove '-Werror' from CFLAGS. However, it seems this patch is still
necessary:

  http://autobuild.buildroot.net/results/b1cbca6d0396863654b1d09ccc3163c5f6124ab8
  http://autobuild.buildroot.net/results/fcf2834ad74b95548d25dad2274704ea401f9665
  http://autobuild.buildroot.net/results/048be2fc702c9dba9ca4439ff687d71b30c10551
  http://autobuild.buildroot.net/results/939246c9a4f433dfd0dc414988f5957441b8e9b4

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoagentpp: bump to 4.0.6
Luca Ceresoli [Fri, 2 Sep 2016 12:22:52 +0000 (14:22 +0200)]
agentpp: bump to 4.0.6

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosnmppp: bump to 3.3.7
Luca Ceresoli [Fri, 2 Sep 2016 12:22:51 +0000 (14:22 +0200)]
snmppp: bump to 3.3.7

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agompv: remove stray patch
Gustavo Zacarias [Fri, 2 Sep 2016 15:55:03 +0000 (12:55 -0300)]
mpv: remove stray patch

It's remaining from the master-next merge and no longer applies.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoMerge branch 'next'
Peter Korsgaard [Fri, 2 Sep 2016 14:20:33 +0000 (16:20 +0200)]
Merge branch 'next'

Quite some conflicts, so here goes ..

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoKickoff 2016.11 cycle
Peter Korsgaard [Thu, 1 Sep 2016 12:23:11 +0000 (14:23 +0200)]
Kickoff 2016.11 cycle

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodocs/website/news.html: add 2016.08 announcement link
Peter Korsgaard [Thu, 1 Sep 2016 12:22:25 +0000 (14:22 +0200)]
docs/website/news.html: add 2016.08 announcement link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoUpdate for 2016.08
Peter Korsgaard [Thu, 1 Sep 2016 09:30:19 +0000 (11:30 +0200)]
Update for 2016.08

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agompd: add optional support for libshout
Peter Korsgaard [Wed, 31 Aug 2016 22:16:55 +0000 (00:16 +0200)]
mpd: add optional support for libshout

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibshout: add optional openssl support
Peter Korsgaard [Wed, 31 Aug 2016 22:05:50 +0000 (00:05 +0200)]
libshout: add optional openssl support

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/libshout: add patches to fix static linking
Jörg Krause [Wed, 31 Aug 2016 20:26:07 +0000 (22:26 +0200)]
package/libshout: add patches to fix static linking

This series includes two patches to fix static linking with libshout.

The first patch fixes two typos resulting in an uninterpretable library
propagation and is mainly needed for the follow-up patch.

The second patch makes sure that `@SHOUT_REQUIRES@` and therefore
`Requires.private` includes ssl as `Requires.private` defines a list of private
packages required by this package but not exposed to applications.

Note that autoreconf is enabled as the first patch touches configure.ac.

Fixes:
http://autobuild.buildroot.net/results/b82/b82408fccbf816575125dcc1a1de7260f66f62e8/
http://autobuild.buildroot.net/results/360/3605750023267e4cd35d98451bd283f9e70a6106/
http://autobuild.buildroot.net/results/03b/03b98b313dd6ed2909607cdc0c4f6fb87be3ccfe/
http://autobuild.buildroot.net/results/70b/70ba47e04d1fc0d2379bf1ac7aab4c52d6193001/

[Peter: fix libssl .pc reference, fix typo]
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/luajit: disable for mips{32,64}r6
Jörg Krause [Wed, 31 Aug 2016 18:53:56 +0000 (20:53 +0200)]
package/luajit: disable for mips{32,64}r6

LuaJIT does not have support for MIPS Release 6 [1]. If LuaJIT is
invoked with the option `-b -a mips` to save the bytecode for the MIPS
architecture it generates object files with the MIPS32 Release 1
instruction set.

GCC added support for MIPS32R6 in version 5. However, object files for MIPS32R1
cannot be linked with object for MIPS32R6.

That's why building the package luvi fails for MIPS32R6, where object files
created with GCC are linked with object files created with LuaJIT with
the following linker error:

```
linking mips:isa32 module with previous mips:isa32r6 modules
```

Disable LuaJIT for MIPS32 and MIPS64 R6 to fix the build issue with the
luvi package.

Fixes:
http://autobuild.buildroot.net/results/e01/e017671c33314e5bf2d7fc4920f6c0e64a132383/
http://autobuild.buildroot.net/results/35f/35f558453c45a27367e80e9b8cbe3bd2dccbfd54/
http://autobuild.buildroot.net/results/8e0/8e001112b1678f9fb1c198c84184cd6f5fc3d004/

[1] http://www.freelists.org/post/luajit/Support-for-MIPS32r6,1

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agomplayer: fix detection of X.org
Thomas Petazzoni [Wed, 31 Aug 2016 21:17:26 +0000 (23:17 +0200)]
mplayer: fix detection of X.org

As reported in bug #8206, the mplayer configure script fails to detect
the availability of X11 header/library if the X.org development packages
are not installed on the build machine.

This is due to the logic used by the mplayer configure script, which
looks like this:

  for I in $(echo $extra_cflags | sed s/-I//g) /usr/include ; do
    if test -f "$I/X11/Xlib.h" ; then
      _x11_headers="yes"

So, in other words, it:

 1/ Parses the --extra-cflags option, and finds the -I options in there.

 2/ Looks in /usr/include

Since $(STAGING_DIR)/usr/include is in the compiler built-in search path
for headers, we currently don't explicitly pass it in --extra-cflags, so
mplayer only looks in /usr/include. If you have X11 headers there thanks
to being installed on your build machine, everything works fine (the
rest of the build logic really uses the headers and libraries of the
cross-compiler). But if you don't have X11 headers in /usr/include, the
configure scripts assumes X11 is not available.

Since fixing the hand-written configure script of mplayer, hosted in a
Subversion repository, is beyond sanity, we simply work around this
problem by passing the appropriate -I$(STAGING_DIR)/usr/include option
in --extra-cflags.

Before this patch, during the configure script:

Checking for X11 headers presence ... no (check if the dev(el) packages are installed)
Checking for X11 ... no (check if the dev(el) packages are installed)

And then, the mplayer binary:

 0x00000001 (NEEDED)                     Shared library: [librt.so.0]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.0]
 0x00000001 (NEEDED)                     Shared library: [libm.so.0]
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]

With this patch, during the configure script:

Checking for X11 headers presence ... yes
Checking for X11 ... yes

And then, the mplayer binary:

 0x00000001 (NEEDED)                     Shared library: [librt.so.0]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.0]
 0x00000001 (NEEDED)                     Shared library: [libm.so.0]
 0x00000001 (NEEDED)                     Shared library: [libXext.so.6]
 0x00000001 (NEEDED)                     Shared library: [libX11.so.6]
 0x00000001 (NEEDED)                     Shared library: [libXinerama.so.1]
 0x00000001 (NEEDED)                     Shared library: [libXxf86vm.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]

Fixes bug #8206

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogcc: remove BR2_GCC_ENABLE_TLS option
Thomas Petazzoni [Tue, 30 Aug 2016 21:33:28 +0000 (23:33 +0200)]
gcc: remove BR2_GCC_ENABLE_TLS option

The current BR2_GCC_ENABLE_TLS can cause users to make incorrect
choices, and is not very useful. This options allows to decide whether
we pass --enable-tls or --disable-tls to gcc, to enable or disable
support for Thread Local Storage.

Its behavior is:

 - The option is default to "y" but only exists if we're using
   uClibc/NPTL or glibc.

 - When we're using uClibc, the option can be disabled.

So, in practice, this means that currently:

 - TLS support is always on for glibc

 - TLS support is on by default for uClibc/NPTL, but can be disabled in
   the configuration. This is in fact bad and causes the build failure
   reported in bug #7424 (this bug is still reproducible on master)

 - TLS support is always disabled for uClibc/no-thread and
   uClibc/linuxthreads.

 - TLS support is always disabled for musl. This does not cause any
   build failure, but musl can use TLS support, and therefore be more
   efficient. According to
   http://www.openwall.com/lists/musl/2012/10/04/1, "Note that if you've
   been building gcc with --disable-tls, __thread was already working
   but gets emulated (very poorly; it's slow and will abort() if it runs
   out of memory) through libgcc.".

So, this commit completely removes the BR2_GCC_ENABLE_TLS and instead
makes the right choice inside gcc.mk directly:

 - TLS support enabled for glibc, musl and uClibc/NPTL

 - TLS support in other cases, i.e uClibc/no-thread and
   uClibc/linuxthreads.

We have intentionally *not* added the option to
Config.in.legacy. Indeed, the new behavior is *exactly* the same as the
older behavior, with the exception of:

 - People can no longer disable TLS support in uClibc/NPTL, which was
   anyway causing a build failure and therefore was not used.

 - TLS support is now enabled on musl, but people using musl already had
   BR2_GCC_ENABLE_TLS not set, so they wouldn't get the legacy warning.

Fixes bug #7424.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
8 years agovalgrind: let the valgrind configure script detect TLS availability
Thomas Petazzoni [Tue, 30 Aug 2016 21:33:27 +0000 (23:33 +0200)]
valgrind: let the valgrind configure script detect TLS availability

Back in 2005, in commit
a2c326396a43ecbc8d02c3d815d4010a7ba2e004 ("update valgrind to the latest
and greatest"), an explicit --disable-tls option was added. More
recently, in commit 31a3f4bd54e12b8d6de286ab8fb6d9651990e2f5 ("valgrind:
enable tls support") changed this to be conditional on
BR2_GCC_ENABLE_TLS.

However, the configure script of valgrind is perfectly capable of
detecting TLS support, even in a cross-compilation case: it tries to
compile a program that uses __thread and sees if it works.

Since we're about to modify how BR2_GCC_ENABLE_TLS is handled, we'd
better remove its usage from packages, and valgrind is the only package
using this config option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
8 years agogupnp: bump to version 0.99.0
Fabrice Fontaine [Wed, 31 Aug 2016 09:31:36 +0000 (11:31 +0200)]
gupnp: bump to version 0.99.0

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>