Get CI working
This commit is contained in:
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
vendor/libetpan-1.8.tar.gz filter=lfs diff=lfs merge=lfs -text
|
||||
vendor/deltachat-core-master.tar.gz filter=lfs diff=lfs merge=lfs -text
|
5
.gitignore
vendored
5
.gitignore
vendored
@@ -1 +1,6 @@
|
||||
/libdelta.so
|
||||
/libetpan.so
|
||||
/libdeltachat.so
|
||||
/libnetpgp.so
|
||||
/vendor/deltachat-core-master
|
||||
/vendor/libetpan-1.8
|
||||
|
@@ -4,8 +4,24 @@ Debian 9:
|
||||
image: debian:stretch
|
||||
script:
|
||||
- apt update
|
||||
- apt install --no-install-recommends -yy build-essential libpurple-dev
|
||||
# libetpan
|
||||
# FIXME: libetpan 1.16 is available in Debian, but we need 1.17+: https://github.com/deltachat/deltachat-core/issues/157
|
||||
# TODO: it can take libcurl as well. Do we need it?
|
||||
- apt install --no-install-recommends -yy build-essential autoconf automake libtool libdb-dev libexpat1-dev libsasl2-dev libssl1.0-dev
|
||||
- cd vendor && tar -xvzf libetpan-1.8.tar.gz && cd libetpan-1.8 && ./autogen.sh && ./configure && make && make install && cd ../..
|
||||
- cp /usr/local/lib/libetpan.so libetpan.so
|
||||
# deltachat-core
|
||||
- apt install --no-install-recommends -yy meson ninja-build pkg-config zlib1g-dev libsqlite3-dev libsasl2-dev libssl1.0-dev libbz2-dev
|
||||
- cd vendor && tar -xvzf deltachat-core-master.tar.gz && cd deltachat-core-master && mkdir builddir && cd builddir && meson && ninja && ninja install && cd ../../..
|
||||
- cp /usr/local/lib/x86_64-linux-gnu/libdeltachat.so libdeltachat.so
|
||||
- cp /usr/local/lib/x86_64-linux-gnu/libnetpgp.so libnetpgp.so
|
||||
# purple-plugin-delta
|
||||
- apt install --no-install-recommends -yy libpurple-dev libsoup2.4-dev libglib2.0-dev
|
||||
- make
|
||||
artifacts:
|
||||
paths:
|
||||
- libetpan.so
|
||||
- libdeltachat.so
|
||||
- libnetpgp.so
|
||||
- libdelta.so
|
||||
|
||||
|
13
README.md
13
README.md
@@ -16,10 +16,10 @@ 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).
|
||||
|
||||
Now, you'll need the libpurple build dependencies:
|
||||
Now, you'll need some other build dependencies:
|
||||
|
||||
```
|
||||
sudo apt install libpurple-dev build-essential
|
||||
sudo apt install build-essential libpurple-dev libsoup2.4-dev libglib2.0-dev
|
||||
```
|
||||
|
||||
Finally, run `make` to create a `libdelta.so` file.
|
||||
@@ -30,6 +30,11 @@ The easiest way to use this is to copy the `libdelta.so` file into
|
||||
`~/.purple/plugins`. When running pidgin, you'll now have the option to add
|
||||
a "Delta Chat" account.
|
||||
|
||||
If it doesn't show up, chances are pidgin can't find the various shared
|
||||
libraries the .so depends on. You can run `ldd ~/.purple/plugins/libdelta.so`
|
||||
to confirm. I'll document fixing this after the build and install system is
|
||||
settled.
|
||||
|
||||
At present, the "Username" and "Password" account fields correspond to email
|
||||
address and password, respectively. Many important settings also show up on the
|
||||
"Advanced" tab - if left blank, the plugin will attempt to automatically detect
|
||||
@@ -40,9 +45,5 @@ Run pidgin with `--debug` to see interesting output.
|
||||
|
||||
## Limitations
|
||||
|
||||
NOTHING IS DONE YET.
|
||||
|
||||
Once that's fixed:
|
||||
|
||||
There's no facility at present to import account keys, so sharing an email
|
||||
address between your mobile and desktop isn't amazing. It's high on the agenda.
|
||||
|
BIN
vendor/deltachat-core-master.tar.gz
(Stored with Git LFS)
vendored
Normal file
BIN
vendor/deltachat-core-master.tar.gz
(Stored with Git LFS)
vendored
Normal file
Binary file not shown.
BIN
vendor/libetpan-1.8.tar.gz
(Stored with Git LFS)
vendored
Normal file
BIN
vendor/libetpan-1.8.tar.gz
(Stored with Git LFS)
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user