Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

gtk-rs examples in a flatpak #143

Open
ctaggart opened this issue Aug 13, 2017 · 2 comments
Open

gtk-rs examples in a flatpak #143

ctaggart opened this issue Aug 13, 2017 · 2 comments

Comments

@ctaggart
Copy link

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
Copy link
Author

@bilelmoussaoui
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants