Author: patrys                       Date: Fri Jul 29 18:00:03 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix linking with zlib

---- Files affected:
packages/evince:
   evince.spec (1.123 -> 1.124) , evince-linking.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/evince/evince.spec
diff -u packages/evince/evince.spec:1.123 packages/evince/evince.spec:1.124
--- packages/evince/evince.spec:1.123   Tue Jul 19 14:00:37 2011
+++ packages/evince/evince.spec Fri Jul 29 19:59:58 2011
@@ -11,13 +11,14 @@
 Summary:       Document viewer for multiple document formats
 Summary(pl.UTF-8):     Przeglądarka dokumentów w wielu formatach
 Name:          evince
-Version:       3.0.2
-Release:       3
+Version:       3.1.2
+Release:       1
 License:       GPL v2
 Group:         X11/Applications/Graphics
-Source0:       
http://ftp.gnome.org/pub/GNOME/sources/evince/3.0/%{name}-%{version}.tar.bz2
-# Source0-md5: 4eff790d9ba7a0d9e8eda5b4bb91c92b
+Source0:       
http://ftp.gnome.org/pub/GNOME/sources/evince/3.1/%{name}-%{version}.tar.bz2
+# Source0-md5: 9c06e8a99204aba11da28e03a03b6823
 Patch0:                %{name}-desktop.patch
+Patch1:                %{name}-linking.patch
 URL:           http://www.gnome.org/projects/evince/
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake >= 1:1.10
@@ -157,6 +158,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__gtkdocize}
@@ -173,6 +175,7 @@
        --enable-comics \
        --enable-djvu \
        --enable-dvi \
+       --enable-introspection \
        --enable-t1lib \
        --enable-nautilus \
        --enable-pdf \
@@ -214,7 +217,7 @@
 %attr(755,root,root) %{_bindir}/evince
 %attr(755,root,root) %{_bindir}/evince-previewer
 %attr(755,root,root) %{_bindir}/evince-thumbnailer
-%attr(755,root,root) %{_libdir}/evinced
+%attr(755,root,root) %{_libexecdir}/evinced
 %attr(755,root,root) %{_libdir}/libevdocument3.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libevdocument3.so.3
 %attr(755,root,root) %{_libdir}/libevview3.so.*.*.*
@@ -235,6 +238,7 @@
 %{_mandir}/man1/evince.1*
 %{_desktopdir}/evince.desktop
 %{_iconsdir}/hicolor/*/*/*.png
+%{_libdir}/girepository-1.0/*.typelib
 
 %files backend-djvu
 %defattr(644,root,root,755)
@@ -263,6 +267,7 @@
 %{_includedir}/evince
 %{_pkgconfigdir}/evince-document-*.pc
 %{_pkgconfigdir}/evince-view-*.pc
+%{_datadir}/gir-1.0/*.gir
 
 %if %{with apidocs}
 %files apidocs
@@ -282,6 +287,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.124  2011/07/29 17:59:58  patrys
+- fix linking with zlib
+
 Revision 1.123  2011/07/19 12:00:37  baggins
 - rel 3
 - apply desktop patch :/

================================================================
Index: packages/evince/evince-linking.patch
diff -u /dev/null packages/evince/evince-linking.patch:1.1
--- /dev/null   Fri Jul 29 20:00:03 2011
+++ packages/evince/evince-linking.patch        Fri Jul 29 19:59:58 2011
@@ -0,0 +1,11 @@
+--- evince-3.1.2/configure.ac~ 2011-06-13 20:09:47.000000000 +0200
++++ evince-3.1.2/configure.ac  2011-07-29 19:52:23.832704003 +0200
+@@ -313,7 +313,7 @@
+ AM_CONDITIONAL(ENABLE_TESTS, test x$enable_tests = xyes)
+ 
+ LIBDOCUMENT_CFLAGS="$LIBDOCUMENT_CFLAGS $DEBUG_FLAGS"
+-LIBDOCUMENT_LIBS="$LIBDOCUMENT_LIBS"
++LIBDOCUMENT_LIBS="$LIBDOCUMENT_LIBS -lz"
+ AC_SUBST(LIBDOCUMENT_CFLAGS)
+ AC_SUBST(LIBDOCUMENT_LIBS)
+ 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/evince/evince.spec?r1=1.123&r2=1.124&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to