[shotwell/f19] Add patch fixing the video-thumbnailer (rhbz#986574).
Thomas Moschny
thm at fedoraproject.org
Tue Sep 24 06:57:42 UTC 2013
commit 1148536a420c82c0f4166c65185ac73c5d1bb7c7
Author: Thomas Moschny <thm at fedoraproject.org>
Date: Fri Sep 20 09:42:21 2013 +0200
Add patch fixing the video-thumbnailer (rhbz#986574).
Thanks to David Woodhouse.
shotwell-0.14.1-video-thumbnailer.patch | 13 +++++++++++++
shotwell.spec | 6 ++++++
2 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/shotwell-0.14.1-video-thumbnailer.patch b/shotwell-0.14.1-video-thumbnailer.patch
new file mode 100644
index 0000000..f709e50
--- /dev/null
+++ b/shotwell-0.14.1-video-thumbnailer.patch
@@ -0,0 +1,13 @@
+diff --git a/thumbnailer/shotwell-video-thumbnailer.vala b/thumbnailer/shotwell-video-thumbnailer.vala
+index e6ff913..0d954a5 100644
+--- a/thumbnailer/shotwell-video-thumbnailer.vala
++++ b/thumbnailer/shotwell-video-thumbnailer.vala
+@@ -10,7 +10,7 @@
+ // Shotwell Thumbnailer takes in a video file and returns a thumbnail to stdout. This is
+ // a replacement for totem-video-thumbnailer
+ class ShotwellThumbnailer {
+- const string caps_string = """video/x-raw,format=RGB,bpp=32,depth=32,pixel-aspect-ratio=1/1""";
++ const string caps_string = """video/x-raw,format=RGB,pixel-aspect-ratio=1/1""";
+
+ public static int main(string[] args) {
+ Gst.Element pipeline, sink;
diff --git a/shotwell.spec b/shotwell.spec
index 2bc2b5f..7c477e7 100644
--- a/shotwell.spec
+++ b/shotwell.spec
@@ -16,6 +16,9 @@ Source1: shotwell-icons.tar.bz2
# https://bugzilla.redhat.com/show_bug.cgi?id=812652 and
# http://redmine.yorba.org/issues/5181
Patch0: shotwell-usrmove.patch
+# See https://bugzilla.redhat.com/show_bug.cgi?id=986574 and
+# http://redmine.yorba.org/issues/7258
+Patch2: shotwell-0.14.1-video-thumbnailer.patch
BuildRequires: vala-devel >= 0.18.0
BuildRequires: desktop-file-utils
@@ -58,6 +61,7 @@ them, and share them with others.
%prep
%setup -q
%patch0 -p1 -b .usrmove
+%patch2 -p1 -b .thumbnailer
%build
@@ -126,6 +130,8 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
* Tue Sep 24 2013 Thomas Moschny <thomas.moschny at gmx.de> - 0.14.1-1.1
+- Add patch fixing the video-thumbnailer (rhbz#986574),
+ thanks to David Woodhouse.
- Fix bogus dates in the %%changelog.
* Thu Apr 4 2013 Thomas Moschny <thomas.moschny at gmx.de> - 0.14.1-1
More information about the scm-commits
mailing list