pidgin/purple-plugin-pack
Remove references to purple3 and pidgin3
Testing Done:
Compiled and greped for `purple_version_check` and `pidgin_version_check`.
Reviewed at https://reviews.imfreedom.org/r/2405/
--- a/enhancedhist/meson.build Thu Mar 30 22:35:34 2023 -0500
+++ b/enhancedhist/meson.build Thu Mar 30 22:35:56 2023 -0500
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PIDGIN.found() and IS_PURPLE_TWO
+if TYPES.contains('default') and PIDGIN.found() enhancedhist = shared_module('enhancedhist',
dependencies : [PIDGIN, GTK],
--- a/meson.build Thu Mar 30 22:35:34 2023 -0500
+++ b/meson.build Thu Mar 30 22:35:56 2023 -0500
@@ -24,20 +24,10 @@
#######################################################################
compiler = meson.get_compiler('c')
-# this is used as the suffix below (for purple-3, pidgin-3, etc)
-# and also as the -3 param to plugin_pack.py
-if get_option('purple-version') == '2'
- PURPLE_VER = '-' + get_option('purple-version')
#######################################################################
#######################################################################
-PURPLE = dependency('purple@0@'.format(PURPLE_VER))
+PURPLE = dependency('purple') PURPLE_LIBDIR = PURPLE.get_pkgconfig_variable('plugindir')
PURPLE_DATADIR = PURPLE.get_pkgconfig_variable('datadir')
@@ -48,7 +38,7 @@
#######################################################################
#######################################################################
-PIDGIN = dependency('pidgin@0@'.format(PURPLE_VER), required : false)
+PIDGIN = dependency('pidgin', required : false) conf.set('HAVE_PIDGIN', PIDGIN.found())
--- a/meson_options.txt Thu Mar 30 22:35:34 2023 -0500
+++ b/meson_options.txt Thu Mar 30 22:35:56 2023 -0500
@@ -1,6 +1,3 @@
-option('purple-version', type : 'combo', choices : ['2', '3'], value : '2',
- description : 'set to 3 to compile against libpurple3')
option('types', type : 'string', value : 'default',
description : 'comma-separated list of plugin types to build: default, abusive, incomplete, or all')
--- a/mystatusbox/meson.build Thu Mar 30 22:35:34 2023 -0500
+++ b/mystatusbox/meson.build Thu Mar 30 22:35:56 2023 -0500
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PIDGIN.found() and IS_PURPLE_TWO
+if TYPES.contains('default') and PIDGIN.found() mystatusbox = shared_module('mystatusbox',
dependencies : [PIDGIN, GTK],
--- a/nicksaid/meson.build Thu Mar 30 22:35:34 2023 -0500
+++ b/nicksaid/meson.build Thu Mar 30 22:35:56 2023 -0500
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PIDGIN.found() and IS_PURPLE_TWO
+if TYPES.contains('default') and PIDGIN.found() nicksaid = shared_module('nicksaid',
dependencies : [PIDGIN, GTK],
--- a/ning/meson.build Thu Mar 30 22:35:34 2023 -0500
+++ b/ning/meson.build Thu Mar 30 22:35:56 2023 -0500
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PURPLE.found() and IS_PURPLE_TWO 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/okcupid/meson.build Thu Mar 30 22:35:34 2023 -0500
+++ b/okcupid/meson.build Thu Mar 30 22:35:56 2023 -0500
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PURPLE.found() and IS_PURPLE_TWO 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/omegle/meson.build Thu Mar 30 22:35:34 2023 -0500
+++ b/omegle/meson.build Thu Mar 30 22:35:56 2023 -0500
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PURPLE.found() and IS_PURPLE_TWO 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/snpp/meson.build Thu Mar 30 22:35:34 2023 -0500
+++ b/snpp/meson.build Thu Mar 30 22:35:56 2023 -0500
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PURPLE.found() and IS_PURPLE_TWO
+if TYPES.contains('default') and PURPLE.found() snpp = shared_library('snpp',
dependencies : [PURPLE, GLIB],
--- a/timelog/meson.build Thu Mar 30 22:35:34 2023 -0500
+++ b/timelog/meson.build Thu Mar 30 22:35:56 2023 -0500
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PIDGIN.found() and IS_PURPLE_TWO
+if TYPES.contains('default') and PIDGIN.found() timelog = shared_module('timelog',
--- a/translate/meson.build Thu Mar 30 22:35:34 2023 -0500
+++ b/translate/meson.build Thu Mar 30 22:35:56 2023 -0500
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PURPLE.found() and IS_PURPLE_TWO
+if TYPES.contains('default') and PURPLE.found() translate = shared_library('translate',
dependencies : [PURPLE, GLIB],