





















Thank you for your contribution! I've uploaded the fixed version now.
Fix for compilation error (shared upstream): too many arguments to function ‘notify_notification_new’ syslog-notify.patch http://pastebin.com/Pe3xXtah PKGBUILD: http://pastebin.com/1x4KZepW
# snippet for syslog-ng.conf # make a pipe for syslog-notify that can be used by members of the group "wheel" destination d_syslog_notify { pipe("/var/spool/syslog-notify" group("wheel") perm(0660)); }; log { source(src); destination(d_syslog_notify); };
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Contributor: Filipp "Scorp" Andjelo scorp@mailueberfall.de
pkgname=syslog-notify pkgver=0.2 pkgrel=2 pkgdesc="Pop-up display for system log messages" arch=('i686' 'x86_64') url="http://jtniehof.github.com/syslog-notify" license=('GPL') depends=('libnotify') install=${pkgname}.install source=(http://github.com/downloads/jtniehof/syslog-notify/${pkgname}-${pkgver}.tar.bz2)
${pkgname}.patch)
md5sums=(#'18474e11ceb0add6e8b70fe7680f0abf' #'3dc49b913d4ee1a00426fb993770084d' 'd8cdacb9296d45a558a135cc9d14660f')
build() { cd ${srcdir}/${pkgname}-${pkgver}
patch -p1 -i ${srcdir}/${pkgname}.patch
./configure --prefix=/usr make }
package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }
=== To use syslog-notify you must redirect syslog output to the pipe '/var/spool/syslog-notify'
Example for syslog-ng (add to /etc/syslog-ng.conf): destination d_syslog_notify { pipe("/var/spool/syslog-notify"); }; log { source(src); destination(d_syslog_notify); };
Consult the manual of the syslog daemon used on your system for accordant information