gstreamer1.0: Upgrade to 1.10.1
PATCH 1/8 gstreamer1.0: Upgrade to 1.10.1
Remove backported patches and upstreamed ones
Drop --disable-trace its no more in 1.10.x
Add packageconfig option for kms, keep it disabled by default in bad plugins recipe
---
...libav_1.8.3.bb => gstreamer1.0-libav_1.10.1.bb} | 5 +-
.../gstreamer/gstreamer1.0-plugins-bad.inc | 1 +
...-don-t-hardcode-libtool-name-when-running.patch | 35 +-
...gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch | 15 +-
...lplugin-enable-gldeinterlace-on-OpenGL-ES.patch | 634 ---------------------
...ert-implement-multiple-render-targets-for.patch | 244 --------
...ert-don-t-use-the-predefined-variable-nam.patch | 32 --
.../0005-glshader-add-glBindFragDataLocation.patch | 77 ---
...ert-GLES3-deprecates-texture2D-and-it-doe.patch | 51 --
.../0008-gl-implement-GstGLMemoryEGL.patch | 495 ----------------
...valid-sentinels-for-gst_structure_get-etc.patch | 59 +-
...1.8.3.bb => gstreamer1.0-plugins-bad_1.10.1.bb} | 10 +-
....8.3.bb => gstreamer1.0-plugins-base_1.10.1.bb} | 5 +-
....8.3.bb => gstreamer1.0-plugins-good_1.10.1.bb} | 5 +-
....8.3.bb => gstreamer1.0-plugins-ugly_1.10.1.bb} | 5 +-
.../gstreamer/gstreamer1.0-rtsp-server_1.10.1.bb | 6 +
.../gstreamer/gstreamer1.0-rtsp-server_1.8.3.bb | 6 -
meta/recipes-multimedia/gstreamer/gstreamer1.0.inc | 1 -
...streamer1.0_1.8.3.bb => gstreamer1.0_1.10.1.bb} | 5 +-
19 files changed, 69 insertions(+), 1622 deletions(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.8.3.bb => gstreamer1.0-libav_1.10.1.bb} (86%)
delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-glplugin-enable-gldeinterlace-on-OpenGL-ES.patch
delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0003-glcolorconvert-implement-multiple-render-targets-for.patch
delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-glcolorconvert-don-t-use-the-predefined-variable-nam.patch
delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-glshader-add-glBindFragDataLocation.patch
delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0006-glcolorconvert-GLES3-deprecates-texture2D-and-it-doe.patch
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0008-gl-implement-GstGLMemoryEGL.patch
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.8.3.bb => gstreamer1.0-plugins-bad_1.10.1.bb} (64%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.8.3.bb => gstreamer1.0-plugins-base_1.10.1.bb} (85%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.8.3.bb => gstreamer1.0-plugins-good_1.10.1.bb} (84%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.8.3.bb => gstreamer1.0-plugins-ugly_1.10.1.bb} (76%)
create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.1.bb
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.8.3.bb
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.8.3.bb => gstreamer1.0_1.10.1.bb} (69%)meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.10.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.8.3.bb +2 -3
@@ -13,8 +13,7 @@ SRC_URI = " \ file://0001-Disable-yasm-for-libav-when-disable-yasm.patch \ file://workaround-to-build-gst-libav-for-i586-with-gcc.patch \ " - -SRC_URI[md5sum] = "b51a736147bacb40f85827a4e0ae0d2c" -SRC_URI[sha256sum] = "9006a05990089f7155ee0e848042f6bb24e52ab1d0a59ff8d1b5d7e33001a495" +SRC_URI[md5sum] = "9dc8fb8dd01818c27230a1ed6ba9f4de" +SRC_URI[sha256sum] = "27b28b8de0e6dff1e3952428e8ed8ba4a12f452f789ac0ae9bbe50f00a5c72c7" S = "${WORKDIR}/gst-libav-${PV}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc +1 -0
@@ -42,6 +42,7 @@ PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3" # ensure OpenSSL is used for HLS AES description instead of nettle # (OpenSSL is a shared dependency with dtls) PACKAGECONFIG[hls] = "--enable-hls --with-hls-crypto=openssl,--disable-hls,openssl" +PACKAGECONFIG[kms] = "--enable-kms,--disable-kms,libdrm" PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms" PACKAGECONFIG[libssh2] = "--enable-libssh2,--disable-libssh2,libssh2" PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch +16 -19
@@ -13,24 +13,24 @@ Signed-off-by: Alexander Kanavin <[email protected]> gst-libs/gst/mpegts/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -diff --git a/gst-libs/gst/gl/Makefile.am b/gst-libs/gst/gl/Makefile.am -index f968357..7cc2c7a 100644 ---- a/gst-libs/gst/gl/Makefile.am -+++ b/gst-libs/gst/gl/Makefile.am -@@ -167,7 +167,7 @@ GstGL-@[email protected]: $(INTROSPECTION_SCANNER) libgstgl-@GST_API_VERSION@ - --library=libgstgl-@[email protected] \ +Index: gst-plugins-bad-1.10.1/gst-libs/gst/gl/Makefile.am +=================================================================== +--- gst-plugins-bad-1.10.1.orig/gst-libs/gst/gl/Makefile.am ++++ gst-plugins-bad-1.10.1/gst-libs/gst/gl/Makefile.am +@@ -171,7 +171,7 @@ GstGL-@[email protected]: $(INTROSPEC --include=Gst-@GST_API_VERSION@ \ --include=GstBase-@GST_API_VERSION@ \ + --include=GstVideo-@GST_API_VERSION@ \ - --libtool="$(top_builddir)/libtool" \ + --libtool="$(LIBTOOL)" \ --pkg gstreamer-@GST_API_VERSION@ \ --pkg gstreamer-base-@GST_API_VERSION@ \ --pkg gstreamer-video-@GST_API_VERSION@ \ -diff --git a/gst-libs/gst/insertbin/Makefile.am b/gst-libs/gst/insertbin/Makefile.am -index 09eb97c..b746885 100644 ---- a/gst-libs/gst/insertbin/Makefile.am -+++ b/gst-libs/gst/insertbin/Makefile.am -@@ -44,7 +44,7 @@ GstInsertBin-@[email protected]: $(INTROSPECTION_SCANNER) libgstinsertbin-@GS +Index: gst-plugins-bad-1.10.1/gst-libs/gst/insertbin/Makefile.am +=================================================================== +--- gst-plugins-bad-1.10.1.orig/gst-libs/gst/insertbin/Makefile.am ++++ gst-plugins-bad-1.10.1/gst-libs/gst/insertbin/Makefile.am +@@ -45,7 +45,7 @@ GstInsertBin-@[email protected]: $(IN --library=libgstinsertbin-@[email protected] \ --include=Gst-@GST_API_VERSION@ \ --include=GstBase-@GST_API_VERSION@ \
@@ -39,11 +39,11 @@ index 09eb97c..b746885 100644 --pkg gstreamer-@GST_API_VERSION@ \ --pkg gstreamer-base-@GST_API_VERSION@ \ --pkg-export gstreamer-insertbin-@GST_API_VERSION@ \ -diff --git a/gst-libs/gst/mpegts/Makefile.am b/gst-libs/gst/mpegts/Makefile.am -index 2511d49..c1cbce6 100644 ---- a/gst-libs/gst/mpegts/Makefile.am -+++ b/gst-libs/gst/mpegts/Makefile.am -@@ -78,7 +78,7 @@ GstMpegts-@[email protected]: $(INTROSPECTION_SCANNER) libgstmpegts-@GST_API_ +Index: gst-plugins-bad-1.10.1/gst-libs/gst/mpegts/Makefile.am +=================================================================== +--- gst-plugins-bad-1.10.1.orig/gst-libs/gst/mpegts/Makefile.am ++++ gst-plugins-bad-1.10.1/gst-libs/gst/mpegts/Makefile.am +@@ -79,7 +79,7 @@ GstMpegts-@[email protected]: $(INTRO --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \ --library=libgstmpegts-@[email protected] \ --include=Gst-@GST_API_VERSION@ \
@@ -52,6 +52,3 @@ index 2511d49..c1cbce6 100644 --pkg gstreamer-@GST_API_VERSION@ \ --pkg gstreamer-video-@GST_API_VERSION@ \ --pkg-export gstreamer-mpegts-@GST_API_VERSION@ \ --- -2.6.2 -
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch +6 -9
@@ -12,16 +12,13 @@ Signed-off-by: Alexander Kanavin <[email protected]> pkgconfig/gstreamer-gl.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/pkgconfig/gstreamer-gl.pc.in b/pkgconfig/gstreamer-gl.pc.in -index 5589e2a..b986450 100644 ---- a/pkgconfig/gstreamer-gl.pc.in -+++ b/pkgconfig/gstreamer-gl.pc.in +Index: gst-plugins-bad-1.10.1/pkgconfig/gstreamer-gl.pc.in +=================================================================== +--- gst-plugins-bad-1.10.1.orig/pkgconfig/gstreamer-gl.pc.in ++++ gst-plugins-bad-1.10.1/pkgconfig/gstreamer-gl.pc.in @@ -10,4 +10,4 @@ Version: @VERSION@ Requires: gstreamer-base-@GST_API_VERSION@ gstreamer-@GST_API_VERSION@ Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ @GL_LIBS@ --Cflags: -I${includedir} @GL_CFLAGS@ -+Cflags: -I${includedir} --- -2.7.0 - +-Cflags: -I${includedir} -I${libdir}/gstreamer-@GST_API_VERSION@/include @GL_CFLAGS@ ++Cflags: -I${includedir} -I${libdir}/gstreamer-@GST_API_VERSION@/include
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-glplugin-enable-gldeinterlace-on-OpenGL-ES.patch deleted +0 -634
634 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0003-glcolorconvert-implement-multiple-render-targets-for.patch deleted +0 -244
244 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-glcolorconvert-don-t-use-the-predefined-variable-nam.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From b069672ace2b762f400ca6d318571cbedf5141f2 Mon Sep 17 00:00:00 2001 -From: Matthew Waters <[email protected]> -Date: Thu, 31 Mar 2016 20:00:37 +1100 -Subject: [PATCH 1/3] glcolorconvert: don't use the predefined variable name - sample - -Using 'sample' as a variable name is an error in GLES3 - -Upstream-Status: Backport [1.9.1] ---- - gst-libs/gst/gl/gstglcolorconvert.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/gst-libs/gst/gl/gstglcolorconvert.c b/gst-libs/gst/gl/gstglcolorconvert.c -index f478faa..c23624f 100644 ---- a/gst-libs/gst/gl/gstglcolorconvert.c -+++ b/gst-libs/gst/gl/gstglcolorconvert.c -@@ -261,9 +261,9 @@ static const struct shader_templ templ_RGB_to_PLANAR_YUV = - " for (int j = 0; j < int(chroma_sampling.y); j++) {\n" - " int n = (i+1)*(j+1);\n" - " delta.y = float(j);\n" -- " vec4 sample = texture2D(tex, (chroma_pos + delta) / unnormalization).%c%c%c%c;\n" -+ " vec4 s = texture2D(tex, (chroma_pos + delta) / unnormalization).%c%c%c%c;\n" - /* rolling average */ -- " uv_texel = (float(n-1) * uv_texel + sample) / float(n);\n" -+ " uv_texel = (float(n-1) * uv_texel + s) / float(n);\n" - " }\n" - " }\n" - "}\n" --- -1.9.1 -
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-glshader-add-glBindFragDataLocation.patch deleted +0 -77
77 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0006-glcolorconvert-GLES3-deprecates-texture2D-and-it-doe.patch deleted +0 -51
51 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0008-gl-implement-GstGLMemoryEGL.patch deleted +0 -495
495 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/ensure-valid-sentinels-for-gst_structure_get-etc.patch +28 -31
88 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.10.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.8.3.bb +2 -8
@@ -12,16 +12,10 @@ SRC_URI = " \ file://avoid-including-sys-poll.h-directly.patch \ file://ensure-valid-sentinels-for-gst_structure_get-etc.patch \ file://0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch \ - file://0002-glplugin-enable-gldeinterlace-on-OpenGL-ES.patch \ - file://0003-glcolorconvert-implement-multiple-render-targets-for.patch \ - file://0004-glcolorconvert-don-t-use-the-predefined-variable-nam.patch \ - file://0005-glshader-add-glBindFragDataLocation.patch \ - file://0006-glcolorconvert-GLES3-deprecates-texture2D-and-it-doe.patch \ - file://0008-gl-implement-GstGLMemoryEGL.patch \ file://0009-glimagesink-Downrank-to-marginal.patch \ file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ " -SRC_URI[md5sum] = "955281a43e98c5464563fa049e0a0911" -SRC_URI[sha256sum] = "7899fcb18e6a1af2888b19c90213af018a57d741c6e72ec56b133bc73ec8509b" +SRC_URI[md5sum] = "491d2d5aab55ffc60c66e714d3d664ea" +SRC_URI[sha256sum] = "133e0ed9fe21011b15d3898e3d3a9d17ab74eed31996da2e353353e688ca921d" S = "${WORKDIR}/gst-plugins-bad-${PV}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.10.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.8.3.bb +2 -3
@@ -13,8 +13,7 @@ SRC_URI = " \ file://make-gio_unix_2_0-dependency-configurable.patch \ file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ " - -SRC_URI[md5sum] = "4d03dd81828ea6b98a44c8f1ab7f4976" -SRC_URI[sha256sum] = "114871d4d63606b4af424a8433cd923e4ff66896b244bb7ac97b9da47f71e79e" +SRC_URI[md5sum] = "eb03953ff239b53a7d69a604edbe5c8c" +SRC_URI[sha256sum] = "66cfee294c7aaf9d7867eaba4841ca6254ea74f1a8b53e1289f4d3b9b6c976c9" S = "${WORKDIR}/gst-plugins-base-${PV}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.10.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.8.3.bb +2 -3
@@ -11,8 +11,7 @@ SRC_URI = " \ file://ensure-valid-sentinel-for-gst_structure_get.patch \ file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ " - -SRC_URI[md5sum] = "473ebb1f15c67de99ddb6e4d027c0876" -SRC_URI[sha256sum] = "a1d6579ba203a7734927c24b90bf6590d846c5a5fcec01a48201018c8ad2827a" +SRC_URI[md5sum] = "7d24b1412d49fa7bab763b35f4640abd" +SRC_URI[sha256sum] = "a7642ea7e7c17fb67e94d0c17e56757b6577fa7ed244ff8c11031841d3556cc2" S = "${WORKDIR}/gst-plugins-good-${PV}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.10.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.8.3.bb +2 -3
@@ -7,8 +7,7 @@ SRC_URI = " \ http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \ file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ " - -SRC_URI[md5sum] = "4fc66c77253b0ad5ce224bda654b2e7d" -SRC_URI[sha256sum] = "6fa2599fdd072d31fbaf50c34af406e2be944a010b1f4eab67a5fe32a0310693" +SRC_URI[md5sum] = "646ab511bc8e56425e63d3fc4812e582" +SRC_URI[sha256sum] = "a5ecd59fc2091eeb52368de81cc6a91c1a1c19dc5bdde85ce90e1eed5d4183c2" S = "${WORKDIR}/gst-plugins-ugly-${PV}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.1.bb new file +6 -0
@@ -0,0 +1,6 @@ +include gstreamer1.0-rtsp-server.inc + +LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d" + +SRC_URI[md5sum] = "ae93aa9e5d89a53636a8c0217d8d8c30" +SRC_URI[sha256sum] = "ddc0c2699598623c2d19d3a2856fb73365496a949783537b238f44bc51e5b005"
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.8.3.bb deleted +0 -6
@@ -1,6 +0,0 @@ -include gstreamer1.0-rtsp-server.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d" - -SRC_URI[md5sum] = "e4b07b10dd65b6c26c9ca5f72e59297b" -SRC_URI[sha256sum] = "010f06800c1c957851d1352e5ec7a8ba3ce6a857fec1b8afc7d1a9e5f53288bf"
meta/recipes-multimedia/gstreamer/gstreamer1.0.inc +0 -1
@@ -24,7 +24,6 @@ PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" PACKAGECONFIG[tests] = "--enable-tests,--disable-tests" PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,valgrind," PACKAGECONFIG[gst-tracer-hooks] = "--enable-gst-tracer-hooks,--disable-gst-tracer-hooks," -PACKAGECONFIG[trace-historic] = "--enable-trace,--disable-trace," EXTRA_OECONF = " \ --disable-dependency-tracking \
meta/recipes-multimedia/gstreamer/gstreamer1.0_1.10.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.8.3.bb +2 -3
@@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \ SRC_URI = " \ http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \ " - -SRC_URI[md5sum] = "e88dad542df9d986822e982105d2b530" -SRC_URI[sha256sum] = "66b37762d4fdcd63bce5a2bec57e055f92420e95037361609900278c0db7c53f" +SRC_URI[md5sum] = "2c0cc6907aed5ea8005a8f332e34d92f" +SRC_URI[sha256sum] = "f68df996e0e699382b935bb4783dd402c301377df18f57e28e0318c4b3bff6da" S = "${WORKDIR}/gstreamer-${PV}"
Signature · 1 line
2.10.2
PATCH 2/8 systemd-boot: Use PV in recipe name
---
meta/recipes-bsp/systemd-boot/{systemd-boot.bb => systemd-boot_232.bb} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename meta/recipes-bsp/systemd-boot/{systemd-boot.bb => systemd-boot_232.bb} (100%)meta/recipes-bsp/systemd-boot/systemd-boot_232.bb renamed from meta/recipes-bsp/systemd-boot/systemd-boot.bb +0 -0
Signature · 1 line
2.10.2
PATCH 3/8 gstreamer1.0-plugins-bad: Define and use WAYLAND_PROTOCOLS_SYSROOT_DIR for output of pkg-config
In reply to Khem RajWhen configure pokes for wayland-protocols isntallations it ended up using the ones from host, which is because it did not account for sysroot prefix
Remove MACHINE from variable reference tracking to avoid unnessary rebuilds for different machine with same arch
--- .../gstreamer/gstreamer1.0-plugins-bad.inc | 2 +- ...G_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch | 34 ++++++++++++++++++++++ .../gstreamer/gstreamer1.0-plugins-bad_1.10.1.bb | 4 +++ 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-Prepend-PKG_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc +1 -1
@@ -64,7 +64,7 @@ PACKAGECONFIG[srtp] = "--enable-srtp,--disable-srtp,libsrtp" PACKAGECONFIG[uvch264] = "--enable-uvch264,--disable-uvch264,libusb1 libgudev" PACKAGECONFIG[voaacenc] = "--enable-voaacenc,--disable-voaacenc,vo-aacenc" PACKAGECONFIG[voamrwbenc] = "--enable-voamrwbenc,--disable-voamrwbenc,vo-amrwbenc" -PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native wayland" +PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native wayland wayland-protocols" PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" # these plugins have not been ported to 1.0 (yet):
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-Prepend-PKG_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch new file +34 -0
@@ -0,0 +1,34 @@ +From c271503d7e233428ac0323c51d6517113e26bef7 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Thu, 1 Dec 2016 00:27:13 -0800 +Subject: [PATCH] Prepend PKG_CONFIG_SYSROOT_DIR to pkg-config output + +In cross environment we have to prepend the sysroot to the path found by +pkgconfig since the path returned from pkgconfig does not have sysroot prefixed +it ends up using the files from host system. If build host has wayland installed +the build will succeed but if you dont have wayland-protocols installed on build host then +it wont find the files on build host + +This should work ok with non sysrooted builds too since in those cases PKG_CONFIG_SYSROOT_DIR +will be empty + +Upstream-Status: Pending + +Signed-off-by: Khem Raj <[email protected]> +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: gst-plugins-bad-1.10.1/configure.ac +=================================================================== +--- gst-plugins-bad-1.10.1.orig/configure.ac ++++ gst-plugins-bad-1.10.1/configure.ac +@@ -2233,7 +2233,7 @@ AG_GST_CHECK_FEATURE(WAYLAND, [wayland s + PKG_CHECK_MODULES(WAYLAND_PROTOCOLS, wayland-protocols >= 1.4, [ + if test "x$wayland_scanner" != "x"; then + HAVE_WAYLAND="yes" +- AC_SUBST(WAYLAND_PROTOCOLS_DATADIR, `$PKG_CONFIG --variable=pkgdatadir wayland-protocols`) ++ AC_SUBST(WAYLAND_PROTOCOLS_DATADIR, ${WAYLAND_PROTOCOLS_SYSROOT_DIR}`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`) + else + AC_MSG_RESULT([wayland-scanner is required to build the wayland plugin]) + HAVE_WAYLAND="no"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.10.1.bb +4 -0
@@ -14,8 +14,12 @@ SRC_URI = " \ file://0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch \ file://0009-glimagesink-Downrank-to-marginal.patch \ file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ + file://0001-Prepend-PKG_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch \ " SRC_URI[md5sum] = "491d2d5aab55ffc60c66e714d3d664ea" SRC_URI[sha256sum] = "133e0ed9fe21011b15d3898e3d3a9d17ab74eed31996da2e353353e688ca921d" S = "${WORKDIR}/gst-plugins-bad-${PV}" + +EXTRA_OECONF += "WAYLAND_PROTOCOLS_SYSROOT_DIR=${STAGING_DIR}/${MACHINE}" +EXTRA_OECONF[vardepsexclude] = "MACHINE"
Signature · 1 line
2.10.2
PATCH 4/8 gstreamer1.0-rtsp-server: Add libcheck to deps
In reply to Khem Raj--- meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/" SECTION = "multimedia" LICENSE = "LGPLv2" -DEPENDS = "gstreamer1.0 libcgroup gstreamer1.0-plugins-base" +DEPENDS = "gstreamer1.0 libcgroup gstreamer1.0-plugins-base libcheck" PNREAL = "gst-rtsp-server"
Signature · 1 line
2.10.2
PATCH 5/8 gstreamer1.0-vaapi: Import from meta-intel
In reply to Khem RajUpdate to 1.10.1 at the same time
--- .../gstreamer/gstreamer1.0-vaapi.inc | 36 ++++++++++++++++++ .../gstreamer1.0-vaapi/install-tests.patch | 43 ++++++++++++++++++++++ .../gstreamer/gstreamer1.0-vaapi_1.10.1.bb | 6 +++ 3 files changed, 85 insertions(+) create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/install-tests.patch create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.1.bb
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc new file +36 -0
@@ -0,0 +1,36 @@ +SUMMARY = "VA-API support to GStreamer" +DESCRIPTION = "gstreamer-vaapi consists of a collection of VA-API \ +based plugins for GStreamer and helper libraries: `vaapidecode', \ +`vaapiconvert', and `vaapisink'." + +REALPN = "gstreamer-vaapi" +FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${REALPN}", "${FILE_DIRNAME}/${REALPN}"], d)}" + +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" + +DEPENDS = "libva" + +SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz \ + " + +S = "${WORKDIR}/${REALPN}-${PV}" + +inherit autotools pkgconfig gtk-doc + +PACKAGES =+ "${PN}-tests" + +PACKAGECONFIG ??= "drm \ + ${@bb.utils.contains("DISTRO_FEATURES", "opengl x11", "glx", "", d)} \ + ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "wayland", "", d)} \ + ${@bb.utils.contains("DISTRO_FEATURES", "x11", "x11", "", d)}" + +PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm" +PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/mesa" +PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland" +PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr libxrender" + +FILES_${PN} += "${libdir}/gstreamer-*/*.so" +FILES_${PN}-dbg += "${libdir}/gstreamer-*/.debug" +FILES_${PN}-dev += "${libdir}/gstreamer-*/*.la ${libdir}/gstreamer-*/*.a" +FILES_${PN}-tests = "${bindir}/*"
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/install-tests.patch new file +43 -0
43 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.1.bb new file +6 -0
@@ -0,0 +1,6 @@ +require gstreamer1.0-vaapi.inc + +SRC_URI[md5sum] = "514757933ff719a6b8206091f70e0221" +SRC_URI[sha256sum] = "99aecaa609f37d65e12518b1e77cc70e3cc5dde0c7dfc8e83f508d7e64e1da34" + +DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
Signature · 1 line
2.10.2
PATCH 6/8 puzzles: Upgrade and fix with clang
In reply to Khem RajDelete upstreamed patches
--- ...arify-conditions-to-avoid-compiler-errors.patch | 48 ++++++++++++++++++++++ ...mpiler-errors-about-uninitialized-use-of-.patch | 32 --------------- meta/recipes-sato/puzzles/puzzles_git.bb | 4 +- 3 files changed, 50 insertions(+), 34 deletions(-) create mode 100644 meta/recipes-sato/puzzles/files/0001-Clarify-conditions-to-avoid-compiler-errors.patch delete mode 100644 meta/recipes-sato/puzzles/files/0001-rect-Fix-compiler-errors-about-uninitialized-use-of-.patch
meta/recipes-sato/puzzles/files/0001-Clarify-conditions-to-avoid-compiler-errors.patch new file +48 -0
@@ -0,0 +1,48 @@ +From 72f2e9043ef509992dfa61791638db87bf0ae37b Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Tue, 6 Dec 2016 01:20:00 +0000 +Subject: [PATCH] Clarify conditions to avoid compiler errors + +Fix errors pointed out by clang + +error: logical not is only applied to the left hand side of this bitwise operator [-Werror,-Wlogical-not-parentheses] +| if (only_immutable && !copy->flags[i] & FLAG_IMMUTABLE) continue; +| ^ + +Signed-off-by: Khem Raj <[email protected]> +--- +Upstream-Status: Submitted + + signpost.c | 2 +- + tracks.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/signpost.c b/signpost.c +index aa2e13a..2e2dff2 100644 +--- a/signpost.c ++++ b/signpost.c +@@ -284,7 +284,7 @@ static int check_nums(game_state *orig, game_state *copy, int only_immutable) + int i, ret = 1; + assert(copy->n == orig->n); + for (i = 0; i < copy->n; i++) { +- if (only_immutable && !copy->flags[i] & FLAG_IMMUTABLE) continue; ++ if (only_immutable && !(copy->flags[i] & FLAG_IMMUTABLE)) continue; + assert(copy->nums[i] >= 0); + assert(copy->nums[i] <= copy->n); + if (copy->nums[i] != orig->nums[i]) { +diff --git a/tracks.c b/tracks.c +index 5b27350..ca44ce1 100644 +--- a/tracks.c ++++ b/tracks.c +@@ -1072,7 +1072,7 @@ static int solve_check_single_sub(game_state *state, int si, int id, int n, + x = i%w; + y = i/w; + if (abs(ox-x) > 1 || abs(oy-y) > 1) { +- if (!state->sflags[i] & S_TRACK) ++ if (!(state->sflags[i] & S_TRACK)) + did += solve_set_sflag(state, x, y, S_NOTRACK, what); + } + } +-- +1.9.1 +
meta/recipes-sato/puzzles/files/0001-rect-Fix-compiler-errors-about-uninitialized-use-of-.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From 78d6d1706c21ad467520075ff7a8bf15cfbd68b3 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Wed, 30 Dec 2015 22:13:16 +0000 -Subject: [PATCH] rect: Fix compiler errors about uninitialized use of - variables - -error: 'r2.x' may be used uninitialized in this function - -Signed-off-by: Khem Raj <[email protected]> ---- -Upstream-Status: Submitted - - rect.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/rect.c b/rect.c -index 55667c0..fa3a786 100644 ---- a/rect.c -+++ b/rect.c -@@ -1317,7 +1317,8 @@ static char *new_game_desc(const game_params *params_in, random_state *rs, - if (ndirs > 0) { - int which, dir; - struct rect r1, r2; -- -+ memset(&r1, 0, sizeof(struct rect)); -+ memset(&r2, 0, sizeof(struct rect)); - which = random_upto(rs, ndirs); - dir = dirs[which]; - --- -2.6.4 -
meta/recipes-sato/puzzles/puzzles_git.bb +2 -2
@@ -12,10 +12,10 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=33bcd4bce8f3c197f2aefbdbd2d299bc" SRC_URI = "git://git.tartarus.org/simon/puzzles.git \ file://fix-compiling-failure-with-option-g-O.patch \ file://0001-Use-labs-instead-of-abs.patch \ - file://0001-rect-Fix-compiler-errors-about-uninitialized-use-of-.patch \ file://0001-palisade-Fix-warnings-with-clang-on-arm.patch \ + file://0001-Clarify-conditions-to-avoid-compiler-errors.patch \ " -SRCREV = "346584bf6e38232be8773c24fd7dedcbd7b3d9ed" +SRCREV = "8dfe5cec31e784e4ece2955ecc8cc35ee7e8fbb3" PE = "1" PV = "0.0+git${SRCPV}"
Signature · 1 line
2.10.2
PATCH 7/8 libva: check for "opengl" feature
In reply to Khem RajFrom: Ismo Puustinen <[email protected]>
In case "opengl" is missing from DISTRO_FEATURES, libva fails to satisfy its dependencies. The dependency check is done by BitBake when meta-world-pkgdata gathers information about all available packages during image builds, even if libva isn't included in the build. This patch makes libva recipe be skipped if the "opengl" DISTRO_FEATURE isn't found.
--- meta/recipes-graphics/libva/libva_1.7.3.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-graphics/libva/libva_1.7.3.bb +3 -1
@@ -23,7 +23,9 @@ SRC_URI[sha256sum] = "22bc139498065a7950d966dbdb000cad04905cbd3dc8f3541f80d36c46 DEPENDS = "libdrm virtual/mesa virtual/libgles1 virtual/libgles2 virtual/egl" -inherit autotools pkgconfig +inherit autotools pkgconfig distro_features_check + +REQUIRED_DISTRO_FEATURES ?= "opengl" EXTRA_OECONF = "--disable-dummy-driver"
Signature · 1 line
2.10.2
PATCH 8/8 gstreamer-vaapi-1.0: check for "opengl" feature
In reply to Khem RajFrom: Ismo Puustinen <[email protected]>
If "opengl" distro feature is not set, libva recipe is skipped. Since missing libva breaks gstreamer-vaapi-1.0 build, the same check has to be done in gstreamer-vaapi-1.0 recipe too.
--- meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc +3 -1
@@ -16,7 +16,9 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.x S = "${WORKDIR}/${REALPN}-${PV}" -inherit autotools pkgconfig gtk-doc +inherit autotools pkgconfig gtk-doc distro_features_check + +REQUIRED_DISTRO_FEATURES ?= "opengl" PACKAGES =+ "${PN}-tests"
Signature · 1 line
2.10.2