Browse Source

readme wroks again

MOS-7
Andreas Buff 1 year ago
parent
commit
552d19969e
1 changed files with 91 additions and 2 deletions
  1. +91
    -2
      README.md

+ 91
- 2
README.md View File

@ -11,11 +11,100 @@ 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.8 and later.
This software is supporting macOS 10.10 and later.
## Required Tools
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 ~
hg clone https://pep.foundation/dev/repos/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)
## Apple IDs & Certificates
### Apple ID
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.
## Build Dependencies
```
mkdir src_pEpMacOSAdapter
cd src_pEpMacOSAdapter
mkdir local
git clone https://github.com/openssl/openssl.git
pushd "openssl"
./Configure --prefix=$(pwd)/../local/ --openssldir=$(pwd)/../local/ssl
make
make install
popd
git clone --recursive https://github.com/boostorg/boost.git
pushd "boost"
git checkout tags/boost-1.74.0
./bootstrap.sh --prefix=$(pwd)/../local/
./b2 --with-system --with-filesystem --with-program_options --with-thread
./b2 install
popd
git clone https://github.com/weidai11/cryptopp
pushd cryptopp
export PREFIX=$(pwd)/../local/
make
make install
popd
git clone https://gitea.pep.foundation/fdik/pEpMacOSAdapter.git
```
## Build
- Build scheme "All" of pEpMacOSAdapter.xcworkspace
### Using Xcode UI
`open pEpMacOSAdapter/pEpMacOSAdapter.xcworkspace/`
Build scheme "All" of pEpMacOSAdapter.xcworkspace
### Using terminal
`xcodebuild -workspace "pEpMacOSAdapter.xcworkspace" -scheme "All" -configuration RELEASE`
(or DEBUG)
### Build Dir & Build Artefacts
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
## Implementation


Loading…
Cancel
Save