From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44609) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1if8iJ-0003iq-Re for guix-patches@gnu.org; Wed, 11 Dec 2019 15:36:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1if8iI-0000zm-QS for guix-patches@gnu.org; Wed, 11 Dec 2019 15:36:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52740) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1if8iI-0000zI-M4 for guix-patches@gnu.org; Wed, 11 Dec 2019 15:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1if8iI-0006yw-Gu for guix-patches@gnu.org; Wed, 11 Dec 2019 15:36:02 -0500 Subject: [bug#38436] [PATCH] gnu: Add gfortran-toolchain Resent-Message-ID: From: Konrad Hinsen In-Reply-To: <87y2vjjeuz.fsf@gnu.org> References: <87y2vjjeuz.fsf@gnu.org> Date: Wed, 11 Dec 2019 21:34:57 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 38436@debbugs.gnu.org Hi Ludo, > xgettext recognizes (synopsis "foo"), but it won=E2=80=99t catch the vari= ables > defined above, because they=E2=80=99re not preceded by the =E2=80=98synop= sis=E2=80=99 keyword or > anything. OK, so what's the exact rule? If the literal string has to be right after the symbol "synopsis", then your optional-arg approach shouldn't work when the argument is supplied at the call site (in gfortran-toolchain). That would still leave the option of doing something like (define-public gfortran-toolchain (package (inherit (make-gcc-toolchain gfortran)) (synopsis ...) (description ...) Cheers, Konrad.