head 1.21; access; symbols RELEASE_1_8_6:1.21 RELEASE_1_8_4:1.21 RELEASE_1_8_2:1.21 RELEASE_1_8_0:1.21 RELEASE_1_6_4:1.20 RELEASE_1_4_12:1.20 RELEASE_1_4_0:1.18 RELEASE_1_2_6:1.18 RELEASE_1_2_2:1.18 RELEASE_1_2_0:1.18 RELEASE_1_1_6:1.17 RELEASE_1_0_2:1.16 RELEASE_1_0_0:1.14 SNAPSHOT_0_9_0:1.13 SNAPSHOT_0_6_0:1.13 SNAPSHOT_0_5_1:1.11 SNAPSHOT_0_5_5:1.11 SNAPSHOT_0_4_0:1.10 SNAPSHOT_0_1_4:1.9; locks; strict; comment @# @; 1.21 date 2008.12.10.06.50.05; author stevech1097; state Exp; branches; next 1.20; commitid XZEZsQ38uXVE5Ttt; 1.20 date 2007.12.13.06.09.52; author stevech1097; state Exp; branches; next 1.19; commitid 7rAnUjiYelRhxeJs; 1.19 date 2007.12.13.05.29.33; author stevech1097; state Exp; branches; next 1.18; commitid DyqdsqSHy1jsjeJs; 1.18 date 2006.07.03.03.51.14; author stevech1097; state Exp; branches; next 1.17; 1.17 date 2006.05.29.05.51.19; author stevech1097; state Exp; branches; next 1.16; 1.16 date 2005.09.01.00.19.23; author stevech1097; state Exp; branches; next 1.15; commitid 5ca24316490a4567; 1.15 date 2005.08.31.23.57.33; author stevech1097; state Exp; branches; next 1.14; commitid 5340431643ec4567; 1.14 date 2005.08.30.02.53.05; author stevech1097; state Exp; branches; next 1.13; commitid 73db4313ca0d4567; 1.13 date 2005.07.24.14.21.09; author stevech1097; state Exp; branches; next 1.12; commitid 37e242e3a3d24567; 1.12 date 2005.06.24.06.07.04; author stevech1097; state Exp; branches; next 1.11; commitid 110242bba3054567; 1.11 date 2005.05.02.02.25.51; author stevech1097; state Exp; branches; next 1.10; commitid 161742758fab4567; 1.10 date 2005.02.05.07.27.09; author stevech1097; state Exp; branches; next 1.9; 1.9 date 2005.01.12.07.09.05; author stevech1097; state Exp; branches; next 1.8; 1.8 date 2004.11.30.01.56.30; author stevech1097; state Exp; branches; next 1.7; 1.7 date 2004.11.28.08.56.59; author stevech1097; state Exp; branches; next 1.6; 1.6 date 2004.11.24.21.24.02; author cworth; state Exp; branches; next 1.5; 1.5 date 2004.11.14.13.04.00; author stevech1097; state Exp; branches; next 1.4; 1.4 date 2004.11.14.03.22.18; author stevech1097; state Exp; branches; next 1.3; 1.3 date 2003.09.23.14.46.10; author james; state Exp; branches; next 1.2; 1.2 date 2003.09.23.12.50.27; author james; state Exp; branches; next 1.1; 1.1 date 2003.09.17.14.34.02; author james; state Exp; branches; next ; desc @@ 1.21 log @'SC' @ text @SUBDIRS = cairo examples test doc EXTRA_DIST = \ COPYING \ COPYING-LGPL-2.1 \ COPYING-MPL-1.1 \ pycairo.pc.in \ setup.py pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = pycairo.pc # release targets 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_UPLOAD_DIR = $(RELEASE_UPLOAD_BASE)/snapshots #RELEASE_URL_BASE = http://cairographics.org/snapshots RELEASE_ANNOUNCE_LIST = cairo-announce@@cairographics.org (and CC python-announce-list@@python.org) tar_file = $(PACKAGE)-$(VERSION).tar.gz md5_file = $(tar_file).md5 $(md5_file): $(tar_file) md5sum $^ > $@@ release-verify-even-micro: @@echo -n "Checking that $(VERSION) has an even micro component..." @@test "$(PYCAIRO_VERSION_MICRO)" = "`echo $(PYCAIRO_VERSION_MICRO)/2*2 | bc`" \ || (echo "Ouch." && echo "The version micro component '$(PYCAIRO_VERSION_MICRO)' 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) $(md5_file) release-check: release-verify-even-micro release-verify-newer release-remove-old distcheck $(md5_file) release-upload: release-check $(tar_file) $(md5_file) mkdir -p releases scp $(tar_file) $(md5_file) $(RELEASE_UPLOAD_HOST):$(RELEASE_UPLOAD_DIR) mv $(tar_file) $(md5_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_$(PYCAIRO_VERSION_MAJOR)_$(PYCAIRO_VERSION_MINOR)_$(PYCAIRO_VERSION_MICRO) release-publish: release-upload releases/$(md5_file) @@echo "" @@echo "Please send an announcement to $(RELEASE_ANNOUNCE_LIST)" @@echo "including the following:" @@echo "" @@echo "Subject: ANN: $(PACKAGE) release $(VERSION) now available" @@echo "" @@echo "============================== CUT HERE ==============================" @@echo "Pycairo is a set of Python bindings for the multi-platform 2D graphics library cairo." @@echo " http://cairographics.org" @@echo " http://cairographics.org/pycairo" @@echo "" @@echo "A new $(PACKAGE) release $(VERSION) is now available from:" @@echo "" @@echo " $(RELEASE_URL_BASE)/$(tar_file)" @@echo " $(RELEASE_URL_BASE)/$(md5_file)" @@echo "" @@echo -n " " @@cat releases/$(md5_file) @@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." .PHONY: release-verify-even-micro release-verify-newer release-remove-old release-check release-upload release-publish @ 1.20 log @'SC' @ text @d1 1 a1 1 SUBDIRS = cairo examples test a3 2 doc/FAQ \ doc/NOTES \ @ 1.19 log @'SC' @ text @d1 1 a1 1 SUBDIRS = cairo doc examples test d4 2 @ 1.18 log @'SC' @ text @d1 1 a1 1 SUBDIRS = cairo examples test a6 1 NOTES \ @ 1.17 log @'SC' @ text @d22 6 a27 4 #RELEASE_UPLOAD_DIR = $(RELEASE_UPLOAD_BASE)/releases #RELEASE_URL_BASE = http://cairographics.org/releases RELEASE_UPLOAD_DIR = $(RELEASE_UPLOAD_BASE)/snapshots RELEASE_URL_BASE = http://cairographics.org/snapshots @ 1.16 log @'SC' @ text @d22 4 a25 2 RELEASE_UPLOAD_DIR = $(RELEASE_UPLOAD_BASE)/releases RELEASE_URL_BASE = http://cairographics.org/releases @ 1.15 log @'SC' @ text @d70 2 a71 2 @@echo "http://cairographics.org" @@echo "http://cairographics.org/pycairo" @ 1.14 log @'SC' @ text @d59 1 a59 1 $(CVS) tag RELEASE_$(PYCAIRO_VERSION_MAJOR)_$(PYCAIRO_VERSION_MINOR)_$(CAIRO_VERSION_MICRO) @ 1.13 log @'SC' @ text @d21 4 a24 3 RELEASE_UPLOAD_DIR = /srv/cairo.freedesktop.org/www/snapshots RELEASE_URL_BASE = http://cairographics.org/snapshots RELEASE_ANNOUNCE_LIST = cairo-announce@@cairographics.org d32 7 a38 4 release-remove-old: rm -f $(tar_file) $(md5_file) release-check: release-remove-old distcheck $(md5_file) d44 2 a45 1 && echo "The version in configure.in must be incremented before a new release." \ d49 6 a54 1 release-publish: release-verify-newer release-check d58 4 a61 1 ssh $(RELEASE_UPLOAD_HOST) "rm -f $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-[0-9]* && touch $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-$(VERSION)" d66 1 a66 1 @@echo "Subject: $(PACKAGE) snapshot $(VERSION) now available" d68 6 a73 1 @@echo "A new $(PACKAGE) snapshot $(VERSION) is now available from:" d77 1 d81 1 d83 5 @ 1.12 log @SC @ text @d1 1 a1 1 SUBDIRS = cairo examples @ 1.11 log @SC @ text @a3 1 NOTES \ d7 3 a9 1 pycairo.pc.in @ 1.10 log @sc 2005/02/05 @ text @d7 2 a8 1 COPYING-MPL-1.1 d10 2 @ 1.9 log @SC 2005/01/12 @ text @d1 1 a1 1 SUBDIRS = cairo d7 1 a7 15 COPYING-MPL-1.1 \ examples/cairo-demo.py \ examples/cairo-knockout.py \ examples/context-subclass.py \ examples/gradient.py \ examples/hering.py \ examples/lsystem.py \ examples/spiral.py \ examples/svg2png.py \ examples/svgview.py \ examples/text.py \ examples/warpedtext.py #snap: # $(MAKE) dist distdir=$(PACKAGE)-SNAP-`date +"%Y%m%d"` @ 1.8 log @SC 30/11/2004 @ text @d15 2 @ 1.7 log @SC 28/11/2004 @ text @d5 3 @ 1.6 log @ * Makefile.am (RELEASE_UPLOAD_DIR): Update directory due to filesystem reorganization from server rebuild. @ text @d4 1 d7 1 d12 2 a13 1 examples/text.py @ 1.5 log @SC 14/11/2004 @ text @d23 1 a23 1 RELEASE_UPLOAD_DIR = /home/www/cairo/snapshots @ 1.4 log @SC 14/10/2004 @ text @d12 53 a64 2 snap: $(MAKE) dist distdir=$(PACKAGE)-SNAP-`date +"%Y%m%d"` @ 1.3 log @2003-09-23 James Henstridge * examples/cairo-knockout.py: another example. @ text @a0 2 AUTOMAKE_OPTIONS = 1.7 a3 1 examples/text.py \ d5 6 a10 1 examples/cairo-knockout.py @ 1.2 log @2003-09-23 James Henstridge * examples/cairo-demo.py (SIZE): simple conversion of one of the Cairo demos. @ text @d7 2 a8 1 examples/cairo-demo.py @ 1.1 log @check in bindings. @ text @d6 2 a7 1 examples/text.py @