Difference between revisions of "PolicyKit"

From CBLFS
Jump to navigationJump to search
Line 11: Line 11:
 
* [[DBUS]] (With Glib Binding)
 
* [[DBUS]] (With Glib Binding)
 
* [[Glib2]]
 
* [[Glib2]]
 +
* [[Linux-Pam]]
 
=== Optional ===
 
=== Optional ===
 
* [[Gtk-Doc]]
 
* [[Gtk-Doc]]
Line 47: Line 48:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./autogen.sh --prefix=/usr \
+
  CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
    --sysconfdir=/etc --localstatedir=/var &&
+
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var &&
 
  make
 
  make
  
Line 59: Line 60:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./autogen.sh --prefix=/usr \
+
  CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
    --sysconfdir=/etc --localstatedir=/var \
+
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
 
     --libdir=/usr/lib32 &&
 
     --libdir=/usr/lib32 &&
 
  make
 
  make
Line 72: Line 73:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./autogen.sh --prefix=/usr \
+
  CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
    --sysconfdir=/etc --localstatedir=/var \
+
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
 
     --libdir=/usr/lib64 &&
 
     --libdir=/usr/lib64 &&
 
  make
 
  make

Revision as of 14:26, 3 October 2006

Download Source: (Not Released Yet)

Dependencies

Required

Optional

PolKit User/Group

groupadd -g 17 polkit &&
useradd -c "Policy Kit Daemon User" -d /dev/null \
        -u 17 -g messagebus -s /bin/false polkit

Getting the source

Check out the source from freedesktop.org:

git clone git://anongit.freedesktop.org/git/PolicyKit

It couldn't hurt to make a tarball so you have an unmodified source around for the future:

tar cvjf PolicyKit{.tar.bz2,}

Non-Multilib

Compile the package:

./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
    --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
    --libdir=/usr/lib64 &&
make

Install the package

make install
Retrieved from "?title=PolicyKit&oldid=2440"