Skip to content

flathub/org.tabos.saldo

Repository files navigation

Updateing Dependencies

First make sure to clone and checkout the appropirate version of python-crypthography.

The flatpak-cargo-generator and flatpak-pip-generator are used in order to generate the pypi-dependencies.json and cargo-sources.json.

flatpak-cargo-generator ../cryptography/src/rust/Cargo.lock -o cargo-sources.json
flatpak-pip-generator --requirements requirements.txt --output pypi-dependencies

where ../cryptography/src/rust/Cargo.lock is from the previusly checked out crypthography repo and version. Make sure that the checked out version is in sync with the one in pypi-dependencies.json.

Then copy the sources for cryptography, cffi and pycparser from pypi-dependencies.json into cryptography.json.

Sometimes the build tools (such as setuptools_rust) may have to be updated in python-setuptools-rust.json.

Building Locally

To build the flatpak the same way it is built on the Flathub build servers run:

flatpak run org.flatpak.Builder -v --bundle-sources --install-deps-from=flathub --user \
    --force-clean build-dir org.tabos.saldo.json