Commit Graph

104 Commits

Author SHA1 Message Date
Thomas Petazzoni
665e13c85e Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS
Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed
from "prefer static libraries when possible" to "use only static
libraries". The former semantic didn't make much sense, since the user
had absolutely no control/idea of which package would use static
libraries, and which packages would not. Therefore, for quite some
time, we have been starting to enforce that BR2_PREFER_STATIC_LIB
should really build everything with static libraries.

As a consequence, this patch renames BR2_PREFER_STATIC_LIB to
BR2_STATIC_LIBS, and adjust the Config.in option accordingly.

This also helps preparing the addition of other options to select
shared, shared+static or just static.

Note that we have verified that this commit can be reproduced by
simply doing a global rename of BR2_PREFER_STATIC_LIB to
BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-12-11 22:48:13 +01:00
Peter Korsgaard
e9b6cf9746 gst1-libav: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-08 08:53:38 +01:00
Peter Korsgaard
9964db4b35 gst1-plugins-ugly: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-08 08:53:38 +01:00
Peter Korsgaard
13b4fc7f0a gst1-plugins-bad: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-08 08:53:38 +01:00
Peter Korsgaard
9b6cec1c24 gst1-plugins-good: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-08 08:53:38 +01:00
Peter Korsgaard
938ec17be2 gst1-plugins-base: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-08 08:53:38 +01:00
Peter Korsgaard
62f7a99c38 gstreamer1: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-08 08:53:38 +01:00
Peter Seiderer
c3c6fa297a gst1-validate: needs python
If host installed python version is < 2.7.0 gst1-validate compile will fail with

	checking for a Python interpreter with version >= 2.7.0... none
	configure: error: no suitable Python interpreter found

Fixed by adding host-python dependency.

Target tool /usr/bin/gst-validate-launcher is a python2 script

	$ head -1 /usr/bin/gst-validate-launcher
	#!/usr/bin/env python2

(and not easily upgradable to python3) so add python2 dependency and to fix
the following runtime error

	$ gst-validate-launcher
	Traceback (most recent call last):
	  File "/usr/bin/gst-validate-launcher", line 44, in <module>
	    from launcher.main import main
	  File "/usr/lib/gst-validate-launcher/python/launcher/main.py", line 26, in <module>
	    import reporters
	  File "/usr/lib/gst-validate-launcher/python/launcher/reporters.py", line 29, in <module>
	    from xml.sax import saxutils
	ImportError: No module named xml.sax

add additional BR2_PACKAGE_PYTHON_PYEXPAT select.

Fixes:
 http://autobuild.buildroot.net/results/e8c/e8c27db2a0935c2daef173d5650f6a2b3a219493/
 http://autobuild.buildroot.net/results/723/723fe3036e8f0af2a90ff9e98173387466655000/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-11-22 20:18:59 +01:00
Thomas Petazzoni
f284e4b8b5 gst1-libav: allow usage of ARMv6 optimizations on ARMv7 platforms
Contrary to the ffmpeg package, the gst1-libav package was only
allowing ARMv6 optimizations on ARMv6 platforms. This commit also
allows ARMv6 optimizations on ARMv7 platforms, like the ffmpeg package
does.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-06 23:28:03 +01:00
Thomas Petazzoni
2cb7b9fe1e gst1-libav: use the new BR2_ARM_CPU_ARM* options
Instead of using the Config.in options for each individual ARM core,
use the newly introduced BR2_ARM_CPU_ARM* options, which exist per ARM
architecture.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-06 23:05:51 +01:00
Peter Seiderer
d3cc980903 gst1-validate: new package
Example usages can be found at [1].

[1] http://blogs.gnome.org/tsaunier/2014/04/21/gst-validate-a-suite-of-tools-to-run-integration-tests-for-gstreamer-2/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>

Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
 [build test on minimal internal x86_64 toolchain]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-22 22:57:42 +02:00
Bernd Kuhls
822a757456 infra: Move --enable/--disable-debug to package/Makefile.in
A lot of packages ignored BR2_ENABLE_DEBUG. This patch simplifies the handling of
this option by adding the corresponding configure option to the global Makefile
for target packages.

For host packages --disable-debug is added to the global Makefile.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-19 17:07:14 +02:00
Thomas De Schampheleire
ed8338b868 packages: rename misc. occurrences of _OPT into _OPTS
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS,
change remaining occurrences of _OPT into _OPTS.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04 18:56:25 +02:00
Thomas De Schampheleire
aaffd209fa packages: rename FOO_CONF_OPT into FOO_CONF_OPTS
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS,
make the same change for FOO_CONF_OPT.

Sed command used:
   find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g'

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04 18:54:16 +02:00
Thomas De Schampheleire
1d2574ac6f packages: rename FOO_AUTORECONF_OPT into FOO_AUTORECONF_OPTS
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS,
make the same change for FOO_AUTORECONF_OPT.

Sed command used:
    find * -type f | xargs sed -i 's#_AUTORECONF_OPT\>#&S#g'

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04 18:53:25 +02:00
Peter Korsgaard
248e0f1c46 gst1-libav: bump version
And add tarball hash from release announcement.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-29 17:32:28 +02:00
Peter Korsgaard
d096bf0143 gst1-plugins-ugly: bump version
And add tarball hash from release announcement.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-29 17:01:32 +02:00
Peter Korsgaard
1632be8e0d gst1-plugins-bad: bump version
And add tarball hash from release announcement.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-29 16:55:46 +02:00
Peter Korsgaard
99f85b80d7 gst1-plugins-good: bump version
And add tarball hash from release announcement. Also drop v4l2 patch as it
is now upstream.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-29 16:52:35 +02:00
Peter Korsgaard
a5e912cd8b gst1-plugins-base: bump version
And add tarball hash from release announcement.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-29 16:47:10 +02:00
Peter Korsgaard
ff494d8874 gstreamer1: bump version
And add tarball hash from release announcement.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-29 16:44:40 +02:00
Bernd Kuhls
155a48bac2 package/wayland: requires shared library
Fixes
  CC       src/libwayland_server_la-wayland-server.lo
src/wayland-server.c:36:19: error: dlfcn.h: No such file or directory

using this defconfig
http://autobuild.buildroot.net/results/dfd/dfd81f1f1f0f315317b2a85d24b286a277ac7c16/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-28 22:17:34 +02:00
Peter Korsgaard
0112fcfa8c gst1-plugins-bad: fix sndfile comment
The package is not called gst-plugins-bad, and the other comments in the
file are of the "foo plugin needs a toolchain w/.." form, so use that for
sndfile as well.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-16 23:05:12 +02:00
Jérôme Pouiller
1f54420bdc gst-plugins-bad-plugin-sndfile: Fix comment display
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-16 23:03:26 +02:00
Peter Korsgaard
117e864a53 gst1-plugins-good: gstv4l2allocator: O_CLOEXEC needs _GNU_SOURCE
Fixes http://autobuild.buildroot.net/results/ee9/ee985d94da6a7115b6e62cf407e3c6a90eb3e4bf/

On some systems (E.G. uClibc and older Glibc versions), O_CLOEXEC is only
defined when _GNU_SOURCE is specified, so do so.

Patch submitted upstream: https://bugzilla.gnome.org/show_bug.cgi?id=736670

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-15 15:02:36 +02:00
Peter Korsgaard
e3a7f3f3ad gst-omx: bump version
Adjust configuration file library paths in a post-patch hook instead of a
patch as that is more robust / makes it easier to bump the version.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-09 22:17:17 +02:00
Peter Korsgaard
9c92ce6d00 gst1-libav: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-09 21:48:08 +02:00
Peter Korsgaard
2cb13667b7 gst1-plugins-ugly: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-09 21:46:29 +02:00
Peter Korsgaard
83e29f2656 gst1-plugins-bad: bump version
Patch is now upstream.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-09 21:43:24 +02:00
Peter Korsgaard
dfa666265d gst1-plugins-good: bump version
And cleanup X11 handling while we're at it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-07 23:03:58 +02:00
Peter Korsgaard
677f091e73 gst1-plugins-base: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-07 22:45:26 +02:00
Peter Korsgaard
0b17269641 gstreamer1: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-07 22:41:51 +02:00
Alexey Brodkin
520e74f2b5 gstreamer{, 1}: fix unaligned access detection for arc
Fixes the same issue as reported for microblaze here
http://autobuild.buildroot.net/results/f49/f4914bb3999c8a7a0c0a2afdac5de40fb9058372/

Similar to the existing handling for avr32, microblaze and xtensa.
Also add it for gstreamer1 for good measure as it was missing there as well.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>

Cc: Anton Kolesov <akolesov@synopsys.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-08-21 15:21:46 +02:00
Anton Kolesov
8277bb18db pulseaudio: add dependency on atomic operations
This fixes:
http://autobuild.buildroot.net/results/d463f3bf730a600a07ed6cd33695bf45e9fd3540/

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
[yann.morin.1998@free.fr: use the new symbol; remove comment strings]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-08-18 11:00:07 +02:00
Anton Kolesov
da2f182237 cairo: add dependency on atomic operations
This fixes:
http://autobuild.buildroot.net/results/fadfaa9916724d310d0dda555a1db31bee1601d0/

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
[yann.morin.1998@free.fr: use the new symbol; remove comment strings;
 fix weston's comment]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-08-18 10:58:21 +02:00
Peter Korsgaard
921d618566 gst1-plugins-good: v4l2 plugin needs kernel headers 3.0+
Fixes http://autobuild.buildroot.net/results/284/284313e660c3c9fad891fd71aa56ca5751946dc6/

For the multi planar api (mp_pix). It was actually added in 2.6.39 (commit
f8f3914cf9), but we only have symbols for 3.x kernels, so use 3.0 instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-08-15 18:50:34 +02:00
Jerzy Grzegorek
c7f4b96471 package: remove the trailing slash sign from <PKG>_SITE variable
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk:

$(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE))

so it is redundant.
This patch removes it from $(PKG)_SITE variable for BR consistency.

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-31 23:17:46 +02:00
Thomas Petazzoni
26043fdbf0 opencv: since 2.4.8 bump, requires NPTL
The core module of OpenCV is now using the pthread_spin_*() API, which
is only available in the 'linuxthreads' and 'NPTL' thread
implementations, but not in the 'linuxthreads.old'
implementation. Therefore, this commit adds a dependency on OpenCV to
NPTL threads.

Fixes:

  http://autobuild.buildroot.org/results/75d/75db3827ec4be8a3805508a22b8b6a4d1a3b9ce3/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-18 10:07:26 +02:00
Yann E. MORIN
368eab1833 package/gst1-plugins-bad: gettextize to match the new gettext version
The gettext macros in the package are from a gettext version older than
the ones we have in Buildroot, so autoreconf fails.

Run gettextize prior to running autoreconf, like we do in wget.

Fixes:
    http://autobuild.buildroot.org/results/ea6/ea6797f9595c34734229c78b4e25bf624925144b/
    http://autobuild.buildroot.org/results/578/5781774ae1b7ba85efee4bc933235304169b9196/
    http://autobuild.buildroot.org/results/188/18888e06058dff0249d7c5e10a2c4f46e059878a/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-17 09:50:14 +02:00
Yann E. MORIN
6841142dd1 package/gst1-libav: disable on avr32
gst1-libav produces particularly large binaries, and the relocations
needed for it do not fit in the possible relocation mechanisms
available on avr32. Let's just disable it.

Fixes:
    http://autobuild.buildroot.net/results/15e/15e31d92848b53f001bd6acde71409af3091215c/

[Peter: drop tvheadend hunk]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-06-04 23:33:01 +02:00
Thomas Petazzoni
3d140790eb libdvdread: needs dynamic library support
Fixes:

  http://autobuild.buildroot.org/results/0ed/0ed3152a166a69d65a226e3cef755ed370cc245b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-06-01 20:54:08 +02:00
Peter Korsgaard
27a5414804 Merge branch 'next'
Conflicts:
	package/gdb/Config.in.host

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-06-01 09:58:54 +02:00
Cody P Schafer
40e58dab0c powerpc: add BR2_POWERPC_CPU_HAS_ALTIVEC to replace adhoc deps/checks
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-26 21:14:08 +02:00
Thomas Petazzoni
382eef528e pulseaudio: uses fork(), not available on noMMU platforms
Even though pulseaudio has some HAVE_FORK compile-time conditionals to
avoid using fork(), those parts of pulseaudio are not using it. Since
using pulseaudio on !MMU platforms is fairly unlikely, we simply
disable it when no MMU is available, and propagate this dependency to
the appropriate locations.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-17 23:27:42 +02:00
Gustavo Zacarias
befab216a2 arch/arm: drop ARM(7TDMI/720T/740T) support
The toolchain currently doesn't build for nommu ARM and is in need of
serious work.
Problem is there are no emulation targets and real ARM(7TDMI/720T/740T)
hardware that's capable of running linux (enough memory, having a
memory controller...) is VERY rare and uses very old versions to
make it usable.

The ARM nommu focus should go into Cortex M series processors that are
obtainable at reasonable cost on modern hardware that has external
memory controllers.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-08 16:53:49 +02:00
Peter Korsgaard
d5d0067a7f gst1-libav: bump version
Bug reports fixed in this release:

      * 727779 : avdec_h264, matroskademux: crash while seeking (1.2 regression)

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-04-24 13:36:09 +02:00
Peter Korsgaard
af56ff42ab gst1-plugins-ugly: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-04-24 13:36:09 +02:00
Peter Korsgaard
ca8c5b6e3b gst-plugins-bad: bump version
Bug reports fixed in this release:

      * 724013 : Don't hardcode /usr/share/sounds/sf2 path in fluiddec
      * 725137 : hlsdemux: fails to compute media playlist URL if there is a query parameter
      * 725140 : hlsdemux: fails to correctly parse CODECS and RESOLUTION

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-04-24 13:36:09 +02:00
Peter Korsgaard
11484e516e gst1-plugins-good: bump version
Bug reports fixed in this release:

      * 725104 : qtdemux: reverse playback and video stream switching failure
      * 722185 : souphttpsrc: racy " server does not support seeking " error
      * 724619 : crash when reading the device name property of pulsesink
      * 725124 : rtspsrc: Fix deadlock when task creation is no successful
      * 725712 : rtpsession: Crash when RTCP FIR received with unknown SSRC
      * 725860 : v4l2src: Fix using v4l2src with Hauppauge HDPVR video capture device
      * 726777 : rtpjpegpay: payload size not correctly calculated
      * 728017 : [regression]eos event could not be send out from gstrtpjitterbuffer.
      * 728041 : rtph264depay: marks all output buffers as delta units when outputting avc format
      * 724638 : aacparse : Missing resilience when no audio frame is found
      * 727329 : check: souphttpsrc: unknown type name ‘SoupStatus’

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-04-24 13:36:09 +02:00
Peter Korsgaard
45b87a6341 gst1-plugings-base: bump version
Bug reports fixed in this release:

      * 693263 : typefinding: MPEG-2 video ES detected as H.263
      * 683504 : playsink: deadlock when disabling subtitles and suboptimal disabling of subtitles
      * 700770 : typefinding: mp3 file mis-detected as h263 video
      * 723597 : tagdemux: Seek event in GST_FORMAT_TIME are converted to BYTES to early
      * 724633 : oggdemux: ignores last page in push mode
      * 724720 : rtspconnection: not possible to disconnect/reconnect read connection in tunneled mode
      * 725313 : rtspconnection: closed() callback is never called in tunneled mode
      * 725644 : typefinding: mp3 file is misdetected as H.263
      * 726642 : rtspconnection: minor memory leak in error handling
      * 727025 : adder: rework the logic to check if eos has to be sent.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-04-24 13:36:09 +02:00