EionRobb / purple-discord

A libpurple/Pidgin plugin for Discord
GNU General Public License v3.0
381 stars 43 forks source link

Pidgin 2.6.6 does not recongnize Discord Plugin #409

Open LeoKids opened 2 years ago

LeoKids commented 2 years ago

Pidgin 2.6.6 does not recongnize Discord Plugin,I expected it to be recongnized but for some reason,it doesnt. VirtualBox_Windows NT 4 0_13_05_2022_13_54_26

EionRobb commented 2 years ago

Wow that's an old version of Pidgin! 😄

I'm probably using functions that are only available in newer versions of libpurple than 2.6, which would prevent the plugin from loading.

Any chance of installing a newer version of pidgin but keeping the older GTK?

LeoKids commented 2 years ago

Probably not,As the VM is running NT 4.0 which Pidgin only supports it up to 2.6.6

But however,i think i might find a nightly version that supports older GTK

EionRobb commented 2 years ago

So just for fun, I decided to compile the plugin against Pidgin 2.6.6 to see if it'd work.... and there's only 1 function that didn't exist in 2.6 that I'm using, purple_notify_user_info_add_pair_plaintext() :D

This might actually be a possibility

EionRobb commented 2 years ago

Can you try with the attached dll? libdiscord.zip

EionRobb commented 2 years ago

Oh, it might also be that libjson-glib, which this plugin uses, requires a reasonably new version of glib. What version of glib comes with Pidgin 2.6.6?

EionRobb commented 2 years ago

Pidgin 2.6.6 Release Date: 2010-02-18 :D

LeoKids commented 2 years ago

Even with the fixes you did,It still does not recongnize it.

Also the GLIB Pidgin 2.6.6 comes with is 2.0.0

EionRobb commented 2 years ago

Ok. Might be libjson-glib minimum version

Just to check, can you try open the debug log (from the buddy list, Help->Debug Window) then keep that window open and open the plugins list (Tools->Plugins) then copy-paste the output of the debug log here?

LeoKids commented 2 years ago

(16:17:25) plugins: probing C:\Program Files\Pidgin\plugins\libdiscord.dll (16:17:25) plugins: C:\Program Files\Pidgin\plugins\libdiscord.dll is not loadable: The specified procedure could not be found.

LeoKids commented 2 years ago

Is there something to fix it? Libjson-glib should have a last version working in nt 4.0