You are not logged in.

#1 2007-02-19 20:15:00

Husio
Member
From: Europe
Registered: 2005-12-04
Posts: 359
Website

[PKGBUILD] Conky-1.4.5 with bmpx support

I whant to compile conky with bmpx support so I've just added --enable-bmpx, so it looks like this:

# Maintainer: Eric Belanger <belanger@astro.umontreal.ca>
# Contributor: MrGreen <mrgreen.linuxuser@gmail.com>

pkgname=conky
pkgver=1.4.5
pkgrel=1
pkgdesc="Conky is an advanced, highly configurable system monitor for X based on torsmo"
arch=(i686 x86_64)
url="http://conky.sourceforge.net/"
license="custom"
replaces=('torsmo')
depends=('libxext' 'libsm' 'libxft' 'glib2' 'libxdamage')
source=(http://optusnet.dl.sourceforge.net/sourceforge/conky/$pkgname-$pkgver.tar.bz2)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --enable-xft --enable-bmpx --enable-mpd --enable-double-buffer --enable-proc-uptime --enable-seti 
  make || return 1
  make DESTDIR=$startdir/pkg install
  install -D -m644 doc/conkyrc.sample $startdir/pkg/etc/conkyrc.sample
  install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
}
md5sums=('4625c052852f2919a5e7ce2eb7c31189')

and I'm getting:

conky.h:341:33: error: X11/extensions/Xdbe.h: No such file or directory
In file included from bmpx.c:14:
conky.h:369: error: expected specifier-qualifier-list before 'XdbeBackBuffer'
bmpx.c: In function 'update_bmpx':
bmpx.c:85: warning: assignment discards qualifiers from pointer target type
make[2]: *** [bmpx.o] Error 1

In README file there's info that:
       For  users  compiling from source, make sure you have the X development
       libraries installed.  This should be  a  package  along  the  lines  of
       "libx11-dev or xorg-x11-dev".

but no such package in repo.

Offline

#2 2007-02-20 03:25:51

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [PKGBUILD] Conky-1.4.5 with bmpx support

install  xextproto

Offline

#3 2007-02-20 07:31:54

Husio
Member
From: Europe
Registered: 2005-12-04
Posts: 359
Website

Re: [PKGBUILD] Conky-1.4.5 with bmpx support

/usr/include/X11/extensions/Xfixes.h:48:39: error: X11/extensions/xfixeswire.h: No such file or directory
In file included from conky.c:30:
/usr/include/X11/extensions/Xdamage.h:64: error: expected declaration specifiers or '...' before 'XserverRegion'
/usr/include/X11/extensions/Xdamage.h:64: error: expected declaration specifiers or '...' before 'XserverRegion'
conky.c: In function 'main_loop':
conky.c:5688: error: 'XserverRegion' undeclared (first use in this function)
conky.c:5688: error: (Each undeclared identifier is reported only once
conky.c:5688: error: for each function it appears in.)
conky.c:5688: error: expected ';' before 'region2'
conky.c:5689: error: expected ';' before 'part'
conky.c:5907: warning: implicit declaration of function 'XFixesSetRegion'
conky.c:5907: error: 'part' undeclared (first use in this function)
conky.c:5908: warning: implicit declaration of function 'XFixesUnionRegion'
conky.c:5908: error: 'region2' undeclared (first use in this function)
conky.c:5915: error: too many arguments to function 'XDamageSubtract'
conky.c:5992: warning: implicit declaration of function 'XFixesDestroyRegion'

what now?

Offline

#4 2007-02-20 08:05:28

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [PKGBUILD] Conky-1.4.5 with bmpx support

install fixesproto

Offline

#5 2007-02-20 08:10:56

Husio
Member
From: Europe
Registered: 2005-12-04
Posts: 359
Website

Re: [PKGBUILD] Conky-1.4.5 with bmpx support

Now it's ok, thanks for help.

### edit
omg, conky is starting bmpx and closing itself ;/ here's the log:

Conky: BMPx error 3: Method "GetCurrentTrack" with signature "" on interface "org.beepmediaplayer.bmp" doesn't exist
Conky: desktop window (3a) is root window
Conky: window type - desktop
Conky: drawing to created window (600002)
Conky: drawing to double buffer
Conky: BMPx error 3: Method "GetCurrentTrack" with signature "" on interface "org.beepmediaplayer.bmp" doesn't exist
*** glibc detected *** conky: munmap_chunk(): invalid pointer: 0x08063516 ***

Maybe someone has conky package with mpd and bmpx support ?

Last edited by Husio (2007-02-20 08:16:39)

Offline

Board footer

Powered by FluxBB