From: Thomas J. Duck <tomduck@fi...> - 2005-02-04 20:51:37
-----BEGIN PGP SIGNED MESSAGE-----
Thanks for these ideas. If you would like, I can add the gcw build
reorganization to my list, which would free up your time for other things.
I have made a few more changes to the gcw driver:
1) Fixed some issues with the postscript text transformations.
2) Inserted a workaround for those weird libgnomecanvas errors; instead
of drawing polylines, I now default to line segments. There is a
rendering performance hit (e.g., see example 8), but at least the
plots render correctly now (e.g., see example 22, which wasn't working
before). Hopefully a better long-term solution will be found, but it will
likely involve looking into the internals of libgnomecanvas.
3) Added a button to zoom back to 100%, and the zoom step size is now a
> > Perhaps before we start moving things around, we should figure out how to
> > create the gcw/python enabled driver, as Rafael originally suggested. From
> > what I understand, this will be needed to get rid of the "non-portable"
> > aspect of the current build anyway. I will continue to give this some
> > thought and will propose a solution.
> I have though a little bit about this. Here is a possible strategy:
> 1) Move drivers/plplotcanvas.c to src/.
> 2) Adjust src/Makefile.am to generate a library based on plplotcanvas.c.
> This library will be installed in the usual place ($libdir). Let us call
> it libplplotcanvas.so for now.
> 3) In drivers/Makefile.am, link the driver module gcw.so against the
> plplotcanvas library. We could use something like this:
> libplplotcanvas = $(top_builddir)/src/libplplotcanvas$(LIB_TAG).la
> # [...]
> gcw_la_CFLAGS += $(libplplotcanvas)
> 4) Add support in pkgcfg to generate a plplot-gcw.pc (or whichever name we
> choose) metadata file that would produce the appropriate flag
> -lplplotcanvas, such that regular users will be able to compile their
> programs embedding the plplotcanvas widget like this:
> cc prog.c -o prog `pkg-config --cflags --libs plplot-gcw`
> (Notice that there would be no need for the driver module to be called
> libgcw.so anymore.)
> Unfortunately, I do not have time to implement this idea right now.
Thomas J. Duck <tomduck@...>
Department of Physics and Atmospheric Science, Dalhousie University,
Halifax, Nova Scotia, Canada, B3H 3J5.
Tel: (902)494-1456 | Fax: (902)494-5191 | Lab: (902)494-3813
Public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x17D965DB
Tier I CRC Chair in Atmospheric Science: http://www.atm.dal.ca/jobs/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-----END PGP SIGNATURE-----
From: Rafael Laboissiere <rlaboiss@us...> - 2005-02-04 21:51:37
* Thomas J. Duck <tomduck@...> [2005-02-04 16:48]:
> Thanks for these ideas. If you would like, I can add the gcw build
> reorganization to my list, which would free up your time for other things.
Yes please. The changes that I proposed are not too complicated to
implement but I prefer that you do them yourself, since you are the gcw
author. Anyway, I will always review anything that you change in the