1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-04 10:19:16 +02:00

use a RPGP build

This commit is contained in:
holger krekel 2019-03-25 20:25:47 +01:00
parent 0e68450063
commit c09fdf6576
No known key found for this signature in database
GPG key ID: 8E3B03A279B772D6
3 changed files with 14 additions and 4 deletions

View file

@ -9,8 +9,9 @@ handling to Android, Desktop and IO user interfaces.
Installing pre-built packages (linux-only)
==========================================
If you have a linux system you, may install
``deltachat`` and all of its dependencies like this:
If you have a linux system you may install the ``deltachat`` binary "wheel" package
without any "build-from-source" steps. There are no other platforms yet
with automated
1. `Install virtualenv <https://virtualenv.pypa.io/en/stable/installation/>`_,
then create a fresh python environment and activate it in your shell::
@ -107,7 +108,7 @@ organization::
The ``deltachat/wheel`` image can be used to build both libdeltachat.so
and the Python wheels::
$ docker run --rm -it -v $(pwd):/io/ deltachat-wheel /io/python/wheelbuilder/build-wheels.sh
$ docker run --rm -it -v $(pwd):/io/ deltachat/wheel /io/python/wheelbuilder/build-wheels.sh
This command runs a script within the image, after mounting ``$(pwd)`` as ``/io`` within
the docker image. The script is specified as a path within the docker image's filesystem.

View file

@ -109,3 +109,12 @@ RUN cd libetpan-${ETPAN_VERSION} && \
RUN cd libetpan-${ETPAN_VERSION} && make
RUN cd libetpan-${ETPAN_VERSION} && make install
RUN ldconfig -v
# Install Rust nightly
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
ENV PATH=/root/.cargo/bin:$PATH
RUN rustc --version
RUN true \
&& git clone https://github.com/dignifiedquire/rpgp.git \
&& cd rpgp/pgp-ffi \
&& make install

View file

@ -2,7 +2,7 @@
set -e -x
## Build the library
meson /builddir /io
meson -Drpgp=true /builddir /io
pushd /builddir
ninja
ninja install