head 1.12; access; symbols RELEASE_1_2_4:1.11 RELEASE_1_2_2:1.11 RELEASE_1_2_0:1.10 RELEASE_1_1_10:1.8 RELEASE_0_6_0:1.5 RELEASE_0_5_0:1.3 RELEASE_0_4_0:1.2 RELEASE_0_3_0:1.2 V0:1.1.1.1 cairomm:1.1.1; locks; strict; comment @# @; 1.12 date 2007.03.24.03.05.33; author jjongsma; state Exp; branches; next 1.11; 1.11 date 2006.08.20.19.02.57; author jjongsma; state Exp; branches; next 1.10; 1.10 date 2006.08.20.03.25.03; author jjongsma; state Exp; branches; next 1.9; 1.9 date 2006.08.19.01.22.51; author jjongsma; state Exp; branches; next 1.8; 1.8 date 2006.07.06.03.12.17; author jjongsma; state Exp; branches; next 1.7; 1.7 date 2006.07.05.01.22.46; author jjongsma; state Exp; branches; next 1.6; 1.6 date 2006.04.07.01.18.24; author jjongsma; state Exp; branches; next 1.5; 1.5 date 2006.04.01.00.13.00; author jjongsma; state Exp; branches; next 1.4; 1.4 date 2006.02.21.05.30.04; author jjongsma; state Exp; branches; next 1.3; 1.3 date 2006.02.08.00.55.17; author jjongsma; state Exp; branches; next 1.2; commitid 77f943e941664567; 1.2 date 2005.12.02.16.11.18; author murrayc; state Exp; branches; next 1.1; commitid 40bd439072264567; 1.1 date 2005.12.02.13.34.41; author murrayc; state Exp; branches 1.1.1.1; next ; commitid 2b0c43904d684567; 1.1.1.1 date 2005.12.02.13.34.41; author murrayc; state Exp; branches; next ; commitid 2b0c43904d684567; desc @@ 1.12 log @2007-03-23 Jonathon Jongsma * Makefile.am: * autogen.sh: * configure.in: * m4/ax_boost_base.m4: * m4/ax_boost_unit_test_framework.m4: Add some basic test infrastructure. It's disabled by default, and must be explicitly enabled by passing --enable-tests to configure (or by setting the CAIROMM_DEVEL environment variable to "on"). It uses the boost unit test framework, but this should not be required unless you've explicitly enabled tests. If tests are enabled, you can easily run them with 'make check' * tests/Makefile.am: * tests/test-context.cc: added the beginning of a test for Cairo::Context. Most of these tests are really very interesting. Basically what I'm trying to do is a) test some basic behaviors, and b) excercise the functionality a little bit. One of the tests currently fails due to a RefPtr::cast_dynamic failure, so I have to see what's going on there. @ text @## Process this file with automake to produce Makefile.in SUBDIRS = cairomm examples MSVC $(DOCS_SUBDIR) tests #docs examples ACLOCAL_AMFLAGS = -I m4 EXTRA_DIST = MAINTAINERS cairomm-1.0.pc.in DIST_SUBDIRS = $(SUBDIRS) # Install the pkg-config file: pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = cairomm-1.0.pc # Copied from cairo/Makefile.am: # # Some custom targets to make it easier to release things. # Use either: # make release-check # or make release-publish RELEASE_UPLOAD_HOST = cairographics.org RELEASE_UPLOAD_BASE = /srv/cairo.freedesktop.org/www RELEASE_UPLOAD_DIR = $(RELEASE_UPLOAD_BASE)/releases RELEASE_URL_BASE = http://cairographics.org/releases RELEASE_ANNOUNCE_LIST = cairo-announce@@cairographics.org (and CC gnome-announce-list@@gnome.org) CVS = cvs #MANUAL_DATED = cairo-manual-`date +%Y%m%d` #MANUAL_TAR_FILE = $(MANUAL_DATED).tar.gz #MANUAL_UPLOAD_DIR = $(RELEASE_UPLOAD_BASE) tar_file = $(PACKAGE)-$(VERSION).tar.gz sha1_file = $(tar_file).sha1 gpg_file = $(sha1_file).asc $(sha1_file): $(tar_file) sha1sum $^ > $@@ $(gpg_file): $(sha1_file) @@echo "Please enter your GPG password to sign the checksum." gpg --armor --sign $^ release-verify-even-micro: @@echo -n "Checking that $(VERSION) has an even micro component..." @@test "$(GENERIC_MICRO_VERSION)" = "`echo $(GENERIC_MICRO_VERSION)/2*2 | bc`" \ || (echo "Ouch." && echo "The version micro component '$(GENERIC_MICRO_VERSION)' is not an even number." \ && echo "The version in configure.in must be incremented before a new release." \ && false) @@echo "Good." release-verify-newer: @@echo -n "Checking that no $(VERSION) release already exists..." @@ssh $(RELEASE_UPLOAD_HOST) test ! -e $(RELEASE_UPLOAD_DIR)/$(tar_file) \ || (echo "Ouch." && echo "Found: $(RELEASE_UPLOAD_HOST):$(RELEASE_UPLOAD_DIR)/$(tar_file)" \ && echo "Are you sure you have an updated CVS checkout?" \ && echo "This should never happen." \ && false) @@echo "Good." release-remove-old: rm -f $(tar_file) $(sha1_file) $(gpg_file) # Maybe it's just my system, but somehow group sticky bits keep # getting set and this causes failures in un-tarring on some systems. # Until I figure out where the sticky bit is coming from, just clean # these up before building a release. release-cleanup-group-sticky: find . -type f | xargs chmod g-s release-check: release-verify-even-micro release-verify-newer release-remove-old release-cleanup-group-sticky distcheck release-upload: release-check $(tar_file) $(sha1_file) $(gpg_file) mkdir -p releases scp $(tar_file) $(sha1_file) $(gpg_file) $(RELEASE_UPLOAD_HOST):$(RELEASE_UPLOAD_DIR) mv $(tar_file) $(sha1_file) $(gpg_file) releases ssh $(RELEASE_UPLOAD_HOST) "rm -f $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-[0-9]* && ln -s $(tar_file) $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-$(VERSION)" $(CVS) tag RELEASE_$(GENERIC_MAJOR_VERSION)_$(GENERIC_MINOR_VERSION)_$(GENERIC_MICRO_VERSION) release-publish: release-upload releases/$(sha1_file) @@echo "" @@echo "Please send an announcement to $(RELEASE_ANNOUNCE_LIST)" @@echo "including the following:" @@echo "" @@echo "Subject: $(PACKAGE) release $(VERSION) now available" @@echo "" @@echo "============================== CUT HERE ==============================" @@echo "cairomm is a C++ API for the cairo graphics library. For more " @@echo "information, see http://cairographics.org/cairomm" @@echo "" @@echo "A new $(PACKAGE) release $(VERSION) is now available from:" @@echo "" @@echo " $(RELEASE_URL_BASE)/$(tar_file)" @@echo "" @@echo " which can be verified with:" @@echo "" @@echo " $(RELEASE_URL_BASE)/$(sha1_file)" @@echo -n " " @@cat releases/$(sha1_file) @@echo "" @@echo " $(RELEASE_URL_BASE)/$(gpg_file)" @@echo " (signed by `getent passwd "$$USER" | cut -d: -f 5 | cut -d, -f 1`)" @@echo "" @@echo "WHAT'S NEW" @@echo "==========" @@echo "" @@echo "============================== CUT HERE ==============================" @@echo "Also, please include the new entries from the NEWS file." @@echo "" @@echo "Last but not least, do not forget to bump up the micro" @@echo "version component to the next (odd) number and commit." doc-clean-recursive: (cd docs && $(MAKE) $(AM_MAKEFLAGS) doc-clean) doc-clean: doc-clean-recursive doc-rebuild: (cd docs && $(MAKE) $(AM_MAKEFLAGS) doc-rebuild) .PHONY: release-verify-even-micro release-verify-newer release-remove-old release-cleanup-group-sticky release-check release-upload release-publish doc-clean doc-clean-recursive doc-rebuild @ 1.11 log @2006-08-20 Jonathon Jongsma * Makefile.am: fix up the release announcement template to explain what cairomm is at the top of the email before telling where to get it. * configure.in: post-release bump (1.2.1) @ text @d3 1 a3 1 SUBDIRS = cairomm examples MSVC $(DOCS_SUBDIR) d5 1 @ 1.10 log @2006-08-19 Jonathon Jongsma * Makefile.am: get rid of the concept of a snapshot. It doesn't really make that much sense for cairomm, honestly, since we're just a simple wrapper library. @ text @d87 3 d103 2 a104 2 @@echo "cairomm is a C++ API for the cairo graphics library. For more " @@echo "information, see http://cairographics.org/cairomm" @ 1.9 log @2006-08-18 Cedric Gustin * cairomm/context.cc: Define M_PI for MSVC. * cairomm/scaledfont.cc: Allocate glyph_array as a dynamic array as MSVC does not like non-const arguments as array size. * examples/pdf-surface/main.cc, examples/png_file/main.cc, examples/ps-surface/main.cc, examples/svg-surface/main.cc, examples/text-rotate/text-rotate.cc: Define M_PI for MSVC. * configure.in, Makefile.am: Generate Makefiles in the MSVC subdirectories. * .cvsignore: Added Eclipse .project to the list of ignored files. * MSVC/*: Added project and resource files for Visual Studio 2005. @ text @a20 1 RELEASE_OR_SNAPSHOT = `if [ "$(GENERIC_MINOR_VERSION)" = $$(echo "$(GENERIC_MINOR_VERSION)/2*2" | bc) ]; then echo release; else echo snapshot; fi` d23 2 a24 2 RELEASE_UPLOAD_DIR = $(RELEASE_UPLOAD_BASE)/$(RELEASE_OR_SNAPSHOT)s RELEASE_URL_BASE = http://cairographics.org/$(RELEASE_OR_SNAPSHOT)s d84 1 a84 1 @@echo "Subject: $(PACKAGE) $(RELEASE_OR_SNAPSHOT) $(VERSION) now available" d87 1 a87 1 @@echo "A new $(PACKAGE) $(RELEASE_OR_SNAPSHOT) $(VERSION) is now available from:" @ 1.8 log @2006-07-05 Jonathon Jongsma * Makefile.am: Ooops, I had accidentally removed dependency info for release-publish target @ text @d3 1 a3 1 SUBDIRS = cairomm examples $(DOCS_SUBDIR) @ 1.7 log @2006-07-04 Jonathon Jongsma * Makefile.am: add ability to do snapshot releases to the cairographics.org/snapshots/ directory in addition to official releases * configure.in: bumped the revision to 1.1.10 in preparation for a snapshot release of the 1.2 API * docs/reference/Makefile.am: fixed some distcheck errors @ text @d80 1 a80 1 release-publish: @ 1.6 log @2006-04-06 Jonathon Jongsma * Makefile.am: Add a brief description of cairomm to the release announcement template @ text @d21 1 d24 2 a25 2 RELEASE_UPLOAD_DIR = $(RELEASE_UPLOAD_BASE)/releases RELEASE_URL_BASE = http://cairographics.org/releases a43 2 d80 1 a80 1 release-publish: release-upload releases/$(sha1_file) d85 1 a85 1 @@echo "Subject: $(PACKAGE) release $(VERSION) now available" d88 1 a88 1 @@echo "A new $(PACKAGE) release $(VERSION) is now available from:" d102 1 a102 1 @@echo "information, see http://cairographics.org" @ 1.5 log @2006-03-31 Danilo Piazzalunga * Makefile.am: * docs/Makefile.am: * docs/reference/Makefile.am: add convenience targets for cleaning and rebuilding documentation (doc-clean and doc-rebuild). @ text @d102 3 @ 1.4 log @2006-02-20 Danilo Piazzalunga * Makefile.am: Include MAINTAINERS in distribution. Fixes Bug #5982 @ text @d109 9 a117 1 .PHONY: release-verify-even-micro release-verify-newer release-remove-old release-cleanup-group-sticky release-check release-upload release-publish @ 1.3 log @2006-02-07 Jonathon Jongsma * Makefile.am: add docs/ subdir * configure.in: added an --enable-docs switch to the configure script (enabled by default), and added AC_OUTPUT directives for the documentation Makefiles, etc. * docs/.cvsignore: * docs/Makefile.am: * docs/reference/.cvsignore: * docs/reference/Doxyfile.in: * docs/reference/Makefile.am: * docs/reference/introduction.h: Added infrastructure to build and install the API documentation for cairomm (based on libxml++ makefiles). @ text @d6 1 a6 1 EXTRA_DIST = cairomm-1.0.pc.in @ 1.2 log @Increase version. @ text @d3 1 a3 1 SUBDIRS = cairomm examples @ 1.1 log @Initial revision @ text @d14 96 @ 1.1.1.1 log @First version. @ text @@