Giter Site home page Giter Site logo

campfire-libpurple's Introduction

A campfire plugin for Pidgin, Adium and other libpurple based messengers.

Building

$ sudo apt-get install build-essential make libpurple-dev git-core
$ git clone git://github.com/jrfoell/campfire-libpurple.git
$ cd campfire-libpurple
$ sudo make
$ sudo make install

And now, restart Pidgin.

Configuration

Now that it installed, here’s how to configure it for your account:

  • Open “Manage Accounts”.
  • Click “New…”
  • Select the “Campfire” protocol.
  • Enter your username and the hostname of your campfire server.
  • Get an API key from the “my info” link on your campfire server’s web interface. (In short: use a web browser to get this info.)
  • Enter the API key in the “Advanced” tab.
  • Save the account.

Theoretically, you should now be able to chat on Campfire using Pidgin. Here’s how to join a room:

  • In the Pidgin Buddy List, select menu item Buddies > “Join a chat…”
  • Select the “Campfire” protocol from the dropdown list.
  • Click “Room List” to get a list of rooms available on your Campfire server.
  • Select the room you wish to join, then click “Join Room”. A new chat window should open up to that room.
  • You may have to close the “Join a chat” dialog box.

Contributors

  • guitarmanvt - this help
  • jrfoell
  • jfoell
  • mtseinart

campfire-libpurple's People

Contributors

jfoell avatar jrfoell avatar logic avatar msteinert avatar webframp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

campfire-libpurple's Issues

Pidgin crashes when entering a Campfire room not via "room list"

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:

  • Buddies ==> join a chat ==> (enter room name) ==> Enter
  • Add the chat to the roaster (manually or through room list), then double-click it

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".

Tags get lost through the plugin

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.

Too frequent room user list polling

(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.

make failing - error: too many arguments to function ‘campfire_message_free’

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.

Segfault on Ubuntu 11.10 32bit

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.

campfire_userlist_callback error

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.

Campfire backlog is looping

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.

Campfire is not appearing as a Protocol option after successful make && sudo make install on OS X

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

OSX Installation error

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?

line breaks shown as <br> on website

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>]

What is this?

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!

Pidgin's mechanism which prevents the same room being entered twice fails

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.

Cross-compilation

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.

Installation

Does this plugin work? If so how does one install it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.