Fix licensing issues

This commit is contained in:
2019-08-20 22:01:47 +01:00
parent 62a59b7b0a
commit 25af2f6b49
2 changed files with 14 additions and 34 deletions

View File

@@ -24,17 +24,23 @@ can view specific progress on [the issue board](https://gitlab.com/lupine/purple
## Build
Very basic instructions at present. First, `deltachat-core` isn't packaged, so
you'll need to build and install it according to
[these instructions](https://github.com/deltachat/deltachat-core/blob/master/README.md#build).
There are some licensing issues at present, so you shouldn't build this plugin.
Now, you'll need some other build dependencies:
`deltachat-core` vendors openssl, unconditionally links it, and is MPL-licensed.
```
sudo apt install build-essential libpurple-dev libglib2.0-dev
```
`purple-plugin-delta` is GPLv3 without the [OpenSSL exemption](https://people.gnome.org/~markmc/openssl-and-the-gpl.html)
Finally, run `make` to create a `libdelta.so` file.
`libpurple` itself is GPLv2 without the OpenSSL exemption.
`deltachat-core-rust` may make OpenSSL optional, so linking against that version
would be fine.
Linking against a patched / changed `deltachat-core` that disregards vendored
OpenSSL and uses GnuTLS instead would also be fine.
There's no point to `purple-plugin-delta` adding the OpenSSL exemption because
`libpurple` lacks it, and in any event, it will be unnecessary with the next
major version of OpenSSL. So, time should resolve this for us one way or another.
## Use