From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: gettext: Enable "xgettext --language=glade" Date: Mon, 18 Nov 2013 10:17:36 +0100 Message-ID: <87fvquukzz.fsf@gnu.org> References: <20131117122546.GA32131@debian> <877gc639c3.fsf@gnu.org> <20131118081703.GA28696@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViKxk-0005Sh-Ju for guix-devel@gnu.org; Mon, 18 Nov 2013 04:17:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ViKxe-0006DK-Ct for guix-devel@gnu.org; Mon, 18 Nov 2013 04:17:44 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:63904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViKxe-0006D2-6N for guix-devel@gnu.org; Mon, 18 Nov 2013 04:17:38 -0500 In-Reply-To: <20131118081703.GA28696@debian> (Andreas Enge's message of "Mon, 18 Nov 2013 09:17:03 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge skribis: > On Mon, Nov 18, 2013 at 12:19:24AM +0100, Ludovic Court=C3=A8s wrote: >> Actually, it seems to be solvable without adding the dependency: >>=20 >> --8<---------------cut here---------------start------------->8--- >> $ xgettext -L glade /dev/null=20 >> xgettext: Language "glade" is not supported. xgettext relies on expat. >> This version was built without expat. >>=20 >> $ LD_LIBRARY_PATH=3D$(guix build expat)/lib xgettext -L glade /dev/null= =20 >> xgettext: /dev/null:1:1: no element found >> --8<---------------cut here---------------end--------------->8--- > > I know, that was one of the things we tested early on; but... OK, sorry for stating the obvious then (apologies for not following the discussion closely enough!). >> Would it work for you to just use that LD_LIBRARY_PATH trick where it=E2= =80=99s >> needed? >> That way we avoid making gettext =E2=80=9Cfatter=E2=80=9D. I suppose we= =E2=80=99ll seldom need >> to do that trick anyway. > > ... might there not be users who want a fully functional xgettext? Now th= at > we found a simple solution, I am rather in favour of implementing it. > Not to mention that this solves the issue once and for all, and we do not > need to remember the LD_LIBRARY_PATH trick later on... Yeah, makes sense to me; so feel free to commit now. Are there other optional dependencies that are dlopen=E2=80=99d, or is it t= he only one? It=E2=80=99s OK if it=E2=80=99s just expat, but we wouldn=E2=80= =99t want to add bigger things. Thanks, Ludo=E2=80=99.