summaryrefslogtreecommitdiff
path: root/staging/tumbler
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-07 23:14:36 +0000
committerroot <root@rshg054.dnsready.net>2011-10-07 23:14:36 +0000
commit8a8ac56bbf82685c43072923560881e6b119ec66 (patch)
treea83c44158166a5ad2cc5bfcaf1199ca7ba3652cc /staging/tumbler
parent5442e9b8f357932ed5d6cb46e90fcbf6f453469f (diff)
Fri Oct 7 23:14:36 UTC 2011
Diffstat (limited to 'staging/tumbler')
-rw-r--r--staging/tumbler/PKGBUILD37
-rw-r--r--staging/tumbler/fix-video-image.patch34
2 files changed, 71 insertions, 0 deletions
diff --git a/staging/tumbler/PKGBUILD b/staging/tumbler/PKGBUILD
new file mode 100644
index 000000000..606fb44d8
--- /dev/null
+++ b/staging/tumbler/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 140051 2011-10-06 06:06:45Z eric $
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+# Contributor: Jan Jezek <honzin.jezek@gmail.com>
+
+pkgname=tumbler
+pkgver=0.1.22
+pkgrel=3
+pkgdesc="D-Bus service for applications to request thumbnails"
+url="http://git.xfce.org/xfce/tumbler/"
+license=('GPL2' 'LGPL')
+arch=('i686' 'x86_64')
+groups=('xfce4')
+depends=('poppler-glib' 'dbus-glib' 'bzip2' 'gdk-pixbuf2')
+makedepends=('intltool' 'ffmpegthumbnailer' 'gstreamer0.10')
+optdepends=('ffmpegthumbnailer: for video thumbnails'
+ 'gstreamer0.10: for video thumbnails')
+options=('!libtool')
+source=(http://archive.xfce.org/src/apps/${pkgname}/0.1/${pkgname}-${pkgver}.tar.bz2
+ fix-video-image.patch)
+md5sums=('e7ba3b8f21f8f7e736f1e214906b4ca9'
+ 'be9b0f1c3a4b0be102774c84d5ac29e6')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i ../fix-video-image.patch
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/xfce4 \
+ --disable-static \
+ --disable-debug
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/staging/tumbler/fix-video-image.patch b/staging/tumbler/fix-video-image.patch
new file mode 100644
index 000000000..11c9d867b
--- /dev/null
+++ b/staging/tumbler/fix-video-image.patch
@@ -0,0 +1,34 @@
+From aab140d868c1ebedbb04bbd65deddf94dc21787b Mon Sep 17 00:00:00 2001
+From: Jannis Pohlmann <jannis@xfce.org>
+Date: Mon, 26 Sep 2011 17:28:51 +0000
+Subject: Fix generation of video images by starting the pipeline (bug #7996).
+
+Patch provided by Sam Thursfield<ssssam@gmail.com>.
+---
+diff --git a/NEWS b/NEWS
+index 0ff1c1c..48e3896 100644
+--- a/NEWS
++++ b/NEWS
+@@ -1,3 +1,7 @@
++0.1.xx
++======
++- Fix generation of video images by starting the pipeline (bug #7996).
++
+ 0.1.22
+ ======
+ - Add coding style documentation.
+diff --git a/plugins/gst-thumbnailer/gst-helper.c b/plugins/gst-thumbnailer/gst-helper.c
+index b8a29ab..dead043 100644
+--- a/plugins/gst-thumbnailer/gst-helper.c
++++ b/plugins/gst-thumbnailer/gst-helper.c
+@@ -154,6 +154,8 @@ gst_helper_convert_buffer_to_pixbuf (GstBuffer *buffer,
+
+ bus = gst_element_get_bus (GST_ELEMENT (pipeline));
+
++ gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_PLAYING);
++
+ i = 0;
+ msg = NULL;
+ while (msg == NULL && i < 5)
+--
+cgit