Open Houkime opened 1 year ago
Can you try and see if the AUR package works? The dependency in question is webkit2gtk-4.1
(webkit2gtk
is a different package on Arch Linux)
AUR package works (there is a different bug on login, but it compiles and runs)
@Houkime did you get it to work? I was able to run it without issues on PopOS
pacman -S pacman -S extra/webkit2gtk-4.1
solves that issue, but then we run into some import errors in navicula
.
error[E0432]: unresolved import `dioxus_desktop::EvalResult`
--> /home/fbyrne/.cargo/git/checkouts/navicula-66e4e16cd8702a1c/b7eb3d0/src/types.rs:5:50
|
5 | use dioxus_desktop::{use_window, DesktopContext, EvalResult};
| ^^^^^^^^^^ no `EvalResult` in the root
error[E0425]: cannot find function `use_eval` in crate `dioxus_desktop`
--> /home/fbyrne/.cargo/git/checkouts/navicula-66e4e16cd8702a1c/b7eb3d0/src/logic.rs:384:32
|
384 | let eval = dioxus_desktop::use_eval(cx);
| ^^^^^^^^ not found in `dioxus_desktop`
|
help: consider importing one of these items
|
1 + use crate::logic::dioxus_elements::prelude::use_eval;
|
1 + use dioxus::prelude::use_eval;
|
help: if you import `use_eval`, refer to it directly
|
384 - let eval = dioxus_desktop::use_eval(cx);
384 + let eval = use_eval(cx);
|
error[E0599]: no method named `eval` found for reference `&'a Rc<DesktopService>` in the current scope
--> /home/fbyrne/.cargo/git/checkouts/navicula-66e4e16cd8702a1c/b7eb3d0/src/types.rs:20:21
|
20 | self.window.eval(code)
| ^^^^ method not found in `&Rc<DesktopService>`
Following the AUR building with cargo build --release
makes it progress much further. You might also need to set the C compiler using CC
.
And finally if the ld
command says it can't find xdo
you're missing the xdotool
.
OS: Arch Linux (6.4.1 kernel) /usr/lib/libjavascriptcoregtk-4.0.so is present as a part of webkit2gtk (btw, list it as a dep maybe) but it misses a pkg-config file so the compilation fails because it depends on it.
Tried:
cargo build --release
output: