HumbleUI/JWM

Release candidate?

jakeisnt opened this issue · 3 comments

I'd like to get tonsky/humble-deck working on X11. This takes -

  • release of JWM
  • bump HumbleUI deps
  • bump humble-deck deps
    and hopefully it'll work.

If there is a way to pin transitive dependencies in humble-deck to local paths let me know! that seems far easier

tonsky commented

Yes, you can use local versions of skija, humbleui and jwm. This is how you would set this up:

{:deps
 {org.clojure/clojure {:mvn/version "1.11.1"}
  io.github.humbleui/types$clojure {:mvn/version "0.2.0"}}
  ; io.github.humbleui/humbleui {:git/sha "5bf5e2a47bf99818c6e7f712c43462d4ecb6254c"}
 :paths ["src"
         "/Users/tonsky/ws/humbleui/src"
         "/Users/tonsky/ws/humbleui/resources"
         "/Users/tonsky/ws/jwm/target/classes"
         "/Users/tonsky/ws/skija/shared/target/classes-java9"
         "/Users/tonsky/ws/skija/shared/target/classes"
         "/Users/tonsky/ws/skija/platform/target/windows-x64/classes"
         "/Users/tonsky/ws/skija/platform/target/windows-x64/native"
         "/Users/tonsky/ws/skija/platform/target/linux-x64/classes"
         "/Users/tonsky/ws/skija/platform/target/linux-x64/native"
         "/Users/tonsky/ws/skija/platform/target/macos-x64/classes"
         "/Users/tonsky/ws/skija/platform/target/macos-x64/native"
         "/Users/tonsky/ws/skija/platform/target/macos-arm64/classes"
         "/Users/tonsky/ws/skija/platform/target/macos-arm64/native"]
 :aliases
 {:dev {:extra-paths ["dev"]
        :extra-deps {nrepl/nrepl {:mvn/version "1.0.0"}
                     org.clojure/tools.namespace {:mvn/version "1.3.0"}}
        :jvm-opts ["-ea"]}}}

This is a bit hacky, so you’ll have to build skija/jwm in advance, because it links directly to their output directories. But it works

tonsky commented

I bumped all the deps all the way up to humble-deck, check if it works for you

Works perfectly, thanks : )