|
11 months ago | |
---|---|---|
Scripts | 1 year ago | |
Subprojects | 11 months ago | |
pEpMacOSAdapter | 1 year ago | |
pEpMacOSAdapter.xcodeproj | 1 year ago | |
pEpMacOSAdapter.xcworkspace | 1 year ago | |
.gitignore | 1 year ago | |
LICENSE | 2 years ago | |
README.md | 1 year ago |
This adapter will sport three main features:
PER_MACHINE_DIRECTORY="/Library/Application Support/pEp"
PER_USER_DIRECTORY=$HOME/.pEp
This software is supporting macOS 10.10 and later.
For building the engine, you need a working python3 environment and all dependencies:
sudo port install git
sudo port install mercurial
sudo port install gmake
sudo port install autoconf
sudo port install libtool
sudo port install automake
sudo port install wget
sudo port install capnproto
pushd ~
git clone https://gitea.pep.foundation/fdik/yml2
popd
curl https://sh.rustup.rs -sSf | sh
add this to ~/.profile (create if it doesn't exist):
source $HOME/.cargo/env
export PATH="$HOME/.cargo/bin:$PATH"
restart your Console (!)
sudo port install pkgconfig
rustup update
Install Xcode (if not installed already)
You need to have an Apple ID (connected to pEp team account) configured in Xcode . Ask #service
, if you want to be added to the team account.
mkdir src_pEpMacOSAdapter
cd src_pEpMacOSAdapter
mkdir local
export MACOSX_DEPLOYMENT_TARGET=10.10
git clone -b OpenSSL_1_1_1g https://github.com/openssl/openssl.git
pushd "openssl"
./Configure --prefix=$(pwd)/../local/ --openssldir=$(pwd)/../local/ssl darwin64-x86_64-cc
make -j8
make install
popd
git clone -b boost-1.73.0 --recursive https://github.com/boostorg/boost.git
pushd "boost"
./bootstrap.sh --prefix=$(pwd)/../local/
./b2 --with-system --with-filesystem --with-program_options --with-thread
./b2 install
popd
git clone -b CRYPTOPP_8_2_0 https://github.com/weidai11/cryptopp
pushd cryptopp
export PREFIX=$(pwd)/../local/
make -j8
make install
unset PREFIX
popd
git clone https://github.com/fdik/libetpan
pushd libetpan
./autogen.sh --prefix=$(pwd)/../local/
make install
popd
git clone http://pep-security.lu/gitlab/macos/sequoia4macos.git
pushd sequoia4macos
sh build.sh
popd
git clone https://pep-security.lu/gitlab/misc/sqlite.git
git clone https://gitea.pep.foundation/pEp.foundation/pEpEngine
git clone https://pep-security.lu/gitlab/iOS/CocoaLumberjack
git clone http://pep-security.lu/gitlab/iOS/pep-toolbox.git
git clone https://gitea.pep.foundation/pep.foundation/pEpObjCAdapter.git
git clone https://gitea.pep.foundation/pEp.foundation/downloadclient
git clone https://gitea.pep.foundation/fdik/pEpMacOSAdapter.git
open pEpMacOSAdapter/pEpMacOSAdapter.xcworkspace/
Build scheme "All" of pEpMacOSAdapter.xcworkspace
xcodebuild -workspace "pEpMacOSAdapter.xcworkspace" -scheme "All" -configuration RELEASE
(or DEBUG)
You can find the build artefacts in the build
folder odf the project or the used submodules:
src_pEpMacOSAdapter/pEpMacOSAdapter/build/foundation.pEp.adapter.macOS.xpc src_pEpMacOSAdapter/pEpMacOSAdapter/Submodules/pEpNotifications/build/p≡p updates.app
The implementation is split in to parts:
This protocol is provided to the User Interface to get informed when a download was happening. When a subscription is active updateNow() can be used to search for immediate updates.