summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2003-04-14 22:27:54 +0000
committerMarinus Schraal <foser@gentoo.org>2003-04-14 22:27:54 +0000
commit7a5f58fa7d5473ea7ea1bb70d533ed15a1f37a36 (patch)
treea004e3e706cc49ae7a99f23ee02179316dee77da /media-video/totem
parentVersion bumped. Closes #18722. (diff)
downloadgentoo-2-7a5f58fa7d5473ea7ea1bb70d533ed15a1f37a36.tar.gz
gentoo-2-7a5f58fa7d5473ea7ea1bb70d533ed15a1f37a36.tar.bz2
gentoo-2-7a5f58fa7d5473ea7ea1bb70d533ed15a1f37a36.zip
added thumbnailer fixing patch
Diffstat (limited to 'media-video/totem')
-rw-r--r--media-video/totem/ChangeLog5
-rw-r--r--media-video/totem/files/totem-0.96.0-thumbnailer_thread_fix.patch20
-rw-r--r--media-video/totem/totem-0.96.0.ebuild10
3 files changed, 32 insertions, 3 deletions
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 <foser@gentoo.org> totem-0.96.0.ebuild :
+ Added small patch, which should fix the video thumbnailing
+
10 Apr 2003; foser <foser@gentoo.org> 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 <gnome.h>
++#include <string.h>
+ #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
+}