Skip to contentSkip to conversation

gstreamer: upgrade to 1.12.1

PATCH Superseded Maxin B. John 2 participants 14 messages Jul 4, 2017

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover gstreamer: upgrade to 1.12.1

Upgrade gstreamer to 1.12.1

Also upgrade libva to 1.8.3. This upgrade helps us to remove the workaround patch in gst-player - [YOCTO #11437]

We "should" move to the new home of gst-player and upgrade it:
https://cgit.freedesktop.org/gstreamer/gst-examples

However, the buildsystem of gst-player moved to meson. Waiting for meson to be in oe-core for this transition.

Thanks to Carlos Rafael Giani for his gstreamer 1.12.0 upgrade patches which were used as a base for this upgrade.

Changes in v2:
Handle remaming of plugins in gstreamer1.0-plugins-good

Maxin B. John (11):
libva: upgrade to 1.8.3
gst-player: remove workaround which disable visualizations gstreamer1.0: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-plugins-base: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-plugins-ugly: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-rtsp-server: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-omx: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-libav: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-vaapi: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-plugins-bad: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-plugins-good: upgrade 1.10.4 -> 1.12.1

 ...-configure.ac-Use-wayland-scanner-in-PATH.patch |  37 -
 ...and-Don-t-commit-and-ship-generated-files.patch | 339 --------
 .../libva/{libva_1.7.3.bb => libva_1.8.3.bb}       |   8 +-
 .../0001-gtk-play-Disable-visualizations.patch     |  59 --
 ...error-signal-emission-for-missing-plugins.patch | 252 ------
 .../gstreamer/gst-player/Fix-pause-play.patch      | 107 ---
 .../gstreamer/gst-player/filechooser.patch         |  54 --
 .../recipes-multimedia/gstreamer/gst-player_git.bb |   4 -
 ...ideobufferpool-create-allocator-if-needed.patch |  61 --
 ...ibav_1.10.4.bb => gstreamer1.0-libav_1.12.1.bb} |   4 +-
 .../gstreamer/gstreamer1.0-meta-base.bb            |   2 +-
 ....0-omx_1.10.4.bb => gstreamer1.0-omx_1.12.1.bb} |   4 +-
 .../gstreamer/gstreamer1.0-plugins-bad.inc         |  24 +-
 ...-don-t-hardcode-libtool-name-when-running.patch |  60 +-
 ...G_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch |  42 +-
 ...gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch |  21 +-
 ...1-mssdemux-improved-live-playback-support.patch | 929 ---------------------
 ...ming-implement-adaptivedemux-s-get_live_s.patch | 183 ----
 ...ming-use-the-duration-from-the-list-of-fr.patch |  62 --
 ....10.4.bb => gstreamer1.0-plugins-bad_1.12.1.bb} |  11 +-
 ...eed-more-buffers-in-output-queue-for-bett.patch |  32 -
 ...10.4.bb => gstreamer1.0-plugins-base_1.12.1.bb} |   5 +-
 ...Also-add-videometa-if-there-is-padding-to.patch |  35 -
 ...10.4.bb => gstreamer1.0-plugins-good_1.12.1.bb} |   7 +-
 .../gstreamer/gstreamer1.0-plugins-ugly.inc        |   1 -
 ...10.4.bb => gstreamer1.0-plugins-ugly_1.12.1.bb} |   4 +-
 .../gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb   |   6 -
 .../gstreamer/gstreamer1.0-rtsp-server_1.12.1.bb   |   6 +
 .../gstreamer/gstreamer1.0-vaapi_1.10.4.bb         |   7 -
 .../gstreamer/gstreamer1.0-vaapi_1.12.1.bb         |   5 +
 meta/recipes-multimedia/gstreamer/gstreamer1.0.inc |   1 -
 .../gstreamer1.0/deterministic-unwind.patch        |  29 +-
 ...treamer1.0_1.10.4.bb => gstreamer1.0_1.12.1.bb} |   4 +-
 33 files changed, 138 insertions(+), 2267 deletions(-)
 delete mode 100644 meta/recipes-graphics/libva/files/0001-configure.ac-Use-wayland-scanner-in-PATH.patch
 delete mode 100644 meta/recipes-graphics/libva/files/0001-wayland-Don-t-commit-and-ship-generated-files.patch
 rename meta/recipes-graphics/libva/{libva_1.7.3.bb => libva_1.8.3.bb} (88%)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/0001-gtk-play-Disable-visualizations.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/Add-error-signal-emission-for-missing-plugins.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/Fix-pause-play.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/filechooser.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer-vaapi/vaapivideobufferpool-create-allocator-if-needed.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.10.4.bb => gstreamer1.0-libav_1.12.1.bb} (88%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.10.4.bb => gstreamer1.0-omx_1.12.1.bb} (69%)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-mssdemux-improved-live-playback-support.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.10.4.bb => gstreamer1.0-plugins-bad_1.12.1.bb} (61%)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.10.4.bb => gstreamer1.0-plugins-base_1.12.1.bb} (78%)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.10.4.bb => gstreamer1.0-plugins-good_1.12.1.bb} (74%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.10.4.bb => gstreamer1.0-plugins-ugly_1.12.1.bb} (76%)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.1.bb
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.4.bb
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.12.1.bb
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.10.4.bb => gstreamer1.0_1.12.1.bb} (72%)
Signature · 1 line
2.4.0
#1 lore raw

PATCH v2 1/11 libva: upgrade to 1.8.3

1.7.3 -> 1.8.3

Remove upstreamed patch:
0001-wayland-Don-t-commit-and-ship-generated-files.patch

Replace following patch by setting ac_cv_prog in EXTRA_OECONF:
0001-configure.ac-Use-wayland-scanner-in-PATH.patch

The dummy driver was removed in 1.8.3 release.

---
 ...-configure.ac-Use-wayland-scanner-in-PATH.patch |  37 ---
 ...and-Don-t-commit-and-ship-generated-files.patch | 339 ---------------------
 .../libva/{libva_1.7.3.bb => libva_1.8.3.bb}       |   8 +-
 3 files changed, 3 insertions(+), 381 deletions(-)
 delete mode 100644 meta/recipes-graphics/libva/files/0001-configure.ac-Use-wayland-scanner-in-PATH.patch
 delete mode 100644 meta/recipes-graphics/libva/files/0001-wayland-Don-t-commit-and-ship-generated-files.patch
 rename meta/recipes-graphics/libva/{libva_1.7.3.bb => libva_1.8.3.bb} (88%)
meta/recipes-graphics/libva/files/0001-configure.ac-Use-wayland-scanner-in-PATH.patch deleted +0 -37
deleted file mode 100644
index a99c225..0000000
@@ -1,37 +0,0 @@
-From 0af30602502035155929dd2a14482b82a9747cf8 Mon Sep 17 00:00:00 2001
-From: Jussi Kukkonen <[email protected]>
-Date: Thu, 23 Feb 2017 15:23:15 +0200
-Subject: [PATCH] configure.ac: Use wayland-scanner in PATH
-
-pkg-config will give us the wrong wayland-scanner location.
-Use the one in path instead: it will be from native sysroot.
-
-This is a workaround and should be fixed upstream: preferably
-with the same fix as all the other wayland-scanner users
-(see YOCTO #11100).
-
-Upstream-Status: Inappropriate [workaround]
-Signed-off-by: Jussi Kukkonen <[email protected]>
----
- configure.ac | 5 +----
- 1 file changed, 1 insertion(+), 4 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 64eddf2..5536f35 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -273,10 +273,7 @@ if test "$enable_wayland" = "yes"; then
-     PKG_CHECK_MODULES([WAYLAND], [wayland-client >= wayland_api_version],
-         [USE_WAYLAND="yes"], [:])
-     if test "$USE_WAYLAND" = "yes"; then
--
--        WAYLAND_PREFIX=`$PKG_CONFIG --variable=prefix wayland-client`
--        AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner],,
--                     [${WAYLAND_PREFIX}/bin$PATH_SEPARATOR$PATH])
-+        AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner])
- 
-         AC_DEFINE([HAVE_VA_WAYLAND], [1],
-                   [Defined to 1 if VA/Wayland API is built])
--- 
-2.1.4
-
meta/recipes-graphics/libva/files/0001-wayland-Don-t-commit-and-ship-generated-files.patch deleted +0 -339

339 lines not on this page · raw message

meta/recipes-graphics/libva/libva_1.8.3.bb renamed from meta/recipes-graphics/libva/libva_1.7.3.bb +3 -5
similarity index 88%
rename from meta/recipes-graphics/libva/libva_1.7.3.bb
rename to meta/recipes-graphics/libva/libva_1.8.3.bb
index 6c0b90f..bb5f829 100644
@@ -17,10 +17,8 @@ SECTION = "x11"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f"
 
-SRC_URI = "git://github.com/01org/libva.git;protocol=http;branch=v1.7-branch \
-           file://0001-configure.ac-Use-wayland-scanner-in-PATH.patch \
-           file://0001-wayland-Don-t-commit-and-ship-generated-files.patch"
-SRCREV = "dbf9f7e33349c3cee8d131e93a6a4f91255635cb"
+SRC_URI = "git://github.com/01org/libva.git;protocol=http;branch=v1.8-branch "
+SRCREV = "457470987cc9df5976ce8c72ffd4bfbd9baaf0f9"
 UPSTREAM_CHECK_GITTAGREGEX = "libva-(?P<pver>(\d+(\.\d+)+))"
 
 S = "${WORKDIR}/git"
@@ -31,7 +29,7 @@ inherit autotools pkgconfig distro_features_check
 
 REQUIRED_DISTRO_FEATURES = "opengl"
 
-EXTRA_OECONF = "--disable-dummy-driver"
+EXTRA_OECONF = "ac_cv_prog_WAYLAND_SCANNER=wayland-scanner"
 
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"
 PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxext libxfixes"
Signature · 1 line
2.4.0
#4 lore raw

PATCH v2 2/11 gst-player: remove workaround which disable visualizations

In reply to Maxin 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]

We "should" move to the new home of gst-player:
https://cgit.freedesktop.org/gstreamer/gst-examples

However, the buildsystem of gst-player moved to meson. Waiting for meson to be in oe-core for this transition.

---
 .../0001-gtk-play-Disable-visualizations.patch     |  59 -----
 ...error-signal-emission-for-missing-plugins.patch | 252 ---------------------
 .../gstreamer/gst-player/Fix-pause-play.patch      | 107 ---------
 .../gstreamer/gst-player/filechooser.patch         |  54 -----
 .../recipes-multimedia/gstreamer/gst-player_git.bb |   4 -
 5 files changed, 476 deletions(-)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/0001-gtk-play-Disable-visualizations.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/Add-error-signal-emission-for-missing-plugins.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/Fix-pause-play.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/filechooser.patch
meta/recipes-multimedia/gstreamer/gst-player/0001-gtk-play-Disable-visualizations.patch deleted +0 -59
deleted file mode 100644
index ea88120..0000000
@@ -1,59 +0,0 @@
-From 6cf42c468e93b0aaa171961e059bc3e2fb915889 Mon Sep 17 00:00:00 2001
-From: Jussi Kukkonen <[email protected]>
-Date: Fri, 28 Apr 2017 14:35:19 +0300
-Subject: [PATCH] gtk-play: Disable visualizations
-
-This is a workaround for [YOCTO #11410] (audio playback is broken in
-mediaplayer if vaapi is used). It disables visualizations and makes
-sure we clear the window (otherwise nothing does that and result is
-very ugly).
-
-This patch should be removed when 11410 is fixed.
-
-Upstream-Status: Inappropriate [bug workaround]
-Signed-off-by: Jussi Kukkonen <[email protected]>
----
- gtk/gtk-play.c | 13 ++++++++++++-
- 1 file changed, 12 insertions(+), 1 deletion(-)
-
-diff --git a/gtk/gtk-play.c b/gtk/gtk-play.c
-index 8ae0fea..63b9bb0 100644
---- a/gtk/gtk-play.c
-+++ b/gtk/gtk-play.c
-@@ -1401,6 +1401,15 @@ get_child_position (GtkOverlay * overlay, GtkWidget * widget,
-   return TRUE;
- }
- 
-+/* Hack to make sure something gets drawn if visualizations are disabled */
-+static gboolean
-+draw_cb (GtkWidget *widget, cairo_t *cr, gpointer data)
-+{
-+  cairo_set_source_rgb (cr, 0, 0, 0);
-+  cairo_paint (cr);
-+  return FALSE;
-+}
-+
- static void
- create_ui (GtkPlay * play)
- {
-@@ -1431,6 +1440,8 @@ create_ui (GtkPlay * play)
-     play->video_area = gtk_drawing_area_new ();
-     g_signal_connect (play->video_area, "realize",
-         G_CALLBACK (video_area_realize_cb), play);
-+    g_signal_connect (play->video_area, "draw",
-+        G_CALLBACK (draw_cb), NULL);
-   }
-   gtk_widget_set_events (play->video_area, GDK_EXPOSURE_MASK
-       | GDK_LEAVE_NOTIFY_MASK
-@@ -1753,7 +1764,7 @@ gtk_play_constructor (GType type, guint n_construct_params,
- 
-   /* enable visualization (by default playbin uses goom) */
-   /* if visualization is enabled then use the first element */
--  gst_player_set_visualization_enabled (self->player, TRUE);
-+  gst_player_set_visualization_enabled (self->player, FALSE);
- 
-   g_signal_connect (G_OBJECT (self), "show", G_CALLBACK (show_cb), NULL);
- 
--- 
-2.1.4
-
meta/recipes-multimedia/gstreamer/gst-player/Add-error-signal-emission-for-missing-plugins.patch deleted +0 -252

252 lines not on this page · raw message

meta/recipes-multimedia/gstreamer/gst-player/Fix-pause-play.patch deleted +0 -107

107 lines not on this page · raw message

meta/recipes-multimedia/gstreamer/gst-player/filechooser.patch deleted +0 -54

54 lines not on this page · raw message

meta/recipes-multimedia/gstreamer/gst-player_git.bb +0 -4
index cb12a46..6ecccca 100644
@@ -5,10 +5,6 @@ LIC_FILES_CHKSUM = "file://gtk/gtk-play.c;beginline=1;endline=20;md5=f8c72dae3d3
 DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gtk+3 glib-2.0-native"
 
 SRC_URI = "git://github.com/sdroege/gst-player.git \
-           file://filechooser.patch;apply=0 \
-           file://Fix-pause-play.patch;apply=0 \
-           file://Add-error-signal-emission-for-missing-plugins.patch;apply=0 \
-           file://0001-gtk-play-Disable-visualizations.patch \
            file://gst-player.desktop"
 
 SRCREV = "ee3c226c82767a089743e4e06058743e67f73cdb"
Signature · 1 line
2.4.0
#5 lore raw

PATCH v2 3/11 gstreamer1.0: upgrade 1.10.4 -> 1.12.1

In reply to Maxin B. John

Remove "--disable-docbook" configure option and refresh the following patch:
1. deterministic-unwind.patch

---
 meta/recipes-multimedia/gstreamer/gstreamer1.0.inc |  1 -
 .../gstreamer1.0/deterministic-unwind.patch        | 29 ++++++++++++++++------
 ...treamer1.0_1.10.4.bb => gstreamer1.0_1.12.1.bb} |  4 +--
 3 files changed, 23 insertions(+), 11 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.10.4.bb => gstreamer1.0_1.12.1.bb} (72%)
meta/recipes-multimedia/gstreamer/gstreamer1.0.inc +0 -1
index 72d7ce6..d174a82 100644
@@ -28,7 +28,6 @@ PACKAGECONFIG[unwind] = "--with-unwind,--without-unwind,libunwind"
 
 EXTRA_OECONF = " \
     --disable-dependency-tracking \
-    --disable-docbook \
     --disable-examples \
 "
 
meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch +21 -8
index e39e6ca..dfca096 100644
@@ -1,24 +1,37 @@
-Make the detection of libunwind deterministic.
+From 31fb9cde63f55f2610a736f390124a570c564169 Mon Sep 17 00:00:00 2001
+From: Ross Burton <[email protected]>
+Date: Fri, 12 May 2017 17:43:08 +0300
+Subject: [PATCH] Make the detection of libunwind deterministic.
 
 Upstream-Status: Pending
+
 Signed-off-by: Ross Burton <[email protected]>
+Signed-off-by: Maxin B. John <[email protected]>
+---
+ configure.ac | 10 ++++++----
+ 1 file changed, 6 insertions(+), 4 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index ac88fb2..182c19a 100644
+index 9fa6824..fe9696f 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -829,3 +828,0 @@ AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
--dnl libunwind is optionally used by the leaks tracer
+@@ -821,10 +821,12 @@ fi
+ AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
+ 
+ dnl libunwind is optionally used by the leaks tracer
 -PKG_CHECK_MODULES(UNWIND, libunwind, HAVE_UNWIND=yes, HAVE_UNWIND=no)
--
-@@ -839,3 +836,7 @@ AC_CHECK_FUNC(backtrace, [
 -if test "x$HAVE_UNWIND" = "xyes"; then
 -  AC_DEFINE(HAVE_UNWIND, 1, [libunwind available])
 -fi
-+dnl libunwind is optionally used by the leaks tracer
 +AC_ARG_WITH([unwind],[AS_HELP_STRING([--with-unwind],[use libunwind])],
 +            [], [with_unwind=yes])
 +AS_IF([test "$with_unwind" = yes],
 +      [PKG_CHECK_MODULES(UNWIND, libunwind)
 +       AC_DEFINE(HAVE_UNWIND, 1, [libunwind available])]
-+)
++ )
+ 
+ dnl libdw is optionally used to add source lines and numbers to backtraces
+ PKG_CHECK_MODULES(DW, libdw, HAVE_DW=yes, HAVE_DW=no)
+-- 
+2.4.0
+
meta/recipes-multimedia/gstreamer/gstreamer1.0_1.12.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.10.4.bb +2 -2
similarity index 72%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0_1.12.1.bb
index 2a67993..f1a7001 100644
@@ -7,7 +7,7 @@ SRC_URI = " \
     http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \
     file://deterministic-unwind.patch \
 "
-SRC_URI[md5sum] = "7c91a97e4a2dc81eafd59d0a2f8b0d6e"
-SRC_URI[sha256sum] = "50c2f5af50a6cc6c0a3f3ed43bdd8b5e2bff00bacfb766d4be139ec06d8b5218"
+SRC_URI[md5sum] = "3c9f2bc7d75daf87fb5d8d0f2158b8ea"
+SRC_URI[sha256sum] = "9044b9d8b3ff44457fa9e36faa59c56684b587b34dee449bfe15ec0c32a3a6d2"
 
 S = "${WORKDIR}/gstreamer-${PV}"
Signature · 1 line
2.4.0
#6 lore raw

PATCH v2 4/11 gstreamer1.0-plugins-base: upgrade 1.10.4 -> 1.12.1

In reply to Maxin B. John

Remove upstreamed patch:
1. encodebin-Need-more-buffers-in-output-queue-for-bett.patch

---
 ...eed-more-buffers-in-output-queue-for-bett.patch | 32 ----------------------
 ...10.4.bb => gstreamer1.0-plugins-base_1.12.1.bb} |  5 ++--
 2 files changed, 2 insertions(+), 35 deletions(-)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.10.4.bb => gstreamer1.0-plugins-base_1.12.1.bb} (78%)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch deleted +0 -32
deleted file mode 100644
index 5341e3c..0000000
@@ -1,32 +0,0 @@
-From 540e02c92c75e08b90326863dc787fa5cadf9da6 Mon Sep 17 00:00:00 2001
-From: Song Bing <[email protected]>
-Date: Fri, 13 Mar 2015 18:04:31 +0800
-Subject: [PATCH] encodebin: Need more buffers in output queue for better
- performance
-
-Need more buffers in output queue for better performance
-
-Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=744191]
-
-Signed-off-by: Song Bing <[email protected]>
----
- gst/encoding/gstencodebin.c |    3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c
-index 6728e58..32daae4 100644
---- a/gst/encoding/gstencodebin.c
-+++ b/gst/encoding/gstencodebin.c
-@@ -1228,8 +1228,7 @@ _create_stream_group (GstEncodeBin * ebin, GstEncodingProfile * sprof,
-    * We only use a 1buffer long queue here, the actual queueing will be done
-    * in the input queue */
-   last = sgroup->outqueue = gst_element_factory_make ("queue", NULL);
--  g_object_set (sgroup->outqueue, "max-size-buffers", (guint32) 1,
--      "max-size-bytes", (guint32) 0, "max-size-time", (guint64) 0,
-+  g_object_set (sgroup->outqueue, "max-size-time", (guint64) 0,
-       "silent", TRUE, NULL);
- 
-   gst_bin_add (GST_BIN (ebin), sgroup->outqueue);
--- 
-1.7.9.5
-
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.10.4.bb +2 -3
similarity index 78%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.1.bb
index 7c81670..0b2b588 100644
@@ -9,11 +9,10 @@ SRC_URI = " \
     file://get-caps-from-src-pad-when-query-caps.patch \
     file://0003-ssaparse-enhance-SSA-text-lines-parsing.patch \
     file://0004-subparse-set-need_segment-after-sink-pad-received-GS.patch \
-    file://encodebin-Need-more-buffers-in-output-queue-for-bett.patch \
     file://make-gio_unix_2_0-dependency-configurable.patch \
     file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
 "
-SRC_URI[md5sum] = "f6b46f8fac01eb773d556e3efc369e86"
-SRC_URI[sha256sum] = "f6d245b6b3d4cb733f81ebb021074c525ece83db0c10e932794b339b8d935eb7"
+SRC_URI[md5sum] = "77d67208ff3750ea6417f0365f655a90"
+SRC_URI[sha256sum] = "0cce9fadb574a840b3c9d31b69faf57aad6c5543c3b134a7b935de866c9e0465"
 
 S = "${WORKDIR}/gst-plugins-base-${PV}"
Signature · 1 line
2.4.0
#7 lore raw

PATCH v2 5/11 gstreamer1.0-plugins-ugly: upgrade 1.10.4 -> 1.12.1

In reply to Maxin B. John

libmad support is not present anymore.

---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc       | 1 -
 ...1.0-plugins-ugly_1.10.4.bb => gstreamer1.0-plugins-ugly_1.12.1.bb} | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.10.4.bb => gstreamer1.0-plugins-ugly_1.12.1.bb} (76%)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc +0 -1
index 708ad7a..60aa968 100644
@@ -18,7 +18,6 @@ PACKAGECONFIG[amrwb]    = "--enable-amrwb,--disable-amrwb,opencore-amr"
 PACKAGECONFIG[cdio]     = "--enable-cdio,--disable-cdio,libcdio"
 PACKAGECONFIG[dvdread]  = "--enable-dvdread,--disable-dvdread,libdvdread"
 PACKAGECONFIG[lame]     = "--enable-lame,--disable-lame,lame"
-PACKAGECONFIG[mad]      = "--enable-mad,--disable-mad,libmad"
 PACKAGECONFIG[mpeg2dec] = "--enable-mpeg2dec,--disable-mpeg2dec,mpeg2dec"
 PACKAGECONFIG[mpg123]   = "--enable-mpg123,--disable-mpg123,mpg123"
 PACKAGECONFIG[x264]     = "--enable-x264,--disable-x264,x264"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.12.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.10.4.bb +2 -2
similarity index 76%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.12.1.bb
index 92a2caa..fb6cc90 100644
@@ -7,7 +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] = "c68d0509c9980b0b70a4b836ff73fff1"
-SRC_URI[sha256sum] = "6386c77ca8459cba431ed0b63da780c7062c7cc48055d222024d8eaf198ffa59"
+SRC_URI[md5sum] = "101a9d1613c16889df43f00d859c954a"
+SRC_URI[sha256sum] = "8fc2123d059713a34fa5d0a26641fb8158f52f6766633d2db7a661adc88e1069"
 
 S = "${WORKDIR}/gst-plugins-ugly-${PV}"
Signature · 1 line
2.4.0
#8 lore raw

PATCH v2 6/11 gstreamer1.0-rtsp-server: upgrade 1.10.4 -> 1.12.1

In reply to Maxin B. John

Upgrade to 1.12.1

---
 .../recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb | 6 ------
 .../recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.1.bb | 6 ++++++
 2 files changed, 6 insertions(+), 6 deletions(-)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.1.bb
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb deleted +0 -6
deleted file mode 100644
index 6aa9a53..0000000
@@ -1,6 +0,0 @@
-require gstreamer1.0-rtsp-server.inc
-
-SRC_URI[md5sum] = "ef587fa6393e09bc26f884510596e305"
-SRC_URI[sha256sum] = "2f6e12fd4e3568ee190dc24e57e4c3a878971c3a3fb6904a9674404fac256de6"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d"
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.1.bb new file +6 -0
new file mode 100644
index 0000000..2e115dc
@@ -0,0 +1,6 @@
+require gstreamer1.0-rtsp-server.inc
+
+SRC_URI[md5sum] = "5fdc18925caab476b4388d77b9ffbc72"
+SRC_URI[sha256sum] = "f27b9bde057e861a7705fa1263a9288a09fce8c42d8d5363c0bef4fe93994292"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d"
Signature · 1 line
2.4.0
#9 lore raw

PATCH v2 7/11 gstreamer1.0-omx: upgrade 1.10.4 -> 1.12.1

In reply to Maxin B. John

Upgrade to 1.12.1

---
 .../{gstreamer1.0-omx_1.10.4.bb => gstreamer1.0-omx_1.12.1.bb}        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.10.4.bb => gstreamer1.0-omx_1.12.1.bb} (69%)
meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.10.4.bb +2 -2
similarity index 69%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12.1.bb
index dfeefa5..bf4432c 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
 SRC_URI = "http://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz"
 
-SRC_URI[md5sum] = "cedb230f1c47d0cf4b575d70dff66ff2"
-SRC_URI[sha256sum] = "45072925cf262f0fd528fab78f0de52734e46a5a88aa802fae51c67c09c81aa2"
+SRC_URI[md5sum] = "c9ae4cfc8e7479949ec75da034f85727"
+SRC_URI[sha256sum] = "13faf0eb679c37a01f64c47f23018c2d894fa0ff1c3b98d4b1d1c69a7b3ca183"
 
 S = "${WORKDIR}/gst-omx-${PV}"
Signature · 1 line
2.4.0
#10 lore raw

PATCH v2 8/11 gstreamer1.0-libav: upgrade 1.10.4 -> 1.12.1

In reply to Maxin B. John

Upgrade to 1.12.1

---
 .../{gstreamer1.0-libav_1.10.4.bb => gstreamer1.0-libav_1.12.1.bb}    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.10.4.bb => gstreamer1.0-libav_1.12.1.bb} (88%)
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.12.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.10.4.bb +2 -2
similarity index 88%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.12.1.bb
index e4bb477..5fceabe 100644
@@ -14,7 +14,7 @@ SRC_URI = "http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz
            file://mips64_cpu_detection.patch \
            file://0001-configure-check-for-armv7ve-variant.patch \
            "
-SRC_URI[md5sum] = "e2bdd9fde6ca3ff7efffb93df121f4fd"
-SRC_URI[sha256sum] = "6ca0feca75e3d48315e07f20ec37cf6260ed1e9dde58df355febd5016246268b"
+SRC_URI[md5sum] = "b34c46d1af8a1067543c45209d711b57"
+SRC_URI[sha256sum] = "55d7823fdf63195de991adfef32db4b8a8bef3cafa46115a951e590dc18a5077"
 
 S = "${WORKDIR}/gst-libav-${PV}"
Signature · 1 line
2.4.0
#11 lore raw

PATCH v2 9/11 gstreamer1.0-vaapi: upgrade 1.10.4 -> 1.12.1

In reply to Maxin B. John

Remove backport patch:
1. vaapivideobufferpool-create-allocator-if-needed.patch

---
 ...ideobufferpool-create-allocator-if-needed.patch | 61 ----------------------
 .../gstreamer/gstreamer1.0-vaapi_1.10.4.bb         |  7 ---
 .../gstreamer/gstreamer1.0-vaapi_1.12.1.bb         |  5 ++
 3 files changed, 5 insertions(+), 68 deletions(-)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer-vaapi/vaapivideobufferpool-create-allocator-if-needed.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.4.bb
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.12.1.bb
meta/recipes-multimedia/gstreamer/gstreamer-vaapi/vaapivideobufferpool-create-allocator-if-needed.patch deleted +0 -61
deleted file mode 100644
index f666adc..0000000
@@ -1,61 +0,0 @@
-Signed-off-by: Jussi Kukkonen <[email protected]>
-Upstream-Status: Backport [commit 59a731be6b in '1.10' branch]
-
-
-From 02a6002c3a80b3a5301c0943b1a1518bbdf439fc Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?=
- <[email protected]>
-Date: Fri, 21 Apr 2017 19:07:18 +0200
-Subject: [PATCH] vaapivideobufferpool: create allocator if needed
-
-Backport to branch 1.10
-
-Sometimes a video decoder could set different buffer pool
-configurations, because their frame size changes. In this case we
-did not reconfigure the allocator.
-
-This patch enables this use case, creating a new allocator inside
-the VAAPI buffer pool if the caps changed, if it is not dmabuf-based.
-If so, it is just reconfigured, since it doesn't have a surface pool.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=781577
----
- gst/vaapi/gstvaapivideobufferpool.c | 21 +++++++++++++++++++++
- 1 file changed, 21 insertions(+)
-
-diff --git a/gst/vaapi/gstvaapivideobufferpool.c b/gst/vaapi/gstvaapivideobufferpool.c
-index a3b9223f..9a50614b 100644
---- a/gst/vaapi/gstvaapivideobufferpool.c
-+++ b/gst/vaapi/gstvaapivideobufferpool.c
-@@ -159,6 +159,27 @@ gst_vaapi_video_buffer_pool_set_config (GstBufferPool * pool,
-     gst_object_replace ((GstObject **) & priv->allocator, NULL);
-   priv->video_info = new_vip;
- 
-+  {
-+    guint surface_alloc_flags;
-+    gboolean vinfo_changed = FALSE;
-+
-+    if (allocator) {
-+      const GstVideoInfo *alloc_vinfo =
-+          gst_allocator_get_vaapi_video_info (allocator, &surface_alloc_flags);
-+      vinfo_changed = gst_video_info_changed (alloc_vinfo, &new_vip);
-+    }
-+
-+    if (vinfo_changed && allocator && priv->use_dmabuf_memory) {
-+      gst_allocator_set_vaapi_video_info (allocator, &new_vip,
-+          surface_alloc_flags);
-+    } else if (!priv->use_dmabuf_memory && (vinfo_changed || !allocator)) {
-+      /* let's destroy the other allocator and create a new one */
-+      allocator = gst_vaapi_video_allocator_new (priv->display, &new_vip,
-+          surface_alloc_flags);
-+      gst_buffer_pool_config_set_allocator (config, allocator, NULL);
-+    }
-+  }
-+
-   if (!gst_buffer_pool_config_has_option (config,
-           GST_BUFFER_POOL_OPTION_VAAPI_VIDEO_META))
-     goto error_no_vaapi_video_meta_option;
--- 
-2.11.0
-
-
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.4.bb deleted +0 -7
deleted file mode 100644
index 44c66de..0000000
@@ -1,7 +0,0 @@
-require gstreamer1.0-vaapi.inc
-SRC_URI[md5sum] = "318af17f906637570b61dd7be9b5581d"
-SRC_URI[sha256sum] = "03e690621594d9f9495d86c7dac8b8590b3a150462770ed070dc76f66a70de75"
-
-SRC_URI += "file://vaapivideobufferpool-create-allocator-if-needed.patch"
-
-DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.12.1.bb new file +5 -0
new file mode 100644
index 0000000..e3ec98b
@@ -0,0 +1,5 @@
+require gstreamer1.0-vaapi.inc
+SRC_URI[md5sum] = "e5c07f867640a9507b8590adf9fba589"
+SRC_URI[sha256sum] = "de4e9697a856660ccbf27f45ffa86b1a97af426f7823ec65a48f2e9daac9e4a1"
+
+DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
Signature · 1 line
2.4.0
#12 lore raw

PATCH v2 10/11 gstreamer1.0-plugins-bad: upgrade 1.10.4 -> 1.12.1

In reply to Maxin B. John

Remove backported patch:
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
2. 0001-Prepend-PKG_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch
3. gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch

Removed license checks in tta directory as it doesn't exist anymore. Updated unsupported plugin list.

---
 .../gstreamer/gstreamer1.0-plugins-bad.inc         |  24 +-
 ...-don-t-hardcode-libtool-name-when-running.patch |  60 +-
 ...G_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch |  42 +-
 ...gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch |  21 +-
 ...1-mssdemux-improved-live-playback-support.patch | 929 ---------------------
 ...ming-implement-adaptivedemux-s-get_live_s.patch | 183 ----
 ...ming-use-the-duration-from-the-list-of-fr.patch |  62 --
 ....10.4.bb => gstreamer1.0-plugins-bad_1.12.1.bb} |  11 +-
 8 files changed, 88 insertions(+), 1244 deletions(-)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-mssdemux-improved-live-playback-support.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.10.4.bb => gstreamer1.0-plugins-bad_1.12.1.bb} (61%)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc +9 -15
index 0ccfc89..8b12123 100644
@@ -70,14 +70,13 @@ PACKAGECONFIG[wayland]         = "--enable-wayland,--disable-wayland,wayland-nat
 PACKAGECONFIG[webp]            = "--enable-webp,--disable-webp,libwebp"
 
 # these plugins have not been ported to 1.0 (yet):
-#   apexsink linsys nas timidity sdl xvid wininet
-#   sndio cdxaparse dccp faceoverlay hdvparse tta mve nuvdemux
+#   cdxaparse faceoverlay hdvparse mve nuvdemux
 #   patchdetect sdi videomeasure
 
 # these plugins have no corresponding library in OE-core or meta-openembedded:
 #   openni2 winks direct3d directsound winscreencap acm apple_media
 #   android_media avc bs2b chromaprint daala dts fdkaac gme gsm kate ladspa libde265
-#   lv2 mimic mpeg2enc mplex musepack nvenc ofa openh264 opensles pvr soundtouch spandsp
+#   lv2 mpeg2enc mplex musepack nvenc ofa openh264 opensles soundtouch spandsp
 #   spc teletextdec tinyalsa vdpau vulkan wasapi x265 zbar
 
 # qt5 support is disabled, because it is not present in OE core, and requires more work than
@@ -94,7 +93,6 @@ EXTRA_OECONF += " \
     --enable-vcd \
     --disable-acm \
     --disable-android_media \
-    --disable-apexsink \
     --disable-apple_media \
     --disable-avc \
     --disable-bs2b \
@@ -106,44 +104,36 @@ EXTRA_OECONF += " \
     --disable-dts \
     --disable-fdk_aac \
     --disable-gme \
+    --disable-iqa \
+    --disable-msdk \
+    --disable-webrtcdsp \
     --disable-gsm \
     --disable-kate \
     --disable-ladspa \
     --disable-libde265 \
-    --disable-libvisual \
-    --disable-linsys \
     --disable-lv2 \
-    --disable-mimic \
     --disable-mpeg2enc \
     --disable-mplex \
     --disable-musepack \
-    --disable-nas \
     --disable-nvenc \
     --disable-ofa \
     --disable-openexr \
     --disable-openh264 \
     --disable-openni2 \
     --disable-opensles \
-    --disable-pvr \
     --disable-qt \
-    --disable-sdl \
-    --disable-sdltest \
-    --disable-sndio \
     --disable-soundtouch \
     --disable-spandsp \
     --disable-spc \
     --disable-teletextdec \
-    --disable-timidity \
     --disable-tinyalsa \
     --disable-vdpau \
     --disable-vulkan \
     --disable-wasapi \
     --disable-wildmidi \
-    --disable-wininet \
     --disable-winks \
     --disable-winscreencap \
     --disable-x265 \
-    --disable-xvid \
     --disable-zbar \
     ${@bb.utils.contains("TUNE_FEATURES", "mx32", "--disable-yadif", "", d)} \
 "
@@ -157,3 +147,7 @@ FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/include/gst/gl/gstglconfig.h"
 FILES_${PN}-freeverb += "${datadir}/gstreamer-${LIBV}/presets/GstFreeverb.prs"
 FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/${LIBV}/opencv*"
 FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-${LIBV}/presets/GstVoAmrwbEnc.prs"
+
+do_compile_prepend() {
+    export GIR_EXTRA_LIBS_PATH="${B}/gst-libs/gst/allocators/.libs"
+}
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch +40 -20

86 lines not on this page · raw message

meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-Prepend-PKG_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch +23 -19

57 lines not on this page · raw message

meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch +13 -8
index 9fc91d8..2235a57 100644
@@ -1,24 +1,29 @@
-From a93ca63d01e7cd1e40b5be576992f77fac364bd5 Mon Sep 17 00:00:00 2001
+From 5622ca3b61603dc316a0f1fbede3f9aa353a5e48 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <[email protected]>
-Date: Mon, 21 Mar 2016 18:21:17 +0200
+Date: Fri, 12 May 2017 16:47:12 +0300
 Subject: [PATCH] gstreamer-gl.pc.in: don't append GL_CFLAGS to CFLAGS
 
 Dependencies' include directories should not be added in this way;
 it causes problems when cross-compiling in sysroot environments.
 
 Upstream-Status: Pending
+
 Signed-off-by: Alexander Kanavin <[email protected]>
+Signed-off-by: Maxin B. John <[email protected]>
 ---
  pkgconfig/gstreamer-gl.pc.in | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-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@
+diff --git a/pkgconfig/gstreamer-gl.pc.in b/pkgconfig/gstreamer-gl.pc.in
+index 8e7a303..d167be1 100644
+--- a/pkgconfig/gstreamer-gl.pc.in
++++ b/pkgconfig/gstreamer-gl.pc.in
+@@ -13,4 +13,4 @@ Version: @VERSION@
  Requires: gstreamer-base-@GST_API_VERSION@ gstreamer-@GST_API_VERSION@
  
- Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ @GL_LIBS@
+ Libs: -L${libdir} -lgstgl-@GST_API_VERSION@
 -Cflags: -I${includedir} -I${libdir}/gstreamer-@GST_API_VERSION@/include @GL_CFLAGS@
 +Cflags: -I${includedir} -I${libdir}/gstreamer-@GST_API_VERSION@/include
+-- 
+2.4.0
+
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-mssdemux-improved-live-playback-support.patch deleted +0 -929

929 lines not on this page · raw message

meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch deleted +0 -183

183 lines not on this page · raw message

meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch deleted +0 -62

62 lines not on this page · raw message

meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.12.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.10.4.bb +3 -8
similarity index 61%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.12.1.bb
index 0bb4053..6a79134 100644
@@ -1,9 +1,7 @@
 require gstreamer1.0-plugins-bad.inc
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \
-                    file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 \
-                    file://gst/tta/crc32.h;beginline=12;endline=29;md5=27db269c575d1e5317fffca2d33b3b50 \
-                    file://gst/tta/filters.h;beginline=12;endline=29;md5=8a08270656f2f8ad7bb3655b83138e5a"
+                    file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 "
 
 SRC_URI = " \
     http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \
@@ -15,12 +13,9 @@ SRC_URI = " \
     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 \
-    file://0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch \
-    file://0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch \
-    file://0001-mssdemux-improved-live-playback-support.patch \
 "
-SRC_URI[md5sum] = "2757103e57a096a1a05b3ab85b8381af"
-SRC_URI[sha256sum] = "23ddae506b3a223b94869a0d3eea3e9a12e847f94d2d0e0b97102ce13ecd6966"
+SRC_URI[md5sum] = "dbae48f984cb76e5fd482285952cf676"
+SRC_URI[sha256sum] = "7def8049d1c44e50199023159dfada60af58fd503ef58a020b79044bda705b97"
 
 S = "${WORKDIR}/gst-plugins-bad-${PV}"
 
Signature · 1 line
2.4.0
#13 lore raw

PATCH v2 11/11 gstreamer1.0-plugins-good: upgrade 1.10.4 -> 1.12.1

In reply to Maxin B. 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

---
 .../gstreamer/gstreamer1.0-meta-base.bb            |  2 +-
 ...Also-add-videometa-if-there-is-padding-to.patch | 35 ----------------------
 ...10.4.bb => gstreamer1.0-plugins-good_1.12.1.bb} |  7 +++--
 3 files changed, 5 insertions(+), 39 deletions(-)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.10.4.bb => gstreamer1.0-plugins-good_1.12.1.bb} (74%)
meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb +1 -1
index c542b13..016e176 100644
@@ -37,7 +37,7 @@ RDEPENDS_gstreamer1.0-meta-base = "\
     gstreamer1.0-plugins-base-videoscale \
     gstreamer1.0-plugins-base-videoconvert \
     gstreamer1.0-plugins-good-autodetect \
-    gstreamer1.0-plugins-good-souphttpsrc"
+    gstreamer1.0-plugins-good-soup"
 
 RRECOMMENDS_gstreamer1.0-meta-x11-base = "\
     gstreamer1.0-plugins-base-ximagesink \
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch deleted +0 -35
deleted file mode 100644
index 2a9a23e..0000000
@@ -1,35 +0,0 @@
-From 22be02612adc757f6a43cefc6ee65ecaef68f0d9 Mon Sep 17 00:00:00 2001
-From: Carlos Rafael Giani <[email protected]>
-Date: Thu, 23 Mar 2017 22:13:05 +0100
-Subject: [PATCH] v4l2object: Also add videometa if there is padding to the
- right and bottom
-
-https://bugzilla.gnome.org/show_bug.cgi?id=780478
-
-Upstream-Status: Backport [1.10.5]
-
-Signed-off-by: Carlos Rafael Giani <[email protected]>
----
- sys/v4l2/gstv4l2object.c | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c
-index 91c8ff0..ed4654e 100644
---- a/sys/v4l2/gstv4l2object.c
-+++ b/sys/v4l2/gstv4l2object.c
-@@ -3070,9 +3070,10 @@ store_info:
-   GST_DEBUG_OBJECT (v4l2object->element, "Got sizeimage %" G_GSIZE_FORMAT,
-       info->size);
- 
--  /* to avoid copies we need video meta if top or left padding */
-+  /* to avoid copies we need video meta if there is padding */
-   v4l2object->need_video_meta =
--      ((align->padding_top + align->padding_left) != 0);
-+      ((align->padding_top + align->padding_left + align->padding_right +
-+          align->padding_bottom) != 0);
- 
-   /* ... or if stride is non "standard" */
-   if (!standard_stride)
--- 
-2.7.4
-
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.10.4.bb +4 -3
similarity index 74%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.10.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.1.bb
index 57447bf..7f7e570 100644
@@ -10,9 +10,10 @@ SRC_URI = " \
     file://avoid-including-sys-poll.h-directly.patch \
     file://ensure-valid-sentinel-for-gst_structure_get.patch \
     file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
-    file://0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch \
 "
-SRC_URI[md5sum] = "cc0cc13cdb07d4237600b6886b81f31d"
-SRC_URI[sha256sum] = "8a86c61434a8c44665365bd0b3557a040937d1f44bf69caee4e9ea816ce74d7e"
+SRC_URI[md5sum] = "53647e9fe9446f2ad808d55fcdf85b6e"
+SRC_URI[sha256sum] = "121e8e46a7f0e622f09ec9be012607b89d737dd72d48b0f2f0680821ae2cf54b"
 
 S = "${WORKDIR}/gst-plugins-good-${PV}"
+
+RPROVIDES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', '${PN}-pulse', '', d)} ${PN}-souphttpsrc"
Signature · 1 line
2.4.0
#2 lore raw

Re: [PATCH 01/11] libva: upgrade to 1.8.3

In reply to Maxin B. John

packages/corei7-64-poky-linux/libva/libva: FILELIST: removed "/usr/lib/libva-drm.so.1.3904.0 /usr/bin/mpeg2vldemo /usr/bin/putsurface /usr/bin/vainfo /usr/bin/mpeg2vaenc /usr/bin/h264encode /usr/bin/loadjpeg /usr/bin/jpegenc /usr/lib/libva.so.1.3904.0 /usr/bin/putsurface_wayland /usr/bin/avcenc", added "/usr/lib/libva-drm.so.1.4000.0 /usr/lib/libva.so.1.4000.0"

libva-drm should never have been in that package, and all the binaries have disappeared.

(Maybe using dynamic splitting would be more reliable)

Ross

Quoted 474 lines · Maxin B. John

1.7.3 -> 1.8.3

Remove upstreamed patch:
0001-wayland-Don-t-commit-and-ship-generated-files.patch

Replace following patch by setting ac_cv_prog in EXTRA_OECONF:
0001-configure.ac-Use-wayland-scanner-in-PATH.patch

The dummy driver was removed in 1.8.3 release.

---
 ...-configure.ac-Use-wayland-scanner-in-PATH.patch |  37 ---
 ...and-Don-t-commit-and-ship-generated-files.patch | 339
---------------------
 .../libva/{libva_1.7.3.bb => libva_1.8.3.bb}       |   8 +-
 3 files changed, 3 insertions(+), 381 deletions(-)
 delete mode 100644 meta/recipes-graphics/libva/
files/0001-configure.ac-Use-wayland-scanner-in-PATH.patch
 delete mode 100644 meta/recipes-graphics/libva/files/0001-wayland-Don-t-
commit-and-ship-generated-files.patch
 rename meta/recipes-graphics/libva/{libva_1.7.3.bb => libva_1.8.3.bb}

(88%)

meta/recipes-graphics/libva/files/0001-configure.ac-Use- renamed from meta/recipes-graphics/libva/files/0001-configure.ac-Use-wayland-scanner-in-PATH.patch +0 -0

wayland-scanner-in-PATH.patch
deleted file mode 100644
index a99c225..0000000
--- a/meta/recipes-graphics/libva/files/0001-configure.ac-Use- wayland-scanner-in-PATH.patch
+++ /dev/null

meta/recipes-graphics/libva/files/0001-configure.ac-Use- renamed from meta/recipes-graphics/libva/files/0001-configure.ac-Use-wayland-scanner-in-PATH.patch +0 -37
@@ -1,37 +0,0 @@
-From 0af30602502035155929dd2a14482b82a9747cf8 Mon Sep 17 00:00:00 2001
-From: Jussi Kukkonen <[email protected]>
-Date: Thu, 23 Feb 2017 15:23:15 +0200
-Subject: [PATCH] configure.ac: Use wayland-scanner in PATH
-
-pkg-config will give us the wrong wayland-scanner location.
-Use the one in path instead: it will be from native sysroot.
-
-This is a workaround and should be fixed upstream: preferably
-with the same fix as all the other wayland-scanner users
-(see YOCTO #11100).
-
-Upstream-Status: Inappropriate [workaround]
-Signed-off-by: Jussi Kukkonen <[email protected]>
----
- configure.ac | 5 +----
- 1 file changed, 1 insertion(+), 4 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 64eddf2..5536f35 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -273,10 +273,7 @@ if test "$enable_wayland" = "yes"; then
-     PKG_CHECK_MODULES([WAYLAND], [wayland-client >= wayland_api_version],
-         [USE_WAYLAND="yes"], [:])
-     if test "$USE_WAYLAND" = "yes"; then
--
--        WAYLAND_PREFIX=`$PKG_CONFIG --variable=prefix wayland-client`
--        AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner],,
--                     [${WAYLAND_PREFIX}/bin$PATH_SEPARATOR$PATH])
-+        AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner])
-
-         AC_DEFINE([HAVE_VA_WAYLAND], [1],
-                   [Defined to 1 if VA/Wayland API is built])
---
-2.1.4
-
(quoted diff) +0 -0

commit-and-ship-generated-files.patch b/meta/recipes-graphics/libva/ files/0001-wayland-Don-t-commit-and-ship-generated-files.patch deleted file mode 100644
index bd97e22..0000000
--- a/meta/recipes-graphics/libva/files/0001-wayland-Don-t- commit-and-ship-generated-files.patch
+++ /dev/null

meta/recipes-graphics/libva/files/0001-wayland-Don-t-commit-and-ship-generated-files.patch deleted +0 -42
@@ -1,339 +0,0 @@
-From 5993a7710cc8fd9a392d5015be5109987a42b498 Mon Sep 17 00:00:00 2001
-From: Jussi Kukkonen <[email protected]>
-Date: Thu, 23 Feb 2017 16:10:09 +0200
-Subject: [PATCH] wayland: Don't commit and ship generated files
-
-I believe shipping wayland-drm-client-protocol.h is wrong: The header
-should always be generated by the wayland-scanner that matches the
-runtime wayland version. Currently when someone clones the repo and
-builds, the shipped version is used.
-
-Upstream-Status: Submitted [https://github.com/01org/libva/pull/33]
-Signed-off-by: Jussi Kukkonen <[email protected]>
----
- va/wayland/Makefile.am                   |   5 +-
- va/wayland/wayland-drm-client-protocol.h | 290
-------------------------------
- 2 files changed, 4 insertions(+), 291 deletions(-)
- delete mode 100644 va/wayland/wayland-drm-client-protocol.h
-
-diff --git a/va/wayland/Makefile.am b/va/wayland/Makefile.am
-index 4f8262c..4ab8d07 100644
---- a/va/wayland/Makefile.am
-+++ b/va/wayland/Makefile.am
-@@ -53,7 +53,7 @@ protocol_source_h = \
- noinst_LTLIBRARIES            = libva_wayland.la
- libva_waylandincludedir               = ${includedir}/va
- libva_waylandinclude_HEADERS  = $(source_h)
--libva_wayland_la_SOURCES      = $(source_c) $(protocol_source_h)
-+libva_wayland_la_SOURCES      = $(source_c)
- noinst_HEADERS                        = $(source_h_priv)
-
- # Wayland protocol
-@@ -65,5 +65,8 @@ EXTRA_DIST = \
-       wayland-drm.xml         \
-       $(NULL)
-
-+BUILT_SOURCES = $(protocol_source_h)
-+CLEANFILES = $(BUILT_SOURCES)
-+
- # Extra clean files so that maintainer-clean removes *everything*
- MAINTAINERCLEANFILES = Makefile.in
-diff --git a/va/wayland/wayland-drm-client-protocol.h

b/va/wayland/wayland-drm-client-protocol.h

meta/recipes-graphics/libva/files/0001-wayland-Don-t-commit-and-ship-generated-files.patch deleted +0 -253
-deleted file mode 100644
-index da267e8..0000000
---- a/va/wayland/wayland-drm-client-protocol.h
-+++ /dev/null
-@@ -1,290 +0,0 @@
--/* Generated by wayland-scanner 1.11.90 */
--
--#ifndef DRM_CLIENT_PROTOCOL_H
--#define DRM_CLIENT_PROTOCOL_H
--
--#include <stdint.h>
--#include <stddef.h>
--#include "wayland-client.h"
--
--#ifdef  __cplusplus
--extern "C" {
--#endif
--
--/**
-- * @page page_drm The drm protocol
-- * @section page_ifaces_drm Interfaces
-- * - @subpage page_iface_wl_drm -
-- * @section page_copyright_drm Copyright
-- * <pre>
-- *
-- * Copyright © 2008-2011 Kristian Høgsberg
-- * Copyright © 2010-2011 Intel Corporation
-- *
-- * Permission to use, copy, modify, distribute, and sell this
-- * software and its documentation for any purpose is hereby granted
-- * without fee, provided that\n the above copyright notice appear in
-- * all copies and that both that copyright notice and this permission
-- * notice appear in supporting documentation, and that the name of
-- * the copyright holders not be used in advertising or publicity
-- * pertaining to distribution of the software without specific,
-- * written prior permission.  The copyright holders make no
-- * representations about the suitability of this software for any
-- * purpose.  It is provided "as is" without express or implied
-- * warranty.
-- *
-- * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
-- * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
-- * FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
-- * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
-- * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-- * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
-- * THIS SOFTWARE.
-- * </pre>
-- */
--struct wl_buffer;
--struct wl_drm;
--
--/**
-- * @page page_iface_wl_drm wl_drm
-- * @section page_iface_wl_drm_api API
-- * See @ref iface_wl_drm.
-- */
--/**
-- * @defgroup iface_wl_drm The wl_drm interface
-- */
--extern const struct wl_interface wl_drm_interface;
--
--#ifndef WL_DRM_ERROR_ENUM
--#define WL_DRM_ERROR_ENUM
--enum wl_drm_error {
--      WL_DRM_ERROR_AUTHENTICATE_FAIL = 0,
--      WL_DRM_ERROR_INVALID_FORMAT = 1,
--      WL_DRM_ERROR_INVALID_NAME = 2,
--};
--#endif /* WL_DRM_ERROR_ENUM */
--
--#ifndef WL_DRM_FORMAT_ENUM
--#define WL_DRM_FORMAT_ENUM
--enum wl_drm_format {
--      WL_DRM_FORMAT_C8 = 0x20203843,
--      WL_DRM_FORMAT_RGB332 = 0x38424752,
--      WL_DRM_FORMAT_BGR233 = 0x38524742,
--      WL_DRM_FORMAT_XRGB4444 = 0x32315258,
--      WL_DRM_FORMAT_XBGR4444 = 0x32314258,
--      WL_DRM_FORMAT_RGBX4444 = 0x32315852,
--      WL_DRM_FORMAT_BGRX4444 = 0x32315842,
--      WL_DRM_FORMAT_ARGB4444 = 0x32315241,
--      WL_DRM_FORMAT_ABGR4444 = 0x32314241,
--      WL_DRM_FORMAT_RGBA4444 = 0x32314152,
--      WL_DRM_FORMAT_BGRA4444 = 0x32314142,
--      WL_DRM_FORMAT_XRGB1555 = 0x35315258,
--      WL_DRM_FORMAT_XBGR1555 = 0x35314258,
--      WL_DRM_FORMAT_RGBX5551 = 0x35315852,
--      WL_DRM_FORMAT_BGRX5551 = 0x35315842,
--      WL_DRM_FORMAT_ARGB1555 = 0x35315241,
--      WL_DRM_FORMAT_ABGR1555 = 0x35314241,
--      WL_DRM_FORMAT_RGBA5551 = 0x35314152,
--      WL_DRM_FORMAT_BGRA5551 = 0x35314142,
--      WL_DRM_FORMAT_RGB565 = 0x36314752,
--      WL_DRM_FORMAT_BGR565 = 0x36314742,
--      WL_DRM_FORMAT_RGB888 = 0x34324752,
--      WL_DRM_FORMAT_BGR888 = 0x34324742,
--      WL_DRM_FORMAT_XRGB8888 = 0x34325258,
--      WL_DRM_FORMAT_XBGR8888 = 0x34324258,
--      WL_DRM_FORMAT_RGBX8888 = 0x34325852,
--      WL_DRM_FORMAT_BGRX8888 = 0x34325842,
--      WL_DRM_FORMAT_ARGB8888 = 0x34325241,
--      WL_DRM_FORMAT_ABGR8888 = 0x34324241,
--      WL_DRM_FORMAT_RGBA8888 = 0x34324152,
--      WL_DRM_FORMAT_BGRA8888 = 0x34324142,
--      WL_DRM_FORMAT_XRGB2101010 = 0x30335258,
--      WL_DRM_FORMAT_XBGR2101010 = 0x30334258,
--      WL_DRM_FORMAT_RGBX1010102 = 0x30335852,
--      WL_DRM_FORMAT_BGRX1010102 = 0x30335842,
--      WL_DRM_FORMAT_ARGB2101010 = 0x30335241,
--      WL_DRM_FORMAT_ABGR2101010 = 0x30334241,
--      WL_DRM_FORMAT_RGBA1010102 = 0x30334152,
--      WL_DRM_FORMAT_BGRA1010102 = 0x30334142,
--      WL_DRM_FORMAT_YUYV = 0x56595559,
--      WL_DRM_FORMAT_YVYU = 0x55595659,
--      WL_DRM_FORMAT_UYVY = 0x59565955,
--      WL_DRM_FORMAT_VYUY = 0x59555956,
--      WL_DRM_FORMAT_AYUV = 0x56555941,
--      WL_DRM_FORMAT_NV12 = 0x3231564e,
--      WL_DRM_FORMAT_NV21 = 0x3132564e,
--      WL_DRM_FORMAT_NV16 = 0x3631564e,
--      WL_DRM_FORMAT_NV61 = 0x3136564e,
--      WL_DRM_FORMAT_YUV410 = 0x39565559,
--      WL_DRM_FORMAT_YVU410 = 0x39555659,
--      WL_DRM_FORMAT_YUV411 = 0x31315559,
--      WL_DRM_FORMAT_YVU411 = 0x31315659,
--      WL_DRM_FORMAT_YUV420 = 0x32315559,
--      WL_DRM_FORMAT_YVU420 = 0x32315659,
--      WL_DRM_FORMAT_YUV422 = 0x36315559,
--      WL_DRM_FORMAT_YVU422 = 0x36315659,
--      WL_DRM_FORMAT_YUV444 = 0x34325559,
--      WL_DRM_FORMAT_YVU444 = 0x34325659,
--};
--#endif /* WL_DRM_FORMAT_ENUM */
--
--#ifndef WL_DRM_CAPABILITY_ENUM
--#define WL_DRM_CAPABILITY_ENUM
--/**
-- * @ingroup iface_wl_drm
-- * wl_drm capability bitmask
-- *
-- * Bitmask of capabilities.
-- */
--enum wl_drm_capability {
--      /**
--       * wl_drm prime available
--       */
--      WL_DRM_CAPABILITY_PRIME = 1,
--};
--#endif /* WL_DRM_CAPABILITY_ENUM */
--
--/**
-- * @ingroup iface_wl_drm
-- * @struct wl_drm_listener
-- */
--struct wl_drm_listener {
--      /**
--       */
--      void (*device)(void *data,
--                     struct wl_drm *wl_drm,
--                     const char *name);
--      /**
--       */
--      void (*format)(void *data,
--                     struct wl_drm *wl_drm,
--                     uint32_t format);
--      /**
--       */
--      void (*authenticated)(void *data,
--                            struct wl_drm *wl_drm);
--      /**
--       */
--      void (*capabilities)(void *data,
--                           struct wl_drm *wl_drm,
--                           uint32_t value);
--};
--
--/**
-- * @ingroup wl_drm_iface
-- */
--static inline int
--wl_drm_add_listener(struct wl_drm *wl_drm,
--                  const struct wl_drm_listener *listener, void *data)
--{
--      return wl_proxy_add_listener((struct wl_proxy *) wl_drm,
--                                   (void (**)(void)) listener, data);
--}
--
--#define WL_DRM_AUTHENTICATE 0
--#define WL_DRM_CREATE_BUFFER 1
--#define WL_DRM_CREATE_PLANAR_BUFFER 2
--#define WL_DRM_CREATE_PRIME_BUFFER 3
--
--/**
-- * @ingroup iface_wl_drm
-- */
--#define WL_DRM_AUTHENTICATE_SINCE_VERSION 1
--/**
-- * @ingroup iface_wl_drm
-- */
--#define WL_DRM_CREATE_BUFFER_SINCE_VERSION 1
--/**
-- * @ingroup iface_wl_drm
-- */
--#define WL_DRM_CREATE_PLANAR_BUFFER_SINCE_VERSION 1
--/**
-- * @ingroup iface_wl_drm
-- */
--#define WL_DRM_CREATE_PRIME_BUFFER_SINCE_VERSION 2
--
--/** @ingroup iface_wl_drm */
--static inline void
--wl_drm_set_user_data(struct wl_drm *wl_drm, void *user_data)
--{
--      wl_proxy_set_user_data((struct wl_proxy *) wl_drm, user_data);
--}
--
--/** @ingroup iface_wl_drm */
--static inline void *
--wl_drm_get_user_data(struct wl_drm *wl_drm)
--{
--      return wl_proxy_get_user_data((struct wl_proxy *) wl_drm);
--}
--
--static inline uint32_t
--wl_drm_get_version(struct wl_drm *wl_drm)
--{
--      return wl_proxy_get_version((struct wl_proxy *) wl_drm);
--}
--
--/** @ingroup iface_wl_drm */
--static inline void
--wl_drm_destroy(struct wl_drm *wl_drm)
--{
--      wl_proxy_destroy((struct wl_proxy *) wl_drm);
--}
--
--/**
-- * @ingroup iface_wl_drm
-- */
--static inline void
--wl_drm_authenticate(struct wl_drm *wl_drm, uint32_t id)
--{
--      wl_proxy_marshal((struct wl_proxy *) wl_drm,
--                       WL_DRM_AUTHENTICATE, id);
--}
--
--/**
-- * @ingroup iface_wl_drm
-- */
--static inline struct wl_buffer *
--wl_drm_create_buffer(struct wl_drm *wl_drm, uint32_t name, int32_t

width, int32_t height, uint32_t stride, uint32_t format)
--{
-- struct wl_proxy *id;
--
-- id = wl_proxy_marshal_constructor((struct wl_proxy *) wl_drm,
-- WL_DRM_CREATE_BUFFER, &wl_buffer_interface, NULL,
name, width, height, stride, format);
--
-- return (struct wl_buffer *) id;
--}
--
--/**
-- * @ingroup iface_wl_drm
-- */
--static inline struct wl_buffer * --wl_drm_create_planar_buffer(struct wl_drm *wl_drm, uint32_t name, int32_t width, int32_t height, uint32_t format, int32_t offset0, int32_t stride0, int32_t offset1, int32_t stride1, int32_t offset2, int32_t stride2) --{
-- struct wl_proxy *id;
--
-- id = wl_proxy_marshal_constructor((struct wl_proxy *) wl_drm,
-- WL_DRM_CREATE_PLANAR_BUFFER,
&wl_buffer_interface, NULL, name, width, height, format, offset0, stride0, offset1, stride1, offset2, stride2);
--
-- return (struct wl_buffer *) id;
--}
--
--/**
-- * @ingroup iface_wl_drm
-- */
--static inline struct wl_buffer * --wl_drm_create_prime_buffer(struct wl_drm *wl_drm, int32_t name, int32_t width, int32_t height, uint32_t format, int32_t offset0, int32_t stride0, int32_t offset1, int32_t stride1, int32_t offset2, int32_t stride2) --{
-- struct wl_proxy *id;
--
-- id = wl_proxy_marshal_constructor((struct wl_proxy *) wl_drm,
-- WL_DRM_CREATE_PRIME_BUFFER, &wl_buffer_interface,
NULL, name, width, height, format, offset0, stride0, offset1, stride1, offset2, stride2);
--
-- return (struct wl_buffer *) id;
--}
--
--#ifdef __cplusplus
--}
--#endif
--
--#endif
---
-2.1.4

(quoted diff) +0 -1
-
meta/recipes-graphics/libva/libva_1.8.3.bb renamed from meta/recipes-graphics/libva/libva_1.7.3.bb +0 -3
similarity index 88%
rename from meta/recipes-graphics/libva/libva_1.7.3.bb
rename to meta/recipes-graphics/libva/libva_1.8.3.bb
index 6c0b90f..bb5f829 100644
@@ -17,10 +17,8 @@ SECTION = "x11"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f"
 
-SRC_URI = "git://github.com/01org/libva.git;protocol=http;branch=v1.7-
 branch \
-           file://0001-configure.ac-Use-wayland-scanner-in-PATH.patch \
-           file://0001-wayland-Don-t-commit-and-ship-generated-

files.patch"

meta/recipes-graphics/libva/libva_1.8.3.bb renamed from meta/recipes-graphics/libva/libva_1.7.3.bb +1 -1
-SRCREV = "dbf9f7e33349c3cee8d131e93a6a4f91255635cb"
+SRC_URI = "git://github.com/01org/libva.git;protocol=http;branch=v1.8-

branch "

meta/recipes-graphics/libva/libva_1.8.3.bb renamed from meta/recipes-graphics/libva/libva_1.7.3.bb +2 -1
+SRCREV = "457470987cc9df5976ce8c72ffd4bfbd9baaf0f9"
 UPSTREAM_CHECK_GITTAGREGEX = "libva-(?P<pver>(\d+(\.\d+)+))"
 
 S = "${WORKDIR}/git"
@@ -31,7 +29,7 @@ inherit autotools pkgconfig distro_features_check
 
 REQUIRED_DISTRO_FEATURES = "opengl"
 
-EXTRA_OECONF = "--disable-dummy-driver"
+EXTRA_OECONF = "ac_cv_prog_WAYLAND_SCANNER=wayland-scanner"
 
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11',

d)}"
PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxext
libxfixes"
--
2.4.0

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#3 lore raw

Re: [PATCH 01/11] libva: upgrade to 1.8.3

Hi Ross,

Quoted 8 lines · Ross

packages/corei7-64-poky-linux/libva/libva: FILELIST: removed "/usr/lib/libva-drm.so.1.3904.0 /usr/bin/mpeg2vldemo /usr/bin/putsurface /usr/bin/vainfo /usr/bin/mpeg2vaenc /usr/bin/h264encode /usr/bin/loadjpeg /usr/bin/jpegenc /usr/lib/libva.so.1.3904.0 /usr/bin/putsurface_wayland /usr/bin/avcenc", added "/usr/lib/libva-drm.so.1.4000.0 /usr/lib/libva.so.1.4000.0"

libva-drm should never have been in that package, and all the binaries have disappeared.

(Maybe using dynamic splitting would be more reliable)

Thanks, Will update accordingly.

Quoted 4 lines

Ross

Quoted 3 lines · Maxin B. John

1.7.3 -> 1.8.3

Warm Regards,
Maxin