pidgin/purple-plugin-pack
Add checks for plugin types.
--- a/album/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/album/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() album = shared_module('album',
--- a/autoprofile/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/autoprofile/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('incomplete') and PIDGIN.found() autoprofile = shared_module('autoprofile',
--- a/autoreply/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/autoreply/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() autoreply = shared_library('autoreply',
dependencies : [PURPLE, GLIB],
--- a/awaynotify/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/awaynotify/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('incomplete') and PURPLE.found() awaynotify = shared_library('awaynotify',
dependencies : [PURPLE, GLIB],
--- a/bash/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/bash/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() bash = shared_library('bash',
dependencies : [PURPLE, GLIB],
--- a/bit/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/bit/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('incomplete') and PIDGIN.found() bit = shared_module('bit',
dependencies : [PIDGIN, GTK],
--- a/blistops/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/blistops/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() blistops = shared_module('blistops',
dependencies : [PIDGIN, GTK],
--- a/buddytime/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/buddytime/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('incomplete') and PURPLE.found() executable('recursetest',
--- a/capsnot/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/capsnot/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() capsnot = shared_library('capsnot',
dependencies : [PURPLE, GLIB],
--- a/chronic/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/chronic/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('incomplete') and PURPLE.found() chronic = shared_library('chronic',
dependencies : [PURPLE, GLIB],
--- a/colorize/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/colorize/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() colorize = shared_library('colorize',
dependencies : [PURPLE, GLIB],
--- a/convbadger/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/convbadger/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() convbadger = shared_module('convbadger',
dependencies : [PIDGIN, GTK],
--- a/dewysiwygification/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/dewysiwygification/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() dewysiwygification = shared_library('dewysiwygification',
dependencies : [PURPLE, GLIB],
--- a/dice/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/dice/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() dice = shared_library('dice',
dependencies : [PURPLE, GLIB],
--- a/difftopic/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/difftopic/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() difftopic = shared_module('difftopic',
dependencies : [PIDGIN, GTK],
--- a/eight_ball/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/eight_ball/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() eight_ball = shared_library('eight_ball',
dependencies : [PURPLE, GLIB],
--- a/enhancedhist/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/enhancedhist/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() enhancedhist = shared_module('enhancedhist',
dependencies : [PIDGIN, GTK],
--- a/findip/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/findip/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() findip = shared_library('findip',
dependencies : [PURPLE, GLIB],
--- a/flip/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/flip/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() flip = shared_library('flip',
dependencies : [PURPLE, GLIB],
--- a/gRIM/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/gRIM/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() gRIM = shared_module('gRIM',
dependencies : [PIDGIN, GTK],
--- a/google/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/google/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() google = shared_library('google',
dependencies : [PURPLE, GLIB],
--- a/groupmsg/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/groupmsg/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() groupmsg = shared_library('groupmsg',
dependencies : [PURPLE, GLIB],
--- a/hideconv/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/hideconv/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('incomplete') and PIDGIN.found() hideconv = shared_module('hideconv',
dependencies : [PIDGIN, GTK],
--- a/highlight/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/highlight/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() highlight = shared_library('highlight',
dependencies : [PURPLE, GLIB],
--- a/icon-override/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/icon-override/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() icon_override = shared_module('icon-override',
dependencies : [PIDGIN, GTK],
--- a/ignorance/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/ignorance/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('incomplete') and PIDGIN.found() ignorance_confdir = join_paths(
get_option('sysconfdir'),
--- a/ignore/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/ignore/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() ignore = shared_library('ignore',
dependencies : [PURPLE, GLIB],
--- a/infopane/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/infopane/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() infopane = shared_module('infopane',
dependencies : [PIDGIN, GTK],
--- a/irc-more/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/irc-more/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() irc_more = shared_library('irc-more',
dependencies : [PURPLE, GLIB],
--- a/irchelper/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/irchelper/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() irchelper = shared_library('irchelper',
dependencies : [PURPLE, GLIB],
--- a/irssi/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/irssi/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() irssi = shared_module('irssi',
--- a/lastseen/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/lastseen/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() lastseen = shared_module('lastseen',
dependencies : [PIDGIN, GTK],
--- a/listhandler/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/listhandler/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() listhandler = shared_library('listhandler',
--- a/listlog/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/listlog/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() listlog = shared_module('listlog',
dependencies : [PIDGIN, GTK],
--- a/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -158,6 +158,17 @@
#######################################################################
# Add all plugin directories:
#######################################################################
+TYPES = get_option('types').split(',') +if TYPES.contains('all') + TYPES = ['default', 'abusive', 'incomplete'] + if not ['default', 'abusive', 'incomplete'].contains(type) + error('"@0@" is not a supported plugin type'.format(type)) --- a/meson_options.txt Sat Jun 24 23:06:20 2017 -0400
+++ b/meson_options.txt Sun Jun 25 00:14:43 2017 -0400
@@ -1,6 +1,9 @@
option('purple-version', type : 'combo', choices : ['2', '3'], default : '2',
description : 'set to 3 to compile against libpurple3')
+option('types', type : 'string', default : 'default', + description : 'comma-separated list of plugin types to build: default, abusive, incomplete, or all') option('debug', type : 'boolean', default : false,
description : 'compile with debugging support')
--- a/msglen/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/msglen/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('incomplete') and PIDGIN.found() msglen = shared_module('msglen',
dependencies : [PIDGIN, GTK],
--- a/mystatusbox/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/mystatusbox/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() mystatusbox = shared_module('mystatusbox',
dependencies : [PIDGIN, GTK],
--- a/napster/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/napster/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() napster = shared_library('napster',
dependencies : [PURPLE, GLIB],
--- a/nicksaid/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/nicksaid/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() nicksaid = shared_module('nicksaid',
dependencies : [PIDGIN, GTK],
--- a/ning/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/ning/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
-if PURPLE.found() and JSON_GLIB.found() and ZLIB.found()
+if TYPES.contains('default') and PURPLE.found() and JSON_GLIB.found() and ZLIB.found() ning = shared_library('ning',
--- a/nomobility/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/nomobility/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('incomplete') and PURPLE.found() nomobility = shared_library('nomobility',
dependencies : [PURPLE, GLIB],
--- a/okcupid/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/okcupid/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
-if PURPLE.found() and JSON_GLIB.found() and ZLIB.found()
+if TYPES.contains('default') and PURPLE.found() and JSON_GLIB.found() and ZLIB.found() okcupid = shared_library('okcupid',
--- a/oldlogger/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/oldlogger/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() oldlogger = shared_library('oldlogger',
dependencies : [PURPLE, GLIB],
--- a/omegle/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/omegle/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
-if PURPLE.found() and JSON_GLIB.found() and ZLIB.found()
+if TYPES.contains('default') and PURPLE.found() and JSON_GLIB.found() and ZLIB.found() omegle = shared_library('omegle',
--- a/plonkers/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/plonkers/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() plonkers = shared_module('plonkers',
dependencies : [PIDGIN, GTK],
--- a/schedule/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/schedule/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() schedule = shared_module('schedule',
--- a/sepandtab/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/sepandtab/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() sepandtab = shared_module('sepandtab',
dependencies : [PIDGIN, GTK],
--- a/showoffline/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/showoffline/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() showoffline = shared_library('showoffline',
dependencies : [PURPLE, GLIB],
--- a/simfix/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/simfix/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() simfix = shared_library('simfix',
dependencies : [PURPLE, GLIB],
--- a/slashexec/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/slashexec/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() slashexec = shared_library('slashexec',
dependencies : [PURPLE, GLIB],
--- a/smartear/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/smartear/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('incomplete') and PURPLE.found() smartear = shared_library('smartear',
dependencies : [PURPLE, GLIB],
@@ -8,7 +8,7 @@
PP_PURPLE_BUILD += 'smartear'
+if TYPES.contains('incomplete') and PIDGIN.found() gtksmartear = shared_module('gtksmartear',
dependencies : [PIDGIN, GTK],
@@ -18,7 +18,7 @@
PP_PIDGIN_BUILD += 'gtksmartear'
+if TYPES.contains('incomplete') and FINCH.found() gntsmartear = shared_library('gntsmartear',
dependencies : [FINCH, GNT],
--- a/snpp/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/snpp/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() snpp = shared_library('snpp',
dependencies : [PURPLE, GLIB],
--- a/splitter/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/splitter/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
-if PURPLE.found() and CAIRO.found() and PANGO.found()
+if TYPES.contains('default') and PURPLE.found() and CAIRO.found() and PANGO.found() splitter = shared_library('splitter',
dependencies : [PURPLE, CAIRO, PANGO, GLIB],
--- a/sslinfo/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/sslinfo/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() sslinfo = shared_library('sslinfo',
dependencies : [PURPLE, GLIB],
--- a/stocker/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/stocker/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('incomplete') and PIDGIN.found() stocker = shared_module('stocker',
--- a/stress/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/stress/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('abusive') and PURPLE.found() stress = shared_library('stress',
dependencies : [PURPLE, GLIB],
--- a/switchspell/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/switchspell/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
-if BUILD_SWITCH_SPELL and PIDGIN.found()
+if TYPES.contains('default') and BUILD_SWITCH_SPELL and PIDGIN.found() switchspell = shared_module('switchspell',
dependencies : [ASPELL, ENCHANT, GTKSPELL, PIDGIN, GTK],
--- a/timelog/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/timelog/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() timelog = shared_module('timelog',
--- a/translate/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/translate/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() translate = shared_library('translate',
dependencies : [PURPLE, GLIB],
--- a/xchat-chats/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/xchat-chats/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PIDGIN.found() xchat_chats = shared_module('xchat-chats',
--- a/xmppprio/meson.build Sat Jun 24 23:06:20 2017 -0400
+++ b/xmppprio/meson.build Sun Jun 25 00:14:43 2017 -0400
@@ -1,4 +1,4 @@
+if TYPES.contains('default') and PURPLE.found() xmppprio = shared_library('xmppprio',
dependencies : [PURPLE, GLIB],