summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKathryn Kulick <gothgirl@gentoo.org>2006-10-19 22:08:35 +0000
committerKathryn Kulick <gothgirl@gentoo.org>2006-10-19 22:08:35 +0000
commit696671c028508fb9e38712ea12a4670404edd716 (patch)
treecab01c345f219e73fa6c4c6a7a45c92aeb63cda9 /net-im/gaim/files
parentVersion bump wrt bug #149927 and cleanup (diff)
downloadhistorical-696671c028508fb9e38712ea12a4670404edd716.tar.gz
historical-696671c028508fb9e38712ea12a4670404edd716.tar.bz2
historical-696671c028508fb9e38712ea12a4670404edd716.zip
Version bump thanks to Jory A. Pratt for the ebuild modifications
Package-Manager: portage-2.1.2_pre2-r9
Diffstat (limited to 'net-im/gaim/files')
-rw-r--r--net-im/gaim/files/digest-gaim-2.0.0_beta43
-rw-r--r--net-im/gaim/files/gaim-2.0.0_beta4-dbus.patch62
2 files changed, 65 insertions, 0 deletions
diff --git a/net-im/gaim/files/digest-gaim-2.0.0_beta4 b/net-im/gaim/files/digest-gaim-2.0.0_beta4
new file mode 100644
index 000000000000..db30a0a3dd8a
--- /dev/null
+++ b/net-im/gaim/files/digest-gaim-2.0.0_beta4
@@ -0,0 +1,3 @@
+MD5 ddf49cb3f95febdd26bf2214875446e6 gaim-2.0.0beta4.tar.bz2 6298151
+RMD160 c9c5931fc2b2bf1c5bc524e6dc2b68c28a6570f1 gaim-2.0.0beta4.tar.bz2 6298151
+SHA256 08436e3fcb4caa61b92551e5e2c092ea94caae6520d50c479a164b93caedb820 gaim-2.0.0beta4.tar.bz2 6298151
diff --git a/net-im/gaim/files/gaim-2.0.0_beta4-dbus.patch b/net-im/gaim/files/gaim-2.0.0_beta4-dbus.patch
new file mode 100644
index 000000000000..a77178a28f0c
--- /dev/null
+++ b/net-im/gaim/files/gaim-2.0.0_beta4-dbus.patch
@@ -0,0 +1,62 @@
+diff -Nru gaim-2.0.0beta4-old/gtk/Makefile.am gaim-2.0.0beta4/gtk/Makefile.am
+--- gaim-2.0.0beta4-old/gtk/Makefile.am 2006-10-18 12:37:48.000000000 -0500
++++ gaim-2.0.0beta4/gtk/Makefile.am 2006-10-19 12:36:13.000000000 -0500
+@@ -161,6 +161,7 @@
+ gaim_LDFLAGS = -export-dynamic
+ gaim_LDADD = \
+ @LIBOBJS@ \
++ $(GLIB_LIBS) \
+ $(DBUS_LIBS) \
+ $(GSTREAMER_LIBS) \
+ $(STATIC_LINK_LIBS) \
+diff -Nru gaim-2.0.0beta4-old/gtk/Makefile.in gaim-2.0.0beta4/gtk/Makefile.in
+--- gaim-2.0.0beta4-old/gtk/Makefile.in 2006-10-18 15:00:12.000000000 -0500
++++ gaim-2.0.0beta4/gtk/Makefile.in 2006-10-19 12:37:26.000000000 -0500
+@@ -611,6 +611,7 @@
+ @ENABLE_GTK_TRUE@gaim_LDFLAGS = -export-dynamic
+ @ENABLE_GTK_TRUE@gaim_LDADD = \
+ @ENABLE_GTK_TRUE@ @LIBOBJS@ \
++@ENABLE_GTK_TRUE@ $(GLIB_LIBS) \
+ @ENABLE_GTK_TRUE@ $(DBUS_LIBS) \
+ @ENABLE_GTK_TRUE@ $(GSTREAMER_LIBS) \
+ @ENABLE_GTK_TRUE@ $(STATIC_LINK_LIBS) \
+diff -Nru gaim-2.0.0beta4-old/gtk/gtkmain.c gaim-2.0.0beta4/gtk/gtkmain.c
+--- gaim-2.0.0beta4-old/gtk/gtkmain.c 2006-10-18 12:37:48.000000000 -0500
++++ gaim-2.0.0beta4/gtk/gtkmain.c 2006-10-19 12:42:42.000000000 -0500
+@@ -65,6 +65,7 @@
+ #include "gtkutils.h"
+ #include "gaimstock.h"
+ #include "gtkwhiteboard.h"
++#include <glib/gthread.h>
+
+ #ifdef HAVE_SIGNAL_H
+ # include <signal.h>
+@@ -675,6 +676,16 @@
+ gtk_rc_add_default_file(search_path);
+ g_free(search_path);
+
++#if (defined(G_THREADS_ENABLED) && !defined(G_THREADS_IMPL_NONE))
++ /* Since threads can be yanked in all unawares by other libraries,
++ * and some libraries aren't smart enough to initialize the thread
++ * subsystem when they need it, we need to do this here. We also
++ * threadify dbus when that gets initialized. Ugh. */
++ if (!g_thread_supported())
++ g_thread_init(NULL);
++ gdk_threads_init();
++#endif /* Glib has threads */
++
+ gui_check = gtk_init_check(&argc, &argv);
+ if (!gui_check) {
+ char *display = gdk_get_display();
+diff -Nru gaim-2.0.0beta4-old/libgaim/dbus-server.c gaim-2.0.0beta4/libgaim/dbus-server.c
+--- gaim-2.0.0beta4-old/libgaim/dbus-server.c 2006-10-18 12:38:16.000000000 -0500
++++ gaim-2.0.0beta4/libgaim/dbus-server.c 2006-10-19 12:34:57.000000000 -0500
+@@ -758,6 +758,8 @@
+ void
+ gaim_dbus_init(void)
+ {
++ if(g_thread_supported())
++ dbus_g_thread_init();
+ gaim_dbus_init_ids();
+
+ g_free(init_error);