pidgin/purple-plugin-pack
Clone
This should fix compiling on Win32 and other systems without GCC 4.x.
This also will turn off a feature I forgot I started but never finished
in the sepandtab plugin.
--- a/hideconv/hideconv.c Mon Jul 30 04:23:03 2007 -0400
+++ b/hideconv/hideconv.c Mon Jul 30 05:02:05 2007 -0400
@@ -35,13 +35,13 @@
+/* Pack/Local headers */ +#include "../common/pp_internal.h" -/* Pack/Local headers */
-#include "../common/pp_internal.h"
--- a/highlight/highlight.c Mon Jul 30 04:23:03 2007 -0400
+++ b/highlight/highlight.c Mon Jul 30 05:02:05 2007 -0400
@@ -24,6 +24,9 @@
+/* Pack/Local headers */ +#include "../common/pp_internal.h" @@ -37,9 +40,6 @@
-/* Pack/Local headers */
-#include "../common/pp_internal.h"
#define PREF_PREFIX "/plugins/core/highlight"
#define PREF_WORDS PREF_PREFIX "/words"
--- a/ignore/ignore.c Mon Jul 30 04:23:03 2007 -0400
+++ b/ignore/ignore.c Mon Jul 30 05:02:05 2007 -0400
@@ -24,6 +24,9 @@
+/* Pack/Local headers */ +#include "../common/pp_internal.h" @@ -34,9 +37,6 @@
-/* Pack/Local headers */
-#include "../common/pp_internal.h"
#define PREF_ROOT "/plugins/ignore"
--- a/irc-more/irc-more.c Mon Jul 30 04:23:03 2007 -0400
+++ b/irc-more/irc-more.c Mon Jul 30 05:02:05 2007 -0400
@@ -24,6 +24,9 @@
+/* Pack/Local headers */ +#include "../common/pp_internal.h" @@ -32,9 +35,6 @@
-/* Pack/Local headers */
-#include "../common/pp_internal.h"
#define CTCP_REPLY purple_account_get_string(account, "ctcp-message", "Purple IRC")
#define PART_MESSAGE purple_account_get_string(account, "part-message", "Leaving.")
#define QUIT_MESSAGE purple_account_get_string(account, "quit-message", "Leaving.")
--- a/irchelper/irchelper.c Mon Jul 30 04:23:03 2007 -0400
+++ b/irchelper/irchelper.c Mon Jul 30 05:02:05 2007 -0400
@@ -31,6 +31,8 @@
+#include "../common/pp_internal.h" @@ -44,8 +46,6 @@
-#include "../common/pp_internal.h"
#define PLUGIN_STATIC_NAME "irchelper"
#define PLUGIN_ID "core-rlaager-" PLUGIN_STATIC_NAME
--- a/irssi/irssi.c Mon Jul 30 04:23:03 2007 -0400
+++ b/irssi/irssi.c Mon Jul 30 05:02:05 2007 -0400
@@ -46,6 +46,9 @@
+/* Pack/Local headers */ +#include "../common/pp_internal.h" @@ -58,9 +61,6 @@
-/* Pack/Local headers */
-#include "../common/pp_internal.h"
irssi_load(PurplePlugin *plugin) {
irssi_datechange_init(plugin);
--- a/lastseen/lastseen.c Mon Jul 30 04:23:03 2007 -0400
+++ b/lastseen/lastseen.c Mon Jul 30 05:02:05 2007 -0400
@@ -22,6 +22,8 @@
+#include "../common/pp_internal.h" @@ -32,8 +34,6 @@
-#include "../common/pp_internal.h"
/* global list of accounts connecting, to avoid inaccurate signon times
* idea stolen from guifications :) - thanks Gary.
--- a/listhandler/listhandler.h Mon Jul 30 04:23:03 2007 -0400
+++ b/listhandler/listhandler.h Mon Jul 30 05:02:05 2007 -0400
@@ -31,6 +31,8 @@
/* this has to be defined for the plugin to work properly */
+#include "../common/pp_internal.h" @@ -40,8 +42,6 @@
-#include "../common/pp_internal.h"
/* we send this to the request API so it is probably a good idea to make sure
--- a/mystatusbox/mystatusbox.c Mon Jul 30 04:23:03 2007 -0400
+++ b/mystatusbox/mystatusbox.c Mon Jul 30 05:02:05 2007 -0400
@@ -39,6 +39,9 @@
+/* Pack/Local headers */ +#include "../common/pp_internal.h" @@ -51,9 +54,6 @@
#include <gtkstatusbox.h>
-/* Pack/Local headers */
-#include "../common/pp_internal.h"
/* XXX: THIS NEEDS CHANGED WHEN PIDGIN DOES ITS PREFS MIGRATION!!!!! */
#define PREF_PREFIX "/plugins/gtk/" PLUGIN_ID
#define PREF_PANE PREF_PREFIX "/pane"
--- a/napster/napster.c Mon Jul 30 04:23:03 2007 -0400
+++ b/napster/napster.c Mon Jul 30 05:02:05 2007 -0400
@@ -27,6 +27,8 @@
+#include "../common/pp_internal.h" @@ -43,8 +45,6 @@
-#include "../common/pp_internal.h"
#define NAP_SERVER "64.124.41.187"
--- a/nicksaid/nicksaid.c Mon Jul 30 04:23:03 2007 -0400
+++ b/nicksaid/nicksaid.c Mon Jul 30 05:02:05 2007 -0400
@@ -44,6 +44,9 @@
+/* Pack/Local headers */ +#include "../common/pp_internal.h" @@ -57,9 +60,6 @@
-/* Pack/Local headers */
-#include "../common/pp_internal.h"
#define DELIMS " .,;|<>?/\\`~!@#$%^&*()_-+={}[]:'\""
static GList *hlwords = NULL; /* Words to highlight on */
--- a/oldlogger/oldlogger.c Mon Jul 30 04:23:03 2007 -0400
+++ b/oldlogger/oldlogger.c Mon Jul 30 05:02:05 2007 -0400
@@ -29,6 +29,8 @@
+#include "../common/pp_internal.h" @@ -38,8 +40,6 @@
-#include "../common/pp_internal.h"
/* We want to use the gstdio functions when possible so that non-ASCII
--- a/schedule/pidgin-schedule.c Mon Jul 30 04:23:03 2007 -0400
+++ b/schedule/pidgin-schedule.c Mon Jul 30 05:02:05 2007 -0400
@@ -23,6 +23,8 @@
+#include "../common/pp_internal.h" #define PLUGIN_ID "gtk-schedule"
#define PLUGIN_NAME "Purple Schedule"
#define PLUGIN_STATIC_NAME "Purple Schedule"
--- a/sepandtab/sepandtab.c Mon Jul 30 04:23:03 2007 -0400
+++ b/sepandtab/sepandtab.c Mon Jul 30 05:02:05 2007 -0400
@@ -26,6 +26,8 @@
+#include "../common/pp_internal.h" #include <conversation.h>
@@ -34,8 +36,6 @@
-#include "../common/pp_internal.h"
#define SEPANDTAB_PREF "/pidgin/conversations/placement"
@@ -83,9 +83,11 @@
conv_placement_grp_type_sep_prpl(PidginConversation *conv) {
plugin_load(PurplePlugin *plugin) {
@@ -93,8 +95,10 @@
&conv_placement_sep_ims_tab_chats);
pidgin_conv_placement_add_fnc("sep-chats-tab-ims", _("Separate Chats, group IMs"),
&conv_placement_sep_chats_tab_ims);
pidgin_conv_placement_add_fnc("grp-type-sep-prpl", _("Group by Type, Separate by Protocol"),
&conv_placement_grp_type_sep_prpl);
purple_prefs_trigger_callback(SEPANDTAB_PREF);
--- a/showoffline/showoffline.c Mon Jul 30 04:23:03 2007 -0400
+++ b/showoffline/showoffline.c Mon Jul 30 05:02:05 2007 -0400
@@ -22,6 +22,8 @@
+#include "../common/pp_internal.h" @@ -29,8 +31,6 @@
-#include "../common/pp_internal.h"
showoffline_cb(PurpleBlistNode *node, gpointer data)
--- a/simfix/simfix.c Mon Jul 30 04:23:03 2007 -0400
+++ b/simfix/simfix.c Mon Jul 30 05:02:05 2007 -0400
@@ -23,6 +23,8 @@
+#include "../common/pp_internal.h" @@ -30,8 +32,6 @@
-#include "../common/pp_internal.h"
receiving_im_msg_cb(PurpleAccount *account, char **sender, char **message,
PurpleConversation *conv, int *flags, void *data)
--- a/sslinfo/sslinfo.c Mon Jul 30 04:23:03 2007 -0400
+++ b/sslinfo/sslinfo.c Mon Jul 30 05:02:05 2007 -0400
@@ -22,6 +22,8 @@
+#include "../common/pp_internal.h" @@ -29,8 +31,6 @@
-#include "../common/pp_internal.h"
static PurplePlugin *my_plugin = NULL;
--- a/stocker/stocker.c Mon Jul 30 04:23:03 2007 -0400
+++ b/stocker/stocker.c Mon Jul 30 05:02:05 2007 -0400
@@ -26,6 +26,8 @@
+#include "../common/pp_internal.h" @@ -33,8 +35,6 @@
-#include "../common/pp_internal.h"
#include "stocker_prefs.h"
--- a/switchspell/switchspell.c Mon Jul 30 04:23:03 2007 -0400
+++ b/switchspell/switchspell.c Mon Jul 30 05:02:05 2007 -0400
@@ -34,6 +34,9 @@
+/* Pack/Local headers */ +#include "../common/pp_internal.h" @@ -44,9 +47,6 @@
-/* Pack/Local headers */
-#include "../common/pp_internal.h"
#include <gtkspell/gtkspell.h>
--- a/talkfilters/talkfilters.c Mon Jul 30 04:23:03 2007 -0400
+++ b/talkfilters/talkfilters.c Mon Jul 30 05:02:05 2007 -0400
@@ -34,6 +34,8 @@
+#include "../common/pp_internal.h" @@ -42,8 +44,6 @@
-#include "../common/pp_internal.h"
#define PREF_PREFIX "/plugins/gtk/bleeter/talkfilters"
--- a/xchat-chats/xchat-chats.c Mon Jul 30 04:23:03 2007 -0400
+++ b/xchat-chats/xchat-chats.c Mon Jul 30 05:02:05 2007 -0400
@@ -40,8 +40,10 @@
+/* Pack/Local headers */ +#include "../common/pp_internal.h"
#include <conversation.h>
@@ -50,9 +52,6 @@
-/* Pack/Local headers */
-#include "../common/pp_internal.h"
static PurpleConversationUiOps *uiops = NULL;
--- a/xmmsremote/xmmsremote.c Mon Jul 30 04:23:03 2007 -0400
+++ b/xmmsremote/xmmsremote.c Mon Jul 30 05:02:05 2007 -0400
@@ -30,6 +30,8 @@
+#include "../common/pp_internal.h" #include <conversation.h>