First thing you should know if you're going to build fluffychat is that it has a LOT of build dependencies, here's a list :
Code: Select all
curl
clang
cmake
ninja-build
pkg-config
git
unzip
which
xz-utils
zip
libgtk-3-dev
libjsoncpp-dev
libsecret-1-dev
libsecret-1-0
librhash0
libwebkit2gtk-4.0-dev
libolm3
libolm-dev
The first thing you're going to want to do is to find a good staging path for flutter. In my case, I'm going to use .local, but you can use whatever you want.
Code: Select all
cd ~/.local/
Code: Select all
wget https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.13.9-stable.tar.xz
tar xf flutter_linux_3.13.9-stable.tar.xz
Next, add the '{your_staging_dir}/flutter/bin' directory to your PATH variable so it can be executed and referenced by your system
Code: Select all
export PATH="$PATH:~/.local/flutter/bin"
Code: Select all
flutter precache
Code: Select all
export PATH=/home/{your_staging_path}/flutter/bin:$PATH
echo "export PATH=/home/{your_staging_path}/flutter/bin:$PATH" > ~/.bashrc
The first thing you're going to want to do before installing fluffy chat is to go back to your staging directory and clone the flutter repo.
Code: Select all
cd ~/.local
git clone https://github.com/krille-chan/fluffychat.git
cd fluffychat/
Code: Select all
flutter build linux --release
Feel free to link this binary in your system however you wish, however I advise against moving this binary as it is built with relative path library links (for whatever reason)
If you run into any issues during the build process, feel free to leave a response in this thread. If you reasonably don't want to deal with this build process; linux, web, and android build can be found here : https://github.com/krille-chan/fluffychat/releases
I hope at least somebody can find this helpful, I plan on making a follow-up guide on building for mac-os in the near future :))