From owner-freebsd-gnome@FreeBSD.ORG Wed Jun 30 15:27:43 2010 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94990106564A; Wed, 30 Jun 2010 15:27:43 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from mail2.timeinc.net (mail2.timeinc.net [64.236.74.30]) by mx1.freebsd.org (Postfix) with ESMTP id 572E78FC12; Wed, 30 Jun 2010 15:27:43 +0000 (UTC) Received: from mail.timeinc.net (mail.timeinc.net [64.12.55.166]) by mail2.timeinc.net (8.13.8/8.13.8) with ESMTP id o5UFRfDA024815 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 30 Jun 2010 11:27:42 -0400 Received: from ws-mteterin.dev.pathfinder.com (ws-mteterin.dev.pathfinder.com [209.251.223.173]) by mail.timeinc.net (8.13.8/8.13.8) with SMTP id o5UFRfvw014841; Wed, 30 Jun 2010 11:27:41 -0400 Message-ID: <4C2B626D.5000503@aldan.algebra.com> Date: Wed, 30 Jun 2010 11:27:41 -0400 From: "Mikhail T." Organization: Virtual Estates, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; uk; rv:1.9.1.10) Gecko/20100512 Lightning/1.0b1 Thunderbird/3.0.5 To: gnome@FreeBSD.org X-Priority: 2 (High) References: <4C2A4E53.8050408@aldan.algebra.com> <4C2A75DB.4030109@aldan.algebra.com> In-Reply-To: <4C2A75DB.4030109@aldan.algebra.com> Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: portmgr@FreeBSD.org Subject: Re: a GTK-using application crashes, when LANG is set to non-UTF8 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2010 15:27:43 -0000 29.06.2010 18:38, I wrote: 29.06.2010 15:49, I wrote: A user I support is struggling with an application (cairo-dock + plugins), that crashes inside gtk/glib (stack below), when the LANG environment variable is set to something like ru_RU.KOI8-R. Using ru_RU.UTF-8 works fine and the application speaks Russian in both GUI and (rather chatty) stderr/stdout. I suspect, some common mistake is made by the application's author -- any chance, we can quickly patch it up in the port? This seems like a similar problem: [1]http://defect.opensolaris.org/bz/show_bug.cgi?id=11936 Ivan -- the maintainer of the cairo-dock ports (CC-ed) -- has confirmed, that compiling devel/glib20 with -D__STDC_ISO_10646__ eliminates the crash and allows the application (cairo-dock) to come up and properly "speak" in the requested language using the non-UTF charset: -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ +CONFIGURE_ENV= CFLAGS="-D__STDC_ISO_10646__" \ + CPPFLAGS="-I${LOCALBASE}/include" \ Or, perhaps, this can be controlled by the the glib20-port's "COLLATION_FIX" knob? If so, then it should be set on by default... Would it speed things up, if I file an (urgent) PR regarding this? I think, it would be prudent to ship 8.1 with this problem resolved... Please, advise. Thanks! -mi References 1. http://defect.opensolaris.org/bz/show_bug.cgi?id=11936