[cairo-commit] svg2png ChangeLog, 1.6, 1.7 Makefile.am, 1.1.1.1, 1.2 NEWS, 1.1.1.1, 1.2 RELEASING, NONE, 1.1 configure.in, 1.2, 1.3

Carl Worth commit at pdx.freedesktop.org
Mon Feb 14 06:19:20 PST 2005


Committed by: cworth

Update of /cvs/cairo/svg2png
In directory gabe:/tmp/cvs-serv28659

Modified Files:
	ChangeLog Makefile.am NEWS configure.in 
Added Files:
	RELEASING 
Log Message:

        * NEWS: Add notes for 0.1.2.

        * configure.in: Increment version to 0.1.2.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/svg2png/ChangeLog,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- ChangeLog	20 Jan 2005 16:39:15 -0000	1.6
+++ ChangeLog	14 Feb 2005 14:19:16 -0000	1.7
@@ -1,3 +1,9 @@
+2005-02-14  Carl Worth  <cworth at cworth.org>
+
+	* NEWS: Add notes for 0.1.2.
+
+	* configure.in: Increment version to 0.1.2.
+
 2005-01-20  Carl Worth  <cworth at cworth.org>
 
 	* src/svg2png.c: Track split-up of cairo.h.

Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/svg2png/Makefile.am,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- Makefile.am	27 Apr 2004 02:10:02 -0000	1.1.1.1
+++ Makefile.am	14 Feb 2005 14:19:16 -0000	1.2
@@ -3,3 +3,53 @@
 EXTRA_DIST =\
 	COPYING
 
+# 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 =    /srv/cairo.freedesktop.org/www/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."
+
+

Index: NEWS
===================================================================
RCS file: /cvs/cairo/svg2png/NEWS,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- NEWS	27 Apr 2004 02:10:02 -0000	1.1.1.1
+++ NEWS	14 Feb 2005 14:19:16 -0000	1.2
@@ -1 +1,12 @@
-- Initial version of svg2png
+Snapshot 0.1.2 (2005-02-13 Carl Worth <cworth at cworth.org>)
+==========================================================
+Default input/output is now stdin/stdout so svg2png can be used in
+pipelines without any command-line arguments.
+
+Better handling of --width and --height, which now automatically
+trigger aspect-ratio-preserving scaling. So, specifying just one of
+these options is often sufficient.
+
+Track changes in cairo.h.
+
+Some bug fixes.

--- NEW FILE: RELEASING ---
So far, svg2png hasn't reached an initial release. But we can still form
good habits now by practicing the release process with the current
snapshots.

A new snapshot is needed whenever significant new features or bug
fixes are committed. Here are the steps to follow:

1) Ensure that there are no local, uncommitted modifications. The best
   thing to do here may be to begin with a fresh checkout from CVS:

	cvs -d cairographics.org:/cvs/cairo co svg2png

   But it's probably good enough if "cvs -q update -Ad" generates no
   output.

2) Verify that the code passes "make distcheck"

	Running "make distcheck" should result in no warnings or
	errors and end with a message of the form:

	================================================
	svg2png-X.Y.Z.tar.gz is ready for distribution
	================================================

	(But the tar file isn't actually ready yet, as we still have
	some more steps to follow).

3) Fill out an entry in the NEWS file

	Sift through the information in ChangeLog since the last
	snapshot. Summarize major changes briefly in a style similar
	to other entries in NEWS.

4) Increment SVG2PNG_VERSION in configure.in

5) Commit the changes to NEWS and configure.in

	Don't forget to fill out the ChangeLog just like with any
	other commit. It's especially important to mention the new
	version number in the ChangeLog.

6) Run "make release-publish" which will perform the following steps
   for you:

	* Check that no release exists with the current version
	* Verify that make distcheck completes successfully
	* Generate the final tar file
	* Generate an md5sum file
	* scp both files to appear on http://cairographics.org/snapshots
	* Create a LATEST-package-version file (after deleting any old one)
	* Place local copies of both files in the releases directory
	* Provide some text for the release announcement (see below).

7) Tag the entire source tree with a tag of the form SNAPSHOT_X_Y_Z:

	cvs tag SNAPSHOT_X_Y_Z

8) Send a message to cairo-announce at cairographics.org to announce the
   new snapshot using the text provided from "make release-publish".


Index: configure.in
===================================================================
RCS file: /cvs/cairo/svg2png/configure.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- configure.in	20 Jan 2005 16:39:15 -0000	1.2
+++ configure.in	14 Feb 2005 14:19:16 -0000	1.3
@@ -2,7 +2,7 @@
 
 dnl ===========================================================================
 
-SVG2PNG_VERSION=0.1.1
+SVG2PNG_VERSION=0.1.2
 AC_SUBST(SVG2PNG_VERSION)
 
 dnl ===========================================================================




More information about the cairo-commit mailing list