Commit Graph

6815 Commits

Author SHA1 Message Date
Peter Korsgaard
88075cc4c6 Revert "busybox: add upstream 1.16 fix"
This reverts commit 1d7b6f65c6.

The fsync patch tries to add the same lines already added by
busybox-1.16.0-compat.patch, so skip it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-26 15:27:54 +01:00
Peter Korsgaard
b209f22798 CHANGES: add avahi/cramfs/libcgicc/libraw1394/squashfs
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-26 10:42:26 +01:00
Peter Korsgaard
51a5b44461 Merge branch 'misc-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-02-26 10:31:41 +01:00
Thomas Petazzoni
1d7b6f65c6 busybox: add upstream 1.16 fix
Fixes https://bugs.busybox.net/show_bug.cgi?id=1177, available at
http://busybox.net/downloads/fixes-1.16.0/busybox-1.16.0-fsync.patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-26 08:59:16 +01:00
Thomas Petazzoni
be8a104c3c squashfs: pass CFLAGS/LDFLAGS and add host-zlib dependency
Squashfs depends on host-zlib, so we add this as a dependency. As
host-zlib is installed in $(HOST_DIR), we must pass $(HOST_CFLAGS) and
$(HOST_LDFLAGS).

Unfortunately, if we pass CFLAGS=$(HOST_CFLAGS), we override the
CFLAGS defined in the Makefile, and the build fails. Therefore, we
borrow a patch from OpenEmbedded to fix this problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-26 08:52:22 +01:00
Thomas Petazzoni
c4ba3fdae5 cramfs: add CFLAGS/LDFLAGS and host-zlib dependency
cramfs depends on host-zlib, so it must be built prior to cramfs.

Moreover, we need to pass the HOST_CFLAGS and HOST_LDFLAGS variables,
otherwise it doesn't find zlib in $(HOST_DIR).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-26 08:52:22 +01:00
Thomas Petazzoni
c789fbddf4 libraw1394: fix tarball URL
The website of libraw1394 isn't anymore on http://www.linux1394.org.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-26 08:52:22 +01:00
Thomas Petazzoni
85e611804b libcgicc: fix build breakage and bump version
First, the build was failing with:

cd .. && /bin/sh /home/test/brbuild/build/cgicc-3.2.7/support/missing --run autoheader
/home/test/brbuild/build/cgicc-3.2.7/support/missing: line 52: autoheader: command not found
WARNING: `autoheader' is missing on your system.  You should only need it if
         you modified `acconfig.h' or `configure.ac'.  You might want
         to install the `Autoconf' and `GNU m4' packages.  Grab them
         from any GNU archive site.

That was because the PATH doesn't contain $(HOST_DIR)/usr/bin. So we
pass $(TARGET_MAKE_ENV) when calling make.

Then, the build was failing because of the crappy configure.ac and
doc/Makefile.am this project has. configure.ac checks if doxygen is
available, and if it isn't, it sets DOXYGEN to /bin/echo. Then,
doc/Makefile.am does:

        DATE=`date '+%-d %b %Y'` VERSION=$(VERSION) $(DOXYGEN) Doxyfile
        cp $(IMAGES) cgicc-doc.css html
        mv html/index.html html/index.html.bak

When DOXYGEN=/bin/echo, then the first line does not generate anything
in html/, and the third line fails.

Therefore, we add a patch that allows to pass a --disable-doc option,
which removes the check for Doxygen. If --enable-doc is passed, then
the configure script fails if Doxygen isn't found (but in the
Buildroot case, we always pass --disable-doc to avoid the doxygen
dependency).

We also take this opportunity to bump the version of libcgicc, and to
remove a patch that is no longer needed due to this version bump.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-26 08:52:21 +01:00
Gustavo Zacarias
0f40a46a54 Remove obsolete hostap package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-25 20:18:25 +01:00
Will Wagner
a2e0614d91 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>
2010-02-25 20:07:24 +01:00
Peter Korsgaard
f561763e91 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>
2010-02-25 17:27:50 +01:00
Thomas Petazzoni
7ba5e38629 avahi: add dependency on host-intltool
Without intltool, configuration fails with:

checking for intltool >= 0.35.0... ./configure: line 28714: intltool-update: command not found
 found

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-25 14:56:39 +01:00
Peter Korsgaard
f389a9ce2f Merge branch 'gcc-target-fix' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-02-25 10:27:44 +01:00
Thomas Petazzoni
a35d48f984 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>
2010-02-25 09:47:01 +01:00
Thomas Petazzoni
39d38a08a1 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>
2010-02-25 09:19:30 +01:00
Peter Korsgaard
ba50538cfa CHANGES: add ipsec-tools/libgtk2/madplay/netsnmp/pango/sylpheed/openmotif/xpdf
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-24 22:59:32 +01:00
Thomas Petazzoni
97b392b984 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>
2010-02-24 22:45:30 +01:00
Thomas Petazzoni
ae6a7222ea sylpheed: add dependency on libgtk2
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-24 22:45:29 +01:00
Thomas Petazzoni
9f19a96360 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>
2010-02-24 22:45:29 +01:00
Thomas Petazzoni
71697ac6cc 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>
2010-02-24 22:45:29 +01:00
Thomas Petazzoni
2edfc313c0 libgtk2: host version needs host-libpng
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-24 22:45:29 +01:00
Thomas Petazzoni
67d238bf0d xpdf: remove package
This package depends on openmotif, which has been removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-24 22:45:28 +01:00
Thomas Petazzoni
3bd6881717 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>
2010-02-24 22:45:28 +01:00
Thomas Petazzoni
088a04041e 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>
2010-02-24 22:45:28 +01:00
Thomas Petazzoni
1ab9bb250c netsnmp: use the autoconf built by Buildroot
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-24 22:45:28 +01:00
H Hartley Sweeten
c9ad8be527 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>
2010-02-24 21:46:35 +01:00
Peter Korsgaard
3c7e344c1b kernel-headers: bump 2.6.32.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-24 20:22:25 +01:00
Peter Korsgaard
eb05757510 buildroot: we're in 2010 now
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-24 09:42:30 +01:00
Peter Korsgaard
a080cc0ff4 busybox: add 1.16.0 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-24 09:13:43 +01:00
Francisco Gonzalez Morell
f4f157041e 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>
2010-02-24 00:40:20 +01:00
Peter Korsgaard
7bd8125edc Update for 2010.02-rc2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-23 23:28:46 +01:00
Cameron Hutchison
c1c171acbe 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>
2010-02-23 23:17:40 +01:00
Peter Korsgaard
89fd720866 CHANGES: add changes from misc-fixes5 branch
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-23 21:59:24 +01:00
Peter Korsgaard
4f05a61b33 Merge branch 'misc-fixes5' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-02-23 21:27:28 +01:00
Thomas Petazzoni
52fcd86f2b 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>
2010-02-23 21:06:54 +01:00
Richard van Paasen
598334166d 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>
2010-02-23 21:06:47 +01:00
Peter Korsgaard
5239be04c9 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>
2010-02-23 21:01:11 +01:00
Richard van Paasen
f08e9eea1b e2fsprogs: fix lsattr chattr and e2label e2undo mixup
In Config.in lsattr/chattr and e2label/e2undo are mixed up.
2010-02-23 20:34:57 +01:00
Thomas Petazzoni
58a45bf66b 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>
2010-02-23 20:34:57 +01:00
Thomas Petazzoni
596bcb63fb 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>
2010-02-23 20:34:57 +01:00
Thomas Petazzoni
ca2293b364 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>
2010-02-23 20:34:56 +01:00
Thomas Petazzoni
a3efb3a3bf 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 7e62e8ec72 for another instance of
the same problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-23 20:34:56 +01:00
Thomas Petazzoni
09216ec22b 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>
2010-02-23 20:34:56 +01:00
Thomas Petazzoni
1cd56dc514 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>
2010-02-23 20:34:55 +01:00
Thomas Petazzoni
3b5d95be8d 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>
2010-02-23 20:34:55 +01:00
Thomas Petazzoni
e83529882b 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>
2010-02-23 20:34:55 +01:00
Thomas Petazzoni
520dd9fbe5 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>
2010-02-23 20:34:51 +01:00
Thomas Petazzoni
ec5ab1dbd7 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>
2010-02-23 20:34:35 +01:00
Thomas Petazzoni
b5e742a642 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>
2010-02-23 20:34:35 +01:00
Thomas Petazzoni
fbcedeab9d kexec: bump version to fix build failure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-23 20:34:35 +01:00