Add missing libs
This commit is contained in:
parent
67c02be505
commit
7e49176b0e
12
evince-libs.patch
Normal file
12
evince-libs.patch
Normal 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
|
11
evince.spec
11
evince.spec
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: evince
|
Name: evince
|
||||||
Version: 2.29.5
|
Version: 2.29.5
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Document viewer
|
Summary: Document viewer
|
||||||
|
|
||||||
License: GPLv2+ and GFDL
|
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
|
Source0: http://download.gnome.org/sources/%{name}/2.29/%{name}-%{version}.tar.bz2
|
||||||
# http://bugzilla.gnome.org/show_bug.cgi?id=455759
|
# http://bugzilla.gnome.org/show_bug.cgi?id=455759
|
||||||
# Patch1: duplex-copies.patch
|
# Patch1: duplex-copies.patch
|
||||||
|
Patch0: evince-libs.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}
|
||||||
@ -37,6 +39,7 @@ BuildRequires: libtool
|
|||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: GConf2-devel
|
BuildRequires: GConf2-devel
|
||||||
|
BuildRequires: autoconf automake libtool
|
||||||
|
|
||||||
# for the dvi backend
|
# for the dvi backend
|
||||||
BuildRequires: kpathsea-devel
|
BuildRequires: kpathsea-devel
|
||||||
@ -102,8 +105,11 @@ This package contains a backend to let evince display djvu files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .libs
|
||||||
# %patch1 -p0 -b .duplex-copies
|
# %patch1 -p0 -b .duplex-copies
|
||||||
|
|
||||||
|
autoreconf
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --disable-scrollkeeper \
|
%configure --disable-static --disable-scrollkeeper \
|
||||||
--with-print=gtk \
|
--with-print=gtk \
|
||||||
@ -260,6 +266,9 @@ fi
|
|||||||
%{_libdir}/evince/2/backends/djvudocument.evince-backend
|
%{_libdir}/evince/2/backends/djvudocument.evince-backend
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Jan 12 2010 Marek Kasik <mkasik@redhat.com> - 2.29.5-1
|
||||||
- Update to 2.29.5
|
- Update to 2.29.5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user