meson: add install_tags to files meson couldnt guess on its own

Clears up a number of "Failed to guess install tag" messages from
meson-logs/meson-log.txt

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2149>
This commit is contained in:
Alan Coopersmith
2026-03-22 14:55:03 -07:00
committed by Enrico Weigelt, metux IT consult
parent 259263bfa9
commit 7a764a784f
6 changed files with 23 additions and 5 deletions

View File

@@ -24,8 +24,11 @@ if host_machine.system() == 'netbsd' or host_machine.system() == 'openbsd'
endif
if build_xorg
install_data('10-quirks.conf',
install_dir: join_paths(get_option('datadir'), 'X11/xorg.conf.d'))
install_data(
'10-quirks.conf',
install_dir: join_paths(get_option('datadir'), 'X11/xorg.conf.d'),
install_tag: 'runtime',
)
endif
libxserver_config = static_library('xserver_config',

View File

@@ -73,4 +73,5 @@ libxserver_main = static_library('xserver_main',
install_data(
'protocol.txt',
install_dir: serverconfigdir,
install_tag: 'runtime',
)

View File

@@ -17,6 +17,7 @@ if build_docs
build_by_default: true,
install: true,
install_dir: join_paths(get_option('datadir'), 'doc/xorg-server'),
install_tag: 'doc',
)
if build_docs_pdf
@@ -36,6 +37,7 @@ if build_docs
build_by_default: true,
install: true,
install_dir: join_paths(get_option('datadir'), 'doc/xorg-server'),
install_tag: 'doc',
)
endforeach
endif
@@ -59,6 +61,7 @@ if build_docs
build_by_default: true,
install: true,
install_dir: join_paths(get_option('datadir'), 'doc/xorg-server'),
install_tag: 'doc',
)
endforeach
endif

View File

@@ -148,7 +148,9 @@ meson.add_install_script(
'sh', '-c',
'ln -fs Xorg @0@@1@'.format(
'${DESTDIR}',
join_paths(get_option('prefix'), get_option('bindir'), 'X')))
join_paths(get_option('prefix'), get_option('bindir'), 'X')),
install_tag: 'runtime',
)
if get_option('suid_wrapper')
executable('Xorg.wrap',

View File

@@ -166,7 +166,8 @@ executable(
install_data(
'system.XWinrc',
install_dir: join_paths(get_option('sysconfdir'), 'X11')
install_dir: join_paths(get_option('sysconfdir'), 'X11'),
install_tag: 'runtime',
)
xwin_man = configure_file(

View File

@@ -4,7 +4,7 @@ project('xserver', 'c',
'c_std=gnu99',
],
version: '25.0.0.21',
meson_version: '>= 0.58.0',
meson_version: '>= 0.60.0',
)
release_date = '2026-02-10'
@@ -865,6 +865,7 @@ if build_xorg
'pkgconfig'),
)
<<<<<<< HEAD
configure_file(
input: 'xlibre-server.pc.in',
output: 'xlibre-server.pc',
@@ -876,6 +877,13 @@ if build_xorg
install_data('xorg-server.m4',
install_dir: join_paths(get_option('datadir'), 'aclocal'))
=======
install_data(
'xorg-server.m4',
install_dir: join_paths(get_option('datadir'), 'aclocal'),
install_tag: 'devel',
)
>>>>>>> 16ca2c7a1 (meson: add install_tags to files meson couldnt guess on its own)
endif
if build_docs or build_docs_devel