pidgin/pidgin

Really disable some plugins

4 weeks ago, Gary Kramlich
44125b8e3b27
Parents c739a460a784
Children bcc726c6c61a
Really disable some plugins

Previous we disabled some plugins that we want to keep around but can't port
yet by setting `build_by_default` to `false`. However, this isn't working on
many machines. I haven't figured out why, so instead lets just make their
meson.build files exit early.

Testing Done:
Ran the turtles on a machine that was still building these plugins.

Reviewed at https://reviews.imfreedom.org/r/3142/
--- a/libpurple/plugins/autoaccept/meson.build Wed Apr 24 01:00:06 2024 -0500
+++ b/libpurple/plugins/autoaccept/meson.build Wed Apr 24 01:02:13 2024 -0500
@@ -1,11 +1,12 @@
+subdir_done()
+
library('autoaccept', 'autoaccept.c',
c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PurplePlugin-AutoAccept"'],
gnu_symbol_visibility : 'hidden',
dependencies : [libpurple_dep, glib],
name_prefix : '',
install : true,
- install_dir : PURPLE_PLUGINDIR,
- build_by_default : false)
+ install_dir : PURPLE_PLUGINDIR)
settings_schemas = [
'im.pidgin.Purple.plugin.AutoAccept.gschema.xml',
--- a/libpurple/plugins/joinpart/meson.build Wed Apr 24 01:00:06 2024 -0500
+++ b/libpurple/plugins/joinpart/meson.build Wed Apr 24 01:02:13 2024 -0500
@@ -1,11 +1,12 @@
+subdir_done()
+
library('joinpart', 'joinpart.c',
c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PurplePlugin-JoinPart"'],
gnu_symbol_visibility : 'hidden',
dependencies : [libpurple_dep],
name_prefix : '',
install : true,
- install_dir : PURPLE_PLUGINDIR,
- build_by_default : false)
+ install_dir : PURPLE_PLUGINDIR)
settings_schemas = [
'im.pidgin.Purple.plugin.JoinPart.gschema.xml',
--- a/libpurple/plugins/notification-sound/meson.build Wed Apr 24 01:00:06 2024 -0500
+++ b/libpurple/plugins/notification-sound/meson.build Wed Apr 24 01:02:13 2024 -0500
@@ -1,3 +1,5 @@
+subdir_done()
+
if host_machine.system() not in ['haiku', 'windows']
CANBERRA = dependency('libcanberra', version: '>= 0.30')
@@ -7,8 +9,7 @@
dependencies : [libpurple_dep, glib, CANBERRA],
name_prefix : '',
install : true,
- install_dir : PURPLE_PLUGINDIR,
- build_by_default : false)
+ install_dir : PURPLE_PLUGINDIR)
devenv.append('PURPLE_PLUGIN_PATH', meson.current_build_dir())
--- a/libpurple/plugins/purple-toast/meson.build Wed Apr 24 01:00:06 2024 -0500
+++ b/libpurple/plugins/purple-toast/meson.build Wed Apr 24 01:02:13 2024 -0500
@@ -1,10 +1,11 @@
+subdir_done()
+
library('purple-toast', 'purple-toast.c',
c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PurplePlugin-Toast"'],
gnu_symbol_visibility : 'hidden',
dependencies : [libpurple_dep],
name_prefix: '',
install : true,
- install_dir : PURPLE_PLUGINDIR,
- build_by_default : false)
+ install_dir : PURPLE_PLUGINDIR)
devenv.append('PURPLE_PLUGIN_PATH', meson.current_build_dir())
--- a/libpurple/plugins/statenotify/meson.build Wed Apr 24 01:00:06 2024 -0500
+++ b/libpurple/plugins/statenotify/meson.build Wed Apr 24 01:02:13 2024 -0500
@@ -1,11 +1,12 @@
+subdir_done()
+
library('statenotify', 'statenotify.c',
c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PurplePlugin-StateNotify"'],
gnu_symbol_visibility : 'hidden',
dependencies : [libpurple_dep],
name_prefix : '',
install : true,
- install_dir : PURPLE_PLUGINDIR,
- build_by_default : false)
+ install_dir : PURPLE_PLUGINDIR)
settings_schemas = [
'im.pidgin.Purple.plugin.StateNotify.gschema.xml',
--- a/pidgin/plugins/disco/meson.build Wed Apr 24 01:00:06 2024 -0500
+++ b/pidgin/plugins/disco/meson.build Wed Apr 24 01:02:13 2024 -0500
@@ -1,3 +1,5 @@
+subdir_done()
+
xmppdisco_SOURCES = [
'gtkdisco.c',
'xmppdisco.c',
@@ -28,7 +30,6 @@
dependencies : [libpurple_dep, libpidgin_dep, glib],
name_prefix : '',
install : true,
- install_dir : PIDGIN_PLUGINDIR,
- build_by_default : false)
+ install_dir : PIDGIN_PLUGINDIR)
devenv.append('PIDGIN_PLUGIN_PATH', meson.current_build_dir())