buildroot.git
10 years agoi2c-tools: add support to build python extension
Ryan Barnett [Sun, 5 Apr 2015 22:15:05 +0000 (17:15 -0500)]
i2c-tools: add support to build python extension

Add a config option to build the python bindings for i2c-tools -
py-smbus. The steps for building the python bindings is the same as
the distutil steps that are a part of the python infrastructure.

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
CC: Baruch Siach <baruch@tkos.co.il>
CC: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoi2c-tools: add hash file
Ryan Barnett [Sun, 5 Apr 2015 22:15:04 +0000 (17:15 -0500)]
i2c-tools: add hash file

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibwebsockets: bump version to v1.4-chrome43-firefox-36
Johan Sagaert [Sun, 5 Apr 2015 23:52:55 +0000 (01:52 +0200)]
libwebsockets: bump version to v1.4-chrome43-firefox-36

dropped upstream patch 0001
renamed patch 0002 -> 0001
added hash
details : https://github.com/warmcat/libwebsockets/blob/master/changelog

Signed-off-by: Sagaert Johan <sagaert.johan@proximus.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agojsoncpp: don't build tests
Baruch Siach [Mon, 6 Apr 2015 05:32:07 +0000 (08:32 +0300)]
jsoncpp: don't build tests

Fixes:
http://autobuild.buildroot.net/results/a0f/a0f60a1df243bdae875f12668011a53a70071ee6/
http://autobuild.buildroot.net/results/f88/f8885520b5892d49164c88a974e7dffc1c3c2ce0/
http://autobuild.buildroot.net/results/448/448745830f58496e6dcdf48e2ad57650b4744909/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolirc-tools: fix build with host python3
Baruch Siach [Mon, 6 Apr 2015 04:45:22 +0000 (07:45 +0300)]
lirc-tools: fix build with host python3

Add an upstream patch making make_rel_symlink.py python3 compatible. Add
another patch that removes python3 dependency.

Fixes:
http://autobuild.buildroot.net/results/6c6/6c6e014a751650c16d25dfd3d673bd3199c72b2e/
http://autobuild.buildroot.net/results/857/85724dfd014cec5a80dd18a635826daa2edc1417/
http://autobuild.buildroot.net/results/a74/a74563f700a47065ffd1ba42c83c2d7722bacd89/

and many others.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/gnu-efi: fix legal-info
Yann E. MORIN [Sun, 5 Apr 2015 17:48:55 +0000 (19:48 +0200)]
package/gnu-efi: fix legal-info

Fix a bunch of deficiencies:
  - 'debian/copyright' does not exist.
  - gnuefi is not GPLv2+. Only one AArch64 file has GPLv2+ headers,
    all others have BSD-3c
  - efilib is BSD-2c

Change the licensing information to include BSD-3c for the gnuefi parts,
and keep refernce to GPLv2+ as the Main README.gnuefi references 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>
10 years agogst1-imx: add package
Gary Bisson [Mon, 30 Mar 2015 10:12:23 +0000 (12:12 +0200)]
gst1-imx: add package

Open-source GStreamer 1.0 plugins for i.MX6 platforms.
More info at https://github.com/Freescale/gstreamer-imx

[Peter: add upstream URL to help text]
Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: Rostislav Lisovy <lisovy@jablotron.cz>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython-coherence: fix legal-info
Yegor Yefremov [Sun, 5 Apr 2015 18:05:14 +0000 (20:05 +0200)]
python-coherence: fix legal-info

Typo in license file name.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocollectd: fix postgresql library detection
Peter Seiderer [Tue, 17 Mar 2015 21:44:05 +0000 (22:44 +0100)]
collectd: fix postgresql library detection

Explicitly link against -lpthread and -lm.

Fixes ([1]):
   checking for PQconnectdb in -lpq... no
   checking for PQserverVersion in -lpq... no
   postgresql  . . . . . no (dependency error)

[1] http://autobuild.buildroot.org/results/926/926a43b8f635790d7e9abdc977ea803ddaf8a523/

[Thomas:
  - Rebase on top of master
  - Use += instead of =, which will avoid mistakes in the future.]

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/linux-firmware: fix legal-info
Yann E. MORIN [Sun, 5 Apr 2015 16:48:27 +0000 (18:48 +0200)]
package/linux-firmware: fix legal-info

Sorry, I was not careful enough when reworking the radeon parts...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/evemu: fix legal-info
Yann E. MORIN [Sun, 5 Apr 2015 16:48:25 +0000 (18:48 +0200)]
package/evemu: fix legal-info

COPYING.GPL3 is not present in the sources.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/zmqpp: fix legal-info
Yann E. MORIN [Sun, 5 Apr 2015 16:48:24 +0000 (18:48 +0200)]
package/zmqpp: fix legal-info

The license is in fact MIT.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/python-cherrypy: fix legal-info
Yann E. MORIN [Sun, 5 Apr 2015 16:48:23 +0000 (18:48 +0200)]
package/python-cherrypy: fix legal-info

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/liblinear: fix legal-info
Yann E. MORIN [Sun, 5 Apr 2015 16:48:22 +0000 (18:48 +0200)]
package/liblinear: fix legal-info

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibtirpc: turn last patch into a Git formatted patch
Thomas Petazzoni [Sun, 5 Apr 2015 16:12:56 +0000 (18:12 +0200)]
libtirpc: turn last patch into a Git formatted patch

This commit modifies the last libtirpc patch to be a Git formatted
patch, i.e that can easily be imported using 'git am'.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogpm: add patch to fix build with the musl C library
Thomas Petazzoni [Sun, 5 Apr 2015 16:04:17 +0000 (18:04 +0200)]
gpm: add patch to fix build with the musl C library

Backported from upstream Git repository.

Fixes:

  http://autobuild.buildroot.org/results/a4b/a4b076d2750056710ab85e364e9e2c687af971cc/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowvstreams: disable with the ARC external toolchain
Thomas Petazzoni [Sun, 5 Apr 2015 15:34:43 +0000 (17:34 +0200)]
wvstreams: disable with the ARC external toolchain

This toolchain lacks program_invocation_* in the uClibc configuration.

Fixes:

  http://autobuild.buildroot.org/results/653/6531009b2eae64b4e79f66a625cf2a3f9ffc2ac6/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodrbd-utils: add dependency on host-flex
Thomas Petazzoni [Sun, 5 Apr 2015 15:26:12 +0000 (17:26 +0200)]
drbd-utils: add dependency on host-flex

Fixes:

  http://autobuild.buildroot.org/results/d8c/d8cbb888787401ddefadaea8dd239a651f3dbff1/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolirc-tools: add host-pkgconf dependency
Thomas Petazzoni [Sun, 5 Apr 2015 15:24:50 +0000 (17:24 +0200)]
lirc-tools: add host-pkgconf dependency

Otherwise, the configure script fails with "Required program
pkg-config is missing".

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoleveldb: new package
Steve James [Tue, 13 Jan 2015 10:53:57 +0000 (10:53 +0000)]
leveldb: new package

[Thomas:
  - remove 003-allow-flags-from-environment.patch, and pass
    TARGET_CONFIGURE_OPTS in the environment instead.
  - convert the patches to Git formatted patches.
  - use the v1.18 tag instead of a commit hash.
  - do not pass TARGET_CONFIGURE_OPTS at install time, this is not
    needed.]

Signed-off-by: Steve James <ste@junkomatic.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/apr-util: add support for unixodbc
Bernd Kuhls [Fri, 6 Mar 2015 16:49:44 +0000 (17:49 +0100)]
package/apr-util: add support for unixodbc

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/php: add unixodbc support
Bernd Kuhls [Fri, 6 Mar 2015 16:49:43 +0000 (17:49 +0100)]
package/php: add unixodbc support

[Thomas: fix indentation.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/qt: enable unixodbc support
Bernd Kuhls [Fri, 6 Mar 2015 16:49:42 +0000 (17:49 +0100)]
package/qt: enable unixodbc support

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoopen-plc-utils: fix build on !uclibc toolchains
Thomas Petazzoni [Sun, 5 Apr 2015 09:30:54 +0000 (11:30 +0200)]
open-plc-utils: fix build on !uclibc toolchains

The open-plc-utils source code has a condition for uClibc toolchains
when calling vfprintf(). But the non-uClibc case simply doesn't
build. And the recommended solution at
https://github.com/qca/open-plc-utils/issues/36 is to pass
-D__UCLIBC__ unconditionally.

Fixes:

  http://autobuild.buildroot.org/results/4fd/4fdc56f5dec6c8773086a4661eff1e4ce6ef660e/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotovid: new package
Steve Kenton [Sun, 22 Mar 2015 15:35:13 +0000 (10:35 -0500)]
tovid: new package

The tovid suite, also known simply as tovid, is a collection of shell
and Python scripts for creating DVDs and (S)VCDs. It is pronounced
"to vid" (because it converts to video disc formats).

[Thomas:
  - remove largefile dependency
  - properly propagate mplayer and ffmpeg dependencies.
  - fix license: it's GPLv2+, not GPLv2.]

Signed-off-by: Steve Kenton <skenton@ou.edu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomplayer: introduce a BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS option
Thomas Petazzoni [Sun, 5 Apr 2015 09:33:06 +0000 (11:33 +0200)]
mplayer: introduce a BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS option

In order to allow other packages to easily select mplayer without
duplicating its complicated architecture dependencies, this commit
introduces a BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS blind option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosystemd: needs 3.10+ kernel headers
Peter Korsgaard [Sun, 5 Apr 2015 09:15:00 +0000 (11:15 +0200)]
systemd: needs 3.10+ kernel headers

Fixes:
http://autobuild.buildroot.net/results/f51/f510014600bc7d1e3cf81ff53268d186c8b417b8/
http://autobuild.buildroot.net/results/278/278a60a1569eb57773945281b102a0495ff32775/
http://autobuild.buildroot.net/results/083/083f9579893185d93c591d171b39d8e068b21412/
http://autobuild.buildroot.net/results/03a/03a96697aa72b69546d61e56d1285bb50b0633d9/

And many more.

Systemd needs NDA_PORT/VNI/IFINDEX from linux/neighbour.h, which were added
in 3.10 (6681712d: vxlan: generalize forwarding tables).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoipmiutil: only make available for x86
Peter Korsgaard [Sat, 4 Apr 2015 22:38:34 +0000 (00:38 +0200)]
ipmiutil: only make available for x86

IPMI is a Intel/PC spec, so it doesn't make much sense to build on !x86 -
And ipmiutil uses sys/io.h and inb()/outb() which isn't supported on all
architectures, so limit to x86 like we do for acpid.

Fixes:
http://autobuild.buildroot.net/results/b2b/b2b50be359431b828e60c2ffdcd0fa1ca1cd5605/
http://autobuild.buildroot.net/results/f63/f63a25d6faca407da7332b2806300baadbe33326/
http://autobuild.buildroot.net/results/92f/92f54495f7f2a4b70aff18c094baa71adb0f5985/
http://autobuild.buildroot.net/results/f21/f21958c19f145baf83ebbb02b8526f1a58ea25ec/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopoppler: fix build with openjpeg
Peter Korsgaard [Sat, 4 Apr 2015 22:26:07 +0000 (00:26 +0200)]
poppler: fix build with openjpeg

The openjpeg version we have in Buildroot is v1, not v2.

Fixes:
http://autobuild.buildroot.net/results/e17/e17193604956cc61d47a9913632144601ef72656/
http://autobuild.buildroot.net/results/6b9/6b9d4ce15f54683670af3132ab21a053d9853e6c/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/libva-intel-driver: Fix build
Bernd Kuhls [Tue, 31 Mar 2015 16:10:14 +0000 (18:10 +0200)]
package/libva-intel-driver: Fix build

Package needs autoreconf to produce a working configure script when building
without wayland support.

Also fix a typo in .mk file.

Fixes
http://autobuild.buildroot.net/results/606/6061216fa6e2f4323117bb6cfb2b77753a89a679/
http://autobuild.buildroot.net/results/76d/76dc4b670e2131b94bd0c5cff45ccafd5e45033c/
http://autobuild.buildroot.net/results/d6f/d6f624baa3dde4fc4051d361ddaf98ecc5c84134/
http://autobuild.buildroot.net/results/91f/91f36f32ef43be897fef9352f97cc07781c4035a/
http://autobuild.buildroot.net/results/951/9517bb6d2c05c27cad0b24a4443021a34babedbd/
http://autobuild.buildroot.net/results/405/405dfffbcfdaa485d0000dad655b0c112688a58f/
http://autobuild.buildroot.net/results/925/92538fb07d5226bb8c3d3cc5e1429560b2e621f3/
http://autobuild.buildroot.net/results/d15/d154ca018da0c21762ed70acda4f224c50a1d808/

This is caused by the fact that WAYLAND_SCANNER_RULES (which is provided by
wayland) is outside the wayland conditional.

For more details, see the upstream bug:

https://bugs.freedesktop.org/show_bug.cgi?id=79478

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconfifs/freescale_imx28evk_defconfig: select headers 3.19
Vincent Stehlé [Sat, 4 Apr 2015 18:17:08 +0000 (20:17 +0200)]
confifs/freescale_imx28evk_defconfig: select headers 3.19

We use a manually specified custom version 3.19.2 of the linux kernel
for i.MX28, but linux-headers defaults to a 2.6.x family.

Select custom headers family 3.19.x explicitely, to repair
linux-headers "build".

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxerces: disable build and installation of samples
Damien Lanson [Thu, 20 Nov 2014 16:02:08 +0000 (17:02 +0100)]
xerces: disable build and installation of samples

This commit tweaks the Makefile.in to not build and install example
applications.

[Thomas: improve commit log, rebase on top of latest master.]

Signed-off-by: Damien Lanson <damien@kal-host.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxerces: bump version, use .tar.xz, add hash file
Thomas Petazzoni [Sat, 4 Apr 2015 19:05:11 +0000 (21:05 +0200)]
xerces: bump version, use .tar.xz, add hash file

This commit bumps the version of xerces to 3.1.2, changes tarball to
.tar.xz, and adds a hash file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/efl/libevas: Switch to giflib
Bernd Kuhls [Mon, 26 Jan 2015 19:24:19 +0000 (20:24 +0100)]
package/efl/libevas: Switch to giflib

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Tested-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoipmiutil: new package
David Bachelart [Wed, 8 Oct 2014 15:00:03 +0000 (17:00 +0200)]
ipmiutil: new package

[Thomas:
  - remove dependency on SSP support by adding a patch that changes
    the configure.ac script stack protector test to actually work.
  - rewrap Config.in help text
  - fix how BR2_USE_MMU is used when displaying the comment.
  - fix the license, it's BSD-3c, not BSD-2c.
  - bump to version 2.9.5.]

Signed-off-by: David Bachelart <david.bachelart@bbright.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/procps-ng: enable UTF-8 support
Steven Noonan [Wed, 18 Mar 2015 21:44:44 +0000 (14:44 -0700)]
package/procps-ng: enable UTF-8 support

For an example of why to enable this: https://bugs.archlinux.org/task/38614

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/procps-ng: use more complete installation prefix
Steven Noonan [Wed, 18 Mar 2015 21:44:43 +0000 (14:44 -0700)]
package/procps-ng: use more complete installation prefix

Otherwise we get a /lib/pkgconfig/libprocps.pc for example.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/procps-ng: if building with systemd, enable systemd-specific features
Steven Noonan [Wed, 18 Mar 2015 21:44:42 +0000 (14:44 -0700)]
package/procps-ng: if building with systemd, enable systemd-specific features

[Thomas: add explicit --without-systemd option when systemd is not
available.]

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoprocps-ng: add dependency on host-pkgconf
Thomas Petazzoni [Sat, 4 Apr 2015 15:27:44 +0000 (17:27 +0200)]
procps-ng: add dependency on host-pkgconf

procps-ng configure.ac script uses PKG_CHECK_MODULES(), which needs
pkg-config. Until now, it wasn't mandatory since for the ncurses check
it tries PKG_CHECK_MODULES() and then falls back to AC_CHECK_LIB(),
but for the upcoming systemd support, pkg-config is really needed.

Since pkg-config is used both for the ncurses and systemd checks, we
make it a mandatory dependency.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/ffmpeg: bump version to 2.6.1
Bernd Kuhls [Mon, 16 Mar 2015 21:39:44 +0000 (22:39 +0100)]
package/ffmpeg: bump version to 2.6.1

Dump two Kodi-specific patches according to
https://github.com/xbmc/xbmc/pull/6636
and update two new patches to improve hevc handling with Kodi Isengard.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain/external: do not accept distro-class toolchains
Yann E. MORIN [Tue, 17 Mar 2015 15:14:55 +0000 (16:14 +0100)]
toolchain/external: do not accept distro-class toolchains

Distro toolchains, i.ie. toolchains coing with distributions, will
almost invariably be unsuitable for use with Buildroot:
  - they are mostly non-relocatable;
  - their sysroot is tainted with a lot of extra libraries.

Especially, the toolchains coming with Ubuntu (really, all the Debian
familly of distros) are configured with --sysroot=/ which makes them
non-relocatable, and they already contain quite some libraries that
conflict (in any combination of version, API or ABI) with what Buildroot
wants to build (i.e. extra libraries, some not even present in
Buildroot...) but also their mere preence when Buildroot does not expect
them to be already built (so that a package would enable features when
it should not).

So, try to detect those toolchains and black-list them; inform the user
that the toolchain is unusable for the reasons mentioned above.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoopen-plc-utils: new package
Maxime Hadjinlian [Sun, 5 Oct 2014 20:02:42 +0000 (22:02 +0200)]
open-plc-utils: new package

[Thomas:
  - rename to open-plc-utils to match upstream name.
  - fix Config.in to use tabs instead of spaces
  - remove 'default n' line
  - add dependency on BR2_USE_MMU
  - bump to a more recent upstream commit
  - remove no longer needed openplc-0002-Remove-vfprintf-call.patch
  - rename patch to the proper naming convention
  - specify <pkg>_LICENSE_FILES
  - pass CROSS= instead of CC=
  - do not pass CC= at install time.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agojack2: bump version
Maxime Hadjinlian [Sun, 26 Oct 2014 18:45:54 +0000 (19:45 +0100)]
jack2: bump version

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoREADME: mention 'make list-defconfigs'
Arnout Vandecappelle [Sat, 21 Mar 2015 19:57:13 +0000 (20:57 +0100)]
README: mention 'make list-defconfigs'

'make list-defconfigs' is probably one of the more useful things
to get started quickly.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoREADME: reduce it to a single page and refer to other documentation
Arnout Vandecappelle [Sat, 21 Mar 2015 19:49:48 +0000 (20:49 +0100)]
README: reduce it to a single page and refer to other documentation

As discussed on the BR developer meeting at FOSDEM, the README should be
very short and instead refer to other documentation: the manual, the
website, the mailing list, the IRC channel.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoMakefile: help: add package-specific targets
Arnout Vandecappelle [Sat, 21 Mar 2015 19:49:47 +0000 (20:49 +0100)]
Makefile: help: add package-specific targets

The documentation of the package-specific targets is heavily inspired by
the earlier patch by Thomas Petazzoni [1], but the <pkg>-install*
targets were left out since they're not useful for the developer IMHO.

The *-menuconfig target's help text is moved to the package-specific
targets.

[1] http://patchwork.ozlabs.org/patch/433692

[Thomas: remove double <pkg>-graph-depends help.]

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoMakefile: split off 'list-defconfigs' from 'help'
Arnout Vandecappelle [Sat, 21 Mar 2015 19:49:46 +0000 (20:49 +0100)]
Makefile: split off 'list-defconfigs' from 'help'

As discussed in the FOSDEM2015 BR developer meeting, the output of
'make help' is too long for comfortable reading. To shorten it, split
off the list of defconfigs in a new target, 'list-defconfigs'.

Declare the new target as phony.

Add 'list-defconfigs' to the documentation.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoMakefile: declare 'help' target as phony.
Arnout Vandecappelle [Sat, 21 Mar 2015 19:49:45 +0000 (20:49 +0100)]
Makefile: declare 'help' target as phony.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/x11r7/xlib_libXpm: Add gettext/iconv support
Bernd Kuhls [Sun, 29 Mar 2015 14:20:16 +0000 (16:20 +0200)]
package/x11r7/xlib_libXpm: Add gettext/iconv support

This package uses gettext/iconv when needed

fli4l@fli4lbuild64:~/br5$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/lib/libXpm.so | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libX11.so.6]
 0x00000001 (NEEDED)                     Shared library: [libxcb.so.1]
 0x00000001 (NEEDED)                     Shared library: [libXau.so.6]
 0x00000001 (NEEDED)                     Shared library: [libXdmcp.so.6]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.0]
 0x00000001 (NEEDED)                     Shared library: [libintl.so.8]
 0x00000001 (NEEDED)                     Shared library: [libiconv.so.2]
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/freerdp: bump version
Yann E. MORIN [Sat, 4 Apr 2015 12:56:48 +0000 (14:56 +0200)]
package/freerdp: bump version

Little bump to get small bug fixes.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/freerdp: needs threads
Yann E. MORIN [Sat, 4 Apr 2015 12:23:53 +0000 (14:23 +0200)]
package/freerdp: needs threads

Fixes:
    http://autobuild.buildroot.org/results/0b7/0b71e37b8891b3b8810d1e74445177a1099b59f3/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/eudev: fix build with older gcc
Yann E. MORIN [Sat, 4 Apr 2015 12:09:58 +0000 (14:09 +0200)]
package/eudev: fix build with older gcc

Initialisers for anonymous unions/structs are unknown to gcc-4.5, still
widely used.

Fixes:
    http://autobuild.buildroot.org/results/11e/11ebb926b891862e270b9cb39fd2ed4344b736a8/
    http://autobuild.buildroot.org/results/065/065fdef50b1dd57b95ad2b5eda9904a1d0787cdc/
    http://autobuild.buildroot.org/results/316/3161eb96da66936e2cb3ec6aa5547587c3d90338/
    http://autobuild.buildroot.org/results/226/2267a204e9eb46bcb621f5bd408deaca98709fc3/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/ijs: New package ijs 0.35
Olivier Schonken [Sun, 22 Mar 2015 21:12:51 +0000 (23:12 +0200)]
package/ijs: New package ijs 0.35

[Thomas:
  - Add BR2_USE_MMU dependency, since fork() is used.
  - Put <pkg>_SOURCE next to <pkg>_VERSION and <pkg>_SITE.
  - Improve comment about why autoreconf is needed.
  - Change the location in menuconfig of the package, "Networking
    applications" didn't seem like an appropriate location.]

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/qpdf: New package qpdf 5.1.2
Olivier Schonken [Sun, 22 Mar 2015 21:12:50 +0000 (23:12 +0200)]
package/qpdf: New package qpdf 5.1.2

[Thomas:
  - adjust length of comment header in .mk file.
  - fix comment in Config.in to match what's specific in the Buildroot
    manual.
  - fix <pkg>_LICENSE to 'Artistic-2.0'.]

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/strace: add missing header for aarch64
Romain Naour [Fri, 3 Apr 2015 22:58:29 +0000 (00:58 +0200)]
package/strace: add missing header for aarch64

Fixes:
http://autobuild.buildroot.net/results/a27/a27a9e2bd7b95e29289c4422b89690a42992e30f/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/poppler: bump version to 0.32.0
Olivier Schonken [Sun, 22 Mar 2015 21:12:48 +0000 (23:12 +0200)]
package/poppler: bump version to 0.32.0

This commit also adds an optional dependency on openjpeg: if
--enable-openjpeg=none is not passed, poppler assumes openjpeg is
available.

[Thomas:
  - add optional dependency on openjpeg instead of mandatory
    dependency.
  - remove --enable-xpdf-headers, since there was no justification for
    it.]

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/openjpeg: New package openjpeg 1.5.2
Olivier Schonken [Sun, 22 Mar 2015 21:12:49 +0000 (23:12 +0200)]
package/openjpeg: New package openjpeg 1.5.2

This package is needed by Poppler.

[Thomas:
 - fix download location, which was incorrect.
 - add dependency on host-pkgconf, since the configure.ac script uses
   PKG_CHECK_MODULES and we're doing an autoreconf.
 - add optional dependencies on libpng, tiff and lcms2, so that they
   are explicit instead of automatically detected.]

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowine: more hostarch
André Hentschel [Sat, 21 Mar 2015 15:38:39 +0000 (16:38 +0100)]
wine: more hostarch

The tools from host-wine build on those architectures.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowine: 1.6.2 has no netapi configure option
André Hentschel [Sat, 21 Mar 2015 15:38:32 +0000 (16:38 +0100)]
wine: 1.6.2 has no netapi configure option

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowine: Add xlib_libXext dependency
André Hentschel [Sat, 21 Mar 2015 15:38:27 +0000 (16:38 +0100)]
wine: Add xlib_libXext dependency

This fixes window size issues.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowine: Add opengl dependency
André Hentschel [Sat, 21 Mar 2015 15:38:23 +0000 (16:38 +0100)]
wine: Add opengl dependency

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoconfig: Add defconfig for Freescale i.MX28 EVK
Vincent Stehlé [Sun, 22 Mar 2015 13:25:15 +0000 (14:25 +0100)]
config: Add defconfig for Freescale i.MX28 EVK

The i.MX28 Evaluation Kit (or EVK) is Freescale's evaluation board based on the
i.MX287 Applications Processor.

This defconfig is based on mainline u-boot and Linux kernel.

Also, we add an SD card creation script and documentation, shamelessly based on
the ones for i.MX5/6 by Luca Ceresoli.

[Arnout: fixate U-Boot and kernel (headers) versions]

Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoboot/uboot: add support for i.MX28 SD format
Vincent Stehlé [Sun, 22 Mar 2015 13:25:14 +0000 (14:25 +0100)]
boot/uboot: add support for i.MX28 SD format

Allow to generate u-boot.sd, Freescale i.MX28 SB format with a header for
booting from an SD card.

U-boot includes an mxsboot tool to generate this format, starting from
v2011.12.

See u-boot doc/README.mxs (or doc/README.mx28_common before 2013.07).

[Arnout:
 - Wrap Config.in help text at 72 columns.
 - Remove v from U-Boot version specifier.
 - Refer to different README name before 2013.07.
 - Depend on host-elftosb
 - Add comment to clarify sb -> sd conversion.]

Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
Tested-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosl: new package
Jens Rosenboom [Wed, 1 Apr 2015 09:08:45 +0000 (11:08 +0200)]
sl: new package

SL (Steam Locomotive) runs across your terminal when you type "sl" as
you meant to type "ls". It's just a joke command, and not useful at
all.

[Thomas:
 - Change "depends on BR2_PACKAGE_NCURSES" to "select
   BR2_PACKAGE_NCURSES".
 - Rewrap Config.in help text.
 - Remove comment in help text about the need to check dependencies,
   there's nothing to be done really.
 - Change the license from "Unclear" to "Custom".
 - Use $(TARGET_CONFIGURE_OPTS instead of passing CC and CFLAGS
   explicitly.
 - Pass '-m 0755' when doing the $(INSTALL)
 - Add ncurses to SL_DEPENDENCIES.]

Signed-off-by: Jens Rosenboom <j.rosenboom@x-ion.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/ca-certificates: generate the bundle of certs
Yann E. MORIN [Thu, 2 Apr 2015 23:09:06 +0000 (01:09 +0200)]
package/ca-certificates: generate the bundle of certs

glib-networking wants to use the certificates bundle, not the individual
certificates.

Generating the bundle is usually done with update-ca-certificates, but
that does not support running out-of-tree.

Fortiunately, and as Gustavo put it, update-ca-certificates is jsut a
glorified 'cat'. It is supposed to be fed a config file stating which
certificate to add/remove to/from the bundle, otherwise nothing fancy
(Oh, yes, running hooks after updating the bundle).

Since we do not need any of this in Buidlroot, we jsut generate a bundle
with all certificates unconditionally.

Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/apache: fix nios2 detection
Bernd Kuhls [Thu, 2 Apr 2015 20:05:52 +0000 (22:05 +0200)]
package/apache: fix nios2 detection

Apache treats nios2 as OS/2 which is wrong.

Fixes
http://autobuild.buildroot.net/results/27c/27c5848a344c7e16feefcbd3773b50a78d6e63f0/
http://autobuild.buildroot.net/results/d8c/d8cf103033c63e79ed2db0b600f120f6fcb5b5e9/
http://autobuild.buildroot.net/results/1de/1dec866cf9a5f731a9ed93dff5b8b98001863635/
http://autobuild.buildroot.net/results/776/776be8ef579e3444123d8183dca1062ece656436/
http://autobuild.buildroot.net/results/5d2/5d21ac2d8f008d984d6f8b359ebb0e2482545683/
http://autobuild.buildroot.net/results/87f/87f25b20f63eebf7f75e35064bad79e3d383e7a8/
http://autobuild.buildroot.net/results/1b7/1b75f52c70af7880d523185565b7aaf59d9f9b3e/

[Thomas: adjust patch so that it continues to match OS/2 properly,
while still not matching NIOS2.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agouclibc: update hash for uClibc-ng 1.0.1
Thomas Petazzoni [Fri, 3 Apr 2015 13:23:56 +0000 (15:23 +0200)]
uclibc: update hash for uClibc-ng 1.0.1

Fixes:

  http://autobuild.buildroot.org/results/c2f/c2f5792bbe467556a394ff19e03ddb5f71251ac9/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowebp: bump to version 0.4.3
Gustavo Zacarias [Fri, 3 Apr 2015 12:29:20 +0000 (09:29 -0300)]
webp: bump to version 0.4.3

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolirc-tools: new package
Rhys Williams [Tue, 24 Mar 2015 21:40:28 +0000 (10:40 +1300)]
lirc-tools: new package

This package adds the userspace tools and daemons LIRC - Linux remote
control

[Thomas:
 - rewrap Config.in help text, lines were too long. And do a bit of
   rewording also.
 - remove trailing whitespaces in Config.in.
 - make sure Config.in is included from package/Config.in, otherwise
   the package is not visible.
 - use a full destination path when installing the sysv init script.
 - add dependency on BR2_USE_MMU, since fork() is used.
 - fix init script: use -n option to not daemonize since
   start-stop-daemon is already doing that, use 'mkdir -p' and 'ln
   -sf' to make the 'start' action re-executable.]

Signed-off-by: Rhys Williams <github@wilberforce.co.nz>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodrbd-utils: new package
Christophe Vu-Brugier [Thu, 12 Mar 2015 16:33:16 +0000 (17:33 +0100)]
drbd-utils: new package

DRBD utilities to manage the DRBD kernel module.

[Thomas: remove largefile dependency.]

Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/kodi: enable gconv libraries on glibc configurations
Julien Boibessot [Mon, 9 Mar 2015 12:38:38 +0000 (13:38 +0100)]
package/kodi: enable gconv libraries on glibc configurations

When a glibc toolchain is used, Kodi really requires the gconv
libraries to be installed, otherwise no text is rendered in the GUI.

[Thomas: slightly improve commit message.]

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosamba: deprecate package due to EOL
Gustavo Zacarias [Fri, 6 Mar 2015 12:50:33 +0000 (09:50 -0300)]
samba: deprecate package due to EOL

Samba 3.6.x is now EOL, people should move to samba4.

See: https://www.samba.org/samba/history/samba-4.2.0.html

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogvfs: switch smb support to samba4
Gustavo Zacarias [Fri, 6 Mar 2015 12:50:32 +0000 (09:50 -0300)]
gvfs: switch smb support to samba4

samba3 is deprecated upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agokodi: switch smb support to samba4
Gustavo Zacarias [Fri, 6 Mar 2015 12:50:31 +0000 (09:50 -0300)]
kodi: switch smb support to samba4

samba3 is deprecated upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agompd: switch smb support to samba4
Gustavo Zacarias [Fri, 6 Mar 2015 12:50:30 +0000 (09:50 -0300)]
mpd: switch smb support to samba4

samba3 is deprecated upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoicu: bump to version 55.1
Gustavo Zacarias [Fri, 3 Apr 2015 12:27:24 +0000 (09:27 -0300)]
icu: bump to version 55.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/download: quick fix to avoid breaking on custom toolchains
Yann E. MORIN [Fri, 3 Apr 2015 12:19:58 +0000 (14:19 +0200)]
support/download: quick fix to avoid breaking on custom toolchains

When the user selects a custom toolchain to be downloaded, there's no
hash for that toolchain, so the download fails, now that hashes are
mandatory.

Fix that by simply exiting as if there was no error, until we have a
better fix...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoMakefile: remove the graphs/ dir on 'make clean'
Thomas Petazzoni [Thu, 5 Feb 2015 21:19:56 +0000 (22:19 +0100)]
Makefile: remove the graphs/ dir on 'make clean'

Currently, a 'make clean' leaves the graphs/ subdirectory in the
output directory. This commit defines a GRAPHS_DIR variable, used by
the different graph-generating targets, and which gets cleaned up in
the 'clean' target.

[Thomas: use the new GRAPHS_DIR variable in more places, as suggested
by Yann.]

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/download: warn when there's no .hash file
Yann E. MORIN [Tue, 31 Mar 2015 22:15:07 +0000 (00:15 +0200)]
support/download: warn when there's no .hash file

Instead of silently accepting a missing .hash file, print a warning.

This can be grepped from a build log, to find packages that still have
no hash, with the long-term goal of adding hashes for all packages.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/download: always fail when there's no hash
Yann E. MORIN [Tue, 31 Mar 2015 22:15:06 +0000 (00:15 +0200)]
support/download: always fail when there's no hash

At the time we introduced hashes, we did not want to be too harsh in the
beginning, and give people some time to adapt and accept the hashes. So
we so far only whined^Wwarned about a missing hash (when the .hash file
exists).

Some time has passed now, and people are still missing updating hashes
when bumping packages.

Let's make that warning a little bit more annoying...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/download: properly catch missing hashes
Yann E. MORIN [Tue, 31 Mar 2015 22:15:05 +0000 (00:15 +0200)]
support/download: properly catch missing hashes

When checking hashes reports no hash for a file, and this is treated as
an error (now: because BR2_ENFORCE_CHECK_HASH is set; later: because
that will be the new and only behaviour), exit promptly in error.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/download: return different exit codes for different failures
Yann E. MORIN [Tue, 31 Mar 2015 22:15:04 +0000 (00:15 +0200)]
support/download: return different exit codes for different failures

Return different exit codes depending on the error that occured:

  0: no error (hash file missing, or all hashes match)
  1: unknown option
  2: hash file exists, but at least one hash in error
  3: hash file exists, but no hash for file to check
  4: hash file exists, but at least one hash type unknown

This will be used in a later patch to decide whether the downloaded file
should be kept or removed.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/download: add explicit no-hash support
Yann E. MORIN [Tue, 31 Mar 2015 22:15:03 +0000 (00:15 +0200)]
support/download: add explicit no-hash support

Add support to explicitly state that an archive has no hash.

This can be used for archives downloaded from a repository, like a
git-clone or a subversion checkout, or using the github helper.

This will come in handy when we'll eventually make hashes mandatory as
soon as a .hash file exists: for some packages, like gcc, some versions
are downloaded as archives from upstream, while other versions may come
from a GitHub repository (via the github herlper).

In this case, a .hash file would exist, that contains hashes for the
downloaded tarballs, but archives downloaded from the repository would
not have a hash (since it is currently not possible to have reproducible
such archives). So, we'd need a way to explicitly state there is no
hash, on purpose, for those archives.

So, add 'none' as a new type of hash.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage infra: do not check hashes when downloading from a repository
Yann E. MORIN [Tue, 31 Mar 2015 22:15:02 +0000 (00:15 +0200)]
package infra: do not check hashes when downloading from a repository

When downloading from a repository, we have no way to ensure the
reproducibility of the generated archives, so we can't check the hashes.

Do not specifiy a hash file in those cases.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/download: make hash file optional
Yann E. MORIN [Tue, 31 Mar 2015 22:15:01 +0000 (00:15 +0200)]
support/download: make hash file optional

Currently, specifying a hash file for our download wrapper is mandatory.

However, when we download a git, svn, bzr, hg or cvs tree, there's by
design no hash to check the download against.

Since we're going to have hash checking mandatory when a hash file
exists, this would break those downloads from a repository.

So, make specifying a hash file optional when calling our download
wrapper and bail out early from the check-hash script if no hash file is
specified.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/softether: bump version
Bernd Kuhls [Thu, 2 Apr 2015 19:59:19 +0000 (21:59 +0200)]
package/softether: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosoftether: add patch to fix build on uClibc toolchain without ifaddr support
Thomas Petazzoni [Fri, 3 Apr 2015 12:01:59 +0000 (14:01 +0200)]
softether: add patch to fix build on uClibc toolchain without ifaddr support

This commit adds a patch to softether to make sure it doesn't use the
ifaddrs functions when they are not provided by the C library, which
can be the case with certain external uClibc toolchains.

Fixes:

  http://autobuild.buildroot.net/results/199/19992951da34a703a476dc62ea92e12927c8a02d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/ti-gfx: bump version, add hashes
Yann E. MORIN [Thu, 2 Apr 2015 17:43:55 +0000 (19:43 +0200)]
package/ti-gfx: bump version, add hashes

We don't bump the softfp version, because there's still no newer release
(probably softfp will never be updated).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/mc: Fix xlib_libX11 dependency
Bernd Kuhls [Thu, 2 Apr 2015 19:28:57 +0000 (21:28 +0200)]
package/mc: Fix xlib_libX11 dependency

On Peter´s autobuilder building mc fails:
http://autobuild.buildroot.net/?reason=mc-4.8.14

The reason can be found in
http://autobuild.buildroot.net/results/e25/e25587c17c2e8ddae83f9ed02541931f510bfcd6//build-end.log

checking for X... libraries /usr/lib, headers /usr/include

where configure picks up xorg libraries although no x11 stuff is enabled in the
defconfig used for this build.

This leads to subsequent errors visible in
http://autobuild.buildroot.net/results/e25/e25587c17c2e8ddae83f9ed02541931f510bfcd6//mc-4.8.14/config.log

mips64el-ctng_n64-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '/usr/lib'

causing most configure checks to fail afterwards. To fix the problem the mc
package should honour an optional dependency to the xlib_libX11 package.

Fixes
http://autobuild.buildroot.net/results/e25/e25587c17c2e8ddae83f9ed02541931f510bfcd6/
http://autobuild.buildroot.net/results/b7a/b7a2b69c53e91e0173b7f0c241d7e06b4382c52a/
http://autobuild.buildroot.net/results/805/805675236190f7f5f42d498f4a9f9bf0e1bab648/
and others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodocs: add links to the rest of the licenses
Yegor Yefremov [Thu, 2 Apr 2015 19:19:05 +0000 (21:19 +0200)]
docs: add links to the rest of the licenses

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinphone: install to staging
Johan Sagaert [Thu, 2 Apr 2015 20:19:28 +0000 (22:19 +0200)]
linphone: install to staging

Make sure the liblinphone library gets installed too.

Signed-off-by: Sagaert Johan <sagaert.johan@proximus.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoqt5: update hashes for 5.4.1
Will Wagner [Thu, 2 Apr 2015 17:11:03 +0000 (18:11 +0100)]
qt5: update hashes for 5.4.1

When updating Qt to 5.4.1 the hash files were omitted

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agompg123: bump to version 1.22.1
Gustavo Zacarias [Thu, 2 Apr 2015 12:35:46 +0000 (09:35 -0300)]
mpg123: bump to version 1.22.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/linux-firmware: install AMD Radeon firmware
david.barbion@ext.leroymerlin.fr [Wed, 1 Apr 2015 21:54:58 +0000 (23:54 +0200)]
package/linux-firmware: install AMD Radeon firmware

Signed-off-by: David BARBION <david.barbion@ext.leroymerlin.fr>
[yann.morin.1998@free.fr:
  - simplify by copying the full directory
  - fix title
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/linux-firmware: add support to copy entire directories
Yann E. MORIN [Wed, 1 Apr 2015 21:54:57 +0000 (23:54 +0200)]
package/linux-firmware: add support to copy entire directories

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: David BARBION <david.barbion@ext.leroymerlin.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoimagemagick: bump to version 6.9.1-0
Jerzy Grzegorek [Thu, 2 Apr 2015 06:12:29 +0000 (08:12 +0200)]
imagemagick: bump to version 6.9.1-0

Also update hash file.

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/powertop: depends on c++
Bernd Kuhls [Fri, 27 Mar 2015 16:01:37 +0000 (17:01 +0100)]
package/powertop: depends on c++

Fixes configure error due to missing c++

checking for library containing pthread_create... no
configure: error: libpthread is required but was not found

Quote from config.log:

configure:21552: checking for library containing pthread_create
configure:21583: false -o conftest    -Os    conftest.cpp -lintl  >&5
[...]
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=false

using this defconfig

BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_PACKAGE_POWERTOP=y

Please note the number of .cpp files belonging to powertop

output/build/powertop-2.7$ find -iname *.cpp | wc -l
59

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/powertop: handle ncursesw properly and depend on wchar
Bernd Kuhls [Fri, 27 Mar 2015 16:01:36 +0000 (17:01 +0100)]
package/powertop: handle ncursesw properly and depend on wchar

The powertop code uses some wide-char functions, so the package should
depend on wide-char support. Also, when wide-char support is
available, the wide-char variant of ncurses may be built, but powertop
detection logic isn't quite up to the game, so we help him a little
bit.

Thanks to Gustavo Zacarias for doing some additional investigation and
proposing the solution implemented in this patch.

Fixes
http://autobuild.buildroot.net/results/913/913cea22f8a8f5902d8da5f64c3fce056d66790f/
http://autobuild.buildroot.net/results/6e1/6e11fa2a7405a69c59ced046b92ff08660c4aab7/
http://autobuild.buildroot.net/results/1d3/1d3323b2afaefa7989854dbccf92015731199e66/
http://autobuild.buildroot.net/results/1e3/1e31d412d8b3a38a375ad0be8f696bee993ec297/
http://autobuild.buildroot.net/results/2ff/2ff511eb8d00b94aca68427446e2d0f6e4317a5a/
and maybe others

[Thomas:
 - do not force select NCURSES_WCHAR, instead improve the detection
   logic to properly use it when available. Solution provided by
   Gustavo.
 - improve the commit log.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agognuradio: depends on shared libs
Gwenhael Goavec-Merou [Mon, 30 Mar 2015 18:10:26 +0000 (20:10 +0200)]
gnuradio: depends on shared libs

volk must be compiled with toolchain built with shared lib to avoid :
attempted static link of dynamic object `../lib/libvolk.so.0.0.0'

[Thomas:
 - rebase after the non-largefile removal.
 - comment must be "dynamic library" not "shared library".]

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agojamvm: add depends on toolchain w/threads
Matt Weber [Thu, 26 Mar 2015 15:54:40 +0000 (10:54 -0500)]
jamvm: add depends on toolchain w/threads

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>