Skip to content

Commit

Permalink
Merge pull request #52 from Ferenc-/bcrypt-whl
Browse files Browse the repository at this point in the history
refactor: Remove Rust toolchain & use bcrypt from whl
  • Loading branch information
Ferenc- authored Jun 29, 2024
2 parents 5588687 + 5d26c3f commit 81f76cc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 746 deletions.
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,3 @@ Build the Flatpak.
Run the Flatpak.

flatpak run org.gnuhealth.MyGNUHealth

### Update

##### bcrypt

First, clone the bcrypt library, checking out the particular version to built as part of the Flatpak.

git clone https://github.com/pyca/bcrypt.git
git -C bcrypt pull
git -C bcrypt checkout <insert commit here>

Generate the Rust sources list using the `flatpak-cargo-generator` for the cryptography library's Rust crate.

python3 flatpak-builder-tools/cargo/flatpak-cargo-generator.py bcrypt/src/_bcrypt/Cargo.lock -o bcrypt-cargo-sources.json

This generates a `bcrypt-cargo-sources.yaml` file which needs to be copied into the Flatpak manifest.
Loading

0 comments on commit 81f76cc

Please sign in to comment.