Add missing libs

This commit is contained in:
Matthias Clasen 2010-02-14 05:33:41 +00:00
parent 67c02be505
commit 7e49176b0e
2 changed files with 22 additions and 1 deletions

12
evince-libs.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up evince-2.29.5/configure.ac.libs evince-2.29.5/configure.ac
--- evince-2.29.5/configure.ac.libs 2010-02-14 00:26:26.130364459 -0500
+++ evince-2.29.5/configure.ac 2010-02-14 00:29:20.108113961 -0500
@@ -167,7 +167,7 @@ case "$with_platform" in
;;
esac
-PKG_CHECK_MODULES([SHELL_CORE],[libxml-2.0 >= $LIBXML_REQUIRED gtk+-2.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS])
+PKG_CHECK_MODULES([SHELL_CORE],[libxml-2.0 >= $LIBXML_REQUIRED gtk+-2.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS x11])
# *********
# SM client

View File

@ -6,7 +6,7 @@
Name: evince
Version: 2.29.5
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Document viewer
License: GPLv2+ and GFDL
@ -15,6 +15,8 @@ URL: http://projects.gnome.org/evince/
Source0: http://download.gnome.org/sources/%{name}/2.29/%{name}-%{version}.tar.bz2
# http://bugzilla.gnome.org/show_bug.cgi?id=455759
# Patch1: duplex-copies.patch
Patch0: evince-libs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel >= %{gtk2_version}
@ -37,6 +39,7 @@ BuildRequires: libtool
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: GConf2-devel
BuildRequires: autoconf automake libtool
# for the dvi backend
BuildRequires: kpathsea-devel
@ -102,8 +105,11 @@ This package contains a backend to let evince display djvu files.
%prep
%setup -q
%patch0 -p1 -b .libs
# %patch1 -p0 -b .duplex-copies
autoreconf
%build
%configure --disable-static --disable-scrollkeeper \
--with-print=gtk \
@ -260,6 +266,9 @@ fi
%{_libdir}/evince/2/backends/djvudocument.evince-backend
%changelog
* Sun Feb 14 2010 Matthias Clasen <mclasen@redhat.com> - 2.29.5-2
- Add missing libs
* Tue Jan 12 2010 Marek Kasik <mkasik@redhat.com> - 2.29.5-1
- Update to 2.29.5