pidgin/purple-plugin-pack

Parents bd91b3aa3c5c
Children 476ec1e18f35
Remove chronic as it's incompleted and unlikely to be completed
--- a/chronic/README.md Sun Mar 01 18:37:34 2020 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-# Chronic
-
-status: incomplete
-dependencies: libpurple
-authors: John Bailey
-introduced: 1.0beta3.1
-
-Allows buddies to remotely trigger sound playing in your running libpurple client with {S <sound>. Inspired by IRC channel resident EvilDennisR and ancient versions of AOL. THIS PLUGIN IS NOT YET FUNCTIONAL! IT IS USELESS!
-
--- a/chronic/chronic.c Sun Mar 01 18:37:34 2020 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,115 +0,0 @@
-/*
- * Chronic - Remote sound play triggering
- * Copyright (C) 2006-2008 John Bailey <rekkanoryo@rekkanoryo.org>
- *
- * 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 02111-1301, USA.
- */
-
-/* If you can't figure out what this line is for, DON'T TOUCH IT. */
-#include "../common/pp_internal.h"
-
-/* libc */
-#include <string.h>
-
-/* Purple */
-#include <conversation.h>
-#include <debug.h>
-#include <plugin.h>
-
-static void
-chronic_received_cb(PurpleAccount *account, char *sender, char *message,
- PurpleConversation *conv, PurpleMessageFlags flags)
-{
-#if 0
- /* this needs some work... */
- char *sound = NULL, *path = NULL;
-
- if(strlen(message) > 3) {
- if(!strncmp(message, "{S ", 3)) {
- sound = (message + 4);
- /* add code to find a matching sound */
- /* purple_sound_play_file(); */
- }
- }
-
- return;
-#endif
-}
-
-static gboolean
-chronic_load(PurplePlugin *plugin)
-{
- void *convhandle;
-
- convhandle = purple_conversations_get_handle();
-
- purple_signal_connect(convhandle, "received-im-msg", plugin,
- PURPLE_CALLBACK(chronic_received_cb), NULL);
- purple_signal_connect(convhandle, "received-chat-msg", plugin,
- PURPLE_CALLBACK(chronic_received_cb), NULL);
-
- return TRUE;
-}
-
-static PurplePluginInfo chronic_info =
-{
- PURPLE_PLUGIN_MAGIC, /* magic? do you think i'm gullible enough to
- * believe in magic? */
- PURPLE_MAJOR_VERSION,
- PURPLE_MINOR_VERSION,
- PURPLE_PLUGIN_STANDARD,
- NULL,
- 0,
- NULL,
- PURPLE_PRIORITY_DEFAULT,
- "core-plugin_pack-chronic",
- NULL,
- PP_VERSION,
- NULL,
- NULL,
- "John Bailey <rekkanoryo@rekkanoryo.org>",
- PP_WEBSITE,
- chronic_load,
- /* comment below is temporary until i decide if i need the function */
- NULL, /*chronic_unload,*/
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL
-};
-
-static void
-chronic_init(PurplePlugin *plugin)
-{
-#ifdef ENABLE_NLS
- bindtextdomain(GETTEXT_PACKAGE, PP_LOCALEDIR);
- bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
-#endif /* ENABLE_NLS */
-
- chronic_info.name = _("Chronic");
- chronic_info.summary = _("Sound playing triggers");
- chronic_info.description = _("Allows buddies to remotely trigger sound"
- " playing in your instance of Purple with {S &lt;sound&gt;. Inspired"
- " by #guifications channel resident EvilDennisR and ancient"
- " versions of AOL. THIS PLUGIN IS NOT YET FUNCTIONAL!"
- " IT IS USELESS!");
-}
-
-PURPLE_INIT_PLUGIN(chronic, chronic_init, chronic_info)
--- a/chronic/meson.build Sun Mar 01 18:37:34 2020 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-if TYPES.contains('incomplete') and PURPLE.found()
- chronic = shared_library('chronic',
- 'chronic.c',
- dependencies : [PURPLE, GLIB],
- name_prefix : '',
- install : true,
- install_dir : PURPLE_LIBDIR)
- PP_PURPLE_BUILD += 'chronic'
-endif
--- a/meson.build Sun Mar 01 18:37:34 2020 -0600
+++ b/meson.build Sun Mar 01 18:39:32 2020 -0600
@@ -157,7 +157,6 @@
subdir('bash')
subdir('blistops')
subdir('capsnot')
-subdir('chronic')
subdir('colorize')
subdir('convbadger')
subdir('dewysiwygification')