From fae39c792dc129291381d410aca43f17509458ef Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Thu, 21 Aug 2025 12:15:26 -0300 Subject: [PATCH] meson: Move '-Dbug-report-url' message to more visible place The reasioning is at: 137bf019 --- meson.build | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/meson.build b/meson.build index 5831befbb0..1491c3da15 100644 --- a/meson.build +++ b/meson.build @@ -1216,25 +1216,6 @@ if xvfb_run.found() and dbus_run_session.found() ) endif -# Set bug report URL - -# Allowing third-party packagers to set their own bugtracker URL, in -# order to filter first packaging bugs from core bugs. -bug_report_url = get_option('bug-report-url') - -if bug_report_url == '' - message(''' - NOTE: if you plan on packaging GIMP for distribution, it is recommended - to override the bug report URL with option: - -Dbug-report-url=https://example.com/ - so that you can filter packaging bugs from core bugs before reporting upstream. - ''') - - bug_report_url = project_url_issues -endif -conf.set_quoted('PACKAGE_BUGREPORT', project_url_issues) -conf.set_quoted('BUG_REPORT_URL', bug_report_url) - # Build identifiers # conf.set_quoted('GIMP_BUILD_ID', get_option('build-id')) @@ -1725,6 +1706,26 @@ if is_git_repository endif endif + +# Set bug report URL + +# Allowing third-party packagers to set their own bugtracker URL, in +# order to filter first packaging bugs from core bugs. +bug_report_url = get_option('bug-report-url') + +if bug_report_url == '' + message(''' + NOTE: if you plan on packaging GIMP for distribution, it is recommended + to override the bug report URL with option: + -Dbug-report-url=https://example.com/ + so that you can filter packaging bugs from core bugs before reporting upstream. + ''') + + bug_report_url = project_url_issues +endif +conf.set_quoted('PACKAGE_BUGREPORT', project_url_issues) +conf.set_quoted('BUG_REPORT_URL', bug_report_url) + configure_file( output: 'config.h', configuration: conf