Compile static versions of gcc libraries

Since default configure options for host packages include
--disable-static, gcc was not configured to build static version of its
libraries (libgcc.a, libstdc++.a, ...).

This patch replace --disable-static by --enable-static in configure
command. Notice some options was removed sinces they was ignored by gcc
configure script.

Once it was compiled, this commit takes care to copy static libraries to
$STAGING

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Tested-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
ltris2: needs gettext on uClibc toolchains w/ locale

Fixes http://autobuild.buildroot.net/results/599/599554ea08aafed20c487a25fcbf641eb9ac2e5f/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
zsh: bump to version 5.0.5

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
apf27: bump kernel version to 3.12.7

Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
jasper: new package

JPEG-2000 decoder.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
ca-certificates: new package

CA certificates used for SSL based applications.  The package installs CA
certificates to /usr/share/ca-certificates and creates symbolic links under
/etc/ssl/certs.  For example, the existing libcurl package will use these
certificates for https urls.  Based on the debian ca-certifcates package.

[Peter: fixup comments as pointed out by Yann]
Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
python-nfc: fix autobuild failures

Fixes autobuild failures such as the following.

  http://autobuild.buildroot.net/results/2e1/2e11b9e946a854deb28ba144ca7e398a9c996a02/

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
vlc: new package

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
python-posix-ipc: new package

This patch is based on the original new pkg patch submitted last Jan
and is part of the "Patchwork oldest patches cleanup #5".  It combines
the original "[1/2]/[2/2] new package: python-posix_ipc" patch files.

Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
transmission: add url in Config.in

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
transmission: use <PKG>_INSTALL_INIT_SYSV infra instead of custom hook

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
eigen: add C++ toolchain dependency

As said in its help text, eigen heavily uses C++ features.
So, explicit this dependency in the Config.in.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
pkg-cmake.mk: build shared library when !BR2_PREFER_STATIC_LIB

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
qt: add an option to install the test module

When building Qt in a minimal configuration, a couple of Qt modules
(QtNetwork, QtSql, QtTest and QtXml) are built in addition to QtCore,
so they are installed in the sysroot but they are not copied into the
target tree.

Among these modules that could be built but optionally installed, only
QtTest had no option to allow being installed in the target fs.

Thus, programs linking against QtTest would successfully build, but
would miserably fail at runtime due to this missing dependency.

So far, the only package triggering this issue is OpenCV (the highgui
module built with Qt support).

A followup patch will this missing dependency in OpenCV using this new
option.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
opencv: fix qt selection when highgui is enable

The OpenCV highgui module links against QtTest which is built by default,
but was never installed.
Thanks to the previous patch on Qt, this can be rectified.

So, update the OpenCV Config.in to select QtTest installation when needed.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
clapack: new package

This package provides BLAS and LAPACK libraries.

Though it is common to find implementation of these two libraries in
Fortran, this package provides a C-implementation for both, because:
- Fortran support has been deprecated in Buildroot sinc the 2013.11
  release;
- most of the external toolchains do not provide a fortron compiler.

Often BLAS build-systems build some test programs and run them to
generate some source files or adjust some build optimizations, naively
assuming they are building the library for the build-machine. This does
not play well when cross-compiling.

This implementation has this defect too, by building and running a tool
generating a header.
However, the build-system allows to pass an empty header.
So, we have to patch the CMake to build the generator (but never
install it) and correctly support building with and without this header
provided by the user.

Also, few CMake patches are needed to fix the build and install rules.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
python-numpy: new package

TODO: reword commit message

python-numpy: add configure commands
python-numpy: force fcompiler to None

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
python-numpy: add install-staging command

TODO: reword commit message

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
opencv: bump to version 2.4.8

This patch bumps OpenCV version and does a number of cleanup in the
opencv.mk files:
- add an extract command because the source archive is only available
  under zip format since this 2.4.8 release. Since there is no default
  extract command for zip archive, we have to define it;
- add license details;
- add new modules options and update existing ones;
- update SSE support;
- sort and reorder the configure options (to make easier future package
  update);
- clean redundant C++ dependency (in the Qt knob).

However, it does not add any new 3rd-party support for the followings:
- jasper support;
- python/numpy support;
- Qt4 and Qt5 support (since the 2.4.6 release), so only Qt4 support is
  supported in this patch;
- optional libv4l dependency (since 2.4.7 release).
These will be addressed in followup patches.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
opencv: rework V4L/libv4l support

Starting with the 2.4.7 release, for V4L support, OpenCV does not
requires a libv4l dependency for its V4L support.

SO, it now provides 2 distincts knobs for this: WITH_V4L and a new
one: WITH_LIBV4L.

This patch takes advantage of this new knob and libv4l support is
now automatically enabled if only the libv4l package is enabled.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>