On 03/01/2010 at 3:26 PM, "Bryen M. Yunashko" <suserocks@bryen.com> wrote: I tried to get it to work a few weeks ago and couldn't make a go of it. I planned to re-look at it again in the near future but got distracted. I don't think the plugin actually works though.
found a bug report in bnc about this... (well, at least somebody noticed it does not work). http://bugzilla.novell.com/show_bug.cgi?id=567687 The problem is as simple as the solution: due to linking with -Wl,-as-needed, the linking of json-glib-1.0 is dropped. The missing symbols are not a problem for the library, as it can expect that the main application linking the lib in is taking care of it and then everything would be fine. Just that pidgin also does not link json-glib-1.0... well, some rewrite of the makefile (which for some obscure reason our package provides an own one, instead of using the originally shipped one?) with this patch and the resulting library has json-glib linked... now up to testing if this also work s:) Dominique The patch for reference: Index: pidgin-facebookchat-makefile =================================================================== --- pidgin-facebookchat-makefile (revision 51f2fce3c618f9042b8a1026c00dfb75) +++ pidgin-facebookchat-makefile (working copy) @@ -46,7 +46,7 @@ rm -f *.so *~ libfacebook.so: ${SOURCES} - ${CC} ${PURPLE_CFLAGS} -I. -I/usr/include/json-glib-1.0 -ljson-glib-1.0 -pipe ${SOURCES} -o libfacebook.so + ${CC} ${PURPLE_CFLAGS} -I. -I/usr/include/json-glib-1.0 -pipe ${SOURCES} -ljson-glib-1.0 -o libfacebook.so sourcepackage: *.c *.h Makefile facebook16.png facebook22.png facebook48.png COPYING facebook.nsi tar --bzip2 -cf pidgin-facebookchat-source.tar.bz2 $^ -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org