Oddbean new post about | logout
 I could not get it to compile.  After 2 hours, instead of holding up the release, I just released everything else.  I'll keep trying but I'm really quite stuck. 
 Ok i understand, thanks for the update. Are there many people downloading and using the flatpak ? I'll migrate the data files and use the AppImage, no problem.

Wish i could help, i have some experience with flatpak but not so much with Rust. Good luck 🙏 
 If you want to try, cd into packaging/flatpak and run 'build_flatpak.sh'.

For some reason it pulls/uses rust 1.77.2 which is too old for some of the deps.  I can't figure out why it is using that since both rust installs on my system are 1.80. 
 The "cargo fetch" call fails, can't find the Cargo.toml file. I'll figure it out.

Running: cargo --offline fetch
error: could not find `Cargo.toml` in `/run/build/gossip` or any parent directory

I've changed the org.freedesktop.Platform runtime req version to 24.08 in the manifest and i pulled the latest rust-stable flatpak sdk (also 24.08) 
 I've found out the problem ... by adding a "rustc -V" command in the manifest's build-commands at the top, i can see which rust version the flatpak env is using.

When you use org.freedesktop.Platform v22.08, the rust version is 1.72.0. If you use v23.08, the rust version is 1.77.2. And if you use v24.08 (the latest), the rust version is 1.81.0.

So setting "runtime-version" to "24.08" in the flatpak manifest should fix the flatpak build problem ! 
 brilliant!  Thank you. 
 glad i could help, thank you for gossip. 
 I ended up compiling it with cargo because the AppImage needs a glibc>=2.32 (i have glibc 2.31). I copied the user data from gossip's flatpak dir (~/.var/app/com.mikedilger/gossip) into ~/.local/share/gossip but when i start it, it ignores the config and shows the dialog to create a new key.

I'll stay on 0.11.3 for now until i figure out how to properly migrate my existing gossip data files. 
 Managed to import the private key with v0.12, everything is working including videos. The bookmarks system is great !