diff options
author | Remi Cardona <remi@gentoo.org> | 2008-09-13 13:36:28 +0000 |
---|---|---|
committer | Remi Cardona <remi@gentoo.org> | 2008-09-13 13:36:28 +0000 |
commit | d6e694d6db7a454a94e5276a69924f8aabe164b4 (patch) | |
tree | bd16fb9804a13ae9402b47f0332309f8a2360b79 /gnome-base/libbonobo | |
parent | Version bump <http://my.opera.com/desktopteam/blog/2008/09/12/a-new-weekly-an... (diff) | |
download | historical-d6e694d6db7a454a94e5276a69924f8aabe164b4.tar.gz historical-d6e694d6db7a454a94e5276a69924f8aabe164b4.tar.bz2 historical-d6e694d6db7a454a94e5276a69924f8aabe164b4.zip |
gnome-base/libbonobo: attach bonobo to dbus session bus (fixes bug #236864), move flex to DEPEND
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.25-gentoo-r3 i686
Diffstat (limited to 'gnome-base/libbonobo')
-rw-r--r-- | gnome-base/libbonobo/ChangeLog | 9 | ||||
-rw-r--r-- | gnome-base/libbonobo/Manifest | 4 | ||||
-rw-r--r-- | gnome-base/libbonobo/files/libbonobo-2.22.0-quit-with-dbus-session.patch | 52 | ||||
-rw-r--r-- | gnome-base/libbonobo/libbonobo-2.22.0-r1.ebuild | 50 |
4 files changed, 113 insertions, 2 deletions
diff --git a/gnome-base/libbonobo/ChangeLog b/gnome-base/libbonobo/ChangeLog index d7dd6babbfd1..09e9c1b909bf 100644 --- a/gnome-base/libbonobo/ChangeLog +++ b/gnome-base/libbonobo/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for gnome-base/libbonobo # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/libbonobo/ChangeLog,v 1.162 2008/08/12 13:31:54 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/libbonobo/ChangeLog,v 1.163 2008/09/13 13:36:27 remi Exp $ + +*libbonobo-2.22.0-r1 (13 Sep 2008) + + 13 Sep 2008; Rémi Cardona <remi@gentoo.org> + +files/libbonobo-2.22.0-quit-with-dbus-session.patch, + +libbonobo-2.22.0-r1.ebuild: + attach bonobo to dbus session bus (fixes bug #236864), move flex to DEPEND 12 Aug 2008; Raúl Porcel <armin76@gentoo.org> libbonobo-2.22.0.ebuild: alpha/ia64/sparc stable wrt #229709 diff --git a/gnome-base/libbonobo/Manifest b/gnome-base/libbonobo/Manifest index c8810edb00c5..bc6b3d2014f1 100644 --- a/gnome-base/libbonobo/Manifest +++ b/gnome-base/libbonobo/Manifest @@ -1,6 +1,8 @@ +AUX libbonobo-2.22.0-quit-with-dbus-session.patch 2058 RMD160 40f78ee19accf3c60e8b667ecfc97931be7c6422 SHA1 6f8a5cd9a24bf777bb4aee93a2203e1ccbe3abf1 SHA256 1604bcd367f2fda9e585ad47955c26c501f26f7b2f29db12b08547f941321bfc DIST libbonobo-2.20.4.tar.bz2 1446532 RMD160 9d417058f20154daabf9885e4606f87ee1e0055a SHA1 15928d04861eedda6377b83375e9de66b6683bbe SHA256 81796573e99c2a70255684e49d3326d2341cd6dd918082e53fdf9792c3f9168a DIST libbonobo-2.22.0.tar.bz2 1445318 RMD160 ad22f56ec15e663010721eab5f346421dba39863 SHA1 517e8f1ca24cea4ce77cdb1d7485c61da3096be2 SHA256 5a6d96b9b15afa5d1702eee3a1ee3e50c3cfedb65d7c3faad64036ccfb3294b4 EBUILD libbonobo-2.20.4.ebuild 1171 RMD160 02fe4b6ca783ae6cabc055f4aa7d0cbf12c7a998 SHA1 4192e3ade9a770adb484cb19cabfe15ee47b495f SHA256 f601d1b2c5142e11984d7b9d05c28b5f7029e9b5dad0cb8709da4cdf4aa65b90 +EBUILD libbonobo-2.22.0-r1.ebuild 1470 RMD160 58efe6ef7541fb2b2dbbd5b0ef4c261617a6520a SHA1 45fb7a2372c961365efccf201913ff782b26b57f SHA256 db8c2881249a9f2d0fa37ef86f59ea71940869618f114aebd50a8d5927c17f49 EBUILD libbonobo-2.22.0.ebuild 1256 RMD160 b78827a7570a43f460f5946616c82a37066da752 SHA1 172663f4d926fa1f2c43b9f47b8337b99f6b116e SHA256 e7be228c4a80d1dcdeb9a077ba437c5c296643baf30279e4972501c61acce413 -MISC ChangeLog 18273 RMD160 ef9ff32ea0186b892624302ff47a5b82b94bda2b SHA1 ba676dbab6eb535b85852e12e828cb14c28a4058 SHA256 8559ca642305b95da75ebd87974971e53e4f5012820a13ce68725c4ecd1287c2 +MISC ChangeLog 18518 RMD160 741349b678fd74d44d986259abc9d609dca7dcd4 SHA1 2d35d91252e2eb5bd94f4c2b688ea382938ae2da SHA256 5177b4afab5cf820c8c6119cb8352bff828ffe0d6d2da5b005cbb4f15b843a66 MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 diff --git a/gnome-base/libbonobo/files/libbonobo-2.22.0-quit-with-dbus-session.patch b/gnome-base/libbonobo/files/libbonobo-2.22.0-quit-with-dbus-session.patch new file mode 100644 index 000000000000..43a8f185aee4 --- /dev/null +++ b/gnome-base/libbonobo/files/libbonobo-2.22.0-quit-with-dbus-session.patch @@ -0,0 +1,52 @@ +diff -up libbonobo-2.22.0/activation-server/activation-server-main.c.get-on-d-bus libbonobo-2.22.0/activation-server/activation-server-main.c +--- libbonobo-2.22.0/activation-server/activation-server-main.c.get-on-d-bus 2008-04-29 14:18:57.000000000 -0400 ++++ libbonobo-2.22.0/activation-server/activation-server-main.c 2008-04-29 14:19:00.000000000 -0400 +@@ -54,6 +54,8 @@ + + #include <glib/gstdio.h> + ++#include <dbus/dbus-glib-lowlevel.h> ++ + static gboolean server_threaded = FALSE; + static glong server_guard_depth = 0; + static GStaticRecMutex server_guard = G_STATIC_REC_MUTEX_INIT; +@@ -398,6 +400,8 @@ main (int argc, char *argv[]) + const gchar *debug_output_env; + #endif + GError *error = NULL; ++ DBusConnection *connection; ++ DBusError bus_error; + + #ifdef HAVE_SETSID + /* +@@ -535,6 +539,18 @@ main (int argc, char *argv[]) + + od_finished_internal_registration (); + ++ dbus_error_init (&bus_error); ++ connection = dbus_bus_get (DBUS_BUS_SESSION, &bus_error); ++ ++ if (dbus_error_is_set (&bus_error)) { ++ g_warning ("could not associate with desktop session: %s", ++ bus_error.message); ++ connection = NULL; ++ } else { ++ dbus_connection_setup_with_g_main (connection, ++ g_main_loop_get_context (main_loop)); ++ } ++ + if (getenv ("BONOBO_ACTIVATION_DEBUG") == NULL) + chdir ("/"); + +diff -up libbonobo-2.22.0/configure.in.get-on-d-bus libbonobo-2.22.0/configure.in +--- libbonobo-2.22.0/configure.in.get-on-d-bus 2008-04-29 14:18:47.000000000 -0400 ++++ libbonobo-2.22.0/configure.in 2008-04-29 14:19:06.000000000 -0400 +@@ -121,6 +121,8 @@ PKG_CHECK_MODULES(SERVER, \ + gmodule-2.0 >= 2.0.1 \ + ORBit-2.0 >= 2.4.0 \ + ORBit-CosNaming-2.0 >= 2.4.0 \ ++ dbus-1 >= 1.0.0 \ ++ dbus-glib-1 >= 0.74 \ + libxml-2.0 >= 2.4.20) + AC_SUBST(SERVER_LIBS) + AC_SUBST(SERVER_CFLAGS) diff --git a/gnome-base/libbonobo/libbonobo-2.22.0-r1.ebuild b/gnome-base/libbonobo/libbonobo-2.22.0-r1.ebuild new file mode 100644 index 000000000000..1097e856214a --- /dev/null +++ b/gnome-base/libbonobo/libbonobo-2.22.0-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/libbonobo/libbonobo-2.22.0-r1.ebuild,v 1.1 2008/09/13 13:36:27 remi Exp $ + +inherit gnome2 eutils autotools + +DESCRIPTION="GNOME CORBA framework" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="LGPL-2.1 GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="debug doc" + +RDEPEND=">=dev-libs/glib-2.8 + >=gnome-base/orbit-2.14.0 + >=dev-libs/libxml2-2.4.20 + >=sys-apps/dbus-1.0.0 + >=dev-libs/dbus-glib-0.74 + >=dev-libs/popt-1.5 + !gnome-base/bonobo-activation" +DEPEND="${RDEPEND} + sys-devel/flex + x11-apps/xrdb + >=dev-util/pkgconfig-0.9 + >=dev-util/intltool-0.35 + doc? ( >=dev-util/gtk-doc-1 )" + +DOCS="AUTHORS ChangeLog NEWS README TODO" + +pkg_setup() { + G2CONF="${G2CONF} $(use_enable debug bonobo-activation-debug)" +} + +src_unpack() { + gnome2_src_unpack + + sed -i -e '/DISABLE_DEPRECATED/d' \ + "${S}/activation-server/Makefile.am" "${S}/activation-server/Makefile.in" \ + "${S}/bonobo/Makefile.am" "${S}/bonobo/Makefile.in" \ + "${S}/bonobo-activation/Makefile.am" "${S}/bonobo-activation/Makefile.in" + + sed -i -e 's:-DG_DISABLE_DEPRECATED ::g' \ + "${S}/tests/test-activation/Makefile.am" "${S}/tests/test-activation/Makefile.in" + + # attach bonobo to the dbus session bus, fixes bug #236864 + epatch "${FILESDIR}/${PN}-2.22.0-quit-with-dbus-session.patch" + + eautoreconf +} |