For video thumbnailers (upstream patch) wrt #387411 by "Hypnos"
authorSamuli Suominen <ssuominen@gentoo.org>
Tue, 18 Oct 2011 20:45:33 +0000 (20:45 +0000)
committerSamuli Suominen <ssuominen@gentoo.org>
Tue, 18 Oct 2011 20:45:33 +0000 (20:45 +0000)
Package-Manager: portage-2.2.0_alpha69/cvs/Linux x86_64

xfce-extra/tumbler/ChangeLog
xfce-extra/tumbler/Manifest
xfce-extra/tumbler/files/tumbler-0.1.22-pipeline.patch [new file with mode: 0644]
xfce-extra/tumbler/tumbler-0.1.22-r1.ebuild [new file with mode: 0644]

index 9952952edb6aafeffbf648a6e2be054dfeeeeeea..1e1c10a63b1c78f900e982d34d6cdc67fe2fb64a 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for xfce-extra/tumbler
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-extra/tumbler/ChangeLog,v 1.21 2011/10/16 05:24:34 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-extra/tumbler/ChangeLog,v 1.22 2011/10/18 20:45:33 ssuominen Exp $
+
+*tumbler-0.1.22-r1 (18 Oct 2011)
+
+  18 Oct 2011; Samuli Suominen <ssuominen@gentoo.org>
+  +tumbler-0.1.22-r1.ebuild, +files/tumbler-0.1.22-pipeline.patch:
+  For video thumbnailers (upstream patch) wrt #387411 by "Hypnos"
 
   16 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> tumbler-0.1.22.ebuild:
   amd64 stable wrt #386963
index 948ce24471874ddae41ba6204fa34d965dcb016d..1c787461f330b14e33b90dabe1d731b287ab7d19 100644 (file)
@@ -1,20 +1,22 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
+AUX tumbler-0.1.22-pipeline.patch 765 RMD160 5ce3c486bb45dd4d8a05216a5e2fb6ac51cef423 SHA1 b13ef083c4b4a60b1c2127bb8ba568118191bd50 SHA256 85dd0c75a8264c4366281fa540d0249932f810df693457f305fb878621b00e04
 DIST tumbler-0.1.21.tar.bz2 451812 RMD160 58206df4e99bf14b596d0006765c3e4c7fe1d1a4 SHA1 461f590b7bfe4c2e7f04879d616c343e08b3314b SHA256 348ac093e3be000d064c94d0856e3da3b6df0c8a98f87695ff548a77edf602a6
 DIST tumbler-0.1.22.tar.bz2 481203 RMD160 9414b71fae2fd0571c8729646a21d78b1070cb18 SHA1 a4c301192f2e086841c62bf8e8d5e3539fc13f1d SHA256 9e41fe8f76f9422fb4f804e9635f6734552f0d82361f9971c0442a2119d451b6
 EBUILD tumbler-0.1.21.ebuild 1307 RMD160 8d6aa9ce22877835eda54e5017eaf9340f986fc3 SHA1 ec996cd15d64902a35399a190d6b776f9d2b7952 SHA256 88eac56517059d6b5d2e76b49ba073f25384860fa82e5b7fd3af27ff1838d68b
+EBUILD tumbler-0.1.22-r1.ebuild 1438 RMD160 b324c298ee72b07b52effae3e9457a5102fdec8b SHA1 ca7c3e6aebffa38588eeeee1d21aa4fa8a3b2fe9 SHA256 7e70f51cc09ba8c58fd0013ca9f5e43d1f01ff489be74266a06e9c6b32b97b77
 EBUILD tumbler-0.1.22.ebuild 1448 RMD160 03a9ad6a957bb845acb363acb5716b127b4003b2 SHA1 737ec3e9064eac45e02ab7bb1320cc04a6a8380f SHA256 59878e2696212fab2dd6271f3fc1ca95ba3cb3536c2cc25b2efc1ac66d43042d
-MISC ChangeLog 3774 RMD160 7db1ac89b3cec22b3d65881190dd40e86764a1f2 SHA1 1afb3959e94ddda0821e4ef35e4b17f7da8ed4e9 SHA256 ea212c0da69f6714e40b2d3f17873707c0c92989cfac15ed138d22f491bc8ec0
+MISC ChangeLog 3996 RMD160 1883f3e0e532672bdc6fa40fb6818175b232fb96 SHA1 5d7d352cf231ce4503197348f154e8a7dbbba439 SHA256 7ef654331c4335925926234206b11edbad31f058b377475912dbc680e09fc1ce
 MISC metadata.xml 159 RMD160 43722935bd7b4db7fe8db681054f2e53c4a5f7ce SHA1 15958ad72e234ba572c9534533c21532eb6bc0fd SHA256 900ea49b6703fce452e205b85226bf1f994725963e5840da501182e7487d0e63
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iQEcBAEBAgAGBQJOmmqKAAoJEEdUh39IaPFNcZAH/2fy1n+NW5fnPKSH4BR82P1s
-HejTHcbkJfQ1LY07+uUPMeH86y1cxF7GYVpkPBhbV+3oDOmZ66sH6ixdAPaJfX10
-81xBNBtt5HYaSOLkAtS1Nrsy6NVYWrjqGIuHzheM9FlazY05Xg5wjjukjoff4e9V
-kUs0/XlIP2N+exvAPt4WJ1aat4DkuigMilrESa8rLym5nQgPC9dp0nAFW0J+ujk9
-aAHEznuZyLwccUdYoETfrbiETvokosTHH2GKV5V7N9MtXTYpXgbE7oV+0Ts1E+p2
-wfQZLHP9SIHn7w7OZhl2O0B/GNN4yqMuZ1c5cQj2VV6UZxLYiHZIS6weH7lpu7U=
-=NL5V
+iQEcBAEBAgAGBQJOneVYAAoJEEdUh39IaPFNg/YH/AplYsMh2VYMpYNPxpKcSY7U
+VDGHjfLWJcvlj73/Jd5S9V9vD5LQ60okFprYPKbjfk0p3YYW5pvRJU1cgfUTTZ0g
+Tkkss1r8hmswEFcD06X40YmDnAEma87Y1hC/eA07psvYaz0ahpzylF1gRhWNUROj
+0YznxlX5XJU+qIyTNlTjPGADzz8O9D3nSqhE5hVn9wgzyvbUvRQDMXb6JVcP30Kr
+pMvrXj7xGhBhG0mJm0EKTFo1wMBwHux4mZbs1hIU2q58vtHCk40UxFdIeUvrxyuW
+VxK7uWcZjLw13jAH6s4bK8UH9ksVsYW41RH6LEULK9Q68zOrJtcrCgITj8S3kT8=
+=4cem
 -----END PGP SIGNATURE-----
diff --git a/xfce-extra/tumbler/files/tumbler-0.1.22-pipeline.patch b/xfce-extra/tumbler/files/tumbler-0.1.22-pipeline.patch
new file mode 100644 (file)
index 0000000..1180ac0
--- /dev/null
@@ -0,0 +1,22 @@
+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/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 
diff --git a/xfce-extra/tumbler/tumbler-0.1.22-r1.ebuild b/xfce-extra/tumbler/tumbler-0.1.22-r1.ebuild
new file mode 100644 (file)
index 0000000..00d779c
--- /dev/null
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/xfce-extra/tumbler/tumbler-0.1.22-r1.ebuild,v 1.1 2011/10/18 20:45:33 ssuominen Exp $
+
+EAPI=4
+inherit xfconf
+
+DESCRIPTION="A thumbnail service for the filemanager of Xfce desktop environment"
+HOMEPAGE="http://www.xfce.org/projects/thunar/"
+SRC_URI="mirror://xfce/src/apps/${PN}/0.1/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug ffmpeg gstreamer jpeg pdf"
+
+COMMON_DEPEND="dev-libs/dbus-glib
+       >=dev-libs/glib-2.16:2
+       media-libs/freetype:2
+       >=media-libs/libpng-1.2:0
+       >=sys-apps/dbus-1.4
+       x11-libs/gdk-pixbuf:2
+       ffmpeg? ( >=media-video/ffmpegthumbnailer-2 )
+       gstreamer? ( media-libs/gstreamer:0.10
+               media-libs/gst-plugins-base:0.10 )
+       jpeg? ( virtual/jpeg )
+       pdf? ( >=app-text/poppler-0.12.4[cairo] )"
+RDEPEND="${COMMON_DEPEND}
+       >=xfce-base/thunar-1.2"
+DEPEND="${COMMON_DEPEND}
+       dev-util/intltool
+       dev-util/pkgconfig"
+
+pkg_setup() {
+       PATCHES=( "${FILESDIR}"/${P}-pipeline.patch )
+
+       XFCONF=(
+               --disable-static
+               $(use_enable jpeg jpeg-thumbnailer)
+               $(use_enable ffmpeg ffmpeg-thumbnailer)
+               $(use_enable pdf poppler-thumbnailer)
+               $(use_enable gstreamer gstreamer-thumbnailer)
+               $(xfconf_use_debug)
+               --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
+               )
+
+       DOCS=( AUTHORS ChangeLog NEWS README TODO )
+}