26 Mar 2024 |
| gedeontabela joined the room. | 16:09:15 |
| valencik changed their display name from valencik#0 to valencik. | 16:54:49 |
| eyrie2109 joined the room. | 20:24:33 |
eyrie2109 | Redacted or Malformed Event | 20:24:50 |
| leandrosaadcruz joined the room. | 23:27:06 |
27 Mar 2024 |
| kapunga changed their profile picture. | 00:19:48 |
| majkp joined the room. | 10:34:24 |
jd557 | https://discord.com/channels/632150470000902164/633083931671134219/1222473663841042493 | 11:34:35 |
jd557 | I went straight up to GitHub to check if 0.5.0 was out 😅 | 11:35:02 |
velvetbaldmime | same 😄 | 11:37:53 |
velvetbaldmime | I guess from Wojciech's comments at Scalar we're not far off from final anyways | 12:02:56 |
jd557 | Download image.png | 13:25:27 |
jd557 | NGL, I was kind of hoping I could take it for a spin for the next LDJam... it's looking tight 😅 | 13:25:27 |
| sjrd | 13:47:11 |
korinsky | Redacted or Malformed Event | 15:34:48 |
korinsky | Folks, how can I install local artifacts for scala3? I've tried sbt 'publish-local-dev 3.1.1' but it doesn't produces anything for desired version | 16:00:02 |
armanbilge | I'm not sure if Scala 3.1.1 is still supported | 17:17:08 |
28 Mar 2024 |
sideeffffect | Hello, any tip what I'm doing wrong here? https://github.com/indoorvivants/scala-native-gtk-bindings/pull/11 I added adwaita, ran
bindgenGenerateScalaSources
bindgenGenerateCSources
and get many errors when running Test/compile like
no eligible member ADW_ACTION_ROW at _root_.adwaita.functions
/cc velvetbaldmime | 11:05:07 |
velvetbaldmime | from looking at generated enums, you have generated bindings for everything that library depends on transitively - pango, harfbuz, gsk, gdk, etc.: https://github.com/indoorvivants/scala-native-gtk-bindings/pull/11/files#diff-70f7a087c06607f0936f4285b4a53283e6ece0e294689bbe34052305d4478bf9R198-R245
The hack in the build (buildWithDependencies ) doesn't handle transitive dependencies - so you might need to first copy these lines: https://github.com/indoorvivants/scala-native-gtk-bindings/blob/main/build.sbt#L101-L106
Problem is, when Dotty is hit with this much code, it seems to get confused and hides all the meaningful errors. | 11:09:36 |
velvetbaldmime | adwaita seems quite cool, would be good to figure out bindings for it | 11:10:30 |
sideeffffect | Thanks! Now I'm getting errors like these:
[error] -- [E008] Not Found Error: /home/ondra/Projects/scala-native-gtk-bindings/adwaita/src/main/scala/generated/adwaita/structs.scala:4248:41
[error] 4248 |opaque type _AdwWindow = CStruct1[_root_.gtk4.all.GtkWindow]
[error] | ^^^^^^^^^^^
[error] | value gtk4 is not a member of <root> - did you mean _root_.gtk? | 11:24:04 |
velvetbaldmime | I think you need to use gtk , not gtk4 in https://github.com/indoorvivants/scala-native-gtk-bindings/pull/11/files#diff-5634c415cd8c8504fdb973a3ed092300b43c4b8fc1e184f7249eb29a55511f91R391
As I don't plan to publish Gtk3 bindings, the package doesn't include version number: https://github.com/indoorvivants/scala-native-gtk-bindings/blob/main/gtk4/src/main/scala/generated/gtk/aliases.scala#L1 but the build uses gtk4 to make sure various installation commands and header paths work | 11:26:23 |
sideeffffect | 🎉 that did the trick! Thanks again velvetbaldmime 🙏 | 11:37:53 |
| entangled90 joined the room. | 13:11:13 |
| leon.clarisights joined the room. | 14:32:22 |
sideeffffect | velvetbaldmime can merge now 🎉 | 17:36:41 |
velvetbaldmime | done 🙂 Thanks!
I've not taken a look at how that library allows for a declarative UI definition, so if you ever come up with an example - let me know | 18:41:07 |
velvetbaldmime | I've been slowly making progress with the fluent Gtk bindings with the limited time I have, and I really hope to be done with the last real blocker (array inputs) and tag a 0.1.0 to indicate the new structure going forward
Also I need to write a blog post about code generators because at this point I've made 4 of them and I must've learned something | 18:46:40 |
| Mike changed their profile picture. | 20:31:29 |
korinsky | FYI: https://github.com/scala/scala-xml/issues/713#issuecomment-2025666219 | 22:49:15 |