pidgin/purple-plugin-pack
Clone
plugin_pack.py: mark broken plugins with purple3=no
--- a/enhancedhist/plugins.cfg Thu Apr 06 01:54:29 2017 -0300
+++ b/enhancedhist/plugins.cfg Thu Apr 06 02:06:29 2017 -0300
@@ -1,9 +1,10 @@
summary=An enhanced version of the history plugin
description=%(summary)s Grants ability to select the number of previous conversations to show instead of just one.
--- a/mystatusbox/plugins.cfg Thu Apr 06 01:54:29 2017 -0300
+++ b/mystatusbox/plugins.cfg Thu Apr 06 02:06:29 2017 -0300
@@ -1,9 +1,10 @@
summary=Hide/Show the per-account statusboxes
description=You can show all the per-account statusboxes, hide all of them, or just show the ones that are in a different status from the global status. For ease of use, you can bind keyboard shortcuts for the menu items.
authors=Sadrul Habib Chowdhury
--- a/napster/plugins.cfg Thu Apr 06 01:54:29 2017 -0300
+++ b/napster/plugins.cfg Thu Apr 06 02:06:29 2017 -0300
@@ -1,5 +1,5 @@
[Napster Protocol Plugin]
summary=NAPSTER Protocol Plugin
@@ -7,4 +7,5 @@
notes=Introduced into the Purple Plugin Pack after it was removed from libpurple.
--- a/nicksaid/plugins.cfg Thu Apr 06 01:54:29 2017 -0300
+++ b/nicksaid/plugins.cfg Thu Apr 06 02:06:29 2017 -0300
@@ -1,9 +1,10 @@
summary=Record when someone said your nick in a chat
authors=Sadrul Habib Chowdhury
--- a/ning/plugins.cfg Thu Apr 06 01:54:29 2017 -0300
+++ b/ning/plugins.cfg Thu Apr 06 02:06:29 2017 -0300
@@ -1,9 +1,10 @@
summary=Protocol plugin for the Ning social networking site framework
description=Protocol plugin for the Ning social networking site framework
--- a/okcupid/plugins.cfg Thu Apr 06 01:54:29 2017 -0300
+++ b/okcupid/plugins.cfg Thu Apr 06 02:06:29 2017 -0300
@@ -1,9 +1,10 @@
[OkCupid Protocol Plugin]
summary=Protocol plugin for the OkCupid social networking site framework
description=Protocol plugin for the OkCupid social networking site framework
--- a/omegle/plugins.cfg Thu Apr 06 01:54:29 2017 -0300
+++ b/omegle/plugins.cfg Thu Apr 06 02:06:29 2017 -0300
@@ -1,9 +1,10 @@
summary=Protocol plugin for the Omegle social network
description=Protocol plugin for the Omegle social network
--- a/plugin_pack.py Thu Apr 06 01:54:29 2017 -0300
+++ b/plugin_pack.py Thu Apr 06 02:06:29 2017 -0300
@@ -61,6 +61,7 @@
def __init__(self, directory, name, parser):
@@ -78,6 +79,9 @@
if parser.has_option(name, 'notes'):
self.notes = parser.get(name, 'notes')
+ if parser.has_option(name, 'purple3'): + self.purple3 = parser.get(name, 'purple3') != 'no' if self.type != 'default' and self.type != 'incomplete' and self.type != 'abusive':
printerr('\'%s\' has an unknown type of \'%s\'!' % (self.name, self.type))
@@ -94,6 +98,9 @@
output += 'notes: {}\n'.format(self.notes)
+ output += 'purple3: no\n' @@ -104,7 +111,7 @@
- def load_plugins(self, types, depends):
+ def load_plugins(self, types, depends, purple_ver=2): @@ -134,6 +141,9 @@
if len(set(depends).intersection(set(p.depends))) == 0:
+ if purple_ver == 3 and not p.purple3: self.plugins[p.provides] = p
def list_type(self, type):
@@ -551,9 +561,10 @@
opts, args = getopt.getopt(sys.argv[1:], shortopts)
except getopt.error as msg:
@@ -573,10 +584,14 @@
# load the plugins that have been requested, if both lists are empty, all
- pp.load_plugins(types, depends)
+ pp.load_plugins(types, depends, purple_ver) --- a/snpp/plugins.cfg Thu Apr 06 01:54:29 2017 -0300
+++ b/snpp/plugins.cfg Thu Apr 06 02:06:29 2017 -0300
@@ -1,9 +1,10 @@
description=Allows libpurple to send messages over the Simple Network Paging Protocol (SNPP).
--- a/timelog/plugins.cfg Thu Apr 06 01:54:29 2017 -0300
+++ b/timelog/plugins.cfg Thu Apr 06 02:06:29 2017 -0300
@@ -1,9 +1,10 @@
summary=allows the viewing of Pidgin logs within a specific time range
--- a/translate/plugins.cfg Thu Apr 06 01:54:29 2017 -0300
+++ b/translate/plugins.cfg Thu Apr 06 02:06:29 2017 -0300
@@ -1,9 +1,10 @@
summary=Automatic translation of messages
description=Provides automatic translation of messages using Google Translate (default) or Bing Translator
--- a/xchat-chats/plugins.cfg Thu Apr 06 01:54:29 2017 -0300
+++ b/xchat-chats/plugins.cfg Thu Apr 06 02:06:29 2017 -0300
@@ -1,9 +1,10 @@
summary=XChat-like chats with Pidgin
description=You can chat in Pidgin using XChat's indented view.
authors=Sadrul Habib Chowdhury