summaryrefslogtreecommitdiffstats
path: root/meta-moblin/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-22 17:30:04 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-22 17:30:04 +0100
commit45543f77498f753646b88e50fda006f1493b1419 (patch)
tree523d02655c5c0b94d5d67053917a664ae01b2c54 /meta-moblin/packages
parentd7568d312b2f697511d225cfa13ecde96a9a6b92 (diff)
downloadpoky-45543f77498f753646b88e50fda006f1493b1419.tar.gz
consolekit: Add 0.3.0 from OE but disable policykit interaction
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta-moblin/packages')
-rw-r--r--meta-moblin/packages/consolekit/consolekit_0.3.0.bb19
-rw-r--r--meta-moblin/packages/consolekit/files/nopolkit.patch16
2 files changed, 35 insertions, 0 deletions
diff --git a/meta-moblin/packages/consolekit/consolekit_0.3.0.bb b/meta-moblin/packages/consolekit/consolekit_0.3.0.bb
new file mode 100644
index 0000000000..b4656c099d
--- /dev/null
+++ b/meta-moblin/packages/consolekit/consolekit_0.3.0.bb
@@ -0,0 +1,19 @@
1DESCRIPTION = "ConsoleKit is a framework for defining and tracking users, login sessions, and seats."
2LICENSE = "GPLv2"
3DEPENDS = "dbus"
4
5inherit gnome
6
7SRC_URI = "http://people.freedesktop.org/~mccann/dist/ConsoleKit-${PV}.tar.bz2 \
8 file://nopolkit.patch;patch=1"
9S = "${WORKDIR}/ConsoleKit-${PV}"
10
11do_stage () {
12 autotools_stage_all
13}
14
15FILES_${PN} += "${libdir}/ConsoleKit ${datadir}/dbus-1 ${datadir}/PolicyKit"
16
17
18
19
diff --git a/meta-moblin/packages/consolekit/files/nopolkit.patch b/meta-moblin/packages/consolekit/files/nopolkit.patch
new file mode 100644
index 0000000000..bebbcaffff
--- /dev/null
+++ b/meta-moblin/packages/consolekit/files/nopolkit.patch
@@ -0,0 +1,16 @@
1Index: ConsoleKit-0.3.0/configure.ac
2===================================================================
3--- ConsoleKit-0.3.0.orig/configure.ac 2009-05-22 12:53:27.000000000 +0100
4+++ ConsoleKit-0.3.0/configure.ac 2009-05-22 12:53:56.000000000 +0100
5@@ -55,10 +55,7 @@
6 gthread-2.0 >= $GLIB_REQUIRED_VERSION
7 )
8
9-PKG_CHECK_MODULES(POLKIT,
10- polkit >= $POLKIT_REQUIRED_VERSION,
11- have_polkit=yes,
12- have_polkit=no)
13+have_polkit=no
14 if test "x$have_polkit" = "xyes" ; then
15 AC_DEFINE(HAVE_POLKIT, [], [Define if we have polkit])
16 fi