porting gnupg to Android, is pth required?

Werner Koch wk at gnupg.org
Wed Jan 18 16:56:04 CET 2012

On Wed, 18 Jan 2012 16:05, hans at at.or.at said:

> Well, I got pth built so I think it'll work.  For now I'll keep it, unless you think the Android port would be better without it.

We will switch with the next beta.  Anyway using the new lib should be
easier than Pth.  Keep it for now.

> --disable-dirmngr.  We want keyserver support for sure, and openldap
> is built for Android now.  Does gnupg need any of the openldap client
> or server programs?  I only installed the libraries.

No, we only need the library.  --disable-ldap should also work.  It is a
still a development version and thus I don't care too much about these
little bugs.

> Ah, ok so 'gl' stands for gnulib.  I've done quite a bit of porting,
> but haven't used gnulib before.  I've never seen a project that makes
> its own versions of system headers like alloca.h, is this behavior
> inherited from gnulib?

Yes, I think so. gnulib is GNU's portability layer.  It is the successor
of the old libiberty.  See http://gnu.org/software/gnulib (you need to
wait until tomorrow due to the SOPA blackout, though).  It is much newer
than GnuPG and thus we don't make full use of it and possible have
modified some files.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-devel mailing list