summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/eggdbus/ChangeLog8
-rw-r--r--dev-libs/eggdbus/eggdbus-0.5.ebuild56
-rw-r--r--dev-libs/eggdbus/files/eggdbus-0.5-leakfix.patch20
3 files changed, 83 insertions, 1 deletions
diff --git a/dev-libs/eggdbus/ChangeLog b/dev-libs/eggdbus/ChangeLog
index b64abb505c0c..cce2d0780114 100644
--- a/dev-libs/eggdbus/ChangeLog
+++ b/dev-libs/eggdbus/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/eggdbus
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/eggdbus/ChangeLog,v 1.3 2009/06/20 17:32:00 mrpouet Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/eggdbus/ChangeLog,v 1.4 2009/07/07 18:33:30 volkmar Exp $
+
+*eggdbus-0.5 (07 Jul 2009)
+
+ 07 Jul 2009; Mounir Lamouri <volkmar@gentoo.org>
+ +files/eggdbus-0.5-leakfix.patch, +eggdbus-0.5.ebuild:
+ Version bump to 0.5. Fix bug 276949
20 Jun 2009; <mrpouet@gentoo.org> eggdbus-0.4.ebuild:
Add ~amd64 into KEYWORDS
diff --git a/dev-libs/eggdbus/eggdbus-0.5.ebuild b/dev-libs/eggdbus/eggdbus-0.5.ebuild
new file mode 100644
index 000000000000..fe3fc24fa958
--- /dev/null
+++ b/dev-libs/eggdbus/eggdbus-0.5.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/eggdbus/eggdbus-0.5.ebuild,v 1.1 2009/07/07 18:33:30 volkmar Exp $
+
+EAPI="2"
+
+inherit autotools eutils
+
+DESCRIPTION="D-Bus bindings for GObject"
+HOMEPAGE="http://cgit.freedesktop.org/~david/eggdbus"
+SRC_URI="http://hal.freedesktop.org/releases/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="1"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug doc +largefile test"
+
+RDEPEND=">=dev-libs/dbus-glib-0.73
+ >=dev-libs/glib-2.19:2
+ >=sys-apps/dbus-1.0"
+DEPEND="${DEPEND}
+ doc? ( dev-libs/libxslt
+ >=dev-util/gtk-doc-1.3 )
+ dev-util/pkgconfig"
+
+# NOTES:
+# man pages are built (and installed) when doc is enabled
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.4-ldflags.patch
+ epatch "${FILESDIR}"/${PN}-0.4-tests.patch
+ epatch "${FILESDIR}"/${PN}-0.5-leakfix.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ # ansi: build fails with
+ # verbose-mode: looks useless
+ # largefile: not sure usefull
+ econf \
+ --disable-maintainer-mode \
+ --disable-dependency-tracking \
+ --disable-ansi \
+ $(use_enable debug verbose-mode) \
+ $(use_enable doc gtk-doc) \
+ $(use_enable doc man-pages) \
+ $(use_enable largefile) \
+ $(use_enable test tests)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog HACKING NEWS README || die "dodoc failed"
+}
diff --git a/dev-libs/eggdbus/files/eggdbus-0.5-leakfix.patch b/dev-libs/eggdbus/files/eggdbus-0.5-leakfix.patch
new file mode 100644
index 000000000000..0ea7f762b4e8
--- /dev/null
+++ b/dev-libs/eggdbus/files/eggdbus-0.5-leakfix.patch
@@ -0,0 +1,20 @@
+From 0eec8eca8693bf709105b17854b6daf1ac9d2203 Mon Sep 17 00:00:00 2001
+From: David Zeuthen <davidz@redhat.com>
+Date: Sat, 04 Jul 2009 23:13:55 +0000
+Subject: Don't leak object path in EggDBusMessage
+
+---
+diff --git a/src/eggdbus/eggdbusmessage.c b/src/eggdbus/eggdbusmessage.c
+index ed747a5..4899ddd 100644
+--- a/src/eggdbus/eggdbusmessage.c
++++ b/src/eggdbus/eggdbusmessage.c
+@@ -127,6 +127,7 @@ egg_dbus_message_finalize (GObject *object)
+ g_free (priv->signal_name);
+ g_free (priv->sender);
+ g_free (priv->destination);
++ g_free (priv->object_path);
+ g_free (priv->error_name);
+ g_free (priv->error_message);
+
+--
+cgit v0.8.2