You are not logged in.

#1 2006-04-21 08:21:43

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

where did gnome-power-manager go??

where did gnome-power-manager go? I just reinstalled my archlinux and gnome but couldnt find gnome-power-manager., how come its no longer in pacman?


The ultimate Archlinux release name: "I am your father"

Offline

#2 2006-04-21 10:02:11

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: where did gnome-power-manager go??

I guess it never was in an official repository. It's in AUR though: http://aur.archlinux.org/packages.php?d … er-manager

Offline

#3 2006-04-21 10:06:40

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: where did gnome-power-manager go??

the aur package is way to old.. I think I added waels server and he had it. anyway I will manually install the latest since I dont know yet how to make PKGBUILDS.. the latest was released 06 april. called gnome-power-manager 2.15.0

Cheers
Jinn


The ultimate Archlinux release name: "I am your father"

Offline

#4 2006-04-21 10:35:38

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: where did gnome-power-manager go??

Flag package out of date so that the maintainer knows it.
Making a PKGBUILD is really not that hard. You can just use the gnome-power-manager PKGBUILD from the AUR and ajust the source array, remove the md5sums and you should be done. The build part is basically the same as building from source.

Offline

#5 2006-04-21 14:28:39

Blaasvis
Member
Registered: 2003-01-17
Posts: 467

Re: where did gnome-power-manager go??

do not flag it for 2.15.0 it is the new gnome dev cycle wink


Freedom is what i love

Offline

#6 2006-04-21 15:14:09

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: where did gnome-power-manager go??

edited maro's pkgbuild and install files. installs just fine, but havent been able to run it properly. I get this error:

>sudo gnome-power-manager
"This program cannot start until you start the dbus session service.

This is usually started automatically in X or gnome startup when you start a new session.

You can launch the session dbus-daemon manually with this command:

eval `dbus-launch --auto-syntax`"

pkgbuild

# $Id: $
# Maintainer: maro <maro>
pkgname=gnome-power-manager
pkgver=2.15.0
pkgrel=1
pkgdesc="Session daemon that makes it easy to manage your laptop or desktop system."
url="http://www.gnome.org/projects/gnome-power-manager/"
license=""
depends=('hal' 'libgnomeui' 'libnotify' 'libwnck')
makedepends=('gettext' 'intltool')
install=gnome-power-manager.install
source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-power-manager/2.15/$pkgname-$pkgver.tar.gz)
md5sums=('ad63f2e3be1f779eb2045750186508c7')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/opt/gnome --disable-schemas-install 
    --with-dbus-sys=/etc/dbus-1/system.d 
    --with-dbus-services=/usr/share/dbus-1/services
  make || return 1
  make DESTDIR=$startdir/pkg install
}

gnome-power-manager.install

pkgname=gnome-power-manager

post_install() {
  schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)

  export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
  for schema in "${schemas[@]}" ; do
    opt/gnome/bin/gconftool-2 --makefile-install-rule "$schema" >/dev/null 2>&1
  done

  kill -s HUP `pidof /opt/gnome/bin/gconfd-2` > /dev/null 2>&1
  update-desktop-database -q
}

pre_upgrade() {
  pre_remove $1
}

post_upgrade() {
  post_install $1
}

pre_remove() {
  schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)

  export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
  for schema in "${schemas[@]}" ; do
    opt/gnome/bin/gconftool-2 --makefile-uninstall-rule "$schema" >/dev/null 2>&1
  done

  kill -s HUP `pidof /opt/gnome/bin/gconfd-2` >/dev/null 2>&1
}

post_remove() {
  update-desktop-database -q
}

op=$1
shift

$op $*

I used to run with startx and .xinitrc: exec dbus-launch gnome-session
but now I am running gdm.. how do I tell gdm to do that??


The ultimate Archlinux release name: "I am your father"

Offline

#7 2006-04-21 16:53:40

paulicat
Member
Registered: 2005-02-09
Posts: 40

Re: where did gnome-power-manager go??

Add "dbus hal" (without the quotes) to your daemons array in /etc/rc.conf

Offline

#8 2006-04-21 17:08:37

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: where did gnome-power-manager go??

thanx paulicat!

I had already put dbus there.. but had forgot about hal.. thanks again. working sweet!


The ultimate Archlinux release name: "I am your father"

Offline

#9 2006-04-21 17:25:25

paulicat
Member
Registered: 2005-02-09
Posts: 40

Re: where did gnome-power-manager go??

Cheers, glad I could help out.

Offline

#10 2006-04-22 20:43:33

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: where did gnome-power-manager go??

Blaasvis wrote:

do not flag it for 2.15.0 it is the new gnome dev cycle wink

yeah I know, but it should be flagged out of date for 2.14.1 wink

http://ftp.gnome.org/pub/GNOME/sources/ … ager/2.14/

Offline

Board footer

Powered by FluxBB