Go to file
Volker Birk 84caac4d1d workaround: will not give reason for revoke, gnupg issue 2015-04-21 08:56:53 +02:00
db adding --full switch 2015-03-23 23:08:26 +01:00
src workaround: will not give reason for revoke, gnupg issue 2015-04-21 08:56:53 +02:00
test merged 2015-04-21 08:37:25 +02:00
.hgignore added .hgignore 2015-03-27 00:27:02 +01:00
LICENSE.txt should be there 2014-09-26 19:26:31 +02:00
Makefile even nicer 2015-03-28 11:39:05 +01:00
Makefile.conf decoding body correctly 2015-03-27 13:36:57 +01:00
README.txt message api 2014-12-28 23:07:55 +01:00
TODO.txt case conversion including tailoring based on PyICU 2015-03-23 21:42:45 +01:00
pEpEngine.vcxproj modifications for Windoze 2015-03-26 15:30:21 +01:00
pEpEngine.vcxproj.filters modifications for Windoze 2015-03-26 15:30:21 +01:00

README.txt

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

pEp Engine
==========

0. What it is and building it
-----------------------------

The pEp Engine encapsulates all real functionality of pEp.
It has an old style Makefile for building it.

The build is configured in Makefile.conf

It supports the common targets

$ make all
$ make install
$ make clean

and additionally

$ make package # for building a .tar.bz2 with the source distribution

To build on platforms without uname(1) use BUILD_ON:

C:\pEpEngine> :for building a .zip with a binary distribution
C:\pEpEngine> set BUILD_ON=Windoze && make -e windist

1. How to cross-build
---------------------

For cross-building, BUILD_FOR is being used. I.e.:

$ BUILD_FOR=Windoze make -e windist

Supported platforms are Darwin, Windoze, Linux.

1. a) Cross-building for Windoze
................................

Cross-building for Windoze requires mingw-w64.

Easier linking to Visual Studio can be achieved by using Microsoft's LIB.EXE
tool; this command created the needed pEpEngine.lib import library:

C:\pEpEngine> lib /def:pEpEngine.def

2. How to build the databases
-----------------------------

pEp Engine uses two databases: ~/.pEp_management (on *NIX) or
%LOCALAPPDATA%\pEp\management.db on Windoze respectively, and
/usr/local/share/system.db on *NIX or %ALLUSERSPROFILE%\pEp\system.db
respectively. The latter contains the safewords dbs.

The managment db is being created by the first call of init() of pEp Engine. It
does not need to be created manually. system.db is being created by using the
DDL in db/create_system_db.sql  the content is created by db/dic2csv.py
out of hunspell's dictionary packages (or something similar) and then being
imported using sqlite3's .import command.

You can test the safewords in system.db using db/safewords.py
Both Python tools have a switch --help