Tue, 31 Oct 2023 00:49:38 -0500
Set our gettext package to pidgin3 so it can we can install next to pidgin2
Testing Done:
Ran ninja turtles.
Installed and verified the `.mo` files were named `pidgin3.mo`.
Reviewed at https://reviews.imfreedom.org/r/2755/
| meson.build | file | annotate | diff | comparison | revisions | |
| po/meson.build | file | annotate | diff | comparison | revisions |
--- a/meson.build Mon Oct 30 23:13:17 2023 -0500 +++ b/meson.build Tue Oct 31 00:49:38 2023 -0500 @@ -38,7 +38,7 @@ purple_minor_version = parts[1] purple_micro_version = parts[2] -GETTEXT_PACKAGE=meson.project_name() +GETTEXT_PACKAGE='pidgin3' find_program('gettext') find_program('xgettext') @@ -484,7 +484,7 @@ if meson.backend() == 'ninja' run_target('turtles', - command : ['ninja', '-C', '@BUILD_ROOT@', 'pidgin-pot', 'all', 'test']) + command : ['ninja', '-C', '@BUILD_ROOT@', 'pidgin3-pot', 'all', 'test']) endif summary({
--- a/po/meson.build Mon Oct 30 23:13:17 2023 -0500 +++ b/po/meson.build Tue Oct 31 00:49:38 2023 -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') +i18n.gettext(GETTEXT_PACKAGE, preset : 'glib')