You are not logged in.

#1 2005-06-20 11:45:54

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

new gkrellm2-batteries plugin

Can some people try this out?  It segfaults on me

# Contributor: dibblethewrecker .at. jiwe .dot. org

pkgname=gkrellm2-batteries
pkgver=1.0.1
pkgrel=1
pkgdesc="ACPI battery monitor plugin as an alternative to the gkrellm builtin battery monitor"
depends=('gkrellm' 'curl')
source=(http://members.dslextreme.com/users/billw/gkrellm/Plugins/$pkgname-$pkgver.tar.gz)
url="http://members.dslextreme.com/users/billw/gkrellm/Plugins.html#PAVLOVSKY"
md5sums=('5f52f1645f2834a7b1351aba880327e5')

build() {
  cd $startdir/src/$pkgname-$pkgver
  rm gkrellm2-batteries.so
  make || return 1
  install -D -m755 gkrellm2-batteries.so 
      $startdir/pkg/usr/lib/gkrellm2/plugins/gkrellm2-batteries.so
}
# vim: ts=2 sw=2 et ft=sh

Offline

#2 2005-06-23 00:26:04

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: new gkrellm2-batteries plugin

 build() { 
  cd $startdir/src/$pkgname-$pkgver 
  make || return 1 
install -D -c -s -m 644 gkrellm2-batteries.so $startdir/pkg/~/.gkrellm2/plugins/gkrellm2-batteries.so
 } 
 # vim: ts=2 sw=2 et ft=sh

:?:

Offline

#3 2005-06-23 09:17:37

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: new gkrellm2-batteries plugin

Um - Penguin?  What's that dude?

Offline

#4 2005-06-23 09:23:36

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: new gkrellm2-batteries plugin

that was the part I had to change to get it to build.

Offline

#5 2005-06-23 10:00:24

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: new gkrellm2-batteries plugin

weird!  it built fine for me!  it just segfaulted when i ran it!

Offline

#6 2005-06-23 17:09:56

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: new gkrellm2-batteries plugin

Dibble, it works fine for me...

 rm gkrellm2-batteries.so

I completely overlooked that in your PKGBUILD :oops: and looked at the makefile to come up with what I had.
Your PKGBUILD works, and no segfaulting here  smile

Offline

#7 2005-06-23 18:43:17

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: new gkrellm2-batteries plugin

shit - i wonder what it is then?

Offline

#8 2005-06-23 18:56:20

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: new gkrellm2-batteries plugin

Maybe an overlooked dependency I already have installed but you don't?

Offline

#9 2005-06-23 19:07:20

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: new gkrellm2-batteries plugin

i just added you as an IM buddy - if you get a pacman -Qs i'll diff my against it and see what you got that I don't

Offline

#10 2005-06-23 19:12:08

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: new gkrellm2-batteries plugin

I just tried this line in the build section which also works:

install -D -c -s -m644 gkrellm2-batteries.so $startdir/pkg/usr/lib/gkrellm2/plugins/gkrellm2-batteries.so

those are the options of the install command in the makefile too...

Offline

Board footer

Powered by FluxBB