Skip to contentSkip to conversation

xf86-input-synaptics: Fix QA warnings

PATCH New Richard Purdie 1 participant 1 message Mar 16, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xf86-input-synaptics: Fix QA warnings

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

---

meta/recipes-graphics/xorg-driver/xf86-input-synaptics_1.5.0.bb +4 -7
index 57180a2..5e46567 100644
@@ -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"