--- a/libpurple/meson.build Mon Aug 08 23:51:34 2022 -0500
+++ b/libpurple/meson.build Thu Aug 11 03:06:20 2022 -0500
@@ -363,27 +363,18 @@
meson.override_dependency(purple_filebase, libpurple_dep)
PURPLE3_URL_HANDLER_DESKTOP = 'purple3-url-handler.desktop'
- desktop_file_in = configure_file(
- input : 'data' / (PURPLE3_URL_HANDLER_DESKTOP + '.in.in'),
- output : PURPLE3_URL_HANDLER_DESKTOP + '.in',
- input : desktop_file_in,
- output : PURPLE3_URL_HANDLER_DESKTOP,
- po_dir : meson.project_source_root() / 'po',
- install_dir : get_option('datadir') / 'applications')
- input : 'data' / (PURPLE3_URL_HANDLER_DESKTOP + '.in.in'),
- output : PURPLE3_URL_HANDLER_DESKTOP,
- install_dir : get_option('datadir') / 'applications')
+desktop_file_in = configure_file( + input : 'data' / (PURPLE3_URL_HANDLER_DESKTOP + '.in.in'), + output : PURPLE3_URL_HANDLER_DESKTOP + '.in', + input : desktop_file_in, + output : PURPLE3_URL_HANDLER_DESKTOP, + po_dir : meson.project_source_root() / 'po', + install_dir : get_option('datadir') / 'applications') --- a/meson.build Mon Aug 08 23:51:34 2022 -0500
+++ b/meson.build Thu Aug 11 03:06:20 2022 -0500
@@ -38,9 +38,8 @@
purple_micro_version = parts[2]
GETTEXT_PACKAGE=meson.project_name()
- find_program('gettext')
+find_program('xgettext') @@ -95,11 +94,6 @@
SUNCC = compiler.compiles('void main() {__SUNPRO_C;};')
-# Make sure we have xgettext
- find_program('xgettext')
if host_machine.system() == 'windows'
windows = import('windows')
@@ -657,11 +651,6 @@
#AC_VAR_TIMEZONE_EXTERNALS
#######################################################################
-# Disable pixmap installation
-#######################################################################
-INSTALL_PIXMAPS = get_option('pixmaps-install')
-#######################################################################
#######################################################################
@@ -740,8 +729,6 @@
'Enable Introspection': enable_introspection,
'Generate documentation': get_option('doc'),
- 'Install pixmaps': INSTALL_PIXMAPS,
- 'Install translations': get_option('nls'),
'Print debugging messages': enable_debug,
}, section: 'Miscellaneous', bool_yn: true)
@@ -749,17 +736,3 @@
summary('You have an old copy of pidgin3 at', pidgin3path.full_path(),
- summary('Pixmaps disabled',
- 'You have disabled the installation of pixmap data, ' +
- 'but Pidgin still requires installed pixmaps. ' +
- 'Be sure you know what you are doing.',
-if not get_option('nls')
- summary('Translations disabled',
- 'You have disabled the building and installation of translation data. ' +
- 'This will prevent building Pidgin desktop files. ' +
- 'Be sure you know what you are doing.',
--- a/meson_options.txt Mon Aug 08 23:51:34 2022 -0500
+++ b/meson_options.txt Thu Aug 11 03:06:20 2022 -0500
@@ -13,15 +13,6 @@
option('introspection', type : 'boolean', value : true,
description : 'build introspection data')
-option('nettle', type : 'feature',
- description : 'enable Nettle support')
-option('nls', type : 'boolean', value : true,
- description : 'enable installation of translation files')
-option('pixmaps-install', type : 'boolean', value : true,
- description : 'enable installation of pixmap files - Pidgin still needs them!')
option('build-dependencies', type : 'boolean', value : false,
description : 'enable the use of subprojects to build missing dependencies.')
--- a/pidgin/data/meson.build Mon Aug 08 23:51:34 2022 -0500
+++ b/pidgin/data/meson.build Thu Aug 11 03:06:20 2022 -0500
@@ -1,5 +1,3 @@
devenv.prepend('XDG_DATA_DIRS', meson.current_source_dir())
--- a/pidgin/meson.build Mon Aug 08 23:51:34 2022 -0500
+++ b/pidgin/meson.build Thu Aug 11 03:06:20 2022 -0500
@@ -289,41 +289,25 @@
variables : ['plugindir=${libdir}/pidgin-@0@'.format(purple_major_version)])
PIDGIN_DESKTOP_FILE = 'im.pidgin.Pidgin3.desktop'
- desktop_file_in = configure_file(
- input : 'data' / (PIDGIN_DESKTOP_FILE + '.in.in'),
- output : PIDGIN_DESKTOP_FILE + '.in',
- desktop_file = i18n.merge_file(
- input : desktop_file_in,
- output : PIDGIN_DESKTOP_FILE,
- po_dir : meson.project_source_root() / 'po',
- install_dir : get_option('datadir') / 'applications')
+ desktop_file_in = configure_file( + input : 'data' / (PIDGIN_DESKTOP_FILE + '.in.in'), + output : PIDGIN_DESKTOP_FILE + '.in', + desktop_file = i18n.merge_file( + input : desktop_file_in, + output : PIDGIN_DESKTOP_FILE, + po_dir : meson.project_source_root() / 'po', + install_dir : get_option('datadir') / 'applications') - appdata = i18n.merge_file(
- input : 'data/im.pidgin.Pidgin3.appdata.xml.in',
- output : 'im.pidgin.Pidgin3.appdata.xml',
- po_dir : meson.project_source_root() / 'po',
- install_dir : get_option('datadir') / 'metainfo')
- input : 'data' / (PIDGIN_DESKTOP_FILE + '.in.in'),
- output : PIDGIN_DESKTOP_FILE,
- install_dir : get_option('datadir') / 'applications')
- input : 'data/im.pidgin.Pidgin3.appdata.xml.in',
- output : 'im.pidgin.Pidgin3.appdata.xml',
- configuration : configuration_data(),
- install_dir : get_option('datadir') / 'metainfo')
+ appdata = i18n.merge_file( + input : 'data/im.pidgin.Pidgin3.appdata.xml.in', + output : 'im.pidgin.Pidgin3.appdata.xml', + po_dir : meson.project_source_root() / 'po', + install_dir : get_option('datadir') / 'metainfo') introspection_sources = libpidgin_SOURCES + libpidgin_headers + libpidgin_prefs_headers
--- a/pidgin/pixmaps/emotes/default/24/meson.build Mon Aug 08 23:51:34 2022 -0500
+++ b/pidgin/pixmaps/emotes/default/24/meson.build Thu Aug 11 03:06:20 2022 -0500
@@ -185,15 +185,14 @@
- pidginsmileypixdir = pidginpixmapdir / 'emotes/default'
+pidginsmileypixdir = pidginpixmapdir / 'emotes/default' - custom_target('default-theme',
- input : 'default.theme.in',
- command : [smiley_theme_generator, '@INPUT@', '@OUTPUT@'],
- install_dir : pidginsmileypixdir)
+custom_target('default-theme', + input : 'default.theme.in', + command : [smiley_theme_generator, '@INPUT@', '@OUTPUT@'], + install_dir : pidginsmileypixdir) - install_data(SMILEYS, install_dir : pidginsmileypixdir)
+install_data(SMILEYS, install_dir : pidginsmileypixdir) --- a/pidgin/pixmaps/emotes/small/16/meson.build Mon Aug 08 23:51:34 2022 -0500
+++ b/pidgin/pixmaps/emotes/small/16/meson.build Thu Aug 11 03:06:20 2022 -0500
@@ -85,15 +85,13 @@
- pidginsmileypixdir = pidginpixmapdir / 'emotes/small'
+pidginsmileypixdir = pidginpixmapdir / 'emotes/small' - custom_target('small-theme',
- input : 'small.theme.in',
- command : [smiley_theme_generator, '@INPUT@', '@OUTPUT@'],
- install_dir : pidginsmileypixdir)
+custom_target('small-theme', + input : 'small.theme.in', + command : [smiley_theme_generator, '@INPUT@', '@OUTPUT@'], + install_dir : pidginsmileypixdir) - install_data(MOODS + SMILEYS, install_dir : pidginsmileypixdir)
+install_data(MOODS + SMILEYS, install_dir : pidginsmileypixdir) --- a/po/meson.build Mon Aug 08 23:51:34 2022 -0500
+++ b/po/meson.build Thu Aug 11 03:06:20 2022 -0500
@@ -3,4 +3,4 @@
# use the glib preset which is defined at
# https://github.com/mesonbuild/meson/blob/master/mesonbuild/modules/i18n.py#L93
# at the time of this comment.
-i18n.gettext('pidgin', preset : 'glib', install : get_option('nls'))
+i18n.gettext('pidgin', preset : 'glib')