Open Neustradamus opened 5 years ago
Update: I created the purple-signal project. Check its readme to see the current state.
No, I won't. Sorry.
In case anyone wants to look into this, they are welcome.
I took a stab at this, but signald is hard-wired to use Unix sockets. It should be fairly straight-forward to switch it to use TCP sockets, but that would need a larger rewrite of the plugin than what I have spare time for at the moment
(Also, I added this plugin to the list of Pidgin's third party plugins)
I took a stab at this, but signald is hard-wired to use Unix sockets.
Windows supposedly now has support for Unix sockets. See https://unwcf.com/posts/unix-sockets/ as well as: https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/
That's pretty neat. It'll be a little tricky to write support for that with mingw but not terrible.
Unfortunately that doesn't help on the Java side of the fence. Java needs to add support for unix sockets before the signald jar will work.
I tried to tackle this problem by eliminating the need for sockets completely by embedding the Java implementation in the C library over here: https://github.com/hoehermann/purple-signal It works on Linux, but crashes on Windows. So far, I gained nothing but experience. In case someone is masochistic enough to debug the JVM internals, he or she is welcome to look into it.
Okay, apparently I am the masochist. Turned out, it was a type error in untyped code. Fairly easy to catch if you know what to look for, but it took me an awful amount of time. Now hoehermann/purple-signal@0967a40 exists and https://stackoverflow.com/questions/60688140/ exists, too. There might be hope for Windows-users after all. :)
@hoehermann: Thanks, can you look for other softs/libs?
Can you add builds in /releases sections too?
@Neustradamus
@hoehermann: Can you add Windows binary files for all versions?