Difference between revisions of "GNOME Power Manager"

From CBLFS
Jump to navigationJump to search
 
(4 intermediate revisions by 2 users not shown)
Line 6: Line 6:
  
 
----
 
----
 +
 +
{{Blank-Package-Introduction}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 13: Line 15:
 
* [[libwnck]]
 
* [[libwnck]]
 
* [[D-BUS Glib]]
 
* [[D-BUS Glib]]
 +
* [[DeviceKit]]
 
=== Recommended ===
 
=== Recommended ===
 
* [[PolicyKit]]
 
* [[PolicyKit]]
 +
* [[DeviceKit-power]]
 
=== Optional ===
 
=== Optional ===
 
* [[xmlto]]
 
* [[xmlto]]
 
* [[libnotify]]
 
* [[libnotify]]
 
* [[DocBook Utils]]
 
* [[DocBook Utils]]
 +
* [[GtkUnique]]
  
 
== Configuration Information ==
 
== Configuration Information ==
Line 31: Line 36:
  
 
  ./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
 
  ./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
     --localstatedir=/var/lib --with-dbus-sys=/etc/dbus-1/system.d \
+
     --localstatedir=/var/lib --libexecdir=${GNOME_PREFIX}/lib/gnome-power-manager --enable-policykit &&
    --enable-policykit &&
 
 
  make
 
  make
  
Line 49: Line 53:
 
  CC="gcc ${BUILD32}" USE_ARCH=32 \
 
  CC="gcc ${BUILD32}" USE_ARCH=32 \
 
  ./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
 
  ./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
     --localstatedir=/var/lib --with-dbus-sys=/etc/dbus-1/system.d \
+
     --localstatedir=/var/lib --libexecdir=${GNOME_PREFIX}/lib/gnome-power-manager --enable-policykit &&
    --with-dbus-sys=/etc/dbus-1/system.d --enable-policykit &&
 
 
  make
 
  make
  
Line 65: Line 68:
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 \
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 \
 
  ./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
 
  ./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
     --localstatedir=/var/lib --with-dbus-sys=/etc/dbus-1/system.d \
+
     --localstatedir=/var/lib --libexecdir=${GNOME_PREFIX}/lib/gnome-power-manager --enable-policykit &&
    --with-dbus-sys=/etc/dbus-1/system.d --enable-policykit &&
 
 
  make
 
  make
  
Line 81: Line 83:
 
  CC="gcc ${BUILD64}" USE_ARCH=64 \
 
  CC="gcc ${BUILD64}" USE_ARCH=64 \
 
  ./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
 
  ./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
     --localstatedir=/var/lib --with-dbus-sys=/etc/dbus-1/system.d \
+
     --localstatedir=/var/lib --libexecdir=${GNOME_PREFIX}/lib/gnome-power-manager --enable-policykit &&
    --with-dbus-sys=/etc/dbus-1/system.d --enable-policykit &&
 
 
  make
 
  make
  

Latest revision as of 10:13, 28 March 2009

Download Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-power-manager/2.26/gnome-power-manager-2.26.4.tar.bz2

Introduction to GNOME Power Manager

Project Homepage: Unknown

Dependencies

Required

Recommended

Optional

Configuration Information

If you do not have PolicyKit installed remove the following from the configure command:

--enable-policykit

Non-Multilib

Compile the package:

./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
    --localstatedir=/var/lib --libexecdir=${GNOME_PREFIX}/lib/gnome-power-manager --enable-policykit &&
make

Install the package

make install

Multilib

This package does not install any libraries so only one installation is needed.

32Bit

Compile the package:

export PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" &&
CC="gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
    --localstatedir=/var/lib --libexecdir=${GNOME_PREFIX}/lib/gnome-power-manager --enable-policykit &&
make

Install the package

make install &&
unset PKG_CONFIG_PATH

N32

Compile the package:

export PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" &&
CC="gcc ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
    --localstatedir=/var/lib --libexecdir=${GNOME_PREFIX}/lib/gnome-power-manager --enable-policykit &&
make

Install the package

make install &&
unset PKG_CONFIG_PATH

64Bit

Compile the package:

export PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" &&
CC="gcc ${BUILD64}" USE_ARCH=64 \
./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
    --localstatedir=/var/lib --libexecdir=${GNOME_PREFIX}/lib/gnome-power-manager --enable-policykit &&
make

Install the package

make install &&
unset PKG_CONFIG_PATH