!hcvUyfSfCDBPgmwrvc:matrix.org

Scala Native

1993 Members
https://www.scala-native.org8 Servers

Load older messages


SenderMessageTime
26 Mar 2024
@_discord_1210601396441718838:t2bot.iogedeontabela joined the room.16:09:15
@_discord_642856193827536896:t2bot.iovalencik changed their display name from valencik#0 to valencik.16:54:49
@_discord_965898650431676468:t2bot.ioeyrie2109 joined the room.20:24:33
@_discord_965898650431676468:t2bot.ioeyrie2109Redacted or Malformed Event20:24:50
@_discord_492653385548562433:t2bot.ioleandrosaadcruz joined the room.23:27:06
27 Mar 2024
@_discord_332318443124686848:t2bot.iokapunga changed their profile picture.00:19:48
@_discord_771295076725948416:t2bot.iomajkp joined the room.10:34:24
@_discord_154558903290560512:t2bot.iojd557 https://discord.com/channels/632150470000902164/633083931671134219/1222473663841042493 11:34:35
@_discord_154558903290560512:t2bot.iojd557 I went straight up to GitHub to check if 0.5.0 was out 😅 11:35:02
@_discord_734849617820254331:t2bot.iovelvetbaldmime same 😄 11:37:53
@_discord_734849617820254331:t2bot.iovelvetbaldmime I guess from Wojciech's comments at Scalar we're not far off from final anyways 12:02:56
@_discord_154558903290560512:t2bot.iojd557image.png
Download image.png
13:25:27
@_discord_154558903290560512:t2bot.iojd557 NGL, I was kind of hoping I could take it for a spin for the next LDJam... it's looking tight 😅 13:25:27
@_discord_690242411146117177:t2bot.iosjrd 13:47:11
@_discord_722398668577308722:t2bot.iokorinskyRedacted or Malformed Event15:34:48
@_discord_722398668577308722:t2bot.iokorinsky 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
@_discord_845013677816021083:t2bot.ioarmanbilge I'm not sure if Scala 3.1.1 is still supported 17:17:08
28 Mar 2024
@_discord_631855417747832833:t2bot.iosideeffffect 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
@_discord_734849617820254331:t2bot.iovelvetbaldmime 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
@_discord_734849617820254331:t2bot.iovelvetbaldmime adwaita seems quite cool, would be good to figure out bindings for it 11:10:30
@_discord_631855417747832833:t2bot.iosideeffffect 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
@_discord_734849617820254331:t2bot.iovelvetbaldmime 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
@_discord_631855417747832833:t2bot.iosideeffffect 🎉 that did the trick! Thanks again velvetbaldmime 🙏 11:37:53
@_discord_505811774344265758:t2bot.ioentangled90 joined the room.13:11:13
@_discord_1222915369954447531:t2bot.ioleon.clarisights joined the room.14:32:22
@_discord_631855417747832833:t2bot.iosideeffffect velvetbaldmime can merge now 🎉 17:36:41
@_discord_734849617820254331:t2bot.iovelvetbaldmime 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
@_discord_734849617820254331:t2bot.iovelvetbaldmime 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
@_discord_766348036560912444:t2bot.ioMike changed their profile picture.20:31:29
@_discord_722398668577308722:t2bot.iokorinsky FYI: https://github.com/scala/scala-xml/issues/713#issuecomment-2025666219 22:49:15

There are no newer messages yet.


Back to Room ListRoom Version: 6