summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2004-11-22 14:57:14 +0000
committerMarinus Schraal <foser@gentoo.org>2004-11-22 14:57:14 +0000
commitb7af65c53f09538b2d4d2a48627e7f02bf3b8845 (patch)
treef4d24b8a8cb168457e0ce2a4b9812b52e561a998 /media-video
parentonly make the error failure scary fur uclibc users (diff)
downloadgentoo-2-b7af65c53f09538b2d4d2a48627e7f02bf3b8845.tar.gz
gentoo-2-b7af65c53f09538b2d4d2a48627e7f02bf3b8845.tar.bz2
gentoo-2-b7af65c53f09538b2d4d2a48627e7f02bf3b8845.zip
add patch to fix gst backend
Diffstat (limited to 'media-video')
-rw-r--r--media-video/totem/ChangeLog8
-rw-r--r--media-video/totem/Manifest3
-rw-r--r--media-video/totem/files/digest-totem-0.99.22-r1 (renamed from media-video/totem/files/digest-totem-0.99.22)0
-rw-r--r--media-video/totem/files/totem-0.99.22-gst_object_rename.patch34
-rw-r--r--media-video/totem/totem-0.99.22-r1.ebuild (renamed from media-video/totem/totem-0.99.22.ebuild)6
5 files changed, 49 insertions, 2 deletions
diff --git a/media-video/totem/ChangeLog b/media-video/totem/ChangeLog
index 54bfbaa39c76..3d4c05bad2e5 100644
--- a/media-video/totem/ChangeLog
+++ b/media-video/totem/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/totem
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.37 2004/11/22 01:07:30 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.38 2004/11/22 14:57:14 foser Exp $
+
+*totem-0.99.22-r1 (22 Nov 2004)
+
+ 22 Nov 2004; foser <foser@gentoo.org> totem-0.99.22-r1.ebuild :
+ Add patch to fix gst backend for released gst-plugins versions
+ http://bugzilla.gnome.org/show_bug.cgi?id=159049
*totem-0.99.22 (22 Nov 2004)
diff --git a/media-video/totem/Manifest b/media-video/totem/Manifest
index a98762251eeb..b72abdb6abad 100644
--- a/media-video/totem/Manifest
+++ b/media-video/totem/Manifest
@@ -1,13 +1,16 @@
MD5 6d4402f87be251454bcc8644c3a13056 totem-0.99.19.ebuild 1703
+MD5 0533544b28156ec5b92a9c9188484aac totem-0.99.22-r1.ebuild 1862
MD5 d491742489c165c2321c610b8abbdd68 totem-0.99.8-r2.ebuild 2023
MD5 3a099802658c8b0f280b577253e04088 totem-0.99.15.1.ebuild 1585
MD5 0461dff3348ee547712976080767693d totem-0.99.22.ebuild 1755
MD5 1667ab4a004c11f2ee38978500369300 ChangeLog 5241
MD5 74b9bd3cc5015b286abc33eb51408252 metadata.xml 521
+MD5 8c12406bb21e95feaeb34355f9fd301b files/totem-0.99.22-gst_object_rename.patch 1290
MD5 ffee6132520a471d092c6101e2cfcfc4 files/totem-0.99.8-curl.patch 762
MD5 9e38423894eaf7762dc1790bcf1ad543 files/totem-0.99.22-reorder_includes.patch 392
MD5 eeba2ab1c3ed87a4a630addd709262ea files/digest-totem-0.99.19 67
MD5 1c2c4aab10d4dbff69612b377a4aba0a files/digest-totem-0.99.22 67
+MD5 1c2c4aab10d4dbff69612b377a4aba0a files/digest-totem-0.99.22-r1 67
MD5 f19c916fffc4e302cb84b4d6f50c8c03 files/totem-0.99.8-nvidia.patch 526
MD5 3d9e7881aa0ec7d110c1487cd95d6c40 files/digest-totem-0.99.15.1 69
MD5 5555967d2623a7a6476864d9294bf323 files/digest-totem-0.99.8-r2 65
diff --git a/media-video/totem/files/digest-totem-0.99.22 b/media-video/totem/files/digest-totem-0.99.22-r1
index c98860215f60..c98860215f60 100644
--- a/media-video/totem/files/digest-totem-0.99.22
+++ b/media-video/totem/files/digest-totem-0.99.22-r1
diff --git a/media-video/totem/files/totem-0.99.22-gst_object_rename.patch b/media-video/totem/files/totem-0.99.22-gst_object_rename.patch
new file mode 100644
index 000000000000..1afb631dbc6f
--- /dev/null
+++ b/media-video/totem/files/totem-0.99.22-gst_object_rename.patch
@@ -0,0 +1,34 @@
+Index: bacon-video-widget-gst.c
+===================================================================
+RCS file: /cvs/gnome/totem/src/bacon-video-widget-gst.c,v
+retrieving revision 1.108
+diff -u -r1.108 bacon-video-widget-gst.c
+--- bacon-video-widget-gst.c 19 Nov 2004 12:09:29 -0000 1.108
++++ bacon-video-widget-gst.c 22 Nov 2004 14:16:28 -0000
+@@ -844,6 +844,9 @@
+ GstPad *pad = NULL;
+
+ g_object_get (info, "object", &pad, NULL);
++ /* hack for 0.8.5 */
++ if (!pad)
++ g_object_get (info, "pad", &pad, NULL);
+ if (pad != NULL && GST_PAD_REALIZE (pad) != NULL) {
+ g_assert (GST_IS_PAD (pad));
+
+@@ -2087,11 +2090,14 @@
+ g_object_get (info, "type", &type, NULL);
+ pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (info), "type");
+ val = g_enum_get_value (G_PARAM_SPEC_ENUM (pspec)->enum_class, type);
+-
++
+ if (strstr (val->value_name, "VIDEO")) {
+- GstPad *pad;
++ GstPad *pad = NULL;
+
+ g_object_get (info, "object", &pad, NULL);
++ /* hack for 0.8.5 */
++ if (!pad)
++ g_object_get (info, "pad", &pad, NULL);
+ g_assert (GST_IS_PAD (pad));
+ from = gst_caps_copy (GST_PAD_CAPS (pad));
+ }
diff --git a/media-video/totem/totem-0.99.22.ebuild b/media-video/totem/totem-0.99.22-r1.ebuild
index 849039c09c6c..c5129f571ce6 100644
--- a/media-video/totem/totem-0.99.22.ebuild
+++ b/media-video/totem/totem-0.99.22-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-0.99.22.ebuild,v 1.1 2004/11/22 01:07:30 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-0.99.22-r1.ebuild,v 1.1 2004/11/22 14:57:14 foser Exp $
inherit gnome2 eutils
@@ -64,6 +64,10 @@ src_unpack() {
# violations, see bug #48800 <obz@gentoo.org>
gnome2_omf_fix
+ # make the gst backend actually work with 0.8.5 plugins
+ cd ${S}/src
+ epatch ${FILESDIR}/${P}-gst_object_rename.patch
+
}
USE_DESTDIR="1"