Commit Graph

16571 Commits

Author SHA1 Message Date
Bernd Kuhls
c80977deda libcdio: cdda-player depends on ncurses
Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-27 21:52:18 +01:00
Peter Korsgaard
999a91afa3 rtmpdump: don't force a crypto backend
rtmpdump CAN work without a crypto backend (by passing CRYPTO=), so
don't enforce gnutls.

Fixes a dependency issue as gnutls needs wchar, but rtmpdump
(and polarssl/openssl) don't.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-27 17:09:32 +01:00
Peter Korsgaard
8e467ce2a7 rtmpdump: fix CFLAGS/LDFLAGS
The rtmpdump makefile looks at XCFLAGS/XLDFLAGS for additional flags,
so use those instead of completely overriding the flags.

Fixes http://autobuild.buildroot.net/results/190/1902a6613e5fc9656842fbcbd5731ac871d7ef59/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-27 17:00:22 +01:00
Peter Korsgaard
8476e5ad45 tcpreplay: fix build errors when tcpdump (verbose) isn't enabled
Patch from Chris' pull request.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-27 15:25:22 +01:00
Peter Korsgaard
b304ff7f7d vorbis-tools: fix libm linking issue
Fixes http://autobuild.buildroot.net/results/d48/d488dc5e1d684124e7367dac00ba2fb8c7b1b876/

ogg123 calls math functions but forgets to link with libm.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-27 14:51:40 +01:00
Andrew Ruder
c443c2be17 gcc 4.8.2: arm fixes for stack corruption
This seems to especially affect the kernel, but in an
interrupt-heavy system, this fixes a bug that can cause frequent
NULL pointer dereference crashes on ARM systems.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-27 09:17:36 +01:00
Nix
f5437a6502 Makefile: Unexport TAR_OPTIONS
GNU tar > 1.13.17 interprets TAR_OPTIONS as an environment variable
containing options to be prepended to the set on the command line.

Since we use the same variable, if the user's environment already
contains TAR_OPTIONS, our use of the same variable name modifies
the environment and causes untars to misbehave when TAR_OPTIONS
causes a -xf to be prepended to the tar command line, likely
converting a subsequent flag into a spurious filename.

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-27 08:52:02 +01:00
Baruch Siach
b392a24adb poco: fix nios2 fenv build failure
Disable FP environment on nios2.

Fixes:
http://autobuild.buildroot.net/results/3ce/3ce9d6dc5c4e8fceebaa461e5085da7f33fda8a1/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-26 23:16:55 +01:00
Romain Naour
a747671813 openpowerlink: force static library build
There is no shared lib in openpowerlink,
so force static lib to build libpowerlink.a

Fixes:
http://autobuild.buildroot.net/results/b33/b33008d260c95bedc52bed48f191f76843612ef9/build-end.log
http://autobuild.buildroot.net/results/c46/c464bdfb8edaaf69d49ade92ef9cc6f45cc73362/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-26 22:03:24 +01:00
Samuel Martin
34924f620d gtest: force static library build
While it seems possible to build gtest as a shared library, using it
in other projects requires to set some specific configuration flags
in these projects for correctly linking against the shared version
of the gtest library.

So, to avoid bothering many projects and keep things as they were so
far, we just force gtest to be built as a static library.

Fixes:
  http://autobuild.buildroot.net/results/20cbf90749672607cb277c676a45d2c0c3965fa0/
  http://autobuild.buildroot.net/results/5c6e58c51b2a14a7f23d296f771a76096b80362a/
  http://autobuild.buildroot.net/results/bde777d343e9c4884272893d0da3b113dcc75e3a/
  http://autobuild.buildroot.net/results/20cbf90749672607cb277c676a45d2c0c3965fa0/
  http://autobuild.buildroot.net/results/89a29d1f597dbc12a6fc8eb079133a84952fc612/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-26 21:58:45 +01:00
Maxime Hadjinlian
f873de877d libcurl: Add rtmp support
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-26 21:24:19 +01:00
Gustavo Zacarias
18ed49e4d5 linux-headers: bump 3.{10, 12}.x stable versions
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-26 20:57:10 +01:00
Arnaud Rébillout
1ba3432ab3 lftp: bump to 4.4.15 and remove cross-compile patch.
The patch has been accepted upstream. See:
http://www.mail-archive.com/lftp-devel%40uniyar.ac.ru/msg01841.html

Signed-off-by: Arnaud Rébillout <rebillout@syscom.ch>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-25 15:09:05 +01:00
Yegor Yefremov
e9c8afb9fb can-utils: bump version
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-25 13:25:30 +01:00
Chris Packham
340ba1bec0 tcpreplay: cross-compile with tcpdump support
If tcpdump is enabled set ac_cv_path_tcpdump_path so that verbose output
is enabled on the target.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-23 22:24:57 +01:00
Peter Korsgaard
99fa554bd6 busybox: 1.22.1: correct ash patch
Upstream initially put the wrong patch online:

http://lists.busybox.net/pipermail/busybox/2014-January/080364.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-23 12:47:19 +01:00
Gustavo Zacarias
1052a4a75f busybox 1.22.1: add upstream iplink fix
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-23 12:46:14 +01:00
Baruch Siach
43d8dc3a39 sqlcipher: fix build for xtensa
The sqlcipher package generates libraries that are too large for the xtensa
default placement of literals in a dedicated section. Use
-mtext-section-literal to place literals in the text section.

Fixes:
http://autobuild.buildroot.net/results/921/92116c2837e4c449919e7a0ab9aebd6abb1cbaf1/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-23 12:45:33 +01:00
Peter Korsgaard
42ed108013 rtmpdump: workaround kconfig issue by defaulting to gnutls
Otherwise we get:

package/openssl/Config.in:1:error: recursive dependency detected!
package/openssl/Config.in:1:    symbol BR2_PACKAGE_OPENSSL is selected by BR2_PACKAGE_GNUTLS
package/gnutls/Config.in:1:     symbol BR2_PACKAGE_GNUTLS is selected by BR2_PACKAGE_OPENSSL

Which is caused by lftp doing:

  select BR2_PACKAGE_GNUTLS if !BR2_PACKAGE_OPENSSL

And rtmpdump doing:

  select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_POLARSSL && !BR2_PACKAGE_GNUTLS

Which confuses kconfig. Work around it by swapping gnutls and openssl in
rtmpdump so it matches lftp.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-23 00:51:19 +01:00
Maxime Hadjinlian
7677a7542e tinyxml: new package
Tiny XML Parser.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

[Peter: add _LICENSE_FILES]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-23 00:48:47 +01:00
Maxime Hadjinlian
ac37a9b42f libshairplay: new package
libshairplay is a client library that emulates an airplay server
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

[Peter: fix whitespace, needs threads, host-pkgconf and optionally libao]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-22 23:47:57 +01:00
Matthew Weber
9dada44cd8 added python unicode selection to menu
This patch is based on the original new pkg patch submitted last Jan
and is part of the "Patchwork oldest patches cleanup #5".

[Peter: fix CONF_OPT indentation]
Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-22 22:39:36 +01:00
Samuel Martin
22cdb652f5 fs/common.mk: add host-mkpasswd if PACKAGES_USERS is not empty
When using a custom rootfs skeleton, the host-mkpasswd target is not
automatically built, even if some packages add users (i.e. when
PACKAGES_USERS is not empty).

In this case, the rootfs generation may fail because the mkpasswd
provided by some distribution does not support all options used in the
mkusers script.

This patch avoids such trouble by automatically adding the host-mkpasswd
package to the dependency list of the rootfs targets if users needs
to be created.

[Peter: minor rewording of commit message]
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-22 22:08:28 +01:00
Samuel Martin
8157159b22 connman: enable systemd unit-files installation
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-22 22:07:18 +01:00
Samuel Martin
04ea76404a connman: use the *_INSTALL_INIT_SYSV infra instead of the custom hook
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-22 22:06:30 +01:00
Samuel Martin
e5cf8d5999 opencv: remove BUILD_SHARED_LIBS flags
This CMake flag is now handled by the cmake-package infrastructure.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-22 22:06:21 +01:00
Samuel Martin
9fa7f2b113 pkg-cmake.mk: build shared library when !BR2_PREFER_STATIC_LIB
CMake offers a couple of places where one can specify how to build a
library:
- when you create the library target itself, by calling
  add_library(target [SHARED|STATIC] ...)
- or globally, when you configure the build, by setting the
  BUILD_SHARED_LIBS CMake flag.

* if the library target kind of library is specified:
    it overrides the global setting BUILD_SHARED_LIBS;
* else, if the global setting BUILD_SHARED_LIBS is set:
    it builds according to the BUILD_SHARED_LIBS flags;
* otherwise:
    for linux, it will build static library (like BUILD_SHARED_LIBS
    default is OFF).

So, we can consider the setting BUILD_SHARED_LIBS acts a bit similarly
to the autotools ones '--disable-static' and '--enable-shared'.
Thus, it makes sense for Buildroot to globally drive to CMake flags in
the cmake-package infrastructure.

It seems we never trigger this so far because:
- either we specified it in the *.mk file (e.g. opencv.mk);
- or it was already set per target by the projects' upstreams.

Followup patches will clean the remaining BUILD_SHARED_LIBS in the
package *.mk files.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-22 22:06:16 +01:00
Thomas De Schampheleire
a1ede0a513 linux/Config.in: clarify longterm 2.6 URL exception
As this question has popped up multiple times on the mailing list, clarify
that selecting longterm 2.6 kernels requires the 'custom tarball' option
instead of 'custom version'.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-22 21:48:19 +01:00
Bjørn Forsman
e8160146e6 dependencies.sh: stop mixing echo and printf (use echo)
'printf' was introduced because it is more portable than 'echo -e'. But
when the escape sequences are just newlines we can just as well use
plain 'echo' (and remove the newline escape sequences).

This looks cleaner than having some lines with echo and some with
printf.

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-22 21:47:41 +01:00
Thomas De Schampheleire
ead1d2645b manual: remove suggestion of aligning = signs in .mk files
It is not buildroot convention to align the = signs in .mk files, so this
shouldn't be suggested in the manual.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-22 21:46:13 +01:00
Daniel Nyström
1ee98ea68f e2fsprogs: Install libraries to staging
Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-22 21:45:15 +01:00
Yegor Yefremov
5aa4e18d63 libnftnl: new package
[Peter: license is GPLv2+]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-22 21:43:51 +01:00
Peter Korsgaard
df7684b5b6 libvorbis: bump version
Shrinks library size. From the release notes:

   Nathan Froyd at Mozilla noticed something odd in the libvorbis
   sourcebase. Codebook 'length lists' only use integers in the range
   of 0 to 32. Well, worse than integers, actually, longs. And the
   lengthlists are big; the static data comprises the bulk of
   libvorbisenc.

   In the earliest days of Vorbis development 15 years ago, codebooks
   were constructed differently and the lengthlists were quite small.
   Longs still weren't necessary, but the wasted space was
   negligible. When the coding strategy shifted and these lists
   became much larger, no one caught the wasted space. The vast
   majority of optimization was always for speed, not space. The only
   concentrated effort in trimming Vorbis library size down over the
   past decade had been in the decoder.

   But now browsers need to ship encoders, and size matters. Add that
   to 64 bit taking over (and doubling the wasted space in the
   lengthlists), someone finally noticed the oversight.

   That's a long way of saying [1]"Xiph.Org is pleased to announce
   the release of libvorbis 1.3.4..."

   No functional changes, but the encoder lib is now a shade over 25%
   the size it was in the 1.3.3 release.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-22 21:39:14 +01:00
Yegor Yefremov
f8ba83fd21 libsocketcan: install to staging
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-22 08:36:46 +01:00
Maxime Hadjinlian
0adc73d6a6 rtmpdump: new package
rtmpdump - RTMPDump Real-Time Messaging Protocol API
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Note that this package will only install librtmp in this state.
Hence the name shown librtmp instead of rtmpdump

[Peter: whitespace fixes, use RTMPDUMP_CFLAGS]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-22 07:39:01 +01:00
Peter Korsgaard
99fd373bf5 package: fixup dependencies after mysql_client -> mysql rename
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-22 07:24:35 +01:00
Marcelo Gutiérrez(UTN/FRH)
e2b2ecb691 mysql: rename the patches so they have a number
Rename patches to add sequence numbers

Signed-off-by: Marcelo Gutiérrez <kuyurix@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-21 23:41:16 +01:00
Marcelo Gutiérrez(UTN/FRH)
06c8212866 Rename MySQL client package
MySQL client package has been renamed to MySQL.

[Peter: fixup help text]
Signed-off-by: Marcelo Gutiérrez <kuyurix@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-21 23:40:01 +01:00
Francois Perrad
6a471a1cb2 lua: add an upstream patch
from http://www.lua.org/bugs.html

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-21 23:28:36 +01:00
Francois Perrad
751d85a7f8 lua-modules: choice between Lua 5.1.x & Lua 5.2.x
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-21 23:27:50 +01:00
Francois Perrad
ba296ab1ea lua: choice between 5.1.x & 5.2.x
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-21 23:27:13 +01:00
Thomas De Schampheleire
93341046d8 Config.in.legacy: fix misc. problems with libnfc-llcp removal
The Config.in.legacy entry associated with the replacement of libnfc-llcp
was broken in multiple ways:

- it was not correctly added within the section for 2014.02 deprecation
  (recently fixed by Yann E. Morin with commit
  f169e5e105)
- it still had select/depend statements from the original symbol, which
  should not be added in Config.in.legacy.
- it did not select the replacement symbol as to make the transition for
  users more convenient.
- indentation of the help text was not tab+2spaces.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-21 21:58:26 +01:00
Thomas De Schampheleire
0a07731933 lzma: remove deprecated target package
The on-target lzma package has been deprecated for a long time, so remove
it. This does not remove the support for generating lzma-compressed rootfs
images.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-21 21:58:07 +01:00
Thomas De Schampheleire
08506501b0 flex: change config text of 'target binary' option
The buildroot manual contains a list of deprecated items, with their config
title text, and the location in the config menu. If the config text does not
mention a package name, this can be confusing.

For example, the symbol BR2_PACKAGE_FLEX_BINARY has as text:
'Install tool in the target', which outside of the flex context makes no
sense at all.

To make sure the deprecated packages list in the manual is understandable,
rename the (deprecated) flex 'target binary' config option.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-21 21:57:43 +01:00
Thomas De Schampheleire
7ef5c3a5c7 ttcp: remove deprecated package
Since this is the only package depending on BR2_DEPRECATED_SINCE_2012_05,
remove that symbol as well.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-21 21:57:20 +01:00
Thomas De Schampheleire
aa1845e813 manual: clarify handling of deprecated features
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-21 21:56:46 +01:00
Bjørn Forsman
221ef3a3ee Prefer 'printf' over 'echo -e' (for portability)
support/dependencies/dependencies.sh uses #!/bin/sh shebang. It is not
guaranteed that /bin/sh provides an 'echo' implementation that
understands the '-e' flag (interpret backslash escape chars). For
example, dash doesn't.

'printf' is more portable (it must interpret backslash escape chars,
according to POSIX), so use that.

NOTE: Before the previous commit, the dependencies.sh script used
/bin/echo instead of the shell built-in. That's probably why this hasn't
come up before.

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-21 21:53:12 +01:00
Alexander Lukichev
1f6934238a zmqpp: bump git snapshot and remove patch
The patch has been merged upstream, hence the bump and its removal
from package directory.

Signed-off-by: Alexander Lukichev <alexander.lukichev@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-21 21:52:02 +01:00
Maxime Hadjinlian
8a8d4695ad libplist: new package
libplist is a client for manipulating Apple Property List (.plist) files
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>
Cc: gimli <ebsi4711@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-21 17:27:38 +01:00
Gustavo Zacarias
425649fb32 wget: bump to version 1.15
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-21 15:39:16 +01:00