pEp for Thunderbird make macOS PKG file
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Volker Birk e8cd26a456 deliver this as a sample 4 weeks ago
distribution.scripts initial commit 4 weeks ago
miniadapter.resources initial commit 4 weeks ago
miniadapter.scripts initial commit 4 weeks ago
plugin.scripts initial commit 4 weeks ago
weblate initial commit 4 weeks ago
.gitignore initial commit 4 weeks ago
Info.plist initial commit 4 weeks ago
LICENSE.txt initial commit 4 weeks ago
Makefile initial commit 4 weeks ago
README.md initial commit 4 weeks ago
dependency initial commit 4 weeks ago
foundation.pEp.adapter.macOS.plist initial commit 4 weeks ago
foundation.pEp.miniadapter.plist initial commit 4 weeks ago
foundation.pEp.thunderbird.dist initial commit 4 weeks ago
local.conf.sample deliver this as a sample 4 weeks ago
logo.icns initial commit 4 weeks ago
logo.svg initial commit 4 weeks ago
sample.profile initial commit 4 weeks ago
testinstall initial commit 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

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