[GRASS-dev] [GRASS GIS] #33: config.in: cairo and ffmpeg checks

#33: config.in: cairo and ffmpeg checks
---------------------+------------------------------------------------------
Reporter: hamish | Owner: grass-dev@lists.osgeo.org
     Type: task | Status: new
Priority: minor | Milestone: 6.4.0
Component: default | Version: svn-trunk
Keywords: |
---------------------+------------------------------------------------------
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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/33&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

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
lars@ahlzen.com

Lars Ahlzen wrote:

> 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).

It appears that assigning ownership to myself means that the update
message doesn't get sent to the list.

It would be nice if that can be changed; IMHO, all tracker messages
should be copied to the list.

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

I've made the changes.

I couldn't apply the patch directly, due to reformatting by your mail
client. Ideally, patches should be sent as attachments rather than
pasted into the message body.

--
Glynn Clements <glynn@gclements.plus.com>

#33: config.in: cairo and ffmpeg checks
----------------------+-----------------------------------------------------
  Reporter: hamish | Owner: glynn
      Type: task | Status: new
  Priority: minor | Milestone: 6.4.0
Component: default | Version: svn-trunk
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Changes (by neteler):

* cc: grass-dev@lists.osgeo.org (added)

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/33#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

On Feb 1, 2008 1:21 PM, Glynn Clements <glynn@gclements.plus.com> wrote:

It appears that assigning ownership to myself means that the update
message doesn't get sent to the list.

It would be nice if that can be changed; IMHO, all tracker messages
should be copied to the list.

The trick is to then put the list email address into the CC field.
I have done this for this ticket.

Markus

#33: config.in: cairo and ffmpeg checks
----------------------+-----------------------------------------------------
  Reporter: hamish | Owner: glynn
      Type: task | Status: closed
  Priority: minor | Milestone: 6.4.0
Component: default | Version: svn-trunk
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by hamish):

  * status: new => closed
  * resolution: => fixed

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/33#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/