summaryrefslogtreecommitdiff
path: root/package
AgeCommit message (Collapse)Author
2010-07-29dmalloc: pass -fPIC when compilingThomas Petazzoni
This is needed to avoid: /home/test/mips-4.4/bin/mips-linux-gnu-ld --sysroot=/home/test/outputs/test-35/staging -shared --whole-archive -soname libdmallocxx.so -o libdmallocxx.so.t libdmallocxx.a /home/test/mips-4.4/bin/mips-linux-gnu-ld: libdmalloc.a(arg_check.o): relocation R_MIPS_HI16 against `_dmalloc_flags' can not be used when making a shared object; recompile with -fPIC It is fixed through a patch to Makefile.in instead of passing a CFLAGS variable to ./configure environment in order to avoid cluttering the configuration cache with incorrect values. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-29cdrkit: fix TARGET_CC/TARGET_CFLAGS for CMakeThomas Petazzoni
Since the reorganization of the variables in package/Makefile.in, TARGET_CC and TARGET_CXX now directly contain the --sysroot= option in addition to the compiler path. This is due to some ./configure scripts using just $(TARGET_CC) for some tests instead of $(TARGET_CC) $(TARGET_CFLAGS). However, in the case of CMake, this fails as CMake really only wants the path of the compiler in its CMAKE_C_COMPILER and CMAKE_CXX_COMPILER variables. So here, we recompute proper values for CMake by removing the --sysroot option from the compiler variables and re-adding it to the flags variables. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-29libeXosip: add dependency on host-pkg-config and remove useless flagsThomas Petazzoni
When libeXosip fails to use pkg-config to find libosip, it defaults to thinking that libosip is installed in $(prefix)/lib and $(prefix)/include, which is of course wrong. There was an attempt to fix this by passing OSIP_CFLAGS and OSIP_LIBS variables to libeXosip ./configure script, but it still does not work: checking pkg-config is at least version 0.9.0... ./configure: line 21035: /home/test/outputs/test-41/host/usr/bin/pkg-config: No such file or directory no checking for OSIP... configure: WARNING: assuming osip can be found in -I${prefix}/include and -L${exec_prefix}/lib Therefore, the correct fix is to depend on host-pkg-config. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-29libiconv: add an error when both libiconv and locale are enabledThomas Petazzoni
This error should never show up if all Buildroot dependencies are correct. However, rather than failing horribly later on, catch this particular case early on and error out. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-29xerces: fix dependency on iconvThomas Petazzoni
All "select BR2_PACKAGE_LIBICONV" must use the "if !BR2_ENABLE_LOCALE" condition, otherwise we can end up with a toolchain suppoting locales *and* the libiconv package being compiled, which confuses other packages. Example with glib: gconvert.c:52:2: error: #error GNU libiconv in use but included iconv.h not from libiconv In addition to that, in xerces.mk, we add the dependency on libiconv when it is available, to make sure it gets compiled before xerces. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-29Fix computation of REAL_GNU_TARGET_NAMEThomas Petazzoni
The current computation of REAL_GNU_TARGET_NAME is incorrect for non-ARM glibc platforms because it generates something such as mipsel-unknown-linux- as the REAL_GNU_TARGET_NAME. So we correct this by : * Adding "gnu" in the suffix when glibc is used, so that in the previous case we will have mipsel-unknown-linux-gnu * Improving the ARM_EABI code to correctly append "eabi" when glibc is selected, so that we have arm-unknown-linux-gnueabi, and to append "gnueabi" when uclibc is selected, so that we have arm-unknown-linux-uclibcgnueabi. The little trick here is that LIBC and ABI aren't completely orthogonal on ARM. This fixes problems such as : checking host system type... Invalid configuration `mipsel-unknown-linux-': machine `mipsel-unknown-linux' not recognized Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-29oprofile: disable with external toolchainThomas Petazzoni
oprofile depends on binutils_target, but binutils_target fails to build with external toolchains because the binutils version has not been choosen. As the fix is not trivial, let's just disable oprofile in external toolchain builds for the moment. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-29netsnmp: depend on openssl when the package is on to ensure build orderGustavo Zacarias
The netsnmp package should depend on openssl when using it. Otherwise netsnmp might get built before openssl and poison the configure cache since it's not a mandatory dependency. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-28Merge branch 'deprecate-gtk-on-dfb' of ↵Peter Korsgaard
git://git.busybox.net/~tpetazzoni/git/buildroot
2010-07-28libgtk2: mark DirectFB backend as deprecatedThomas Petazzoni
libgtk2 on DirectFB is deprecated because it is no longer supported in recent versions of Gtk. We will remove support for Gtk over DirectFB in the next Buildroot version unless support for DirectFB in mainline Gtk is improved in the mean time. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-28Bump samba to 3.3.13 [CVE-2010-2063]Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
2010-07-28Remove unused X11_PREFIX optionThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-28Convert net-snmp to autotargetsGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
2010-07-27zlib: Bump to 1.2.5Paul Jones
Closes #1981 Signed-off-by: Paul Jones <paul@pauljones.id.au> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-27libglib2: bump to 2.24.1Lionel Landwerlin
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-27Merge branch 'various-bumps' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard
2010-07-27webkit: Fix build failure on uClibcThomas Petazzoni
uClibc does not define pthread_getattr_np(), so we need to workaround this using a patch. Fixes bug #1405. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27webkit: the X11 variant needs libXtThomas Petazzoni
Fixes bug #829. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27midori: make sure it can't be selected if webkit can't be enabledThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27xserver: Add xkeyboard-config as a dependencyThomas Petazzoni
xkeyboard-config is required to install keymap files to the target, without which the X server does not start. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27xserver: tell the X server where fonts are installedThomas Petazzoni
All fonts are installed in /usr/share/fonts/X11 and not in /usr/lib/X11/fonts/ where the X server looks by default. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27xkeyboard-config: add dependency on host-xapp_xkbcompThomas Petazzoni
In order to get xkeyboard-config to build, it needs xkbcomp to be built on the host, i.e host-xapp_xkbcomp. In turn, xapp_xkbcomp needs xlib_libX11 and xlib_libxkbfile, which in turn need a few libraries. This commit adds all the relevant dependencies to build everything that is needed to get xkeyboard-config to build correctly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27libsoup: bump version to 2.31.2Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27cairo: bump to 1.8.10Thomas Petazzoni
This commit bumps Cairo to 1.8.10 and updates the DirectFB support patch. The work has been done by Lionel Landwerlin <llandwerlin@gmail.com>. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27icu: add quotes around TARGET_CXXThomas Petazzoni
Now that TARGET_CXX contains a --sysroot= option and therefore spaces, it needs to be used with quotes. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27midori: bump to 0.2.6Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27webkit: bump to webkitgtk 1.2.3Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27package: add libgail packageLionel Landwerlin
This package include a patch for directfb support. This patch has been proposed for upstream integration (https://bugzilla.gnome.org/show_bug.cgi?id=614199). Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-07-27pango: bump to 1.28Lionel Landwerlin
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-07-27atk: bump to 1.30Lionel Landwerlin
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-07-27libglib2: bump to 2.24.0Lionel Landwerlin
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-07-27at: fix configure cache issue with flexPeter Korsgaard
Make sure flex is built before at if enabled, so it correctly detects it and doesn't populate tgt-config.cache with invalid values. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-27gnuchess: fix configure cache issue with readlinePeter Korsgaard
Make sure readline is built before gnuchess if enabled, so it correctly detects it and doesn't populate tgt-config.cache with invalid values. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-27diffutils: fix configure cache issue with BR2_NEEDS_GETTEXTPeter Korsgaard
Like flex, diffutils doesn't NEED gettext/libintl, but it's configure script checks for it, so make sure those a built before diffutils, otherwise it 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-27Deprecate pcmcia and microwin packagesThomas Petazzoni
It isn't worth the effort to convert these packages to the new package infrastructure since they are deprecated. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-27setserial: convert to autotargets and fix manpages installThomas Petazzoni
Close #2269 [Peter: fix Makefile patch to not strip wrong file, rename hayes patch] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-27tftpd: convert to autotargetsThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26ltrace: convert to gentargets and bump to 0.5.3Thomas Petazzoni
[Peter: remove unneeded 0.5 USE_DEMANGLE patch] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26Makefile: fix ldconfig selection for internal toolchainsPeter Korsgaard
Commit ed0d45fdd (Choose host/target ldconfig based on availability) added a runtime check for a cross-ldconfig being available. Unfortunately this checks runs too early (at package/Makefile.in parsing time), so it always fails when using an internal toolchain as ldconfig isn't built yet. Fix it by moving the check to the only place it is used (target-finalize). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26iw: bump to 0.9.20 and migrate to gentargetsGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26qt: fix alsa-lib dependencyLuca Ceresoli
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-26java: mark as brokenPeter Korsgaard
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-26flex: fix configure cache issue with BR2_NEEDS_GETTEXTPeter Korsgaard
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-26wireless_tools: Migrate to gentargets and fixesGustavo Zacarias
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-26swfdec: fix build when no libglib2-dev package is installed on hostPeter Korsgaard
Make sure it uses the libglib2-host binaries we are building. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26busybox: bump 1.17.x versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26diffutils: fix build with uClibc 0.9.31Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-25gmpc: fix typoPeter Korsgaard
Fixes build with libSM support. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-24xserver-xorg: disable SDL kdrive serverPeter Korsgaard
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-23kconfig: implement KCONFIG_PROBABILITY for rand{,package}configPeter Korsgaard
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>