Commit Graph

9199 Commits

Author SHA1 Message Date
Thomas Petazzoni
c1b6242fdc package infrastructure: add LD_LIBRARY_PATH
During the compilation of target or host packages, host tools might be
used, and in turn, they might use host libraries installed in
$(HOST_DIR)/usr/lib. Therefore, we pass a LD_LIBRARY_PATH variable
when building packages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-23 20:33:26 +01:00
Thomas Petazzoni
abc1479ea7 xfont_font-util: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-23 20:08:18 +01:00
Thomas Petazzoni
a55cd51b85 zlib: enable compilation on the host
zlib is needed on the host, to build xlib_libfontenc on the host, to
build xapp_mkfontscale on the host, in order to finally build xfonts
encodings on the target.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-23 20:08:11 +01:00
Thomas Petazzoni
d65e627432 xlib_libfontenc: enable compilation on the host
xlib_libfontenc is required to build xapp_mkfontscale on the host,
which in turn is needed to build font encodings for the target.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-23 20:07:45 +01:00
Thomas Petazzoni
d61ed6f322 xfont_encoding: add mkfontscale on the host as dependency
mkfontscale on the host is needed to build xfont_encoding, therefore
we add host-xapp_mkfontscale as a dependency.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-23 20:07:43 +01:00
Thomas Petazzoni
1786b39f0b xapp_mkfontscale: enable compilation for the host and fix deps
mkfontscale on the host is required to build xfonts-encoding for the
target.

We also fix the dependencies. xlib_libX11 is not needed to compile
xapp_mkfontscale. However, xproto_xproto is needed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-23 20:07:38 +01:00
Will Wagner
dc88b05c33 linux-advanced: add 2.6.32.8
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-23 13:17:45 +01:00
Peter Korsgaard
43ffd946ad toolchain/uClibc: additional 0.9.30.2 patches
Everything on the 0_9_30 branch since the release (0.9.30.3 to be)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-22 22:05:41 +01:00
Thomas Petazzoni
e5d1244a74 libxcb: fix build with Buildroot compiled xsltproc
Make sure that libxcb depends on host-xsltproc, since xsltproc is
required for the compilation of libxcb.

Moreover, remove the XSLTPROC=/usr/bin/xsltproc variable definition,
which was assuming that XSLTPROC was installed on the host. xsltproc
should just be part of the PATH.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-20 19:31:05 +01:00
Thomas Petazzoni
73c937229b libxslt: enable compilation on host
Compiling libxcb (from the X.org stack) requires xsltproc on the host,
which is part of libxslt.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-20 19:31:04 +01:00
Thomas Petazzoni
e81149c543 libxml2: do not apply libtool patch when compiling for host
The libtool patch is not applied when building for the target because
it does not apply, so do not attempt to apply it when building for the
host. This fixes libxml2 build for the host.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-20 19:31:04 +01:00
Thomas Petazzoni
53f670ac06 ccache: remove cleanup of documentation
The cleanup of documentation is handled in a global way, in the main
Makefile.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-20 19:31:04 +01:00
Thomas Petazzoni
f03faaf3ab automake: add build dependency on host-autoconf
automake for the target fails to build if autoconf is not installed on
the host:

checking whether autoconf is installed... no
configure: error: Autoconf 2.58 or better is required.
    Please make sure it is installed and in your PATH.
make: *** [/home/test/brbuilttest/build/automake-1.10/.stamp_configured] Error 1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-20 19:31:03 +01:00
Peter Korsgaard
c8ff60c828 CHANGES: add ace_of_penguins, rubix and xboard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-19 11:30:54 +01:00
Thomas Petazzoni
5f30c29b93 xboard: remove package
This package requires Xaw3d, that has never been packaged in
Buildroot. As no-one seems to be using this package, it's probably not
worth the effort of packaging Xaw3d, a old-looking widget
toolkit. Therefore, just drop the package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-19 00:35:24 +01:00
Thomas Petazzoni
161afc1862 Fix build failure of rubix
Add a patch to use strstr() instead of index().

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-19 00:35:24 +01:00
Thomas Petazzoni
3df93063da Add libxpm as a dependency of ace_of_penguins
ace_of_penguins fails to build when xlib_libXpm is not selected. Add
it has a dependency. However, contrary to normal dependencies to
libraries (where we use 'select') we use 'depends on' here, otherwise
the X.org server will be get selected automatically without the user
noticing.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-19 00:35:24 +01:00
Peter Korsgaard
ac8329cff0 Merge branch 'misc-fixes3' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-02-18 22:02:03 +01:00
Thomas Petazzoni
1072cf190c alsa-utils: force the variant of ncurses library
Two variants of the ncurses library exist: the normal one, and the
ncursesw one, which has support for wide char. Currently, Buildroot
only builds the normal variant (the second variant requires
--enable-widec while compiling ncurses).

Unfortunately, when libncursesw is installed on the host, the
configure script of alsa-utils finds /usr/bin/ncursesw5-config and
thinks that the target has this version. Unfortunately, as this is not
the case, it causes a configure failure when trying to link a sample
program against libpanelw (which is part of ncurses).

Therefore, we force the libncurses variant used by alsa-utils to the
normal variant.

Later on, if needed, support for the wide-char variant of the
libncurses library could be added.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-18 19:08:41 +01:00
Peter Korsgaard
d6bcd43dd7 kernel-headers: bump 2.6.32.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-18 14:35:10 +01:00
Peter Korsgaard
68d2f4564e at91sam9260pf_defconfig: use standard download dir location
Based on patch by Roo <roo.watt@gmail.com>

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-18 11:57:37 +01:00
Julien Boibessot
909fb5be4b alsa-utils: alsamixer need libform, libmenu & libpanel (from ncurses)
Without this patch alsamixer complains about missing libs and
ldd says:
        libform.so.5 => not found
        libmenu.so.5 => not found
        libpanel.so.5 => not found
        libncurses.so.5 => /usr/lib/libncurses.so.5 (0x4000e000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0x40056000)
        ... <cut>

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-18 11:11:43 +01:00
Rob Alley
6c9d3873c0 at91boostrap makefile, correct typo in line continuation character.
The rule to copy the resulting binary file into the binary directory had
a typo in the line continuation character that results in a spurious error
message being produced.

Signed-off-by: Rob Alley <Rob.Alley@navmanwireless.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-17 12:03:56 +01:00
Peter Korsgaard
4da199db88 Merge branch 'uclibc-iconv-fix' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-02-17 11:26:55 +01:00
Julien Boibessot
0c6ef230f3 gstreamer-good: add speex dependancy
Otherwise, even if speex is selected, as gstreamer is compiled first,
speex plugin is not activated/built.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-17 11:26:09 +01:00
Peter Korsgaard
a6febebded CHANGES: add alsa-lib, rsync, tcl and xproto_trapproto
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-17 11:23:43 +01:00
Peter Korsgaard
4180d4a3bb Merge branch 'misc-fixes1' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-02-17 11:22:26 +01:00
Julien Boibessot
a3609f3539 Updates rsync source repository
rsync source repository has moved (?).
Bump version while we are at it.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-17 11:19:56 +01:00
Julien Boibessot
fb1c82ad88 get_linux_config.sh: sets THIS_MINOR to 0 if not valid.
Sets THIS_MINOR to 0 if not valid, ie when processing a Linux config file
which does not have a minor number extension;
ex: "<name>-linux-2.6.<major>.config"
Otherwise bash is raising an error/exception (line 59) and script can not
complete.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-17 11:18:17 +01:00
Peter Korsgaard
e777294fd6 Merge branch 'misc-fixes2' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-02-17 11:15:08 +01:00
Peter Korsgaard
23c8c8800a CHANGES: add argus/at/libpcap
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-17 11:10:23 +01:00
Thomas Petazzoni
94e172c8e7 Temporary fix for alsa-lib breakage with --disable-pcm
The current version of alsa-lib (1.0.22) does not build when
--disable-pcm is used at configure time. I've reported the issue at
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4913.

In the mean time, we can prevent the user from not selecting PCM
support by using the following patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-14 12:10:38 +01:00
Thomas Petazzoni
155667c237 Bump TCL version and switch to the autotools infrastructure
The version of TCL is bumped from 8.4.9 to 8.4.19, which fixes the
build breakage reported by Maxime Ripard <maxime.ripard@anandra.org>
on January, 6th, 2010.

The tcl-strtod patch is kept since it is still needed, the two other
patches are no longer useful.

At the same time, the package is converted to the autotools
infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-13 16:13:38 +01:00
Thomas Petazzoni
60ff66d807 Fix dependencies for TrapProto
The .pc file of TrapProto says that it depends on xt, even through it
doesn't depend on it at compile time. However, if xt isn't present
when TrapProto has been installed, the compilation of Xserver fails
telling that there is a missing dependency in TrapProto on Xt.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-13 16:13:37 +01:00
Thomas Petazzoni
61f677cb06 gtk-doc: add gtk-doc.m4 to satisfy aclocal
When packages using gtk-doc are autoreconfigured, aclocal complains
because it cannot find the macros defined in gtk-doc.m4. We could
compile the gtk-doc package for the host, but it depends on
gnome-doc-utils, which depends on libxml2, libxslt, and other packages
as well.

Since we don't care about the documentation, all is needed is in fact
the gtk-doc.m4, so that the configure script can be generated, and we
can use the --disable-gtk-doc to not generate the documentation.

To solve this, we include a gtk-doc.m4 file in package/automake/, and
it gets installed in $(STAGING_DIR)/usr/share/aclocal/ during the
installation of the host automake (used for autoreconfiguration of
packages).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-13 16:13:37 +01:00
Thomas Petazzoni
2bf5840e57 Add patch to fix uClibc build failure with locale enabled
This patch fixes the undefined reference to `__iconv_codesets'
reported at
http://www.mail-archive.com/uclibc@uclibc.org/msg04970.html. The patch
has been taken from the upstream Git repository, and will be part of
uClibc 0.9.30.3. In the mean time, let's integrate it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-13 12:25:52 +01:00
Thomas Petazzoni
93df31e404 at: fix compile breakage when flex isn't on the target
Add a patch that makes sure config.h gets included in a file that uses
some of the NEEDS_* macros. The yywrap() function was missing when
flex was not available on the target, even though this configuration
is supposed to be supported by at (and handled by NEEDS_YYWRAP).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-10 00:44:29 +01:00
Thomas Petazzoni
5f41cfe3cd argus: fix compile breakage
Add a patch that includes pcap.h instead of hardcoding an incorrect
prototype for a function provided by libpcap.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-10 00:43:46 +01:00
Thomas Petazzoni
a05c337de5 Create $(STAGING_DIR)/usr/bin unconditionnally
This fixes the build of libcap, with external toolchain, when it is
the first package being built.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-09 22:44:15 +01:00
Peter Korsgaard
f0bdacdb5b update for 2010.02-rc1
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-09 16:54:30 +01:00
Peter Korsgaard
23ddf460aa Makefile: release: use git archive
Create tarballs with git-archive so we're sure they don't contain
anything not in git (E.G. local backup configs).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-09 16:34:04 +01:00
Gustavo Zacarias
d5d48254dc Bump lighttpd to 1.4.26
Closes #1063.

lighttpd 1.4.26 fixes:

* Request parser handling for splitted header data
* FD leak in mod_cgi
* Segfault with broken configs in mod_rewrite/mod_redirect
* An OOM/DoS vulnerability (CVE-2010-0295)

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-09 16:23:52 +01:00
Peter Korsgaard
640c740378 package: remove broken asterisk package
Has been marked as broken for more than one year.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-09 12:21:37 +01:00
Julien Boibessot
14d065b5bd liboil: fix build on arm with softfloat
This patch, gotten from liboil git (recent commit), fixes the problem.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-09 12:09:16 +01:00
Peter Korsgaard
7a72f7b0d9 toolchain/gdb: remove external source toolchain leftover
Commit 65e99014 (Remove external source toolchain options) removed
external source-based toolchain support, but there was still a check
for it in gdb.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-09 11:48:17 +01:00
Yann E. MORIN
4b74321195 toolchain/gdb: get rid of another legacy and unused variable
BR2_VENDOR_GDB_VERSION and VENDOR_GDB_VERSION are no longer settable.
The only user is gdb, and it's totally useless in this case.

Signed-off-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-09 11:44:20 +01:00
Peter Korsgaard
1b4e71a139 nbd: convert to Makefile.autotools.in format
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-09 11:40:47 +01:00
Peter Korsgaard
5d4aeeda7e rdesktop: convert to Makefile.autotools.in format
And also adapt X depency. Rdesktop only needs libX11/Xt, and long term
we should be able to use the X stuff without having a X server on the
target.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-09 11:39:22 +01:00
Peter Korsgaard
5223447b8b package: remove openswan
As noticed back when it was marked as broken 1 year ago.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-08 17:26:16 +01:00
Yann E. MORIN
7dd0591183 toolchain/gdb: get rid of legacy & unused variables
The BR2_VENDOR_SUFFIX and VENDOR_SUFFIX variables are no longer settable.
The only user is gdb, and is totally useless in this case.

Signed-off-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-08 17:03:03 +01:00