build, test and README
authorVolker Birk <vb@pep.foundation>
Wed, 23 Nov 2016 17:36:02 +0100
changeset 142574ee50b89619
parent 1424 c68f22029523
child 1430 c4d6e7afbc57
child 1432 1b16e94e76a9
build, test and README
README-OSX.md
src/Makefile
src/pEpEngine.h
     1.1 --- a/README-OSX.md	Wed Nov 23 14:01:38 2016 +0100
     1.2 +++ b/README-OSX.md	Wed Nov 23 17:36:02 2016 +0100
     1.3 @@ -6,6 +6,9 @@
     1.4  
     1.5  `export LANG=en_US.UTF-8` is recommended on OS X.
     1.6  
     1.7 +`export DYLD_FALLBACK_LIBRARY_PATH=$HOME/lib:/opt/local/lib` will help if you
     1.8 +build in your home and with MacPorts.
     1.9 +
    1.10  ## Dependencies
    1.11  
    1.12  ### MacPorts
     2.1 --- a/src/Makefile	Wed Nov 23 14:01:38 2016 +0100
     2.2 +++ b/src/Makefile	Wed Nov 23 17:36:02 2016 +0100
     2.3 @@ -8,7 +8,7 @@
     2.4  TARGET?=libpEpEngine.dylib
     2.5  MACOSX_VERSION_MIN=10.6
     2.6  GPGME_IN=$(HOME)
     2.7 -LIBGPGME?=libgpgme-pthread.dylib
     2.8 +LIBGPGME?=libgpgme.dylib
     2.9  CC?=clang -std=c99 -pthread
    2.10  LD?=clang
    2.11  CFLAGS?=-I$(GPGME_IN)/include -I$(HOME)/include -I/opt/local/include $(OPTIMIZE) -pedantic \
     3.1 --- a/src/pEpEngine.h	Wed Nov 23 14:01:38 2016 +0100
     3.2 +++ b/src/pEpEngine.h	Wed Nov 23 17:36:02 2016 +0100
     3.3 @@ -587,7 +587,7 @@
     3.4  DYNAMIC_API PEP_STATUS set_identity_flags(
     3.5          PEP_SESSION session,
     3.6          pEp_identity *identity,
     3.7 -        unsigned int flags
     3.8 +        identity_flags_t flags
     3.9      );
    3.10  
    3.11  // unset_identity_flags() - update identity flags on existing identity
    3.12 @@ -607,7 +607,7 @@
    3.13  DYNAMIC_API PEP_STATUS unset_identity_flags(
    3.14          PEP_SESSION session,
    3.15          pEp_identity *identity,
    3.16 -        unsigned int flags
    3.17 +        identity_flags_t flags
    3.18      );
    3.19  
    3.20  // mark_as_compromized() - mark key in trust db as compromized