Import notification-daemon-0.7.1.

The Desktop Notifications framework provides a standard way of doing
passive pop-up notifications on the desktop. These are designed to
notify the user of something without interrupting their work with a
dialog box that they must close. Passive popups can automatically
disappear after a short period of time.

ok jasper@
This commit is contained in:
ajacoutot 2011-05-13 09:17:05 +00:00
parent 435ec2be06
commit d8bbc7546a
5 changed files with 111 additions and 0 deletions

View File

@ -0,0 +1,44 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/05/13 09:17:05 ajacoutot Exp $
COMMENT= send small notifications to your desktop
GNOME_VERSION= 0.7.1
GNOME_PROJECT= notification-daemon
CATEGORIES= sysutils net
HOMEPAGE= http://www.galago-project.org/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 c cairo
WANTLIB += cairo-gobject canberra canberra-gtk3 drm expat fontconfig
WANTLIB += freetype gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gthread-2.0 gtk-3 ltdl m ogg pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread
WANTLIB += pthread-stubs vorbis vorbisfile xcb xcb-render xcb-shm
WANTLIB += z
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= devel/libnotify>=0.7.2 \
devel/libtool,-ltdl \
devel/libwnck \
audio/libcanberra,-gtk3
RUN_DEPENDS= devel/desktop-file-utils
MODGCONF2_SCHEMAS_DIR= notification-daemon
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-dbus-sys="${SYSCONFDIR}/dbus-1/system.d"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (notification-daemon-0.7.1.tar.bz2) = bvadVqxyfo061p4avb6YxQ==
RMD160 (notification-daemon-0.7.1.tar.bz2) = MwxFVsAOaUZL4KDaa/x7w5FuSpw=
SHA1 (notification-daemon-0.7.1.tar.bz2) = 8gw+qjorIbaranJcg1Shq6b6ap4=
SHA256 (notification-daemon-0.7.1.tar.bz2) = 0mv5Ahs65wjTblVDdkKonWuBaT/jnSfF0eyGniJpe4s=
SIZE (notification-daemon-0.7.1.tar.bz2) = 318745

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-src_capplet_notification-properties_c,v 1.1.1.1 2011/05/13 09:17:05 ajacoutot Exp $
Fix with libnotify>=0.7
(notify_notification_new has lost its widget argument)
--- src/capplet/notification-properties.c.orig Tue Apr 19 10:27:47 2011
+++ src/capplet/notification-properties.c Tue Apr 19 10:28:14 2011
@@ -402,8 +402,7 @@ notification_properties_dialog_preview (NotificationAp
dialog->preview = notify_notification_new (_("Notification Test"),
_("Just a test"),
- "gnome-util",
- NULL);
+ "gnome-util");
if (!notify_notification_show (dialog->preview, &error)) {
char *message;

View File

@ -0,0 +1,5 @@
The Desktop Notifications framework provides a standard way of doing
passive pop-up notifications on the desktop. These are designed to
notify the user of something without interrupting their work with a
dialog box that they must close. Passive popups can automatically
disappear after a short period of time.

View File

@ -0,0 +1,40 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/05/13 09:17:05 ajacoutot Exp $
@conflict notification-daemon-xfce-*
@conflict xfce4-notifyd-*
@bin libexec/notification-daemon
share/applications/notification-daemon.desktop
share/locale/ar/LC_MESSAGES/notification-daemon.mo
share/locale/ca/LC_MESSAGES/notification-daemon.mo
share/locale/cs/LC_MESSAGES/notification-daemon.mo
share/locale/da/LC_MESSAGES/notification-daemon.mo
share/locale/de/LC_MESSAGES/notification-daemon.mo
share/locale/el/LC_MESSAGES/notification-daemon.mo
share/locale/eo/LC_MESSAGES/notification-daemon.mo
share/locale/es/LC_MESSAGES/notification-daemon.mo
share/locale/et/LC_MESSAGES/notification-daemon.mo
share/locale/fa/LC_MESSAGES/notification-daemon.mo
share/locale/fr/LC_MESSAGES/notification-daemon.mo
share/locale/gl/LC_MESSAGES/notification-daemon.mo
share/locale/he/LC_MESSAGES/notification-daemon.mo
share/locale/hu/LC_MESSAGES/notification-daemon.mo
share/locale/id/LC_MESSAGES/notification-daemon.mo
share/locale/it/LC_MESSAGES/notification-daemon.mo
share/locale/ja/LC_MESSAGES/notification-daemon.mo
share/locale/lt/LC_MESSAGES/notification-daemon.mo
share/locale/nb/LC_MESSAGES/notification-daemon.mo
share/locale/nl/LC_MESSAGES/notification-daemon.mo
share/locale/pa/LC_MESSAGES/notification-daemon.mo
share/locale/pl/LC_MESSAGES/notification-daemon.mo
share/locale/pt/LC_MESSAGES/notification-daemon.mo
share/locale/pt_BR/LC_MESSAGES/notification-daemon.mo
share/locale/ru/LC_MESSAGES/notification-daemon.mo
share/locale/sk/LC_MESSAGES/notification-daemon.mo
share/locale/sl/LC_MESSAGES/notification-daemon.mo
share/locale/sv/LC_MESSAGES/notification-daemon.mo
share/locale/ug/LC_MESSAGES/notification-daemon.mo
share/locale/uk/LC_MESSAGES/notification-daemon.mo
share/locale/zh_CN/LC_MESSAGES/notification-daemon.mo
share/locale/zh_HK/LC_MESSAGES/notification-daemon.mo
share/locale/zh_TW/LC_MESSAGES/notification-daemon.mo
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database