[cairo-commit] pycairo ChangeLog,1.18,1.19 Makefile.am,1.4,1.5

Steve Chaplin commit at pdx.freedesktop.org
Sun Nov 14 05:04:02 PST 2004


Committed by: stevech1097

Update of /cvs/cairo/pycairo
In directory gabe:/tmp/cvs-serv9985

Modified Files:
	ChangeLog Makefile.am 
Log Message:
SC 14/11/2004

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/pycairo/ChangeLog,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- ChangeLog	14 Nov 2004 03:22:18 -0000	1.18
+++ ChangeLog	14 Nov 2004 13:04:00 -0000	1.19
@@ -1,16 +1,34 @@
 2004-11-14  Steve Chaplin  <steve1097 at yahoo.com.au>
 
+	* cairo/pycairo-context.c (pycairo_in_stroke, pycairo_in_fill,
+	pycairo_stroke_extents, pycairo_fill_extents, pycairo_init_clip,
+	pycairo_current_pattern, pycairo_text_path): new wrappers
+
+	* cairo/cairomodule.c (pycairo_surface_create_for_image): rename to
+	pycairo_image_surface_create_for_data
+	(pycairo_png_surface_create, pycairo_ps_surface_create): add wrappers
+	(init_cairo): add new constants FILTER_GAUSSIAN, EXTEND_NONE, 
+	EXTEND_REPEAT, EXTEND_REFLECT
+
+	* cairo/pycairo.h: add pattern in _PyCairo_FunctionStruct
+
+	Changes submitted by Maarten Breddels <dmon at xs4all.nl>
+	
+2004-11-14  Steve Chaplin  <steve1097 at yahoo.com.au>
+
         Preparation for making the first snapshot release:
 	* AUTHORS: Add myself
 	* configure.ac: Add automake version check
 	* Makefile.am: Remove automake version check. Add all the examples to 
-	EXTRA_DIST
+	EXTRA_DIST. Add release targets, copied from cairo.
 	* NEWS: Added info about the first snapshot
 	* README: Updated
 	* RELEASING: New file, copied from cairo.
 	* cairo/Makefile.am: Rename INCLUDES to AM_CPPFLAGS
 	* cairo/pycairo-pattern.c (pycairo_pattern_init): Add 'return -1' after
 	an error.
+	(pycairo_pattern_wrap): new function
+	* cairo/pycairo-private.h: new declaration pattern_wrap()
 	
 2004-11-13  Steve Chaplin  <steve1097 at yahoo.com.au>
 

Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/pycairo/Makefile.am,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Makefile.am	14 Nov 2004 03:22:18 -0000	1.4
+++ Makefile.am	14 Nov 2004 13:04:00 -0000	1.5
@@ -9,5 +9,56 @@
   examples/spiral.py \
   examples/text.py 
 
-snap:
-	$(MAKE) dist distdir=$(PACKAGE)-SNAP-`date +"%Y%m%d"`
+#snap:
+#	$(MAKE) dist distdir=$(PACKAGE)-SNAP-`date +"%Y%m%d"`
+
+
+# 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_DIR =    /home/www/cairo/snapshots
+RELEASE_URL_BASE = 	http://cairographics.org/snapshots
+RELEASE_ANNOUNCE_LIST = cairo-announce at cairographics.org
+
+tar_file = $(PACKAGE)-$(VERSION).tar.gz
+md5_file = $(tar_file).md5
+
+$(md5_file): $(tar_file)
+	md5sum $^ > $@
+
+release-remove-old:
+	rm -f $(tar_file) $(md5_file)
+
+release-check: release-remove-old distcheck $(md5_file)
+
+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 "The version in configure.in must be incremented before a new release." \
+		&& false)
+	@echo "Good."
+
+release-publish: release-verify-newer release-check
+	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]* && touch $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-$(VERSION)"
+	@echo ""
+	@echo "Please send an announcement to $(RELEASE_ANNOUNCE_LIST)"
+	@echo "including the following:"
+	@echo ""
+	@echo "Subject: $(PACKAGE) snapshot $(VERSION) now available"
+	@echo ""
+	@echo "A new $(PACKAGE) snapshot $(VERSION) is now available from:"
+	@echo ""
+	@echo "	$(RELEASE_URL_BASE)/$(tar_file)"
+	@echo "	$(RELEASE_URL_BASE)/$(md5_file)"
+	@echo -n "	"
+	@cat releases/$(md5_file)
+	@echo ""
+	@echo "Also, please include the new entries from the NEWS file."




More information about the cairo-commit mailing list