pidgin/purple-plugin-pack
Version bump and dropping autorejoin since it was successfully merged into
the irc-more plugin.
--- a/ChangeLog Sun Aug 19 20:07:25 2007 -0400
+++ b/ChangeLog Sun Aug 19 20:34:22 2007 -0400
@@ -1,3 +1,7 @@
+ * Merged autorejoin into irc-more. No prefs migration will take place. + You will need to reconfigure the delay yourself. * Fixed lack of .build, .pidgin-plugin, and Makefile.mingw for convbadger
--- a/VERSION Sun Aug 19 20:07:25 2007 -0400
+++ b/VERSION Sun Aug 19 20:34:22 2007 -0400
@@ -1,1 +1,1 @@
--- a/autorejoin/Makefile.am Sun Aug 19 20:07:25 2007 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-EXTRA_DIST = .build .purple-plugin Makefile.mingw
-autorejoindir = $(PURPLE_LIBDIR)
-autorejoin_la_LDFLAGS = -module -avoid-version
-autorejoin_LTLIBRARIES = autorejoin.la
-autorejoin_la_LIBADD = \
-autorejoin_la_SOURCES = \
- -DLIBDIR=\"$(PURPLE_LIBDIR)\" \
- -DDATADIR=\"$(PURPLE_DATADIR)\" \
- -DLOCALEDIR=\"$(PURPLE_DATADIR)/locale\" \
--- a/autorejoin/Makefile.mingw Sun Aug 19 20:07:25 2007 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-# Description: Makefile for autorejoin plugin.
-include $(PP_TOP)/win_pp.mak
--- a/autorejoin/autorejoin.c Sun Aug 19 20:07:25 2007 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,179 +0,0 @@
- * Autorejoin - Autorejoin on /kick
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-#include "../common/pp_internal.h"
-#define PLUGIN_ID "core-plugin_pack-autorejoin"
-#define PLUGIN_STATIC_NAME "autorejoin"
-#define PLUGIN_AUTHOR "Sadrul H Chowdhury <sadrul@users.sourceforge.net>"
-#define PREF_PREFIX "/plugins/core/" PLUGIN_ID
-#define PREF_DELAY PREF_PREFIX "/delay"
-show_them(gpointer data)
- /* So you think you can kick me? I'll show you! */
- PurpleConversation *conv = data;
- char *command = g_strdup_printf("join %s", purple_conversation_get_name(conv));
- char *markup = g_markup_escape_text(command, -1);
- purple_cmd_do_command(conv, command, markup, &error); /* Do anything with the return value? */
-irc_receiving_text(PurpleConnection *gc, const char **incoming, gpointer null)
- if (!incoming || !*incoming || !**incoming) /* oh the fun .. I can do this all day! */
- splits = g_strsplit(*incoming, " ", -1);
- PurpleAccount *account = purple_connection_get_account(gc);
- char *str = g_ascii_strdown(splits[1], -1);
- if (strcmp(str, "kick") == 0 && splits[2] && splits[3]) {
- char *name = splits[2];
- GList *chats = purple_get_chats();
- PurpleConversation *conv = chats->data;
- if (purple_conversation_get_account(conv) == account
- && strcmp(purple_conversation_get_name(conv), name) == 0) {
- g_timeout_add(1000 * MAX(10, purple_prefs_get_int(PREF_DELAY)), show_them, conv);
-plugin_load(PurplePlugin *plugin)
- PurplePlugin *prpl = purple_find_prpl("prpl-irc");
- purple_signal_connect(prpl, "irc-receiving-text", plugin,
- G_CALLBACK(irc_receiving_text), NULL);
-plugin_unload(PurplePlugin *plugin)
-static PurplePluginPrefFrame *
-get_plugin_pref_frame(PurplePlugin *plugin)
- PurplePluginPrefFrame *frame;
- PurplePluginPref *pref;
- frame = purple_plugin_pref_frame_new();
- pref = purple_plugin_pref_new_with_name_and_label(PREF_DELAY,
- _("Seconds to wait before rejoining"));
- purple_plugin_pref_set_bounds(pref, 10, 9999);
- purple_plugin_pref_frame_add(frame, pref);
-static PurplePluginUiInfo prefs_info = {
-static PurplePluginInfo info = {
- PURPLE_PLUGIN_MAGIC, /* Magic */
- PURPLE_MAJOR_VERSION, /* Purple Major Version */
- PURPLE_MINOR_VERSION, /* Purple Minor Version */
- PURPLE_PLUGIN_STANDARD, /* plugin type */
- NULL, /* ui requirement */
- NULL, /* dependencies */
- PURPLE_PRIORITY_DEFAULT, /* priority */
- PLUGIN_ID, /* plugin id */
- PP_VERSION, /* version */
- NULL, /* description */
- PLUGIN_AUTHOR, /* author */
- PP_WEBSITE, /* website */
- plugin_load, /* load */
- plugin_unload, /* unload */
- &prefs_info, /* prefs_info */
-init_plugin(PurplePlugin *plugin)
- bindtextdomain(GETTEXT_PACKAGE, PP_LOCALEDIR);
- bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
- info.name = _("Autorejoin (IRC)");
- info.summary = _("Autorejoin on /kick on IRC");
- info.description = _("Automatically rejoin a IRC chatroom when someone "
- "lovingly /kicks you.");
- purple_prefs_add_none(PREF_PREFIX);
- purple_prefs_add_int(PREF_DELAY, 30);
-PURPLE_INIT_PLUGIN(PLUGIN_STATIC_NAME, init_plugin, info)
--- a/configure.ac Sun Aug 19 20:07:25 2007 -0400
+++ b/configure.ac Sun Aug 19 20:34:22 2007 -0400
@@ -1,4 +1,4 @@
-AC_INIT([purple-plugin_pack], [2.1.1], [guifications-devel@lists.sourceforge.net])
+AC_INIT([purple-plugin_pack], [2.2.0mtn], [guifications-devel@lists.sourceforge.net]) AM_CONFIG_HEADER(pre_config.h)
@@ -300,7 +300,6 @@
--- a/po/POTFILES.in Sun Aug 19 20:07:25 2007 -0400
+++ b/po/POTFILES.in Sun Aug 19 20:34:22 2007 -0400
@@ -1,6 +1,5 @@