reveal

Grigory Shepelev 2023-03-28T17:30:50.234199Z

@vlaaad Hi. Can't launch the reveal with introduced command:

clj \
 -Sdeps '{:deps {vlaaad/reveal {:mvn/version "1.3.280"}}}' \
 -X vlaaad.reveal/repl
It fails with:
Loading library prism_es2 from resource failed: java.lang.UnsatisfiedLinkError: /home/shegeley/.openjfx/cache/17.0.2-ea/libprism_es2.so: libX11.so.6: cannot open shared object file: No such file or directory
java.lang.UnsatisfiedLinkError: /home/shegeley/.openjfx/cache/17.0.2-ea/libprism_es2.so: libX11.so.6: cannot open shared object file: No such file or directory 
...
As far as I get it's from in deps.edn of cljfx
:headless {:jvm-opts ["-Dtestfx.robot=glass" "-Dglass.platform=Monocle" "-Dmonocle.platform=Headless" "-Dprism.order=sw"]
                      :extra-deps {org.testfx/openjfx-monocle {:mvn/version "jdk-12.0.1+2"}}}
So I know this problem is not related to the Reveal itself, but maybe you can recommend something?

vlaaad 2023-03-28T17:31:47.153759Z

Hi, is it Linux?

Grigory Shepelev 2023-03-28T17:36:50.887119Z

Yes

Grigory Shepelev 2023-03-28T17:37:11.219179Z

I tried cleaning cache

vlaaad 2023-03-28T17:37:56.650499Z

Might be more older javafx version not keeping up with modern Linux desktop?

vlaaad 2023-03-28T17:39:47.385529Z

Could you try pinning javafx dep versions to something newer like 19.0.2.1?

vlaaad 2023-03-28T17:40:36.978419Z

There is a bunch of deps, see here https://github.com/cljfx/cljfx/blob/master/deps.edn#L2

Grigory Shepelev 2023-03-28T17:41:40.315149Z

I use pretty unique distribution. GuixSD. http://guix.gnu.org/ Maybe that's the case. Pinning := set one in my ~/.config/clojure/deps.edn ?

vlaaad 2023-03-28T17:42:11.305419Z

Yes

vlaaad 2023-03-28T17:42:25.135289Z

Or no..

vlaaad 2023-03-28T17:42:39.674229Z

Set it in a deps file that depends on reveal

vlaaad 2023-03-28T17:43:07.437799Z

E.g. if it's an alias in a project, set it there

vlaaad 2023-03-28T17:43:50.392399Z

Or if it's an alias in ~/.clojure/deps.edn, set it there

Grigory Shepelev 2023-03-28T17:46:18.993519Z

Ok, thanks. Will try