diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-08 03:59:37 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-08 03:59:37 +0800 |
commit | 7258c62c89b51ae822a29626a4158759ae7aca19 (patch) | |
tree | 5407f2ab401b3982e3a6a68d888cde12b3f8879f /devel/libnotify | |
parent | 333ad182fc54febd7d70b8635be3285fd9e832ad (diff) | |
download | marcuscom-ports-7258c62c89b51ae822a29626a4158759ae7aca19.tar marcuscom-ports-7258c62c89b51ae822a29626a4158759ae7aca19.tar.gz marcuscom-ports-7258c62c89b51ae822a29626a4158759ae7aca19.tar.bz2 marcuscom-ports-7258c62c89b51ae822a29626a4158759ae7aca19.tar.lz marcuscom-ports-7258c62c89b51ae822a29626a4158759ae7aca19.tar.xz marcuscom-ports-7258c62c89b51ae822a29626a4158759ae7aca19.tar.zst marcuscom-ports-7258c62c89b51ae822a29626a4158759ae7aca19.zip |
Chase dbus in the remaining ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7628 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/libnotify')
-rw-r--r-- | devel/libnotify/Makefile | 35 | ||||
-rw-r--r-- | devel/libnotify/distinfo | 3 | ||||
-rw-r--r-- | devel/libnotify/files/patch-libnotify-notification.c | 21 | ||||
-rw-r--r-- | devel/libnotify/pkg-descr | 10 | ||||
-rw-r--r-- | devel/libnotify/pkg-plist | 25 |
5 files changed, 94 insertions, 0 deletions
diff --git a/devel/libnotify/Makefile b/devel/libnotify/Makefile new file mode 100644 index 000000000..1eb637898 --- /dev/null +++ b/devel/libnotify/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: libnotify +# Date created: 2005-08-06 +# Whom: Andreas Kohn <andreas@syndrom23.de> +# +# $FreeBSD$ +# + +PORTNAME= libnotify +PORTVERSION= 0.4.2 +PORTREVISION= 2 +CATEGORIES= devel gnome +MASTER_SITES= http://www.galago-project.org/files/releases/source/libnotify/ + +MAINTAINER= andreas@syndrom23.de +COMMENT= A library for desktop notifications + +LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ + popt.0:${PORTSDIR}/devel/popt + +USE_GNOME= gnomehack gnometarget intlhack glib20 gtk20 +USE_GMAKE= yes +INSTALLS_SHLIB= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --without-gtk-doc +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.include <bsd.port.pre.mk> + +post-patch: +.if ${OSVERSION} < 500000 + @${REINPLACE_CMD} -e 's|tests||' ${WRKSRC}/Makefile.in +.endif + +.include <bsd.port.post.mk> diff --git a/devel/libnotify/distinfo b/devel/libnotify/distinfo new file mode 100644 index 000000000..88a5121f8 --- /dev/null +++ b/devel/libnotify/distinfo @@ -0,0 +1,3 @@ +MD5 (libnotify-0.4.2.tar.gz) = 25585318503079a513af7064bb59c04d +SHA256 (libnotify-0.4.2.tar.gz) = 9e95499badd1b0da67b1422caa4198dbe61c961300b7001173eace18b8b2c38e +SIZE (libnotify-0.4.2.tar.gz) = 388355 diff --git a/devel/libnotify/files/patch-libnotify-notification.c b/devel/libnotify/files/patch-libnotify-notification.c new file mode 100644 index 000000000..370f1db0b --- /dev/null +++ b/devel/libnotify/files/patch-libnotify-notification.c @@ -0,0 +1,21 @@ +diff -Naur libnotify-0.4.2.orig/libnotify/notification.c libnotify-0.4.2/libnotify/notification.c +--- libnotify/notification.c 2006-06-15 11:14:03.000000000 +0200 ++++ libnotify/notification.c 2006-06-18 05:09:08.000000000 +0200 +@@ -901,7 +901,7 @@ + return FALSE; + } + +- g_value_init(value, dbus_g_type_get_collection("GArray", G_TYPE_CHAR)); ++ g_value_init(value, DBUS_TYPE_G_UCHAR_ARRAY); + g_value_set_boxed_take_ownership(value, byte_array); + g_value_array_append(array, value); + +@@ -961,7 +961,7 @@ + + value = g_new0(GValue, 1); + g_value_init(value, G_TYPE_VALUE_ARRAY); +- g_value_set_boxed(value, image_struct); ++ g_value_set_boxed_take_ownership(value, image_struct); + + g_hash_table_insert(notification->priv->hints, + g_strdup("icon_data"), value); diff --git a/devel/libnotify/pkg-descr b/devel/libnotify/pkg-descr new file mode 100644 index 000000000..15579caee --- /dev/null +++ b/devel/libnotify/pkg-descr @@ -0,0 +1,10 @@ +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. + +This port contains the library and a small command line client. +See deskutils/notification-daemon for the daemon. + +WWW: http://www.galago-project.org/specs/notification/index.php diff --git a/devel/libnotify/pkg-plist b/devel/libnotify/pkg-plist new file mode 100644 index 000000000..fd9604bde --- /dev/null +++ b/devel/libnotify/pkg-plist @@ -0,0 +1,25 @@ +bin/notify-send +include/libnotify/notification.h +include/libnotify/notify-enum-types.h +include/libnotify/notify.h +lib/libnotify.a +lib/libnotify.la +lib/libnotify.so +lib/libnotify.so.2 +libdata/pkgconfig/libnotify.pc +share/gtk-doc/html/libnotify/NotifyNotification.html +share/gtk-doc/html/libnotify/ch01.html +share/gtk-doc/html/libnotify/home.png +share/gtk-doc/html/libnotify/index.html +share/gtk-doc/html/libnotify/index.sgml +share/gtk-doc/html/libnotify/left.png +share/gtk-doc/html/libnotify/libnotify-notify.html +share/gtk-doc/html/libnotify/libnotify.devhelp +share/gtk-doc/html/libnotify/libnotify.devhelp2 +share/gtk-doc/html/libnotify/right.png +share/gtk-doc/html/libnotify/style.css +share/gtk-doc/html/libnotify/up.png +@dirrm share/gtk-doc/html/libnotify +@dirrmtry share/gtk-doc/html +@dirrmtry share/gtk-doc +@dirrm include/libnotify |