buildroot.git
14 years agoBump samba to 3.3.13 [CVE-2010-2063]
Gustavo Zacarias [Wed, 21 Jul 2010 13:58:00 +0000 (10:58 -0300)]
Bump samba to 3.3.13 [CVE-2010-2063]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
14 years agoRemove unused X11_PREFIX option
Thomas Petazzoni [Tue, 27 Jul 2010 21:46:27 +0000 (23:46 +0200)]
Remove unused X11_PREFIX option

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoConvert net-snmp to autotargets
Gustavo Zacarias [Tue, 20 Jul 2010 18:30:07 +0000 (15:30 -0300)]
Convert net-snmp to autotargets

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
14 years agozlib: Bump to 1.2.5
Paul Jones [Mon, 7 Jun 2010 12:33:06 +0000 (22:33 +1000)]
zlib: Bump to 1.2.5

Closes #1981

Signed-off-by: Paul Jones <paul@pauljones.id.au>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoDeprecate the Alpha, IA64 and Sparc64 support
Thomas Petazzoni [Mon, 26 Jul 2010 16:15:11 +0000 (18:15 +0200)]
Deprecate the Alpha, IA64 and Sparc64 support

Those architectures don't exist anymore (Alpha, IA64) or aren't widely
used for embedded systems running Linux. Moreover, no clear Buildroot
maintainer has stepped in to maintain these architectures, so it's
better to not pretend that we support them.

The goal is to mark them as deprecated in 2010.08 and remove them in
2010.11.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolibglib2: bump to 2.24.1
Lionel Landwerlin [Tue, 27 Jul 2010 21:16:26 +0000 (23:16 +0200)]
libglib2: bump to 2.24.1

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'avr32-toolchain-fix' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Tue, 27 Jul 2010 21:06:16 +0000 (23:06 +0200)]
Merge branch 'avr32-toolchain-fix' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agoCHANGES: update with changes from various-bumps branch
Peter Korsgaard [Tue, 27 Jul 2010 21:01:29 +0000 (23:01 +0200)]
CHANGES: update with changes from various-bumps branch

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain: remove redundant and incorrect --with-build-time-tools option
Thomas Petazzoni [Thu, 22 Jul 2010 13:44:36 +0000 (15:44 +0200)]
toolchain: remove redundant and incorrect --with-build-time-tools option

This option is already part of the gcc configure options through the
BR2_CONFIGURE_BUILD_TOOLS variable (in toolchain/Makefile.in).

Additionnally, the value that was passed in the AVR32 specific case
was incorrect: it was $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin
instead of $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/bin.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agotoolchain: Remove now-unused variables
Thomas Petazzoni [Thu, 22 Jul 2010 13:43:37 +0000 (15:43 +0200)]
toolchain: Remove now-unused variables

The variable BR2_SYSROOT_STAGING_DESTDIR is no longer used, since now
the prefix for gcc is already set to the correct location.

The variable BR2_SYSROOT_TARGET_DESTDIR was already unused.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agobinutils,gcc: use correct --prefix
Thomas Petazzoni [Thu, 22 Jul 2010 13:42:27 +0000 (15:42 +0200)]
binutils,gcc: use correct --prefix

The cross binutils and cross gcc are actually going to be executed
from $(STAGING_DIR)/usr, so the correct prefix is $(STAGING_DIR)/usr
and not /usr.

This also fixes what is known as the "AVR32 toolchain build failure",
which was due to the fact that the prefix directory wasn't writable
(since it was /usr).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoMerge branch 'various-bumps' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Tue, 27 Jul 2010 20:52:19 +0000 (22:52 +0200)]
Merge branch 'various-bumps' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agoCreate <tuple>/lib -> <sysroot>/lib symlink before installing cross gcc
Thomas Petazzoni [Tue, 27 Jul 2010 14:25:15 +0000 (16:25 +0200)]
Create <tuple>/lib -> <sysroot>/lib symlink before installing cross gcc

This commit solves bug #1051. The problem in this bug in that WebKit
compiles a sample C program, which uses WebKit. As WebKit is written
in C++, even though the program it built with CROSS-gcc, it must be
linked with libstdc++. However, CROSS-gcc can't find the libstdc++ has
it's hidden inside <sysroot>/<tuple>/lib.

Therefore, this commit creates a symbolic link <sysroot>/<tuple>/lib
-> <sysroot>/lib before running the CROSS-gcc installation. While this
may look like a hack, this is the solution used by both Crosstool-NG
and OpenWRT.

Moreover, with this symbolic link in place, I think bug #1741 may also
be solved. The problem in this bug is that the linker tries to link
against /lib/libc.so.0. This is due to the fact that the linker finds
a libc.so script file in the original toolchain location and not
inside the copy of the toolchain sysroot in $(STAGING_DIR). As the
script file is found outside of the current toolchain sysroot, ld
considers the script has non-sysrooted, and therefore doesn't prefix
all paths found in the script file (such as /lib/libc.so.0) with the
sysroot path, leading to the failure.

So, in details, this commit :

 * Adds a BR2_ARCH_IS_64 invisible config knob that is used to know if
   the arch is a 64 bits architecture or not.

 * Creates the <sysroot>/<tuple>/lib -> <sysroot>/lib symbolic link,
   and the <sysroot>/<tuple>/lib64 -> <sysroot>/lib64 symbolic link if
   needed.

 * Fixes the external toolchain sysroot detection code so that the
   'sed' replacement is done *after* the readlink -f evaluation.

I have tested this by building ARM, x86 and x86_64 toolchains with
Buildroot, and then use these toolchains as external toolchains to
build a full X.org/Gtk/WebKit/Midori stack. I have also done a
complete ARM Buildroot internal toolchain build with the same full
X.org/Gtk/WebKit/Midori stack.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agowebkit: Fix build failure on uClibc
Thomas Petazzoni [Mon, 26 Jul 2010 13:21:09 +0000 (15:21 +0200)]
webkit: Fix build failure on uClibc

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>
14 years agowebkit: the X11 variant needs libXt
Thomas Petazzoni [Thu, 22 Jul 2010 15:03:28 +0000 (17:03 +0200)]
webkit: the X11 variant needs libXt

Fixes bug #829.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agomidori: make sure it can't be selected if webkit can't be enabled
Thomas Petazzoni [Thu, 22 Jul 2010 14:03:28 +0000 (16:03 +0200)]
midori: make sure it can't be selected if webkit can't be enabled

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoxserver: Add xkeyboard-config as a dependency
Thomas Petazzoni [Thu, 22 Jul 2010 14:22:32 +0000 (16:22 +0200)]
xserver: Add xkeyboard-config as a dependency

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>
14 years agoxserver: tell the X server where fonts are installed
Thomas Petazzoni [Thu, 22 Jul 2010 13:47:48 +0000 (15:47 +0200)]
xserver: tell the X server where fonts are installed

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>
14 years agoxkeyboard-config: add dependency on host-xapp_xkbcomp
Thomas Petazzoni [Thu, 22 Jul 2010 13:37:16 +0000 (15:37 +0200)]
xkeyboard-config: add dependency on host-xapp_xkbcomp

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>
14 years agolibsoup: bump version to 2.31.2
Thomas Petazzoni [Mon, 19 Jul 2010 09:53:41 +0000 (11:53 +0200)]
libsoup: bump version to 2.31.2

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agocairo: bump to 1.8.10
Thomas Petazzoni [Mon, 19 Jul 2010 08:45:45 +0000 (10:45 +0200)]
cairo: bump to 1.8.10

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>
14 years agoicu: add quotes around TARGET_CXX
Thomas Petazzoni [Mon, 19 Jul 2010 07:55:13 +0000 (09:55 +0200)]
icu: add quotes around TARGET_CXX

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>
14 years agomidori: bump to 0.2.6
Thomas Petazzoni [Mon, 19 Jul 2010 07:21:22 +0000 (09:21 +0200)]
midori: bump to 0.2.6

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agowebkit: bump to webkitgtk 1.2.3
Thomas Petazzoni [Mon, 19 Jul 2010 07:12:15 +0000 (09:12 +0200)]
webkit: bump to webkitgtk 1.2.3

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoMerge branch 'fix-gxx-on-target' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Tue, 27 Jul 2010 20:46:18 +0000 (22:46 +0200)]
Merge branch 'fix-gxx-on-target' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agoMerge branch 'fix-gcc-on-target' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Tue, 27 Jul 2010 20:43:04 +0000 (22:43 +0200)]
Merge branch 'fix-gcc-on-target' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agopackage: add libgail package
Lionel Landwerlin [Tue, 13 Apr 2010 23:06:08 +0000 (01:06 +0200)]
package: add libgail package

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>
14 years agopango: bump to 1.28
Lionel Landwerlin [Tue, 13 Apr 2010 23:06:13 +0000 (01:06 +0200)]
pango: bump to 1.28

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
14 years agoatk: bump to 1.30
Lionel Landwerlin [Tue, 13 Apr 2010 23:06:11 +0000 (01:06 +0200)]
atk: bump to 1.30

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
14 years agolibglib2: bump to 2.24.0
Lionel Landwerlin [Tue, 13 Apr 2010 23:06:10 +0000 (01:06 +0200)]
libglib2: bump to 2.24.0

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
14 years agotarget-g++: fix build
Thomas Petazzoni [Tue, 27 Jul 2010 20:32:02 +0000 (22:32 +0200)]
target-g++: fix build

Just as we did to fix target-gcc, pass CXX_FOR_TARGET when building
target g++, and remove useless copies of g++ and c++.

Tested on ARM by compiling a simple C++ program using <iostream> on
the target and running it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agotarget-gcc: remove useless copies of gcc
Thomas Petazzoni [Tue, 27 Jul 2010 16:21:44 +0000 (18:21 +0200)]
target-gcc: remove useless copies of gcc

When doing the "make install" of target, three identical copies of gcc
are installed in $(TARGET_DIR)/usr/bin:

  039adcc582c365f12ba6fc5f96098128  arm-unknown-linux-uclibcgnueabi-gcc
  039adcc582c365f12ba6fc5f96098128  arm-unknown-linux-uclibcgnueabi-gcc-4.3.5
  039adcc582c365f12ba6fc5f96098128  gcc

This patch removes the first two copies and keeps only the common "gcc" one.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agotarget-gcc: no need to strip binaries, remove .la files and doc
Thomas Petazzoni [Tue, 27 Jul 2010 16:20:15 +0000 (18:20 +0200)]
target-gcc: no need to strip binaries, remove .la files and doc

This is done in a global way by the target-finalize target of the main
Makefile.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agotarget-gcc: fix build
Thomas Petazzoni [Tue, 27 Jul 2010 16:17:26 +0000 (18:17 +0200)]
target-gcc: fix build

Now that $(STAGING_DIR)/usr/bin is no longer in the PATH, we need to
pass the absolute paths to $(TARGET_CC) when building the target gcc
compiler.

This commit fixes the target gcc build problem reported on the list. I
have successfully been able to build a target gcc for ARM, use it to
compile a hello world application on the target and run this
application.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agotarget-gcc: Get rid of TARGET_GCC_FLAGS
Thomas Petazzoni [Tue, 27 Jul 2010 16:16:59 +0000 (18:16 +0200)]
target-gcc: Get rid of TARGET_GCC_FLAGS

This variable is used only once, so let's just hardcode its value at
its call site.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoat: fix configure cache issue with flex
Peter Korsgaard [Tue, 27 Jul 2010 07:45:26 +0000 (09:45 +0200)]
at: fix configure cache issue with flex

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>
14 years agognuchess: fix configure cache issue with readline
Peter Korsgaard [Tue, 27 Jul 2010 07:25:39 +0000 (09:25 +0200)]
gnuchess: fix configure cache issue with readline

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>
14 years agodiffutils: fix configure cache issue with BR2_NEEDS_GETTEXT
Peter Korsgaard [Tue, 27 Jul 2010 07:19:45 +0000 (09:19 +0200)]
diffutils: fix configure cache issue with BR2_NEEDS_GETTEXT

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>
14 years agoCHANGES: fix typo
Peter Korsgaard [Tue, 27 Jul 2010 07:08:01 +0000 (09:08 +0200)]
CHANGES: fix typo

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoDeprecate pcmcia and microwin packages
Thomas Petazzoni [Sun, 25 Jul 2010 14:53:52 +0000 (16:53 +0200)]
Deprecate pcmcia and microwin packages

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>
14 years agosetserial: convert to autotargets and fix manpages install
Thomas Petazzoni [Sun, 25 Jul 2010 14:53:51 +0000 (16:53 +0200)]
setserial: convert to autotargets and fix manpages install

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>
14 years agotftpd: convert to autotargets
Thomas Petazzoni [Sun, 25 Jul 2010 14:53:50 +0000 (16:53 +0200)]
tftpd: convert to autotargets

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoltrace: convert to gentargets and bump to 0.5.3
Thomas Petazzoni [Sun, 25 Jul 2010 14:53:49 +0000 (16:53 +0200)]
ltrace: convert to gentargets and bump to 0.5.3

[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>
14 years agoMakefile: fix ldconfig selection for internal toolchains
Peter Korsgaard [Mon, 26 Jul 2010 21:53:37 +0000 (23:53 +0200)]
Makefile: fix ldconfig selection for internal toolchains

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>
14 years agoiw: bump to 0.9.20 and migrate to gentargets
Gustavo Zacarias [Mon, 26 Jul 2010 20:54:52 +0000 (22:54 +0200)]
iw: bump to 0.9.20 and migrate to gentargets

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoqt: fix alsa-lib dependency
Luca Ceresoli [Wed, 21 Jul 2010 21:20:59 +0000 (23:20 +0200)]
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>
14 years agoImprovements to the package conversion status script
Thomas Petazzoni [Mon, 26 Jul 2010 13:15:14 +0000 (15:15 +0200)]
Improvements to the package conversion status script

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agou-boot: fix custom patch dir handling
Ossy [Mon, 26 Jul 2010 20:45:48 +0000 (22:45 +0200)]
u-boot: fix custom patch dir handling

Signed-off-by: Ossy <ossy1980@gmx.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agojava: mark as broken
Peter Korsgaard [Mon, 26 Jul 2010 20:25:19 +0000 (22:25 +0200)]
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>
14 years agou-boot: add Marvell u-boot.kwb support
Peter Korsgaard [Mon, 26 Jul 2010 14:14:41 +0000 (16:14 +0200)]
u-boot: add Marvell u-boot.kwb support

Marvell boards like the sheevaplug needs a special .kwb image format,
so add an option for it similar to how we handle zImage/uImage/..
for the kernel.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoflex: fix configure cache issue with BR2_NEEDS_GETTEXT
Peter Korsgaard [Mon, 26 Jul 2010 13:04:59 +0000 (15:04 +0200)]
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>
14 years agowireless_tools: Migrate to gentargets and fixes
Gustavo Zacarias [Thu, 22 Jul 2010 15:04:50 +0000 (12:04 -0300)]
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>
14 years agoswfdec: fix build when no libglib2-dev package is installed on host
Peter Korsgaard [Mon, 26 Jul 2010 09:10:03 +0000 (11:10 +0200)]
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>
14 years agobusybox: bump 1.17.x version
Peter Korsgaard [Mon, 26 Jul 2010 08:03:42 +0000 (10:03 +0200)]
busybox: bump 1.17.x version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agodiffutils: fix build with uClibc 0.9.31
Peter Korsgaard [Mon, 26 Jul 2010 06:15:36 +0000 (08:15 +0200)]
diffutils: fix build with uClibc 0.9.31

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agogmpc: fix typo
Peter Korsgaard [Sun, 25 Jul 2010 20:17:08 +0000 (22:17 +0200)]
gmpc: fix typo

Fixes build with libSM support.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoxserver-xorg: disable SDL kdrive server
Peter Korsgaard [Sat, 24 Jul 2010 18:34:03 +0000 (20:34 +0200)]
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>
14 years agokconfig: implement KCONFIG_PROBABILITY for rand{,package}config
Peter Korsgaard [Fri, 23 Jul 2010 12:15:18 +0000 (14:15 +0200)]
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>
14 years agopackage: mark libglib12/libgtk12/dillo as deprecated
Peter Korsgaard [Thu, 22 Jul 2010 19:43:45 +0000 (21:43 +0200)]
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>
14 years agobusybox: fix cflags
Gustavo Zacarias [Thu, 22 Jul 2010 13:50:08 +0000 (10:50 -0300)]
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>
14 years agobusybox: additional 1.17.0 fixes
Peter Korsgaard [Thu, 22 Jul 2010 16:11:40 +0000 (18:11 +0200)]
busybox: additional 1.17.0 fixes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agogst-plugins-good: udp plugin needs ipv6 support
Peter Korsgaard [Thu, 22 Jul 2010 14:34:57 +0000 (16:34 +0200)]
gst-plugins-good: udp plugin needs ipv6 support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agokconfig: make rand{,package}config fair
Peter Korsgaard [Thu, 22 Jul 2010 12:16:42 +0000 (14:16 +0200)]
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>
14 years agophp: filter plugin depends on pcre
Peter Korsgaard [Thu, 22 Jul 2010 11:07:32 +0000 (13:07 +0200)]
php: filter plugin depends on pcre

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agowebif: needs busybox (httpd)
Peter Korsgaard [Thu, 22 Jul 2010 10:32:28 +0000 (12:32 +0200)]
webif: needs busybox (httpd)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agothttpd: fix build, don't override CFLAGS at make time
Peter Korsgaard [Thu, 22 Jul 2010 10:24:40 +0000 (12:24 +0200)]
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>
14 years agomplayer: add optional sdl/freetype support
Peter Korsgaard [Thu, 22 Jul 2010 10:49:17 +0000 (12:49 +0200)]
mplayer: add optional sdl/freetype support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agomplayer: fix build after efb1d8d3f40 (Cleanup TARGET_CONFIGURE_OPTS)
Peter Korsgaard [Thu, 22 Jul 2010 09:24:30 +0000 (11:24 +0200)]
mplayer: fix build after efb1d8d3f40 (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>
14 years agogst-plugins-base: ensure <stdint.h> is used
Peter Korsgaard [Thu, 22 Jul 2010 08:25:09 +0000 (10:25 +0200)]
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>
14 years agoxavante: needs largefile support (for luafilesystem)
Peter Korsgaard [Thu, 22 Jul 2010 07:36:52 +0000 (09:36 +0200)]
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>
14 years agocgilua: tweak Config.in
Peter Korsgaard [Thu, 22 Jul 2010 07:35:38 +0000 (09:35 +0200)]
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>
14 years agoluafilesystem: tweak Config.in
Peter Korsgaard [Thu, 22 Jul 2010 07:29:57 +0000 (09:29 +0200)]
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>
14 years agowsapi: needs largefile support (for luafilesystem)
Peter Korsgaard [Thu, 22 Jul 2010 07:28:07 +0000 (09:28 +0200)]
wsapi: needs largefile support (for luafilesystem)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoltrace: fix build without USE_DEMANGLE
Peter Korsgaard [Thu, 22 Jul 2010 07:23:53 +0000 (09:23 +0200)]
ltrace: fix build without USE_DEMANGLE

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolighttpd: fix build with pcre support
Peter Korsgaard [Thu, 22 Jul 2010 07:08:34 +0000 (09:08 +0200)]
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.

14 years agodash: fix build of native helpers
Peter Korsgaard [Wed, 21 Jul 2010 22:22:22 +0000 (00:22 +0200)]
dash: fix build of native helpers

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agophp: pdo mysql extension needs C++ support in toolchain
Peter Korsgaard [Wed, 21 Jul 2010 21:45:36 +0000 (23:45 +0200)]
php: pdo mysql extension needs C++ support in toolchain

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoalsamixergui: needs C++ support for fltk
Peter Korsgaard [Wed, 21 Jul 2010 19:06:13 +0000 (21:06 +0200)]
alsamixergui: needs C++ support for fltk

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoxserver: dri support is only for the modular server
Peter Korsgaard [Wed, 21 Jul 2010 07:53:51 +0000 (09:53 +0200)]
xserver: dri support is only for the modular server

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoxserver: libdrm is not needed for tinyx
Peter Korsgaard [Tue, 20 Jul 2010 21:29:42 +0000 (23:29 +0200)]
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>
14 years agolibdrm: needs LARGEFILE support
Peter Korsgaard [Tue, 20 Jul 2010 19:35:24 +0000 (21:35 +0200)]
libdrm: needs LARGEFILE support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoxserver: libpciaccess is not needed for tinyx
Peter Korsgaard [Tue, 20 Jul 2010 14:07:12 +0000 (16:07 +0200)]
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>
14 years agodialog: force linking with ncurses
Peter Korsgaard [Tue, 20 Jul 2010 11:04:15 +0000 (13:04 +0200)]
dialog: force linking with ncurses

Otherwise the build breaks with:
configure: error: no curses library found

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: #2251 resolved
Peter Korsgaard [Tue, 20 Jul 2010 07:19:55 +0000 (09:19 +0200)]
CHANGES: #2251 resolved

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agonetcat: fix logic for archs with unsigned chars
Nick Leverton [Tue, 20 Jul 2010 06:58:01 +0000 (08:58 +0200)]
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>
14 years agolinux: linux26-{menu,x,g}config needs host-sed
Peter Korsgaard [Tue, 20 Jul 2010 06:45:45 +0000 (08:45 +0200)]
linux: linux26-{menu,x,g}config needs host-sed

Similar to how it's done for uclibc-menuconfig.

Reported-by: Paul Jones <paul@pauljones.id.au>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoavahi: bump version
Peter Korsgaard [Mon, 19 Jul 2010 14:00:51 +0000 (16:00 +0200)]
avahi: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoFix default skeleton path
Malte Starostik [Mon, 19 Jul 2010 06:25:50 +0000 (08:25 +0200)]
Fix default skeleton path

Signed-off-by: Malte Starostik <m-starostik@versanet.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: #321 / #1393 are resolved
Peter Korsgaard [Mon, 19 Jul 2010 07:41:59 +0000 (09:41 +0200)]
CHANGES: #321 / #1393 are resolved

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoipsec-tools: replace sysv3 legacy functions with modern equivalents
Julien Boibessot [Tue, 13 Jul 2010 15:35:31 +0000 (17:35 +0200)]
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>
14 years agoflex: bump patch version
Julien Boibessot [Tue, 13 Jul 2010 12:11:59 +0000 (14:11 +0200)]
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>
14 years agoMerge branch 'other-build-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Sun, 18 Jul 2010 21:39:03 +0000 (23:39 +0200)]
Merge branch 'other-build-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agoalsa-lib: make sure to only look in STAGING_DIR for Python includes
Thomas Petazzoni [Sun, 18 Jul 2010 21:26:25 +0000 (23:26 +0200)]
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>
14 years agofs: add option to define path to custom rootfs skeleton
Dmytro Milinevskyy [Wed, 16 Jun 2010 20:25:56 +0000 (23:25 +0300)]
fs: add option to define path to custom rootfs skeleton

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>
14 years agomove default skeleton to fs/ and drop busybox skeleton
Dmytro Milinevskyy [Wed, 16 Jun 2010 20:22:40 +0000 (23:22 +0300)]
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>
14 years agoneon: explicit path to xml2-config
Thomas Petazzoni [Sun, 18 Jul 2010 19:38:35 +0000 (21:38 +0200)]
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>
14 years agoChoose host/target ldconfig based on availability
Malte Starostik [Sun, 18 Jul 2010 20:16:49 +0000 (22:16 +0200)]
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>
14 years agoMatch whole words when changing .config options
Malte Starostik [Sun, 18 Jul 2010 20:16:48 +0000 (22:16 +0200)]
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>
14 years agoCHANGES: #387 / #729 are resolved
Peter Korsgaard [Sun, 18 Jul 2010 20:35:57 +0000 (22:35 +0200)]
CHANGES: #387 / #729 are resolved

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoAtmel/atstk100*: make /etc/mtab a symlink to /proc/mounts
Peter Korsgaard [Sun, 18 Jul 2010 20:21:59 +0000 (22:21 +0200)]
Atmel/atstk100*: make /etc/mtab a symlink to /proc/mounts

Closes #2233

To match the other skeletons.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>