You are not logged in.

#1 2008-04-08 19:39:01

dante
Member
Registered: 2007-06-08
Posts: 38

pm-utils 1.1.0 with s2disk/s2ram support

Hi,

pm-utils 1.1.0 is out and has support for s2disk/s2ram, which is very cool cool Has anybody a woorking PKGBUILD for that new version? Package in extra is still the old version mad

dante


"Lasciate ogni speranza, voi ch' entrate"
- Laßt jede Hoffnung hinter euch, ihr, die ihr eintretet -

Dante Alighieri

Offline

#2 2008-04-08 20:28:16

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: pm-utils 1.1.0 with s2disk/s2ram support

I provide pm-utils-opensuse 0.99 with s2disk s2ram support on AUR.

Offline

#3 2008-04-10 12:05:29

dante
Member
Registered: 2007-06-08
Posts: 38

Re: pm-utils 1.1.0 with s2disk/s2ram support

SpookyET, thanks for your help. But I took the original PKGBUILD from extra, modified it with the new package from pm-utils and removed the former patches. I don't know if it's working for everybody, but for me it's fine wink So copy the original files from abs and use the new PKGBUILD.

#$Id: PKGBUILD,v 1.4 2007/12/26 14:07:40 jgc Exp $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=pm-utils
pkgver=1.1.0
pkgrel=1
pkgdesc="Utilities and scripts for power management"
arch=('i686' 'x86_64')
url="http://pm-utils.freedesktop.org"
license=('GPL')
depends=('glibc' 'vbetool' 'procps')
install=pm-utils.install
source=(http://pm-utils.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
    pm-utils-0.99.3-cfg.patch
    no-usleep.patch
    service.patch
    11netcfg)

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  #patch -Np1 -i ${startdir}/src/pm-utils-0.99.3-cfg.patch || return 1
  #patch -Np1 -i ${startdir}/src/no-usleep.patch || return 1
  #patch -Np0 -i ${startdir}/src/service.patch || return 1
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1

  #Remove unsupported hooks
  rm -f ${startdir}/pkg/usr/lib/pm-utils/sleep.d/60sysfont || return 1

  #Install additional hooks
  install -m755 ${startdir}/src/11netcfg ${startdir}/pkg/usr/lib/pm-utils/sleep.d/11netcfg || return 1
}


"Lasciate ogni speranza, voi ch' entrate"
- Laßt jede Hoffnung hinter euch, ihr, die ihr eintretet -

Dante Alighieri

Offline

#4 2008-04-18 15:43:29

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: pm-utils 1.1.0 with s2disk/s2ram support

The patches are needed. It does not work properly without.

Last edited by SpookyET (2008-04-18 15:52:19)

Offline

Board footer

Powered by FluxBB