diff --git a/evince.spec b/evince.spec index f160ce5..8fcf23d 100644 --- a/evince.spec +++ b/evince.spec @@ -6,7 +6,7 @@ Name: evince Version: 2.21.90 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Document viewer License: GPLv2+ and GFDL+ @@ -18,6 +18,8 @@ Patch0: evince-0.6.0-print-error.patch Patch1: property-deps.patch # http://bugzilla.gnome.org/show_bug.cgi?id=512720 Patch2: property-backends.patch +# http://bugzilla.gnome.org/show_bug.cgi?id=513934 +Patch3: thumbnailer-type-init.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtk2-devel >= %{gtk2_version} @@ -91,6 +93,8 @@ A backend to let evince display djvu files. %setup -q %patch0 -p1 -b .print-error %patch1 -p1 -b .property-deps +%patch2 -p1 -b .property-backends +%patch3 -p1 -b .thumbnailer-type-init %build intltoolize --force @@ -220,6 +224,9 @@ fi %{_libdir}/evince/backends/djvudocument.evince-backend %changelog +* Sat Feb 2 2008 Matthias Clasen - 2.21.90-5 +- Fix nautilus property page and thumbnailer + * Wed Jan 30 2008 Matthias Clasen - 2.21.90-4 - Use libspectre diff --git a/thumbnailer-type-init.patch b/thumbnailer-type-init.patch new file mode 100644 index 0000000..c81e7b0 --- /dev/null +++ b/thumbnailer-type-init.patch @@ -0,0 +1,12 @@ +diff -up evince-2.21.90/thumbnailer/evince-thumbnailer.c.thumbnailer evince-2.21.90/thumbnailer/evince-thumbnailer.c +--- evince-2.21.90/thumbnailer/evince-thumbnailer.c.thumbnailer 2008-02-02 14:13:41.000000000 -0500 ++++ evince-2.21.90/thumbnailer/evince-thumbnailer.c 2008-02-02 14:14:11.000000000 -0500 +@@ -158,6 +158,8 @@ main (int argc, char *argv[]) + return -1; + } + ++ g_type_init (); ++ + if (!g_thread_supported ()) + g_thread_init (NULL); +