[clutter/clutter-1.6] build: Generate the release announcement



commit 21a13ecd32c9510410508aba75a04eb3ed70e368
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Mon Apr 4 22:34:10 2011 +0100

    build: Generate the release announcement
    
    Update the release-message target to generate the full release
    announcement out of the standard blurb and the NEWS file. We use
    a pretty evil sed incantation, courtesy of Neil Roberts.

 build/autotools/Makefile.am.release |   46 +++++++++++++++++++++++++++++++++-
 1 files changed, 44 insertions(+), 2 deletions(-)
---
diff --git a/build/autotools/Makefile.am.release b/build/autotools/Makefile.am.release
index dc84c55..e763ae6 100644
--- a/build/autotools/Makefile.am.release
+++ b/build/autotools/Makefile.am.release
@@ -14,6 +14,8 @@ RELEASE_URL      = $(RELEASE_URL_BASE)/$(CLUTTER_MAJOR_VERSION).$(CLUTTER_MINOR_
 RELEASE_ANNOUNCE_LIST = clutter-announce clutter-project org
 RELEASE_ANNOUNCE_CC   = gnome-announce-list gnome org
 
+RELEASE_DOC_URLS = http://docs.clutter-project.org/docs/
+
 tar_file    = $(distdir).tar.bz2
 sha256_file = $(distdir).sha256sum
 
@@ -65,8 +67,14 @@ release-verify-even-micro:
 	@echo "Good."
 
 release-upload: $(sha256_file)
+	@echo "Uploading to $(RELEASE_UPLOAD_HOST)..."
 	@scp $(tar_file) $(RELEASE_UPLOAD_DIR)
+	@echo "Uploading to master.gnome.org..."
+	@scp $(tar_file) master.gnome.org:
+	@echo "Running ftpadmin install..."
+	@ssh master.gnome.org ftpadmin install $(tar_file)
 	@mv -f $(sha256_file) $(top_builddir)/build/$(sha256_file)
+	@echo "Done."
 
 release-message:
 	@echo "     Release URL: $(RELEASE_URL)/$(tar_file)"
@@ -80,7 +88,8 @@ release-message:
 	@echo ""
 	@echo "A new Clutter $(CLUTTER_RELEASE_STATUS) is now available at:"
 	@echo ""
-	@echo "  $(RELEASE_URL)/$(tar_file)"
+	@echo "  http://source.clutter-project.org/sources/clutter/$(CLUTTER_MAJOR_VERSION).$(CLUTTER_MINOR_VERSION)/"
+	@echo "  http://download.gnome.org/sources/clutter/$(CLUTTER_MAJOR_VERSION).$(CLUTTER_MINOR_VERSION)/"
 	@echo ""
 	@echo "SHA256 Checksum:"
 	@echo ""
@@ -90,7 +99,7 @@ release-message:
 	@echo "  git clone git://git.gnome.org/clutter"
 	@echo ""
 	@echo "will include a signed $(CLUTTER_VERSION) tag which points to a commit named:"
-	@echo "  `git cat-file tag $(CLUTTER_VERSION) | grep ^object | sed -e 's,object ,,'`"
+	@echo "  `git cat-file tag $(CLUTTER_VERSION) | $(GREP) ^object | $(SED) -e 's,object ,,'`"
 	@echo ""
 	@echo "which can be verified with:"
 	@echo "  git verify-tag $(CLUTTER_VERSION)"
@@ -98,6 +107,39 @@ release-message:
 	@echo "and can be checked out with a command such as:"
 	@echo "  git checkout -b build $(CLUTTER_VERSION)"
 	@echo ""
+	@echo "Clutter is a library for creating compelling, dynamic and portable graphical"
+	@echo "user interfaces. Clutter is released under the terms of the GNU Lesser"
+	@echo "General Public License, version 2.1 or (at your option) later."
+	@echo ""
+	@echo "Clutter depends on:"
+	@echo "  GLib â?¥ @GLIB_REQ_VERSION@"
+	@echo "  JSON-GLib â?¥ @JSON_GLIB_REQ_VERSION@"
+	@echo "  Cairo â?¥ @CAIRO_REQ_VERSION@"
+	@echo "  Pango â?¥ @PANGO_REQ_VERSION@"
+	@echo "  Atk â?¥ @ATK_REQ_VERSION@"
+	@echo "  OpenGL â?¥ 1.3 (or 1.2 + multi-texturing), OpenGL|ES 1.1 or 2.0"
+	@echo "  GLX, WGL, Quartz, or an EGL implementation"
+	@echo ""
+	@echo "Clutter also has platform-specific dependencies; for more information, see"
+	@echo "the README file included in the release."
+	@echo ""
+	@echo "Documentation:"
+	@echo "   Clutter: $(RELEASE_DOCS_URL)/clutter/$(CLUTTER_MAJOR_VERSION).$(CLUTTER_MINOR_VERSION)/"
+	@echo "      Cogl: $(RELEASE_DOCS_URL)/cogl/$(CLUTTER_MAJOR_VERSION).$(CLUTTER_MINOR_VERSION)/"
+	@echo "     Cally: $(RELEASE_DOCS_URL)/cally/$(CLUTTER_MAJOR_VERSION).$(CLUTTER_MINOR_VERSION)/"
+	@echo "  Cookbook: $(RELEASE_DOCS_URL)/clutter-cookbook/$(CLUTTER_API_VERSION)/"
+	@echo ""
+	@echo "Release Notes:"
+	@echo "  - This version is API and ABI compatible with the current stable"
+	@echo "    release of Clutter."
+	@echo "  - Installing the contents of this release will overwrite the files"
+	@echo "    from the installation of the current release of Clutter."
+	@echo "  - Bugs should be reported on the Clutter Bugzilla product, at:"
+	@echo "    http://bugzilla.gnome.org/enter_bug.cgi?product=clutter";
+	@echo ""
+	@$(SED) -n '1bend;/^Clutter /q;:end;2,$$p' $(top_srcdir)/NEWS | $(GREP) -v '^======'
+	@echo ""
+	@echo "Have fun with Clutter!"
 	@echo "--- CUT HERE ---"
 
 release-publish: release-check



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]