ConsoleKit: Difference between revisions

From CBLFS
Jump to navigationJump to search
No edit summary
 
Lunaryn (talk | contribs)
Page move due to compatibility-breaking version changes
 
(19 intermediate revisions by 3 users not shown)
Line 2: Line 2:
|-valign="top"
|-valign="top"
!Download Source:
!Download Source:
| http://people.freedesktop.org/~mccann/dist/console-kit-0.1.0.tar.gz
| http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-{{ConsoleKit-Version}}.tar.bz2
|}
|}


== Introduction to ConsoleKit ==
----


ConsoleKit is a system-wide service that tracks seats and sessions.
{{Package-Introduction|ConsoleKit is a system-wide service that tracks seats and sessions.|http://www.freedesktop.org/wiki/Software/ConsoleKit}}


== Dependencies ==
== Dependencies ==
Line 13: Line 13:
=== Required ===
=== Required ===
* [[D-BUS Glib]]
* [[D-BUS Glib]]
* [[X Window System]]
=== Optional ===
* [[xmlto]]
* [[Linux-PAM]]
* [[Polkit]]
== Configuration Information ==
If you would like to build the [[Linux-PAM]] module then pass the following to configure:
--enable-pam-module


== Non-Multilib ==
== Non-Multilib ==
Line 18: Line 30:
Compile the package:
Compile the package:


CPPFLAGS="-I$XORG_PREFIX/include" \
  ./configure --prefix=/usr --sysconfdir=/etc \
  ./configure --prefix=/usr --sysconfdir=/etc \
     --localstatedir=/var &&
     --localstatedir=/var --libexecdir=/usr/lib/ConsoleKit &&
  make
  make


Install the package
Install the package:


  make install
  make install
Line 33: Line 46:


  CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
  CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
CPPFLAGS="-I$XORG_PREFIX/include" \
  ./configure --prefix=/usr --sysconfdir=/etc \
  ./configure --prefix=/usr --sysconfdir=/etc \
     --localstatedir=/var &&
     --localstatedir=/var --libexecdir=/usr/lib/ConsoleKit &&
  make
  make


Install the package
Install the package:


  make install
  make install


=== N32 ===
=== N32 ===
Compile the package:
Compile the package:


  CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
  CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
  ./configure --prefix=/usr --sysconfdir=/etc \
CPPFLAGS="-I$XORG_PREFIX/include" \
     --localstatedir=/var &&
  ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32 \
     --localstatedir=/var --libexecdir=/usr/lib32/ConsoleKit \
    --with-pam-module-dir=/lib32/security &&
  make
  make


Install the package
Install the package:


  make install
  make install
Line 59: Line 74:


  CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
  CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
  ./configure --prefix=/usr --sysconfdir=/etc \
CPPFLAGS="-I$XORG_PREFIX/include" \
     --localstatedir=/var &&
  ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 \
     --localstatedir=/var --libexecdir=/usr/lib64/ConsoleKit \
    --with-pam-module-dir=/lib64/security &&
  make
  make


Install the package
Install the package:


  make install
  make install
== Configuration ==
=== Bootscript ===
Overwrite the bootscript that was installed with ConsoleKit with the following command:
cat > /etc/rc.d/init.d/ConsoleKit << "EOF"
#!/bin/sh
########################################################################
# Begin $rc_base/init.d/ConsoleKit
#
# Description :
#
# Authors    : Joe Ciccone <jciccone@linuxfromscratch.org>
#
# Version    : 00.01
#
# Notes      :
#
########################################################################
. /etc/sysconfig/rc
. ${rc_functions}
case "${1}" in
        start)
                boot_mesg "Starting ConsoleKit..."
                loadproc /usr/sbin/console-kit-daemon
                ;;
        stop)
                boot_mesg "Stopping ConsoleKit..."
                killproc /usr/sbin/console-kit-daemon
                ;;
        restart)
                ${0} stop
                sleep 1
                ${0} start
                ;;
        status)
                statusproc /usr/sbin/console-kit-daemon
                ;;
        *)
                echo "Usage: ${0} {start|stop|restart|status}"
                exit 1
                ;;
esac
# End $rc_base/init.d/ConsoleKit
EOF


= Contents =
= Contents =
Line 126: Line 89:
|-valign="top"
|-valign="top"
! Installed Programs:
! Installed Programs:
| console-kit-daemon
| ck-list-sessions console-kit-daemon
|-valign="top"
|-valign="top"
! Installed Libraries:
! Installed Libraries:
| None
| libck-connector.{so,a,la}
|-valign="top"
|-valign="top"
! Installed Directories:
! Installed Directories:
| None
| /usr/lib/ConsoleKit
|}
|}


=== Short Descriptions ===
[[Category:General Utilities]]
 
{| style="text-align: left;"
|-valign="top"
! console-kit-daemon
| ???
|}

Latest revision as of 13:13, 4 January 2010

Download Source: http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-0.4.1.tar.bz2

Introduction to ConsoleKit

ConsoleKit is a system-wide service that tracks seats and sessions.

Project Homepage: http://www.freedesktop.org/wiki/Software/ConsoleKit

Dependencies

Required

Optional

Configuration Information

If you would like to build the Linux-PAM module then pass the following to configure:

--enable-pam-module

Non-Multilib

Compile the package:

CPPFLAGS="-I$XORG_PREFIX/include" \
./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var --libexecdir=/usr/lib/ConsoleKit &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
CPPFLAGS="-I$XORG_PREFIX/include" \
./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var --libexecdir=/usr/lib/ConsoleKit &&
make

Install the package:

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
CPPFLAGS="-I$XORG_PREFIX/include" \
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32 \
    --localstatedir=/var --libexecdir=/usr/lib32/ConsoleKit \
    --with-pam-module-dir=/lib32/security &&
make

Install the package:

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
CPPFLAGS="-I$XORG_PREFIX/include" \
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 \
    --localstatedir=/var --libexecdir=/usr/lib64/ConsoleKit \
    --with-pam-module-dir=/lib64/security &&
make

Install the package:

make install

Contents

Installed Programs: ck-list-sessions console-kit-daemon
Installed Libraries: libck-connector.{so,a,la}
Installed Directories: /usr/lib/ConsoleKit