mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-05 02:29:28 +02:00
use a RPGP build
This commit is contained in:
parent
0e68450063
commit
c09fdf6576
3 changed files with 14 additions and 4 deletions
|
@ -9,8 +9,9 @@ handling to Android, Desktop and IO user interfaces.
|
||||||
Installing pre-built packages (linux-only)
|
Installing pre-built packages (linux-only)
|
||||||
==========================================
|
==========================================
|
||||||
|
|
||||||
If you have a linux system you, may install
|
If you have a linux system you may install the ``deltachat`` binary "wheel" package
|
||||||
``deltachat`` and all of its dependencies like this:
|
without any "build-from-source" steps. There are no other platforms yet
|
||||||
|
with automated
|
||||||
|
|
||||||
1. `Install virtualenv <https://virtualenv.pypa.io/en/stable/installation/>`_,
|
1. `Install virtualenv <https://virtualenv.pypa.io/en/stable/installation/>`_,
|
||||||
then create a fresh python environment and activate it in your shell::
|
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
|
The ``deltachat/wheel`` image can be used to build both libdeltachat.so
|
||||||
and the Python wheels::
|
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
|
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.
|
the docker image. The script is specified as a path within the docker image's filesystem.
|
||||||
|
|
|
@ -109,3 +109,12 @@ RUN cd libetpan-${ETPAN_VERSION} && \
|
||||||
RUN cd libetpan-${ETPAN_VERSION} && make
|
RUN cd libetpan-${ETPAN_VERSION} && make
|
||||||
RUN cd libetpan-${ETPAN_VERSION} && make install
|
RUN cd libetpan-${ETPAN_VERSION} && make install
|
||||||
RUN ldconfig -v
|
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
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
set -e -x
|
set -e -x
|
||||||
|
|
||||||
## Build the library
|
## Build the library
|
||||||
meson /builddir /io
|
meson -Drpgp=true /builddir /io
|
||||||
pushd /builddir
|
pushd /builddir
|
||||||
ninja
|
ninja
|
||||||
ninja install
|
ninja install
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue