Commit Graph

165 Commits

Author SHA1 Message Date
Thomas Petazzoni
0a67e77147 speech-tools: fix build failure by using Debian version and patches
The upstream version of speech-tools does not build with GCC >= 4.3,
mainly due to changes in how C++ headers are included. This is fixed
in Debian, so let's use the Debian version and patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-29 22:18:56 +02:00
Peter Korsgaard
f44935e4d3 swfdec: fix build when no libglib2-dev package is installed on host
Make sure it uses the libglib2-host binaries we are building.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 11:10:03 +02:00
Peter Korsgaard
6d249fcdfa gst-plugins-good: udp plugin needs ipv6 support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 16:34:57 +02:00
Peter Korsgaard
87e55feec7 mplayer: add optional sdl/freetype support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 13:08:24 +02:00
Peter Korsgaard
89fc8a4f5a mplayer: fix build after efb1d8d3f4 (Cleanup TARGET_CONFIGURE_OPTS)
mplayer's configure script got confused by the equal sign (=) we now have
in TARGET_CC because of --sysroot=<path>.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 11:24:30 +02:00
Peter Korsgaard
32d319e6f7 gst-plugins-base: ensure <stdint.h> is used
Otherwise the build breaks with the emulation _stdint.h in gstfft.c.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 10:25:09 +02:00
Thomas Petazzoni
538773a66f alsa-lib: make sure to only look in STAGING_DIR for Python includes
Even though we pass a -I option to tell alsa-lib to look for Python
includes in the STAGING_DIR, alsa-lib build process still looks in
/usr/include for some stuff, causing bug #321.

This fix is the one suggested by Ulf Samuelsson in bug #321, and
allows to make alsa-lib with Python support to build properly on a 64
bits machine with python-dev installed on the host. Without this fix,
the build fails with exactly the same problem that Ulf reported.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-18 23:26:25 +02:00
Thomas Petazzoni
a1c8fa41f6 Update all packages to quote $(TARGET_CC)
Now that TARGET_CC contains several space-separated words, it must be
used quoted everywhere.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07 08:20:21 +02:00
Thomas Petazzoni
e721a7c07e Merge TARGET_CONFIGURE_ENV into TARGET_CONFIGURE_OPTS
TARGET_CONFIGURE_ENV defines CFLAGS, LDFLAGS, CXXFLAGS and FCFLAGS,
separatly from all other variables that are part of
TARGET_CONFIGURE_OPTS. This is useless and not consistent with the
HOST_CONFIGURE_ variables, therefore we merge TARGET_CONFIGURE_ENV
into TARGET_CONFIGURE_OPTS and fix the few users of
TARGET_CONFIGURE_ENV.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07 08:14:41 +02:00
Peter Korsgaard
da32c7ca2d tremor: fix svn checkout
Commit 1dc19c445 (split tremor into its own package) unfortunately
broke the svn checkout step (but normally not noticable as we have
a tarball on sources.buildroot.net that will get downloaded instead).

Fix it by using a custom download step, and remove unused variables
while we're at it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-01 17:33:29 +02:00
Luca Ceresoli
5db7204c80 ffmpeg: add user-defined configure parameters
Closes #401

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-15 08:52:17 +02:00
Luca Ceresoli
56e4d69254 ffmpeg: allow customization of codecs, (de)muxers and other components
Add the option to customize the list of decoders, encoders, muxers, demuxers,
parsers, protocols, bsfs and filters to be built into ffmpeg, and to compile or
exclude input and output devices.

[Peter: fix qstrip invocation]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-14 23:39:15 +02:00
Luca Ceresoli
5253efadb0 ffmpeg: add commandline programs
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-14 23:39:15 +02:00
Luca Ceresoli
13293407c9 ffmpeg: add new package
[Peter: configure doesn't support --disable-nls / --disable-largefile,
 needs largefile support in toolchain]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-14 23:39:07 +02:00
Lionel Landwerlin
726616a8ef gstreamer: remove --disable-registry from configure options
--disable-registry has no dependency on libxml2 and should not be
linked to BR2_PACKAGE_GSTREAMER_LIBXML2. If we want to disable
registry then we should add another option.

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-08 23:24:32 +02:00
Peter Korsgaard
50685f1ce3 gst-plugins-base: make sure alsa-lib is detected if present
Make sure alsa-lib is built before gst-plugins-base if enabled, so
configure detects the presence of alsa and builds alsasink/src.

Reported-by: Phil Edworthy <Phil.Edworthy@renesas.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-26 23:19:44 +02:00
Peter Korsgaard
e155ef3cab libdvdread: needs largefile support in toolchain
So in turn does libdvdnav and the dvdnav element in gst-plugins-bad.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-26 13:52:26 +02:00
Peter Korsgaard
b730010c90 package: gettext needs WCHAR support
gettext needs WCHAR support in the toolchain, and as libglib2 depends on
gettext and lots of stuff depends on libglib2, quite a lot of packages
needs to have their dependencies adjusted.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-25 23:38:44 +02:00
Peter Korsgaard
d874b08abc swfdec: use depends on for gstreamer
Gstreamer has complicated dependencies (because of glib2), so use
depends on rather than select, similar to how it is done for gtk2.

At the same time default gtk/gstreamer support to Y if those are
available, as they are likely wanted.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-25 22:50:40 +02:00
Peter Korsgaard
c89b725978 Merge branch '2010-05-15-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-05-21 20:30:28 +02:00
Julien Boibessot
c36e3f3896 aumix: SITE has changed
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-20 22:41:15 +02:00
Thomas Petazzoni
542fbe8520 Make all package using gettext rely on BR2_NEEDS_GETTEXT
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:27 +02:00
Thomas Petazzoni
aa3439e6a3 vlc: mark as broken
Before 2010.02, VLC didn't build, because it didn't pass the
appropriate --disable- options according to the libraries available in
Buildroot. Now, 2010.05 is going to be released, and no one bothered
to fix VLC. Therefore, let's mark VLC as broken.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-10 23:43:02 +02:00
Peter Korsgaard
32ed970075 mplayer: disable parallel builds (make -jX)
The build system races with itself when building the internal vidix stuff
(x86 only), so use MAKE1.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-04 22:48:16 +02:00
Peter Korsgaard
23ff3c2786 mplayer: internal copies of libdvdread/libdvdcss require largefile support
So disable when we don't have largefile support in toolchain.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-04 21:38:14 +02:00
Peter Korsgaard
671ec3917b alsa-utils: alsamixer needs WCHAR
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-26 23:01:14 +02:00
Peter Korsgaard
5ad2672470 alsa-utils: fix usr/share/alsa installation to target
Closes #1573

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-26 22:58:25 +02:00
Thomas Petazzoni
157526cb05 libid3tag: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:58 +02:00
Thomas Petazzoni
7100a85e37 libmad: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:54 +02:00
Thomas Petazzoni
3b838d8640 aumix: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:50 +02:00
Thomas Petazzoni
8e4a53cf8c madplay: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:46 +02:00
Peter Korsgaard
f220498f4b get rid of broken nios2 support
Has been marked as broken for more than 1 year, with no indication
that anyone cares, and it needs a bunch of special handling.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-30 17:19:59 +02:00
Peter Korsgaard
a96be19bc3 package: remove redundant DISABLE_{IPV6,NLS,LARGEFILE} configure args
Makefile.autotools.in automatically adds these to the configure invocation,
so there's no need to explicitly list them.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-22 14:29:00 +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
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
Peter Korsgaard
ac8329cff0 Merge branch 'misc-fixes3' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-02-18 22:02:03 +01:00
Thomas Petazzoni
1072cf190c alsa-utils: force the variant of ncurses library
Two variants of the ncurses library exist: the normal one, and the
ncursesw one, which has support for wide char. Currently, Buildroot
only builds the normal variant (the second variant requires
--enable-widec while compiling ncurses).

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

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

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-18 19:08:41 +01:00
Julien Boibessot
909fb5be4b alsa-utils: alsamixer need libform, libmenu & libpanel (from ncurses)
Without this patch alsamixer complains about missing libs and
ldd says:
        libform.so.5 => not found
        libmenu.so.5 => not found
        libpanel.so.5 => not found
        libncurses.so.5 => /usr/lib/libncurses.so.5 (0x4000e000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0x40056000)
        ... <cut>

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-18 11:11:43 +01:00
Julien Boibessot
0c6ef230f3 gstreamer-good: add speex dependancy
Otherwise, even if speex is selected, as gstreamer is compiled first,
speex plugin is not activated/built.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-17 11:26:09 +01:00
Thomas Petazzoni
94e172c8e7 Temporary fix for alsa-lib breakage with --disable-pcm
The current version of alsa-lib (1.0.22) does not build when
--disable-pcm is used at configure time. I've reported the issue at
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4913.

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-14 12:10:38 +01:00
Peter Korsgaard
640c740378 package: remove broken asterisk package
Has been marked as broken for more than one year.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-09 12:21:37 +01:00
William Wagner
aea2ef9b9e PATCH: Add more config options to alsa, bump version
Signed-off-by: William Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-28 23:13:05 +01:00
Peter Korsgaard
0099ed2bf0 gstreamer: fix unaligned detection for x86-64
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-18 17:04:12 +01:00
Lionel Landwerlin
4914383ebd Fix gst-plugins-bad dependency on libdvdnav
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-20 19:47:57 +01:00
Peter Korsgaard
6184478206 libvorbis: remove unused cruft from pre-autotools.in
The AUTOTARGETS macro handles this already.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-17 22:17:12 +01:00
Peter Korsgaard
f81d072f15 mpg123: select sensible cpu optimization depending on arch/fpu
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-17 22:10:40 +01:00
Peter Korsgaard
ec6ef827d6 mpg123: convert to Makefile.autotools.in format
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-17 21:45:12 +01:00
Thomas Petazzoni
6dc336b293 host-pkgconfig is now host-pkg-config
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:31 +01:00
Lionel Landwerlin
5c2ceaa21a package: Added libdvdnav package (dependency of gst-plugins-bad)
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-12 08:55:09 +01:00
Lionel Landwerlin
1323ecdd09 Added libdvdread package (dependency of gst-plugins-bad)
[Peter: use official upstream, add url to kconfig, fix AUTORARGETS path]
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-11 00:32:35 +01:00