| 1 | |
|---|
| 2 | This is a.k.a. plugin (Nick Tracker) |
|---|
| 3 | |
|---|
| 4 | To get this plugin to work we need to do some things: |
|---|
| 5 | |
|---|
| 6 | Prerequisites: |
|---|
| 7 | |
|---|
| 8 | 1. sqlite3-3.5.9 |
|---|
| 9 | 2. Pidgin 2.4.2 source code |
|---|
| 10 | 3. Add two signals to pidgin's conversation.c source code and rebuild and re-install pidgin. |
|---|
| 11 | 4. Purple Plugin Pack |
|---|
| 12 | |
|---|
| 13 | Installation: |
|---|
| 14 | |
|---|
| 15 | 1. Make sure you have installed sqlite3-3.5.9 on your system. |
|---|
| 16 | |
|---|
| 17 | 2. Download and extract the Pidgin 2.4.2 source code |
|---|
| 18 | |
|---|
| 19 | 3. Add two signals to pidgin's conversation.c source code and rebuild and re-install pidgin. |
|---|
| 20 | Edit pidgin-2.4.2/libpurple/conversation.c and add/replace the next lines: |
|---|
| 21 | |
|---|
| 22 | Goto line 1643 and replace: |
|---|
| 23 | tmp = g_strdup_printf(_("%s [<I>%s</I>] entered the room."), |
|---|
| 24 | escaped, escaped2); |
|---|
| 25 | |
|---|
| 26 | with this: |
|---|
| 27 | char *extrainfo=""; |
|---|
| 28 | purple_signal_emit(purple_conversations_get_handle(), |
|---|
| 29 | "chat-buddy-entered-room", conv, user, (const char *)escaped2, &extrainfo); |
|---|
| 30 | tmp = g_strdup_printf(_("%s [<I>%s</I>] entered the room. %s"), |
|---|
| 31 | escaped, escaped2, extrainfo); |
|---|
| 32 | |
|---|
| 33 | Goto line 1779 and add this lines just before the gfree(escaped): |
|---|
| 34 | purple_signal_emit(purple_conversations_get_handle(), |
|---|
| 35 | "chat-buddy-now-known-as", conv, (const char *)escaped, (const char *)escaped2); |
|---|
| 36 | |
|---|
| 37 | Goto line 2171 and add the next lines just after the * Register signals comment: |
|---|
| 38 | |
|---|
| 39 | purple_signal_register(handle, "chat-buddy-now-known-as", |
|---|
| 40 | purple_marshal_VOID__POINTER_POINTER_POINTER, NULL, 3, |
|---|
| 41 | purple_value_new(PURPLE_TYPE_SUBTYPE, |
|---|
| 42 | PURPLE_SUBTYPE_CONVERSATION), |
|---|
| 43 | purple_value_new(PURPLE_TYPE_STRING), |
|---|
| 44 | purple_value_new(PURPLE_TYPE_STRING)); |
|---|
| 45 | |
|---|
| 46 | purple_signal_register(handle, "chat-buddy-entered-room", |
|---|
| 47 | purple_marshal_VOID__POINTER_POINTER_POINTER_POINTER, NULL, 4, |
|---|
| 48 | purple_value_new(PURPLE_TYPE_SUBTYPE, |
|---|
| 49 | PURPLE_SUBTYPE_CONVERSATION), |
|---|
| 50 | purple_value_new(PURPLE_TYPE_STRING), |
|---|
| 51 | purple_value_new(PURPLE_TYPE_STRING), |
|---|
| 52 | purple_value_new_outgoing(PURPLE_TYPE_STRING)); |
|---|
| 53 | |
|---|
| 54 | Rebuild pidgin and re-install it. |
|---|
| 55 | |
|---|
| 56 | |
|---|
| 57 | |
|---|
| 58 | 4. Purple Plugin Pack |
|---|
| 59 | Uncompress the aka.tar.gz and copy the folder inside purple-plugin_pack-2.3.0 folder. |
|---|
| 60 | Edit and modify the purple pack configuration files as you may know and then |
|---|
| 61 | |
|---|
| 62 | ./configure --enable-debug |
|---|
| 63 | |
|---|
| 64 | make |
|---|
| 65 | make install |
|---|
| 66 | |
|---|