Hello community, here is the log from the commit of package pidgin for openSUSE:Factory checked in at 2014-06-18 07:50:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pidgin (Old) and /work/SRC/openSUSE:Factory/.pidgin.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pidgin" Changes: -------- --- /work/SRC/openSUSE:Factory/pidgin/pidgin.changes 2014-02-05 13:45:43.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.pidgin.new/pidgin.changes 2014-06-18 07:52:41.000000000 +0200 @@ -1,0 +2,9 @@ +Fri Mar 28 11:50:49 UTC 2014 - [email protected] + +- Fix crash when GST registry cache file is missing + + add pidgin-crash-missing-gst-registry.patch according to the + GST doc, "gst_init" should be called before any other calls. + See (bnc#866455). See (pidgin.im#16224) for the upstream bug + report. + +------------------------------------------------------------------- New: ---- pidgin-crash-missing-gst-registry.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pidgin.spec ++++++ --- /var/tmp/diff_new_pack.gE7Iq8/_old 2014-06-18 07:52:41.000000000 +0200 +++ /var/tmp/diff_new_pack.gE7Iq8/_new 2014-06-18 07:52:41.000000000 +0200 @@ -46,6 +46,8 @@ Patch15: pidgin-fix-perl-build.patch # PATCH-FEATURE-UPSTREAM pidgin-gstreamer1.patch https://developer.pidgin.im/ticket/15386 [email protected] -- Port to GStreamer 1.0 Patch17: pidgin-gstreamer1.patch +# PATCH-FIX-UPSTREAM pidgin-crash-missing-gst-registry.patch bnc#866455 pidgin.im#16224 [email protected] -- fix crash when GST registry cache file is missing. +Patch18: pidgin-crash-missing-gst-registry.patch # Can use external libzephyr BuildRequires: cyrus-sasl-devel BuildRequires: dbus-1-devel @@ -402,6 +404,7 @@ %patch15 -p1 %if 0%{?suse_version} >= 1310 %patch17 -p1 +%patch18 -p1 %endif # Change Myanmar/Myanmar to Myanmar: ++++++ pidgin-crash-missing-gst-registry.patch ++++++ diff --git a/pidgin/gtkmain.c b/pidgin/gtkmain.c index 6e828fc..e690d58 100644 --- a/pidgin/gtkmain.c +++ b/pidgin/gtkmain.c @@ -75,7 +75,7 @@ #endif #include <getopt.h> - +#include <gst/gst.h> #ifdef HAVE_SIGNAL_H @@ -523,7 +523,15 @@ int main(int argc, char *argv[]) #endif /* Initialize GThread before calling any Glib or GTK+ functions. */ +#if !GLIB_CHECK_VERSION(2, 32, 0) + /* GLib threading system is automaticaly initialized since 2.32. + * For earlier versions, it have to be initialized before calling any + * Glib or GTK+ functions. + */ g_thread_init(NULL); +#endif + /* make sure Gst is initialized before any other Glib/Gst calls (see Gst docs) */ + gst_init(NULL, NULL); g_set_prgname("Pidgin"); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
