|
4 weeks ago | |
---|---|---|
distribution.scripts | 4 weeks ago | |
miniadapter.resources | 4 weeks ago | |
miniadapter.scripts | 4 weeks ago | |
plugin.scripts | 4 weeks ago | |
weblate | 4 weeks ago | |
.gitignore | 4 weeks ago | |
Info.plist | 4 weeks ago | |
LICENSE.txt | 4 weeks ago | |
Makefile | 4 weeks ago | |
README.md | 4 weeks ago | |
dependency | 4 weeks ago | |
foundation.pEp.adapter.macOS.plist | 4 weeks ago | |
foundation.pEp.miniadapter.plist | 4 weeks ago | |
foundation.pEp.thunderbird.dist | 4 weeks ago | |
local.conf.sample | 4 weeks ago | |
logo.icns | 4 weeks ago | |
logo.svg | 4 weeks ago | |
sample.profile | 4 weeks ago | |
testinstall | 4 weeks ago |
README.md
p≡p for Thunderbird macOS Package
This is the installer package for macOS. To build an installer you have to go through the following steps:
Build p≡p for Thunderbird
Get the source code of p≡p for Thunderbird. Then build the plugin:
pEp_for_Thunderbird $ make
Rebuild of p≡p mini adapter
Executable
Compiled object files of p≡p JSON server adapter in sync branch with p≡p mini adapter are expected to exist. This can be achieved by building it by default. The p≡p mini adapter will be relinked for deployment.
Libraries
The relink of p≡p mini adapter will be done using static libraries. Therefore, all third party libraries must be available as static libraries.
Libraries from p≡p and GNU Nettle
These libraries will be used from their source build directories. Therefore, a source build from each of them has to be available.
The p≡p engine must be built with PER_MACHINE_DIRECTORY=/Applications/pEp.app/Content/Resources
- libpEpAdapter
- p≡p engine in postrelease branch
- fdik fork of libetpan
- Sequoia PGP in pep-engine branch
- GNU Nettle
Dependencies used from MacPorts
These libraries are being used from MacPorts:
- GNU Multiple Precision Arithmetic Library
- SQLite3
- libz
- GNU iconv
- libevent
Boost
By default MacPorts is not sporting a static variant of the boost libraries. Hence a build is needed. Build boost with:
boost $ ./bootstrap.sh
boost $ ./b2 --with-system --with-filesystem --with-program_options --with-thread
Generate a local.conf:
pepforthunderbirdpkg $ make local.conf
Then adapt BOOST_LIBRARY_PATH
in the last line to the /stage/lib
directory of
your boost directory; i.e.:
BOOST_LIBRARY_PATH=$(HOME)/dev/boost_1_72_0/stage/lib
Build the macOS installer package for p≡p for Thunderbird
pepforthunderbirdpkg $ make package
The resulting distribution package is named foundation.pEp.thunderbird.pkg
. You
can rename it before distribution.
License
This file is under CC-BY-SA 3.0