summaryrefslogtreecommitdiff
path: root/package
AgeCommit message (Collapse)Author
2012-07-30gpsd: remove patch to handle ncurses5-config custom locationThomas Petazzoni
Now that ncurses has been bumped to 5.9, it installs .pc files for pkg-config, which allows gpsd to find it properly without the need to specify a custom location for ncurses5-config. Since gpsd now uses pkg-config to find the ncurses library, we also add host-pkg-config in the dependencies. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-30ncurses: bump to 5.9Thomas Petazzoni
Bumping to 5.9 has two nice side-effects: * It builds fine on noMMU architectures such as Blackfin, which will fix build failures like http://autobuild.buildroot.org/results/cf3e6a95c82b60d63da041293db576a8f21f9136/build-end.log. * It installs a pkg-config file, which will allow gpsd to find ncurses properly, without the need to use ncurses5-config, which means we can get rid of one of our gpsd patches. Thanks to Mike Frysinger for pointing the new --enable-pc-files option. After this bump, I build tested a large number of the ncurses reverse dependencies we have in Buildroot, and they all built fine. Thanks to Gustavo Zacarias for the investigation on why ncurses 5.9 why segfaulting: it turned out to be caused by the --enable-broken-linker configure option. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-26ncurses: get the post staging installation hook called properlyThomas Petazzoni
There was a typo in the name of the variable to register the hook, which prevent the hook from actually being called. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-25dbus: requires thread supportThomas Petazzoni
As can be seen on the build result at http://autobuild.buildroot.org/results/20f1078ef7dc5f187b04c63ef70e8b43acf9bb3a/build-end.log, D-Bus requires thread support in the toolchain. This commit adjusts the Kconfig dependencies of D-Bus and all its reverse dependencies to depend on thread support in the toolchain. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-25gnutls: requires WCHAR supportThomas Petazzoni
gnutls uses wctomb(), which is available only on C libraries with wide-char support. This fixes the following build failure: http://autobuild.buildroot.org/results/cd4e73be80fbb64858f4cf911d2b893b0fc06465/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-25qt: tune .pc files after installation in staging directoryThomas Petazzoni
The Qt configuration and installation process is a bit strange, and it leads the .pc files to contain absolute paths to the staging directory, while it should only contains paths relative to the staging directory, because pkg-config already adds the path of the sysroot automatically to the headers and libraries locations. This allows the 'pkg-config --cflags' results for Qt libraries to be correct. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-25gpsd: disable Python supportThomas Petazzoni
The Python support is not cross-compile friendly (uses host compiler, installs in wrong location, etc.) and nobody needs it at the moment, so leave that to the first person who will need Python support for gpsd. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-25gpsd: add patch to disable rpathThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-25gpsd: proper usage of prefix and DESTDIRThomas Petazzoni
prefix should always be /usr, and destdir must be passed as DESTDIR, and in the environment, not as a scons argument. Finally, we pass the sysroot= argument to scons so that it doesn't add -L/usr/lib parameters when compiling. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-25xserver_xorg-server: add upstream patches to fix build issueThomas Petazzoni
Fixes the following build issue with gcc 4.6: LINK Xfbdev .../host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/bin/ld: ../../../os/.libs/libos.a(backtrace.o): undefined reference to symbol 'dladdr@@GLIBC_2.4' .../host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/bin/ld: note: 'dladdr@@GLIBC_2.4' is defined in DSO .../host/usr/arm-unknown-linux-gnueabi/sysroot/lib/libdl.so.2 so try adding it to the linker command line .../host/usr/arm-unknown-linux-gnueabi/sysroot/lib/libdl.so.2: could not read symbols: Invalid operation Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-24gpsd: remove option to enable latency measurement capabilitiesThomas Petazzoni
It currently fails to build with: libgpsd_core.c: In function 'gpsd_poll': libgpsd_core.c:881: error: 'const struct gps_type_t' has no member named 'min_cycle' libgpsd_core.c:884: error: 'const struct gps_type_t' has no member named 'min_cycle' and is probably not a very important feature for normal users of gpsd. The build problem has been reported to the gpsd-users mailing list. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-24gpsd: fix build issuesThomas Petazzoni
The first patch gpsd-01-sconstruct-python-2.5-compat.patch is aimed at fixing Python 2.5 compatibility issues such as: http://autobuild.buildroot.org/results/844a7f8698567688eba094f64dd2bf5157efd994/build-end.log The second patch gpsd-02-sconstruct-ncurses-config-path.patch implements a proper mechanism to specify the path to ncurse5-config. It obsoletes the previous gpsd-fix-acs_map-compile-errors patch, and solves build problems such as: http://autobuild.buildroot.org/results/92ae3d53e8aa68d8b1a2eccad68c98f577cb6437/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Simon Dawson <spdawson@gmail.com>
2012-07-24gpsd: disallow profiling support with uClibc toolchainSimon Dawson
The following problem was reported by Thomas Petazzoni. If BR2_PACKAGE_GPSD_PROFILING is enabled with a uClibc-based toolchain, then gpsd fails to build. See the following for details. http://autobuild.buildroot.org/results/be707893f4bf0e7e964d183e4a655c5bb72d1889/build-end.log http://autobuild.buildroot.org/results/be707893f4bf0e7e964d183e4a655c5bb72d1889/defconfig. The issue is that uClibc lacks the necessary infrastructure to support profiling. This patch disallows selection of the gpsd profiling feature when a uClibc-based toolchain is selected. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-24mediastreamer: fix build with libX11 and sdl without x11 supportPeter Korsgaard
Fixes http://autobuild.buildroot.net/results/a8f2db4a40c0f53c0d25b2632fe87c2ce136f770 Mediastreamer assumes SDL has X11 support if SDL and libX11 are found, which is not necessarily true in BR. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-24pkg-generic: fix SUBDIR handlingThomas Petazzoni
Commit 9ba9bfb9a02706fa414bcf4c6dcceac1b68a5c9a inverted the logic to define $(2)_SUBDIR, breaking the build of things using the _SUBDIR feature, like the tcl package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-23Bump gpsd from version 2.95 to version 3.7Simon Dawson
Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-23scons: expose SCONS variable, pointing to host sconsThomas Petazzoni
Just like we have AUTOMAKE, AUTOCONF or QT_QMAKE, let the scons package provide a SCONS variable that points to the scons host binary. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-23php: security bump to version 5.3.15Gustavo Zacarias
Fix for CVE-2012-2688 (potential overflow in _php_stream_scandir), CVE-2012-3365 (SQLite open_basedir bypass) and other misc bugfixes. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-23radvd: fix high jobcount build failureGustavo Zacarias
Fix build failure: http://autobuild.buildroot.org/results/48aabbc41dff2e4196dfd6e1e942cf6dbe050deb/build-end.log because of a typo/missed update in the Makefile Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-22tar: fix build with glibc >=2.16Samuel Martin
Signed-off-by: Samuel Martin <s.martin49@gmail.com> create mode 100644 package/tar/tar-1.26-no-gets.patch Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-22m4: fix build with glibc >=2.16Samuel Martin
Signed-off-by: Samuel Martin <s.martin49@gmail.com> create mode 100644 package/m4/m4-1.4.16-no-gets.patch Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-22elftosb: use HOST_CONFIGURE_OPTS instead of HOST_MAKE_ENVThomas Petazzoni
HOST_CONFIGURE_OPTS allows to pass the correct CC, CXX, CFLAGS, CXXFLAGS, etc. For example, it allows the elftosb build process to properly use ccache when available. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-22elftosb: remove version number of patch filenamesThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-22elftosb: fix build forcing g++ compilerSamuel Martin
Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-22pkg-*targets.mk: factorize and fix $(PKG)_SRCDIR and $(PKG)_BUILDDIR declarationSamuel Martin
Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-22pkg-utils.mk: fix/clean indentationSamuel Martin
Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-22lighttpd: add simple startup scriptThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-22lighttpd: use standard web root directorySimon Dawson
Signed-off-by: Simon Dawson <spdawson@gmail.com> Acked-By: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-22Package downloads: allow restricting to primary site onlyThomas De Schampheleire
This patch adds a new config option BR2_PRIMARY_SITE_ONLY that, when set, restricts package downloads to the specified BR2_PRIMARY_SITE. If the package is not present on the primary site, the download fails. This is useful for project developers who want to ensure that the project can be built even if the upstream tarball locations disappear. [thomas.petazzoni@free-electrons.com: Extend config option help message with more details coming from the commit log. Added a dependency on the fact that a primary site has been defined. Without any primary site (the default configuration), this new option does not make any sense.] Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-22pkg-download.mk: support detection of URI schemes in DOWNLOADThomas De Schampheleire
When using one of the package infrastructures, the DOWNLOAD function uses $(PKG)_SITE_METHOD to determine the appropriate download method, which is autodetected based on the URI if none was explicitly set. When the DOWNLOAD function is called directly, for example when downloading a toolchain, or from a package that does not use one of the package infrastructures, the SITE_METHOD is not autodetected, and thus the download defaults to wget. This patch adds URI scheme detection directly to the DOWNLOAD method, in case no SITE_METHOD was detected yet. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-22pkg-download.mk: use stripurischeme function in localfiles download methodThomas De Schampheleire
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-22pkg-download.mk: allow using localfiles outside of package infrastructureThomas De Schampheleire
The localfiles download method uses $($(PKG)_SITE))) and $($(PKG)_SOURCE) instead of $(1) and $(2). This means that it can only be used for package downloads (through gentargets, autotargets, ...) and not for other downloads like external toolchains. This patch changes localfiles to allow this, just as the wget and scp download methods already did. For the version control download methods, nothing changes. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-22lua: fix typoThomas Petazzoni
Commit c8da6d1dd656caf5454c50ee5dddb4beead60326 introduced a stupid typo. Fix it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-21Add (Freescale) elftosb host packageEric Jarrige
Elftosb is a Freescale toolset to build binary image files (like U-Boot.sb) to be used with CPUs imx23, imx28, stp37xx thomas.petazzoni@free-electrons.com: * Add -m 0755 when installing binaries * the _CLEAN_CMDS is not supposed to uninstall things from the HOST_DIR. * Use 'host-generic-package' instead of 'GENTARGETS,host' Signed-off-by: Eric Jarrige <eric.jarrige@armadeus.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-20memtester: bump to version 4.3.0Simon Dawson
Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-20owl-linux: new packageSimon Dawson
Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-20sound-theme-borealis: new packageSimon Dawson
[thomas.petazzoni@free-electrons.com: slightly adjust the installation process to just do a loop of calls to $(INSTALL).] Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-20python-nfc: new packageSimon Dawson
[thomas.petazzoni@free-electrons.com: add patch that creates a standard setup.py file. This allows the .pyc files to be generated at build time, and installed into the target. This is important because by default, Buildroot removes all .py files from the target, to keep only the .pyc files. The python-nfc.mk file was changed to use this setup.py standard build process.] Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-20dfu-util: cosmetic fixThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-20dfu-util: new packagegregory hermant
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-20lua: use install -D everywhereThomas Petazzoni
Installation of host-lua was failing because it was the first package to be built, and $(HOST_DIR)/usr/lib didn't exist. Therefore, use install -D everywhere so that intermediate directories are created as needed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-20lua: fix build issue with gcc 4.6Thomas Petazzoni
gcc 4.6 has become more sensitive about option ordering, especially libraries. It requires the -l flags to be placed after the object files that need that library. See for example http://nick.zoic.org/art/etc/gcc-linker-libs.html. We had -llua at the beginning of the link command line, causing build issues (here on gcc 4.6 with host-lua). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-20lua: ensure that host-lua does not depend on host-readline and host-ncursesThomas Petazzoni
Commit ad6af5819f88bac9ca7f50e565c4fc68d3e408cc removed the HOST_LUA_DEPENDENCIES assignement to the empty variable, so from that commit, the dependencies of host-lua are automatically computed from the dependencies of lua. Since lua can depend on readline and ncurses, it means that host-lua can depend on host-readline and host-ncurses, and the host-readline package does not exist in Buildroot. Since there is no reason to build host-lua with readline/ncurses support, just re-add the HOST_LUA_DEPENDENCIES variable. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Francois Perrad <fperrad@gmail.com>
2012-07-20libnfc-llcp: new packageSimon Dawson
This patch adds the libnfc-llcp package. This package requires a minium libnfc version of 1.6. A separate patch has been submitted to bump the libnfc version; that patch should be regarded as a prerequisite for the present patch. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-20libfreefare: bump version to 0.3.4Simon Dawson
This patch bumps the libfreefare package from version 0.3.2 to version 0.3.4. Version 0.3.4 requires a minium libnfc version of 1.6. A separate patch has been submitted to bump the libnfc version; that patch should be regarded as a prerequisite for the present patch. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-19bwm-ng: move bwm-ng from "Networking applications" to "System tools".Kelvin Cheung
bwm-ng can monitor not only network bandwidth but also disk-io bandwidth, so it is more appropriate to put bwm-ng into System tools. Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-18sam-ba: only propose it if the host is x86 or x86_64Jean-Christophe PLAGNIOL-VILLARD
As sam-ba is delivered as a binary for x86 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2012-07-18lua: refactor without sedFrancois Perrad
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-18luajit: fix dependencies of Lua modulesFrancois Perrad
BR2_PACKAGE_LUA_SHARED_LIBRARY is an internal of lua package Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-18luajit: new packageFrancois Perrad
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>