dbus - not extensively tested at all but seems to work. Does not

auto-start or is in any way integrated to the OS.
This commit is contained in:
Cian Duffy
2013-02-13 00:04:49 +00:00
parent 2f085e7a83
commit 9854e72bd3
2 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
DESCRIPTION="dbus message bus system"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/dbus"
SRC_URI="http://dbus.freedesktop.org/releases/dbus/dbus-1.6.8.tar.gz"
CHECKSUM_MD5="3bf059c7dd5eda5f539a1b7cfe7a14a2"
REVISION="1"
STATUS_HAIKU="untested"
DEPEND=""
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
BUILD {
cd dbus-1.6.8
./configure --prefix="$(finddir B_COMMON_DIRECTORY)" \
--datarootdir="$(finddir B_COMMON_DATA_DIRECTORY)" \
--mandir="$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man"
make
}
INSTALL {
cd dbus-1.6.8
make install
}
TEST {
cd dbus-1.6.8
make check
}
LICENSE="GNU GPL v2"

View File

@@ -0,0 +1,11 @@
--- dbus-1.6.8/dbus/sd-daemon.c 2011-07-13 20:42:21.040108032 +0000
+++ dbus-1.6.8-haiku/dbus/sd-daemon.c 2013-02-12 18:57:28.067108864 +0000
@@ -32,7 +32,7 @@
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/un.h>
-#include <sys/fcntl.h>
+#include <fcntl.h>
#include <netinet/in.h>
#include <stdlib.h>
#include <errno.h>