1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 05:22:40 +02:00

meson: Move '-Dbug-report-url' message to the bottom to be more visible

While I checked that all the "main" downstreamers make use of it
(ArchLinux, Fedora, Ubuntu, Debian, Ubuntu, MSYS2, macports),
it is so hidden that we can't guarantee anyone will
actually see it in the future in the middle of many lines.
This commit is contained in:
Bruno Lopes
2025-08-21 12:05:03 -03:00
parent 8f895aaa8c
commit 137bf01928

View File

@@ -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,16 +1706,10 @@ if is_git_repository
endif
endif
configure_file(
output: 'config.h',
configuration: conf
)
compiler_args +='-DHAVE_CONFIG_H'
add_project_arguments(compiler_args, language: [ 'c', 'cpp' ])
add_project_link_arguments(linker_args, language: [ 'c', 'cpp' ])
################################################################################
# Miscellaneous targets
@@ -2071,6 +2046,31 @@ endforeach
################################################################################
# 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
)
compiler_args +='-DHAVE_CONFIG_H'
final_message = [
'''Extra Binaries:''',
''' gimp-console: @0@'''.format(enable_console_bin),