Closed yunake closed 8 years ago
i've just tried renaming the entry function and it produces the same result as renaming the file.
I guess that's because main.c links against gtkmm-2.4. Sorry for breaking the master, I'll fix it soon.
thank you for your swift response, you are awesome!
does this mean gtk2 backend is no longer supported?
lyricbar-gtk3: can't find gtkui plugin
plugin Lyricbar failed to connect to dependencies, deactivated.
It means that master is still pretty much broken :(
I've fixed the Makefile, please check if it works properly.
It almost does :)
I think second GTKMM
should be GTK
, copy-paste error?
Also, on my Arch system gtk+2.4 installs itself as gtk+2.0 for pkg-config, not sure if this is universal? Can't test on a different system right now.
The following diff does it for me:
diff --git a/Makefile b/Makefile
index 4ff842a..ffc6f47 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ gtk3: LYRICBAR=ddb_lyricbar_gtk3.so
gtk3: lyricbar
gtk2: GTKMM=gtkmm-2.4
-gtk2: GTKMM=gtk+-2.4
+gtk2: GTK=gtk+-2.0
gtk2: LYRICBAR=ddb_lyricbar_gtk2.so
gtk2: lyricbar
thank you for all your help with this mate!
First of all, thank you for this excellent plugin, I've been using it for a while now.
I've encountered some crashes when trying to update lyrics on some of my (potentially ill-formed) files, here's a backtrace:
This is on deadbeef master and lyricbar built from master around March I think. I've ignored them for a while but I had some free time today and decided to investigate. First things first I thought, lets update! I updated to the current deadbeef master without problems. After a while I managed to compile the latest lyricbar master using the fix from #1.
Right now though the plugin can't be loaded, with the following message:
Current Makefile generates
ddb_lyricbar.so
, but if I'm reading deadbeef'splugins.c
correctly, it expects the entry symbol to bePLUGINFILENAME_load
:lyricbar
definesddb_lyricbar_gtk2_load()
so I tried renaming the file toddb_lyricbar_gtk2.so
. This allows the plugin to load successfully (well, at least it does not produce any error messages or crashes), but the main GTK thread seems to be stalled and stuffed immediately and no deadbeef window appears:Any hint on how to further debug this would be appreciated :)