mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
speedo,w32: Install a native pinentry.
* build-aux/speedo.mk: Always build pinentry for w32. (speedo_pkg_pinentry_configure): Adjust to modern pinentry. * build-aux/speedo/w32/inst.nsi: Install native pinentry under the name pinentry-basic.exe. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
f77fd572db
commit
154abaf3c9
@ -187,14 +187,19 @@ speedo_spkgs += \
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(TARGETOS),w32)
|
||||
|
||||
speedo_spkgs += pinentry
|
||||
ifeq ($(WITH_GUI),1)
|
||||
speedo_spkgs += gpa gpgex
|
||||
endif
|
||||
|
||||
else
|
||||
|
||||
ifeq ($(WITH_GUI),1)
|
||||
speedo_spkgs += \
|
||||
pinentry gpa
|
||||
ifeq ($(TARGETOS),w32)
|
||||
speedo_spkgs += \
|
||||
gpgex
|
||||
speedo_spkgs += pinentry gpa
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
|
||||
@ -437,14 +442,19 @@ speedo_pkg_gpgme_configure = \
|
||||
LDFLAGS=-L$(idir)/lib
|
||||
endif
|
||||
|
||||
speedo_pkg_pinentry_configure = \
|
||||
--disable-pinentry-qt --disable-pinentry-qt4 --disable-pinentry-gtk \
|
||||
--enable-pinentry-gtk2 \
|
||||
--with-glib-prefix=$(idir) --with-gtk-prefix=$(idir) \
|
||||
|
||||
ifeq ($(TARGETOS),w32)
|
||||
speedo_pkg_pinentry_configure = --disable-pinentry-gtk2
|
||||
else
|
||||
speedo_pkg_pinentry_configure = --enable-pinentry-gtk2
|
||||
endif
|
||||
speedo_pkg_pinentry_configure += \
|
||||
--disable-pinentry-qt4 \
|
||||
CPPFLAGS=-I$(idir)/include \
|
||||
LDFLAGS=-L$(idir)/lib \
|
||||
CXXFLAGS=-static-libstdc++
|
||||
|
||||
|
||||
speedo_pkg_gpa_configure = \
|
||||
--with-libiconv-prefix=$(idir) --with-libintl-prefix=$(idir) \
|
||||
--with-gpgme-prefix=$(idir) --with-zlib=$(idir) \
|
||||
|
@ -816,12 +816,10 @@ Section "-gtk+" SEC_gtk_
|
||||
SectionEnd
|
||||
!endif
|
||||
|
||||
!ifdef WITH_GUI
|
||||
Section "-pinentry" SEC_pinentry
|
||||
SetOutPath "$INSTDIR\bin"
|
||||
File /oname=pinentry.exe "bin/pinentry-gtk-2.exe"
|
||||
File /oname=pinentry-basic.exe "bin/pinentry-w32.exe"
|
||||
SectionEnd
|
||||
!endif
|
||||
|
||||
!ifdef WITH_GUI
|
||||
Section "gpa" SEC_gpa
|
||||
@ -933,11 +931,9 @@ Section "-un.gpa"
|
||||
SectionEnd
|
||||
!endif
|
||||
|
||||
!ifdef WITH_GUI
|
||||
Section "-un.pinentry"
|
||||
Delete "$INSTDIR\bin\pinentry.exe"
|
||||
Delete "$INSTDIR\bin\pinentry-basic.exe"
|
||||
SectionEnd
|
||||
!endif
|
||||
|
||||
!ifdef WITH_GUI
|
||||
Section "-un.gtk+"
|
||||
|
Loading…
x
Reference in New Issue
Block a user