[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_3_BRANCH: kdepim/libkdenetwork/gpgmepp
From: Marc Mutz <mutz () kde ! org>
Date: 2005-04-29 6:26:13
Message-ID: 20050429062613.0C5F3629 () office ! kde ! org
[Download RAW message or body]
CVS commit by mutz:
-m
M +1 -1 Makefile.am 1.7.2.2
M +10 -0 configure.in.in 1.19.2.2
M +12 -6 context.cpp 1.12.2.2
M +5 -4 context.h 1.12.4.3
--- kdepim/libkdenetwork/gpgmepp/Makefile.am #1.7.2.1:1.7.2.2
@@ -46,5 +46,5 @@
# (Interfaces added: AGE++)
# (Interfaces removed/changed: AGE=0)
-libgpgme___la_LDFLAGS = -no-undefined -version-info 1:0:1
+libgpgme___la_LDFLAGS = -no-undefined -version-info 2:0:2
libgpgme___la_LIBADD = $(GPGME_LIBS)
libgpgme___la_DEPENDENCIES = $(GPGME_LIBS_DEP)
--- kdepim/libkdenetwork/gpgmepp/configure.in.in #1.19.2.1:1.19.2.2
@@ -138,4 +138,14 @@
])
+ AC_MSG_CHECKING([if gpgme has GPGME_INCLUDE_CERTS_DEFAULT])
+ AC_TRY_COMPILE([#include <gpgme.h>], [
+ int i = GPGME_INCLUDE_CERTS_DEFAULT;
+ ], [
+ AC_DEFINE(HAVE_GPGME_INCLUDE_CERTS_DEFAULT, 1, [Define to 1 if your \
gpgme has the GPGME_INCLUDE_CERTS_DEFAULT macro]) + \
AC_MSG_RESULT([yes]) + ], [
+ AC_MSG_RESULT([no])
+ ])
+
CFLAGS="$kdepim_gpgmepp_save_cflags"
LIBS="$kdepim_gpgmepp_save_libs"
--- kdepim/libkdenetwork/gpgmepp/context.cpp #1.12.2.1:1.12.2.2
@@ -137,5 +137,11 @@ namespace GpgME {
void Context::setIncludeCertificates( int which ) {
- assert( which >= -2 );
+ if ( which == DefaultCertificates ) {
+#ifdef HAVE_GPGME_INCLUDE_CERTS_DEFAULT
+ which = GPGME_INCLUDE_CERTS_DEFAULT;
+#else
+ which = 1;
+#endif
+ }
gpgme_set_include_certs( d->ctx, which );
}
--- kdepim/libkdenetwork/gpgmepp/context.h #1.12.4.2:1.12.4.3
@@ -89,4 +89,5 @@ namespace GpgME {
enum CertificateInclusion {
+ DefaultCertificates = -256,
AllCertificatesExceptRoot = -2,
AllCertificates = -1,
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic