Commit Graph

23 Commits

Author SHA1 Message Date
Jonathan Liu c60886f9f5 consolekit: fix console-kit-log-system-start.service startup
console-kit-log-system-start.service fails to to start if the
/var/log/ConsoleKit directory does not exist. Normally it is created
automatically but as we mount a tmpfs at /var/log, we need to add
a tmpfiles.d entry to create it.

(From OE-Core master rev: 2a9a14bf400fe0c263c58aa85b02aba7311b1328)

(From OE-Core rev: 305da37a4dc0fba2b8f3219cfae47a1d4228f244)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-24 11:05:31 +01:00
Saul Wold 577c42eb92 consolekit: Update to 0.4.6
(From OE-Core rev: 6faa9c4e139cd1cf3feaef18cdd6c4c9d4f8173a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-29 13:09:02 +01:00
Jonathan Liu aa6408b05c consolekit: remove /var/run from package
The /var/run/ConsoleKit directory doesn't need to be included in the
package as it is created by console-kit-daemon if it doesn't exist.
The /var/run directory is already created by base-files.

(From OE-Core rev: a433b86d15321d5061f7bdb9a0f1b4d58de2129c)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-29 22:07:58 +01:00
Richard Purdie 8593ead5ef consolekit: Fix ${S} != ${B} issues with pam enabled
When pam is enabled an extra plugin is build and it references an incorrect directory
when separate build directories are used. This patch corrects the issue.

(From OE-Core rev: a6e91db198ae5b77986de25331631d894c7b97d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 11:41:30 +01:00
Ross Burton 403d969678 consolekit: don't inherit gnome
By inheriting gnome this package was build-depending on
gtk-update-icon-cache-native, gconf, gconf-native, shared-mime-info and
hicolor-icon-theme for no reason.  Change this to inherit autotools pkgconfig to
reduce the build-dependencies.

Also, add a missing dbus-glib build-dependency that was previously pulled in
through something in the gnome class.

(From OE-Core rev: bde2c0ab1500976e2cb50f1526df04fb8b2cd408)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22 16:54:38 +00:00
Ross Burton fe614b1dce consolekit: make policykit an option, and disable by default
Make PolicyKit usage a PACKAGECONFIG option, and disable it by default.  Also
migrate pam to use PACKAGECONFIG, and add systemd too.

ConsoleKit doesn't currently have an option to force this on or off, so rely on
a build-dependency for now.

(From OE-Core rev: ead060e668b0073f304a696f3fba9dbe24869f90)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-10 04:36:51 +00:00
Constantin Musca bf6c100ff3 consolekit: add arch independent unpackaged files
Fix the following warning:

WARNING: QA Issue: consolekit: Files/directories were installed but not shipped
  /usr/lib
  /usr/lib/ConsoleKit
  /usr/lib/ConsoleKit/run-seat.d
  /usr/lib/ConsoleKit/scripts
  /usr/lib/ConsoleKit/run-session.d
  /usr/lib/ConsoleKit/scripts/ck-system-restart
  /usr/lib/ConsoleKit/scripts/ck-system-stop

(From OE-Core rev: 98ef35b319320ac9530e31926ad18d5f5ecd87db)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-04 16:42:50 +00:00
Khem Raj e4410b5658 consolekit_0.4.5.bb: Package unpackaged systemd files
(From OE-Core rev: 8ac35f3bba5d00549f5255acf17a8be914402d50)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-20 12:58:57 +00:00
Andreas Müller 961b149496 consolekit: use systemd_unitdir
(From OE-Core rev: 9c52e4b8d4ea63177558a096477b23e8f907ba8e)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-22 16:47:08 +00:00
Andreas Oberritter d27351a2c2 consolekit: depend on libx11
* Fixes the following error at configure time:

|checking for TOOLS... no
|configure: error: Package requirements (x11 >= 1.0.0
|  glib-2.0 >= 2.14
|) were not met:
|
|No package 'x11' found

(From OE-Core rev: e5c60517a22997bb966bbe21a2d7cbc99a97b42b)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-21 17:59:39 +00:00
Khem Raj 7d9ac1db13 gconf,consolekit: Avoid polkit when compiling with uclibc
polkit uses netdb functionality from glibc which is not
available in uclibc therefore we avoid polkit when compiling
for uclibc systems.

(From OE-Core rev: 7eae02f47a08587cf5be3d39df0184cf346cbaea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-08 00:50:28 +00:00
Richard Purdie f340e3937f consolekit: Fix ${localstatedir} race
The change adding ${localstatedir}/log to the package caused failures
on meta-toolchain-gmae builds since ${localstatedir} might be a
symlink and it can be installation order dependent.

By adding in the RDEPENDS, we defer to base-files to ensure
the layout is correct and that packages install correctly.

(From OE-Core rev: 8ed16b26dfefac4b42766b9f7090bb3b76110fe3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-30 23:00:25 +00:00
Koen Kooi 15dd02aefe consolekit: package /var/log/Consolekit
This fixes startup issues like this:

2011-11-30T09:02:10+01:00 beaglebone ck-log-system-start[91]: ** (process:91): WARNING **: Couldn't create log file /var/log/ConsoleKit/history (No such file or directory)

(From OE-Core rev: 5608a748af2c754f60137ab7c3010ccce6bf9e40)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-30 15:15:09 +00:00
Koen Kooi 14f3bab4d1 consolekit 0.4.5: fix PAM installation dir
(From OE-Core rev: b4c23fce3eadaff8fc621d38759d493cd03cc131)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-22 11:56:51 +01:00
Khem Raj ffc7ca72c5 consolekit: Add glib-2.0 to DEPENDS
Otherwise it ends up with this error
| configure: error: Package requirements (dbus-glib-1 >= 0.82
|   gobject-2.0 >= 2.14
|   gthread-2.0 >= 2.14
| ) were not met:
|
| No package 'gobject-2.0' found
| No package 'gthread-2.0' found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.

(From OE-Core rev: c4eb1e7659a7f9f2791f1fdd5b0b22e7a5e423b0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01 23:27:25 +01:00
Koen Kooi c1fd6f0c53 consolekit 0.4.5: remove patch that forcibly disables consolekit
Polkit support is actually needed for consolekit to function properly, without you get things like:

	** (gnome-panel:547): WARNING **: Could not ask session manager if shut down is available: Timeout was reached

Various applications will timeout and less well written ones will crash (e.g. the clock applet).

(From OE-Core rev: eb828308b8e721e4ad7edbd15f47ecad22ee81cf)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:57:07 +01:00
Koen Kooi c3acb9ca8e consolekit 0.4.5: add pam support based on distro features
(From OE-Core rev: 6b28a9f73773890e70fb4dc570520b5be060a919)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:57:07 +01:00
Koen Kooi 67119c5a2d consolekit: update to 0.4.5
(From OE-Core rev: 3c5009a0d19c8e27d3687e27880d5c1088086adc)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:29 +01:00
Zhai Edwin d95246309f consolekit: Upgrade to 0.4.4 (from 0.4.3)
(From OE-Core rev: 115099178ed68105bd5719348b4ea0baef4ade80)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-24 22:48:28 +01:00
Saul Wold 3d08b9f2c6 SRC_URI Checksums Additionals
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-09 08:18:17 -08:00
Zhai Edwin f49a3c4944 consolekit: Update to 0.4.3
Rebased nopolkit.patch.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-12-06 22:02:24 +00:00
Mei Lei 76ca305fcb consolekit:Add license checksum to bb file
Add COPYING file checksum to bb file

Signed-off-by: Mei Lei <lei.mei@intel.com>
2010-12-02 05:24:45 -08:00
Saul Wold cfe12efb5e Meta: Recipe Reogranization
This is the next stage of recipe reorganization, in this stage
many recipes where moved to a new meta-demoapps layer since this
is more appropriate for demo usage then the core. Additional some
recipes were moved to meta-extras to indicate they may be depercated
at a future time.

A number of recipes were modified since dependencies need to be
corrected.

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-11-22 13:57:13 +00:00