From owner-freebsd-gnome@FreeBSD.ORG Thu Mar 22 15:36:08 2007 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4F3F216A404; Thu, 22 Mar 2007 15:36:08 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id CA64613C46A; Thu, 22 Mar 2007 15:36:07 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.13.8/8.13.8) with ESMTP id l2MFa6OM071615; Thu, 22 Mar 2007 18:36:06 +0300 (MSK) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.13.8/8.13.8/Submit) id l2MFa6h4071614; Thu, 22 Mar 2007 18:36:06 +0300 (MSK) (envelope-from ache) Date: Thu, 22 Mar 2007 18:36:06 +0300 From: Andrey Chernov To: Joe Marcus Clarke Message-ID: <20070322153606.GA71274@nagual.pp.ru> References: <20070320054916.GA33710@nagual.pp.ru> <1174453429.79605.28.camel@shumai.marcuscom.com> <20070322034618.GB16823@nagual.pp.ru> <20070322063737.GA56493@nagual.pp.ru> <1174545988.8269.15.camel@shumai.marcuscom.com> <20070322124305.GA69324@nagual.pp.ru> <20070322101753.J72356@creme-brulee.marcuscom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070322101753.J72356@creme-brulee.marcuscom.com> User-Agent: Mutt/1.5.14 (2007-02-12) Cc: gnome@freebsd.org, ade@freebsd.org Subject: Re: gettext problem (was Re: desktop-file-utils port problem) 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: Thu, 22 Mar 2007 15:36:08 -0000 On Thu, Mar 22, 2007 at 10:19:53AM -0400, Joe Marcus Clarke wrote: > >Yes, adding --disable-threads to gettext completely fix the crash! > > Can you report this to Ade? As you can see, first my reply about --disable-threads and all next CC'ed already :) > >(update-desktop-database itself remains still linked with pthread, comes > >from libicui18n) > > This may be problematic, too, unless glib's pkg-config file includes > PTHREAD_LIBS. I don't rebuild everything after making libintl not pthreaded, but glib-2.0 is pthreaded too because of libicui18n, don't know is it right: /usr/local/lib/libglib-2.0.so.0: libicui18n.so.36 => /usr/local/lib/libicui18n.so.36 (0x28393000) libintl.so.8 => /usr/local/lib/libintl.so.8 (0x28176000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x284c4000) libicuuc.so.36 => /usr/local/lib/libicuuc.so.36 (0x285b4000) libicudata.so.36 => /usr/local/lib/libicudata.so.36 (0x286c6000) libpthread.so.2 => /lib/libpthread.so.2 (0x2817f000) libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x29076000) libm.so.4 => /lib/libm.so.4 (0x281af000) > I don't know how international update-desktop-database really is. Running > with the verbose flag is not something people typically do. It is. There is references to gettext inside update-desktop-database.c code, f.e. those _(...) (gettext(...) calls) and _N(...) (gettext_noop(...) calls) Defines are in glib-2.0/glib/gi18n.h There is no own gettext translation installed because it tends to use glib's one. -- http://ache.pp.ru/