- update to dbus-glib 0.80

from Brad
This commit is contained in:
ajacoutot 2009-02-08 15:51:45 +00:00
parent ae88779346
commit 413adea965
4 changed files with 23 additions and 13 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.11 2008/12/09 19:43:16 jasper Exp $
# $OpenBSD: Makefile,v 1.12 2009/02/08 15:51:45 ajacoutot Exp $
COMMENT= glib bindings for dbus message system
DISTNAME= dbus-glib-0.78
DISTNAME= dbus-glib-0.80
SHARED_LIBS+= dbus-glib-1 4.1
CATEGORIES= x11
@ -22,8 +22,6 @@ MODULES= devel/gettext
LIB_DEPENDS= dbus-1.>=7::x11/dbus \
glib-2.0,gobject-2.0::devel/glib2
#CFLAGS+= -I${LOCALBASE}/include -pthread
SEPARATE_BUILD= simple
USE_GMAKE= Yes
USE_LIBTOOL= Yes
@ -31,7 +29,7 @@ CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--enable-bash-completion
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FAKE_FLAGS+= profiledir="${PREFIX}/share/dbus-glib"
FAKE_FLAGS+= completiondir="${PREFIX}/share/dbus-glib"
pre-build:
@cp ${FILESDIR}/dbus-bus-introspect.xml ${WRKBUILD}/tools

View File

@ -1,5 +1,5 @@
MD5 (dbus-glib-0.78.tar.gz) = 1KoEud81tL1mO+OOlZlByA==
RMD160 (dbus-glib-0.78.tar.gz) = 5jpDZbTOSytOALY7YW6lN0EtHPw=
SHA1 (dbus-glib-0.78.tar.gz) = yddAI/AGQt0QQMLmzH/f6RoMWT4=
SHA256 (dbus-glib-0.78.tar.gz) = yjZv7WA191xsoDj5m3gCYKDhnyggZ7LdICQ7pUEF/CE=
SIZE (dbus-glib-0.78.tar.gz) = 683454
MD5 (dbus-glib-0.80.tar.gz) = hupguiEYobner+glf2pqGg==
RMD160 (dbus-glib-0.80.tar.gz) = gC3NxLfHqIBbBRt77fRAIv7OJ9I=
SHA1 (dbus-glib-0.80.tar.gz) = kn5D8tQpz/VHKrcmiCNH7AblP2s=
SHA256 (dbus-glib-0.80.tar.gz) = tTMLkbMTF1cQPaKzFH4hHnEhRHX113ZAAi6pu1h/ZFs=
SIZE (dbus-glib-0.80.tar.gz) = 688789

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-dbus_dbus-gobject_c,v 1.1 2009/02/08 15:51:45 ajacoutot Exp $
--- dbus/dbus-gobject.c.orig Sat Feb 7 00:04:36 2009
+++ dbus/dbus-gobject.c Sat Feb 7 00:04:59 2009
@@ -2350,7 +2350,7 @@ dbus_g_method_return (DBusGMethodInvocation *context,
G_VALUE_COLLECT (&value, args, G_VALUE_NOCOPY_CONTENTS, &error);
if (error)
{
- g_warning(error);
+ g_warning("%s", error);
g_free (error);
}
_dbus_gvalue_marshal (&iter, &value);

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.5 2008/12/09 19:43:16 jasper Exp $
@comment $OpenBSD: PLIST,v 1.6 2009/02/08 15:51:45 ajacoutot Exp $
%%SHARED%%
@bin bin/dbus-binding-tool
include/dbus-1.0/
@ -14,9 +14,9 @@ lib/pkgconfig/
lib/pkgconfig/dbus-glib-1.pc
@bin libexec/dbus-bash-completion-helper
share/dbus-glib/
@sample ${SYSCONFDIR}/profile.d/
@sample ${SYSCONFDIR}/bash_completion.d/
share/dbus-glib/dbus-bash-completion.sh
@sample ${SYSCONFDIR}/profile.d/dbus-bash-completion.sh
@sample ${SYSCONFDIR}/bash_completion.d/dbus-bash-completion.sh
share/gtk-doc/
share/gtk-doc/html/
share/gtk-doc/html/dbus-glib/