Disable SIP by default and update the protocol summaries to reflect what will be built

Mon, 23 Jun 2025 21:55:27 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 23 Jun 2025 21:55:27 -0500
changeset 43266
19b9321a0177
parent 43265
7960b5f85729
child 43267
b304fee44acb

Disable SIP by default and update the protocol summaries to reflect what will be built

Testing Done:
Create a new build directory and verified that SIP was disabled. Also called in the turtles.

Reviewed at https://reviews.imfreedom.org/r/4028/

meson_options.txt file | annotate | diff | comparison | revisions
protocols/bonjour/meson.build file | annotate | diff | comparison | revisions
protocols/demo/meson.build file | annotate | diff | comparison | revisions
protocols/ircv3/meson.build file | annotate | diff | comparison | revisions
protocols/sip/meson.build file | annotate | diff | comparison | revisions
protocols/xmpp/meson.build file | annotate | diff | comparison | revisions
--- a/meson_options.txt	Thu Jun 12 23:48:22 2025 -0500
+++ b/meson_options.txt	Mon Jun 23 21:55:27 2025 -0500
@@ -31,7 +31,7 @@
 option('link-local-messaging', type : 'feature',
        description : 'build the link local messaging protocol plugin')
 
-option('sip', type : 'feature',
+option('sip', type : 'feature', value : 'disabled',
        description : 'build the SIP protocol plugin')
 
 option('xmpp', type : 'feature',
--- a/protocols/bonjour/meson.build	Thu Jun 12 23:48:22 2025 -0500
+++ b/protocols/bonjour/meson.build	Mon Jun 23 21:55:27 2025 -0500
@@ -1,6 +1,7 @@
 feature = get_option('link-local-messaging')
 
-summary({'Link Local Messaging': feature}, section : 'Protocols')
+summary({'Link Local Messaging': feature.allowed()}, bool_yn : true,
+	section : 'Protocols')
 
 if not feature.allowed()
   subdir_done()
--- a/protocols/demo/meson.build	Thu Jun 12 23:48:22 2025 -0500
+++ b/protocols/demo/meson.build	Mon Jun 23 21:55:27 2025 -0500
@@ -1,6 +1,6 @@
 feature = get_option('demo')
 
-summary({'Demo': feature}, section : 'Protocols')
+summary({'Demo': feature.allowed()}, bool_yn: true, section : 'Protocols')
 
 if not feature.allowed()
   subdir_done()
--- a/protocols/ircv3/meson.build	Thu Jun 12 23:48:22 2025 -0500
+++ b/protocols/ircv3/meson.build	Mon Jun 23 21:55:27 2025 -0500
@@ -1,6 +1,6 @@
 feature = get_option('ircv3')
 
-summary({'IRCv3': feature}, section : 'Protocols')
+summary({'IRCv3': feature.allowed()}, bool_yn : true, section : 'Protocols')
 
 if not feature.allowed()
   subdir_done()
--- a/protocols/sip/meson.build	Thu Jun 12 23:48:22 2025 -0500
+++ b/protocols/sip/meson.build	Mon Jun 23 21:55:27 2025 -0500
@@ -4,7 +4,7 @@
   host_machine.system() == 'windows',
   error_message : 'sofia-sip is not currently packaged for windows.')
 
-summary({'SIP': feature}, section : 'Protocols')
+summary({'SIP': feature.allowed()}, bool_yn : true, section : 'Protocols')
 
 if not feature.allowed()
   subdir_done()
--- a/protocols/xmpp/meson.build	Thu Jun 12 23:48:22 2025 -0500
+++ b/protocols/xmpp/meson.build	Mon Jun 23 21:55:27 2025 -0500
@@ -1,6 +1,6 @@
 feature = get_option('xmpp')
 
-summary({'XMPP': feature}, section : 'Protocols')
+summary({'XMPP': feature.allowed()}, bool_yn: true, section : 'Protocols')
 
 if not feature.allowed()
   subdir_done()

mercurial