[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] evas / svg configure issue and solution

I am going to send along this patch again because changes some changes were made to the configure.in file, but they weren't the *right* changes.

This should solve the SVG issues for the Fedora/Redhat platform.

On Mon, 11 Sep 2006, D. Hageman wrote:

Attached is a patch that should fix this once and for all.

On Wed, 30 Aug 2006, D. Hageman wrote:

On Thu, 31 Aug 2006, Carsten Haitzler wrote:

On Wed, 30 Aug 2006 13:27:34 -0500 (CDT) "D. Hageman" <dhageman@dracken.com>

I mentioned before the weekend that I was having some issues with the SVG
in evas with Fedora Core 5.  I finally found the time to investigate the
issue some more, but I am not sure how to fix it.

Essentially this solves the problem:

<       PKG_CHECK_MODULES(CAIRO_SVG, cairo-svg,
      PKG_CHECK_MODULES(CAIRO_SVG, libsvg-cairo,

Fedora Core calls their cairo-svg ... libsvg-cairo.  I am not well versed
enough in autofoo to make both of those happy.

in cvs - check that it's working for you.

Still not completely happy yet ...

In file included from evas_image_load_svg.c:4:
/usr/include/librsvg-2/librsvg/rsvg-cairo.h:28:19: error: cairo.h: No such file or directory
In file included from evas_image_load_svg.c:4:
/usr/include/librsvg-2/librsvg/rsvg-cairo.h:33: error: expected declaration specifiers or '...' before 'cairo_t' /usr/include/librsvg-2/librsvg/rsvg-cairo.h:36: error: expected declaration specifiers or '...' before 'cairo_t'

I will try to get some time tomorrow to do more investigation if you don't have any ideas of the top of your head.

I appreciate you looking into this.

||  D. Hageman                    <dhageman@dracken.com>  ||
diff -ruN evas.orig/configure.in evas/configure.in
--- evas.orig/configure.in	2006-09-11 11:10:42.000000000 -0500
+++ evas/configure.in	2006-09-11 11:11:11.000000000 -0500
@@ -936,7 +936,7 @@
 	    svg_libs="$SVG_LIBS $CAIRO_SVG_LIBS"
-            PKG_CHECK_MODULES(CAIRO_SVG, libsvg-cairo,
+            PKG_CHECK_MODULES(LIBSVG_CAIRO, libsvg-cairo,
 	          svg_cflags="$SVG_CFLAGS $LIBSVG_CAIRO_CFLAGS"