Remove the option to disable compiling plugins.
This is a niche feature at best but we can revisit it when we re-enable static
protocol plugins.
Testing Done:
Compiled
Reviewed at https://reviews.imfreedom.org/r/873/
--- a/finch/plugins/meson.build Wed Aug 04 04:40:54 2021 -0500
+++ b/finch/plugins/meson.build Wed Aug 04 04:42:29 2021 -0500
@@ -1,34 +1,33 @@
- gntclipboard = library('gntclipboard', 'gntclipboard.c',
- dependencies : [x11, libpurple_dep, libfinch_dep, glib],
- install : true, install_dir : FINCH_PLUGINDIR)
- gntgf = library('gntgf', 'gntgf.c',
- c_args : ncurses_header,
- dependencies : [x11, libpurple_dep, libfinch_dep, ncurses, glib],
- install : true, install_dir : FINCH_PLUGINDIR)
- gnthistory = library('gnthistory', 'gnthistory.c',
- dependencies : [libpurple_dep, libfinch_dep, glib],
+ gntclipboard = library('gntclipboard', 'gntclipboard.c', + dependencies : [x11, libpurple_dep, libfinch_dep, glib], install : true, install_dir : FINCH_PLUGINDIR)
- gntlastlog = library('gntlastlog', 'lastlog.c',
- dependencies : [libpurple_dep, libfinch_dep, ncurses, glib],
+ gntgf = library('gntgf', 'gntgf.c', + c_args : ncurses_header, + dependencies : [x11, libpurple_dep, libfinch_dep, ncurses, glib], install : true, install_dir : FINCH_PLUGINDIR)
- gnttinyurl = library('gnttinyurl', 'gnttinyurl.c',
- dependencies : [libpurple_dep, libfinch_dep, libsoup, glib],
- install : true, install_dir : FINCH_PLUGINDIR)
+gnthistory = library('gnthistory', 'gnthistory.c', + dependencies : [libpurple_dep, libfinch_dep, glib], + install : true, install_dir : FINCH_PLUGINDIR) - grouping = library('grouping', 'grouping.c',
- dependencies : [libpurple_dep, libfinch_dep, glib],
- install : true, install_dir : FINCH_PLUGINDIR)
+gntlastlog = library('gntlastlog', 'lastlog.c', + dependencies : [libpurple_dep, libfinch_dep, ncurses, glib], + install : true, install_dir : FINCH_PLUGINDIR) +gnttinyurl = library('gnttinyurl', 'gnttinyurl.c', + dependencies : [libpurple_dep, libfinch_dep, libsoup, glib], + install : true, install_dir : FINCH_PLUGINDIR) +grouping = library('grouping', 'grouping.c', + dependencies : [libpurple_dep, libfinch_dep, glib], + install : true, install_dir : FINCH_PLUGINDIR) --- a/libpurple/plugins/keyrings/kwallet/meson.build Wed Aug 04 04:40:54 2021 -0500
+++ b/libpurple/plugins/keyrings/kwallet/meson.build Wed Aug 04 04:42:29 2021 -0500
@@ -1,19 +1,18 @@
- kwallet_moc = qt5.preprocess(
- moc_headers: 'purplekwallet.h',
+ kwallet_moc = qt5.preprocess( + moc_headers: 'purplekwallet.h',
- kwallet_plugin = library('purplekwallet', kwallet_sources,
- dependencies : [kwallet, qt5_dep, libpurple_dep],
- install : true, install_dir : PURPLE_PLUGINDIR)
+ kwallet_plugin = library('purplekwallet', kwallet_sources, + dependencies : [kwallet, qt5_dep, libpurple_dep], + install : true, install_dir : PURPLE_PLUGINDIR) --- a/libpurple/plugins/keyrings/meson.build Wed Aug 04 04:40:54 2021 -0500
+++ b/libpurple/plugins/keyrings/meson.build Wed Aug 04 04:42:29 2021 -0500
@@ -1,25 +1,24 @@
- internalkeyring_plugin = library('internalkeyring', 'internalkeyring.c',
- dependencies : [nettle, libpurple_dep],
- build_by_default : false,
- install : false, install_dir : PURPLE_PLUGINDIR)
+ internalkeyring_plugin = library('internalkeyring', 'internalkeyring.c', + dependencies : [nettle, libpurple_dep], + build_by_default : false, + install : false, install_dir : PURPLE_PLUGINDIR) - if secretservice.found()
- secretsservice_plugin = library('secretservice', 'secretservice.c',
- dependencies : [secretservice, libpurple_dep],
- install : true, install_dir : PURPLE_PLUGINDIR)
+if secretservice.found() + secretsservice_plugin = library('secretservice', 'secretservice.c', + dependencies : [secretservice, libpurple_dep], + install : true, install_dir : PURPLE_PLUGINDIR)
- wincred_plugin = library('wincred', 'wincred.c',
- dependencies : [libpurple_dep],
- install : true, install_dir : PURPLE_PLUGINDIR)
+ wincred_plugin = library('wincred', 'wincred.c', + dependencies : [libpurple_dep], + install : true, install_dir : PURPLE_PLUGINDIR) --- a/libpurple/plugins/meson.build Wed Aug 04 04:40:54 2021 -0500
+++ b/libpurple/plugins/meson.build Wed Aug 04 04:42:29 2021 -0500
@@ -1,45 +1,42 @@
subdir('notification-sound')
- autoaccept = library('autoaccept', 'autoaccept.c',
- dependencies : [libpurple_dep, glib],
- install : true, install_dir : PURPLE_PLUGINDIR)
+autoaccept = library('autoaccept', 'autoaccept.c', + dependencies : [libpurple_dep, glib], + install : true, install_dir : PURPLE_PLUGINDIR) +buddynote = library('buddynote', 'buddynote.c', + dependencies : [libpurple_dep], + install : true, install_dir : PURPLE_PLUGINDIR) - buddynote = library('buddynote', 'buddynote.c',
- dependencies : [libpurple_dep],
- install : true, install_dir : PURPLE_PLUGINDIR)
+idle = library('idle', 'idle.c', + dependencies : [libpurple_dep], + install : true, install_dir : PURPLE_PLUGINDIR) - idle = library('idle', 'idle.c',
- dependencies : [libpurple_dep],
- install : true, install_dir : PURPLE_PLUGINDIR)
- joinpart = library('joinpart', 'joinpart.c',
- dependencies : [libpurple_dep],
- install : true, install_dir : PURPLE_PLUGINDIR)
+joinpart = library('joinpart', 'joinpart.c', + dependencies : [libpurple_dep], + install : true, install_dir : PURPLE_PLUGINDIR) - log_reader = library('log_reader', 'log_reader.c',
- dependencies : [libpurple_dep],
- install : true, install_dir : PURPLE_PLUGINDIR)
+log_reader = library('log_reader', 'log_reader.c', + dependencies : [libpurple_dep], + install : true, install_dir : PURPLE_PLUGINDIR) - psychic = library('psychic', 'psychic.c',
- dependencies : [libpurple_dep],
- install : true, install_dir : PURPLE_PLUGINDIR)
+psychic = library('psychic', 'psychic.c', + dependencies : [libpurple_dep], + install : true, install_dir : PURPLE_PLUGINDIR) - statenotify = library('statenotify', 'statenotify.c',
- dependencies : [libpurple_dep],
- install : true, install_dir : PURPLE_PLUGINDIR)
+statenotify = library('statenotify', 'statenotify.c', + dependencies : [libpurple_dep], + install : true, install_dir : PURPLE_PLUGINDIR) - purple_toast = library('purple-toast', 'purple-toast.c',
- dependencies : [libpurple_dep],
- install : true, install_dir : PURPLE_PLUGINDIR)
+purple_toast = library('purple-toast', 'purple-toast.c', + dependencies : [libpurple_dep], + install : true, install_dir : PURPLE_PLUGINDIR) --- a/libpurple/plugins/notification-sound/meson.build Wed Aug 04 04:40:54 2021 -0500
+++ b/libpurple/plugins/notification-sound/meson.build Wed Aug 04 04:42:29 2021 -0500
@@ -1,5 +1,3 @@
if target_machine.system() != 'windows'
CANBERRA = dependency('libcanberra', version: '>= 0.30')
@@ -9,5 +7,3 @@
install : true, install_dir : PURPLE_PLUGINDIR)
--- a/meson.build Wed Aug 04 04:40:54 2021 -0500
+++ b/meson.build Wed Aug 04 04:42:29 2021 -0500
@@ -625,8 +625,6 @@
-PLUGINS = get_option('plugins')
#######################################################################
# Check for Nettle (Crypto Library)
#######################################################################
@@ -759,7 +757,6 @@
}, section: 'Protocol Support', bool_yn: true, list_sep: ', ')
- 'Build plugins': PLUGINS,
'Internal credential provider (via Nettle)': nettle.found(),
'KWallet credential provider': kwallet.found(),
'Secret Service credential provider': secretservice.found(),
--- a/meson_options.txt Wed Aug 04 04:40:54 2021 -0500
+++ b/meson_options.txt Wed Aug 04 04:42:29 2021 -0500
@@ -31,9 +31,6 @@
option('kwallet', type : 'feature',
description : 'enable KWallet support')
-option('plugins', type : 'boolean', value : true,
- description : 'compile plugins')
option('secret-service', type : 'feature',
description : 'enable Secret Service support')
--- a/pidgin/plugins/disco/meson.build Wed Aug 04 04:40:54 2021 -0500
+++ b/pidgin/plugins/disco/meson.build Wed Aug 04 04:42:29 2021 -0500
@@ -5,15 +5,14 @@
- xmppdisco_resource = gnome.compile_resources('xmppdiscoresources',
- 'resources/xmppdisco.gresource.xml',
- source_dir : 'resources',
- xmppdisco_SOURCES += xmppdisco_resource
+xmppdisco_resource = gnome.compile_resources('xmppdiscoresources', + 'resources/xmppdisco.gresource.xml', + source_dir : 'resources', +xmppdisco_SOURCES += xmppdisco_resource - xmppdisco = library('xmppdisco', xmppdisco_SOURCES,
- dependencies : [libpurple_dep, libpidgin_dep, glib],
- install : true, install_dir : PIDGIN_PLUGINDIR)
+xmppdisco = library('xmppdisco', xmppdisco_SOURCES, + dependencies : [libpurple_dep, libpidgin_dep, glib], + install : true, install_dir : PIDGIN_PLUGINDIR) --- a/pidgin/plugins/gestures/meson.build Wed Aug 04 04:40:54 2021 -0500
+++ b/pidgin/plugins/gestures/meson.build Wed Aug 04 04:42:29 2021 -0500
@@ -6,9 +6,8 @@
- gestures = library('gestures', gestures_SOURCES,
- dependencies : [libpurple_dep, libpidgin_dep, glib],
- install : true, install_dir : PIDGIN_PLUGINDIR)
+gestures = library('gestures', gestures_SOURCES, + dependencies : [libpurple_dep, libpidgin_dep, glib], + install : true, install_dir : PIDGIN_PLUGINDIR) --- a/pidgin/plugins/meson.build Wed Aug 04 04:40:54 2021 -0500
+++ b/pidgin/plugins/meson.build Wed Aug 04 04:42:29 2021 -0500
@@ -2,46 +2,44 @@
- gtkbuddynote = library('gtkbuddynote', 'gtkbuddynote.c',
- dependencies : [libpurple_dep, libpidgin_dep, glib],
- install : true, install_dir : PIDGIN_PLUGINDIR)
+gtkbuddynote = library('gtkbuddynote', 'gtkbuddynote.c', + dependencies : [libpurple_dep, libpidgin_dep, glib], + install : true, install_dir : PIDGIN_PLUGINDIR) +iconaway = library('iconaway', 'iconaway.c', + dependencies : [libpurple_dep, libpidgin_dep, glib], + install : true, install_dir : PIDGIN_PLUGINDIR) +notify = library('notify', 'notify.c', + dependencies : [libpurple_dep, libpidgin_dep, glib], + build_by_default: false, + install : false, install_dir : PIDGIN_PLUGINDIR) - iconaway = library('iconaway', 'iconaway.c',
- dependencies : [libpurple_dep, libpidgin_dep, glib],
- install : true, install_dir : PIDGIN_PLUGINDIR)
+relnot = library('relnot', 'relnot.c', + dependencies : [libpurple_dep, libpidgin_dep, libsoup, glib], + install : true, install_dir : PIDGIN_PLUGINDIR) +spellchk = library('spellchk', 'spellchk.c', + dependencies : [libpurple_dep, libpidgin_dep, glib], + build_by_default: false, + install : false, install_dir : PIDGIN_PLUGINDIR) - notify = library('notify', 'notify.c',
- dependencies : [libpurple_dep, libpidgin_dep, glib],
- build_by_default: false,
- install : false, install_dir : PIDGIN_PLUGINDIR)
+ transparency = library('transparency', 'transparency.c', + dependencies : [libpurple_dep, libpidgin_dep, glib], + install : true, install_dir : PIDGIN_PLUGINDIR) - relnot = library('relnot', 'relnot.c',
- dependencies : [libpurple_dep, libpidgin_dep, libsoup, glib],
+ unity = library('unity', 'unity.c', + dependencies : [UNITY, libpurple_dep, libpidgin_dep, glib], install : true, install_dir : PIDGIN_PLUGINDIR)
- spellchk = library('spellchk', 'spellchk.c',
- dependencies : [libpurple_dep, libpidgin_dep, glib],
- build_by_default: false,
- install : false, install_dir : PIDGIN_PLUGINDIR)
- transparency = library('transparency', 'transparency.c',
- dependencies : [libpurple_dep, libpidgin_dep, glib],
- install : true, install_dir : PIDGIN_PLUGINDIR)
- unity = library('unity', 'unity.c',
- dependencies : [UNITY, libpurple_dep, libpidgin_dep, glib],
- install : true, install_dir : PIDGIN_PLUGINDIR)
--- a/pidgin/plugins/xmppconsole/meson.build Wed Aug 04 04:40:54 2021 -0500
+++ b/pidgin/plugins/xmppconsole/meson.build Wed Aug 04 04:42:29 2021 -0500
@@ -1,11 +1,10 @@
- xmppconsole_resource = gnome.compile_resources('xmppconsoleresources',
- 'xmppconsole.gresource.xml',
- c_name : 'xmppconsole')
+xmppconsole_resource = gnome.compile_resources('xmppconsoleresources', + 'xmppconsole.gresource.xml', + c_name : 'xmppconsole')
- 'xmppconsole.c', xmppconsole_resource,
- dependencies : [libpurple_dep, libpidgin_dep, glib],
- install : true, install_dir : PIDGIN_PLUGINDIR)
+ 'xmppconsole.c', xmppconsole_resource, + dependencies : [libpurple_dep, libpidgin_dep, glib], + install : true, install_dir : PIDGIN_PLUGINDIR)