Import claws-mail-notification, a notification plugin for the MUA claws-mail.

It can notify of new mails with a popup-window, execution of an user-set
command or a stocks ticker-like banner.
ok ajacoutot@ and jasper@
This commit is contained in:
landry 2007-10-30 13:01:47 +00:00
parent 79cb55ab5d
commit f5a8dd99bc
5 changed files with 84 additions and 0 deletions

View File

@ -0,0 +1,45 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/10/30 13:01:47 landry Exp $
SHARED_ONLY= Yes
COMMENT= notification plugin for Claws-mail
VERSION= 0.12.1
DISTNAME= notification_plugin-${VERSION}
PKGNAME= claws-mail-notification-${VERSION}
MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
CATEGORIES= mail
HOMEPAGE= http://www.claws-mail.org/plugin.php?plugin=notification
MAINTAINER= Landry Breuil <gaston@gcu.info>
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_X11= Yes
USE_LIBTOOL= Yes
LIBTOOL_FLAGS= --tag=disable-static
MODULES= devel/gettext
LIB_DEPENDS= notify.>=2::devel/libnotify
RUN_DEPENDS= ::mail/claws-mail
BUILD_DEPENDS= ${RUN_DEPENDS}
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
Xi Xinerama Xrandr Xrender atk-1.0 cairo dbus-1 dbus-glib-1 \
expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 \
glib-2.0 glitz gmodule-2.0 gobject-2.0 gtk-x11-2.0 \
m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre png z
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-static
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (notification_plugin-0.12.1.tar.gz) = i2vDtGYbmUom/GRWtMAepQ==
RMD160 (notification_plugin-0.12.1.tar.gz) = lRr+VVbLqqlwOBASM5QGoqeX/qg=
SHA1 (notification_plugin-0.12.1.tar.gz) = Bjf28IN6ttpTXLg0OJLC0a8qIdw=
SHA256 (notification_plugin-0.12.1.tar.gz) = ZJSzbVcQK5bC5/vCzPoHo23ovKYj7xu6m19AiOhB7Ks=
SIZE (notification_plugin-0.12.1.tar.gz) = 460042

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-configure,v 1.1.1.1 2007/10/30 13:01:47 landry Exp $
--- configure.orig Mon Oct 22 17:43:00 2007
+++ configure Mon Oct 22 17:44:05 2007
@@ -23989,10 +23989,10 @@ XGETTEXT!$XGETTEXT$ac_delim
XGETTEXT_015!$XGETTEXT_015$ac_delim
MSGMERGE!$MSGMERGE$ac_delim
INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
-LIBICONV!$LIBICONV$ac_delim
+LIBICONV!$LTLIBICONV$ac_delim
LTLIBICONV!$LTLIBICONV$ac_delim
-INTLLIBS!$INTLLIBS$ac_delim
-LIBINTL!$LIBINTL$ac_delim
+INTLLIBS!$LTLIBINTL$ac_delim
+LIBINTL!$LTLIBINTL$ac_delim
LTLIBINTL!$LTLIBINTL$ac_delim
POSUB!$POSUB$ac_delim
GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim

View File

@ -0,0 +1,8 @@
The Notification plugin provides various ways to notify the user of new
and possibly unread mail.
Currently, the following modules are implemented:
* A system tray icon, optionally with popup on new mail arrival
* A popup window using devel/libnotify
* A mail banner (stocks ticker-like widget)
* Support for a command to be issued on new mail arrival
* Support for displaying mail status on a LCD

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/10/30 13:01:47 landry Exp $
lib/claws-mail/plugins/notification_plugin.la
lib/claws-mail/plugins/notification_plugin.so
share/locale/ca/LC_MESSAGES/notification_plugin.mo
share/locale/cs/LC_MESSAGES/notification_plugin.mo
share/locale/fi/LC_MESSAGES/notification_plugin.mo
share/locale/hu/LC_MESSAGES/notification_plugin.mo
share/locale/pt_BR/LC_MESSAGES/notification_plugin.mo
share/locale/zh_CN/LC_MESSAGES/notification_plugin.mo