[git] GnuPG - branch, master, updated. gnupg-2.1.0-beta783-36-g36125f9

by Werner Koch cvs at cvs.gnupg.org
Wed Sep 17 22:17:08 CEST 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  36125f9c30f7d004f1e4552840211553ef6892f2 (commit)
       via  3baf7a1652ef2e48088f22fd636769c5ce080c24 (commit)
      from  ae3d1bbb65b65cf3c57bb14886be120f5e31635d (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 36125f9c30f7d004f1e4552840211553ef6892f2
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Sep 17 21:33:32 2014 +0200

    speedo: Improve speedo Makefile.
    
    --
    
    Building for the native platform is now a mere
    
      make -f build-aux/speedo.mk native
    
    You may also use "help" as target.

diff --git a/build-aux/speedo.mk b/build-aux/speedo.mk
index f81a835..ae84d66 100644
--- a/build-aux/speedo.mk
+++ b/build-aux/speedo.mk
@@ -45,6 +45,60 @@
 # We need to know our own name.
 SPEEDO_MK := $(realpath $(lastword $(MAKEFILE_LIST)))
 
+.PHONY : help native native-gui w32-installer w32-source
+.PHONY :      git-native git-native-gui git-w32-installer git-w32-source
+.PHONY :      this-native this-native-gui this-w32-installer this-w32-source
+
+help:
+	@echo 'usage: make -f speedo.mk TARGET'
+	@echo '       with TARGET being one of:'
+	@echo '  help           This help'
+	@echo '  native         Native build of the GnuPG core'
+	@echo '  native-gui     Ditto but with pinentry and GPA'
+	@echo '  w32-installer  Build a Windows installer'
+	@echo '  w32-source     Pack a source archive'
+	@echo
+	@echo 'Prepend TARGET with "git-" to build from GIT repos'
+	@echo 'Prepend TARGET with "this-" to build from the source tarball'
+
+SPEEDOMAKE := $(MAKE) -f $(SPEEDO_MK) UPD_SWDB=1
+
+native:
+	$(SPEEDOMAKE) TARGETOS=native WHAT=release WITH_GUI=0 all
+
+git-native:
+	$(SPEEDOMAKE) TARGETOS=native WHAT=git     WITH_GUI=0 all
+
+this-native:
+	$(SPEEDOMAKE) TARGETOS=native WHAT=this    WITH_GUI=0 all
+
+native-gui:
+	$(SPEEDOMAKE) TARGETOS=native WHAT=release WITH_GUI=1 all
+
+git-native-gui:
+	$(SPEEDOMAKE) TARGETOS=native WHAT=git     WITH_GUI=1 all
+
+this-native-gui:
+	$(SPEEDOMAKE) TARGETOS=native WHAT=this    WITH_GUI=1 all
+
+w32-installer:
+	$(SPEEDOMAKE) TARGETOS=w32    WHAT=release WITH_GUI=1 installer
+
+git-w32-installer:
+	$(SPEEDOMAKE) TARGETOS=w32    WHAT=git     WITH_GUI=1 installer
+
+this-w32-installer:
+	$(SPEEDOMAKE) TARGETOS=w32    WHAT=this    WITH_GUI=1 installer
+
+w32-source:
+	$(SPEEDOMAKE) TARGETOS=w32    WHAT=release WITH_GUI=1 dist-source
+
+git-w32-source:
+	$(SPEEDOMAKE) TARGETOS=w32    WHAT=git     WITH_GUI=1 dist-source
+
+this-w32-source:
+	$(SPEEDOMAKE) TARGETOS=w32    WHAT=git     WITH_GUI=1 dist-source
+
 
 # Set this to "git" to build from git,
 #          to "release" from tarballs,
@@ -54,6 +108,12 @@ WHAT=git
 # Set target to "native" or "w32"
 TARGETOS=w32
 
+# Set to 1 to build the GUI tools
+WITH_GUI=0
+
+# Set to 1 to really download the swdb.
+UPD_SWDB=0
+
 # Set to the location of the directory with tarballs of
 # external packages.
 TARBALLS=$(shell pwd)/../tarballs
@@ -108,8 +168,11 @@ speedo_spkgs += \
 	gdk-pixbuf atk pixman cairo pango gtk+
 endif
 
+
+ifeq ($(WITH_GUI),1)
 speedo_spkgs += \
 	pinentry gpa
+endif
 
 ifeq ($(TARGETOS),w32)
 speedo_spkgs += \
@@ -134,6 +197,7 @@ speedo_make_only_style = \
 	zlib
 
 # Get the content of the software DB.
+ifeq ($(UPD_SWDB),1)
 SWDB := $(shell $(topsrc)/build-aux/getswdb.sh && echo okay)
 ifeq ($(strip $(SWDB)),)
 $(error Error getting GnuPG software version database)
@@ -141,15 +205,33 @@ endif
 
 # Version numbers of the released packages
 gnupg_ver = $(shell cat $(topsrc)/VERSION)
-libgpg_error_ver = $(shell awk '$$1=="libgpg_error_ver" {print $$2}' swdb.lst)
-npth_ver = $(shell awk '$$1=="npth_ver" {print $$2}' swdb.lst)
-libgcrypt_ver = $(shell awk '$$1=="libgcrypt_ver" {print $$2}' swdb.lst)
-libassuan_ver = $(shell awk '$$1=="libassuan_ver" {print $$2}' swdb.lst)
-libksba_ver = $(shell awk '$$1=="libksba_ver" {print $$2}' swdb.lst)
-gpgme_ver = $(shell awk '$$1=="gpgme_ver" {print $$2}' swdb.lst)
-pinentry_ver = $(shell awk '$$1=="pinentry_ver" {print $$2}' swdb.lst)
-gpa_ver = $(shell awk '$$1=="gpa_ver" {print $$2}' swdb.lst)
-gpgex_ver = $(shell awk '$$1=="gpgex_ver" {print $$2}' swdb.lst)
+
+libgpg_error_ver := $(shell awk '$$1=="libgpg_error_ver" {print $$2}' swdb.lst)
+libgpg_error_sha1:= $(shell awk '$$1=="libgpg_error_sha1" {print $$2}' swdb.lst)
+
+npth_ver  := $(shell awk '$$1=="npth_ver" {print $$2}' swdb.lst)
+npth_sha1 := $(shell awk '$$1=="npth_sha1" {print $$2}' swdb.lst)
+
+libgcrypt_ver  := $(shell awk '$$1=="libgcrypt_ver" {print $$2}' swdb.lst)
+libgcrypt_sha1 := $(shell awk '$$1=="libgcrypt_sha1" {print $$2}' swdb.lst)
+
+libassuan_ver  := $(shell awk '$$1=="libassuan_ver" {print $$2}' swdb.lst)
+libassuan_sha1 := $(shell awk '$$1=="libassuan_sha1" {print $$2}' swdb.lst)
+
+libksba_ver  := $(shell awk '$$1=="libksba_ver" {print $$2}' swdb.lst)
+libksba_sha1 := $(shell awk '$$1=="libksba_sha1" {print $$2}' swdb.lst)
+
+gpgme_ver  := $(shell awk '$$1=="gpgme_ver" {print $$2}' swdb.lst)
+gpgme_sha1 := $(shell awk '$$1=="gpgme_sha1" {print $$2}' swdb.lst)
+
+pinentry_ver  := $(shell awk '$$1=="pinentry_ver" {print $$2}' swdb.lst)
+pinentry_sha1 := $(shell awk '$$1=="pinentry_sha1" {print $$2}' swdb.lst)
+
+gpa_ver  := $(shell awk '$$1=="gpa_ver" {print $$2}' swdb.lst)
+gpa_sha1 := $(shell awk '$$1=="gpa_sha1" {print $$2}' swdb.lst)
+
+gpgex_ver  := $(shell awk '$$1=="gpgex_ver" {print $$2}' swdb.lst)
+gpgex_sha1 := $(shell awk '$$1=="gpgex_sha1" {print $$2}' swdb.lst)
 
 $(info Information from the version database)
 $(info GnuPG ..........: $(gnupg_ver))
@@ -161,7 +243,7 @@ $(info GPGME ..........: $(gpgme_ver))
 $(info Pinentry .......: $(pinentry_ver))
 $(info GPA ............: $(gpa_ver))
 $(info GpgEX.... ......: $(gpgex_ver))
-
+endif
 
 # Version number for external packages
 pkg_config_ver = 0.23
@@ -324,6 +406,7 @@ speedo_pkg_w64_gpgex_configure = \
 # External packages
 #
 
+ifeq ($(TARGETOS),w32)
 speedo_pkg_zlib_make_args = \
         -fwin32/Makefile.gcc PREFIX=$(host)- IMPLIB=libz.dll.a
 
@@ -353,6 +436,9 @@ echo "dlpreopen=''" >> lib/libz.la;			\
 echo "libdir=\"$(idir)/lib\"" >> lib/libz.la)
 endef
 
+endif
+
+
 speedo_pkg_w64_libiconv_configure = \
 	--enable-shared=no --enable-static=yes
 
@@ -370,7 +456,7 @@ speedo_pkg_gettext_make_dir = gettext-runtime
 
 speedo_pkg_glib_configure = \
 	--disable-modular-tests \
-	--with-lib-prefix=$(idir) --with-libiconv-prefix=$(idir) \
+	--with-libiconv=gnu \
 	CPPFLAGS=-I$(idir)/include \
 	LDFLAGS=-L$(idir)/lib \
 	CCC=$(host)-g++ \
@@ -380,19 +466,36 @@ ifeq ($(TARGETOS),w32)
 speedo_pkg_glib_extracflags = -march=i486
 endif
 
+ifeq ($(TARGETOS),w32)
 speedo_pkg_libpng_configure = \
 	CPPFLAGS=\"-I$(idir)/include -DPNG_BUILD_DLL\" \
 	LDFLAGS=\"-L$(idir)/lib\" LIBPNG_DEFINES=\"-DPNG_BUILD_DLL\"
+else
+speedo_pkg_libpng_configure = \
+        CPPFLAGS=\"-I$(idir)/include\" \
+        LDFLAGS=\"-L$(idir)/lib\"
+endif
+
+ifneq ($(TARGETOS),w32)
+speedo_pkg_gdk_pixbuf_configure = --without-libtiff --without-libjpeg
+endif
 
 speedo_pkg_pixman_configure = \
 	CPPFLAGS=-I$(idir)/include \
 	LDFLAGS=-L$(idir)/lib
 
+ifeq ($(TARGETOS),w32)
 speedo_pkg_cairo_configure = \
 	--disable-qt --disable-ft --disable-fc \
 	--enable-win32 --enable-win32-font \
 	CPPFLAGS=-I$(idir)/include \
 	LDFLAGS=-L$(idir)/lib
+else
+speedo_pkg_cairo_configure = \
+	--disable-qt \
+        CPPFLAGS=-I$(idir)/include \
+        LDFLAGS=-L$(idir)/lib
+endif
 
 speedo_pkg_pango_configure = \
 	--disable-gtk-doc  \
@@ -490,60 +593,76 @@ endef
 
 # Set a couple of common variables.
 define SETVARS
-	pkg="$(1)";							\
-	git="$(call GETVAR,speedo_pkg_$(1)_git)";			\
-	gitref="$(call GETVAR,speedo_pkg_$(1)_gitref)";			\
-	tar="$(call GETVAR,speedo_pkg_$(1)_tar)";			\
-	pkgsdir="$(sdir)/$(1)";						\
-	if [ "$(1)" = "gnupg" ]; then                                   \
-	  git='';                                                       \
-	  gitref='';                                                    \
-	  tar='';                                                       \
+        pkg="$(1)";                                                     \
+        git="$(call GETVAR,speedo_pkg_$(1)_git)";                       \
+        gitref="$(call GETVAR,speedo_pkg_$(1)_gitref)";                 \
+        tar="$(call GETVAR,speedo_pkg_$(1)_tar)";                       \
+        sha1="$(call GETVAR,$(1)_sha1)";                                \
+        pkgsdir="$(sdir)/$(1)";                                         \
+        if [ "$(1)" = "gnupg" ]; then                                   \
+          git='';                                                       \
+          gitref='';                                                    \
+          tar='';                                                       \
           pkgsdir="$(topsrc)";                                          \
         fi;                                                             \
-	pkgbdir="$(bdir)/$(1)";	                    			\
-	pkgcfg="$(call GETVAR,speedo_pkg_$(1)_configure)";		\
-	pkgextracflags="$(call GETVAR,speedo_pkg_$(1)_extracflags)";	\
-	pkgmkdir="$(call GETVAR,speedo_pkg_$(1)_make_dir)";             \
-	pkgmkargs="$(call GETVAR,speedo_pkg_$(1)_make_args)";           \
-	pkgmkargs_inst="$(call GETVAR,speedo_pkg_$(1)_make_args_inst)"; \
-	export PKG_CONFIG="/usr/bin/pkg-config";			\
-	export PKG_CONFIG_PATH="$(idir)/lib/pkgconfig";			\
-	export PKG_CONFIG_LIBDIR="";					\
-	export SYSROOT="$(idir)";					\
-	export PATH="$(idir)/bin:$${PATH}";				\
-	export LD_LIBRARY_PATH="$(idir)/lib:$${LD_LIBRARY_PATH}"
+        pkgbdir="$(bdir)/$(1)";                                         \
+        pkgcfg="$(call GETVAR,speedo_pkg_$(1)_configure)";              \
+        tmp="$(speedo_w32_cflags)                                       \
+             $(call GETVAR,speedo_pkg_$(1)_extracflags)";               \
+        if [ x$$$$(echo "$$$$tmp" | tr -d '[:space:]')x != xx ]; then   \
+          pkgextracflags="CFLAGS=\"$$$$tmp\"";                          \
+        else                                                            \
+          pkgextracflags=;                                              \
+        fi;                                                             \
+        pkgmkdir="$(call GETVAR,speedo_pkg_$(1)_make_dir)";             \
+        pkgmkargs="$(call GETVAR,speedo_pkg_$(1)_make_args)";           \
+        pkgmkargs_inst="$(call GETVAR,speedo_pkg_$(1)_make_args_inst)"; \
+        pkgmkargs_uninst="$(call GETVAR,speedo_pkg_$(1)_make_args_uninst)"; \
+        export PKG_CONFIG="/usr/bin/pkg-config";                        \
+        export PKG_CONFIG_PATH="$(idir)/lib/pkgconfig";                 \
+        [ "$(TARGETOS)" != native ] && export PKG_CONFIG_LIBDIR="";     \
+        export SYSROOT="$(idir)";                                       \
+        export PATH="$(idir)/bin:$${PATH}";                             \
+        export LD_LIBRARY_PATH="$(idir)/lib:$${LD_LIBRARY_PATH}"
 endef
 
 define SETVARS_W64
-	pkg="$(1)";							\
-	git="$(call GETVAR,speedo_pkg_$(1)_git)";			\
-	gitref="$(call GETVAR,speedo_pkg_$(1)_gitref)";			\
-	tar="$(call GETVAR,speedo_pkg_$(1)_tar)";			\
-	pkgsdir="$(sdir)/$(1)";						\
-	if [ "$(1)" = "gnupg" ]; then                                   \
-	  git='';                                                       \
-	  gitref='';                                                    \
-	  tar='';                                                       \
+        pkg="$(1)";                                                     \
+        git="$(call GETVAR,speedo_pkg_$(1)_git)";                       \
+        gitref="$(call GETVAR,speedo_pkg_$(1)_gitref)";                 \
+        tar="$(call GETVAR,speedo_pkg_$(1)_tar)";                       \
+        sha1="$(call GETVAR,$(1)_sha1)";                                \
+        pkgsdir="$(sdir)/$(1)";                                         \
+        if [ "$(1)" = "gnupg" ]; then                                   \
+          git='';                                                       \
+          gitref='';                                                    \
+          tar='';                                                       \
           pkgsdir="$(topsrc)";                                          \
         fi;                                                             \
-	pkgbdir="$(bdir6)/$(1)";                  			\
-	pkgcfg="$(call GETVAR,speedo_pkg_w64_$(1)_configure)";		\
-	pkgextracflags="$(call GETVAR,speedo_pkg_$(1)_extracflags)";	\
-	pkgmkdir="$(call GETVAR,speedo_pkg_$(1)_make_dir)";             \
-	pkgmkargs="$(call GETVAR,speedo_pkg_$(1)_make_args)";           \
-	pkgmkargs_inst="$(call GETVAR,speedo_pkg_$(1)_make_args_inst)"; \
-	export PKG_CONFIG="/usr/bin/pkg-config";			\
-	export PKG_CONFIG_PATH="$(idir6)/lib/pkgconfig";		\
-	export PKG_CONFIG_LIBDIR="";					\
-	export SYSROOT="$(idir6)";					\
-	export PATH="$(idir6)/bin:$${PATH}";				\
-	export LD_LIBRARY_PATH="$(idir6)/lib:$${LD_LIBRARY_PATH}"
+        pkgbdir="$(bdir6)/$(1)";                                        \
+        pkgcfg="$(call GETVAR,speedo_pkg_w64_$(1)_configure)";          \
+        tmp="$(speedo_w32_cflags)                                       \
+             $(call GETVAR,speedo_pkg_$(1)_extracflags)";               \
+        if [ x$$$$(echo "$$$$tmp" | tr -d '[:space:]')x != xx ]; then   \
+          pkgextracflags="CFLAGS=\"$$$$tmp\"";                          \
+        else                                                            \
+          pkgextracflags=;                                              \
+        fi;                                                             \
+        pkgmkdir="$(call GETVAR,speedo_pkg_$(1)_make_dir)";             \
+        pkgmkargs="$(call GETVAR,speedo_pkg_$(1)_make_args)";           \
+        pkgmkargs_inst="$(call GETVAR,speedo_pkg_$(1)_make_args_inst)"; \
+        pkgmkargs_uninst="$(call GETVAR,speedo_pkg_$(1)_make_args_uninst)"; \
+        export PKG_CONFIG="/usr/bin/pkg-config";                        \
+        export PKG_CONFIG_PATH="$(idir6)/lib/pkgconfig";                \
+        [ "$(TARGETOS)" != native ] && export PKG_CONFIG_LIBDIR="";     \
+        export SYSROOT="$(idir6)";                                      \
+        export PATH="$(idir6)/bin:$${PATH}";                            \
+        export LD_LIBRARY_PATH="$(idir6)/lib:$${LD_LIBRARY_PATH}"
 endef
 
 
 # Template for source packages.
-#
+
 # Note that the gnupg package is special: The package source dir is
 # the same as the topsrc dir and thus we need to detect the gnupg
 # package and cd to that directory.  We also test that no in-source build
@@ -580,11 +699,27 @@ $(stampdir)/stamp-$(1)-00-unpack: $(stampdir)/stamp-directories
 	     *.xz) opt=J ;;                      	\
              *) opt= ;;					\
            esac;					\
+           [ -f tmp.tgz ] && rm tmp.tgz;                \
            case "$$$${tar}" in				\
-	     /*) cmd=cat ;;				\
-	     *) cmd="wget -q -O -" ;;			\
+	     /*) tar x$$$${opt}f - < $$$${tar} ;;	\
+	     *)  wget -q -O - $$$${tar} | tee tmp.tgz | tar x$$$${opt}f - ;; \
 	   esac;					\
-	   $$$${cmd} "$$$${tar}" | tar x$$$${opt}f - ;	\
+	   if [ -f tmp.tgz ]; then                      \
+	     if [ -n "$$$${sha1}" ]; then               \
+               tmp=$$$$(sha1sum <tmp.tgz|cut -d' ' -f1);\
+               if [ "$$$${tmp}" != "$$$${sha1}" ]; then \
+	         echo "speedo:";                        \
+                 echo "speedo: ERROR: checksum mismatch for $(1)";\
+	         echo "speedo:";                        \
+                 exit 1;                                \
+               fi;                                      \
+	     else                                       \
+               echo "speedo:";                          \
+               echo "speedo: Warning: No checksum known for $(1)";\
+               echo "speedo:";                          \
+             fi;                                        \
+	     rm tmp.tgz;                                \
+           fi;                                          \
 	   base=`echo "$$$${tar}" | sed -e 's,^.*/,,'   \
                  | sed -e 's,\.tar.*$$$$,,'`;		\
 	   mv $$$${base} $(1);				\
@@ -612,15 +747,13 @@ else ifneq ($(findstring $(1),$(speedo_gnupg_style)),)
             eval AUTOGEN_SH_SILENT=1 w32root="$(idir)"  \
                "$$$${pkgsdir}/autogen.sh"               \
                $(speedo_autogen_buildopt)            	\
-               $$$${pkgcfg}                         	\
-               CFLAGS=\"$(speedo_w32_cflags) $$$${pkgextracflags}\";\
+               $$$${pkgcfg} $$$${pkgextracflags}; 	\
          else                                        	\
             eval "$$$${pkgsdir}/configure" 		\
 	       --silent                 		\
 	       --enable-maintainer-mode			\
                --prefix="$(idir)"		        \
-               $$$${pkgcfg}                         	\
-               CFLAGS=\"$(speedo_w32_cflags) $$$${pkgextracflags}\";\
+               $$$${pkgcfg} $$$${pkgextracflags};     	\
 	 fi)
 else
 	@($(call SETVARS,$(1)); 			\
@@ -629,8 +762,7 @@ else
 	 eval "$$$${pkgsdir}/configure" 		\
 	     --silent $(speedo_host_build_option)	\
              --prefix="$(idir)"		        	\
-	     $$$${pkgcfg}                          	\
-             CFLAGS=\"$(speedo_w32_cflags) $$$${pkgextracflags}\";\
+	     $$$${pkgcfg}  $$$${pkgextracflags};	\
 	 )
 endif
 	@touch $(stampdir)/stamp-$(1)-01-configure
@@ -650,15 +782,13 @@ else ifneq ($(findstring $(1),$(speedo_gnupg_style)),)
             eval AUTOGEN_SH_SILENT=1 w64root="$(idir6)" \
                "$$$${pkgsdir}/autogen.sh"               \
                $(speedo_autogen_buildopt6)            	\
-               $$$${pkgcfg}                         	\
-               CFLAGS=\"$(speedo_w32_cflags) $$$${pkgextracflags}\";\
+               $$$${pkgcfg} $$$${pkgextracflags};       \
          else                                        	\
             eval "$$$${pkgsdir}/configure" 		\
 	       --silent                 		\
 	       --enable-maintainer-mode			\
                --prefix="$(idir6)"		        \
-               $$$${pkgcfg}                         	\
-               CFLAGS=\"$(speedo_w32_cflags) $$$${pkgextracflags}\";\
+               $$$${pkgcfg} $$$${pkgextracflags};       \
 	 fi)
 else
 	@($(call SETVARS_W64,$(1)); 			\
@@ -667,8 +797,7 @@ else
 	 eval "$$$${pkgsdir}/configure" 		\
 	     --silent $(speedo_host_build_option6)	\
              --prefix="$(idir6)"	        	\
-	     $$$${pkgcfg}                          	\
-             CFLAGS=\"$(speedo_w32_cflags) $$$${pkgextracflags}\";\
+	     $$$${pkgcfg} $$$${pkgextracflags};       	\
 	 )
 endif
 	@touch $(stampdir)/stamp-w64-$(1)-01-configure
@@ -680,6 +809,9 @@ ifneq ($(findstring $(1),$(speedo_make_only_style)),)
 	@($(call SETVARS,$(1));				\
           cd "$$$${pkgsdir}";				\
 	  test -n "$$$${pkgmkdir}" && cd "$$$${pkgmkdir}"; \
+          if test "$$$${pkg}" = zlib -a "$(TARGETOS)" != w32 ; then \
+            ./configure --prefix="$(idir)" ; \
+          fi ;\
 	  $(MAKE) --no-print-directory $(speedo_makeopt) $$$${pkgmkargs} V=0)
 else
 	@($(call SETVARS,$(1));				\
@@ -754,7 +886,7 @@ clean-$(1):
 	@($(call SETVARS,$(1));			          \
 	 (cd "$$$${pkgbdir}" 2>/dev/null &&		  \
 	  $(MAKE) --no-print-directory                    \
-           $$$${pkgmkargs_inst} uninstall V=0 ) || true  ;\
+           $$$${pkgmkargs_uninst} uninstall V=0 ) || true;\
          if [ "$(1)" = "gnupg" ]; then                    \
 	   rm -fR "$$$${pkgbdir}" || true                ;\
 	 else                                             \
@@ -851,7 +983,7 @@ w32_insthelpers: $(bdir)/g4wihelp.dll
 $(bdir)/inst-options.ini: $(w32src)/inst-options.ini
 	cat $(w32src)/inst-options.ini >$(bdir)/inst-options.ini
 
-installer: all w32_insthelpers $(bdir)/inst-options.ini $(bdir)/README.txt
+installer: all w32_insthelpers $(w32dir)/inst-options.ini $(bdir)/README.txt
 	$(MAKENSIS) -V2 \
                     -DINST_DIR=$(idir) \
                     -DINST6_DIR=$(idir6) \
@@ -868,5 +1000,5 @@ installer: all w32_insthelpers $(bdir)/inst-options.ini $(bdir)/README.txt
 #
 # Mark phony targets
 #
-.PHONY: all-speedo report-speedo clean-stamps clean-speedo installer \
+.PHONY: all all-speedo report-speedo clean-stamps clean-speedo installer \
 	w32_insthelpers
diff --git a/build-aux/speedo/patches/libiconv-1.14.patch b/build-aux/speedo/patches/libiconv-1.14.patch
new file mode 100755
index 0000000..5e60689
--- /dev/null
+++ b/build-aux/speedo/patches/libiconv-1.14.patch
@@ -0,0 +1,19 @@
+#! /bin/sh
+patch -p0 -l -f $* < $0
+exit $?
+
+On some systems the gets macro has been removed and thus the test
+leads to an unresolved symbol error.
+
+--- srclib/stdio.in.h~	2011-08-07 15:42:06.000000000 +0200
++++ srclib/stdio.in.h	2014-09-04 13:07:07.079024312 +0200
+@@ -691,11 +691,6 @@
+ _GL_CXXALIAS_SYS (gets, char *, (char *s));
+ #  undef gets
+ # endif
+-_GL_CXXALIASWARN (gets);
+-/* It is very rare that the developer ever has full control of stdin,
+-   so any use of gets warrants an unconditional warning.  Assume it is
+-   always declared, since it is required by C89.  */
+-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif

commit 3baf7a1652ef2e48088f22fd636769c5ce080c24
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Sep 17 19:31:27 2014 +0200

    po: Auto-update
    
    --

diff --git a/po/de.po b/po/de.po
index a41433b..8804b24 100644
--- a/po/de.po
+++ b/po/de.po
@@ -3265,6 +3265,14 @@ msgstr ""
 "WARNUNG: Keine User-ID ist als primär markiert.  Dieser Befehl kann\n"
 "dazu führen, daß eine andere User-ID als primär angesehen wird.\n"
 
+msgid "WARNING: Your encryption subkey expires soon.\n"
+msgstr ""
+
+#, fuzzy
+#| msgid "You can't change the expiration date of a v3 key\n"
+msgid "You may want to change its expiration date too.\n"
+msgstr "Sie können das Verfallsdatum eines v3-Schlüssels nicht ändern\n"
+
 msgid ""
 "WARNING: This is a PGP2-style key.  Adding a photo ID may cause some "
 "versions\n"
diff --git a/po/fr.po b/po/fr.po
index 4b0bfd1..11f724a 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -3310,6 +3310,14 @@ msgstr ""
 "commande\n"
 "            risque de rendre une autre identité principale par défaut.\n"
 
+msgid "WARNING: Your encryption subkey expires soon.\n"
+msgstr ""
+
+#, fuzzy
+#| msgid "You can't change the expiration date of a v3 key\n"
+msgid "You may want to change its expiration date too.\n"
+msgstr "Vous ne pouvez pas modifier la date d'expiration d'une clef v3\n"
+
 msgid ""
 "WARNING: This is a PGP2-style key.  Adding a photo ID may cause some "
 "versions\n"
diff --git a/po/ja.po b/po/ja.po
index 87f5a23..73de77a 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -3181,6 +3181,14 @@ msgstr ""
 "*警告*: 主たるユーザIDがありません。このコマンドは、別な\n"
 "              ユーザIDが主になると仮定する場合があります。\n"
 
+msgid "WARNING: Your encryption subkey expires soon.\n"
+msgstr ""
+
+#, fuzzy
+#| msgid "You can't change the expiration date of a v3 key\n"
+msgid "You may want to change its expiration date too.\n"
+msgstr "v3鍵の有効期限は変更できません\n"
+
 msgid ""
 "WARNING: This is a PGP2-style key.  Adding a photo ID may cause some "
 "versions\n"
diff --git a/po/uk.po b/po/uk.po
index aa4b4df..9a7090e 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -3287,6 +3287,14 @@ msgstr ""
 "              цієї команди можна зробити основним інший ідентифікатор "
 "користувача.\n"
 
+msgid "WARNING: Your encryption subkey expires soon.\n"
+msgstr ""
+
+#, fuzzy
+#| msgid "You can't change the expiration date of a v3 key\n"
+msgid "You may want to change its expiration date too.\n"
+msgstr "Не можна змінювати дату завершення строку дії ключа v3\n"
+
 msgid ""
 "WARNING: This is a PGP2-style key.  Adding a photo ID may cause some "
 "versions\n"

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

Summary of changes:
 build-aux/speedo.mk                          |  276 +++++++++++++++++++-------
 build-aux/speedo/patches/libiconv-1.14.patch |   19 ++
 po/de.po                                     |    8 +
 po/fr.po                                     |    8 +
 po/ja.po                                     |    8 +
 po/uk.po                                     |    8 +
 6 files changed, 255 insertions(+), 72 deletions(-)
 create mode 100755 build-aux/speedo/patches/libiconv-1.14.patch


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




More information about the Gnupg-commits mailing list