Re: [patch] glib2 on x86_64 can't collate/sort (eg in filedialogs)
Daniel Macks <dmacks <at> netspace.org>
2011-12-30 02:47:20 GMT
This is a long-term problem that has been raised many times. As far as I know, the proposed fix still breaks
(or at least
non-standardizes) something else instead, as noted in the upstream bug report about it.
https://bugzilla.gnome.org/show_bug.cgi?id=612019
dan
On Thu, 29 Dec 2011 20:04:10 -0500, Hanspeter Niederstrasser
wrote:
GTK file open dialogs don't sort alphabetically on x86_64 because
> apparently glib is using Carbon for collation. The following patch
> fixes file dialog sorting when I tested it on firefox8 on 10.7. In
> theory it should be applied to all x86_64 platforms. Dunno if
> including it for i386 or powerpc would be detrimental.
>
> diff -Nurd -x'*~' glib-2.22.4.orig/tests/child-test.c
> glib-2.22.4/tests/child-test.c
> --- glib-2.22.4.orig/glib/gunicollate.c.orig 2009-03-31
> 18:04:20.000000000 -0500
> glib-2.22.4/glib/gunicollate.c 2010-03-06 17:59:08.000000000 -0600
> @@ -26,6 26,9 @@
> #include
> #endif
>
> /* Carbon is not available on 64-bit */
> #undef HAVE_CARBON
> #ifdef HAVE_CARBON
> #include
> #endif
(Continue reading)