hoehermann / purple-signald

Pidgin libpurple bridge to signald.
GNU General Public License v3.0
153 stars 19 forks source link

Windows binary builds are missing #1

Open Neustradamus opened 5 years ago

Neustradamus commented 5 years ago

@hoehermann: Can you add Windows binary files for all versions?

hoehermann commented 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.

EionRobb commented 5 years ago

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)

rasa commented 4 years ago

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/

EionRobb commented 4 years ago

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.

hoehermann commented 4 years ago

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.

hoehermann commented 4 years ago

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. :)

Neustradamus commented 4 years ago

@hoehermann: Thanks, can you look for other softs/libs?

Can you add builds in /releases sections too?

hoehermann commented 4 years ago

@Neustradamus

Signal (Updated in 2024)

WhatsApp