head 1.23; access; symbols SNAPSHOT_0_1_6:1.18 SNAPSHOT_0_1_5:1.16 SNAPSHOT_0_1_3:1.13 start:1.1.1.1 isi:1.1.1; locks; strict; comment @# @; 1.23 date 2006.02.24.14.43.01; author keithp; state Exp; branches; next 1.22; 1.22 date 2005.07.31.08.49.12; author dajobe; state Exp; branches; next 1.21; commitid 99642ec90874567; 1.21 date 2005.07.20.20.32.05; author malcolm; state Exp; branches; next 1.20; commitid 68f342deb4ad4567; 1.20 date 2005.07.12.19.37.43; author keithp; state Exp; branches; next 1.19; commitid 5fdc42d41c064567; 1.19 date 2005.06.15.22.35.03; author cworth; state Exp; branches; next 1.18; commitid 302a42b0ad164567; 1.18 date 2005.06.15.22.30.17; author cworth; state Exp; branches; next 1.17; commitid 2e4f42b0abf94567; 1.17 date 2005.02.13.22.49.00; author cworth; state Exp; branches; next 1.16; 1.16 date 2005.02.13.22.44.22; author cworth; state Exp; branches; next 1.15; 1.15 date 2005.01.20.16.42.40; author cworth; state Exp; branches; next 1.14; 1.14 date 2003.12.16.18.32.13; author cworth; state Exp; branches; next 1.13; 1.13 date 2003.12.05.17.35.43; author rworth; state Exp; branches; next 1.12; 1.12 date 2003.11.17.20.00.38; author cworth; state Exp; branches; next 1.11; 1.11 date 2003.11.15.15.51.20; author cworth; state Exp; branches; next 1.10; 1.10 date 2003.11.06.21.40.55; author cworth; state Exp; branches; next 1.9; 1.9 date 2003.10.25.01.15.43; author cworth; state Exp; branches; next 1.8; 1.8 date 2003.09.29.15.40.51; author cworth; state Exp; branches; next 1.7; 1.7 date 2003.09.04.13.56.43; author cworth; state Exp; branches; next 1.6; 1.6 date 2003.07.18.18.38.21; author cworth; state Exp; branches; next 1.5; 1.5 date 2003.05.01.15.24.20; author cworth; state Exp; branches; next 1.4; 1.4 date 2003.04.23.14.28.32; author cworth; state Exp; branches; next 1.3; 1.3 date 2003.04.22.16.16.10; author cworth; state Exp; branches; next 1.2; 1.2 date 2003.02.12.02.04.34; author cworth; state Exp; branches; next 1.1; 1.1 date 2002.10.23.21.20.11; author cworth; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.10.23.21.20.11; author cworth; state Exp; branches; next ; desc @@ 1.23 log @Use CAIRO_EXTEND_PAD for pad extend cases @ text @AC_INIT(src/svg-cairo.h) dnl =========================================================================== # Package version number, (as distinct from shared library version) LIBSVG_CAIRO_VERSION=0.1.6-head # libtool shared library version # Increment if the interface has additions, changes, removals. LT_CURRENT=1 # Increment any time the source changes; set to # 0 if you increment CURRENT LT_REVISION=1 # Increment if any interfaces have been added; set to 0 # if any interfaces have been removed. removal has # precedence over adding, so set to 0 if both happened. LT_AGE=0 VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE" AC_SUBST(VERSION_INFO) dnl =========================================================================== AM_INIT_AUTOMAKE(libsvg-cairo, $LIBSVG_CAIRO_VERSION) AM_CONFIG_HEADER(config.h) AM_MAINTAINER_MODE AC_ISC_POSIX AC_PROG_CC AC_PROG_CPP AC_PROG_AWK AM_PROG_LIBTOOL AC_STDC_HEADERS dnl =========================================================================== AC_PATH_XTRA dnl =========================================================================== dnl Use lots of warning flags with GCC 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) dnl =========================================================================== PKG_CHECK_MODULES(LIBSVG_CAIRO, libsvg >= 0.1.4 cairo >= 0.5.0) AC_SUBST(LIBSVG_CAIRO_CFLAGS) AC_SUBST(LIBSVG_CAIRO_LIBS) AC_ARG_ENABLE(pango, AC_HELP_STRING([--disable-pango], [do not use pango to layout text elements]), [PANGOCAIRO=$enableval], [PANGOCAIRO=yes]) if test x$PANGOCAIRO = xyes; then PKG_CHECK_MODULES(PANGOCAIRO, pangocairo, PANGOCAIRO_REQUIRES=pango AC_DEFINE(HAVE_PANGOCAIRO,1,[Has pangocairo module]),:) fi AC_SUBST(PANGOCAIRO_REQUIRES) dnl =========================================================================== AC_OUTPUT([ libsvg-cairo.pc src/svg-cairo-version.h Makefile src/Makefile ]) @ 1.22 log @2005-07-31 Dave Beckett * configure.in: Requires libsvg >= 0.1.4 since svg_cairo.c sets the text_extents, measure_position and get_text_anchor fields of svg_render_engine_t. @ text @d67 1 d71 2 @ 1.21 log @2005-07-20 Malcolm Tredinnick * configure.in: Continue the configure process if pangocairo is not available. Fix a typo in the description of --disable-pango. @ text @d56 1 a56 1 PKG_CHECK_MODULES(LIBSVG_CAIRO, libsvg >= 0.1.2 cairo >= 0.5.0) @ 1.20 log @2005-07-12 Keith Packard * configure.in: * src/Makefile.am: * src/svg-cairo-internal.h: * src/svg_cairo.c: (_svg_cairo_set_font_family), (_svg_cairo_set_font_size), (_svg_cairo_set_font_style), (_svg_cairo_set_font_weight), (_svg_cairo_render_text), (_svg_cairo_text_size), (_svg_cairo_length_to_pixel): * src/svg_cairo_sprintf_alloc.c: * src/svg_cairo_state.c: (_svg_cairo_state_init), (_svg_cairo_state_init_copy), (_svg_cairo_state_deinit): Use pangocairo where available to draw text instead of the toy API. Disable with ./configure -disable-pango Also, add a few #defines needed to define some new libc functions from system includes @ text @d62 1 a62 1 [Use pango to layout text elements]), d67 1 a67 1 AC_DEFINE(HAVE_PANGOCAIRO,1,[Has pangocairo module])) @ 1.19 log @ * configure.in: Bump version to 0.1.5-head after tagging. @ text @d60 10 @ 1.18 log @ * NEWS: Add notes for 0.1.6 snapshot. * configure.in: Increment LIBSVG_CAIRO_VERSION to 0.1.6 * configure.in: Require cairo >= 0.5.0. @ text @d6 1 a6 1 LIBSVG_CAIRO_VERSION=0.1.6 @ 1.17 log @ * configure.in: Bump version to 0.1.5-head after tagging. @ text @d6 1 a6 1 LIBSVG_CAIRO_VERSION=0.1.5-head d56 1 a56 1 PKG_CHECK_MODULES(LIBSVG_CAIRO, libsvg >= 0.1.2 cairo >= 0.1.8) @ 1.16 log @ * NEWS: Add notes for 0.1.5 snapshot. * configure.in: Increment LIBSVG_CAIRO_VERSION to 0.1.5. @ text @d6 1 a6 1 LIBSVG_CAIRO_VERSION=0.1.5 @ 1.15 log @ * src/Makefile.am (INCLUDES): * configure.in: Add lots of warning flags when compiling with gcc. @ text @d6 1 a6 1 LIBSVG_CAIRO_VERSION=0.1.4 @ 1.14 log @ * configure.in: Bump version to 0.1.4 for new stroked, pattern text support and some text alignment fixes. @ text @d44 11 @ 1.13 log @ * Renamed libxsvg to libsvg-cairo libxsvg\ libsvg-cairo\ libxsvg.pc.in libsvg-cairo.pc.in src\ src\ xsvg.h svg-cairo.h xsvgversion.h.in svg-cairo_version.h.in xsvg.c svg_cairo.c xsvg_sprintf_alloc.c svg_cairo_sprintf_alloc.c xsvg_state.c svg_cairo_state.c xsvgint.h svg_cairo_internal.h * Above files: 'xsvg' changed to 'svg_cairo' * configure.in: Bump version to 0.1.2 because of rename Increment LT_REVISION=1 (was 0) because of rename * src/Makefile.am * Makefile.am * COPYING * NEWS * README * autogen.sh * configure.in * libsvg-cairo.pc.in: modified files because of rename (libxsvg to libsvg-cairo) @ text @d6 1 a6 1 LIBSVG_CAIRO_VERSION=0.1.3 @ 1.12 log @ * configure.in: Bump version to 0.1.2 for new dependency on libsvg >= 0.1.2 * src/xsvg.c (_xsvg_arc_to): Use absolute value for rx and ry. Thanks to Rob Buis . @ text @d1 1 a1 1 AC_INIT(src/xsvg.h) d6 1 a6 1 LIBXSVG_VERSION=0.1.2 d15 1 a15 1 LT_REVISION=0 d27 1 a27 1 AM_INIT_AUTOMAKE(libxsvg, $LIBXSVG_VERSION) d45 3 a47 3 PKG_CHECK_MODULES(LIBXSVG, libsvg >= 0.1.2 cairo >= 0.1.8) AC_SUBST(LIBXSVG_CFLAGS) AC_SUBST(LIBXSVG_LIBS) d52 2 a53 2 libxsvg.pc src/xsvgversion.h @ 1.11 log @ * src/xsvg.c (xsvg_get_size): Track change in svg_get_size. Must fetch in svg_length_t and convert to ints. (_xsvg_select_font): Fix swap of slant/weight arguments to cairo_select_font. * configure.in: Now requires libsvg >= 0.1.2 @ text @d6 1 a6 1 LIBXSVG_VERSION=0.1.1 @ 1.10 log @ + + * configure.in: Bump version to 0.1.1. Now requires libsvg >= 0.1.1 + + * src/xsvg.h: Change xsvg_parse_file and add xsvg_parse to match + updates in libsvg. + + * autogen.sh (PKG_NAME): Add --enable-maintainer-mode + @ text @d45 1 a45 1 PKG_CHECK_MODULES(LIBXSVG, libsvg >= 0.1.1 cairo >= 0.1.8) @ 1.9 log @Track changes in Cairo font API. Fix to only call cairo_select_font once before drawing text, and always call cairo_scale_font immediately afterwards. @ text @a4 5 LIBSVG_REQUIRED=0.1.0 CAIRO_REQUIRED=0.1.8 dnl =========================================================================== d6 1 a6 2 # This must be manually synchronized with the version in src/ic.h LIBXSVG_VERSION=0.1.0 d45 1 a45 1 PKG_CHECK_MODULES(LIBXSVG, libsvg >= $LIBSVG_REQUIRED cairo >= $CAIRO_REQUIRED) @ 1.8 log @Draw ellipse with cairo_arc rather than 4 calls to cairo_curve to @ text @d6 1 a6 1 CAIRO_REQUIRED=0.1.6 @ 1.7 log @Updated to track changes in Cairo 0.1.1 @ text @d6 1 a6 1 CAIRO_REQUIRED=0.1.1 @ 1.6 log @Updated to work with Cairo rather than Xr @ text @d6 1 a6 1 CAIRO_REQUIRED=0.1.0 @ 1.5 log @Query XrGetCurrentPoint rather than maintaining that state separately @ text @d6 1 a6 1 XR_REQUIRED=0.1.0 d51 1 a51 1 PKG_CHECK_MODULES(LIBXSVG, libsvg >= $LIBSVG_REQUIRED Xr >= $XR_REQUIRED) @ 1.4 log @Cleanup whitespace in configure output @ text @d10 3 a12 6 LIBXSVG_MAJOR_VERSION=0 LIBXSVG_MINOR_VERSION=1 LIBXSVG_MICRO_VERSION=0 AC_SUBST(LIBXSVG_MAJOR_VERSION) AC_SUBST(LIBXSVG_MINOR_VERSION) AC_SUBST(LIBXSVG_MICRO_VERSION) d14 1 a14 1 LIBXSVG_VERSION=$LIBXSVG_MAJOR_VERSION.$LIBXSVG_MINOR_VERSION.$LIBXSVG_MICRO_VERSION d16 13 a28 1 VERSION_INFO=`expr $LIBXSVG_MAJOR_VERSION + $LIBXSVG_MINOR_VERSION`:$LIBXSVG_MICRO_VERSION:$LIBXSVG_MINOR_VERSION @ 1.3 log @Track changes in Xr (primarily lack of Push/PopGroup) @ text @d42 1 a42 4 PKG_CHECK_MODULES(LIBXSVG, \ libsvg >= $LIBSVG_REQUIRED Xr >= $XR_REQUIRED ) @ 1.2 log @Renamed libxrsvg to libxsvg. Lots of filename changes @ text @d6 1 a6 1 LIBXR_REQUIRED=0.1.0 a41 1 d44 1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 AC_INIT(src/xrsvg.h) d10 6 a15 6 LIBXRSVG_MAJOR_VERSION=0 LIBXRSVG_MINOR_VERSION=1 LIBXRSVG_MICRO_VERSION=0 AC_SUBST(LIBXRSVG_MAJOR_VERSION) AC_SUBST(LIBXRSVG_MINOR_VERSION) AC_SUBST(LIBXRSVG_MICRO_VERSION) d17 1 a17 1 LIBXRSVG_VERSION=$LIBXRSVG_MAJOR_VERSION.$LIBXRSVG_MINOR_VERSION.$LIBXRSVG_MICRO_VERSION d19 1 a19 1 VERSION_INFO=`expr $LIBXRSVG_MAJOR_VERSION + $LIBXRSVG_MINOR_VERSION`:$LIBXRSVG_MICRO_VERSION:$LIBXRSVG_MINOR_VERSION d24 1 a24 1 AM_INIT_AUTOMAKE(libxrsvg, $LIBXRSVG_VERSION) d43 1 a43 1 PKG_CHECK_MODULES(LIBXRSVG, \ d46 2 a47 2 AC_SUBST(LIBXRSVG_CFLAGS) AC_SUBST(LIBXRSVG_LIBS) d52 2 a53 2 libxrsvg.pc src/xrsvgversion.h @ 1.1.1.1 log @Initial commit of libxrsvg. @ text @@