packages: librsvg/librsvg.spec - build gtk+2 support as well by default - u...
qboosh
qboosh at pld-linux.org
Wed Mar 28 19:29:29 CEST 2012
Author: qboosh Date: Wed Mar 28 17:29:29 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- build gtk+2 support as well by default
- updated libxml2,pango versions
- no more gsf, gio (>=2.24) is used for SVGZ now
---- Files affected:
packages/librsvg:
librsvg.spec (1.159 -> 1.160)
---- Diffs:
================================================================
Index: packages/librsvg/librsvg.spec
diff -u packages/librsvg/librsvg.spec:1.159 packages/librsvg/librsvg.spec:1.160
--- packages/librsvg/librsvg.spec:1.159 Tue Mar 27 20:58:18 2012
+++ packages/librsvg/librsvg.spec Wed Mar 28 19:29:24 2012
@@ -2,8 +2,7 @@
#
# Conditional build
%bcond_without apidocs # disable gtk-doc
-%bcond_with gtk2 # enable gtk+2
-%bcond_without libgsf # build without libgsf (used for run-time decompression)
+%bcond_without gtk2 # legacy gtk+2 support
%bcond_without libcroco # build without CSS support through libcroco
%bcond_without static_libs # don't build static library
#
@@ -28,19 +27,19 @@
URL: http://librsvg.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake >= 1:1.9
+BuildRequires: cairo-devel >= 1.2.0
BuildRequires: docbook-dtd412-xml
BuildRequires: gdk-pixbuf2-devel >= 2.0
BuildRequires: glib2-devel >= 1:2.24.0
-BuildRequires: gobject-introspection-devel >= 0.18.8
+BuildRequires: gobject-introspection-devel >= 0.10.8
%{?with_gtk2:BuildRequires: gtk+2-devel >= 2:2.16.0}
BuildRequires: gtk+3-devel >= 3.0.0
%{?with_apidocs:BuildRequires: gtk-doc >= 1.13}
%{?with_apidocs:BuildRequires: gtk-doc-automake >= 1.13}
%{?with_libcroco:BuildRequires: libcroco-devel >= 0.6.1}
-%{?with_libgsf:BuildRequires: libgsf-devel >= 1.14.4}
-BuildRequires: libtool
-BuildRequires: libxml2-devel >= 1:2.6.31
-BuildRequires: pango-devel >= 1:1.10.0
+BuildRequires: libtool >= 2:2.0
+BuildRequires: libxml2-devel >= 1:2.7.0
+BuildRequires: pango-devel >= 1:1.16.0
BuildRequires: pkgconfig
BuildRequires: rpm-pythonprov
BuildRequires: sed >= 4.0
@@ -48,12 +47,12 @@
BuildRequires: xz
Requires(post,postun): /sbin/ldconfig
Requires(post,postun): gdk-pixbuf2 >= 2.0
+Requires: cairo >= 1.2.0
Requires: gdk-pixbuf2 >= 2.0
Requires: glib2 >= 1:2.24.0
%{?with_libcroco:Requires: libcroco >= 0.6.1}
-%{?with_libgsf:Requires: libgsf >= 1.14.4}
-Requires: libxml2 >= 1:2.6.31
-Requires: pango >= 1:1.10.0
+Requires: libxml2 >= 1:2.7.0
+Requires: pango >= 1:1.16.0
Obsoletes: browser-plugin-librsvg
Obsoletes: librsvg0
Obsoletes: mozilla-plugin-rsvg
@@ -89,13 +88,13 @@
Summary(uk.UTF-8): Бібліотечні лінки та файли заголовків для розробки з librsvg
Group: X11/Development/Libraries
Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: cairo-devel >= 1.2.0
Requires: glib2-devel >= 1:2.24.0
Requires: gdk-pixbuf2-devel >= 2.0
Requires: gtk+3-devel >= 3.0.0
%{?with_libcroco:Requires: libcroco-devel >= 0.6.1}
-%{?with_libgsf:Requires: libgsf-devel >= 1.14.4}
-Requires: libxml2-devel >= 1:2.6.31
-Requires: pango-devel >= 1:1.10.0
+Requires: libxml2-devel >= 1:2.7.0
+Requires: pango-devel >= 1:1.16.0
Obsoletes: librsvg0-devel
%description devel
@@ -178,7 +177,7 @@
%prep
%setup -q
-%if !%{with apidocs}
+%if %{without apidocs}
echo 'CLEANFILES=' > gtk-doc.make
echo 'AC_DEFUN([GTK_DOC_CHECK],[])' >> acinclude.m4
%endif
@@ -196,7 +195,6 @@
%{?with_apidocs:--enable-gtk-doc} \
--enable-introspection \
%{!?with_libcroco:--without-croco} \
- %{!?with_libgsf:--without-svgz} \
--with-html-dir=%{_gtkdocdir}/%{name}
%{__make}
@@ -241,7 +239,6 @@
%attr(755,root,root) %{_libdir}/gdk-pixbuf-2.0/2.*.*/loaders/libpixbufloader-svg.so
%dir %{_datadir}/themes/bubble
%{_mandir}/man1/rsvg.1*
-#%{_pixmapsdir}/svg-viewer.svg
%files devel
%defattr(644,root,root,755)
@@ -280,6 +277,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.160 2012/03/28 17:29:24 qboosh
+- build gtk+2 support as well by default
+- updated libxml2,pango versions
+- no more gsf, gio (>=2.24) is used for SVGZ now
+
Revision 1.159 2012/03/27 18:58:18 megabajt
- fixed build on x86_64
- release 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/librsvg/librsvg.spec?r1=1.159&r2=1.160
More information about the pld-cvs-commit
mailing list