From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#24442: gettext: No PO mode for Emacs (or wrong description) Date: Mon, 19 Sep 2016 11:58:12 +0300 Message-ID: <87r38g5krf.fsf@gmail.com> References: <20160915070426.GI5711@sax.terramar.selidor.net> 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]:33817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bluPq-0003uZ-VX for bug-guix@gnu.org; Mon, 19 Sep 2016 04:59:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bluPm-0000QP-Md for bug-guix@gnu.org; Mon, 19 Sep 2016 04:59:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bluPm-0000QI-I0 for bug-guix@gnu.org; Mon, 19 Sep 2016 04:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bluPm-0002Ds-AE for bug-guix@gnu.org; Mon, 19 Sep 2016 04:59:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20160915070426.GI5711@sax.terramar.selidor.net> (Ivan Vilata i. Balaguer's message of "Thu, 15 Sep 2016 09:04:26 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ivan Vilata i Balaguer Cc: 24442@debbugs.gnu.org Ivan Vilata i Balaguer (2016-09-15 09:04 +0200) wrote: > The description for ``gettext@0.19.8`` (current) includes this sentence: > > It provides translators with the means to create message catalogs, > as well as an Emacs mode to work with them, and a runtime library to > load translated messages from the catalogs. > > However, no output of the package includes the files for Emacs. Thanks for the report! This happens because there is no emacs dependency (input) in 'gettext' package definition, so Emacs is not found during 'configure' phase (as can be seen in the log=C2=B9: =C2=ABchec= king for emacs... no=C2=BB), so elisp files are not compiled and installed. I would say this can simply be fixed by adding: (native-inputs `(("emacs" ,emacs-minimal))) to the gettext package definition (also (gnu packages emacs) module should be used), and I checked it by making a variant of the gettext package with this line; however when I tried it on a real gettext package, I saw that a whole world will be rebuilt (apparently it is a 'core-updates' thing). And I realized that emacs (even its minimal variant) will probably be a too heavy dependency for such a core thing. So perhaps it is time to make 'gettext-minimal' and to use it as the dependency for other packages and 'gettext' (with Emacs tools) intended to be installed by users (as it is done for bash/bash-minimal). WDYT? (this is a question for Guix developers) > One solution (please note that I'm very new to Guix) may be to provide > an output for the Emacs goodies, another one would be removing the > reference to the Emacs mode in the description until it's actually > there.`;)` I think a special output is not needed, as the resulting *.el[c] files weigh much less than 1MB. =C2=B9 http://hydra.gnu.org/log/1zxiq8gq3gs29j0gha5ciyklfafkkrmd-gettext-0.= 19.8 --=20 Alex