Enable FD passing and thus building of the UI-server.

* configure.ac: Make --enable-fd-passing the default.
* src/engine-uiserver.c (_gpgme_engine_ops_uiserver): Syntax fix.
This commit is contained in:
Werner Koch 2013-02-26 17:25:20 +01:00
parent cdae524b28
commit 5090f6f246
3 changed files with 20 additions and 3 deletions

17
NEWS
View File

@ -1,6 +1,23 @@
Noteworthy changes in version 1.4.0 (unreleased) Noteworthy changes in version 1.4.0 (unreleased)
------------------------------------------------ ------------------------------------------------
* New function gpgme_set_global_flag to help debugging on Android.
* New function gpgme_io_writen as a convenience wrapper around
gpgme_io_write.
* New functions to support the pinentry mode feature of GnuPG 2.1.
* New macro GPGME_VERSION_NUMBER to allow supporting different API
versions without the need for a configure test.
* Several improvements for gpgme-tool.
* Better logging of the common "invalid engine" error code.
* Support for FD passing is now enabled by default. The configure
option --disable-fd-passing may be used to disable this.
* Interface changes relative to the 1.3.1 release: * Interface changes relative to the 1.3.1 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GPGME_VERSION_NUMBER NEW. GPGME_VERSION_NUMBER NEW.

View File

@ -870,9 +870,9 @@ AC_CHECK_MEMBER(struct cmsghdr.cmsg_len,
#include <unistd.h> #include <unistd.h>
]) ])
use_descriptor_passing=no use_descriptor_passing=yes
AC_ARG_ENABLE(fd-passing, AC_ARG_ENABLE(fd-passing,
AC_HELP_STRING([--enable-fd-passing], [use FD passing if supported]), AC_HELP_STRING([--disable-fd-passing], [do not use FD passing]),
use_descriptor_passing=$enableval) use_descriptor_passing=$enableval)
if test "$supports_descriptor_passing" != "yes"; then if test "$supports_descriptor_passing" != "yes"; then

View File

@ -1338,7 +1338,7 @@ struct engine_ops _gpgme_engine_ops_uiserver =
uiserver_set_io_cbs, uiserver_set_io_cbs,
uiserver_io_event, uiserver_io_event,
uiserver_cancel, uiserver_cancel,
NULL /* cancel_op */ NULL, /* cancel_op */
NULL, /* passwd */ NULL, /* passwd */
NULL /* set_pinentry_mode */ NULL /* set_pinentry_mode */
}; };