Hello community, here is the log from the commit of package gtk2 for openSUSE:Factory checked in at Fri Jan 9 01:30:02 CET 2009. -------- --- GNOME/gtk2/gtk2.changes 2008-12-23 22:45:48.000000000 +0100 +++ /mounts/work_src_done/STABLE/gtk2/gtk2.changes 2009-01-08 16:33:38.000000000 +0100 @@ -1,0 +2,7 @@ +Thu Jan 8 10:04:15 EST 2009 - btaylor@novell.com + +- Added gtk2-bnc457728-disable-gail-via-env-var.diff to allow gail to be + disabled by the NO_GAIL env var (bnc#460890, bnc#449513). This is needed by + applications which use gtk but provide their own accessibility modules. + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- gtk2-bnc457728-disable-gail-via-env-var.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gtk2.spec ++++++ --- /var/tmp/diff_new_pack.p29326/_old 2009-01-09 01:27:57.000000000 +0100 +++ /var/tmp/diff_new_pack.p29326/_new 2009-01-09 01:27:57.000000000 +0100 @@ -49,7 +49,7 @@ # PreReq: /usr/bin/touch /bin/rm /bin/rmdir Version: 2.14.4 -Release: 9 +Release: 10 Summary: Library for Creation of Graphical User Interfaces (version 2) Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.12/%{_name}-%{version}.tar.bz2 Source1: SuSEconfig.gtk2 @@ -97,6 +97,8 @@ Patch55: gtk2-bnc355503-file-chooser-remember-geometry.diff Patch56: gtk2-191223-java-selection-fix-updated.patch Patch57: gtk2-bnc447004-treeview-lines-rtl.diff +# PATCH-FEATURE-UPSTREAM gtk2-bnc457728-disable-gail-via-env-var.diff bnc460890 bgo565110 btaylor@novell.com -- Allow gail to be disabled via an env var +Patch58: gtk2-bnc457728-disable-gail-via-env-var.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: cairo >= 0.9.2 hicolor-icon-theme %if %suse_version > 1020 @@ -325,6 +327,7 @@ %patch55 -p1 %patch56 -p1 %patch57 -p1 +%patch58 -p1 # gnome-patch-translation-update %build @@ -459,6 +462,10 @@ %{_datadir}/gtk-doc/html/* %changelog +* Thu Jan 08 2009 btaylor@novell.com +- Added gtk2-bnc457728-disable-gail-via-env-var.diff to allow gail to be + disabled by the NO_GAIL env var (bnc#460890, bnc#449513). This is needed by + applications which use gtk but provide their own accessibility modules. * Tue Dec 23 2008 federico@novell.com - Updated gtk2-bnc355503-file-chooser-remember-geometry.diff to fix https://bugzilla.novell.com/show_bug.cgi?id=445923 - The file @@ -603,7 +610,7 @@ + Updated translations - Respin gtk+-strict-aliasing.patch - Drop gtk2-remove-empty-cache.patch and update SuSEconfig.gtk2. -* Tue Jul 22 2008 coolo@suse.de +* Wed Jul 23 2008 coolo@suse.de - obsolete gail-<targettype> * Mon Jul 21 2008 federico@novell.com - Tagged all the patches that didn't have tags. @@ -1002,7 +1009,7 @@ - lots of updates in the printing area - various fixes in many other places - countless bugfixes -* Tue Jun 20 2006 federico@novell.com +* Wed Jun 21 2006 federico@novell.com - Added gtk2-184875-filechooser-location-entry-set-path.diff to fix https://bugzilla.novell.com/show_bug.cgi?id=184875. This makes the location entry in the file chooser preserve the filename from @@ -1183,7 +1190,7 @@ - Use current name for XFree86-devel in Requires (#54136). * Mon May 02 2005 gekker@suse.de - Fix crasher in gtktextview (380). -* Sun Apr 03 2005 aj@suse.de +* Mon Apr 04 2005 aj@suse.de - Disable visibility to build with GCC4. This should be enabled again once gtk is fixed. * Fri Mar 18 2005 gekker@suse.de ++++++ gtk2-bnc457728-disable-gail-via-env-var.diff ++++++ diff -urw gtk+-2.14.4/modules/other/gail/gail.c gtk+-2.14.4-fixed//modules/other/gail/gail.c --- gtk+-2.14.4/modules/other/gail/gail.c 2008-10-17 00:06:24.000000000 -0400 +++ gtk+-2.14.4-fixed//modules/other/gail/gail.c 2008-12-19 11:37:50.000000000 -0500 @@ -27,6 +27,7 @@ #include "gailfactory.h" #define GNOME_ACCESSIBILITY_ENV "GNOME_ACCESSIBILITY" +#define NO_GAIL_ENV "NO_GAIL" static gboolean gail_focus_watcher (GSignalInvocationHint *ihint, guint n_param_values, @@ -976,6 +977,16 @@ int gtk_module_init (gint *argc, char** argv[]) { + const char* env_no_gail; + gboolean no_gail = FALSE; + + env_no_gail = g_getenv (NO_GAIL_ENV); + if (env_no_gail) + no_gail = atoi (env_no_gail); + + if (no_gail) + return 0; + gail_accessibility_module_init (); return 0; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org