You are not logged in.
http://gaim-libnotify.sourceforge.net/
looks much nicer than guifications.
Offline
looks nice! if it's not too hard I'll make a PKGBUILD... it'll be a good exercise. I'm new to this so don't expec too much
You like cheese? You like peas? You'll love cheezy peas!
Offline
Offline
pkgname=gaim-libnotify
pkgver=0.8
pkgrel=1
pkgdesc="gaim plugin that adds a libnotify interface, enabling popups much like guifications"
url="http://gaim-libnotify.sourceforge.net/"
license="GPL"
depends=(gaim-cvs libnotify) #probably not enough! There was something about notify-daemon also
makedepends=() #maybe this needs pkgconfig, not sure
conflicts=()
replaces=()
backup=()
install=
source=(http://dl.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('6d1557a69cf7e9a882192b05f0a8a423')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
This is as far as I got. A fairly basic PGKBUILD... the ./configure goes allright, but then make complains:
ify.c;
then mv -f ".deps/gaim-libnotify.Tpo" ".deps/gaim-libnotify.Plo"; else rm -f ".deps/gaim-libnotify.Tpo"; exit 1; fi
gaim-libnotify.c: In function 'notify':
gaim-libnotify.c:271: error: too few arguments to function 'gaim_gtk_create_prpl_icon'
make[2]: *** [gaim-libnotify.lo] Error 1
make[2]: Leaving directory `/var/abs/local/gaim-libnotify/src/gaim-libnotify-0.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/gaim-libnotify/src/gaim-libnotify-0.8'
make: *** [all] Error 2
I found a website where they patch it though... but this was gaim-libnotify-0.6, so I'm not sure if that patch still applies (or is necessary, at all).
I might experiment a bit more with this later.
EDIT: this seems relevant, but it's in German:
https://konsumer.wordpress.com/2006/03/ … ify-amd64/
EDIT2: In #gaim, someone told me:
If you're trying to build a plugin for the beta, the plugin needs to have been fixed to build against the new plugin API.
I guess it will need a patch of some sort.
You like cheese? You like peas? You'll love cheezy peas!
Offline
I did a patch for guifications to work with the new beta api, I'll fix this one up soon. It's really quite simple. The problem with making this work with 2.0 is that then it can't be put into community until gaim is 2.0 in current. So this will have to stay on the aur for now.
PKGBUILD:
pkgname=gaim-libnotify
pkgver=0.8
pkgrel=1
pkgdesc="gaim plugin that adds a libnotify interface, enabling popups much like guifications"
url="http://gaim-libnotify.sourceforge.net/"
license="GPL"
depends=('gaim-cvs' 'libnotify' 'gtk2')
makedepends=() #maybe this needs pkgconfig, not sure
source=(http://dl.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
gaim-libnotify.patch )
md5sums=('6d1557a69cf7e9a882192b05f0a8a423' '167a08769926988096caf1dd36863e62')
build() {
cd $startdir/src/$pkgname-$pkgver
patch -p1 < ../gaim-libnotify.patch
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
find $startdir/pkg -name '*.la' -exec rm {} ;
}
gaim-libnotify.patch:
--- gaim-libnotify-0.8/src/gaim-libnotify.c 2006-03-10 18:28:38.000000000 -0500
+++ newgaim/src/gaim-libnotify.c 2006-04-06 17:21:02.000000000 -0400
@@ -268,7 +268,7 @@
if (buddy_icon) {
icon = pixbuf_from_buddy_icon (buddy_icon);
} else {
- icon = gaim_gtk_create_prpl_icon (buddy->account);
+ icon = gaim_gtk_create_prpl_icon (buddy->account, 1.0);
}
if (icon) {
It should work.[/code]
Offline
codemac: didnt work, got the same type of errors Sander did.
Offline