summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer
AgeCommit message (Collapse)Author
2017-11-05wayland: Fix installation patch issueFabien Lahoudere
This patch modify the way we manage wayland path issues. Instead of patching each recipe to make it work with wayland and its protocols, it is better to patch wayland to fix its path issues. So wayland-scanner.pc, wayland-client.pc and wayland-protocols.pc are patched to change paths. Then we can drop the following workaround: WAYLAND_PROTOCOLS_SYSROOT_DIR=${RECIPE_SYSROOT} in: - gtk+3 - libsdl2 - xserver-xorg - gstreamer1.0-plugins-bad - weston-2.0.0 We also dropped libsdl2 patches which fix wayland paths. Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-05gstreamer1.0-python: upgrade to version 1.12.3Nicolas Dechesne
* Bugfixes only release. * Removed SRC_URI from .inc file since it was duplicated in .bb file as well. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-11-05gstreamer1.0-vaapi: upgrade to version 1.12.3Nicolas Dechesne
Bugfixes only release. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-11-05gstreamer1.0-libav: upgrade to version 1.12.3Nicolas Dechesne
Bugfixes only release. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-11-05gstreamer1.0-omx: upgrade to version 1.12.3Nicolas Dechesne
Bugfixes only release. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-11-05gstreamer1.0-rtsp-server: upgrade to version 1.12.3Nicolas Dechesne
Bugfixes release only. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-11-05gstreamer1.0-plugins-ugly: upgrade to version 1.12.3Nicolas Dechesne
Bugfixes only release. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-11-05gstreamer1.0-plugins-bad: upgrade to version 1.12.3Nicolas Dechesne
Bugfixes only release. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-11-05gstreamer1.0-plugins-good: upgrade to version 1.12.3Nicolas Dechesne
Patch removed since it is already upstream now. Bugfixes release only. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-11-05gstreamer1.0-plugins-base: upgrade to version 1.12.3Nicolas Dechesne
Bugfixes release only. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-11-05gstreamer1.0: upgrade to version 1.12.3Nicolas Dechesne
Bugfixes release only. Removed local patch which was merged upstream. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-10-16gstreamer1.0-plugins-bad: Add dependency on libdrm when wayland is enabledKhem Raj
Fixes WARNING: gstreamer1.0-plugins-bad-1.12.2-r0 do_package_qa: QA Issue: libgstwayland-1.0 rdepends on libdrm, but it isn't a build dependency, missing libdrm in DEPENDS or PACKAGECONFIG? [build-deps] WARNING: gstreamer1.0-plugins-bad-1.12.2-r0 do_package_qa: QA Issue: gstreamer1.0-plugins-bad-waylandsink rdepends on libdrm, but it isn't a build dependency, missing libdrm in DEPENDS or PACKAGECONFIG? [build-deps] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-09-25gstreamer1.0-libav: Fix build on mipsKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05gstreamer1.0-plugins-good: fix 4k playback for v4l2 decoderNicolas Dechesne
Backport a fix already merged upstream in master and 1.12 branch, it fixes 4K video playback on any platform that uses v4l2 codecs, such as Dragonboard 820c. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-16gstreamer1.0-plugins-bad: do not provide a fallback to openssl 1.0Alexander Kanavin
This does not work as intended: enabling either of the alternatives causes the other alternative to append a --disable-hls flag to configure. Anyone needing openssl 1.0 should set it up manually via EXTRA_OECONF_append or similar. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-16gst-player: remove workaround which disable visualizationsMaxin B. John
As we upgrade to libva 1.8.3, we can remove the workaround patch which disables visualizations in gst-player: 1. 0001-gtk-play-Disable-visualizations.patch Also remove the upstreamed patches: 1. filechooser.patch 2. Fix-pause-play.patch 3. Add-error-signal-emission-for-missing-plugins.patch Fixes [YOCTO #11437] Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-16gstreamer1.0-python: upgrade to version 1.12.2Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-16gstreamer1.0-vaapi: upgrade to version 1.12.2Carlos Rafael Giani
* Remove backported patch: 1. vaapivideobufferpool-create-allocator-if-needed.patch * Add PACKAGECONFIG_GL variable to make it possible for BSP layers to customize what should be the default, EGL or GLX * Set virtual/egl instead of virtual/mesa as egl dependency in case platform specific drivers provide virtual/egl functionality Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-16gstreamer1.0-libav: upgrade to version 1.12.2Maxin John
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-16gstreamer1.0-omx: upgrade to version 1.12.2Maxin John
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-16gstreamer1.0-rtsp-server: upgrade to version 1.12.2Maxin John
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-16gstreamer1.0-plugins-ugly: upgrade to version 1.12.2Maxin John
* libmad plugin was removed in 1.12.0, since mad is GPLed, unmaintained, and both gst-libav & the mpg123 plugin are fully functional alternatives. Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-16gstreamer1.0-plugins-bad: upgrade to version 1.12.2Carlos Rafael Giani
* Remove backported patches: 1. 0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch 2. 0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch 3. 0001-mssdemux-improved-live-playback-support.patch * Refreshed the following patches: 1. 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch Extended patch to include fix for libgstallocators 2. 0001-Prepend-PKG_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch Updated to apply to 1.12.2 3. gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch Updated to apply to 1.12.2 * Removed license checks in tta directory as it doesn't exist anymore. * In 1.12.0, old unsupported plugins were removed. As a result, the list of unsupported plugins was removed. Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-16gstreamer1.0-plugins-good: upgrade to version 1.12.2Maxin John
* Remove backported patch: 1. 0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch * Added RPROVIDES to handle the renamed plugins (oss4 is not enabled): 1. libgstpulse -> libgstpulseaudio 2. libgstsouphttpsrc -> libgstsoup * Updated gstreamer1.0-meta-base to include this change: 1.gstsouphttpsrc plugin was renamed to gstsoup Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-16gstreamer1.0-plugins-base: upgrade to version 1.12.2Maxin John
* Remove upstreamed patch: 1. encodebin-Need-more-buffers-in-output-queue-for-bett.patch Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-16gstreamer1.0: upgrade to version 1.12.2Carlos Rafael Giani
* Version 1.12 introduces support for libdw (provided by elfutils). libdw adds source lines & numbers to backtraces. A new "dw" packageconfig added for enabling/disabling this feature. In addition, the old patch for deterministic unwind configuration was replaced with one that also allows the same for the dw configuration. This new patch was also submitted to bugzilla. * Leftover docbook cruft was removed, meaning that the "--disable-docbook" configure switch is gone. Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-16selftest: fix distrodata.py to use per-recipe UPSTREAM_VERSION_UNKNOWN settingAlexander Kanavin
... instead of a global exception list which was problematic. [YOCTO #11896] Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-11gstreamer-plugins-bad: replace openssl dependency with nettle for hls pluginAlexander Kanavin
It has not been ported to openssl 1.1 (and there's nothing in upstream git), but it's possible to use nettle or gcrypt intead. Also, provide a fallback option to use openssl 1.0 when necessary. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-07-24gstreamer1.0-python: add new recipeMartin Kelly
Previously, we had a gst-python recipe, but it supported only GStreamer 0.1. After GStreamer switched the Python bindings to use GObject introspection, we were no longer able to build the bindings, and they were dropped in this patch: https://patchwork.openembedded.org/patch/93793/ However, at this point, we have a gobject-introspection class, so we can use the bindings again, this time with GStreamer 1.0. Signed-off-by: Martin Kelly <mkelly@xevo.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-07-08mesa, gstreamer: Add "vulkan" DISTRO_FEATUREJussi Kukkonen
It doesn't do much but does make enabling vulkan a little less fiddly. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-07-08gstreamer1.0-plugins-bad: Add vulkan PACKAGECONFIGJussi Kukkonen
This adds a Vulkan video sink (using xcb and/or wayland). Add a few patches to fix the build. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-07-08gstreamer1.0-plugins-bad: Fix missing library with bcm eglKhem Raj
userland graphics driver provided libegl for rpi depends upon symbols from vchostif library, therefore add it to linker cmdline helps with loadng gst-gl plugins on rpi Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-05-29gstreamer1.0-omx: delete broken m4 filesRoss Burton
These m4 files need to be deleted so that the versions in the sysroot that we've patched are used. Specifically, building documentation fails as the gtk-doc checks fail. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-05-10gstreamer1.0-libav: Fix build with gcc7Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-29gst-player: Disable visualizations as workaroundJussi Kukkonen
Audio playback in gtk-play is broken with vaapi because the visualizations do not work: disable visualizations as workaround. This should be reverted as soon as [YOCTO #11410] is fixed. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-28gstreamer1.0-vaapi: Fix playback breaking bugJussi Kukkonen
gstreamer-vaapi fails to play files with specific frame sizes because of buffer allocation issues. Fix is a backport. Fixes [YOCTO #11311]. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-11gstreamer1.0-plugins-good: Backport patch for v4l2object videometaCarlos Rafael Giani
This patch ensures videometa is added to mem2mem decoder output in case the output frames have padding rows/columns Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-11gstreamer1.0-plugins-bad: Update packageconfigs and config flagsCarlos Rafael Giani
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-16gstreamer1.0-vaapi: Remove unused patchJussi Kukkonen
This patch has seemingly never been applied in the recipe (even when it lived in meta-intel). I don't think we should have unused patches in the repo: If the patch is useful it could be reintroduced so that the binaries are packaged into a separate package. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-16gstreamer1.0-omx: Remove unused patchJussi Kukkonen
The patch was only used in the ancient and recently removed git recipe. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-10gstreamer: remove git recipesRoss Burton
Yet again these were checking out 1.8.2 tags and then trying to apply 1.10.4 patches on top. Clearly nobody is actually using them, so delete them so they can't go stale again. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-04gstreamer1.0-omx_1.2.0: remove recipeMaxin B. John
Removing this recipe since we have the latest gstreamer1.0-omx_1.10.4 in place. Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-01gstreamer: update to 1.10.4Maxin B. John
bug-fix release: *) Various fixes for crashes, assertions, deadlocks and memory leaks on fuzzed input files and in other situations (CVE-2017-5847, CVE-2017-5848) *) gst-libav was updated to ffmpeg 3.2.4, fixing a couple of CVEs Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-01gst-player: Upgrade to recent git revisionJussi Kukkonen
The update contains a small number of bug fixes. Removed one upstreamed patch. gst-player does not have releases: this is the current git master. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-01recipes: Make use of the new bb.utils.filter() functionPeter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-23gstreamer1.0-vaapi: inherit upstream-version-is-evenRoss Burton
These plugins follow the GStreamer versioning, so inherit this class to ensure we don't get notified about development releases. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-05gstreamer: update to 1.10.3Nicolas Dechesne
New bugfix release: * updated version/checksums * removed 1 patch in -good which was merged upstream Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-01-26gstreamer1.0-plugins-base: disable ivorbisRoss Burton
Even old hardware these days doesn't really need fixed-integer Vorbis decoding by default, so disable Tremor out of the box. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-23Switch to Recipe Specific SysrootsRichard Purdie
This patch is comparatively large and invasive. It does only do one thing, switching the system to build using recipe specific sysroots and where changes could be isolated from it, that has been done. With the current single sysroot approach, its possible for software to find things which aren't in their dependencies. This leads to a determinism problem and is a growing issue in several of the market segments where OE makes sense. The way to solve this problem for OE is to have seperate sysroots for each recipe and these will only contain the dependencies for that recipe. Its worth noting that this is not task specific sysroots and that OE's dependencies do vary enormously by task. This did result in some implementation challenges. There is nothing stopping the implementation of task specific sysroots at some later point based on this work but that as deemed a bridge too far right now. Implementation details: * Rather than installing the sysroot artefacts into a combined sysroots, they are now placed in TMPDIR/sysroot-components/PACKAGE_ARCH/PN. * WORKDIR/recipe-sysroot and WORKDIR/recipe-sysroot-native are built by hardlinking in files from the sysroot-component trees. These new directories are known as RECIPE_SYSROOT and RECIPE_SYSROOT_NATIVE. * This construction is primarily done by a new do_prepare_recipe_sysroot task which runs before do_configure and consists of a call to the extend_recipe_sysroot function. * Other tasks need things in the sysroot before/after this, e.g. do_patch needs quilt-native and do_package_write_deb needs dpkg-native. The code therefore inspects the dependencies for each task and adds extend_recipe_sysroot as a prefunc if it has populate_sysroot dependencies. * We have to do a search/replace 'fixme' operation on the files installed into the sysroot to change hardcoded paths into the correct ones. We create a fixmepath file in the component directory which lists the files which need this operation. * Some files have "postinstall" commands which need to run against them, e.g. gdk-pixbuf each time a new loader is added. These are handled by adding files in bindir with the name prefixed by "postinst-" and are run in each sysroot as its created if they're present. This did mean most sstate postinstalls have to be rewritten but there shouldn't be many of them. * Since a recipe can have multiple tasks and these tasks can run against each other at the same time we have to have a lock when we perform write operations against the sysroot. We also have to maintain manifests of what we install against a task checksum of the dependency. If the checksum changes, we remove its files and then add the new ones. * The autotools logic for filtering the view of m4 files is no longer needed (and was the model for the way extend_recipe_sysroot works). * For autotools, we used to build a combined m4 macros directory which had both the native and target m4 files. We can no longer do this so we use the target sysroot as the default and add the native sysroot as an extra backup include path. If we don't do this, we'd have to build target pkg-config before we could built anything using pkg-config for example (ditto gettext). Such dependencies would be painful so we haven't required that. * PKDDATA_DIR was moved out the sysroot and works as before using sstate to build a hybrid copy for each machine. The paths therefore changed, the behaviour did not. * The ccache class had to be reworked to function with rss. * The TCBOOTSTRAP sysroot for compiler bootstrap is no longer needed but the -initial data does have to be filtered out from the main recipe sysroots. Putting "-initial" in a normal recipe name therefore remains a bad idea. * The logic in insane needed tweaks to deal with the new path layout, as did the debug source file extraction code in package.bbclass. * The logic in sstate.bbclass had to be rewritten since it previously only performed search and replace on extracted sstate and we now need this to happen even if the compiled path was "correct". This in theory could cause a mild performance issue but since the sysroot data was the main data that needed this and we'd have to do it there regardless with rss, I've opted just to change the way the class for everything. The built output used to build the sstate output is now retained and installed rather than deleted. * The search and replace logic used in sstate objects also seemed weak/incorrect and didn't hold up against testing. This has been rewritten too. There are some assumptions made about paths, we save the 'proper' search and replace operations to fixmepath.cmd but then ignore this. What is here works but is a little hardcoded and an area for future improvement. * In order to work with eSDK we need a way to build something that looks like the old style sysroot. "bitbake build-sysroots" will construct such a sysroot based on everything in the components directory that matches the current MACHINE. It will allow transition of external tools and can built target or native variants or both. It also supports a clean task. I'd suggest not relying on this for anything other than transitional purposes though. To see XXX in that sysroot, you'd have to have built that in a previous bitbake invocation. * pseudo is run out of its components directory. This is fine as its statically linked. * The hacks for wayland to see allarch dependencies in the multilib case are no longer needed and can be dropped. * wic needed more extensive changes to work with rss and the fixes are in a separate commit series * Various oe-selftest tweaks were needed since tests did assume the location to binaries and the combined sysroot in several cases. * Most missing dependencies this work found have been sent out as separate patches as they were found but a few tweaks are still included here. * A late addition is that extend_recipe_sysroot became multilib aware and able to populate multilib sysroots. I had hoped not to have to add that complexity but the meta-environment recipe forced my hand. That implementation can probably be neater but this is on the list of things to cleanup later at this point. In summary, the impact people will likely see after this change: * Recipes may fail with missing dependencies, particularly native tools like gettext-native, glib-2.0-native and libxml2.0-native. Some hosts have these installed and will mask these errors * Any recipe/class using SSTATEPOSTINSTFUNCS will need that code rewriting into a postinst * There was a separate patch series dealing with roots postinst native dependency issues. Any postinst which expects native tools at rootfs time will need to mark that dependency with PACKAGE_WRITE_DEPS. There could well be other issues. This has been tested repeatedly against our autobuilders and oe-selftest and issues found have been fixed. We believe at least OE-Core is in good shape but that doesn't mean we've found all the issues. Also, the logging is a bit chatty at the moment. It does help if something goes wrong and goes to the task logfiles, not the console so I've intentionally left this like that for now. We can turn it down easily enough in due course. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19sysprof/gst-player/pcmanfm: Add missing glib-2.0-native DEPENDSRichard Purdie
These recipes use glib-2.0 NLS tools so we need to depend on glib-2.0-native. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>