guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: gettext: Enable "xgettext --language=glade"


From: Ludovic Courtès
Subject: Re: [PATCH] gnu: gettext: Enable "xgettext --language=glade"
Date: Mon, 18 Nov 2013 00:19:24 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Andreas Enge <address@hidden> skribis:

>       `(#:phases (alist-cons-before
> +                 'configure 'link-expat
> +                 (lambda _
> +                   (substitute* "gettext-tools/configure"
> +                     (("LIBEXPAT=\"-ldl\"") "LIBEXPAT=\"-ldl -lexpat\"")
> +                     (("LTLIBEXPAT=\"-ldl\"") "LTLIBEXPAT=\"-ldl 
> -lexpat\"")))

Actually, it seems to be solvable without adding the dependency:

--8<---------------cut here---------------start------------->8---
$ xgettext -L glade /dev/null 
xgettext: Language "glade" is not supported. xgettext relies on expat.
          This version was built without expat.

$ LD_LIBRARY_PATH=$(guix build expat)/lib xgettext -L glade /dev/null 
xgettext: /dev/null:1:1: no element found
--8<---------------cut here---------------end--------------->8---

(The error message is misleading because it’s not a build-time issue.)

Would it work for you to just use that LD_LIBRARY_PATH trick where it’s
needed?

That way we avoid making gettext “fatter”.  I suppose we’ll seldom need
to do that trick anyway.

WDYT?

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]