Commit Graph

7640 Commits

Author SHA1 Message Date
Nick Leverton
7810eebb73 avahi: avahi-autopid: make sure TARGET_DIR/var/lib exists
Closes #1801

Signed-off-by: Nick Leverton <nick@leverton.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-21 21:03:39 +02:00
Peter Korsgaard
5faf6627ee CHANGES: update with changes from 2010-05-15-fixes branch
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-21 20:37:51 +02:00
Peter Korsgaard
c89b725978 Merge branch '2010-05-15-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-05-21 20:30:28 +02:00
Peter Korsgaard
319a4751c4 Makefile: move filesystem stuff after u-boot build again
Otherwise u-boot tools / kernel modules are only added to target AFTER
the filesystems are built.

Long term u-boot/kernel stuff should get splitted from target/device,
but this is the safest solution for now.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-21 16:19:11 +02:00
Thomas Petazzoni
584921cb87 fltk: fix build
The build of fltk was failing due to an issue in the usage of
scandir(). This issue is fixed by a new patch,
fltk-1.1.7-scandir-fix.patch. Moreover, this problem was not
necessarly visible, as the build process of FLTK didn't bail out with
an error when it was failing. This if fixed by
fltk-1.1.7-bail-out-on-error.patch. Finally, there was a problem with
the tests of FLTK, so we disabled them.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-21 16:14:17 +02:00
Thomas Petazzoni
b633c9600a Rephrase and extend the documentation page
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-21 15:25:25 +02:00
Thomas Petazzoni
5ee1551cef Extend the introduction page
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-21 15:25:25 +02:00
Thomas Petazzoni
beafd20730 pkg-stats: better heuristics
Slightly improve the package type detection heuristic, and fix a small
bug about package/multimedia/multimedia.mk exclusion.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-21 15:22:41 +02:00
Thomas Petazzoni
0e12aa3e0f New graph-depends script
Add a Python script that draws dependency graphs, either for the full
set of selected packages, or for a particular given package. Of
course, it is limited to packages that use either the generic or
autotools infrastructures. The script generates a file that Graphviz
can parse and generate a PDF (or other formats) from it.

Full dependency graph of all selected packages :

 ./scripts/graph-depends > test.dot
 dot -Tpdf test.dot -o test.pdf

Dependency graph of libgtk2 :

 ./scripts/graph-depends libgtk2 > test.dot
 dot -Tpdf test.dot -o test.pdf

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-21 15:16:48 +02:00
Thomas Petazzoni
b7d6c8ad0f Add a show-targets target
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-21 15:07:34 +02:00
Thomas Petazzoni
949db6ac05 Add a <fs>-root-show-depends target
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-21 15:07:34 +02:00
Thomas Petazzoni
118b880d73 package: Add new <pkg>-show-depends to list dependencies
The new <pkg>-show-depends simply outputs the list of dependencies for
the given package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-21 15:07:33 +02:00
Peter Korsgaard
bb81787ae1 qt: update x86x86fix for 32bit pc hosts
The recent change to use config.guess to figure out GNU_HOST_NAME
broken the x86x86fix detection for 32bit hosts, as config.guess
returns something like i686-pc-linux-gnu rather than something with
*-unknown-linux-* like we used to use.

Fix it by simply looking for "linux" instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-21 08:53:34 +02:00
Peter Korsgaard
484d15dea6 ntp: fix build without ipv6 support
Closes #1693

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-20 23:13:34 +02:00
Julien Boibessot
c36e3f3896 aumix: SITE has changed
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-20 22:41:15 +02:00
Thomas Petazzoni
52e600ebec netsnmp: disable build with external toolchain
There is a build problem with netsnmp on external toolchain that isn't
easy to fix: libtool strips the --sysroot that we are passing it,
which make the link step fail.

In preparation for the release, just make sure this package isn't
visible to external toolchain users. Of course, on the long run, we
should fix this.

We also disable the build of the Quagga SNMP support because it
selects netsnmp.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:30 +02:00
Thomas Petazzoni
56407a4efa vpnc: pass CFLAGS at link time
External toolchain builds absolutely require the --sysroot option to
be passed at link time.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:30 +02:00
Thomas Petazzoni
d30649ada0 uemacs: don't forget CFLAGS at link time
Without CFLAGS, the build breaks because --sysroot is missing at link
time, and this option is absolutely mandatory for external toolchain
builds.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:30 +02:00
Thomas Petazzoni
0c44617e7f lvm2: do not override CC and similar variables
Since lvm2 uses autoconf, there's no point in overriding CC and other
variables at build time. This causes build breakage as CFLAGS aren't
used at link time, therefore --sysroot lacks, which breaks the build
with external toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:29 +02:00
Thomas Petazzoni
47a7c75bfb mutt: fix build and convert to autotools
mutt has been upgraded, but the mutt-1.5.16-makedoc-hostcc.patch
wasn't upgraded accordingly, causing build failures in the
documentation. Therefore, we add a new patch
mutt-1.5.17+20080114-nodoc.patch that disables the construction of the
documentation.

As this patch modifies Makefile.am, we need to autoreconf the
package. The simplest and cleanest way to do this is to convert the
package to the autotools infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:29 +02:00
Thomas Petazzoni
7b38fc20ba cairo: remove host variant
Since we no longer need to build pango on the host, cairo on the host
is no longer needed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:29 +02:00
Thomas Petazzoni
832ce382c6 pango: run pango-querymodules on the target instead of on the host
We needed to build pango for the host in order to compile
pango-querymodules for the host, which was used to produce
/etc/pango/pango.modules. Unfortunately:

 * This produces an incorrect /etc/pango/pango.modules (no modules
   detected in my case), probably because the host pango-querymodules
   was looking at host pango modules

 * This requires to build pango for the host, which requires to build
   cairo for the host, which requires to build X11 for the host.

To make things work and remove the dependency between pango and
host-pango, we introduce a S25pango script that creates
/etc/pango/pango.modules on startup if it doesn't exist, just as we do
with libgtk2 for /etc/gtk-2.0/gdk-pixbuf.loaders.

Since host-pango is no longer needed, we remove all definitions
related to it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:29 +02:00
Thomas Petazzoni
0317b30912 samba: only require libiconv if !BR2_ENABLE_LOCALE
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:29 +02:00
Thomas Petazzoni
a4051d9db8 ntp: fix build failure
This patch adds a patch to NTP to fix the following build failure,
using a workaround patch found on the Fedora bugzilla:

ntp_loopfilter.c: In function 'local_clock':
ntp_loopfilter.c:571: error: 'MOD_NANO' undeclared (first use in this function)
ntp_loopfilter.c:571: error: (Each undeclared identifier is reported only once
ntp_loopfilter.c:571: error: for each function it appears in.)
ntp_loopfilter.c: In function 'loop_config':
ntp_loopfilter.c:896: error: 'MOD_NANO' undeclared (first use in this function)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:29 +02:00
Thomas Petazzoni
362791a7c1 startup-notification: add dependency on xlib_libX11
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:28 +02:00
Thomas Petazzoni
9923439841 lmbench: needs BR2_INET_RPC
This package uses several pmap_*() functions in the C library, that
are only available if the C library has RPC support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:28 +02:00
Thomas Petazzoni
2fae26486f iconv: disallow selection when BR2_ENABLE_LOCALE is enabled
A C library compiled with locale support already has an iconv()
implementation. In that case, libiconv is useless. Therefore, disallow
the selection of libiconv when the configuration says that the
toolchain has locale support.

This fixes build issues similar to the one we had with gettext:
libiconv headers are installed, but -liconv is not added because the
./configure script detects that the C library supports iconv.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:28 +02:00
Thomas Petazzoni
fad3b5a7be external toolchain: check BR2_INSTALL_LIBSTDCPP
Verify that the value of BR2_INSTALL_LIBSTDCPP set by the user in the
Buildroot configuration really matches the external toolchain
capabilities by checking that a C++ cross-compiler is available.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:28 +02:00
Thomas Petazzoni
407616f690 gettext: make only available if BR2_NEEDS_GETTEXT is set
This allows to make sure that an user, or a randpackageconfig, will
not select the gettext or libintl package when using an external
toolchain based on glibc/eglibc.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:27 +02:00
Thomas Petazzoni
728e43534d ltrace: fix build failure
ltrace failed to build because of missing arguments to gcc to find the
header files. This is due to the fact that the existing ltrace.mk was
setting CC and LD at build time to incorrect values. Keeping the
values set at configure time is just the right thing to do.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:27 +02:00
Thomas Petazzoni
bdc9c05f44 libcgicc: fix package after autotools infrastructure conversion
The patch had an incorrect name, and the libtool patch was applied
while it shouldn't, and the package wasn't autoreconfed while the
patch changes some Makefile.am files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:27 +02:00
Thomas Petazzoni
485ba35032 libcap: fix build failure
On a x86-64 host, libcap tried to install things in
$(STAGING_DIR)/lib64 and $(TARGET_DIR)/lib64. Therefore, pass lib= and
prefix=, as required by the strange build system used by libcap.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:27 +02:00
Thomas Petazzoni
542fbe8520 Make all package using gettext rely on BR2_NEEDS_GETTEXT
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:27 +02:00
Thomas Petazzoni
54d64798e1 Add a BR2_NEEDS_GETTEXT option
When using an external toolchain that uses the glibc or eglibc C
libraries, compiling a separate gettext and libintl is not needed and
is even a source of confusion, causing build failures. These build
failures are due to the fact that when libintl is compiled, it
replaces the C library libintl.h by its own, which does #define
gettext libintl_gettext. Then, when packages want to use gettext,
autoconf realize that gettext is available in the C library and
therefore do not add -lintl to the LDFLAGS, causing the build failure
because the program has been compiled to use libintl_gettext but this
function is not available.

Therefore, we should only use gettext if a uClibc internal toolchain
or a uClibc external toolchain. If an external glibc toolchain is
used, gettext shouldn't be used.

In order to implement that, we introduce the BR2_NEEDS_GETTEXT option,
which is hidden to the user, and whose value is computed automatically
from the rest of the configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:27 +02:00
Peter Korsgaard
f3122259e2 mtd-utils: buildsystem is broken with parallel make (regarding libubi)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-19 23:11:57 +02:00
Peter Korsgaard
8272501ea0 avahi: fix build on uclibc 0.9.31 without ipv6 support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-18 10:42:13 +02:00
Peter Korsgaard
acb785cad4 Config: terminate version number string
Reported-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-17 09:34:47 +02:00
H Hartley Sweeten
eea3ff264f target/linux: bump 2.6.32 and 2.6.33 versions
New versions of the 2.6.32 and 2.6.33 kernel were released today
and it is suggested that all users should upgrade.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-16 22:30:22 +02:00
Peter Korsgaard
7bb2b4826e busybox: 1.16.1 fixes for dhcpd and sed
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-16 22:29:41 +02:00
Peter Korsgaard
7b7a316663 kernel-headers: bump 2.6.32.x / 2.6.33.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-16 22:22:08 +02:00
Peter Korsgaard
93cca7c8bc Config.in: past 2010.05-rc2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-16 22:20:54 +02:00
Peter Korsgaard
6d1ab151cb update for 2010.05-rc2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11 21:15:07 +02:00
Peter Korsgaard
49ce10cb3c CHANGES: add updated packages from Thomas' build-fixes branch
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11 09:13:14 +02:00
Peter Korsgaard
77e2dfffae Merge branch 'build-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-05-11 09:10:43 +02:00
Thomas Petazzoni
c488481e9c libnl: include limits.h to fix build failure
Fixes the ULONG_MAX definition problem:

In file included from cache.c:43:
../include/netlink-local.h: In function '__str2type':../include/netlink-local.h:218: error: 'ULONG_MAX' undeclared (first use in this function)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11 09:02:07 +02:00
Thomas Petazzoni
c554cc2a2e netplug: disable -Werror to fix build failure
netplug uses nested functions, and gcc generates a warning that
is turned into an error:

cc1: warnings being treated as errors
if_info.c: In function 'ifsm_scriptdone':
if_info.c:289: error: generating trampoline in object (requires executable stack)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11 08:59:02 +02:00
Thomas Petazzoni
5b9384337a less: depends on curses
The less package already selects BR2_PACKAGE_CURSES, but it fails to
depend on it in the makefile. Therefore, there are cases where less
gets built before curses, and the build fails:

checking for working terminal libraries... Cannot find terminal libraries - configure failed

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11 08:57:49 +02:00
Thomas Petazzoni
de73cdf478 hostapd: use internal crypto library
When OpenSSL is not enabled, hostapd relies on an internal
library. However, this library must be enabled, otherwise the
compilation of hostapd fails with:

/home/test/ctng-arm-eglibc/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.3.4/../../../../arm-unknown-linux-gnueabi/bin/ld: cannot find -ltommath

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11 08:57:09 +02:00
Paul Jones
18f72f9730 xvkbd: bump version
And fix dependencies while we're at it.

Signed-off-by: Paul Jones <paul@pauljones.id.au>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11 08:53:32 +02:00
Thomas Petazzoni
ba9a902bf8 shared-mime-info: missing dependency on host-intltool
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-10 23:43:05 +02:00