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

Flatpak package #36

Open
jinek opened this issue Feb 10, 2024 · 2 comments
Open

Flatpak package #36

jinek opened this issue Feb 10, 2024 · 2 comments

Comments

@jinek
Copy link

jinek commented Feb 10, 2024

Can watershot be packed to flatpak?

I've tried to build it, but it gives errors, like this one:

error[E0308]: arguments to this method are incorrect
    --> src/rendering.rs:360:29
     |
360  |             rendering.brush.queue(device, queue, vec![section]).unwrap();
     |                             ^^^^^ ------  ----- expected `wgpu::Queue`, found a different `wgpu::Queue`
     |                                   |
     |                                   expected `wgpu::Device`, found a different `wgpu::Device`
     |
     = note: `wgpu::Device` and `wgpu::Device` have similar names, but are actually distinct types

@Akiyamka
Copy link

Akiyamka commented Jan 28, 2025

Same, looks like package abandoned

@Kirottu
Copy link
Owner

Kirottu commented Jan 28, 2025

That problem with building is due to missing the --locked flag with cargo. Building with a command like cargo build --locked works fine. The problem is rooted with some dependencies not using semver properly, and updating dependencies needing a big rework of the codebase that I have not had the time to work on in a while. It is something that I plan to fix at some point but building should work with the --locked flag for now.

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

No branches or pull requests

3 participants