compile gpgme with VisualC

Thorsten Maerz torte at netztorte.de
Mon Feb 23 11:29:54 CET 2004


Hi Marcus,

On Thu, 19 Feb 2004 00:57:32 +0100 Marcus Brinkmann <marcus.brinkmann at rub.de> wrote:

> > I've modify the config.h by hand and I've fix minor
> > erroneous functions calls.
> > if anyone is interested in, I will send the dsp/dsw
> > and the little diff.
> 
> We are definitely interested.  If you want to speed things up, check
> if those changes still apply to the 0.4.x branch, because the 0.3.x
> branch is effectively discontinued.  Still, I have no problems
> applying the changes even to 0.3.x if you provide a sane patch, in
> particular as getting 0.4.x to work on such platforms will be
> difficult.

Btw., the Sylpheed/Win32 port uses a MSVC built gpgme since 0.3.4
(IIRC the w32-*.c files have only been available from CVS at that
time&version, but 0.3.15 definitely provides them).

There is a developer package containing a prebuilt static library
along with the sources (and the applied .diff) at
  http://sylpheed-claws.sourceforge.net/win32/sylpheed/gpgme-0.3.15-dev-20030621.zip
(it can be built as a DLL as well using the workspace and rc
file from http://netztorte.de/gpgme/, but only the static build
has been tested for almost two years now - the DLL is untested).

That package is stripped down to the 'gpgme' subdir from the
original tarball, but you can use the original gpgme sources
as well by copying 'gpgme-0.3.15-msvc.diff' into its base
directory and apply it with 'patch -p1': It will create the
workspace files as well (depending on your patch.exe they
will have posix lineendings, so convert them to DOS before
feeding MSVC with them).

The patch also seems to work with gpgme-0.3.16, but it hasn't
undergone user testing yet (the released packages have been
linked against 0.3.4, 0.3.12 and 0.3.15).

I didn't try gpgme-0.4.x yet, cause Sylpheed doesn't use it
and v0.4 requires more libraries (gpg-error, assuan, ...?),
so I can't provide any details on the alpha version.

Regards,
-- 
Thorsten Maerz          <torte at netztorte.de>
Sylpheed-claws/Win32:   http://claws-w32.sf.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : /pipermail/attachments/20040223/1ec7e15c/attachment.bin


More information about the Gnupg-devel mailing list