[totem] Use new missing plugins API from gstreamer1-plugins-base-1.4.5-2.fc22

Kalev Lember kalev at fedoraproject.org
Sat Feb 21 23:42:27 UTC 2015


commit 119c92750464f8c722f95a3a30476c90a5b8dca3
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Sat Feb 21 23:57:15 2015 +0100

    Use new missing plugins API from gstreamer1-plugins-base-1.4.5-2.fc22

 ...patch-Reduce-gstreamer-version-requiremen.patch | 65 ++++++++++++++++++++++
 totem.spec                                         |  4 ++
 2 files changed, 69 insertions(+)
---
diff --git a/0001-downstream-patch-Reduce-gstreamer-version-requiremen.patch b/0001-downstream-patch-Reduce-gstreamer-version-requiremen.patch
new file mode 100644
index 0000000..977eace
--- /dev/null
+++ b/0001-downstream-patch-Reduce-gstreamer-version-requiremen.patch
@@ -0,0 +1,65 @@
+From 63bb7b4b34f77fbb0639cf415954e9dc07d377f2 Mon Sep 17 00:00:00 2001
+From: Kalev Lember <kalevlember at gmail.com>
+Date: Fri, 20 Feb 2015 16:52:25 +0100
+Subject: [PATCH] downstream patch: Reduce gstreamer version requirement
+
+We carry backported gstreamer1-plugins-base patches that add the
+required new symbols.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=744610
+---
+ src/backend/bacon-video-widget-gst-missing-plugins.c | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/src/backend/bacon-video-widget-gst-missing-plugins.c b/src/backend/bacon-video-widget-gst-missing-plugins.c
+index c717566..0c7ac98 100644
+--- a/src/backend/bacon-video-widget-gst-missing-plugins.c
++++ b/src/backend/bacon-video-widget-gst-missing-plugins.c
+@@ -239,7 +239,7 @@ on_plugin_installation_done (GstInstallPluginsReturn res, gpointer user_data)
+ }
+ 
+ #ifdef GDK_WINDOWING_X11
+-#if GST_CHECK_VERSION (1, 5, 0)
++#if GST_CHECK_VERSION (1, 4, 5)
+ static gchar *
+ set_startup_notification_id (GstInstallPluginsContext *install_ctx)
+ {
+@@ -265,7 +265,7 @@ bacon_video_widget_start_plugin_installation (TotemCodecInstallContext *ctx,
+ #endif
+ 
+ 	install_ctx = gst_install_plugins_context_new ();
+-#if GST_CHECK_VERSION (1, 5, 0)
++#if GST_CHECK_VERSION (1, 4, 5)
+ 	gst_install_plugins_context_set_desktop_id (install_ctx, "org.gnome.Totem.desktop");
+ 	gst_install_plugins_context_set_confirm_search (install_ctx, confirm_search);
+ #endif
+@@ -279,7 +279,7 @@ bacon_video_widget_start_plugin_installation (TotemCodecInstallContext *ctx,
+ 	{
+ 		gulong xid = 0;
+ 
+-#if GST_CHECK_VERSION (1, 5, 0)
++#if GST_CHECK_VERSION (1, 4, 5)
+ 		set_startup_notification_id (install_ctx);
+ #endif
+ 
+@@ -313,7 +313,7 @@ bacon_video_widget_start_plugin_installation (TotemCodecInstallContext *ctx,
+ 	return TRUE;
+ }
+ 
+-#if GST_CHECK_VERSION (1, 5, 0)
++#if GST_CHECK_VERSION (1, 4, 5)
+ static void
+ codec_confirmation_dialog_response_cb (GtkDialog       *dialog,
+                                        GtkResponseType  response_type,
+@@ -398,7 +398,7 @@ on_packagekit_proxy_ready (GObject      *source_object,
+ 		goto out;
+ 	}
+ 
+-#if GST_CHECK_VERSION (1, 5, 0)
++#if GST_CHECK_VERSION (1, 4, 5)
+ 	if (packagekit_proxy != NULL) {
+ 		property = g_dbus_proxy_get_cached_property (packagekit_proxy, "DisplayName");
+ 		if (property != NULL) {
+-- 
+2.1.0
+
diff --git a/totem.spec b/totem.spec
index e15131e..fdacfe4 100644
--- a/totem.spec
+++ b/totem.spec
@@ -10,6 +10,8 @@ Source0: http://download.gnome.org/sources/totem/3.15/totem-%{version}.tar.xz
 # Keep on using clutter-gst2 while the clutter-gst3 package review is under way
 # https://bugzilla.redhat.com/show_bug.cgi?id=1194995
 Patch0: 0001-Revert-backend-port-to-clutter-gst-3.0.patch
+# gstreamer1-plugins-base-1.4.5-2.fc22 has all the API backported that we need
+Patch1: 0001-downstream-patch-Reduce-gstreamer-version-requiremen.patch
 
 # For all the Python plugins
 Requires: pygobject3
@@ -150,6 +152,7 @@ audio and video files in the properties dialog.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 autoreconf -fi
 
 %build
@@ -265,6 +268,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 %changelog
 * Sat Feb 21 2015 Kalev Lember <kalevlember at gmail.com> - 1:3.15.90-1
 - Update to 3.15.90
+- Use new missing plugins API from gstreamer1-plugins-base-1.4.5-2.fc22
 
 * Fri Feb 13 2015 Richard Hughes <rhughes at redhat.com> - 1:3.15.4-1
 - Update to 3.15.4


More information about the scm-commits mailing list