xserver/hw/xfree86
Lukáš Krejčí 725b4b46ff 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>
(cherry picked from commit f615cb62d4)
2018-01-22 14:07:01 -05:00
..
common hw/xfree86: unvalidated lengths 2017-10-12 12:25:19 -04:00
ddc xfree86: small memory leaks fixes 2016-09-28 14:53:39 -04:00
dixmods Move statically linked xorgxkb files from dixmods to a separate directory 2017-10-04 15:04:25 -04:00
doc xfree86: Unexport xf86Initialising, remove xf86ServerIsInitialising 2016-04-18 11:22:58 -04:00
dri hw/xfree86: unvalidated lengths 2017-10-12 12:25:19 -04:00
dri2 dri2: Sync i965_pci_ids.h from Mesa. 2017-09-25 15:34:10 -04:00
drivers modesetting: Fix potential buffer overflow 2017-12-13 10:05:36 -05:00
exa build: Remove stale miext/cw include paths 2015-10-27 13:46:13 -04:00
fbdevhw fbdevhw: Fix a const qualifier warning 2015-09-23 15:18:24 -04:00
glamor_egl glamor: Share code for put_image handling. 2014-06-15 23:20:09 +01:00
i2c xfree86: Fix null pointer dereference 2016-09-28 14:53:39 -04:00
int10 x86emu: Change include order to avoid conflict with system header 2016-04-29 11:05:38 -04:00
loader xfree86: print the module name together with the load failure message 2016-08-24 08:30:10 +10:00
man xfree86: remove aiglx cmd/xorg.conf option 2016-10-05 14:15:52 -04:00
modes edid: fix off-by-one error in CEA mode numbering 2017-12-13 10:07:17 -05:00
os-support xfree86: Silence a new glibc warning 2017-09-25 15:54:20 -04:00
parser parser: Fix crash when xf86nameCompare(s1 = x, s2 = NULL) 2017-09-21 15:00:25 +02:00
ramdac ramdac: Check ScreenPriv != NULL in xf86ScreenSetCursor() 2017-12-13 10:04:47 -05:00
shadowfb Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
utils xfree86: small memory leaks fixes 2016-09-28 14:53:39 -04:00
vbe xfree86: Change VBE version early-out to 1.2. (#22672) 2016-03-14 11:44:10 -04:00
vgahw Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
x86emu x86emu: Change include order to avoid conflict with system header 2016-04-29 11:05:38 -04:00
xkb Move statically linked xorgxkb files from dixmods to a separate directory 2017-10-04 15:04:25 -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-22 14:07:01 -05:00
sdksyms.sh dix: Switch to the libXfont2 API (v2) 2016-07-18 15:25:59 -04:00
xorg-wrapper.c suid: Include sysmacros.h to fix build after glibc-2.25 2017-09-25 15:54:34 -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