fix properties pages and thumbnailer
This commit is contained in:
parent
be51fdff1d
commit
f716adbe80
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: evince
|
Name: evince
|
||||||
Version: 2.21.90
|
Version: 2.21.90
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Document viewer
|
Summary: Document viewer
|
||||||
|
|
||||||
License: GPLv2+ and GFDL+
|
License: GPLv2+ and GFDL+
|
||||||
@ -18,6 +18,8 @@ Patch0: evince-0.6.0-print-error.patch
|
|||||||
Patch1: property-deps.patch
|
Patch1: property-deps.patch
|
||||||
# http://bugzilla.gnome.org/show_bug.cgi?id=512720
|
# http://bugzilla.gnome.org/show_bug.cgi?id=512720
|
||||||
Patch2: property-backends.patch
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: gtk2-devel >= %{gtk2_version}
|
BuildRequires: gtk2-devel >= %{gtk2_version}
|
||||||
@ -91,6 +93,8 @@ A backend to let evince display djvu files.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .print-error
|
%patch0 -p1 -b .print-error
|
||||||
%patch1 -p1 -b .property-deps
|
%patch1 -p1 -b .property-deps
|
||||||
|
%patch2 -p1 -b .property-backends
|
||||||
|
%patch3 -p1 -b .thumbnailer-type-init
|
||||||
|
|
||||||
%build
|
%build
|
||||||
intltoolize --force
|
intltoolize --force
|
||||||
@ -220,6 +224,9 @@ fi
|
|||||||
%{_libdir}/evince/backends/djvudocument.evince-backend
|
%{_libdir}/evince/backends/djvudocument.evince-backend
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 2 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.90-5
|
||||||
|
- Fix nautilus property page and thumbnailer
|
||||||
|
|
||||||
* Wed Jan 30 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.90-4
|
* Wed Jan 30 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.90-4
|
||||||
- Use libspectre
|
- Use libspectre
|
||||||
|
|
||||||
|
12
thumbnailer-type-init.patch
Normal file
12
thumbnailer-type-init.patch
Normal file
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user