From 805c6adf4474fc55450948cdf81a3ebaefab365d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Sun, 24 Nov 2024 14:25:44 +0100 Subject: [PATCH] build: Update build and runtime dependencies --- README.md | 18 ++++++++++++++++-- meson.build | 5 ++++- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1e479c06..4086f987 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,8 @@ collaboration in large groups, such as free software projects, and will fit all Fractal’s main window Highlights: @@ -145,6 +145,20 @@ flatpak install --user gnome-nightly org.gnome.Fractal.Devel ### Runtime Dependencies +On top of the dependencies required at build time and checked by Meson, Fractal depends on the +following dependencies at runtime: + +* xdg-desktop-portal and its backends: some functionalities are dependant on the following portals, + and a permission will be asked when necessary, but Fractal should work without them: + * Secret: this portal or a Secret Service is required, see [storing secrets](#storing-secrets). + * Camera: scan QR codes during verification. + * Location: send the user’s location in a conversation. + * Settings: get the 12h/24h time format system preference. +* glycin: all images are loaded with this library so loaders for the different image formats need to + be installed. + +#### Storing secrets + Fractal doesn’t store your **password**, but it stores your **access token** and the **passphrase** used to encrypt the database and the local cache. diff --git a/meson.build b/meson.build index bda28447..649c71a5 100644 --- a/meson.build +++ b/meson.build @@ -45,10 +45,13 @@ dependency('openssl', version: '>= 1.0.1') dependency('shumate-1.0', version: '>= 1.0.0') dependency('sqlite3', version: '>= 3.24.0') +# Required by glycin crate +dependency('lcms2', version: '>=2.12.0') +dependency('libseccomp', version: '>= 2.5.0') + # Linux-only dependencies if build_machine.system() == 'linux' dependency('libpipewire-0.3', version: '>= 0.3.0') - dependency('xdg-desktop-portal', version: '>= 1.14.1') endif glib_compile_resources = find_program('glib-compile-resources', required: true)