8
0
Fork
You've already forked pepforthunderbirdpkg
0
pEp for Thunderbird make macOS PKG file
  • Makefile 41.1%
  • Shell 37.4%
  • Rich Text Format 21.5%
Find a file
2023年05月11日 16:29:44 +02:00
distribution.scripts initial commit 2023年05月11日 16:27:04 +02:00
miniadapter.resources initial commit 2023年05月11日 16:27:04 +02:00
miniadapter.scripts initial commit 2023年05月11日 16:27:04 +02:00
plugin.scripts initial commit 2023年05月11日 16:27:04 +02:00
weblate initial commit 2023年05月11日 16:27:04 +02:00
.gitignore initial commit 2023年05月11日 16:27:04 +02:00
dependency initial commit 2023年05月11日 16:27:04 +02:00
foundation.pEp.adapter.macOS.plist initial commit 2023年05月11日 16:27:04 +02:00
foundation.pEp.miniadapter.plist initial commit 2023年05月11日 16:27:04 +02:00
foundation.pEp.thunderbird.dist initial commit 2023年05月11日 16:27:04 +02:00
Info.plist initial commit 2023年05月11日 16:27:04 +02:00
LICENSE.txt initial commit 2023年05月11日 16:27:04 +02:00
local.conf.sample deliver this as a sample 2023年05月11日 16:29:44 +02:00
logo.icns initial commit 2023年05月11日 16:27:04 +02:00
logo.svg initial commit 2023年05月11日 16:27:04 +02:00
Makefile initial commit 2023年05月11日 16:27:04 +02:00
README.md initial commit 2023年05月11日 16:27:04 +02:00
sample.profile initial commit 2023年05月11日 16:27:04 +02:00
testinstall initial commit 2023年05月11日 16:27:04 +02:00

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