buildroot.git
14 years agoRemove obsolete hostap package
Gustavo Zacarias [Fri, 19 Feb 2010 12:59:08 +0000 (09:59 -0300)]
Remove obsolete hostap package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoxfont_font-util: fix call of post-install-sh
Will Wagner [Thu, 25 Feb 2010 17:12:52 +0000 (17:12 +0000)]
xfont_font-util: fix call of post-install-sh

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agogmp/mpfr: make sure host builds add source targets to HOST_SOURCE
Peter Korsgaard [Thu, 25 Feb 2010 16:27:50 +0000 (17:27 +0100)]
gmp/mpfr: make sure host builds add source targets to HOST_SOURCE

Closes #1183.

When gmp/mpfr is needed for the host (E.G. when using an internal toolchain),
the host-lib{gmp,mpfr}-source targets weren't added to HOST_SOURCE, so
make source / external-deps didn't handle them.

Notice that we have the same issue with the new host package support,
there we should probably use HOST_<package>_DEPENDENCIES for -source
dependencies.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'gcc-target-fix' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Thu, 25 Feb 2010 09:27:44 +0000 (10:27 +0100)]
Merge branch 'gcc-target-fix' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agogcc on target: add missing definitions for gcc 4.4
Thomas Petazzoni [Thu, 25 Feb 2010 08:44:57 +0000 (09:44 +0100)]
gcc on target: add missing definitions for gcc 4.4

Depending on the gcc version, the gcc include and lib directories have
changed. We include support for gcc 4.4 by copy/pasting the support
for gcc 4.3. Locations don't seem to have changed between 4.3 and
4.4. This allows the syslimits.h fixup to succeed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoxfont_font-util: install in staging as it used to be
Thomas Petazzoni [Thu, 25 Feb 2010 07:39:04 +0000 (08:39 +0100)]
xfont_font-util: install in staging as it used to be

Before the autotools conversion, xfont_font-util was installed in
staging, so keep this.

However, the current way of handling xfont_font-util is ugly. The
post-install.sh script removes the binaries compiled for the target
from the staging directory and replaces them by symbolic links to
utils installed on the host (making the incorrect assumption that they
are available).

It looks like xfont_font-util needs to be built for the host (using
the new infrastructure for host autotools package). This is certainly
post-2010.02 though.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: add ipsec-tools/libgtk2/madplay/netsnmp/pango/sylpheed/openmotif/xpdf
Peter Korsgaard [Wed, 24 Feb 2010 21:59:32 +0000 (22:59 +0100)]
CHANGES: add ipsec-tools/libgtk2/madplay/netsnmp/pango/sylpheed/openmotif/xpdf

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agomadplay: add patch to switch to the new ALSA API
Thomas Petazzoni [Wed, 24 Feb 2010 20:55:16 +0000 (21:55 +0100)]
madplay: add patch to switch to the new ALSA API

madplay was failing to build with errors such as :

audio_alsa.o: In function `config':
audio_alsa.c:(.text+0x200): undefined reference to `snd_pcm_hw_params_set_rate_near@ALSA_0.9'
audio_alsa.c:(.text+0x25c): undefined reference to `snd_pcm_hw_params_set_buffer_time_near@ALSA_0.9'
audio_alsa.c:(.text+0x284): undefined reference to `snd_pcm_hw_params_get_buffer_size@ALSA_0.9'
audio_alsa.c:(.text+0x2a4): undefined reference to `snd_pcm_hw_params_set_period_time_near@ALSA_0.9'
audio_alsa.c:(.text+0x2d4): undefined reference to `snd_pcm_hw_params_get_period_size@ALSA_0.9'

The ALSA library uses symbol versioning by default, to handle ABI
changes. However, since uClibc doesn't seem to support symbol
versioning, we disable this when building the ALSA library by passing
--without-versioned.

However, madplay relies on the old ALSA ABI, so even without symbol
versioning, references to versioned symbols are generated (functions
with the same name, but different API, exist in the old and new API).

The easiest solution is to switch madplay to the new API. This is done
thanks to a patch written by Micha Nelissen <micha@neli.hopto.org> and
available at http://article.gmane.org/gmane.comp.audio.mad.devel/729.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agosylpheed: add dependency on libgtk2
Thomas Petazzoni [Wed, 24 Feb 2010 20:54:00 +0000 (21:54 +0100)]
sylpheed: add dependency on libgtk2

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agopango: re-enable thai module
Thomas Petazzoni [Wed, 24 Feb 2010 20:50:39 +0000 (21:50 +0100)]
pango: re-enable thai module

This module got disabled when pango was upgraded to 1.19.3. But now,
the module builds fine. And even more: disabling it breaks the build
when modules are compiled statically into pango.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agopango: remove gtk-doc patch
Thomas Petazzoni [Wed, 24 Feb 2010 20:49:49 +0000 (21:49 +0100)]
pango: remove gtk-doc patch

The gtk-doc.m4 file is now installed globally (see the automake
package), so there's no point in including a pango-specific patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibgtk2: host version needs host-libpng
Thomas Petazzoni [Wed, 24 Feb 2010 20:44:44 +0000 (21:44 +0100)]
libgtk2: host version needs host-libpng

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoxpdf: remove package
Thomas Petazzoni [Wed, 24 Feb 2010 21:12:05 +0000 (22:12 +0100)]
xpdf: remove package

This package depends on openmotif, which has been removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoopenmotif: remove package
Thomas Petazzoni [Wed, 24 Feb 2010 19:38:24 +0000 (19:38 +0000)]
openmotif: remove package

This is an old package. It is currently broken, and probably nobody
uses it. So let's get rid of it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoipsec-tools: add host-flex dependency
Thomas Petazzoni [Wed, 24 Feb 2010 19:14:56 +0000 (19:14 +0000)]
ipsec-tools: add host-flex dependency

This fixes the following build failure:

checking lex output file root...
configure: error: cannot find output from flex; giving up

Caused by the fact that a host version of flex is missing
in $(HOST_DIR).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agonetsnmp: use the autoconf built by Buildroot
Thomas Petazzoni [Wed, 24 Feb 2010 07:59:34 +0000 (08:59 +0100)]
netsnmp: use the autoconf built by Buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agobump linux kernel versions
H Hartley Sweeten [Tue, 23 Feb 2010 22:55:50 +0000 (15:55 -0700)]
bump linux kernel versions

Bump all the linux kernel version to the latest available and add a
help note for all of them with the release data and status.

The long-term stable 2.6.27 kernel is really out of date (.27 -> .45).

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agokernel-headers: bump 2.6.32.x version
Peter Korsgaard [Wed, 24 Feb 2010 19:22:25 +0000 (20:22 +0100)]
kernel-headers: bump 2.6.32.x version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobuildroot: we're in 2010 now
Peter Korsgaard [Wed, 24 Feb 2010 08:42:30 +0000 (09:42 +0100)]
buildroot: we're in 2010 now

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobusybox: add 1.16.0 fixes
Peter Korsgaard [Wed, 24 Feb 2010 08:13:43 +0000 (09:13 +0100)]
busybox: add 1.16.0 fixes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoqt: fix the patch name for qt-4.5.3 version
Francisco Gonzalez Morell [Tue, 23 Feb 2010 23:01:39 +0000 (00:01 +0100)]
qt: fix the patch name for qt-4.5.3 version

Signed-off-by: Francisco Gonzalez Morell <gzmorell@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoUpdate for 2010.02-rc2
Peter Korsgaard [Tue, 23 Feb 2010 22:28:46 +0000 (23:28 +0100)]
Update for 2010.02-rc2

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolinux-advanced: Fix probing of kernel version
Cameron Hutchison [Tue, 23 Feb 2010 22:00:16 +0000 (22:00 +0000)]
linux-advanced: Fix probing of kernel version

Probing the kernel version uses command substitution to capture the
result of a make command. If the top-level make is run with -C, the
sub-make will print entering/leaving directory messages, mucking up the
output we're trying to capture.

Invoke the sub-make with --no-print-directory so we get clean output.

Signed-off-by: Cameron Hutchison <cam@camh.ch>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: add changes from misc-fixes5 branch
Peter Korsgaard [Tue, 23 Feb 2010 20:59:24 +0000 (21:59 +0100)]
CHANGES: add changes from misc-fixes5 branch

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'misc-fixes5' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Tue, 23 Feb 2010 20:27:28 +0000 (21:27 +0100)]
Merge branch 'misc-fixes5' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agouclibc: do not allow the selection of NPTL if snapshot is not selected
Thomas Petazzoni [Sun, 21 Feb 2010 19:52:12 +0000 (20:52 +0100)]
uclibc: do not allow the selection of NPTL if snapshot is not selected

In uClibc, NPTL support does not exist in the 0.9.30 branch, that we
are using in Buildroot. It is only available in the uClibc daily
snapshot, extracted from uClibc master branch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoe2fsprogs: fix lsattr chattr and e2label e2undo mixup
Richard van Paasen [Sun, 21 Feb 2010 19:06:50 +0000 (20:06 +0100)]
e2fsprogs: fix lsattr chattr and e2label e2undo mixup

In Config.in lsattr/chattr and e2label/e2undo are mixed up.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: add recently resolved issues (335,355,453,457,459,469,671,711,821,1039)
Peter Korsgaard [Tue, 23 Feb 2010 19:57:54 +0000 (20:57 +0100)]
CHANGES: add recently resolved issues (335,355,453,457,459,469,671,711,821,1039)

Thanks to Thomas for doing this work.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoe2fsprogs: fix lsattr chattr and e2label e2undo mixup
Richard van Paasen [Mon, 14 Dec 2009 21:49:23 +0000 (22:49 +0100)]
e2fsprogs: fix lsattr chattr and e2label e2undo mixup

In Config.in lsattr/chattr and e2label/e2undo are mixed up.

14 years agouclibc: do not allow the selection of NPTL if snapshot is not selected
Thomas Petazzoni [Sun, 21 Feb 2010 19:50:46 +0000 (20:50 +0100)]
uclibc: do not allow the selection of NPTL if snapshot is not selected

In uClibc, NPTL support does not exist in the 0.9.30 branch, that we
are using in Buildroot. It is only available in the uClibc daily
snapshot, extracted from uClibc master branch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agowebkit: mention build failure with old linuxthread toolchains
Thomas Petazzoni [Tue, 23 Feb 2010 19:21:15 +0000 (20:21 +0100)]
webkit: mention build failure with old linuxthread toolchains

I could have created a !dependency on !BR2_PTHREADS_OLD, but that
wouldn't work with external toolchains. So, let's just add a notice in
the help message of WebKit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agomplayer: use UTF-8 charset to avoid iconv dependency
Thomas Petazzoni [Sun, 21 Feb 2010 15:55:21 +0000 (16:55 +0100)]
mplayer: use UTF-8 charset to avoid iconv dependency

The mplayer configure script was failing with:

  Checking for iconv program ... no
  No working iconv program found, use
  --charset=UTF-8 to continue anyway.
  If you also have problems with iconv library functions use --charset=noconv.
  Messages in the GTK-2 interface will be broken then.

Therefore, we pass --charset=UTF-8 instead of --charset=US-ASCII.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibsoup: remove --without-html-dir
Thomas Petazzoni [Sun, 21 Feb 2010 15:47:11 +0000 (16:47 +0100)]
libsoup: remove --without-html-dir

--without-html-dir doesn't work. It leads libsoup ./configure script
to think that HTML_DIR is "no", which leads to the installation of the
documentation in $(STAGING_DIR)no (yes, with the "no" suffix at the
end). The issue is that --with-html-dir is not an enable/disable type
of option, it's an option that only allows to pass a PATH for
documentation installation.

As we don't want the documentation to be installed in this odd
$(STAGING_DIR)no directory, we simply get rid of this option.

See 7e62e8ec723f91e07bb4ac9ae3e55b65e3123082 for another instance of
the same problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agowebkit: several build fixes
Thomas Petazzoni [Sun, 21 Feb 2010 15:25:58 +0000 (16:25 +0100)]
webkit: several build fixes

This patch fixes different problems:

 * The autogen script of Webkit did not find autoconf, automake and
   aclocal since they are not installed in the host, but in
   $(HOST_DIR). Therefore we pass HOST_CONFIGURE_OPTS to autogen.sh so
   that the PATH is correct.

 * The autogen script was complaining that gtk-doc.make could not be
   find. As compiling gtk-doc completely is a pain (depends on
   Docbook), we just include gtk-doc.make into package/webkit/, and
   copy it to the source directory.

 * The autogen script was complaining about macros used in
   gtk-doc.make that did not exist. This is because aclocal was not
   run with $(STAGING_DIR)/usr/share/aclocal/ in the include
   path. Therefore, we fix ACLOCAL_FLAGS of Webkit's autogen script
   before running it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibeXosip: do not re-run targets at every invocation of 'make'
Thomas Petazzoni [Sun, 21 Feb 2010 15:07:03 +0000 (16:07 +0100)]
libeXosip: do not re-run targets at every invocation of 'make'

Make sure that we touch the target so that the target is newer than
the .compiled stamp file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolvm2: prevent dmsetup from being re-installed every time
Thomas Petazzoni [Sun, 21 Feb 2010 14:55:43 +0000 (15:55 +0100)]
lvm2: prevent dmsetup from being re-installed every time

After being copied to target/, touch dmsetup so that its date is newer
than the .built stamp file in lvm2 source directory. This prevents
make from re-installing dmsetup every time.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agodosfstools: make sure install targets aren't run everytime
Thomas Petazzoni [Sun, 21 Feb 2010 14:50:18 +0000 (15:50 +0100)]
dosfstools: make sure install targets aren't run everytime

Adding real targets to $(TARGETS) doesn't work, since they are
prefixed __real_tgt by the main Makefile. 'make' then always thinks
that these targets aren't up-to-date, and re-generate them every time.

Therefore, we switch dosfstools to the more common way of handling
packages, with a phony target added to $(TARGETS), this phony target
depending on real targets.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoshared-mime-info: do not depend on phony target in hook
Thomas Petazzoni [Sun, 21 Feb 2010 14:38:02 +0000 (15:38 +0100)]
shared-mime-info: do not depend on phony target in hook

Real targets should not depend on phony targets, otherwise they get
rebuilt everytime.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agomatchbox: fix dependency to not always rebuilt libmatchbox
Thomas Petazzoni [Sun, 21 Feb 2010 14:36:27 +0000 (15:36 +0100)]
matchbox: fix dependency to not always rebuilt libmatchbox

Real targets should not depend on phony targets, otherwise they get
rebuilt every time.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agomatchbox: apply libtool patch to matchbox-desktop
Thomas Petazzoni [Sun, 21 Feb 2010 13:26:02 +0000 (14:26 +0100)]
matchbox: apply libtool patch to matchbox-desktop

matchbox-desktop fails to build because it tries to read
/usr/lib/libxcb.la, which doesn't exist on a very basic system with no
development files instead. The buildroot-libtool.patch must therefore
be applied.

Unfortunately, matchbox doesn't yet use the autotools infrastructure,
so we have to manually apply the patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agokexec: bump version to fix build failure
Thomas Petazzoni [Sun, 21 Feb 2010 12:57:08 +0000 (13:57 +0100)]
kexec: bump version to fix build failure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoiw: give path to pkg-config
Thomas Petazzoni [Sun, 21 Feb 2010 12:43:33 +0000 (13:43 +0100)]
iw: give path to pkg-config

At install stage, iw needs pkg-config, through the PKG_CONFIG
environment variable.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoimagemagick: use internal libtool
Thomas Petazzoni [Sun, 21 Feb 2010 12:39:35 +0000 (13:39 +0100)]
imagemagick: use internal libtool

For some reason, our imagemagick.mk file calls libtool, but assumes
that libtool is available on the host, which may not be
true. Therefore, we use ImageMagick's internal libtool, which has been
used for compiling/linking all the rest of ImageMagic anyway.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoimagemagick: help configure to detect file_offset_bits
Thomas Petazzoni [Sun, 21 Feb 2010 12:35:19 +0000 (13:35 +0100)]
imagemagick: help configure to detect file_offset_bits

imagemagick configure script wants to run programs to detect the
file_offset_bits, but fails since it is running cross-compile
mode. Therefore, we help the configure script by passing the
appropriate ac_cv variable.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoshared-mime-info: run update-mime-database with correct env variables
Thomas Petazzoni [Sun, 21 Feb 2010 12:22:42 +0000 (13:22 +0100)]
shared-mime-info: run update-mime-database with correct env variables

When installing shared-mime-info on the target, we runn
update-mime-database, which has been built previously by building and
installing shared-mime-info for the host. However, for
update-mime-database (host version) to run properly, we must pass the
appropriate LD_LIBRARY_PATH variable.

We re-use the existing $(HOST_MAKE_ENV) variable to pass all the
appropriate variables.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agogob2: update dependency on flex
Thomas Petazzoni [Sun, 21 Feb 2010 12:21:39 +0000 (13:21 +0100)]
gob2: update dependency on flex

gob2 for the target needs both flex on the host (for running the flex
program at compile time) and flex on the target (so that it can link
against libfl.a).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoflex: install in the staging directory
Thomas Petazzoni [Sun, 21 Feb 2010 12:20:39 +0000 (13:20 +0100)]
flex: install in the staging directory

Flex contains a libfl.a directory, which programs for the target might
link against. Therefore, we need to install flex to the staging
directory. An example of such a program is gob2, which needs the
yywrap() function, which is implemented by libfl.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agogmpc: add dependency on host-intltool
Thomas Petazzoni [Sun, 21 Feb 2010 12:20:03 +0000 (13:20 +0100)]
gmpc: add dependency on host-intltool

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agodependencies: add perl as a mandatory dependency
Thomas Petazzoni [Sun, 21 Feb 2010 17:03:41 +0000 (18:03 +0100)]
dependencies: add perl as a mandatory dependency

Now that we might happen to build libxml-parser-perl and intltool,
Perl becomes a mandatory dependency. This shouldn't be a problem since
most distributions install Perl by default anyway.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agointltool: new package
Thomas Petazzoni [Sun, 21 Feb 2010 12:18:06 +0000 (13:18 +0100)]
intltool: new package

This XML internationalization set of tools is required to build
several of our packages, and may not be available on the host machine.

Only the host variant has been tested.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agopackage infrastructure: add PERLLIB
Thomas Petazzoni [Sun, 21 Feb 2010 12:16:28 +0000 (13:16 +0100)]
package infrastructure: add PERLLIB

Now that we build Perl modules in $(HOST_DIR), PERLLIB must be defined
to $(HOST_DIR)/usr/lib/perl.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibxml-parser-perl: new package
Thomas Petazzoni [Sun, 21 Feb 2010 12:15:22 +0000 (13:15 +0100)]
libxml-parser-perl: new package

This Perl module is needed to build intltool, which in turn is needed
to build several of our packages. We assume that Perl is installed on
the host.

Only the host variant of this package has been tested and is used. The
code for the target variant (what to do at the configure, build and
install steps) isn't implemented, but the GENTARGETS call for the
target is mandatory, due to limitations of the Makefile.package.in
infrastructure (if one wants the host package to be implemented, then
the target package *must* exist). This limitation will be removed
after 2010.02.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibgtk2: break the dependency of host-libgtk2 on host-cairo
Thomas Petazzoni [Sun, 21 Feb 2010 12:11:00 +0000 (13:11 +0100)]
libgtk2: break the dependency of host-libgtk2 on host-cairo

Making a full build of libgtk2 for the host is a pain, since it
requires host-cairo, which it turns requires a full X.org stack to be
compiled for the host.

Moreover, building libgtk2 for the host completely is useless: we only
need gdk-pixbuf-csource and gtk-update-icon-cache.

In this patch, we add a new
host-libgtk2-2.12.12-reduce-dependencies.patch, that is only applied
to libgtk2 when being built for the host. This patch removes a lot of
dependencies in configure.in, which allows to:

 * run make and make install in gdk-pixbuf/, which compiles and
   installs the gdk-pixbuf library and the gdk-pixbuf-csource utility

 * run make gtk-update-icon-cache in gtk/, which compiles the
   gtk-update-icon-cache utility, which is then installed manually

The compilation and installation steps of libgtk2 for the host are
therefore overriden, so as to not use the default behaviour, which
would attempt to build the full gtk library.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agodependencies: add gzip and bzip2 as base dependencies
Thomas Petazzoni [Sat, 20 Feb 2010 18:31:39 +0000 (19:31 +0100)]
dependencies: add gzip and bzip2 as base dependencies

They are needed to uncompress the tarballs we download. bzip2, for
instance, is not necessarly installed by default on basic Debian
systems.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoace_of_penguins: mark as BROKEN
Thomas Petazzoni [Sat, 20 Feb 2010 18:21:37 +0000 (19:21 +0100)]
ace_of_penguins: mark as BROKEN

This package is BROKEN in the way it compiles make-imglib and text2c
for the host while being in cross-compiled mode. It does not use
CC_FOR_BUILD and CFLAGS_FOR_BUILD as it should.

No upstream release has been made since 2001 and since it is a
relatively useless package, I don't think it's worth the trouble to
sanitize its build system.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoace_of_penguins: add dependency on host-libpng
Thomas Petazzoni [Sat, 20 Feb 2010 17:23:35 +0000 (18:23 +0100)]
ace_of_penguins: add dependency on host-libpng

libpng is needed on the host to build the make-imglib utility, built
during the compilation of ace_of_penguins for the target.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibpng: enable compilation on the host
Thomas Petazzoni [Sat, 20 Feb 2010 17:23:04 +0000 (18:23 +0100)]
libpng: enable compilation on the host

libpng is needed on the host to build ace_of_penguins.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agopackage infrastructure: add LD_LIBRARY_PATH
Thomas Petazzoni [Sat, 20 Feb 2010 17:20:38 +0000 (18:20 +0100)]
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>
14 years agoxfont_font-util: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 20 Feb 2010 17:20:14 +0000 (18:20 +0100)]
xfont_font-util: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agozlib: enable compilation on the host
Thomas Petazzoni [Sat, 20 Feb 2010 17:19:06 +0000 (18:19 +0100)]
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>
14 years agoxlib_libfontenc: enable compilation on the host
Thomas Petazzoni [Sat, 20 Feb 2010 17:17:43 +0000 (18:17 +0100)]
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>
14 years agoxfont_encoding: add mkfontscale on the host as dependency
Thomas Petazzoni [Sat, 20 Feb 2010 17:15:46 +0000 (18:15 +0100)]
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>
14 years agoxapp_mkfontscale: enable compilation for the host and fix deps
Thomas Petazzoni [Sat, 20 Feb 2010 17:14:56 +0000 (18:14 +0100)]
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>
14 years agolinux-advanced: add 2.6.32.8
Will Wagner [Tue, 23 Feb 2010 12:16:55 +0000 (13:16 +0100)]
linux-advanced: add 2.6.32.8

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/uClibc: additional 0.9.30.2 patches
Peter Korsgaard [Mon, 22 Feb 2010 21:05:41 +0000 (22:05 +0100)]
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>
14 years agolibxcb: fix build with Buildroot compiled xsltproc
Thomas Petazzoni [Sat, 20 Feb 2010 17:13:18 +0000 (18:13 +0100)]
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>
14 years agolibxslt: enable compilation on host
Thomas Petazzoni [Sat, 20 Feb 2010 17:12:34 +0000 (18:12 +0100)]
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>
14 years agolibxml2: do not apply libtool patch when compiling for host
Thomas Petazzoni [Sat, 20 Feb 2010 17:11:37 +0000 (18:11 +0100)]
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>
14 years agoccache: remove cleanup of documentation
Thomas Petazzoni [Sat, 20 Feb 2010 16:13:55 +0000 (17:13 +0100)]
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>
14 years agoautomake: add build dependency on host-autoconf
Thomas Petazzoni [Sat, 20 Feb 2010 16:09:05 +0000 (17:09 +0100)]
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>
14 years agoCHANGES: add ace_of_penguins, rubix and xboard
Peter Korsgaard [Fri, 19 Feb 2010 10:30:54 +0000 (11:30 +0100)]
CHANGES: add ace_of_penguins, rubix and xboard

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoxboard: remove package
Thomas Petazzoni [Thu, 18 Feb 2010 23:29:12 +0000 (00:29 +0100)]
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>
14 years agoFix build failure of rubix
Thomas Petazzoni [Sun, 14 Feb 2010 13:22:16 +0000 (14:22 +0100)]
Fix build failure of rubix

Add a patch to use strstr() instead of index().

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoAdd libxpm as a dependency of ace_of_penguins
Thomas Petazzoni [Sun, 14 Feb 2010 13:20:45 +0000 (14:20 +0100)]
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>
14 years agoMerge branch 'misc-fixes3' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Thu, 18 Feb 2010 21:02:03 +0000 (22:02 +0100)]
Merge branch 'misc-fixes3' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agoalsa-utils: force the variant of ncurses library
Thomas Petazzoni [Thu, 18 Feb 2010 18:08:41 +0000 (19:08 +0100)]
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>
14 years agokernel-headers: bump 2.6.32.x version
Peter Korsgaard [Thu, 18 Feb 2010 13:35:10 +0000 (14:35 +0100)]
kernel-headers: bump 2.6.32.x version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoat91sam9260pf_defconfig: use standard download dir location
Peter Korsgaard [Thu, 18 Feb 2010 10:57:37 +0000 (11:57 +0100)]
at91sam9260pf_defconfig: use standard download dir location

Based on patch by Roo <roo.watt@gmail.com>

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoalsa-utils: alsamixer need libform, libmenu & libpanel (from ncurses)
Julien Boibessot [Thu, 11 Feb 2010 16:31:25 +0000 (17:31 +0100)]
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>
14 years agoat91boostrap makefile, correct typo in line continuation character.
Rob Alley [Wed, 27 Jan 2010 13:29:40 +0000 (02:29 +1300)]
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>
14 years agoMerge branch 'uclibc-iconv-fix' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Wed, 17 Feb 2010 10:26:55 +0000 (11:26 +0100)]
Merge branch 'uclibc-iconv-fix' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agogstreamer-good: add speex dependancy
Julien Boibessot [Fri, 12 Feb 2010 22:47:37 +0000 (23:47 +0100)]
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>
14 years agoCHANGES: add alsa-lib, rsync, tcl and xproto_trapproto
Peter Korsgaard [Wed, 17 Feb 2010 10:23:43 +0000 (11:23 +0100)]
CHANGES: add alsa-lib, rsync, tcl and xproto_trapproto

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'misc-fixes1' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Wed, 17 Feb 2010 10:22:26 +0000 (11:22 +0100)]
Merge branch 'misc-fixes1' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agoUpdates rsync source repository
Julien Boibessot [Thu, 11 Feb 2010 12:46:47 +0000 (13:46 +0100)]
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>
14 years agoget_linux_config.sh: sets THIS_MINOR to 0 if not valid.
Julien Boibessot [Tue, 9 Feb 2010 16:11:04 +0000 (17:11 +0100)]
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>
14 years agoMerge branch 'misc-fixes2' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Wed, 17 Feb 2010 10:15:08 +0000 (11:15 +0100)]
Merge branch 'misc-fixes2' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agoCHANGES: add argus/at/libpcap
Peter Korsgaard [Wed, 17 Feb 2010 10:10:23 +0000 (11:10 +0100)]
CHANGES: add argus/at/libpcap

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoTemporary fix for alsa-lib breakage with --disable-pcm
Thomas Petazzoni [Sun, 14 Feb 2010 11:01:13 +0000 (12:01 +0100)]
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>
14 years agoBump TCL version and switch to the autotools infrastructure
Thomas Petazzoni [Sat, 13 Feb 2010 14:51:28 +0000 (15:51 +0100)]
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>
14 years agoFix dependencies for TrapProto
Thomas Petazzoni [Sat, 13 Feb 2010 14:49:04 +0000 (15:49 +0100)]
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>
14 years agogtk-doc: add gtk-doc.m4 to satisfy aclocal
Thomas Petazzoni [Sat, 8 Aug 2009 22:46:46 +0000 (00:46 +0200)]
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>
14 years agoAdd patch to fix uClibc build failure with locale enabled
Thomas Petazzoni [Sat, 13 Feb 2010 11:25:52 +0000 (12:25 +0100)]
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>
14 years agoat: fix compile breakage when flex isn't on the target
Thomas Petazzoni [Tue, 9 Feb 2010 23:21:04 +0000 (00:21 +0100)]
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>
14 years agoargus: fix compile breakage
Thomas Petazzoni [Tue, 9 Feb 2010 23:20:45 +0000 (00:20 +0100)]
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>
14 years agoCreate $(STAGING_DIR)/usr/bin unconditionnally
Thomas Petazzoni [Tue, 9 Feb 2010 21:44:15 +0000 (22:44 +0100)]
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>
14 years agoupdate for 2010.02-rc1
Peter Korsgaard [Tue, 9 Feb 2010 15:54:30 +0000 (16:54 +0100)]
update for 2010.02-rc1

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMakefile: release: use git archive
Peter Korsgaard [Tue, 9 Feb 2010 15:34:04 +0000 (16:34 +0100)]
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>
14 years agoBump lighttpd to 1.4.26
Gustavo Zacarias [Tue, 9 Feb 2010 14:30:06 +0000 (11:30 -0300)]
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>
14 years agopackage: remove broken asterisk package
Peter Korsgaard [Tue, 9 Feb 2010 11:21:37 +0000 (12:21 +0100)]
package: remove broken asterisk package

Has been marked as broken for more than one year.

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