summaryrefslogtreecommitdiff
path: root/sysutils/dbus-glib
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-10-11 17:46:41 +0000
committerjmmv <jmmv@pkgsrc.org>2004-10-11 17:46:41 +0000
commit2bd0c5e9e0e83a3ab05251ba7cb27f272fb1592c (patch)
treea4f7dc8368e8181f0bc8bdcfa8af87948dd32b36 /sysutils/dbus-glib
parent0317032b87dfadb86ad96aa7340c76be557cf4af (diff)
downloadpkgsrc-2bd0c5e9e0e83a3ab05251ba7cb27f272fb1592c.tar.gz
Initial import of dbus-glib, version 0.22:
D-BUS is a message bus, used for sending messages between applications. Conceptually, it fits somewhere in between raw sockets and CORBA in terms of complexity. D-BUS supports broadcast messages, asynchronous messages (thus decreasing latency), authentication, and more. It is designed to be low-overhead; messages are sent using a binary protocol, not using XML. D-BUS also supports a method call mapping for its messages, but it is not required; this makes using the system quite simple. This package provides the D-BUS interface to GLib and the dbus-monitor utility (included here because it also uses GLib).
Diffstat (limited to 'sysutils/dbus-glib')
-rw-r--r--sysutils/dbus-glib/DESCR12
-rw-r--r--sysutils/dbus-glib/Makefile25
-rw-r--r--sysutils/dbus-glib/PLIST6
-rw-r--r--sysutils/dbus-glib/buildlink3.mk21
4 files changed, 64 insertions, 0 deletions
diff --git a/sysutils/dbus-glib/DESCR b/sysutils/dbus-glib/DESCR
new file mode 100644
index 00000000000..2ec794280f4
--- /dev/null
+++ b/sysutils/dbus-glib/DESCR
@@ -0,0 +1,12 @@
+D-BUS is a message bus, used for sending messages between applications.
+Conceptually, it fits somewhere in between raw sockets and CORBA in terms
+of complexity.
+
+D-BUS supports broadcast messages, asynchronous messages (thus decreasing
+latency), authentication, and more. It is designed to be low-overhead;
+messages are sent using a binary protocol, not using XML. D-BUS also
+supports a method call mapping for its messages, but it is not required;
+this makes using the system quite simple.
+
+This package provides the D-BUS interface to GLib and the dbus-monitor
+utility (included here because it also uses GLib).
diff --git a/sysutils/dbus-glib/Makefile b/sysutils/dbus-glib/Makefile
new file mode 100644
index 00000000000..b0f581fa32e
--- /dev/null
+++ b/sysutils/dbus-glib/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/11 17:46:41 jmmv Exp $
+#
+
+DBUS_INTERFACE= glib
+DBUS_DIRS= glib tools
+
+.include "../../sysutils/dbus/Makefile.common"
+
+# We can't install from within the 'tools' directory automatically because
+# we'd get a lot of other utilities installed (overriding the ones in the
+# dbus package). We install dbus-monitor by hand below.
+INSTALL_DIRS= ${WRKSRC}/glib
+
+INSTALLATION_DIRS= bin lib/pkgconfig man/man1
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/dbus-glib-1.pc \
+ ${PREFIX}/lib/pkgconfig/dbus-glib-1.pc
+ cd ${WRKSRC}/tools && ${LIBTOOL} --mode=install \
+ ${INSTALL_PROGRAM} dbus-monitor ${PREFIX}/bin/dbus-monitor
+ ${INSTALL_DATA} ${WRKSRC}/tools/dbus-monitor.1 \
+ ${PREFIX}/man/man1/dbus-monitor.1
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/dbus-glib/PLIST b/sysutils/dbus-glib/PLIST
new file mode 100644
index 00000000000..c5461168fc1
--- /dev/null
+++ b/sysutils/dbus-glib/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/11 17:46:41 jmmv Exp $
+bin/dbus-glib-tool
+bin/dbus-monitor
+lib/libdbus-glib-1.la
+lib/pkgconfig/dbus-glib-1.pc
+man/man1/dbus-monitor.1
diff --git a/sysutils/dbus-glib/buildlink3.mk b/sysutils/dbus-glib/buildlink3.mk
new file mode 100644
index 00000000000..1f48d71a749
--- /dev/null
+++ b/sysutils/dbus-glib/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/10/11 17:46:41 jmmv Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+DBUS_GLIB_BUILDLINK3_MK:= ${DBUS_GLIB_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= dbus-glib
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndbus-glib}
+BUILDLINK_PACKAGES+= dbus-glib
+
+.if !empty(DBUS_GLIB_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.dbus-glib+= dbus-glib>=0.22
+BUILDLINK_PKGSRCDIR.dbus-glib?= ../../sysutils/dbus-glib
+.endif # DBUS_GLIB_BUILDLINK3_MK
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}