From 48dbfaa22097c952d0dbed189cbe25430e1884fd Mon Sep 17 00:00:00 2001 From: Marinus Schraal Date: Mon, 14 Apr 2003 22:27:54 +0000 Subject: added thumbnailer fixing patch --- media-video/totem/ChangeLog | 5 ++++- .../files/totem-0.96.0-thumbnailer_thread_fix.patch | 20 ++++++++++++++++++++ media-video/totem/totem-0.96.0.ebuild | 10 ++++++++-- 3 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 media-video/totem/files/totem-0.96.0-thumbnailer_thread_fix.patch (limited to 'media-video/totem') diff --git a/media-video/totem/ChangeLog b/media-video/totem/ChangeLog index 2f205a6e2ca9..7f54726b3731 100644 --- a/media-video/totem/ChangeLog +++ b/media-video/totem/ChangeLog @@ -1,9 +1,12 @@ # ChangeLog for media-video/totem # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.12 2003/04/10 12:14:27 foser Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.13 2003/04/14 22:27:54 foser Exp $ *totem-0.96.0 (10 Apr 2003) + 14 Apr 2003; foser totem-0.96.0.ebuild : + Added small patch, which should fix the video thumbnailing + 10 Apr 2003; foser totem-0.96.0.ebuild : New version diff --git a/media-video/totem/files/totem-0.96.0-thumbnailer_thread_fix.patch b/media-video/totem/files/totem-0.96.0-thumbnailer_thread_fix.patch new file mode 100644 index 000000000000..d1cf12d6fbd3 --- /dev/null +++ b/media-video/totem/files/totem-0.96.0-thumbnailer_thread_fix.patch @@ -0,0 +1,20 @@ +--- totem-0.96.0/src/totem-video-thumbnailer.c 2003-03-17 20:34:04.000000000 +0100 ++++ totem/src/totem-video-thumbnailer.c 2003-04-11 14:31:32.000000000 +0200 +@@ -2,6 +2,7 @@ + #include "config.h" + + #include ++#include + #include "bacon-video-widget.h" + + /* #define THUMB_DEBUG */ +@@ -165,6 +166,9 @@ + GdkPixbuf *pixbuf; + int i; + ++ if(!g_thread_supported()) ++ g_thread_init (NULL); ++ + gtk_init (&argc, &argv); + + if (argc != 3) diff --git a/media-video/totem/totem-0.96.0.ebuild b/media-video/totem/totem-0.96.0.ebuild index 0f9d01f10a0a..c28a01da537a 100644 --- a/media-video/totem/totem-0.96.0.ebuild +++ b/media-video/totem/totem-0.96.0.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-0.96.0.ebuild,v 1.2 2003/04/10 12:17:12 foser Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-0.96.0.ebuild,v 1.3 2003/04/14 22:27:54 foser Exp $ -inherit gnome2 +inherit gnome2 eutils IUSE="" DESCRIPTION="Totem is simple movie player for the Gnome2 desktop based on xine" @@ -24,3 +24,9 @@ DEPEND="${RDEPEND} >=dev-util/pkgconfig-0.12.0" DOCS="AUTHORS ChangeLog COPYING* README* INSTALL NEWS" + +src_unpack() { + unpack ${A} + + epatch ${FILESDIR}/${P}-thumbnailer_thread_fix.patch +} -- cgit v1.2.3-65-gdbad