xwayland: Use full path for Xwayland exec
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1421>
This commit is contained in:
parent
66b371f306
commit
fbf5e26b5c
|
@ -4,5 +4,5 @@ Comment=A rootful instance of the Xwayland X11 server
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Categories=System;
|
Categories=System;
|
||||||
Exec=Xwayland -displayfd 1
|
Exec=@XWAYLAND@ -displayfd 1
|
||||||
NoDisplay=true
|
NoDisplay=true
|
|
@ -195,9 +195,16 @@ xwayland_manpage = configure_file(
|
||||||
)
|
)
|
||||||
install_man(xwayland_manpage)
|
install_man(xwayland_manpage)
|
||||||
|
|
||||||
|
desktop_data = configuration_data()
|
||||||
|
desktop_data.set('XWAYLAND', xwayland_server.full_path())
|
||||||
|
desktop_file = configure_file(
|
||||||
|
input: 'desktop/org.freedesktop.Xwayland.desktop.in',
|
||||||
|
output: 'org.freedesktop.Xwayland.desktop',
|
||||||
|
configuration: desktop_data,
|
||||||
|
)
|
||||||
datadir = join_paths(get_option('prefix'), get_option('datadir'))
|
datadir = join_paths(get_option('prefix'), get_option('datadir'))
|
||||||
desktopdir = join_paths(datadir, 'applications')
|
desktopdir = join_paths(datadir, 'applications')
|
||||||
install_data('desktop/org.freedesktop.Xwayland.desktop', install_dir : desktopdir)
|
install_data(desktop_file, install_dir : desktopdir)
|
||||||
|
|
||||||
meson.override_find_program('Xwayland', xwayland_server)
|
meson.override_find_program('Xwayland', xwayland_server)
|
||||||
meson.override_dependency('xwayland', declare_dependency(
|
meson.override_dependency('xwayland', declare_dependency(
|
||||||
|
|
Loading…
Reference in New Issue