RE: Building pinentry on Windows 7
Thank you very much for your answers, I will try all solutions and after that let you know of the outcome. Best regards, Nikola -Original Message- From: Andre Heinecke [mailto:andre.heine...@intevation.de] Sent: Wednesday, October 23, 2013 10:47 AM To: gnupg-users@gnupg.org Cc: Werner Koch; Nikola Radovanovic Subject: Re: Building pinentry on Windows 7 Hi, On Wednesday 23 October 2013 10:14:37 Werner Koch wrote: > However, unless you only want the really ugly native pinentry you need > to install lots of libraries first. Thus using the gpg4win installer > framework is easier. I've recently played around with MXE ( http://mxe.cc/ ) which is another cross compilation environment that aims to provide an easy way to handle dependencys for Windows. To build a static pinentry-qt4 with it you can just set it up as documented on their homepage. Drop the attached pinentry.mk in mxe/src/ and do "make pinentry" Worked like a charm for me on a debian wheezy system. Regards, Andre -- Andre Heinecke | ++49-541-335083-262 | http://www.intevation.de/ Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998 Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Building pinentry on Windows 7
Hi, On Wednesday 23 October 2013 10:14:37 Werner Koch wrote: > However, unless you only want the really ugly native pinentry you need > to install lots of libraries first. Thus using the gpg4win installer > framework is easier. I've recently played around with MXE ( http://mxe.cc/ ) which is another cross compilation environment that aims to provide an easy way to handle dependencys for Windows. To build a static pinentry-qt4 with it you can just set it up as documented on their homepage. Drop the attached pinentry.mk in mxe/src/ and do "make pinentry" Worked like a charm for me on a debian wheezy system. Regards, Andre -- Andre Heinecke | ++49-541-335083-262 | http://www.intevation.de/ Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998 Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner PKG := pinentry $(PKG)_IGNORE := $(PKG)_VERSION := 0.8.3 $(PKG)_CHECKSUM := fc0efe5d375568f90ddbb23ee68e173411a49d4a $(PKG)_SUBDIR := pinentry-$($(PKG)_VERSION) $(PKG)_FILE := pinentry-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := ftp://ftp.gnupg.org/gcrypt/pinentry/$($(PKG)_FILE) $(PKG)_DEPS := gcc qt define $(PKG)_UPDATE $(WGET) -q -O- 'ftp://ftp.gnupg.org/gcrypt/pinentry/' | \ $(SED) -n 's,.*pinentry-\([1-9]\.[1-9][0-9][^>]*\)\.tar.*,\1,p' | \ tail -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ --host='$(TARGET)' \ --build="`config.guess`" \ --disable-shared \ --prefix='$(PREFIX)/$(TARGET)' \ --disable-pinentry-qt \ --disable-ncurses \ --disable-pinentry-gtk2 \ --disable-glibtest \ --disable-gtktest \ --enable-pinentry-qt4 \ --enable-pinentry-qt4-clipboard $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install endef ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Building pinentry on Windows 7
On Tue, 22 Oct 2013 14:06, nikola.radovano...@seavus.com said: > I couldn't find any manual for building pinentry executables for > Windows (specifically Windows 7/8). Also for Gpg4Win 2 in general. I The easiest way to do this is to follow the README of the gpg4win installer source. It is best to use a decent Debian systems. Although the configure script of the installer checks for required software, some checks are missing and you may run in to errors if you have not installed, for example the transfig package. Let us know what you had to install so we can add the checks. If you just want to build pinentry, you download the tarball and mkdir ~/w32root cd somewhere tar xjvf pinentry-0.8.3.tar.bz2 cd pinentry-0.8.3 ./autogen.sh --build-w32 make make install cp ~/w32root/bin/pinentry-*.exe /cifs/windows7-box/.../../ However, unless you only want the really ugly native pinentry you need to install lots of libraries first. Thus using the gpg4win installer framework is easier. Shalom-Salam, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users