[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#38436] [PATCH] gnu: Add gfortran-toolchain
From: |
Ludovic Courtès |
Subject: |
[bug#38436] [PATCH] gnu: Add gfortran-toolchain |
Date: |
Wed, 11 Dec 2019 12:12:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi Konrad,
Konrad Hinsen <address@hidden> skribis:
> * gnu/packages/commencement.scm: (gfortran-toolchain): New variable.
> * gnu/packages/commencement.scm: (make-gcc-toolchain): Added argument
> "language"
We’re almost there. :-)
> +;; The synopsis and description must be literal strings (not constructed
> +;; using string-append or format) to make them translatable.
> +(define gcc-synopsis
> + "Complete GCC tool chain for C/C++ development")
> +(define gcc-description
> + "This package provides a complete GCC tool chain for C/C++ development to
> +be installed in user profiles. This includes GCC, as well as libc (headers
> +and binaries, plus debugging symbols in the @code{debug} output), and
> +binutils.")
>
> (define* (make-gcc-toolchain gcc
> - #:optional
> - (libc #f))
> - "Return a complete toolchain for GCC. If LIBC is specified, target that
> libc."
> + #:optional
> + (synopsis gcc-synopsis)
> + (description gcc-description)
xgettext recognizes (synopsis "foo"), but it won’t catch the variables
defined above, because they’re not preceded by the ‘synopsis’ keyword or
anything.
That’s why I proposed in <https://issues.guix.gnu.org/issue/38436#2> to
arrange to keep the string wrapped in (synopsis …).
It’d be great if you could give it a spin, or I can make the change on
your behalf if you prefer.
Apologies for making something simple somewhat complicated!
Thanks,
Ludo’.
- [bug#38436] [PATCH] gnu: Add gfortran-toolchain, Konrad Hinsen, 2019/12/11
- [bug#38436] [PATCH] gnu: Add gfortran-toolchain,
Ludovic Courtès <=
- [bug#38436] [PATCH] gnu: Add gfortran-toolchain, Konrad Hinsen, 2019/12/11
- [bug#38436] [PATCH] gnu: Add gfortran-toolchain, Ludovic Courtès, 2019/12/12
- [bug#38436] [PATCH] gnu: Add gfortran-toolchain, Konrad Hinsen, 2019/12/12
- [bug#38436] [PATCH] gnu: Add gfortran-toolchain, Ludovic Courtès, 2019/12/12
- [bug#38436] [PATCH] gnu: Add gfortran-toolchain, Konrad Hinsen, 2019/12/13
[bug#38436] [PATCH] gnu: Add gfortran-toolchain, Konrad Hinsen, 2019/12/13