From 9ff72e4e7e4f56c241a525479a94ed4c95efc23f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 1 Aug 2013 11:20:48 +0200 Subject: w32: Add code to support a portable use of GnuPG. * common/homedir.c (w32_bin_is_bin, w32_portable_app) [W32]: New. (check_portable_app) [W32]: New. (standard_homedir, default_homedir) [W32]: Support the portable flag. (w32_rootdir, w32_commondir) [W32]: Ditto. (gnupg_bindir, gnupg_cachedir, dirmngr_socket_name) [W32]: Ditto. * common/logging.h (JNLIB_LOG_NO_REGISTRY): New. * common/logging.c (no_registry): New variable. (log_set_prefix, log_get_prefix): Set/get that variable. (do_logv): Do not check the registry if that variable is set. -- Beware: This code has not been tested because it is not yet possible to build GnuPG 2.1 for Windows. However, the code will be the base for an implementation in 2.0. A portable use of GnuPG under Windows means that GnuPG uses a home directory depending on the location of the actual binary. No registry variables are considered. The portable mode is enabled if in the installation directory of the the binary "gpgconf.exe" and a file "gpgconf.ctl" are found. The latter file is empty or consists only of empty or '#' comment lines. Signed-off-by: Werner Koch --- NEWS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 370d9c4a5..3b2016f3a 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -Noteworthy changes in version 2.1.0beta4 (unreleased) +Noteworthy changes in version 2.1.0-betaN (unreleased) ----------------------------------------------------- * GPG now accepts a space separated fingerprint as a user ID. This @@ -20,6 +20,8 @@ Noteworthy changes in version 2.1.0beta4 (unreleased) * Better support fo CCID readers. Now, internal CCID driver supports readers with no auto configuration feature. + * Support installation as portable application under Windows. + Noteworthy changes in version 2.1.0beta3 (2011-12-20) ----------------------------------------------------- -- cgit v1.2.3