Commit Graph

5275 Commits

Author SHA1 Message Date
Peter Korsgaard
833724e1b1 mpd: add option for ffmpeg support
For all the special file formats supported by ffmpeg.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-19 20:42:02 +01:00
Peter Korsgaard
a1c787ea6a olsr: fix build
Pass TARGET_CONFIGURE_OPTS in the environment rather than as make arguments,
so the olsr build system can append to CFLAGS / LDFLAGS - Otherwise build
fails when the wrong linker flags are used to create the plugin .so's.

Also pass ARCH, so the olsr build system choses the right libdir / PIC
settings for the target, rather than for the host.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-18 14:17:34 +01:00
Peter Korsgaard
f357e10335 taglib: fix build
The old libtool version gets confused about rpath, which breaks the build.
FIx it by up upgrading to 1.5.22 (package is not compatible with libtool
2.x, so we cannot just autoreconf).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-18 12:30:00 +01:00
Peter Korsgaard
022d206263 package/multimedia: remove vlc
It has been marked as broken for close to 1 year (aa3439e6a3), without
any effort to fix it, so remove it from the tree.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-17 14:16:13 +01:00
Peter Korsgaard
fc41ee90f4 package/games: remove ace_of_penguins
It has been marked as broken for close to 1 year (7452b4edfa), without
any effort to fix it, so remove it from the tree.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-17 14:13:34 +01:00
Peter Korsgaard
0be744e495 package: apply libtool patch where possible
Now that we have libtool-2.2.x patch support, we can get rid of a bunch
of _LIBTOOL_PATH = NO, fixing (potential) cross link issues.

Notice: php not changed, as it uses a very old 1.5 version for the
embedded sqlite, where our buildroot-libtool-v1.5.patch doesn't apply.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-17 14:02:52 +01:00
Peter Korsgaard
68f166074b package/x11r7: apply libtool patch where possible
Now that we have libtool-2.2.x patch support, we can get rid of a bunch
of _LIBTOOL_PATH = NO, fixing (potential) cross link issues.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-17 13:56:10 +01:00
Peter Korsgaard
e6cdced399 package/multimedia: apply libtool patch where possible
Now that we have libtool-2.2.x patch support, we can get rid of a bunch
of _LIBTOOL_PATH = NO, fixing (potential) cross link issues.

Notice: libmad/libid3tag/madplay/taglib not changed, as they use a very
old 1.5 version, where our buildroot-libtool-v1.5.patch doesn't apply.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-17 13:52:47 +01:00
Gustavo Zacarias
c1bb097999 openssh: security bump to version 5.8p1
http://www.openssh.com/txt/legacy-cert.adv
CVE-2011-0539

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-14 22:22:05 +01:00
Nate Ford
e0efb0d334 package: add xmlstarlet package
[Peter: don't link statically, only depend on iconv if !BR_ENABLE_LOCALE]
Signed-off-by: Nate Ford <nford@westpond.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-11 10:26:24 +01:00
Peter Korsgaard
7beeb2f820 libcue: fix build on uClibc with locale support enabled
Caused by a name clash between cue_scanner.c and stdio.h.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-11 10:17:34 +01:00
Peter Korsgaard
e9a7bf38b3 imagemagick: bump version
The 6.6.7-4 version is no longer available upstream.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-11 09:21:07 +01:00
Fabien Marteau
b18d0e9d32 mysql_client : Add /usr/lib/mysql directory in ld.so.conf file
Add /usr/lib/mysql directory in ld.so.conf file

Signed-off-by: Fabien Marteau <fabien.marteau@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10 22:59:48 +01:00
Gustavo Zacarias
a74b4044b0 mpd: new features
* Add libcue support (.cue file parsing)
* Add lame support (mp3 encoding)
* Fix slight typo in Config.in wrt LIBCUEFILE

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10 22:47:19 +01:00
Gustavo Zacarias
b92f5b7307 lame: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10 22:41:13 +01:00
Gustavo Zacarias
1b9f3db859 libcue: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10 22:38:08 +01:00
Bjørn Forsman
d60a445996 mplayer: bump version to fix build error
Bump mplayer to the first version that fixes this issue:

file.c:23:5: warning: "HAVE_MMAP" is not defined
file.c:25:7: warning: "HAVE_MAPVIEWOFFILE" is not defined
file.c:77:5: warning: "HAVE_MMAP" is not defined
file.c:87:7: warning: "HAVE_MAPVIEWOFFILE" is not defined
file.c:124:5: warning: "HAVE_MMAP" is not defined
file.c:126:7: warning: "HAVE_MAPVIEWOFFILE" is not defined
file.c: In function 'av_file_map':
file.c:50: error: 'HAVE_MMAP' undeclared (first use in this function)
file.c:50: error: (Each undeclared identifier is reported only once
file.c:50: error: for each function it appears in.)
make[2]: *** [file.o] Error 1

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10 20:15:53 +01:00
Gustavo Zacarias
85a9a4d01e busybox 1.18.3: add wget and build system patches
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10 20:14:33 +01:00
Gustavo Zacarias
e5f6f55e12 qt: make QT_QMAKE variable point to HOST_DIR now
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-09 23:01:44 +01:00
Gustavo Zacarias
27680c7ad9 links: bump to version 2.3pre1
* Switch to links 2.3pre1.
* Enable graphics mode via directfb.

TODO: Support X11 mode, maybe linuxfb (requires gpm).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-09 22:59:53 +01:00
Gustavo Zacarias
b5b60cf5c1 directfb: fixup directfb-config for correctness
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-09 22:51:30 +01:00
Gustavo Zacarias
68bb70ce5a openssl: security bump to 1.0.0d
CVE-2011-0014
http://www.openssl.org/news/secadv_20110208.txt

OCSP stapling vulnerability in OpenSSL

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-09 22:50:49 +01:00
Gustavo Zacarias
0b482314f8 mpd: fix mpd.conf installation check
If target /etc/mpd.conf exists the evaluation will be fail thus breaking
the build process. Fix it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-09 22:50:25 +01:00
Gustavo Zacarias
0b69f7438a mpd: fix libao support
libao output must be explicitly enabled, so fix it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-09 22:49:34 +01:00
Gustavo Zacarias
2d7064b207 squid: bump to version 3.1.11
Many small fixes, see
http://www.squid-cache.org/Versions/v3/3.1/changesets/SQUID_3_1_11.html

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-09 22:48:56 +01:00
Gustavo Zacarias
4b5b0a65a4 sqlite: bump to version 3.7.5
See http://www.sqlite.org/releaselog/3_7_5.html

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-09 22:48:31 +01:00
Gustavo Zacarias
aaf7dea140 iw: bump to version 0.9.22
New antenna configuration and wds peer commands.
New mesh functionality.
Misc fixes.

See http://www.spinics.net/lists/linux-wireless/msg64061.html

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-09 22:48:01 +01:00
Gustavo Zacarias
a5f97bb41c busybox: bump to version 1.18.3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-09 22:43:25 +01:00
Gustavo Zacarias
8d3e6abc6b e2fsprogs: bump to 1.41.14 and fixup
Bump e2fsprogs to version 1.41.14

Also export libblkid properly for util-linux to use.

[Peter: install pkg-config files]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-09 22:40:44 +01:00
Martin Hicks
43987641d3 microperl compile fix with ccache enabled
Just a simple quote problem with $(HOSTCC)

Signed-off-by: Martin Hicks <mort@bork.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-08 22:23:58 +01:00
Thomas Petazzoni
8c1e029a3d Add support for DirectFB EP9x driver
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-08 15:44:22 +01:00
Thomas Petazzoni
7a0d6b4730 cmake: add patch to fix FindQt4 issue
The FindQt4 module of CMake insists on having uic, even if the QtGui
module isn't part of the requirements to build the program. This isn't
correct, as Qt doesn't build/install the uic program when QtGui is
disabled (uic is used to generate some UI code).

This has been fixed upstream in
http://cmake.org/gitweb?p=cmake.git;a=commit;h=43cb9b8276a70d153d56a69d5c61daaf2bc51b78. This
commit will be part of the upcoming 2.8.4 CMake release, but in the
mean time, let's include it in Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-08 15:43:02 +01:00
Thomas Petazzoni
33eac4b511 cmake: bump to 2.8.3
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-08 15:43:00 +01:00
Peter Korsgaard
1c25119a93 socat: convert to AUTOTARGETS
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-07 20:28:34 +01:00
Thomas Petazzoni
ca290e7e28 qt: move host programs and specs in HOST_DIR
The Qt build system installs all host programs (uic, rcc, moc, qmake,
etc.) in the same base directory as the headers and libraries, but
that's not great for Buildroot.

So we now move the host programs and the mkspecs files to the
$(HOST_DIR), and create a qt.conf, which tells qmake where everything
is located.

Tested with Qmake and Cmake as build system for a simple Qt
application.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-07 18:22:25 +01:00
Felipe Contreras
0c19765ba4 Add gst-omapfb package
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-07 17:24:47 +01:00
Felipe Contreras
c7bffc1d32 Add dsp-tools package
[Peter: add tidsp-binaries dependency, cleanup]
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-07 17:22:30 +01:00
Felipe Contreras
6854cb49f8 Add gst-dsp package
[Peter: add tidsp-binaries to _DEPENDENCIES]
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-07 16:36:29 +01:00
Felipe Contreras
3b35cb0722 Add tidsp-binaries package
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-07 16:30:40 +01:00
Thomas Petazzoni
c761eafb02 openssl: pass LDFLAGS to fix incorrect link
We already pass the LD variable to openssl in order to use gcc as the
driver for the link process, instead of directly using the ld
linker. However, we were not passing LDFLAGS so that the compiler
flags are passed, which means that with multilib toolchains, the
incorrect library variant could be used at link time, leading to
invalid binaries (partly ARMv4, partly ARMv5) or broken compilation
(when the build took place in soft-float, but the link stage takes
place against hard-float libraries).

This fixes a problem reported on IRC by amo-ej1 when compiling ssh on
PowerPC e500v2 with a CodeSourcery toolchain ("crtbegin.o uses hard
float, sshd uses soft float").

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-07 14:34:28 +01:00
Peter Korsgaard
9f31e2ffa0 busybox: 1.18.2 fixes for ping, tar and udhcp
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-06 21:48:53 +01:00
Peter Korsgaard
d7c595749d gst-ffmpeg: needs liboil
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-04 22:26:55 +01:00
Felipe Contreras
7120391443 gstreamer: update to the latest gstreamer +plugins packages
liboil is not needed not used any more. orc _can_ be used instead, but
it's not needed.

[Peter: get rid of liboil selects]
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-04 22:26:09 +01:00
Peter Korsgaard
d0352edeea ntp: only install init script if ntpd is enabled
Further more:
- Rename to S49ntp to match other packages
- Fix start target to run ntpd, and only try ntpdate if available

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-04 20:00:35 +01:00
Gustavo Zacarias
14a971ab6c ntp: add ntpdate option
Closes #2935

Add ntpdate option and make ntpd optional.

Based on incomplete patch by Frederik Pasch <fpasch@googlemail.com>

Also enable crypto when openssl is enabled.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-04 19:57:12 +01:00
Peter Korsgaard
3fa18d27d3 busybox: add 1.18.2 libbb fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-04 19:49:50 +01:00
Gustavo Zacarias
9384f00cce busybox: add 1.18.2 modprobe fix
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-04 19:49:33 +01:00
Mark Wickham
c18c1d667a python: fix modules_lib_dirs typo in patch-2.7-005-stagng-headers-libs.patch
Closes #3169

Typo in modules_lib_dirs section of patch specified modules_include_dirs
instead of modules_lib_dirs.  This matters if PYTHON_MODULES_LIB
is not passed into the script.

Signed-off-by: Mark Wickham <markw@digi.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-04 19:46:45 +01:00
Peter Korsgaard
694301dc5a sawman: bump version
Old version no longer builds after directfb bump.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-03 22:51:43 +01:00
Peter Korsgaard
3cc0e5f85a bzip2: don't hide on !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
Quite a lot of packages select bzip2 (for its libbz2 library), so don't
hide it even though busybox DOES have a bzip2 applet - Otherwise
kconfig complains.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-03 20:44:45 +01:00
Gustavo Zacarias
fe34e2e06d cdrkit: drop host-cmake dependencies
Now that it's been converted to cmaketargets it doesn't need the
host-cmake dependencies since this are fulfilled in the infrastructure.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02 23:00:35 +01:00
Gustavo Zacarias
b47a4d1073 libpng: bump to version 1.4.5
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02 22:59:44 +01:00
Gustavo Zacarias
126a2e75f5 dnsmasq: idn support requires wchar
IDN support requires wchar, otherwise libintl will fail to build.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02 22:29:03 +01:00
Gustavo Zacarias
cbe7186c85 libidn: bump to version 1.19
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02 22:26:38 +01:00
Gustavo Zacarias
64d999b022 libart: bump to version 2.3.21
Bump libart to version 2.3.21 and update patch accordingly.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02 22:24:04 +01:00
Gustavo Zacarias
7b9defe7f0 imagemagick: bump to version 6.6.7-4
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02 22:23:25 +01:00
Gustavo Zacarias
d1defbf397 directfb: bump to version 1.4.11
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02 22:22:05 +01:00
Peter Korsgaard
a72ab0542f package/config: rebase against 2.6.38-rc3
Fixes nconfig crash on comments within choice groups.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02 15:54:50 +01:00
Peter Korsgaard
a538d4057e package/config: rebase against 2.6.37
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02 15:54:50 +01:00
Peter Korsgaard
72daa122b6 package/config: rebase against 2.6.37-rc1
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02 15:54:50 +01:00
Peter Korsgaard
359a922659 package/config: Rebase against Linux 2.6.36
No significant changes, but makes it easier to rebase against newer
versions.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02 15:54:33 +01:00
Peter Korsgaard
b823c04d08 ruby: don't build documentation when building for host either
We don't use it, so it only slows down the build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-01 20:14:00 +01:00
Peter Korsgaard
99f33db291 package/dhcp: Fix config name
ISC dhcp is no longer the only way of handling DHCP, so use a less generic
config text.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-01 14:30:32 +01:00
Peter Korsgaard
6bfe29326d dhcp: fix install -D invocation in target-install
Closes #3181

When install -D is used (to ensure destination dirs exists), the destination
file name has to be given as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-01 14:25:05 +01:00
Gustavo Zacarias
2e77770e61 fbset: ensure it builds after busybox if both are enabled
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-31 20:45:14 +01:00
Peter Korsgaard
343eb8b583 package: add libhid
Based on patch by Johan Sagaert, but with some additional tweaks.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-31 20:23:42 +01:00
Peter Korsgaard
7e7a8dc85e libusb-compat: fixup libusb-config script similarly to other *-config scripts
So programs using this don't end up looking for host includes / libraries.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-31 20:02:36 +01:00
Peter Korsgaard
5bc9f45dfb x11vnc: needs libXt
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-31 15:07:01 +01:00
Peter Korsgaard
a52509a4dd xfont_font-util: remove mapfiles workaround
Not needed (in fact breaks the build) now pkg-config --variable= does the
right thing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-30 21:08:10 +01:00
Peter Korsgaard
02d605cd55 pkg-config: rework --with-sysroot patch so it doesn't break target build
We don't currently autoreconf pkg-config for the target as we don't need
--with-sysroot support, which means PKG_CONFIG_SYSROOT=NULL wasn't
passed, breaking the build.

Fix it by reworking the patch to only pass this if --with-sysroot is given,
and handle the not set case in main.c.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-30 11:05:50 +01:00
Peter Korsgaard
be89b85176 dnsmasq: remove dbus cflags mangling
Get rid of cflags workaround now that we always use sysroot, and
pkg-config --cflags dbus-1 thus returns the correct value.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-30 10:40:17 +01:00
Peter Korsgaard
5568c8b632 iproute2: fix build on configs without ipv6 support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-30 01:37:24 +01:00
Gustavo Zacarias
34c56e014f ntp: bump to version 4.2.6p3 and fix glibc build failure
Bump to version 4.2.6p3 and fix a build failure with external toolchains
that use certain glibc versions as point out by speakman on IRC.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Daniel Nyström <daniel.nystrom@timeterminal.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-30 00:40:13 +01:00
Gustavo Zacarias
950a63a753 libcuefile: convert to cmaketargets infrastructure
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-30 00:38:58 +01:00
Peter Korsgaard
50bda85e88 pkg-config: add --with-sysroot option for compiled in default sysroot setting
Similar to the --with-pc-path option. It works just like the existing
PKG_CONFIG_SYSROOT_DIR environment variable, but compiled in.
The environment variable overrides this default setting if set.

This way we don't need to pass PKG_CONFIG_SYSROOT_DIR in the environment
when building for the target, and it is easier to reuse pkg-config outside
BR (E.G. for the SDK) without having to setup special environment
variables.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-30 00:37:53 +01:00
Peter Korsgaard
b4df2ea27f pkg-config: prefix sysroot to path variables
Fixes gst-plugins-bad build, if gstreamer is installed on host with xml
support, as it uses pkg-config --variable=includedir to find gstconfig.h,
and hence ends up looking at the host version.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-29 23:03:16 +01:00
Peter Korsgaard
d5da84fda9 pkg-config: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-29 22:06:28 +01:00
Peter Korsgaard
50c93ed9b3 mtd: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-29 20:20:14 +01:00
Peter Korsgaard
9f199bce78 iproute2: ensure it gets built after busybox if both enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-28 15:46:50 +01:00
Peter Korsgaard
51c5af67a6 dbus-python: fix build after python upgrade
Point it at host-python, and ensure it gets built in advance.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-28 09:17:52 +01:00
Peter Korsgaard
3e1fd70150 libxcb: use correct python variable
Directory is /usr/lib/python$(PYTHON_VERSION_MAJOR).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-28 09:16:09 +01:00
Peter Korsgaard
5f19df9224 libxcb: use host-python and fix dependencies
Now that we have a proper host-python package, use that one instead of
whatever might be available on the build host. Also don't overwrite
the host-python package version variable and fix dependency list
(xcb-proto is needed for the host).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-27 23:38:48 +01:00
Peter Korsgaard
5a7192b253 host-python: enable expat support
Some packages (like libxcb) need xml support in host-python in order to
build (.py file tries to import xml.etree.cElementTree).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-27 23:37:22 +01:00
Peter Korsgaard
f13d97e106 xcb-proto: needs python for the host
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-27 23:34:39 +01:00
Bjørn Forsman
12d2ea9ae7 cdrkit: convert to CMAKETARGETS infrastructure
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>
2011-01-26 23:22:32 +01:00
Bjørn Forsman
bc1acec143 Add CMAKETARGETS infrastructure for CMake packages
The CMAKETARGETS infrastructure makes adding CMake-based packages to
Buildroot easy. It uses the same set of variables as the autotools
infrastructure, except for autoreconf and libtool stuff which is not
needed. Usage: just call CMAKETARGETS instead of AUTOTARGETS.

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>
2011-01-26 23:22:32 +01:00
Bjørn Forsman
73144a6e02 Makefile: generate CMake toolchain-file in $(O)
A CMake toolchain-file makes it easy to develop CMake-based packages
outside of Buildroot. Just give the toolchain-file to CMake via the
-DCMAKE_TOOLCHAIN_FILE=... option.

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>
2011-01-26 23:22:32 +01:00
Peter Korsgaard
0fa46e59db lzo: build shared library for host and target
Based on patch by Michael J. Hammel.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26 17:51:33 +01:00
Thomas Petazzoni
7197089540 zlib: disable call to ldconfig
By default, zlib installation procedure calls ldconfig, which takes
time uselessly. ldconfig is only useful if you install libraries on
the host (in directories listed in /etc/ld.so.conf, or in /usr/lib or
/lib), so calling it after installing libraries in $(STAGING_DIR),
$(TARGET_DIR) or $(HOST_DIR) is just a lenghty no-op.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26 16:46:49 +01:00
Peter Korsgaard
ed3ac88635 autoconf: don't append -dirty to version number if built in buildroot git tree
Autoconf would append -dirty to it's version number, causing build breakage
with packages explicitly requesting autoconf 2.65, if built in a subdir
of a git tree with uncommitted changes. This is a relatively common
situation when developing on BR.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26 14:57:00 +01:00
Peter Korsgaard
d97db71d10 Use 'sysroot' rather than 'sys-root' for the sysroot/staging_dir
As pointed out on the list, using sysroot rather than sys-root is less
confusing, as this is how it is referred to in the GCC manual.

So rather than changing BR, patch ct-ng to use sysroot instead.
The next ct-ng release will use 'sysroot' as well by default.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26 14:49:00 +01:00
Peter Korsgaard
2c3e18cdd8 package: fix python upgrade fallout
A number of packages depended on the libpython make target for python
support, which no longer exist.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26 11:18:50 +01:00
Peter Korsgaard
31a1995ac3 sysvinint: bump Debian patch
-13 patch no longer available on the Debian mirrors.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26 11:16:46 +01:00
Peter Korsgaard
eb52900f27 lvm2: use official release location as arranged with upstream
See http://www.redhat.com/archives/lvm-devel/2011-January/msg00002.html
for details.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26 11:08:34 +01:00
Heiko Zuerker
4d19654ee1 lvm2: bump version to 2.02.79 (.78 was pulled by Redhat)
Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26 11:05:42 +01:00
Peter Korsgaard
0eef30440e Merge branch 'for-2011.02/python-bump' of git://git.busybox.net/~tpetazzoni/git/buildroot 2011-01-25 16:24:46 +01:00
Thomas Petazzoni
4c6a451ac9 tcpdump, libpcap: simplify and fix ac_cv_linux_vers
For some reason, tcpdump and libpcap need to have some information
about the kernel version being used. This information is passed using
the ac_cv_linux_vers autoconf variable.

However, the current value is determined using
BR2_DEFAULT_KERNEL_HEADERS which is only defined when an internal
Buildroot toolchain is used. So it would break with an external
toolchain or the Crosstool-NG backend.

According to Mike Frysinger at
http://lists.busybox.net/pipermail/buildroot/2011-January/040861.html,
this value is only used to determine if the kernel version is 0.x, 1.x
or 2.x, so passing ac_cv_linux_vers=2 is sufficient since Buildroot
only supports the 2.6 kernel anyway.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-25 16:23:22 +01:00
Peter Korsgaard
58d107ec3f crosstool-ng: install toolchain into HOST_DIR like the internal toolchain
Simplifies code and helps us when we add SDK support in the future.
With this we no longer need to copy headers/libraries to STAGING_DIR either.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-25 16:08:50 +01:00
Peter Korsgaard
f826046578 package/Makefile.in: Fix LIBC calculation for internal ct-ng toolchains
Use uclibc for internal ct-ng toolchains configured with uClibc as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-25 16:01:25 +01:00
Peter Korsgaard
8f61b236c9 Use sys-root rather than sysroot for the sysroot/staging_dir
The name of the sysroot directory is arbitrary, but as ct-ng uses sys-root,
let's use that as well for consistency.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-25 15:58:04 +01:00