p≡p MIME library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Andreas Buff 831505c390 IOSAD-213 names build script (cosmetic) 1 year ago
..
pEpMIME.xcodeproj IOSAD-213 names build script (cosmetic) 1 year ago
pEpMIME.xcworkspace APPLEMAIL-59 nicer naming, updated readme 1 year ago
README.md APPLEMAIL-59 nicer naming, updated readme 1 year ago

README.md

WIP

All dips must be in ${PROJECT_DIR}/../../../local/[include|lib]

#HowTo Build

Dependencies

sudo port install git

sudo port install gmake
sudo port install autoconf
sudo port install libtool
sudo port install automake
mkdir src_pEpMime4macOS
cd src_pEpMime4macOS
mkdir -p local/include
mkdir -p local/lib

# Dont bother with crossbuild. We need the headers only.
git clone -b boost-1.73.0 --recursive https://github.com/boostorg/boost.git
pushd boost
    ./bootstrap.sh -mmacosx-version-min=10.10
    ./b2 -std=c++11 cxxflags=-mmacosx-version-min=10.10 --with-regex --with-filesystem --with-program_options --with-thread --with-system stage
    ./b2 install
    cp stage/lib/*.a "../local/lib"
    cp -r boost "../local/include"
popd

git clone -b "master" https://pep-security.lu/gitlab/misc/sqlite.git
git clone -b "master" https://gitea.pep.foundation/pEp.foundation/libetpan.git

git clone git://github.com/vlm/asn1c.git
pushd asn1c
    git checkout tags/v0.9.28 -b pep-engine
    autoreconf -iv
    ./configure --prefix="../local"
    make install
popd

git clone -b v2.1.6 http://pep-security.lu/gitlab/macos/sequoia4macos.git
pushd sequoia4macos
    sh build.sh
popd

https://gitea.pep.foundation/pEp.foundation/pEpEngine.git
git clone -b "v1.16_without_lib_prefix_defines" https://gitea.pep.foundation/buff/libiconv.git
git clone https://gitea.pep.foundation/pEp.foundation/pEpMIME.git

Build

Using Xcode UI

open pEpMIME/build_macOS/pEpMIME/pEpMIME.xcworkspace

Build scheme "pEp4AppleMail" of pEp4AppleMail.xcworkspace

Using terminal

xcodebuild -workspace "pEpMIME/build_macOS/pEpMIME/pEpMIME.xcworkspace" -scheme "libpEpMIME" -configuration RELEASE