xserver-multidpi/hw/xfree86
Lukáš Krejčí f615cb62d4 Xorg.wrap: Ensure correct ordering of post-install hook
The install rule of Xorg.wrap is currently a dependency of the
install-data target instead of the install-exec target. The build also
uses install-exec-hook to change the ownership and set the SUID bit on
the Xorg.wrap binary. The problem is that install-exec-hook is only
ordered respective to the install-exec target, the rules of install-data
may or may not have been executed.

If install-exec-hook runs before the Xorg.wrap binary is in place,
a message similar to the following will be present in the build log:

chown: cannot access '/pkgdir/usr/lib/xorg-server/Xorg.wrap': No such file or directory
make[6]: [Makefile:1151: install-exec-hook] Error 1 (ignored)

All that needs to be done is to change the name of the program variable
to contain 'exec' for the install rule to depend on the install-exec
target.

Excerpt from the Automake manual, chapter 12.2 The Two Parts of Install:
"Any variable using a user-defined directory prefix with ‘exec’ in the
name (e.g., myexecbin_PROGRAMS) is installed by install-exec. All other
user-defined prefixes are installed by install-data."

https://bugs.freedesktop.org/show_bug.cgi?id=104419

Signed-off-by: Lukáš Krejčí <lskrejci@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-01-08 09:54:22 +10:00
..
common xfree86: Hold input_lock across SPRITE functions in VGA arbiter 2017-12-13 12:06:31 -05:00
ddc Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
dixmods meson: Fix linkage of loadable modules for PE/COFF 2017-10-12 15:22:04 -04:00
doc xfree86: remove xf86CaughtSignal etc. 2017-12-13 11:11:44 -05:00
dri hw/xfree86: unvalidated lengths 2017-10-10 23:33:44 +02:00
dri2 Use ARRAY_SIZE all over the tree 2017-10-30 13:45:20 -04:00
drivers modesetting: simplify bailing on calloc fail 2017-12-18 08:52:55 +10:00
exa meson: Fix linkage of loadable modules for PE/COFF 2017-10-12 15:22:04 -04:00
fbdevhw fbdevhw: Fix inconsistent #if DEBUG usage 2017-10-20 13:15:25 -04:00
glamor_egl Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
i2c Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
int10 meson: Silence -Wformat-nonliteral for x86emu 2017-10-20 13:15:35 -04:00
loader Use ARRAY_SIZE all over the tree 2017-10-30 13:45:20 -04:00
man xfree86: link to libinput(4) from the xorg.conf man page 2017-07-04 17:44:32 +10:00
modes edid: fix off-by-one error in CEA mode numbering 2017-11-14 15:52:25 -05:00
os-support xfree86: Remove xf86InterceptSignals 2017-12-13 11:11:38 -05:00
parser os, xfree86: Stop being so weird about <limits.h> 2017-05-12 09:49:07 -04:00
ramdac ramdac: Check ScreenPriv != NULL in xf86ScreenSetCursor() 2017-10-25 09:52:44 -04:00
shadowfb meson: Fix linkage of loadable modules for PE/COFF 2017-10-12 15:22:04 -04:00
utils xfree86: small memory leaks fixes 2016-09-28 14:53:39 -04:00
vbe meson: Build libvbe.so 2017-04-27 15:19:45 -04:00
vgahw meson: Build libvgahw.so 2017-04-27 15:19:41 -04:00
x86emu x86emu: Fix type conversion warnings on x86_64 with DEBUG 2017-10-20 13:15:32 -04:00
xkb Move statically linked xorgxkb files from dixmods to a separate directory 2017-06-27 12:42:06 -04:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Makefile.am Xorg.wrap: Ensure correct ordering of post-install hook 2018-01-08 09:54:22 +10:00
meson.build meson: Fix linkage of loadable modules for PE/COFF 2017-10-12 15:22:04 -04:00
sdksyms.sh Use #ifdef instead of #if for features to make Meson easier. 2017-04-26 17:30:12 -04:00
xorg-wrapper.c suid: Include sysmacros.h to fix build after glibc-2.25 2017-09-25 13:04:25 -04:00
Xorg.sh.in xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
xorgconf.cpp xfree86: fix wrong DontZap documentation (#71113) 2014-05-24 20:02:56 +10:00