summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev/udev-145/enable-gudev.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-core/udev/udev-145/enable-gudev.patch
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/udev/udev-145/enable-gudev.patch')
-rw-r--r--meta/recipes-core/udev/udev-145/enable-gudev.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-core/udev/udev-145/enable-gudev.patch b/meta/recipes-core/udev/udev-145/enable-gudev.patch
new file mode 100644
index 0000000000..45fd37311c
--- /dev/null
+++ b/meta/recipes-core/udev/udev-145/enable-gudev.patch
@@ -0,0 +1,48 @@
1Index: udev-145/configure.ac
2===================================================================
3--- udev-145.orig/configure.ac 2010-01-29 14:41:29.000000000 +0000
4+++ udev-145/configure.ac 2010-01-29 14:41:54.000000000 +0000
5@@ -49,16 +49,17 @@
6 AC_ARG_ENABLE([extras],
7 AS_HELP_STRING([--disable-extras], [disable extras with external dependencies]),
8 [], [enable_extras=yes])
9+
10+ PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0])
11+ AC_SUBST([GLIB_CFLAGS])
12+ AC_SUBST([GLIB_LIBS])
13+
14 if test "x$enable_extras" = xyes; then
15 AC_PATH_PROG([GPERF], [gperf])
16 if test -z "$GPERF"; then
17 AC_MSG_ERROR([gperf is needed])
18 fi
19
20- PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0])
21- AC_SUBST([GLIB_CFLAGS])
22- AC_SUBST([GLIB_LIBS])
23-
24 AC_CHECK_LIB([acl], [acl_init], [:], AC_MSG_ERROR([libacl not found]))
25 AC_CHECK_HEADER([acl/libacl.h], [:], AC_MSG_ERROR([libacl header not found]))
26
27Index: udev-145/extras/Makefile.am
28===================================================================
29--- udev-145.orig/extras/Makefile.am 2010-01-29 14:43:56.000000000 +0000
30+++ udev-145/extras/Makefile.am 2010-01-29 14:44:11.000000000 +0000
31@@ -12,7 +12,8 @@
32 rule_generator \
33 scsi_id \
34 usb_id \
35- v4l_id
36+ v4l_id \
37+ gudev
38
39 if ENABLE_EXTRAS
40 SUBDIRS += \
41@@ -20,6 +21,5 @@
42 usb-db \
43 hid2hci \
44 keymap \
45- modem-modeswitch \
46- gudev
47+ modem-modeswitch
48 endif