ari's enigmail/pEp-on-linux build system this _also_ lives in https://pep.foundation/dev/repos/enigmailpEp/ in linux
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Arian Sanusi 4198e24877
build on openSuse: use gcc-5 (beware: with system-symlinks!), pepjsonserver-issues
2 years ago
CAcert enable build on Fedora 27 2 years ago
packages @ eba242264b packages submodule (came here by sd, need to change to esca remote) 2 years ago
.gitignore look for vanilla distribution in vanilla 2 years ago
.gitmodules packages submodule 2 years ago
Makefile build on openSuse: use gcc-5 (beware: with system-symlinks!), pepjsonserver-issues 2 years ago
README.md README.md: initial 2 years ago
dependencies_debian_9.sh enable build on debian 9 2 years ago
dependencies_debuntu_common.sh enable build on debian 9 2 years ago
dependencies_fedora_27.sh dependencies: suse: gcc-7, fedora: cacert wrong path 2 years ago
dependencies_opensuse_42.3.sh build on openSuse: use gcc-5 (beware: with system-symlinks!), pepjsonserver-issues 2 years ago
engine_Makefile.conf.patch patch engine-Makefile.conf DEBUG= 2 years ago
enigmail.genxpi.patch revert to startup-script-less 2 years ago
enigmail_enigmail.js.patch put build date and distribution in output filename 2 years ago
enigmail_pEp.jsm.patch switch to pep-json-server 302 2 years ago
enigmail_pEpAdapter.jsm.patch adapt to running inside thunderbird profile 2 years ago
local.conf build on openSuse: use gcc-5 (beware: with system-symlinks!), pepjsonserver-issues 2 years ago
pep-json-server-adapter_cstring.patch build on openSuse: use gcc-5 (beware: with system-symlinks!), pepjsonserver-issues 2 years ago
pep-json-server_start.sh start pep-json-server with the help of a script changing working-directory 2 years ago
pepjsonserveradapter.Makefile.conf.patch cleanup, adapt damiano's build infra changes 2 years ago
prepareEnigmailTree.sh revert to startup-script-less 2 years ago
test.py almost-trivial jsonserveradapter test.py 2 years ago

README.md

Building enigmail+pEp on Linux

this build system has two stages:

  • dependencies_$ID_$Version_ID.sh # installs dependencies and prepares a vanilla distribution installation
  • Makefile # make all builds We distinct between “well supported linuxes”, distributions for that we know they ship supported versions of gnupg and libgpgme and we have a dependencies*.sh script for. On the other hand are “linuxes with basic support” for which we ship _all_ taken from debian-9 or built by us. (FIXME: this sentence superseeded by gpg not portable :( )

well-supported Linuxes

  • Debian 9
  • Fedora 27
  • openSuse

preparations

start on one of the well-supported Linuxes - packages for linux with basic support are built on debian-9 run dependencies_${ID}_${VERSION_ID}.sh for your distribution as root - this has to be done only when dependencies change.

building

For each actual build, create a user solely for this purpose. On Debian: adduser --gecos '' pep-enigmail-build

  • clone the common directory to ~pep-enigmail-build
  • ln -s common/Makefile .
  • export LD_LIBRARY_PATH=~/build/lib
  • make

Fedora

on fedora the libtool shipped with and used by libetpan is broken, therefore use the system one: cd libetpan; ln -s `which libtool` libtool

Building for Linux with basic support

start on debian-9 and run its preparations.sh, but replace common/vanilla with an empty directory. This leads to all dependencies being integrated into the xpi.