gstreamer1.0: Upgrade to 1.10.1
PATCH 1/1 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
Breaks if built from a empty sysroot with wayland enabled:
gst-plugins-bad:
| make[3]: *** No rule to make target 'viewporter-protocol.c', needed by 'all'. Stop.
Also rtsp-server gains various runtime dependencies on util-linux, can you verify that these are expected and in the depends?
Ross
Quoted 8 lines · Ross
Breaks if built from a empty sysroot with wayland enabled:
gst-plugins-bad:
| make[3]: *** No rule to make target 'viewporter-protocol.c', needed by 'all'. Stop.Also rtsp-server gains various runtime dependencies on util-linux, can you verify that these are expected and in the depends?
I havent done individual builds so there might be issues let me do these and send v2
Quoted 2 lines
Ross
Quoted 8 lines · Ross
Breaks if built from a empty sysroot with wayland enabled:
gst-plugins-bad:
| make[3]: *** No rule to make target 'viewporter-protocol.c', needed by 'all'. Stop.
I am not able to reproduce it however I have added a dep on wayland-protocols
Quoted 1 line
Also rtsp-server gains various runtime dependencies on util-linux, can you verify that these are expected and in the depends?
I did a clean build of util-linux and then rtsp-server it reported no missing build time deps I am doing it for raspberrypi, how do you reproduce it.
Quoted 2 lines
Ross
Quoted 7 lines · Ross
Breaks if built from a empty sysroot with wayland enabled:
gst-plugins-bad:
| make[3]: *** No rule to make target 'viewporter-protocol.c', needed by 'all'. Stop.
This one I was able to reproduce and fix. Sent the fix to ml.
Quoted 3 lines
Also rtsp-server gains various runtime dependencies on util-linux, can you verify that these are expected and in the depends?
Can you be more specific about this ? how to reproduce it ? what kind of diagnostics do you see ?
Quoted 1 line
Ross