--- a/meson.build Thu Jun 11 22:11:47 2020 -0500
+++ b/meson.build Thu Jun 11 22:33:42 2020 -0500
@@ -270,18 +270,6 @@
# #######################################################################
-# # Disable creation and installation of translation files
-# #######################################################################
-INSTALL_I18N = get_option('nls')
-# #######################################################################
# # Check for GLib 2.44 (required)
# #######################################################################
glib = dependency('glib-2.0', version : '>= 2.48.0')
@@ -792,6 +780,7 @@
configure_file(output : 'config.h',
@@ -816,7 +805,7 @@
message('Use kerberos 4 with zephyr.... : ' + kerberos.to_string())
message('Install pixmaps............... : ' + INSTALL_PIXMAPS.to_string())
-message('Install translations.......... : ' + INSTALL_I18N.to_string())
+message('Install translations.......... : ' + get_option('nls').to_string()) message('Has you....................... : yes')
message('Build Unity integration plugin.: ' + enable_unity.to_string())
@@ -840,7 +829,7 @@
message('Warning: You have disabled the installation of pixmap data, but Pidgin')
message('still requires installed pixmaps. Be sure you know what you are doing.')
+if not get_option('nls') message('Warning: You have disabled the building and installation of translation')
message('data. This will prevent building Pidgin desktop files.')
--- a/pidgin/meson.build Thu Jun 11 22:11:47 2020 -0500
+++ b/pidgin/meson.build Thu Jun 11 22:33:42 2020 -0500
@@ -215,7 +215,8 @@
requires : ['gtk+-3.0', 'purple-3', 'talkatu', 'gplugin-gtk'],
variables : ['plugindir=${libdir}/pidgin-@0@'.format(purple_major_version)])
DESKTOP_FILE = 'im.pidgin.Pidgin3.desktop'
desktop_file_in = configure_file(
input : 'data/' + DESKTOP_FILE + '.in.in',
--- a/po/meson.build Thu Jun 11 22:11:47 2020 -0500
+++ b/po/meson.build Thu Jun 11 22:33:42 2020 -0500
@@ -1,1 +1,6 @@
-i18n.gettext('pidgin', args : '--from-code=utf-8')
+ args : '--from-code=utf-8', + install : get_option('nls'),