summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-24Improve gettext integrationThomas Petazzoni
Having a BR2_NEEDS_GETTEXT option, as introduced by 54d64798e1e14b526c3cc1142961972cff9f1e8a isn't sufficient to express the different kind of dependencies on gettext. This commit, based on an idea by Peter Korsgaard, introduces two different options : * BR2_NEEDS_GETTEXT, which is true as soon as the toolchain doesn't provide gettext itself (i.e, when the toolchain is uClibc based, be it an internal or external toolchain) * BR2_NEEDS_GETTEXT_IF_LOCALE, which is true when the toolchain doesn't provide gettext *and* locale support has been enabled in Buildroot. A following commit adds some documentation that details how these configuration variables should be used by packages. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-24pciutils: fix access to pci.ids and make update-pciids work with busybox wgetPeter Korsgaard
Closes #1819 Fix two issues with pciutils: - pciutils would look in /usr/share/misc for pci.ids, but install it in /usr/share. This is because pciutils doesn't use a ./configure script, so we have to also provide the configuration (make) arguments when we run make install as well. Fix it by making it look into /usr/share as that's simpler to do, and is what upstream does. - the update-pciids script would call wget with the --no-timestamping option, which isn't supported by busybox wget. Fix it by simply removing that option as it isn't really critical. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-23mutt: needs WCHAR support in toolchainPeter Korsgaard
Contrary to the comment in Config.in, mutt isn't broken when wchar is enabled - In fact, it doesn't build without it. Add BR2_USE_WCHAR dependency to make this clear. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-23icu: fix build with gcc >= 4.4 / JLEVEL > 1Peter Korsgaard
Fix two issues with the icu build: - icu source contains an #elif without any arguments, which g++ >= 4.4 flags as an error. This is both an issue for target and host build, so restructure the .mk so any *both*patch is applied to both builds (the other patches would cause trouble with host builds) - icu build system isn't parallel make safe, use MAKE1 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-22package/config: really cleanYann E. MORIN
Signed-off-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-22fix device_table.txt path in arm_toolchain_defconfigcmchao
Signed-off-by: Chih-Min Chao <cmchao@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-22atngw100_defconfig: update to fix build failureBjørn Forsman
atngw100_defconfig: update to fix build failure: * The AVR32 toolchain fails to build with the new uClibc version 0.9.31.x. Use the older uClibc 0.9.30.x branch instead. * Disable linux-fusion as it fails to build (why was this selected anyway, when DirectFB was not selected?). * U-Boot 2010.03 is broken for AVR32. The build fails with: zlib.c:31:27: error: asm/unaligned.h: No such file or directory Select the older U-Boot 2009.08 version that builds instead. * Disable rsync as it fails to build. Build tested with 'make distclean && make atngw100_defconfig && make' on an Ubuntu 10.04 x86_64 host. Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-22cairo: ps backend needs pdfPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-22cdrkit: needs largefile support in toolchainPeter Korsgaard
At the same time fix indentation in Config.in Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-21sshfs: needs largefile support (because of fuse)Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-21CHANGES: #1729 is now closed (fltk)Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-21Merge branch 'fltk-fix-bug-1729' of ↵Peter Korsgaard
git://git.busybox.net/~tpetazzoni/git/buildroot
2010-05-21Merge branch 'website' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard
2010-05-21avahi: avahi-autopid: make sure TARGET_DIR/var/lib existsNick Leverton
Closes #1801 Signed-off-by: Nick Leverton <nick@leverton.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-21CHANGES: update with changes from 2010-05-15-fixes branchPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-21Merge branch '2010-05-15-fixes' of ↵Peter Korsgaard
git://git.busybox.net/~tpetazzoni/git/buildroot
2010-05-21Makefile: move filesystem stuff after u-boot build againPeter Korsgaard
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-21fltk: fix buildThomas Petazzoni
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-21Rephrase and extend the documentation pageThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-21Extend the introduction pageThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-21qt: update x86x86fix for 32bit pc hostsPeter Korsgaard
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-20ntp: fix build without ipv6 supportPeter Korsgaard
Closes #1693 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-20aumix: SITE has changedJulien Boibessot
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-20netsnmp: disable build with external toolchainThomas Petazzoni
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-20vpnc: pass CFLAGS at link timeThomas Petazzoni
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-20uemacs: don't forget CFLAGS at link timeThomas Petazzoni
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-20lvm2: do not override CC and similar variablesThomas Petazzoni
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-20mutt: fix build and convert to autotoolsThomas Petazzoni
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-20cairo: remove host variantThomas Petazzoni
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-20pango: run pango-querymodules on the target instead of on the hostThomas Petazzoni
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-20samba: only require libiconv if !BR2_ENABLE_LOCALEThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20ntp: fix build failureThomas Petazzoni
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-20startup-notification: add dependency on xlib_libX11Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20lmbench: needs BR2_INET_RPCThomas Petazzoni
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-20iconv: disallow selection when BR2_ENABLE_LOCALE is enabledThomas Petazzoni
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-20external toolchain: check BR2_INSTALL_LIBSTDCPPThomas Petazzoni
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-20gettext: make only available if BR2_NEEDS_GETTEXT is setThomas Petazzoni
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-20ltrace: fix build failureThomas Petazzoni
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-20libcgicc: fix package after autotools infrastructure conversionThomas Petazzoni
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-20libcap: fix build failureThomas Petazzoni
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-20Make all package using gettext rely on BR2_NEEDS_GETTEXTThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20Add a BR2_NEEDS_GETTEXT optionThomas Petazzoni
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-19mtd-utils: buildsystem is broken with parallel make (regarding libubi)Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-18avahi: fix build on uclibc 0.9.31 without ipv6 supportPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-17Config: terminate version number stringPeter Korsgaard
Reported-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-16target/linux: bump 2.6.32 and 2.6.33 versionsH Hartley Sweeten
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-16busybox: 1.16.1 fixes for dhcpd and sedPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-16kernel-headers: bump 2.6.32.x / 2.6.33.x stable versionsPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-16Config.in: past 2010.05-rc2Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11update for 2010.05-rc22010.05_rc2Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>