examples icon indicating copy to clipboard operation
examples copied to clipboard

gtk-rs examples in a flatpak

Open ctaggart opened this issue 7 years ago • 2 comments

I spend a couple of days figuring out how to these examples distributed via a flatpak. It is working. I'll probably record another screencast and put it up on YouTube. Here are some quick notes.

Install Flatpak if not installed. On Fedora, this is:

sudo dnf install flatpak

Install the gtk-rs-examples:

sudo flatpak install https://s3.amazonaws.com/ctaggart/flatpak/gtk-rs-examples.flatpakref

See what is installed and run it:

flatpak list
flatpak run org.gtkrs.GtkTest

try the other examples:

flatpak run --command=sh org.gtkrs.GtkTest
cd /app/bin

ctaggart avatar Aug 13 '17 20:08 ctaggart

https://twitter.com/cmr0n/status/897069438918381572 https://youtu.be/ReMj_c1EEGM

ctaggart avatar Aug 14 '17 12:08 ctaggart

we have a basic example of how to use Flatpak to package a GTK application here https://github.com/flatpak/flatpak-builder-tools/tree/master/cargo

I can add the same example to this repository as well, not sure if it's worth it as it's more related to Flatpak than GTK-rs

bilelmoussaoui avatar Apr 28 '20 09:04 bilelmoussaoui