GNOME Bugzilla – Bug 792207
[3.27.3] gnome.desktop not installed to wayland-sessions
Last modified: 2018-01-08 21:55:00 UTC
gnome.desktop is not being install to $DESTDIR/usr/share/wayland-sessions when $DESTDIR is defined. meson.build can't do it, as meson does not yet support copying the same file to multiple targets # FIXME: The same target can not be copied into two directories. # There is a workaround in meson_post_install.py until proper solution arises: # https://groups.google.com/forum/#!topic/mesonbuild/3iIoYPrN4P0 and meson_post_install.py does not do it when DESTDIR is defined: if not os.environ.get('DESTDIR'): […] # FIXME: this is due to unable to copy a generated target file: # https://groups.google.com/forum/#!topic/mesonbuild/3iIoYPrN4P0 dst_dir = os.path.join(sys.argv[1], 'wayland-sessions') if not os.path.exists(dst_dir): os.makedirs(dst_dir)
Created attachment 366521 [details] [review] meson: unconditionally copy session file gnome.desktop is installed in two places, but only if DESTDIR is unset.. This commit makes it always happen.
Attachment 366521 [details] pushed as 9b37ffc - meson: unconditionally copy session file