Hi,

 we should finish adding Cairo support by building it into the ./configure
 script.

 the attached patch also adds an extra test needed for ffmpeg.

 I do not know much about autoconf and ./configure scripts so I don't claim
 that the attached patch will work, but it should be a good starting point.

 Hamish

Thanks (both you Hamish and Glynn)!

The --with-cairo configure option seems to work well (I tried it after Glynn's update to use pkg-config).

For completeness, below is a small patch to update the Cairo monitor documentation to reflect this change, that perhaps someone can apply?

/ Lars


Index: display/drivers/cairo/description.html
===================================================================
--- display/drivers/cairo/description.html      (revision 29917)
+++ display/drivers/cairo/description.html      (working copy)
@@ -126,15 +126,11 @@

 <H2>NOTES</H2>

-<P>
-The driver is still in development. Currently the way to enable Cairo driver
-support is to build grass with
-<div class="code"><PRE>
-make USE_CAIRO=1
-</PRE></div>
+<P>The driver is still in development. Enable it by specifying
+<CODE>--with-cairo</CODE> when configuring GRASS. This
+requires a reasonably recent version of the Cairo libraries
+and a working pkg-config.</P>

-This requires a reasonably recent version of the cairo libraries (cairo.h).
-
 <P>Antialiasing is enabled by default for bitmap formats. There is
 currently no way of disabling this.</P>



--
Lars Ahlzen
[EMAIL PROTECTED]
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to