summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-29 15:18:56 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-29 15:18:56 +0000
commitecc9880c9d05dbe73b7f50946401d96e187c979a (patch)
treef2091a88010553dc686a0f3117d810f5c048b689 /meta/packages
parente5c96dd507fbf96979b619429faaef5fe8420911 (diff)
downloadopenembedded-core-ecc9880c9d05dbe73b7f50946401d96e187c979a.tar.gz
openembedded-core-ecc9880c9d05dbe73b7f50946401d96e187c979a.tar.bz2
openembedded-core-ecc9880c9d05dbe73b7f50946401d96e187c979a.zip
udev: Enable gudev
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/udev/udev-145/enable-gudev.patch48
-rw-r--r--meta/packages/udev/udev_145.bb5
2 files changed, 51 insertions, 2 deletions
diff --git a/meta/packages/udev/udev-145/enable-gudev.patch b/meta/packages/udev/udev-145/enable-gudev.patch
new file mode 100644
index 0000000000..45fd37311c
--- /dev/null
+++ b/meta/packages/udev/udev-145/enable-gudev.patch
@@ -0,0 +1,48 @@
+Index: udev-145/configure.ac
+===================================================================
+--- udev-145.orig/configure.ac 2010-01-29 14:41:29.000000000 +0000
++++ udev-145/configure.ac 2010-01-29 14:41:54.000000000 +0000
+@@ -49,16 +49,17 @@
+ AC_ARG_ENABLE([extras],
+ AS_HELP_STRING([--disable-extras], [disable extras with external dependencies]),
+ [], [enable_extras=yes])
++
++ PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0])
++ AC_SUBST([GLIB_CFLAGS])
++ AC_SUBST([GLIB_LIBS])
++
+ if test "x$enable_extras" = xyes; then
+ AC_PATH_PROG([GPERF], [gperf])
+ if test -z "$GPERF"; then
+ AC_MSG_ERROR([gperf is needed])
+ fi
+
+- PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0])
+- AC_SUBST([GLIB_CFLAGS])
+- AC_SUBST([GLIB_LIBS])
+-
+ AC_CHECK_LIB([acl], [acl_init], [:], AC_MSG_ERROR([libacl not found]))
+ AC_CHECK_HEADER([acl/libacl.h], [:], AC_MSG_ERROR([libacl header not found]))
+
+Index: udev-145/extras/Makefile.am
+===================================================================
+--- udev-145.orig/extras/Makefile.am 2010-01-29 14:43:56.000000000 +0000
++++ udev-145/extras/Makefile.am 2010-01-29 14:44:11.000000000 +0000
+@@ -12,7 +12,8 @@
+ rule_generator \
+ scsi_id \
+ usb_id \
+- v4l_id
++ v4l_id \
++ gudev
+
+ if ENABLE_EXTRAS
+ SUBDIRS += \
+@@ -20,6 +21,5 @@
+ usb-db \
+ hid2hci \
+ keymap \
+- modem-modeswitch \
+- gudev
++ modem-modeswitch
+ endif
diff --git a/meta/packages/udev/udev_145.bb b/meta/packages/udev/udev_145.bb
index ab5d3fe458..e1a2938e17 100644
--- a/meta/packages/udev/udev_145.bb
+++ b/meta/packages/udev/udev_145.bb
@@ -3,9 +3,10 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
the hotplug package and requires a kernel not older than 2.6.12."
RPROVIDES_${PN} = "hotplug"
-PR = "r6"
+PR = "r7"
SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
+ file://enable-gudev.patch;patch=1 \
file://run.rules \
"
@@ -20,7 +21,7 @@ FILES_${PN} += "${base_libdir}/udev/*"
FILES_${PN}-dbg += "${base_libdir}/udev/.debug"
UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/"
-EXTRA_OECONF = "--with-udev-prefix= --disable-extras"
+EXTRA_OECONF = "--with-udev-prefix= --disable-extras --disable-introspection"
do_install () {
install -d ${D}${usrsbindir} \