rpms/librsvg2/devel rsvg-pixbuf.patch, NONE, 1.1 librsvg2.spec, 1.93, 1.94

Matthias Clasen mclasen at fedoraproject.org
Thu Jul 1 01:36:41 UTC 2010


Author: mclasen

Update of /cvs/pkgs/rpms/librsvg2/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv27683

Modified Files:
	librsvg2.spec 
Added Files:
	rsvg-pixbuf.patch 
Log Message:
fix .pc files


rsvg-pixbuf.patch:
 librsvg.pc.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE rsvg-pixbuf.patch ---
diff -up librsvg-2.31.0/librsvg.pc.in.pixbuf librsvg-2.31.0/librsvg.pc.in
--- librsvg-2.31.0/librsvg.pc.in.pixbuf	2010-06-30 21:25:28.641806068 -0400
+++ librsvg-2.31.0/librsvg.pc.in	2010-06-30 21:25:53.882811376 -0400
@@ -9,7 +9,7 @@ css_supported=@CSS_SUPPORTED@
 Name: librsvg
 Description: library that renders svg files
 Version: @VERSION@
-Requires: glib-2.0 gio-2.0 gdk-pixbuf- at GTK_API_VERSION@ cairo
+Requires: glib-2.0 gio-2.0 gdk-pixbuf-2.0 cairo
 Requires.private:
 Libs: -L${libdir} -lrsvg- at RSVG_API_MAJOR_VERSION@ -lm
 Cflags: -I${includedir}/librsvg- at RSVG_API_VERSION@


Index: librsvg2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/librsvg2/devel/librsvg2.spec,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -p -r1.93 -r1.94
--- librsvg2.spec	29 Jun 2010 01:10:22 -0000	1.93
+++ librsvg2.spec	1 Jul 2010 01:36:40 -0000	1.94
@@ -3,12 +3,15 @@
 Name:    librsvg2
 Summary: An SVG library based on cairo
 Version: 2.31.0
-Release: 0.1.%{alphatag}%{?dist}
+Release: 0.2.%{alphatag}%{?dist}
 
 License:        LGPLv2+
 Group:          System Environment/Libraries
 Source:         http://download.gnome.org/sources/librsvg/2.31/librsvg-%{version}-%{alphatag}.tar.bz2
 
+# upstream fix
+Patch0: rsvg-pixbuf.patch
+
 Requires(post):   gdk-pixbuf2
 Requires(postun): gdk-pixbuf2
 BuildRequires:  libpng-devel
@@ -48,6 +51,7 @@ files to allow you to develop with librs
 
 %prep
 %setup -q -n librsvg-%{version}
+%patch0 -p1 -b .pixbuf
 
 %build
 GDK_PIXBUF_QUERYLOADERS=/usr/bin/gdk-pixbuf-query-loaders-%{__isa_bits}
@@ -98,6 +102,9 @@ gdk-pixbuf-query-loaders-%{__isa_bits} -
 
 
 %changelog
+* Wed Jun 30 2010 Matthias Clasen <mclasen at redhat.com> - 2.31.0-0.2.20100628git
+- Fix the .pc file to require gdk-pixbuf-2.0
+
 * Mon Jun 28 2010 Matthias Clasen <mclasen at redhat.com> - 2.31.0-0.1.20100628git
 - Update to a git snapshot that builds against standalone gdk-pixbuf
 - Drop librsvg3 package



More information about the scm-commits mailing list