Commit Graph

4503 Commits

Author SHA1 Message Date
Luca Ceresoli
cf75bd2789 qt: fix alsa-lib dependency
If BR2_PACKAGE_QT_AUDIO_BACKEND=y, QtMultimedia requires the audio backend
to be already in staging in order to compile.
The backend is system-dependent, but since buildroot builds Linux systems
only, it is safe to assume that the it will always be ALSA.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 22:52:50 +02:00
Peter Korsgaard
39e6ba1b39 java: mark as broken
We haven't had any updates to the java packages in a long time,
gcj in 4.3.x doesn't build, and 4.4.x is missing ecj1, so it cannot
have many users.

Mark it as broken and remove during the 2010.11 cycle, unless someone
steps up to maintain it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 22:25:19 +02:00
Peter Korsgaard
3da3c33877 flex: fix configure cache issue with BR2_NEEDS_GETTEXT
Flex doesn't NEED gettext/libintl, but it's configure script checks for it,
so make sure those a built before flex, otherwise flex will populate
tgt-config.cache with invalid values, breaking the build of other packages
needing it (like libglib2).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 15:10:41 +02:00
Gustavo Zacarias
e7b5fd80c4 wireless_tools: Migrate to gentargets and fixes
Rename it from wireless-tools to wireless_tools to match upstream.
Make it install manpages.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 12:07:22 +02:00
Peter Korsgaard
f44935e4d3 swfdec: fix build when no libglib2-dev package is installed on host
Make sure it uses the libglib2-host binaries we are building.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 11:10:03 +02:00
Peter Korsgaard
deb51ad988 busybox: bump 1.17.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 10:03:42 +02:00
Peter Korsgaard
9fb9dc0bea diffutils: fix build with uClibc 0.9.31
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 08:15:36 +02:00
Peter Korsgaard
5e0dd50523 gmpc: fix typo
Fixes build with libSM support.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-25 22:17:08 +02:00
Peter Korsgaard
c03cab1430 xserver-xorg: disable SDL kdrive server
Otherwise the build breaks if the SDL package is enabled, as xserver's
configure script detects SDL support, but doesn't find our sdl-config
script, so linking fails.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-24 20:34:03 +02:00
Peter Korsgaard
3435c1afb5 kconfig: implement KCONFIG_PROBABILITY for rand{,package}config
rand{,package}config enables configuration options with 50% probability,
which isn't always what we want in BR (because the "big" configs take a
long time to build and limits the chance of a randconfig detecting a
missing dependency), so introduce a KCONFIG_PROBABILITY environment
variable to tweak the probability between 0 (all options off) and 100
(all options on).

To use, simply set the environment variable before running make or pass
it on the make command line - E.G.

make randpackageconfig KCONFIG_PROBABILITY=10

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-23 14:27:30 +02:00
Peter Korsgaard
f4800b4654 package: mark libglib12/libgtk12/dillo as deprecated
gtk2 was released back in 2002, and gtk3 is almost ready - So deprecate
the old gtk12 stack. Unless someone complains, expect it to be removed
during the 2010.11 development cycle.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 21:43:45 +02:00
Gustavo Zacarias
d8a41bb536 busybox: fix cflags
Pass CFLAGS as env rather than opt to allow the build system to tweak them.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 18:13:00 +02:00
Peter Korsgaard
e23ca1da6d busybox: additional 1.17.0 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 18:11:40 +02:00
Peter Korsgaard
6d249fcdfa gst-plugins-good: udp plugin needs ipv6 support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 16:34:57 +02:00
Peter Korsgaard
7705e6e415 kconfig: make rand{,package}config fair
Give each boolean symbol a 50% chance of getting enabled, rather than 67%.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 14:17:51 +02:00
Peter Korsgaard
6ef765d3bd php: filter plugin depends on pcre
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 13:08:24 +02:00
Peter Korsgaard
3358928225 webif: needs busybox (httpd)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 13:08:24 +02:00
Peter Korsgaard
0a01196efd thttpd: fix build, don't override CFLAGS at make time
We already provide the correct CFLAGS/LDFLAGS at configure time, so don't pass them
again at make time, as this then overrides the extra CFLAGS (defines) in the Makefile.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 13:08:24 +02:00
Peter Korsgaard
87e55feec7 mplayer: add optional sdl/freetype support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 13:08:24 +02:00
Peter Korsgaard
89fc8a4f5a mplayer: fix build after efb1d8d3f4 (Cleanup TARGET_CONFIGURE_OPTS)
mplayer's configure script got confused by the equal sign (=) we now have
in TARGET_CC because of --sysroot=<path>.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 11:24:30 +02:00
Peter Korsgaard
32d319e6f7 gst-plugins-base: ensure <stdint.h> is used
Otherwise the build breaks with the emulation _stdint.h in gstfft.c.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 10:25:09 +02:00
Peter Korsgaard
8330dd11e7 xavante: needs largefile support (for luafilesystem)
And at the same time use select for the lua shared library dependency.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 09:36:52 +02:00
Peter Korsgaard
bc98b5b357 cgilua: tweak Config.in
Print a comment if largefile isn't available, and use select rather than
depends for the lua shared library option.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 09:35:38 +02:00
Peter Korsgaard
164d1dc020 luafilesystem: tweak Config.in
Print a comment if largefile isn't available, and use select rather than
depends for the lua shared library option.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 09:29:57 +02:00
Peter Korsgaard
5af328d2dd wsapi: needs largefile support (for luafilesystem)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 09:29:44 +02:00
Peter Korsgaard
80890ab0ec ltrace: fix build without USE_DEMANGLE
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 09:23:53 +02:00
Peter Korsgaard
519fed5f73 lighttpd: fix build with pcre support
We need to tell where pcre-config is installed, now that STAGING_DIR/usr/bin
no longer is in the path.
2010-07-22 09:08:34 +02:00
Peter Korsgaard
cbcc06c3bb dash: fix build of native helpers
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 00:22:22 +02:00
Peter Korsgaard
68fe213daa php: pdo mysql extension needs C++ support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-21 23:45:36 +02:00
Peter Korsgaard
884c7c6b99 alsamixergui: needs C++ support for fltk
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-21 21:06:13 +02:00
Peter Korsgaard
8bbf552993 xserver: dri support is only for the modular server
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-21 09:53:51 +02:00
Peter Korsgaard
fd5b0dc8fe xserver: libdrm is not needed for tinyx
libdrm is only needed for the modular server, and as libdrm
needs largefile support and tinyx doesn't, this dependency could
cause a build failure.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-20 23:29:42 +02:00
Peter Korsgaard
f242065eff libdrm: needs LARGEFILE support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-20 21:35:24 +02:00
Peter Korsgaard
7be1fd6c68 xserver: libpciaccess is not needed for tinyx
libpciaccess is only needed for the modular server, and as libpciaccess
needs largefile support and tinyx doesn't, this dependency could
cause a build failure.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-20 16:07:12 +02:00
Peter Korsgaard
9de1b4c81f dialog: force linking with ncurses
Otherwise the build breaks with:
configure: error: no curses library found

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-20 13:04:15 +02:00
Nick Leverton
6c387f2e69 netcat: fix logic for archs with unsigned chars
Closes #2245

Signed-off-by: Nick Leverton <nick@leverton.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-20 08:59:36 +02:00
Peter Korsgaard
4e302ac83d avahi: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-19 16:01:28 +02:00
Julien Boibessot
c835c3006b ipsec-tools: replace sysv3 legacy functions with modern equivalents
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-19 00:17:09 +02:00
Julien Boibessot
8c1a4f3132 flex: bump patch version
Version 9 is no more available on Debian FTP.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-19 00:04:42 +02:00
Peter Korsgaard
b70653609b Merge branch 'other-build-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-07-18 23:41:14 +02:00
Thomas Petazzoni
538773a66f alsa-lib: make sure to only look in STAGING_DIR for Python includes
Even though we pass a -I option to tell alsa-lib to look for Python
includes in the STAGING_DIR, alsa-lib build process still looks in
/usr/include for some stuff, causing bug #321.

This fix is the one suggested by Ulf Samuelsson in bug #321, and
allows to make alsa-lib with Python support to build properly on a 64
bits machine with python-dev installed on the host. Without this fix,
the build fails with exactly the same problem that Ulf reported.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-18 23:26:25 +02:00
Dmytro Milinevskyy
d9119c0bc5 move default skeleton to fs/ and drop busybox skeleton
[Peter: fixup patch, adjust for busybox.mk changes]
Signed-off-by: Dmytro Milinevskyy <milinevskyy@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18 23:08:55 +02:00
Thomas Petazzoni
4a2dabe9d5 neon: explicit path to xml2-config
Now that $(STAGING_DIR)/usr/bin is not in the PATH, we need to
explicit the path to such tools.

This might also fix bug 1393 since by expliciting the path to
xml2-config, we'll force neon ./configure to choose our xml2-config
and not the one of the host.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-18 22:49:12 +02:00
Malte Starostik
ed0d45fdd4 Choose host/target ldconfig based on availability
Decide whether to use the host or target ldconfig based on an
availability check instead of internal/external toolchain selection.  An
external toolchain may very well provide an ldconfig while the host's
one may fail.
External toolchain generated by Gentoo crossdev:

$ LC_ALL=C i686-pc-linux-uclibc-ldconfig -r output/target/; echo $?
i686-pc-linux-uclibc-ldconfig: skipping /usr/lib: No such file or directory
0

vs. the host (x86_64-pc-linux-gnu) version:

$ LC_ALL=C /sbin/ldconfig -r output/target/; echo $?
/sbin/ldconfig: Can't open configuration file
output/target/etc/ld.so.conf: No such file or directory
/sbin/ldconfig: Can't open cache file /var/cache/ldconfig/aux-cache
: No such file or directory
1

Signed-off-by: Malte Starostik <m-starostik@versanet.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18 22:46:06 +02:00
Malte Starostik
0383d48a5e Match whole words when changing .config options
Make KCONFIG_{ENABLE,DISABLE,SET}_OPT match whole words only.
Fixes that BR_INET_IPV6 enables CONFIG_IPV6 in the kernel's
.config, but also nukes everything with "CONFIG_IPV6" in its name, e.g.
CONFIG_IPV6_PRIVACY.  This in turn causes any IPv6 options in a custom
kernel .config to be lost and oldconfig going interactive.

Signed-off-by: Malte Starostik <m-starostik@versanet.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18 22:46:06 +02:00
Peter Korsgaard
12659c1176 busybox: 1.17.0 dos2unix fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18 21:30:15 +02:00
Peter Korsgaard
869b11c8b5 dsl: disable ps3 video driver
The ps3 driver is enabled by default on ps3, but depends on spu support,
which most ppc toolchains don't have, so disable it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-17 10:45:31 +02:00
Peter Korsgaard
e7b7148dfb games: put doom related options together
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-17 00:21:23 +02:00
Thomas Petazzoni
66264b8755 sdl: fix build of other sdl components
The post installation hook of SDL was not being executed, due to an
incorrect usage of the infrastructure. Moreover, it did not patch
prefix/exec_prefix in sdl-config as is needed. In addition to that, we
remove the -Wl,-rpath option from sdl-config, since it is not needed.

This fixes at least the build of sdl_image, and probably of other sdl
components as well.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-17 00:09:35 +02:00
Thomas Petazzoni
ab7d4fb421 mysql_client: Bump to 5.1.47 and fix build
MySQL build has been broken for quite some time due to the ./configure
inability to find out how to use 'ps' to find the PID of a running
program. This commit bumps MySQL to the latest version and adds a few
patches to fix various build issues, including the 'ps' issue.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-17 00:08:32 +02:00