jrfoell / campfire-libpurple Goto Github PK
View Code? Open in Web Editor NEWA Campfire protocol plugin for libpurple (Pidgin)
A Campfire protocol plugin for libpurple (Pidgin)
Ever cross-compiled this plugin? I'd like to take a stab at cross-compiling for Windows. I got it to compile on Ubuntu already.
This would make it a lot easier to use this plugin.
This adapter works great for a bit but seems to crash pidgin within 30 minutes or so. Can you advise how to debug this further?
I ran pidgin using gdb and was able to get a trace:
Program received signal SIGPIPE, Broken pipe.
0x00007ffff4e5a7e7 in send () from /lib/libpthread.so.0
(gdb) bt
#0 0x00007ffff4e5a7e7 in send () from /lib/libpthread.so.0
#1 0x00007fffe8f1c3cb in ?? () from /lib/libnspr4.so
#2 0x00007fffe9ce674b in ssl_DefSend () from /lib/libssl3.so
#3 0x00007fffe9cd8210 in ssl3_SendRecord () from /lib/libssl3.so
#4 0x00007fffe9cd8529 in ssl3_SendApplicationData () from /lib/libssl3.so
#5 0x00007fffe9ceb981 in ssl_SecureSend () from /lib/libssl3.so
#6 0x00007fffe9cef977 in ssl_Write () from /lib/libssl3.so
#7 0x00007fffe9f0ca75 in ?? () from /usr/lib/purple-2/ssl-nss.so
#8 0x00007fffe69f25d9 in ?? () from /usr/lib/purple-2/libjabber.so.0
#9 0x00007fffe69f2a2c in jabber_send_raw () from /usr/lib/purple-2/libjabber.so.0
#10 0x00007fffe69f338f in jabber_close () from /usr/lib/purple-2/libjabber.so.0
#11 0x00007ffff50c1f86 in _purple_connection_destroy () from /lib/libpurple.so.0
#12 0x00007ffff50ada8e in purple_account_disconnect () from /lib/libpurple.so.0
#13 0x00007ffff50c1225 in ?? () from /lib/libpurple.so.0
#14 0x00007ffff53e300b in ?? () from /lib/libglib-2.0.so.0
#15 0x00007ffff53e2475 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#16 0x00007ffff53e27a8 in ?? () from /lib/libglib-2.0.so.0
#17 0x00007ffff53e2ba2 in g_main_loop_run () from /lib/libglib-2.0.so.0
#18 0x00007ffff6649477 in gtk_main () from /lib/libgtk-x11-2.0.so.0
#19 0x00000000004319e1 in main ()
Interesting that I don't see the campfire lib in the history - I should note that I'm also connected to XMPP. Could the two be conflicting in some way?
Let me know if I can help further.
I'm having issues building on both 32bit Ubuntu 12.04 & 64bit Mint Linux 14. Here's the output from sudo make command:
CC campfire.o
CC message.o
message.c: In function ‘campfire_message_handler’:
message.c:512:3: error: too many arguments to function ‘campfire_message_free’
In file included from message.h:5:0,
from message.c:4:
http.h:66:6: note: declared here
make: *** [message.o] Error 1
I'm not too sure if I'm missing anything.
Very helpful project!
I managed to build and install campfire-libpurple. It shows up in pidgin, and it looks like i configured it correctly because i can retrieve a correct room list from Campfire. But when i press "Join (the room)", pidgin segfaults.
Would be great if i could use pidgin with campfire and would not have to use its web interface.
Hello, I'm trying to install this plugin for use with Adium on Mountain Lion. I've cloned the latest and run "make" But I'm getting the following error message:
Package purple was not found in the pkg-config search path.
Perhaps you should add the directory containing `purple.pc'
to the PKG_CONFIG_PATH environment variable
No package 'purple' found
CC campfire.o
In file included from campfire.c:3:
campfire.h:5:24: error: glib/gi18n.h: No such file or directory
There are a number of additional errors printed, but they are likely due to the top error. Is there a dependency I need to install on OSX?
I've gotten the plugin installed and I believe I've got it set up properly. However, whenever I join a channel pidgin crashes.
Currently, the only way i can enter my Campfire room (there is only one i have access to) without killing pidgin is: get the "room list", select the room and press "Join". Both other ways crash pidgin 100% repeatably:
First i thought it might have to do with the room name containing a space character, but pidgin also crashes if i enter a non-existing room like "foobar".
Is this a campfire plugin for libpurple/Pidgin? Is so, can you provide any details about getting it running in Pidgin? I may give it a shot and help if I can. My team uses campfire and I'm on Ubuntu.
Thanks!
Does this plugin work? If so how does one install it.
As indicated in the Title, after a successful make
and sudo make install
"campfire" is not appearing as a protocol option in Pidgin.
Thoughts?
BTW - In order for sudo make install
to work, I had to update the Makefile in the following way:
From:
install -D $(LIBNAME) $(PLUGIN_DIR_PURPLE)/$(LIBNAME)
install --mode=0644 campfire16.png $(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/16/campfire.png
install --mode=0644 campfire22.png $(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/22/campfire.png
install --mode=0644 campfire48.png $(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/48/campfire.png
To:
install $(LIBNAME) $(PLUGIN_DIR_PURPLE)/$(LIBNAME)
install -m 644 campfire16.png $(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/16/campfire.png
install -m 644 campfire22.png $(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/22/campfire.png
install -m 644 campfire48.png $(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/48/campfire.png
If someone has some text between tags (such as "<example>.txt"), pidgin will just display ".txt". The web client, however, will show the full string.
line breaks are not shown correctly on the campfire website
if i enter the following text in pidgin
please don't mind me
this is just a test for a bug report on the campfire pidgin plugin
sorry.
it comes out on the campfire website as
please don't mind me
<br>
this is just a test for a bug report on the campfire pidgin plugin<br>
sorry.
whereas if I do it on the website, campfire does this insert-paste-fancy-thingy...
[Edited some times because github swallows the <br>
]
(Thank you SO MUCH for your work first of all. Your plugin is the best campfire client for Linux!)
According to the debug log, campfire-libpurple polls the list of room users about every 3 seconds. Is this an intended behavior? Does Campfire provide push notification on user changes? Then it could poll much less oftern.
Double quotes end up in Campfire as " "".
If i set "Retrieve # msg on join" to 100, the backlog is retirieved and displayed in a endless loop. When set to zero, the chat works fine (without any backlog of course). I haven't yet played with other values.
Usually i cannot enter a room twice in pidgin. When i try, only the tab where the room is already entered opens.
With Campfire, a room can be opened as often as you try to enter it (e.g. accidentally double-clicking "join"). And if you close one of the duplicate tabs, the others tabs for that room become inactive.
I've been trying to build on the mac, but I'm stuck at libpurple. I'm on Mavericks. Anyone out there succeed with this yet?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.