porting gnupg to Android, is pth required?

Hans-Christoph Steiner hans at guardianproject.info
Wed Jan 18 18:03:41 CET 2012



On 01/18/2012 10:56 AM, Werner Koch wrote:
> 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.

If you care, both --disable-ldap and "--disable-ldap --without-ldap" did
not work for me on 2.1.0beta3 and head of master.  I can file a bug
report, if you are interested.

>> 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.

Ok, I'll dive into gnulib today and report back with my progress.

.hc



More information about the Gnupg-devel mailing list