Maulieo / flist-pidgin

Automatically exported from code.google.com/p/flist-pidgin
0 stars 0 forks source link

Crash when used with non-Pidgin libpurple program #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Place the plugin in the plugin directory for a chat program that uses 
libpurple, but isn't Pidgin.
2. Attempt to launch the program

What is the expected output? What do you see instead?
Expected output: Ability to chat with Flist users, at least at a reduced level 
of functionality

Result: Immediate crash

What version of the product are you using? On what operating system?
0.2.8.0 on Ubuntu Linux, tested with Finch (version of Pidgin implemented in 
ncurses), bitlbee-libpurple, and centerim5

Please provide any additional information below.
From the error messages it appears the problem is the use of GTK widgets. If 
you could make a version without UI modifications, that might work with no 
further changes.

Original issue reported on code.google.com by anon...@gmail.com on 16 Jun 2013 at 4:19

GoogleCodeExporter commented 8 years ago
Here is how I modified my Makefile to compile a version of the plugin that 
works (surprisingly well) with minbif, a GUI-less IRC-to-libpurple gateway 
smilar to bitlbee. It may or may not solve your problem !

diff -r 70e71ba786a9 -r fd4dffebbc44 Makefile
--- a/Makefile  Tue Mar 26 19:25:42 2013 +0100
+++ b/Makefile  Tue May 28 10:03:10 2013 +0200
@@ -1,7 +1,7 @@
 #Customisable stuff here
 LINUX_COMPILER = gcc

-PIDGIN_CFLAGS = `pkg-config pidgin --cflags --libs`
+PIDGIN_CFLAGS = `pkg-config purple --cflags --libs`
 LIBPURPLE_CFLAGS = -DPURPLE_PLUGINS -DENABLE_NLS -DHAVE_ZLIB
 GLIB_CFLAGS = `pkg-config glib-2.0 json-glib-1.0 --cflags --libs`

@@ -22,7 +22,6 @@
         f-list_icon.c \
         f-list_kinks.c \
         f-list_profile.c \
-        f-list_pidgin.c \
         f-list_status.c

 #Standard stuff here
diff -r 70e71ba786a9 -r fd4dffebbc44 f-list.c
--- a/f-list.c  Tue Mar 26 19:25:42 2013 +0100
+++ b/f-list.c  Tue May 28 10:03:10 2013 +0200
@@ -762,7 +762,6 @@
     flist_callback_init();
     flist_init_commands();
     flist_bbcode_init();
-    flist_pidgin_init();
     flist_web_requests_init();
     flist_ticket_init();
 }

Original comment by v...@jackal.fr on 2 Jul 2013 at 8:16

GoogleCodeExporter commented 8 years ago
Slightly better version of the makefile, you can now choose between regular 
(pidgin) and purple-only builds :

make FLIST_PURPLE_ONLY=1

Original comment by v...@jackal.fr on 9 Jan 2014 at 10:53

Attachments:

GoogleCodeExporter commented 8 years ago
I've updated the makefile for the next version with these changes. Thanks!

Original comment by TestPant...@gmail.com on 10 Jan 2014 at 8:15