migrate the libpurple plugins to using purple.h only
--- a/libpurple/plugins/autoaccept.c Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/autoaccept.c Sat Sep 28 03:11:33 2019 -0500
@@ -35,12 +35,7 @@
-#include <conversation.h>
#define PREF_PREFIX "/plugins/core/" PLUGIN_ID
#define PREF_PATH PREF_PREFIX "/path"
--- a/libpurple/plugins/buddynote.c Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/buddynote.c Sat Sep 28 03:11:33 2019 -0500
@@ -18,12 +18,7 @@
dont_do_it_cb(PurpleBlistNode *node, const char *note)
--- a/libpurple/plugins/codeinline.c Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/codeinline.c Sat Sep 28 03:11:33 2019 -0500
@@ -20,11 +20,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+/* When writing a third-party plugin, do not include libpurple's internal.h + * included below. This file is for internal libpurple use only. We're including + * it here for our own convenience. */
PurplePlugin *plugin_handle = NULL;
--- a/libpurple/plugins/filectl.c Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/filectl.c Sat Sep 28 03:11:33 2019 -0500
@@ -16,14 +16,7 @@
-#include "conversation.h"
#define FILECTL_PLUGIN_ID "core-filectl"
--- a/libpurple/plugins/idle.c Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/idle.c Sat Sep 28 03:11:33 2019 -0500
@@ -24,15 +24,7 @@
/* This plugin no longer depends on gtk */
#define IDLE_PLUGIN_ID "core-idle"
--- a/libpurple/plugins/joinpart.c Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/joinpart.c Sat Sep 28 03:11:33 2019 -0500
@@ -21,10 +21,7 @@
-#include "conversation.h"
#define JOINPART_PLUGIN_ID "core-rlaager-joinpart"
--- a/libpurple/plugins/keyrings/internalkeyring.c Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/keyrings/internalkeyring.c Sat Sep 28 03:11:33 2019 -0500
@@ -25,11 +25,7 @@
--- a/libpurple/plugins/keyrings/kwallet/purplekwallet.cpp Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/keyrings/kwallet/purplekwallet.cpp Sat Sep 28 03:11:33 2019 -0500
@@ -25,11 +25,7 @@
#include <QCoreApplication>
--- a/libpurple/plugins/keyrings/secretservice.c Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/keyrings/secretservice.c Sat Sep 28 03:11:33 2019 -0500
@@ -33,11 +33,7 @@
#include <libsecret/secret.h>
--- a/libpurple/plugins/keyrings/wincred.c Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/keyrings/wincred.c Sat Sep 28 03:11:33 2019 -0500
@@ -25,10 +25,7 @@
--- a/libpurple/plugins/log_reader.c Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/log_reader.c Sat Sep 28 03:11:33 2019 -0500
@@ -1,17 +1,25 @@
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA
/* Where is the Windows partition mounted? */
#ifndef PURPLE_LOG_READER_WINDOWS_MOUNT_POINT
--- a/libpurple/plugins/offlinemsg.c Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/offlinemsg.c Sat Sep 28 03:11:33 2019 -0500
@@ -27,15 +27,7 @@
#define PLUGIN_DESCRIPTION N_("Save messages sent to an offline user as pounce.")
#define PLUGIN_AUTHORS {"Sadrul H Chowdhury <sadrul@users.sourceforge.net>", NULL}
-#include <conversation.h>
#define PREF_PREFIX "/plugins/core/" PLUGIN_ID
#define PREF_ALWAYS PREF_PREFIX "/always"
--- a/libpurple/plugins/one_time_password.c Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/one_time_password.c Sat Sep 28 03:11:33 2019 -0500
@@ -19,11 +19,7 @@
#define PLUGIN_ID "core-one_time_password"
#define PREF_NAME PLUGIN_ID "_enabled"
--- a/libpurple/plugins/psychic.c Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/psychic.c Sat Sep 28 03:11:33 2019 -0500
@@ -1,19 +1,22 @@
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA
-#include "conversation.h"
#define PLUGIN_ID "core-psychic"
#define PLUGIN_NAME N_("Psychic Mode")
--- a/libpurple/plugins/signals-test.c Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/signals-test.c Sat Sep 28 03:11:33 2019 -0500
@@ -21,19 +21,10 @@
#define SIGNAL_TEST_PLUGIN_ID "core-signals-test"
-#include "conversation.h"
/**************************************************************************
* Account subsystem signal callbacks
**************************************************************************/
--- a/libpurple/plugins/simple.c Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/simple.c Sat Sep 28 03:11:33 2019 -0500
@@ -1,7 +1,22 @@
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA
/** Plugin id : type-author-name (to guarantee uniqueness) */
#define SIMPLE_PLUGIN_ID "core-ewarmenhoven-simple"
--- a/libpurple/plugins/statenotify.c Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/statenotify.c Sat Sep 28 03:11:33 2019 -0500
@@ -1,14 +1,22 @@
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA
-#include "conversation.h"
#define STATENOTIFY_PLUGIN_ID "core-statenotify"
--- a/libpurple/plugins/test-request-input.c Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/plugins/test-request-input.c Sat Sep 28 03:11:33 2019 -0500
@@ -22,9 +22,7 @@
#define PREF_ROOT "/plugins"
#define PREF_TEST "/plugins/tests"