[git] GnuPG - branch, master, updated. gnupg-2.1.0-2-g8ec0b38

by Werner Koch cvs at cvs.gnupg.org
Wed Nov 5 22:02:16 CET 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  8ec0b384a86bd7f67a60ab43ff1540e80c3f729d (commit)
      from  d280a52757b6a9968c98500dfe5e07e519423dba (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8ec0b384a86bd7f67a60ab43ff1540e80c3f729d
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Nov 5 21:40:52 2014 +0100

    speedo: Append the date to the Windows installer.
    
    * build-aux/speedo.mk (BUILD_DATESTR): New.
    (dist-source, installer): Use it.

diff --git a/build-aux/speedo.mk b/build-aux/speedo.mk
index b7bcf06..63d508d 100644
--- a/build-aux/speedo.mk
+++ b/build-aux/speedo.mk
@@ -573,6 +573,7 @@ endif
 
 
 BUILD_ISODATE=$(shell date -u +%Y-%m-%d)
+BUILD_DATESTR=$(subst -,,$(BUILD_ISODATE))
 
 # The next two macros will work only after gnupg has been build.
 ifeq ($(TARGETOS),w32)
@@ -1000,7 +1001,7 @@ ifeq ($(TARGETOS),w32)
 dist-source: all
 	for i in 00 01 02 03; do sleep 1;touch PLAY/stamps/stamp-*-${i}-*;done
 	(set -e;\
-	 tarname="$(INST_NAME)-$(INST_VERSION)_$(BUILD_ISODATE).tar" ;\
+	 tarname="$(INST_NAME)-$(INST_VERSION)_$(BUILD_DATESTR).tar" ;\
 	 [ -f "$$tarname" ] && rm "$$tarname" ;\
          tar -C $(topsrc) -cf "$$tarname" --exclude-backups --exclude-vc \
              --transform='s,^\./,$(INST_NAME)-$(INST_VERSION)/,' \
@@ -1043,11 +1044,12 @@ installer: all w32_insthelpers $(w32src)/inst-options.ini $(bdir)/README.txt
                     -DTOP_SRCDIR=$(topsrc) \
                     -DW32_SRCDIR=$(w32src) \
                     -DBUILD_ISODATE=$(BUILD_ISODATE) \
+                    -DBUILD_DATESTR=$(BUILD_DATESTR) \
 		    -DNAME=$(INST_NAME) \
 	            -DVERSION=$(INST_VERSION) \
 		    -DPROD_VERSION=$(INST_PROD_VERSION) \
 		    $(w32src)/inst.nsi
-	@echo "Ready: $(idir)/$(INST_NAME)-$(INST_VERSION)"
+	@echo "Ready: $(idir)/$(INST_NAME)-$(INST_VERSION)_$(BUILD_DATESTR).exe"
 
 endif
 # }}} W32
diff --git a/build-aux/speedo/w32/inst.nsi b/build-aux/speedo/w32/inst.nsi
index 707b058..b43e5ff 100644
--- a/build-aux/speedo/w32/inst.nsi
+++ b/build-aux/speedo/w32/inst.nsi
@@ -22,7 +22,8 @@
 #  BUILD_DIR
 #  TOP_SRCDIR
 #  W32_SRCDIR
-#  BUILD_ISODATE
+#  BUILD_ISODATE   - the build date, e.g. "2014-10-31"
+#  BUILD_DATESTR   - ditto w/o '-',  e.g. "20141031"
 #  NAME
 #  VERSION
 #  PROD_VERSION
@@ -94,9 +95,9 @@ SetCompressor lzma
 Name "${PRETTY_PACKAGE}"
 
 # Set the output filename.
-OutFile "${NAME}-${VERSION}.exe"
+OutFile "${NAME}-${VERSION}_${BUILD_DATESTR}.exe"
 
-#Fixme: Do we need a logo
+#Fixme: Do we need a logo?
 #Icon "${TOP_SRCDIR}/doc/logo/gnupg-logo-icon.ico"
 #UninstallIcon "${TOP_SRCDIR}/doc/logo/gnupg-logo-icon.ico"
 

-----------------------------------------------------------------------

Summary of changes:
 build-aux/speedo.mk           |    6 ++++--
 build-aux/speedo/w32/inst.nsi |    7 ++++---
 2 files changed, 8 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list