Patchwork xf86-input-synaptics: Fix QA warnings

login
register
mail settings
Submitter Richard Purdie
Date March 16, 2012, 1:42 p.m.
Message ID <1331905360.18586.180.camel@ted>
Download mbox | patch
Permalink /patch/23653/
State Accepted
Commit 5fa6f6246ab21007aa39c2936382e8cff3fe9148
Headers show

Comments

Richard Purdie - March 16, 2012, 1:42 p.m.
Remove the .pc file work around since it leads to incorrect paths being encoded and
places the files in the incorrect directory.

WARNING: For recipe xf86-input-synaptics, the following files/directories were installed but not shipped in any package:
WARNING:   /media
WARNING:   /media/build1
WARNING:   /media/build1/poky
WARNING:   /media/build1/poky/build
WARNING:   /media/build1/poky/build/tmp
WARNING:   /media/build1/poky/build/tmp/sysroots
WARNING:   /media/build1/poky/build/tmp/sysroots/qemux86
WARNING:   /media/build1/poky/build/tmp/sysroots/qemux86/usr
WARNING:   /media/build1/poky/build/tmp/sysroots/qemux86/usr/include
WARNING:   /media/build1/poky/build/tmp/sysroots/qemux86/usr/include/xorg
WARNING:   /media/build1/poky/build/tmp/sysroots/qemux86/usr/include/xorg/synaptics-properties.h
WARNING:   /media/build1/poky/build/tmp/sysroots/qemux86/usr/include/xorg/synaptics.h
WARNING:   /usr/share/X11
WARNING:   /usr/share/X11/xorg.conf.d
WARNING:   /usr/share/X11/xorg.conf.d/50-synaptics.conf

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-synaptics_1.5.0.bb b/meta/recipes-graphics/xorg-driver/xf86-input-synaptics_1.5.0.bb
index 57180a2..5e46567 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-input-synaptics_1.5.0.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-input-synaptics_1.5.0.bb
@@ -1,5 +1,7 @@ 
 require xorg-driver-input.inc
 
+#SRC_URI += "file://configurefix.patch"
+
 SUMMARY = "X.Org X server -- synaptics touchpad input driver"
 
 DESCRIPTION = "synaptics is an Xorg input driver for the touchpads from \
@@ -10,16 +12,11 @@  advanced features of the touchpad to become available."
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=e395e21f3c21d4fc3a243783e85e9ab5"
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.2"
 
 SRC_URI[md5sum] = "41ee749ecbfef98f7fba708cb2afae87"
 SRC_URI[sha256sum] = "95cc5399fc49c9a35b02c2272cd99b8438f4609b219278c66a79e74c916a1c4e"
 
 DEPENDS += "libxi"
 
-#
-# the xorg-synaptics.pc has hardcoded sdkdir=/usr/include/xorg, which is not correct
-# for cross compiling, so pass the correct sdkdir as include path
-#
-EXTRA_OEMAKE += " sdkdir=${STAGING_INCDIR}/xorg "
-
+FILES_${PN} += "${datadir}/X11/xorg.conf.d"