From 92823e6367affcc6fb7d505ad7b0789c1b735285 Mon Sep 17 00:00:00 2001 From: Andreas Buff Date: Wed, 21 Jul 2021 12:35:48 +0200 Subject: [PATCH] Cleans readme --- build_macOS/pEpMIME/README.md | 42 +++++------------------------------ 1 file changed, 6 insertions(+), 36 deletions(-) diff --git a/build_macOS/pEpMIME/README.md b/build_macOS/pEpMIME/README.md index 788fd82..6357bab 100644 --- a/build_macOS/pEpMIME/README.md +++ b/build_macOS/pEpMIME/README.md @@ -12,54 +12,24 @@ sudo port install gmake sudo port install autoconf sudo port install libtool sudo port install automake +sudo port install asn1c +sudo port install gsed ``` ``` -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/buff/mac-os-build-scripts-common-dependencies.git git clone https://gitea.pep.foundation/pEp.foundation/pEpMIME.git ``` ## Build ### Using Xcode UI -`open pEpMIME/build_macOS/pEpMIME/pEpMIME.xcworkspace` +`open pEpMIME/build_macOS/pEpMIME/pEpMIME.xcodeproj` -Build scheme "pEp4AppleMail" of pEp4AppleMail.xcworkspace +Build scheme "libpEpMIME". ### Using terminal -`xcodebuild -workspace "pEpMIME/build_macOS/pEpMIME/pEpMIME.xcworkspace" -scheme "libpEpMIME" -configuration RELEASE` +`xcodebuild -project "pEpMIME/build_macOS/pEpMIME/pEpMIME.xcodeproj" -scheme "libpEpMIME" -configuration [RELEASE|DEBUG]` ```