First installer including gnupg2 built.
authorWerner Koch <wk@gnupg.org>
Fri, 15 Jun 2007 15:43:54 +0000 (15:43 +0000)
committerWerner Koch <wk@gnupg.org>
Fri, 15 Jun 2007 15:43:54 +0000 (15:43 +0000)
ChangeLog
src/Makefile.am
src/inst-gnupg2.nsi
src/inst-sections.nsi

index 47e1c96..630f8bb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
        * src/gpg4win.mk.in: Add cruel hack to support gnupg2.
 
        * src/Makefile.am: Use --silent with most configure runs.
+       (gpg4win_pkg_gnupg2_post_install): New.
 
        * src/uninst-gnupg2.nsi, src/inst-libgnupg2.nsi: New.
        * src/uninst-libassun.nsi, src/inst-libassuan.nsi: New.
index eed2a5e..06da94f 100644 (file)
@@ -58,6 +58,14 @@ for i in de; do \
  done)
 endef
 
+
+# The fields FAQ and faq.html conflict with those in GnuPG1.
+# For now removes them.
+define gpg4win_pkg_gnupg2_post_install 
+( rm $$$${pkgidir}/share/gnupg/FAQ; \
+  rm $$$${pkgidir}/share/gnupg/faq.html )
+endef
+
 # We would like to use --with-libiconv-prefix and
 # --with-libintl-prefix, but these don't work with the cheesy
 # non-"libfoo.la" versions of iconv and gettext that we are using.
index 76d4752..36168d8 100644 (file)
@@ -22,7 +22,7 @@
 !ifdef prefix
 !undef prefix
 !endif
-!define prefix ${ipdir}/gnupg-${gpg4win_pkg_gnupg2_version}
+!define prefix ${ipdir}/gnupg2-${gpg4win_pkg_gnupg2_version}
 
 
 Section "GnuPG2" SEC_gnupg2
@@ -39,10 +39,10 @@ Section "GnuPG2" SEC_gnupg2
   # As a special exception, these programs are not kept in
   # libexec/gnupg, where they belong.  Please see the comment in
   # gnupg/g10/keyserver.c::keyserver_spawn() for an explanation.
-  File "${prefix}/libexec/gnupg/gpg2keys_finger.exe"
-  File "${prefix}/libexec/gnupg/gpg2keys_hkp.exe"
-  File "${prefix}/libexec/gnupg/gpg2keys_curl.exe"
-  File "${prefix}/libexec/gnupg/gpg2keys_ldap.exe"
+  File "${prefix}/libexec/gpg2keys_finger.exe"
+  File "${prefix}/libexec/gpg2keys_hkp.exe"
+  File "${prefix}/libexec/gpg2keys_curl.exe"
+  File "${prefix}/libexec/gpg2keys_ldap.exe"
 
   SetOutPath "$INSTDIR\pub"
   File /oname=gpg2.exe      "${BUILD_DIR}/gpgwrap.exe"
index 53c2ad4..42955d9 100644 (file)
@@ -42,7 +42,7 @@
 !include "inst-libksba.nsi"
 !endif
 !ifdef HAVE_PKG_LIBGCRYPT
-!include "inst-libgrypt.nsi"
+!include "inst-libgcrypt.nsi"
 !endif
 !ifdef HAVE_PKG_LIBICONV
 !include "inst-libiconv.nsi"