pidgin/plugins/xmppconsole/meson.build

Wed, 26 Oct 2022 02:58:05 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Wed, 26 Oct 2022 02:58:05 -0500
changeset 41840
fe350460fb1c
parent 41116
dff0811ff40c
child 42468
3ea8d5befbe4
permissions
-rw-r--r--

Remove C99-obsoleted constructs

See [this development thread for a future Fedora change](https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/CJXKTLXJUPZ4F2C2VQOTNMEA5JAUPMBD/) or [the proposed change page](https://fedoraproject.org/wiki/Changes/PortingToModernC). These may be made stronger errors in GCC 14.

Testing Done:
Configured with `-Dc_args='-Werror=implicit-int -Werror=implicit-function-declaration -Werror=int-conversion -Werror=strict-prototypes -Werror=old-style-definition'` and compiled.

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

41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
1 xmppconsole_resource = gnome.compile_resources('xmppconsoleresources',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
2 'xmppconsole.gresource.xml',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
3 c_name : 'xmppconsole')
39805
17ef924a7e45 Convert XMPP console to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39803
diff changeset
4
41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
5 library('xmppconsole',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
6 'xmppconsole.c', xmppconsole_resource,
41116
dff0811ff40c Enable structured logging in Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41066
diff changeset
7 c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PidginPlugin-XMPPConsole"'],
41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
8 dependencies : [libpurple_dep, libpidgin_dep, glib],
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
9 name_prefix : '',
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
10 install : true, install_dir : PIDGIN_PLUGINDIR)
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 39809
diff changeset
11
41066
00e6bda3ef95 Add a Meson devenv configuration.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41011
diff changeset
12 devenv.append('PIDGIN_PLUGIN_PATH', meson.current_build_dir())

mercurial