Skip to content

xorg: fix imput drivers install paths

Yann E. MORIN buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6package/xdriver_xf86-input-evdev: fix install pathspackage/x11r7/xdriver_xf86-input-evdev/0001-build-get-rid-of-sdkdir.patch package/x11r7/xdriver_xf86-input-evdev/xdriver_xf86-input-evdev.mk+89 -00 replies
2/6package/xdriver_xf86-input-joystick: fix install pathspackage/x11r7/xdriver_xf86-input-joystick/0001-build-get-rid-of-sdkdir.patch package/x11r7/xdriver_xf86-input-joystick/xdriver_xf86-input-joystick.mk+79 -00 replies
3/6package/xdriver_xf86-input-libinput: fix install pathspackage/x11r7/xdriver_xf86-input-libinput/0001-build-get-rid-of-sdkdir.patch package/x11r7/xdriver_xf86-input-libinput/xdriver_xf86-input-libinput.mk+79 -00 replies
4/6package/xdriver_xf86-input-mouse: fix install pathspackage/x11r7/xdriver_xf86-input-mouse/0001-build-get-rid-of-sdkdir.patch package/x11r7/xdriver_xf86-input-mouse/xdriver_xf86-input-mouse.mk+82 -00 replies
5/6package/xdriver_xf86-input-synaptics: fix install pathspackage/x11r7/xdriver_xf86-input-synaptics/0001-build-get-rid-of-sdkdir.patch package/x11r7/xdriver_xf86-input-synaptics/xdriver_xf86-input-synaptics.mk+89 -00 replies
6/6core/pkg-generic: check proper package installationpackage/pkg-generic.mk+15 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/6] xorg: fix imput drivers install paths

Hello All!

This series fixes the install paths of the few remaining input drivers that incorrectly installed headers in $(TARGET_DIR)/$(STAGING_DIR).

The underlying issue is that xorg defines an "sdkdir" pkg-config variable, as the location to find/install headers. This location is an absolute path to the staging dir (aka sysroot), but headers are installed in $(DESTDIR)/$(sdkdir).

We fix that by entirely ditching the use of sdkdir, as was done in all other xorg dirvers, with the 5 first patches of the series.

Additionally, to catch such situation, the 6th and last patch of the series checks no such paths are present, neither in target/ nor in staging/ .

Regards,
Yann E. MORIN.

The following changes since commit 90e38737a699a25f577684742c767375e74683c5

uclibc: fix pthread.h (2016-10-24 14:50:00 +0200)

are available in the git repository at:

git://git.buildroot.org/~ymorin/git/buildroot.git

for you to fetch changes up to 705884038a0fa0824f162280fc1ac2adfd6f03d7

core/pkg-generic: check proper package installation (2016-10-24 18:05:23 +0200)

----------------------------------------------------------------
Yann E. MORIN (6):
package/xdriver_xf86-input-evdev: fix install paths package/xdriver_xf86-input-joystick: fix install paths package/xdriver_xf86-input-libinput: fix install paths package/xdriver_xf86-input-mouse: fix install paths package/xdriver_xf86-input-synaptics: fix install paths core/pkg-generic: check proper package installation

 package/pkg-generic.mk                             | 15 ++++
 .../0001-build-get-rid-of-sdkdir.patch             | 87 +++++++++++++++++++++
 .../xdriver_xf86-input-evdev.mk                    |  2 +
 .../0001-build-get-rid-of-sdkdir.patch             | 78 +++++++++++++++++++
 .../xdriver_xf86-input-joystick.mk                 |  1 +
 .../0001-build-get-rid-of-sdkdir.patch             | 78 +++++++++++++++++++
 .../xdriver_xf86-input-libinput.mk                 |  1 +
 .../0001-build-get-rid-of-sdkdir.patch             | 81 ++++++++++++++++++++
 .../xdriver_xf86-input-mouse.mk                    |  1 +
 .../0001-build-get-rid-of-sdkdir.patch             | 88 ++++++++++++++++++++++
 .../xdriver_xf86-input-synaptics.mk                |  1 +
 11 files changed, 433 insertions(+)
 create mode 100644 package/x11r7/xdriver_xf86-input-evdev/0001-build-get-rid-of-sdkdir.patch
 create mode 100644 package/x11r7/xdriver_xf86-input-joystick/0001-build-get-rid-of-sdkdir.patch
 create mode 100644 package/x11r7/xdriver_xf86-input-libinput/0001-build-get-rid-of-sdkdir.patch
 create mode 100644 package/x11r7/xdriver_xf86-input-mouse/0001-build-get-rid-of-sdkdir.patch
 create mode 100644 package/x11r7/xdriver_xf86-input-synaptics/0001-build-get-rid-of-sdkdir.patch
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'