From: Marinus Schraal Date: Wed, 12 Jan 2005 16:10:31 +0000 (+0000) Subject: add nother minor patch X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6d69a73af9c62205c8652d7c138fc9397f6f53ce;p=gentoo.git add nother minor patch --- diff --git a/media-video/totem/ChangeLog b/media-video/totem/ChangeLog index 7ae78f96d983..a65b0cd62615 100644 --- a/media-video/totem/ChangeLog +++ b/media-video/totem/ChangeLog @@ -1,12 +1,13 @@ # ChangeLog for media-video/totem # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.42 2005/01/12 14:07:02 foser Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.43 2005/01/12 16:10:31 foser Exp $ *totem-0.100-r2 (12 Jan 2005) 12 Jan 2005; foser totem-0.100-r2.ebuild : Redo the kernel 2.4 cdrom/header fix (#68087) Add scrollkeeper dep (#77631) + Add a patch with minor speed fixes for gst *totem-0.100-r1 (09 Jan 2005) diff --git a/media-video/totem/Manifest b/media-video/totem/Manifest index d2f2bec68686..3cd33c4662cb 100644 --- a/media-video/totem/Manifest +++ b/media-video/totem/Manifest @@ -1,9 +1,9 @@ MD5 2fa9295189faf40791670a895cb1d171 totem-0.99.19.ebuild 1739 MD5 c844cbe6376059896095a29349689b61 totem-0.99.22-r1.ebuild 1924 MD5 3a099802658c8b0f280b577253e04088 totem-0.99.15.1.ebuild 1585 -MD5 8a4c5d8d17c5f73ea9ca6e97519da215 totem-0.100-r2.ebuild 1900 +MD5 aa17eeb206777d823aab77f5266dc96a totem-0.100-r2.ebuild 1990 MD5 0eb2827444cd5b1814c137542b5bfd52 totem-0.100-r1.ebuild 1851 -MD5 42fd42016718f9f3bd397a9208ddf819 ChangeLog 6027 +MD5 ea2034c7f5d0011dc208c0c177e45d86 ChangeLog 6072 MD5 74b9bd3cc5015b286abc33eb51408252 metadata.xml 521 MD5 50a343412446e05871e042a7b5958c93 files/totem-0.100-fix_desktop_item.patch 558 MD5 8c12406bb21e95feaeb34355f9fd301b files/totem-0.99.22-gst_object_rename.patch 1290 @@ -12,5 +12,6 @@ MD5 8dd0c2a14c9603045fb2eebd0ee50534 files/digest-totem-0.100-r2 65 MD5 8ab6b544e88eb5901e71820c8b41a477 files/totem-0.100-cdrom_include.patch 413 MD5 eeba2ab1c3ed87a4a630addd709262ea files/digest-totem-0.99.19 67 MD5 1c2c4aab10d4dbff69612b377a4aba0a files/digest-totem-0.99.22-r1 67 +MD5 62cbcd8c86010195b8b70ee4d9703e84 files/totem-0.100-gst_backend_fixes-r1.patch 1036 MD5 572a285ceed98dcaa61cf9520e7e59f7 files/totem-0.99.22-x_includes.patch 1330 MD5 3d9e7881aa0ec7d110c1487cd95d6c40 files/digest-totem-0.99.15.1 69 diff --git a/media-video/totem/files/totem-0.100-gst_backend_fixes-r1.patch b/media-video/totem/files/totem-0.100-gst_backend_fixes-r1.patch new file mode 100644 index 000000000000..be0d71fbc87c --- /dev/null +++ b/media-video/totem/files/totem-0.100-gst_backend_fixes-r1.patch @@ -0,0 +1,38 @@ +--- bacon-video-widget-gst.c.orig 2005-01-03 00:18:38.000000000 +0100 ++++ bacon-video-widget-gst.c 2005-01-12 14:17:36.000000000 +0100 +@@ -802,14 +802,6 @@ + { + GstFormat fmt = GST_FORMAT_TIME; + gint64 value; +- gboolean res; +- +- if (!GST_FLAG_IS_SET (bvw->priv->play, GST_BIN_SELF_SCHEDULABLE)) { +- res = gst_bin_iterate (GST_BIN (bvw->priv->play)); +- } else { +- g_usleep (100); +- res = (gst_element_get_state (bvw->priv->play) == GST_STATE_PLAYING); +- } + + /* check length/pos of stream */ + if (!bvw->priv->stream_length) { +@@ -825,10 +817,7 @@ + value, bvw); + } + +- if (!res) +- bvw->priv->update_id = 0; +- +- return res; ++ return TRUE; + } + + static void +@@ -876,7 +865,7 @@ + } else if (new_state == GST_STATE_PLAYING) { + if (bvw->priv->update_id != 0) + g_source_remove (bvw->priv->update_id); +- bvw->priv->update_id = g_idle_add ((GSourceFunc) cb_iterate, bvw); ++ bvw->priv->update_id = g_timeout_add (200, (GSourceFunc) cb_iterate, bvw); + } + + if (old_state <= GST_STATE_READY && diff --git a/media-video/totem/totem-0.100-r2.ebuild b/media-video/totem/totem-0.100-r2.ebuild index d03dc1d414ad..5ee98faa9629 100644 --- a/media-video/totem/totem-0.100-r2.ebuild +++ b/media-video/totem/totem-0.100-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-0.100-r2.ebuild,v 1.1 2005/01/12 14:07:02 foser Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-0.100-r2.ebuild,v 1.2 2005/01/12 16:10:31 foser Exp $ inherit gnome2 eutils @@ -67,6 +67,9 @@ src_unpack() { epatch ${FILESDIR}/${P}-cdrom_include.patch # fix the desktop item (#77204) epatch ${FILESDIR}/${P}-fix_desktop_item.patch + # some more minor fixes + cd ${S}/src + epatch ${FILESDIR}/${P}-gst_backend_fixes-r1.patch WANT_AUTOMAKE=1.4 automake