buildroot.git
13 years agowhich: style cleanup
Gustavo Zacarias [Sat, 15 Oct 2011 03:07:17 +0000 (00:07 -0300)]
which: style cleanup

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoradvd: security bump to version 1.8.2
Gustavo Zacarias [Sat, 15 Oct 2011 03:07:16 +0000 (00:07 -0300)]
radvd: security bump to version 1.8.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoquagga: security bump to version 0.99.20
Gustavo Zacarias [Sat, 15 Oct 2011 03:07:15 +0000 (00:07 -0300)]
quagga: security bump to version 0.99.20

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodependencies: additional check for PERL_MM_OPT
Thomas Petazzoni [Fri, 14 Oct 2011 07:50:02 +0000 (09:50 +0200)]
dependencies: additional check for PERL_MM_OPT

When the user has Perl local::lib installed, its environment contains
a PERL_MM_OPT variables which defines
INSTALL_BASE="/some/location". Unfortunately, having this makes the
build of libxml-parser-perl (and probably other Perl related packages)
fail, because it complains that both PREFIX (passed in our .mk file)
and INSTALL_BASE (passed from the PERL_MM_OPT environment variable)
are defined. Since in Buildroot we want our PREFIX to be considered,
we error out when the user has PERL_MM_OPT defined.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoradvd: show it in config menu when toolchain lacks ipv6
Gustavo Zacarias [Tue, 11 Oct 2011 14:02:55 +0000 (11:02 -0300)]
radvd: show it in config menu when toolchain lacks ipv6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoportmap: use common syntax for RPC support needed comment
Gustavo Zacarias [Tue, 11 Oct 2011 14:02:54 +0000 (11:02 -0300)]
portmap: use common syntax for RPC support needed comment

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocvs: show it in config menu when toolchain lacks wchar
Gustavo Zacarias [Tue, 11 Oct 2011 14:02:56 +0000 (11:02 -0300)]
cvs: show it in config menu when toolchain lacks wchar

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosed: show it in config menu when toolchain lacks wchar
Gustavo Zacarias [Tue, 11 Oct 2011 14:02:53 +0000 (11:02 -0300)]
sed: show it in config menu when toolchain lacks wchar

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogawk: show it in config menu when toolchain lacks wchar
Gustavo Zacarias [Tue, 11 Oct 2011 14:02:52 +0000 (11:02 -0300)]
gawk: show it in config menu when toolchain lacks wchar

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoneon: additional white space fix
Peter Korsgaard [Tue, 11 Oct 2011 11:52:10 +0000 (13:52 +0200)]
neon: additional white space fix

Missed from 66e09abc57 (neon: cleanup).

Thanks to Michael S. Zick for noticing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agorpm: only show xz dependency comment if enabled
Peter Korsgaard [Tue, 11 Oct 2011 07:52:17 +0000 (09:52 +0200)]
rpm: only show xz dependency comment if enabled

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoneon: default to xml support if dependencies are available
Peter Korsgaard [Tue, 11 Oct 2011 07:54:17 +0000 (09:54 +0200)]
neon: default to xml support if dependencies are available

Use expat support if expat package is enabled, libxml2 if enabled and
otherwise noxml.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoneon: cleanup
Peter Korsgaard [Tue, 11 Oct 2011 07:23:25 +0000 (09:23 +0200)]
neon: cleanup

Whitespace fixes / removal of redundant lines. No functional change.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoneon: bump version
Peter Korsgaard [Tue, 11 Oct 2011 07:11:21 +0000 (09:11 +0200)]
neon: bump version

Closes #4321

Old neon version wasn't compatible with our openssl version, so bump
the version. This also fixes some security related bugs.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: speed up sysroot lib copying
Mike Frysinger [Sun, 9 Oct 2011 17:44:32 +0000 (19:44 +0200)]
toolchain: speed up sysroot lib copying

The copy_toolchain_lib_root helper searches the entire sysroot, but is
only interested in files in certain subdirs.  So rather than waste time
in walking the entire tree, walk the few subdirs at the depth level we
are actually going to be poaching files from.

Some simplification suggested by Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> and Arnout Vandecappelle
<arnout@mind.be>, added by Thomas Petazzoni
<thomas.petazzoni@free-electrons.com>.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoexternal-toolchain: Slightly optimize toolchain extraction
Thomas Petazzoni [Sun, 9 Oct 2011 17:44:31 +0000 (19:44 +0200)]
external-toolchain: Slightly optimize toolchain extraction

Some CodeSourcery toolchains contain a huge number of locales that are
not useful, even though they account for 70-80% of the total toolchain
size. By skipping the extraction of those useless locales, we make the
toolchain extraction process slightly faster, and also make the output
directory size a lot smaller (host/opt/ is 213 MB instead of 1.5 GB
with a 2010.09 ARM CodeSourcery toolchain).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobarebox: add 2011.10, mark 2011.08 as deprecated
Peter Korsgaard [Mon, 10 Oct 2011 05:20:29 +0000 (07:20 +0200)]
barebox: add 2011.10, mark 2011.08 as deprecated

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolrzsz: fix repeated target install
Peter Korsgaard [Sun, 9 Oct 2011 22:14:27 +0000 (00:14 +0200)]
lrzsz: fix repeated target install

Closes #4165

Use ln -sf in case destination already exists from an earlier install,
and use install -D rather than cp while we're at it.

Based on patch by Hector Oron <hector.oron@gmail.com>

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomakedevs: remove compiler warning about used-but-set
Peter Korsgaard [Sun, 9 Oct 2011 21:26:39 +0000 (23:26 +0200)]
makedevs: remove compiler warning about used-but-set

Closes #4171

Based on patch by Hector Oron <hector.oron@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: update with recent changes
Peter Korsgaard [Sun, 9 Oct 2011 20:41:42 +0000 (22:41 +0200)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoopenocd: libusb patch: append rather than override LDFLAGS
Peter Korsgaard [Sun, 9 Oct 2011 20:02:51 +0000 (22:02 +0200)]
openocd: libusb patch: append rather than override LDFLAGS

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoext-toolchain: Take into account Mentor Graphics acquisition of CodeSoucery
Thomas Petazzoni [Sun, 2 Oct 2011 19:20:15 +0000 (21:20 +0200)]
ext-toolchain: Take into account Mentor Graphics acquisition of CodeSoucery

Now that CodeSourcery has been bought by Mentor Graphics, the
toolchains are named "Sourcery CodeBench". We rename the config short
description and adjust the help text, but we keep the option name in
order not to break existing configurations.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoext-toolchain: Add CodeSoucery x86 GNU/Linux 2010.09
Thomas Petazzoni [Sun, 2 Oct 2011 19:20:14 +0000 (21:20 +0200)]
ext-toolchain: Add CodeSoucery x86 GNU/Linux 2010.09

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoext-toolchain: Add CodeSourcery SH GNU/Linux 2011.03
Thomas Petazzoni [Sun, 2 Oct 2011 19:20:13 +0000 (21:20 +0200)]
ext-toolchain: Add CodeSourcery SH GNU/Linux 2011.03

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoext-toolchain: Bump version of CodeSourcery MIPS 2011.03
Thomas Petazzoni [Sun, 2 Oct 2011 19:20:12 +0000 (21:20 +0200)]
ext-toolchain: Bump version of CodeSourcery MIPS 2011.03

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoext-toolchain: Add CodeSourcery SH uClinux 2011.03
Thomas Petazzoni [Sun, 2 Oct 2011 19:20:11 +0000 (21:20 +0200)]
ext-toolchain: Add CodeSourcery SH uClinux 2011.03

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain-external: allow specifying extra external libraries
Thomas De Schampheleire [Sun, 2 Oct 2011 19:20:10 +0000 (21:20 +0200)]
toolchain-external: allow specifying extra external libraries

Custom toolchains may provide extra libraries that need to be copied to the
target. This patch adds a configuration option for this.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoexternal toolchain: slightly optimize the copy of the toolchain sysroot
Thomas Petazzoni [Sun, 2 Oct 2011 19:20:09 +0000 (21:20 +0200)]
external toolchain: slightly optimize the copy of the toolchain sysroot

The sysroot of an ARM CodeSourcery toolchain takes about 1.4 GB of
space, but 1.1+ GB of this space consists in locale-related
information which Buildroot doesn't use. By skipping the copy of those
unused files, we save quite a bit of time while importing the
toolchain sysroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agonoip: new package
Gustavo Zacarias [Fri, 7 Oct 2011 22:39:01 +0000 (19:39 -0300)]
noip: new package

[Peter: use install -D / proper permissions]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopoco: unbreak mysql support
Peter Korsgaard [Sat, 8 Oct 2011 21:06:43 +0000 (23:06 +0200)]
poco: unbreak mysql support

Update patch to also pass include directory for mysql headers, and get
rid of host directories in -L / -I arguments. Finally look in
staging rather than target for libmysqlclient.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibplayer: mark python bindings as broken
Peter Korsgaard [Sat, 8 Oct 2011 20:39:29 +0000 (22:39 +0200)]
libplayer: mark python bindings as broken

As it doesn't build.

- upstream didn't adjust player_init call when prototype changed:
  http://hg.geexbox.org/libplayer/rev/e3705df5ce2e

- It tries to build the extension for the host, and not the target:

building 'player' extension
/usr/bin/gcc -pthread -fno-strict-aliasing -O2 ..
/usr/bin/ld: skipping incompatible ./../../src/libplayer.so when
searching for -lplayer.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolite: unbreak build
Peter Korsgaard [Sat, 8 Oct 2011 19:49:58 +0000 (21:49 +0200)]
lite: unbreak build

lite breaks because of a conflict with 'stat'. Fix taken from LiTE git.

At the same time rename and fixup no-tests patch to apply.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: add 1.19.2 tftp fix
Gustavo Zacarias [Fri, 7 Oct 2011 20:29:01 +0000 (17:29 -0300)]
busybox: add 1.19.2 tftp fix

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolsof: no longer needs rpc support in toolchain
Peter Korsgaard [Fri, 7 Oct 2011 19:31:40 +0000 (21:31 +0200)]
lsof: no longer needs rpc support in toolchain

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolsof: bump to version 4.85
Gustavo Zacarias [Fri, 7 Oct 2011 15:25:21 +0000 (12:25 -0300)]
lsof: bump to version 4.85

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosawman: bump to version 1.4.15
Sven Neumann [Tue, 4 Oct 2011 11:45:48 +0000 (13:45 +0200)]
sawman: bump to version 1.4.15

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux-fusion: bump to version 8.7.0
Sven Neumann [Tue, 4 Oct 2011 10:51:17 +0000 (12:51 +0200)]
linux-fusion: bump to version 8.7.0

Remove patch that has become obsolete.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodirectfb: bump to version 1.4.15
Sven Neumann [Tue, 4 Oct 2011 10:51:16 +0000 (12:51 +0200)]
directfb: bump to version 1.4.15

Remove patch that has been included upstream.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibevent: bump version to 2.0.14
H Hartley Sweeten [Thu, 6 Oct 2011 20:35:32 +0000 (15:35 -0500)]
libevent: bump version to 2.0.14

Released 2011-08-31.  Mostly bugfixes.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add 'pv' (Pipe-Viewer)
Roeland Van Praet [Fri, 7 Oct 2011 07:04:26 +0000 (09:04 +0200)]
package: add 'pv' (Pipe-Viewer)

Signed-off-by: Roeland Van Praet <roelvp@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add the poco C++ libraries collection
Baruch Siach [Tue, 4 Oct 2011 08:02:03 +0000 (10:02 +0200)]
package: add the poco C++ libraries collection

Add the C++ Portable Components libraries.

The Data/ODBC components is disabled because its dependency (unixODBC) is not
in Buildroot.

The Data/MySQL component is build tested only. It probably requires an
additional RPATH to actually run, because libmysqlclient resides in a
non-standard location under /usr/lib/mysql.

[Peter: use depends on for toolchain options]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopkg-stats: update script location in usage instructions
Sven Neumann [Thu, 6 Oct 2011 12:37:27 +0000 (14:37 +0200)]
pkg-stats: update script location in usage instructions

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibplayer: remove unneeded extra AUTOTARGETS parameters
Peter Korsgaard [Thu, 6 Oct 2011 12:48:15 +0000 (14:48 +0200)]
libplayer: remove unneeded extra AUTOTARGETS parameters

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopicocom: remove useless arguments from GENTARGETS
Sven Neumann [Thu, 6 Oct 2011 12:39:12 +0000 (14:39 +0200)]
picocom: remove useless arguments from GENTARGETS

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoAdd the libplayer package
Maxime Ripard [Mon, 3 Oct 2011 10:10:34 +0000 (12:10 +0200)]
Add the libplayer package

[Peter: use select instead of depends for mplayer/gstreamer, small tweaks]
Signed-off-by: Maxime Ripard <maxime@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopkg-stats: update list of .mk to ignore
H Hartley Sweeten [Wed, 5 Oct 2011 23:57:26 +0000 (18:57 -0500)]
pkg-stats: update list of .mk to ignore

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoless: bump version to 444
H Hartley Sweeten [Wed, 5 Oct 2011 22:28:01 +0000 (17:28 -0500)]
less: bump version to 444

less-444 was released on 9 Jun 2011.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopkg-stats: use correct variable names for convert_to_*autotools
H Hartley Sweeten [Wed, 5 Oct 2011 20:34:59 +0000 (15:34 -0500)]
pkg-stats: use correct variable names for convert_to_*autotools

The variable convert_to_autotools is not used in the script.  The correct
variables are convert_to_target_autotools and convert_to_host_autotools.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoopenocd: remove fixed ldflags breaking build
Peter Korsgaard [Wed, 5 Oct 2011 20:50:41 +0000 (22:50 +0200)]
openocd: remove fixed ldflags breaking build

The openocd configure script would forcibly add -L/usr/lib to LDFLAGS,
causing the cross compiler to use host libraries, breaking the build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoAdd lame support in gstreamer
Maxime Ripard [Mon, 3 Oct 2011 10:10:33 +0000 (12:10 +0200)]
Add lame support in gstreamer

Signed-off-by: Maxime Ripard <maxime@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoAdd the picocom package
Maxime Ripard [Mon, 3 Oct 2011 10:10:31 +0000 (12:10 +0200)]
Add the picocom package

[Peter: fix Config.in help text indentation]
Signed-off-by: Maxime Ripard <maxime@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibiconv: bump to 1.14
Yegor Yefremov [Wed, 21 Sep 2011 10:24:10 +0000 (12:24 +0200)]
libiconv: bump to 1.14

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agox11r7: AUTORECONF=NO is the default, remove
Thomas Petazzoni [Mon, 19 Sep 2011 20:57:41 +0000 (22:57 +0200)]
x11r7: AUTORECONF=NO is the default, remove

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoxdata_xcursor-themes: add dependency on host xapp_xcursorgen
Thomas Petazzoni [Mon, 19 Sep 2011 20:57:40 +0000 (22:57 +0200)]
xdata_xcursor-themes: add dependency on host xapp_xcursorgen

As reported in bug #3331, xdata_xcursor_themes needs the xcursorgen
application installed on the host. This commit adds this dependency,
together with the needed host libraries required for xapp_cursorgen to
build properly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agox11r7: make package globally visible
Thomas Petazzoni [Mon, 19 Sep 2011 20:57:38 +0000 (22:57 +0200)]
x11r7: make package globally visible

All x11r7 .mk files were only included into the global chain of
makefile includes if the BR2_PACKAGE_XORG7 option was enabled. This is
not the standard way to do things in Buildroot, and it even breaks
things like running "make <pkg>-*" for a x11r7 package even if X.org
is not selected.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopkg-stats: cnt should start with 0
H Hartley Sweeten [Wed, 5 Oct 2011 16:47:54 +0000 (11:47 -0500)]
pkg-stats: cnt should start with 0

The package count, cnt, should start with an initial value of 0.  It
is incremented as each package *.mk file is checked.  Starting with a
value of 1 makes the first ID = 2 and results in the TOTAL being off
by 1.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogdb: add 7.2a version
Peter Korsgaard [Wed, 5 Oct 2011 14:58:55 +0000 (16:58 +0200)]
gdb: add 7.2a version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain/gdb: fixup version strings
Yann E. MORIN [Tue, 13 Sep 2011 21:57:30 +0000 (23:57 +0200)]
toolchain/gdb: fixup version strings

The gdb tarballs have been re-released after a GPL compliance
issue was found:
  http://sourceware.org/ml/gdb/2011-09/msg00030.html

So all versions were re-packaged.

In the process, an 'a' was appended to the version strings, and
unlike the binutils people, the gdb folks are not inclined in
providing legacy symlinks:
  http://sourceware.org/ml/gdb/2011-09/msg00036.html

So, this patch fixes the issue by renaming version strings. It is to be
noted that, although the versions got bumped to include an 'a' at the end,
the directory contained in the tarball is still named after the version
string without the 'a'. For example:
 - old version      : 6.6
 - new version      : 6.6a
 - tarball name     : gdb-6.6a.tar.bz2
 - directory name   : gdb-6.6/

In fact, it does not pose any problem for buildroot, as the extract process
explicitly mkdirs the directory to extract into, *and* strips the first level
of the tree extracted from the tarball.

[Peter: fixup patch to apply to head, don't rename config symbols]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain/gdb: strip tarball component when extracting
Yann E. MORIN [Tue, 13 Sep 2011 21:57:29 +0000 (23:57 +0200)]
toolchain/gdb: strip tarball component when extracting

For some tarballs of gdb (see next patch), the extracted directory is
*not* named after the version string (eg. gdb-6.6a extract into gdb-6.6/)

Create the appropriate directory first, then use --strip-{components,path}
when extracting gdb (the same way it is done for the generic package
infrastructure).

At the same time, get rid of the snapshot special case, because:
 1- it's no longer available in the menu
 2- it would be handled by the above change

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogdb: misc cleanup
Peter Korsgaard [Wed, 5 Oct 2011 14:14:26 +0000 (16:14 +0200)]
gdb: misc cleanup

Only use 6.6 on bfin, remove 6.7.1, mark 6.8 + 7.0 as deprecated and
default to 7.3.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogdb: bump to 7.3.1
Yegor Yefremov [Tue, 4 Oct 2011 09:05:47 +0000 (11:05 +0200)]
gdb: bump to 7.3.1

this version fixes compilation issue on some old build systems like
openSUSE 10.3 saying some host libraries were too old

[Peter: drop bugfix number from config name, similar to kernel-headers]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage/libcgi/Config.in: help text should be indented by <tab> and 2 spaces
H Hartley Sweeten [Tue, 4 Oct 2011 18:45:32 +0000 (13:45 -0500)]
package/libcgi/Config.in: help text should be indented by <tab> and 2 spaces

Fix the help text for package/libcgi/Config.in.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopkg-stats: update grep tests for package type
H Hartley Sweeten [Tue, 4 Oct 2011 23:10:40 +0000 (18:10 -0500)]
pkg-stats: update grep tests for package type

Update the grep tests used to determine the package type.

The package name and directory are now worked out magically due to:

 package: add helper functions to get package name and directory magically

Because of this the extra arguments were removed by patches:

 package: remove useless arguments from GENTARGETS
 package: remove useless arguments from AUTOTARGETS
 package: remove useless arguments from CMAKETARGETS

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-bad: fix bzip2 typo
Peter Korsgaard [Wed, 5 Oct 2011 09:05:44 +0000 (11:05 +0200)]
gst-plugins-bad: fix bzip2 typo

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agompg123: tweak audio module selection
Peter Korsgaard [Wed, 5 Oct 2011 07:39:38 +0000 (09:39 +0200)]
mpg123: tweak audio module selection

Fix build if host has libarts-dev, and add optional sdl+portaudio support.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoimagemagick: add optional fftw support
Peter Korsgaard [Tue, 4 Oct 2011 22:15:47 +0000 (00:15 +0200)]
imagemagick: add optional fftw support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoRevert "gst-plugins-base: disable parallel build"
Peter Korsgaard [Mon, 3 Oct 2011 20:38:47 +0000 (22:38 +0200)]
Revert "gst-plugins-base: disable parallel build"

This reverts commit 54b60ba6aa0ff1b6c851e704bc36945ca052b2b3.

As requested by Sven. Not needed as we now have fixed the testchannels
issue.

13 years agobinutils: build host version statically
Peter Korsgaard [Sun, 2 Oct 2011 21:19:10 +0000 (23:19 +0200)]
binutils: build host version statically

Otherwise we end up with libbfd/libopcodes in host/usr/$BUILD/$TARGET/lib,
used by the binaries. Unfortunately it also adds rpaths, which first look
in the build directory before here, causing trouble if the toolchain is
used outside BR (E.G. for a SDK) and the build directory location reused
for another incompatible build (E.G. another ARCH), as the binutils
binaries then end up using the wrong libs.

Fix it by linking statically instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-base: fix build by disabling testchannels example
Peter Korsgaard [Sun, 2 Oct 2011 19:13:57 +0000 (21:13 +0200)]
gst-plugins-base: fix build by disabling testchannels example

Testchannels doesn't build because it forgets to link with libgstinterfaces.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agompd: fixup sample config
Gustavo Zacarias [Fri, 30 Sep 2011 19:47:31 +0000 (16:47 -0300)]
mpd: fixup sample config

Fix sample mpd.conf so that the playlists directory lives inside the
main mpd data directory.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosmartmontools: bump to version 5.41
Gustavo Zacarias [Fri, 30 Sep 2011 19:47:32 +0000 (16:47 -0300)]
smartmontools: bump to version 5.41

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agompg123: bump to version 1.13.4
Gustavo Zacarias [Fri, 30 Sep 2011 19:47:29 +0000 (16:47 -0300)]
mpg123: bump to version 1.13.4

Bump mpg123 to version 1.13.4, fixes for very long files (endless
streams).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: fix bootloader building
Thomas Petazzoni [Fri, 30 Sep 2011 18:45:56 +0000 (20:45 +0200)]
package: fix bootloader building

The changes in e055aea216cff4d12cf55eab2e35ca1459edaa91 and
0849e8193ef429f29945b8c2a54eafc8635e0969 have broken the bootloader
support.

This is because the 'pkgparentdir' macro returns the string 'boot/'
for bootloaders, while the GENTARGETS_INNER macro was testing this
against 'boot' to know if the configuration option to check for this
package is BR2_PACKAGE_* or BR2_TARGET_*.

So, instead of testing against 'boot', we test against 'boot/'.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-bad: add more config options
Sven Neumann [Fri, 30 Sep 2011 14:48:34 +0000 (16:48 +0200)]
gst-plugins-bad: add more config options

The recent update added some new plugins. This commit makes
them selectable in buildroot.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-base: disable parallel build
Sven Neumann [Fri, 30 Sep 2011 14:48:33 +0000 (16:48 +0200)]
gst-plugins-base: disable parallel build

Parallel builds sometimes break when audio/testchannels is
compiled before the gstinterfaces library.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agompd: ffmpeg needs ipv6, so add proper dependencies
Peter Korsgaard [Fri, 30 Sep 2011 08:15:27 +0000 (10:15 +0200)]
mpd: ffmpeg needs ipv6, so add proper dependencies

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agognutls: bump to version 2.10.5
Sven Neumann [Thu, 29 Sep 2011 10:42:33 +0000 (12:42 +0200)]
gnutls: bump to version 2.10.5

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: normalize output of 'make external-deps'
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:51 +0000 (21:57 +0200)]
package: normalize output of 'make external-deps'

For wget-downloaded packages, only the tarball name was displayed,
while for svn/git/bzr packages, the complete repository URL was
shown. As discussed on the list, what we want for 'make external-deps'
is only the tarball name even for git/svn/bzr downloads.

For local packages, we of course keep the full path since it's the
only information that we can provide.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomcookie: fix Config.in indentation
Peter Korsgaard [Thu, 29 Sep 2011 21:34:02 +0000 (23:34 +0200)]
mcookie: fix Config.in indentation

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomcookie: convert to the GENTARGETS infrastructure
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:50 +0000 (21:57 +0200)]
mcookie: convert to the GENTARGETS infrastructure

[Peter: fix missing newline at eof]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agowhetstone: use the <pkg>_EXTRACT_CMDS mechanism
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:49 +0000 (21:57 +0200)]
whetstone: use the <pkg>_EXTRACT_CMDS mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodhrystone: use the <pkg>_EXTRACT_CMDS mechanism
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:48 +0000 (21:57 +0200)]
dhrystone: use the <pkg>_EXTRACT_CMDS mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMakefile.package.in: SVN/BZR/GIT: don't append $(QUIET)
Peter Korsgaard [Thu, 29 Sep 2011 21:26:09 +0000 (23:26 +0200)]
Makefile.package.in: SVN/BZR/GIT: don't append $(QUIET)

svn/bzr/git commands don't accept the -q option for quiet operation.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoAdd support for local packages through 'file://' pseudo-protocol
David Wagner [Thu, 29 Sep 2011 19:57:46 +0000 (21:57 +0200)]
Add support for local packages through 'file://' pseudo-protocol

This can be used this way :

<pkg>_VERSION = 42
<pkg>_SITE = file:///some/local/directory
<pkg>_SOURCE = mypkg-$(<pkg>_VERSION).tar.bz2

Can be useful to integrate a home-made project or for testing purposes.
The default command to retrieve files is 'cp' but 'rsync' could also be used.
Through sshfs, it should also be possible to get non-public remote files on a
ssh server.

[ Thomas Petazzoni: use $(PKG)_SITE and $(PKG)_SOURCE variables
  instead of $(1) and $(2) ]
[ Peter: don't append $(QUIET), cp doesn't handle -q]
Signed-off-by: David Wagner <david.wagner@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: remove useless arguments from CMAKETARGETS
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:44 +0000 (21:57 +0200)]
package: remove useless arguments from CMAKETARGETS

Thanks to the pkgparentdir and pkgname functions, we can rewrite the
GENTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: remove useless arguments from AUTOTARGETS
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:43 +0000 (21:57 +0200)]
package: remove useless arguments from AUTOTARGETS

Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: remove useless arguments from GENTARGETS
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:42 +0000 (21:57 +0200)]
package: remove useless arguments from GENTARGETS

Thanks to the pkgparentdir and pkgname functions, we can rewrite the
GENTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add helper functions to get package name and directory magically
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:41 +0000 (21:57 +0200)]
package: add helper functions to get package name and directory magically

This commit adds the functions "pkgname" and "pkgdir", which can then
be used to automatically find the name of the package and the
directory of the package which does the call to
GENTARGETS/AUTOTARGETS/CMAKETARGETS. These functions use the
$(MAKEFILE_LIST) variable, which make automatically makes available,
and which contains the list of included Makefiles, with the current
Makefile being last. Thanks to this variable and a little bit of
string manipulation, we can easily find out automatically the package
name and the directory it is part of.

These functions are used in later commits to simplify the GENTARGETS,
AUTOTARGETS and CMAKETARGETS calls.

[Peter: Rename to pkgmakefile->pkgdir, pkgdir->pkgparentdir as that's what it is]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: implement a 'local' site method
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:40 +0000 (21:57 +0200)]
package: implement a 'local' site method

The new override source directory mechanism allows to tell Buildroot
to use a particular directory as the source directory for a
package. However, this mechanism works with a local override makefile
and not directly within the package recipe itself.

For some use cases, it might be desirable to write a package recipe
which always refers to a local source directory (and not a http, git,
svn or bazaar download). This commit makes this possible by adding the
'local' site method. It allows to write package recipes as follows:

MYPKG_SITE = /tmp/mypkg-source-code
MYPKG_SITE_METHOD = local

[...]

$(eval $(call GENTARGETS,package,mypkg))

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add <pkg>-rebuild and <pkg>-reconfigure
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:39 +0000 (21:57 +0200)]
package: add <pkg>-rebuild and <pkg>-reconfigure

We are often asked "how can I restart the build of a package ?" or
"how can I restart the build of package from the configure part
?". Obviously, tweaking with stamp files is possible, but not very
user friendly.

Therefore this patch adds two new per-package targets: <pkg>-rebuild
and <pkg>-reconfigure. They will remove the right stamp files and
restart the complete build process (by using the 'all' target, so that
not only the package is reconfigured, recompiled and reinstalled, but
the root filesystem images are also regenerated).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add configuration option to specify a local override file
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:38 +0000 (21:57 +0200)]
package: add configuration option to specify a local override file

The user can now create a custom local override file to override the
source directory for various packages.

An example override file:

 ZLIB_OVERRIDE_SRCDIR = /tmp/zlib
 STRACE_OVERRIDE_SRCDIR = /opt/strace-4.5.20

would tell Buildroot to use the zlib and strace source code from the
specified directories, instead of download, extracting and patching
the code has done usually by Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: enhance infrastructure to support source dir override
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:37 +0000 (21:57 +0200)]
package: enhance infrastructure to support source dir override

When a variable <pkg>_OVERRIDE_SRCDIR is defined, then Buildroot will
no longer try to download, extract and patch the package. It will
simply use the value of this variable as the source directory for the
package. The contents of the package sources will be rsynced to the
package build directory in $(O)/build/pkg-version/.

This can be used to tell Buildroot that the sources for a given
package are inside some directory that you control, and which can be
versioned in Git/SVN, or handled in whichever way you want.

Those <pkg>_OVERRIDE_SRCDIR variables will be defined by a local
makefile included by Buildroot, which will be handled in a later
commit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-bad: audioparsers plugin is moved to -good
Peter Korsgaard [Thu, 29 Sep 2011 19:38:56 +0000 (21:38 +0200)]
gst-plugins-bad: audioparsers plugin is moved to -good

Thanks to Sven for noticing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-bad: bump version
Peter Korsgaard [Thu, 29 Sep 2011 19:02:14 +0000 (21:02 +0200)]
gst-plugins-bad: bump version

And sort options alphabetically.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-ugly: bump version
Peter Korsgaard [Thu, 29 Sep 2011 14:56:52 +0000 (16:56 +0200)]
gst-plugins-ugly: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-good: bump version
Peter Korsgaard [Thu, 29 Sep 2011 14:55:08 +0000 (16:55 +0200)]
gst-plugins-good: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-base: bump version
Peter Korsgaard [Thu, 29 Sep 2011 14:42:55 +0000 (16:42 +0200)]
gst-plugins-base: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogstreamer: bump version
Peter Korsgaard [Thu, 29 Sep 2011 14:40:50 +0000 (16:40 +0200)]
gstreamer: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-good: sort plug-ins alphabetically
Sven Neumann [Tue, 27 Sep 2011 12:27:07 +0000 (14:27 +0200)]
gst-plugins-good: sort plug-ins alphabetically

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoqemu/x86: enable alsa/hda support in kernel
Peter Korsgaard [Thu, 29 Sep 2011 12:46:39 +0000 (14:46 +0200)]
qemu/x86: enable alsa/hda support in kernel

For easy sound testing using qemu-system-i386 -soundhw hda

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