head 1.5; access; symbols initial:1.1.1.1 start:1.1.1; locks; strict; comment @# @; 1.5 date 2005.09.16.02.34.45; author keithp; state Exp; branches; next 1.4; commitid 1df0432a2f424567; 1.4 date 2004.12.19.03.04.24; author keithp; state Exp; branches; next 1.3; 1.3 date 2004.12.17.02.09.45; author keithp; state Exp; branches; next 1.2; 1.2 date 2004.12.14.08.34.27; author keithp; state Exp; branches; next 1.1; 1.1 date 2004.12.11.06.26.52; author keithp; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2004.12.11.06.26.52; author keithp; state Exp; branches; next ; desc @@ 1.5 log @2005-09-15 Keith Packard * configure.in: Cairo now no longer implicitly adds fontconfig and freetype to include paths, so cairo-5c must explictly depend on them @ text @AC_PREREQ(2.59) AC_INIT AC_CONFIG_SRCDIR([cairo-5c.h]) AM_INIT_AUTOMAKE(cairo-5c, 0.0.0) AM_MAINTAINER_MODE dnl libtool versioning LT_CURRENT=0 LT_REVISION=0 AC_SUBST(LT_CURRENT) AC_SUBST(LT_REVISION) LT_AGE=0 LT_VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE" AC_SUBST(LT_VERSION_INFO) LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE` AC_SUBST(LT_CURRENT_MINUS_AGE) AC_CONFIG_HEADER(config.h) AC_PROG_CC AC_PROG_INSTALL AC_PROG_LN_S AC_LIBTOOL_WIN32_DLL AC_PROG_LIBTOOL AC_PROG_MAKE_SET NICKLE_LIBDIR=`nickle -e 'printf ("%s\n", Command::nickle_libdir);'` AC_SUBST(NICKLE_LIBDIR) AC_CHECK_LIB(pthread, pthread_create) WARN_CFLAGS="" if test "x$GCC" = "xyes"; then WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \ -Wmissing-prototypes -Wmissing-declarations \ -Wnested-externs -fno-strict-aliasing" fi AC_SUBST(WARN_CFLAGS) CAIRO_5C_PC_MODULES="cairo fontconfig freetype2 gtk+-2.0 gthread-2.0" PKG_CHECK_MODULES(CAIRO_5C, $CAIRO_5C_PC_MODULES) AC_CONFIG_FILES([Makefile examples/Makefile ]) AC_OUTPUT @ 1.4 log @2004-12-18 Keith Packard * configure.in: Add -lpthread to link @ text @d46 1 a46 1 CAIRO_5C_PC_MODULES="cairo gtk+-2.0 gthread-2.0" @ 1.3 log @2004-12-16 Keith Packard * Makefile.am: * autogen.sh: * cairo.5c: * configure.in: Add cairo.5c and install it to nickle libary * cairo-5c.h: * draw.c: (do_Cairo_rectangle), (do_Cairo_in_stroke), (do_Cairo_in_fill), (do_Cairo_stroke_extents), (do_Cairo_fill_extents), (cairo_5c_move_to), (do_Cairo_current_path), (do_Cairo_current_path_flat): * gstate.c: (do_Cairo_set_operator), (do_Cairo_set_fill_rule), (do_Cairo_set_line_cap), (do_Cairo_set_line_join), (do_Cairo_set_dash), (do_Cairo_set_miter_limit), (do_Cairo_default_matrix), (do_Cairo_transform_point), (do_Cairo_transform_distance), (do_Cairo_inverse_transform_point), (do_Cairo_inverse_transform_distance), (do_Cairo_init_clip), (do_Cairo_clip), (do_Cairo_current_operator), (do_Cairo_current_rgb_color), (do_Cairo_current_alpha), (do_Cairo_current_tolerance), (do_Cairo_current_point), (do_Cairo_current_fill_rule), (do_Cairo_current_line_width), (do_Cairo_current_line_cap), (do_Cairo_current_line_join), (do_Cairo_current_miter_limit): * init.c: (make_typedef), (init_types), (EnumIntPart), (IntToEnum), (nickle_init): * text.c: (do_Cairo_select_font), (do_Cairo_text_extents), (do_Cairo_select_ft_font): Add a bunch more bindings. Still more to do, especially the path walkers. Switch from int constants to enums for enumerated types. * gtk.c: (motion_notify_event), (button_press_event), (button_release_event), (cairo_5c_window_new): * surface.c: (do_Cairo_new): Add mouse input support. * examples/animate.5c: * examples/cairo.5c: * examples/draw.5c: * examples/graph.5c: * examples/pie.5c: * examples/rottext.5c: * examples/sin.5c: * examples/test.5c: Change examples to use cairo.5c file with autoimport @ text @d35 2 @ 1.2 log @2004-12-14 Keith Packard * .cvsignore: * Makefile.am: * cairo-5c.h: * configure.in: * draw.c: (do_Cairo_fill), (do_Cairo_stroke): * gtk.c: (configure_event), (expose_event), (cairo_5c_window_new), (repaint_x), (gtk_repaint_timeout), (gtk_thread_main), (start_x), (dirty_x): * init.c: (nickle_init): * surface.c: (get_cairo_5c), (free_cairo_5c), (dirty_cairo_5c), (do_Cairo_new): * text.c: (do_Cairo_show_text): Replace lame Xlib-based output with more capable gtk+ based output, including backing storage and resize handling. Input still isn't hooked up. * gstate.c: (do_Cairo_current_matrix), (do_Cairo_set_matrix): Add current_matrix and set_matrix functions; these only do affine matrices. * examples/animate.5c: * examples/pie.5c: * examples/rottext.5c: * examples/sin.5c: * examples/test.5c: Update examples to use installed library @ text @d8 2 d22 1 a22 1 AC_CONFIG_HEADERS([config.h]) d27 7 a33 1 AM_PROG_LIBTOOL d48 4 a51 1 AC_CONFIG_FILES([Makefile]) @ 1.1 log @Initial revision @ text @d36 3 a38 1 PKG_CHECK_MODULES(CAIRO, cairo) @ 1.1.1.1 log @Add cairo-5c to repository @ text @@