Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Linux AppImage/Universal binaries (X11+wayland+portal) #402

Merged
merged 12 commits into from
Jan 4, 2025

Conversation

rodlie
Copy link
Member

@rodlie rodlie commented Dec 29, 2024

Now that we support Wayland I took some time to improve the SDK and release binaries.

AppImage/Portable (universal) features:

  • Qt 5.15.16 + KDE Patches + wayland patches
  • Moved from GLX to EGL
    • Does this break NVIDIA on X11?
  • Desktop integration support
  • Portal support (untested)
    • Should make it easy to re-package for snap/flatpak
  • X11/Xwayland support
  • Wayland support
    • Only tested on Intel GPU
  • 10+ years backwards compatibility

We now have one build to rule them all 🧙‍♂️

Testers for Radeon and NVIDIA are welcome.

👉 Download

20f6788bd407029355cfcab99b3f48cef6556333eca7e06047cf93498c323ad4  friction-1.0.0-9d77ca09-linux-x86_64.tar.xz
01ec40a6642943913e566b9af10ad032dd91395be848d2fafa2dbd9d27920552  Friction-1.0.0-9d77ca09-x86_64.AppImage

Note that Wayland is a moving target, "bleeding edge" distros are recommended.

You can control Wayland/X11 mode:

  • Force wayland: QT_QPA_PLATFORM=wayland
  • Force X11: QT_QPA_PLATFORM=xcb

Ubuntu 24.10 (wayland)

ubuntu-2410

Also tested 24.04 and 22.04, in both Wayland and X11.

Fedora 41 (wayland)

fedora-41

openSUSE Tumbleweed KDE (wayland)

Image got corrupted (too bleeding edge 😄).

Also tested X11.

Pop!_OS 24.04 LTS COSMIC Epoch 1 alpha 4 (wayland)

cosmic-a4

Ubuntu 14.04 LTS (X11)

ubuntu-1404

Just for fun, yes we support more or less anything since 2014 (no tricks).

Note the macOS-like menus ;)

* Disable CI (enable after merge and docker update)
* Support Wayland
* Support Portal
* Qt 5.15.16+kde
* GLX => EGL
@rodlie
Copy link
Member Author

rodlie commented Dec 31, 2024

Got working local flatpak (3cef2cb), just a matter of submitting to flathub. Probably can't do that until after v1.0.0 release, as they only support stable releases(?).
Screenshot from 2024-12-31 05-49-26

@rodlie
Copy link
Member Author

rodlie commented Dec 31, 2024

Flatpak for testing:

wget https://sourceforge.net/projects/friction/files/snapshots/1.0.0-c8a95158/Friction.flatpak
flatpak --user install Friction.flatpak
flatpak run graphics.friction.Friction

rodlie added 4 commits January 1, 2025 18:55
Add missing portal 😄
If running as flatpak limit save image sequence to XDG Pictures/Documents.

There are probably other places where this also should be checked for, can we import sequences?

There is no way for us to support 'org.freedesktop.portal.FileChooser::SaveFiles' as-is.

- We allow 'xdg-documents' for SVG preview, plugins and image sequences
- We allow 'xdg-pictures' for image sequences

The rest of Friction can use portal to load and save to any directory.
@rodlie
Copy link
Member Author

rodlie commented Jan 1, 2025

Latest builds: https://sourceforge.net/projects/friction/files/snapshots/1.0.0-f7da1aed/

Includes AppImage, portable and flatpak.

@rodlie
Copy link
Member Author

rodlie commented Jan 1, 2025

Created a "Early Access" (snapshots from main) Flatpak repository for Friction.

Friction Early Access Flatpak

flatpak --user install https://friction.graphics/repo/friction-main.flatpakref

Screenshot from 2025-01-02 00-04-16

@rodlie rodlie merged commit 0087796 into main Jan 4, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant