aboutsummaryrefslogtreecommitdiff
path: root/deskutils/notification-daemon
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-08-31 21:30:50 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-08-31 21:30:50 +0000
commitc59fdfc05e81d6421107a37cc1dea5c96cb39084 (patch)
treeead1d8ab25bc6624f162eb1de6a168dc4de75f7c /deskutils/notification-daemon
parent6748283c63d5ddad0ce1e6fa714eaa760cbaed9c (diff)
downloadports-c59fdfc05e81d6421107a37cc1dea5c96cb39084.tar.gz
ports-c59fdfc05e81d6421107a37cc1dea5c96cb39084.zip
- Update to 0.2.2
PR: ports/85524 Submitted by: Andreas Kohn <andreas@syndrom23.de> (maintainer)
Notes
Notes: svn path=/head/; revision=141634
Diffstat (limited to 'deskutils/notification-daemon')
-rw-r--r--deskutils/notification-daemon/Makefile11
-rw-r--r--deskutils/notification-daemon/distinfo4
-rw-r--r--deskutils/notification-daemon/files/extra-patch-src-main.cc10
-rw-r--r--deskutils/notification-daemon/files/patch-src-Notification.hh10
-rw-r--r--deskutils/notification-daemon/pkg-plist1
5 files changed, 31 insertions, 5 deletions
diff --git a/deskutils/notification-daemon/Makefile b/deskutils/notification-daemon/Makefile
index fdbc91b71178..cbbe693d4b96 100644
--- a/deskutils/notification-daemon/Makefile
+++ b/deskutils/notification-daemon/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= notification-daemon
-PORTVERSION= 0.2.1
-PORTREVISION= 1
+PORTVERSION= 0.2.2
CATEGORIES= deskutils gnome
MASTER_SITES= http://www.galago.info/files/releases/source/notification-daemon/
@@ -22,4 +21,10 @@ USE_LIBTOOL_VER=15
USE_GMAKE= yes
CONFIGURE_ARGS= --with-dbus-services=${PREFIX}/share/dbus-1/services
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+EXTRA_PATCHES= ${FILESDIR}/extra-patch-src-main.cc
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/deskutils/notification-daemon/distinfo b/deskutils/notification-daemon/distinfo
index 313c1cd32770..b95a0680f9e1 100644
--- a/deskutils/notification-daemon/distinfo
+++ b/deskutils/notification-daemon/distinfo
@@ -1,2 +1,2 @@
-MD5 (notification-daemon-0.2.1.tar.gz) = 7aa30632a180777c6a75e987bb411b5e
-SIZE (notification-daemon-0.2.1.tar.gz) = 161451
+MD5 (notification-daemon-0.2.2.tar.gz) = 056043b929eeaa2f1217e2fbd014745c
+SIZE (notification-daemon-0.2.2.tar.gz) = 162023
diff --git a/deskutils/notification-daemon/files/extra-patch-src-main.cc b/deskutils/notification-daemon/files/extra-patch-src-main.cc
new file mode 100644
index 000000000000..80b59cc6f02b
--- /dev/null
+++ b/deskutils/notification-daemon/files/extra-patch-src-main.cc
@@ -0,0 +1,10 @@
+--- src/main.cc.orig Wed Aug 10 10:43:56 2005
++++ src/main.cc Wed Aug 31 23:25:36 2005
+@@ -622,7 +622,6 @@
+ int
+ main(int argc, char **argv)
+ {
+- std::set_terminate(__gnu_cxx::__verbose_terminate_handler);
+ DBusError error;
+
+ dbus_error_init(&error);
diff --git a/deskutils/notification-daemon/files/patch-src-Notification.hh b/deskutils/notification-daemon/files/patch-src-Notification.hh
new file mode 100644
index 000000000000..5162c68daaba
--- /dev/null
+++ b/deskutils/notification-daemon/files/patch-src-Notification.hh
@@ -0,0 +1,10 @@
+--- src/Notification.hh.orig Thu Jul 28 10:50:44 2005
++++ src/Notification.hh Wed Aug 31 23:14:48 2005
+@@ -31,6 +31,7 @@
+ #include "Hint.hh"
+ #include "Image.hh"
+
++#include <sys/types.h>
+
+ /*
+ * This class represents a notification. It's a class rather than a struct
diff --git a/deskutils/notification-daemon/pkg-plist b/deskutils/notification-daemon/pkg-plist
index f311ef1b99e0..c1fe61e887f2 100644
--- a/deskutils/notification-daemon/pkg-plist
+++ b/deskutils/notification-daemon/pkg-plist
@@ -1,2 +1,3 @@
etc/dbus-1/system.d/notification-daemon.conf
libexec/notification-daemon
+share/dbus-1/services/org.freedesktop.Notifications.service