xf86-input-vmmouse: Package unpackaged files
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Mar 2012 21:22:47 +0000 (21:22 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Mar 2012 11:45:02 +0000 (11:45 +0000)
This addresses the QA warnings:

WARNING: For recipe xf86-input-vmmouse, the following files/directories were installed but not shipped in any package:
WARNING:   /lib
WARNING:   /lib/udev
WARNING:   /lib/udev/rules.d
WARNING:   /lib/udev/rules.d/69-xorg-vmmouse.rules
WARNING:   /usr/share/X11
WARNING:   /usr/share/hal
WARNING:   /usr/share/X11/xorg.conf.d
WARNING:   /usr/share/X11/xorg.conf.d/50-vmmouse.conf
WARNING:   /usr/share/hal/fdi
WARNING:   /usr/share/hal/fdi/policy
WARNING:   /usr/share/hal/fdi/policy/20thirdparty
WARNING:   /usr/share/hal/fdi/policy/20thirdparty/11-x11-vmmouse.fdi
WARNING:   /usr/lib/hal
WARNING:   /usr/lib/hal/hal-probe-vmmouse

The hal files are simply deleted, we don't care about hal.

(From OE-Core rev: fb1e1ca346c617598726609425406b5afc79270d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-driver/xf86-input-vmmouse_12.7.0.bb

index 42e2b14..652169f 100644 (file)
@@ -1,7 +1,7 @@
 require xorg-driver-input.inc
 
 DESCRIPTION = "X.Org X server -- VMWare mouse input driver"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 RDEPENDS_${PN} += "xf86-input-mouse"
 
@@ -11,3 +11,11 @@ SRC_URI[md5sum] = "dc77181330f983c7d0ec1ea1592c2ca7"
 SRC_URI[sha256sum] = "00e5d527a0d97e6b2a6e8c519e1339427e66fa0a43af026858655c7c62bd9e35"
 
 COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
+
+do_install_append () {
+       # We don't care about hal
+       rm -rf ${D}${datadir}/hal/
+       rm -rf ${D}${libdir}/hal/
+}
+
+FILES_${PN} += "${base_libdir}/udev/ ${datadir}/X11/xorg.conf.d"