head 1.20; access; symbols cairo-ocaml-1-0-0:1.18 cairo-ocaml-0-9-0:1.15 cairo-ocaml-0-6-0:1.14 cairo-ocaml-0-5-2:1.13 cairo-ocaml-0-4:1.11 cairo-ocaml-0-3:1.11 cairo-ocaml-before_drop_oo_api:1.6 cairo-ocaml-0-2:1.2 cairo-ocaml-0-1:1.1.1.1 init:1.1.1; locks; strict; comment @# @; 1.20 date 2006.11.13.21.08.39; author oandrieu; state Exp; branches; next 1.19; 1.19 date 2006.11.08.23.42.34; author oandrieu; state Exp; branches; next 1.18; 1.18 date 2005.12.13.22.42.02; author oandrieu; state Exp; branches; next 1.17; commitid 1865439f4e394567; 1.17 date 2005.11.03.14.47.03; author oandrieu; state Exp; branches; next 1.16; commitid 4ad1436a22e64567; 1.16 date 2005.09.14.16.47.54; author cworth; state Exp; branches; next 1.15; commitid 35574328543a4567; 1.15 date 2005.08.11.00.33.04; author oandrieu; state Exp; branches; next 1.14; commitid d5d42fa9c614567; 1.14 date 2005.08.10.23.45.14; author oandrieu; state Exp; branches; next 1.13; commitid 7e1242fa90fe4567; 1.13 date 2005.07.18.19.11.05; author oandrieu; state Exp; branches; next 1.12; commitid 69da42dbfec74567; 1.12 date 2005.05.22.20.03.15; author oandrieu; state Exp; branches; next 1.11; commitid a504290e57e4567; 1.11 date 2005.03.01.22.19.52; author oandrieu; state Exp; branches; next 1.10; 1.10 date 2005.01.26.00.54.15; author oandrieu; state Exp; branches; next 1.9; 1.9 date 2004.11.08.21.05.10; author oandrieu; state Exp; branches; next 1.8; 1.8 date 2004.10.28.13.46.01; author oandrieu; state Exp; branches; next 1.7; 1.7 date 2004.04.15.23.59.37; author oandrieu; state Exp; branches; next 1.6; 1.6 date 2003.12.17.01.15.31; author oandrieu; state Exp; branches; next 1.5; 1.5 date 2003.12.13.14.10.42; author oandrieu; state Exp; branches; next 1.4; 1.4 date 2003.12.05.16.54.51; author cworth; state Exp; branches; next 1.3; 1.3 date 2003.12.04.18.35.56; author oandrieu; state Exp; branches; next 1.2; 1.2 date 2003.11.18.19.18.12; author oandrieu; state Exp; branches; next 1.1; 1.1 date 2003.11.18.19.02.24; author oandrieu; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.11.18.19.02.24; author oandrieu; state Exp; branches; next ; desc @@ 1.20 log @README, configure.ac: update dependencies: need GTK+ >= 2.8 src/cairo_lablgtk.mli: fix doc (no more alternate implementation for GTK+ < 2.8) @ text @AC_INIT(CAIRO_OCAML, 1.2.0) AC_CONFIG_SRCDIR(src/cairo.ml) AC_CONFIG_AUX_DIR(support) # Check for OCaml programs AC_PROG_OCAML() # Check for cairo PKG_CHECK_MODULES(CAIRO, cairo >= 1.2 freetype2) # Optional GTK support (for the X11 backend) AC_ARG_WITH(gtk, AS_HELP_STRING([--with-gtk],[Cairo/GTK+ integration via LablGTK]), use_gtk=$withval, use_gtk=yes) AC_ARG_VAR(LABLGTKDIR,[Location of the LablGTK library]) if test $use_gtk = yes ; then # Check for LablGTK AC_CHECK_OCAML_MODULE(lablgtk, LABLGTKDIR, Gobject, +lablgtk2 +lablgtk) if test "$LABLGTKDIR" ; then # Check for gdk-pixbuf PKG_CHECK_MODULES(GDK, cairo gdk-2.0 >= 2.8 gdk-pixbuf-2.0, :, use_gtk=no) else use_gtk=no fi fi # Optional libsvg-cairo support PKG_CHECK_MODULES(LIBSVG_CAIRO, libsvg-cairo, use_libsvg_cairo=yes, use_libsvg_cairo=no) echo echo " GTK+ support: $use_gtk" echo " libsvg-cairo support: $use_libsvg_cairo" echo AC_OUTPUT(config.make) @ 1.19 log @* configure.ac: require cairo 1.2, bump version number to 1.2 * src/*: syc with cairo 1.2 * src/ml_cairo_lablgtk.c: require GTK+ 2.8 now @ text @d23 1 a23 1 PKG_CHECK_MODULES(GDK, cairo gdk-2.0 gdk-pixbuf-2.0, :, use_gtk=no) @ 1.18 log @* src/*lablgtk*: sync cairo_lablgtk module with the gdk_cairo_* API of GTK+ 2.8. * test/*: adapt @ text @d1 1 a1 1 AC_INIT(CAIRO_OCAML, 1.0.0) d9 1 a9 1 PKG_CHECK_MODULES(CAIRO, cairo >= 1.0.0 freetype2) @ 1.17 log @* configure.ac: require cairo 1.0, bump version number to 1.0 * src/cairo.ml, src/cairo.mli, src/ml_cairo.c: version information APIs @ text @d13 1 a13 1 AS_HELP_STRING([--with-gtk],[X11 backend support via GTK+ and LablGTK]), d15 1 @ 1.16 log @ 2005-09-14 Carl Worth * configure.ac: Add freetype2 to PKG_CHECK_MODULES call in addition to cairo. * src/Makefile: Remove .depend as part of make clean. @ text @d1 1 a1 1 AC_INIT(CAIRO_OCAML, 0.9.0.0) d9 1 a9 1 PKG_CHECK_MODULES(CAIRO, cairo >= 0.6.0 freetype2) a27 7 dnl if test $use_gtk = yes ; then dnl # Check for gtkcairo dnl PKG_CHECK_MODULES(GTKCAIRO, gtkcairo, use_gtkcairo=yes, use_gtkcairo=no) dnl else dnl use_gtkcairo=no dnl fi a32 1 dnl echo " GTKCairo support: $use_gtkcairo" @ 1.15 log @* src/* : adapt to cairo-0.9.0 * configure.ac: bump version number to 0.9.0.0 @ text @d9 1 a9 1 PKG_CHECK_MODULES(CAIRO, cairo >= 0.6.0) @ 1.14 log @* src/* : adapt to cairo-0.6.0 * Makefile, config.make.in, configure.ac: specify version number in the configure.ac file @ text @d1 1 a1 1 AC_INIT(CAIRO_OCAML, 0.6.0.0) @ 1.13 log @* configure.ac, README: require cairo 0.5.2 * src/*: adapt to cairo 0.5.1 and 0.5.2 API changes (new status values and functions, new pattern functions) * test/knockout.ml: adapt to API change @ text @d1 2 a2 1 AC_INIT(src/cairo.ml) d9 1 a9 1 PKG_CHECK_MODULES(CAIRO, cairo >= 0.5.2) @ 1.12 log @adapt to cairo big API shakeup @ text @d8 1 a8 1 PKG_CHECK_MODULES(CAIRO, cairo >= 0.5.0) @ 1.11 log @add libsvg-cairo bindings @ text @d8 1 a8 1 PKG_CHECK_MODULES(CAIRO, cairo >= 0.3.0) d27 6 a32 6 if test $use_gtk = yes ; then # Check for gtkcairo PKG_CHECK_MODULES(GTKCAIRO, gtkcairo, use_gtkcairo=yes, use_gtkcairo=no) else use_gtkcairo=no fi d39 1 a39 1 echo " GTKCairo support: $use_gtkcairo" @ 1.10 log @* add PDF backend * sync with Cairo snapshot 0.3.0 @ text @d34 3 d38 3 a40 2 echo " GTK+ support: $use_gtk" echo " GTKCairo support: $use_gtkcairo" @ 1.9 log @* configure.ac: require Cairo 0.2.0 * src/ml_cairo.c (ml_cairo_current_font): do not increase the refcount. @ text @d8 1 a8 1 PKG_CHECK_MODULES(CAIRO, cairo >= 0.2.0) @ 1.8 log @* src/*.c: beautify code, run it through indent. * src/ml_cairo.[ch]: direcly map enums to caml variants. * configure.ac: do not fail if GTK+ is missing. * test/spline.ml: do not use POINTER_MOTION_HINT, apparently that's evil. @ text @d8 1 a8 1 PKG_CHECK_MODULES(CAIRO, cairo >= 0.1.21) @ 1.7 log @support patterns (requires cairo 0.1.21) @ text @a6 3 # Check for LablGTK AC_CHECK_OCAML_MODULE(lablgtk, LABLGTKDIR, Gobject, +lablgtk2 +lablgtk) d10 23 a32 2 # Check for gdk-pixbuf PKG_CHECK_MODULES(GDK, cairo gdk-2.0 gdk-pixbuf-2.0) d34 4 a37 2 # Check for gtkcairo PKG_CHECK_MODULES(GTKCAIRO, gtkcairo, : , : ) @ 1.6 log @text API work @ text @d11 1 a11 1 PKG_CHECK_MODULES(CAIRO, cairo >= 0.1.17) @ 1.5 log @optional PS backend @ text @d11 1 a11 1 PKG_CHECK_MODULES(CAIRO, cairo >= 0.1.16) @ 1.4 log @ * src/ml_cairo_lablgtk.c (cairo_lablgtk_surface_create_for_drawable): Track cairo change from CAIRO_HAS_XLIB_BACKEND to CAIRO_HAS_XLIB_SURFACE. * configure.ac: Now depend on cairo >= 0.1.15 @ text @d11 1 a11 1 PKG_CHECK_MODULES(CAIRO, cairo >= 0.1.15) @ 1.3 log @new xlib backend config stuff @ text @d11 1 a11 1 PKG_CHECK_MODULES(CAIRO, cairo >= 0.1.14) @ 1.2 log @check for lablgtk2 specifically @ text @d11 1 a11 1 PKG_CHECK_MODULES(CAIRO, cairo >= 0.1.12) @ 1.1 log @Initial revision @ text @d8 1 a8 1 AC_CHECK_OCAML_MODULE(lablgtk, LABLGTKDIR, Gtk, +lablgtk +lablgtk2) @ 1.1.1.1 log @Initial import @ text @@