Commit graph

322 commits

Author SHA1 Message Date
Ludovic Courtès df325dbafd
po: Remove file that no longer exists.
This is a followup to d95168321f.

* po/guix/POTFILES.in: Remove guix/scripts/import/nix.scm.
2021-04-20 23:38:46 +02:00
Julien Lepiller 1eb26d0e07
nls: Fix Chinese cookbook inclusion.
* po/doc/local.mk: zh_Hans is for the cookbook, not the manual.
2021-04-18 22:29:44 +02:00
Julien Lepiller a209c597e2
nls: Remove 'vi' in LINGUAS
The po file is no longer available.

* po/packages/LINGUAS: Remove 'vi'.
2021-04-18 21:07:24 +02:00
Julien Lepiller 0cfe02cf55
nls: Update 'ru' translation. 2021-04-18 13:18:34 +02:00
Julien Lepiller 8830930e2b
nls: Add Chinese (Traditional) translation.
* po/doc/guix-cookbook.zh_Hans.po: New file.
* doc/local.mk (info_TEXINFOS): Add it.
* po/doc/local.mk (DOC_COOKBOOK_PO_FILES): Add it.
2021-04-18 13:18:29 +02:00
Julien Lepiller 2fd9582558
nls: Add Russian translation.
* po/guix/ru.po: New file.
* po/guix/LINGUAS: Add 'ru'.
2021-04-18 13:18:26 +02:00
Julien Lepiller e18a3020f4
nls: Add Dutch translation.
* po/guix/nl.po: New file.
* po/guix/LINGUAS: Add 'nl'.
2021-04-18 13:18:24 +02:00
Julien Lepiller 0f355124af
nls: Add Korean translation.
* po/doc/guix-cookbook.ko.po: New file.
* po/doc/guix-manual.ko.po: New file.
* doc/local.mk (info_TEXINFOS): Add them.
* po/doc/local.mk (DOC_PO_FILES, DOC_COOKBOOK_PO_FILES): Add them.
* po/guix/ko.po: New file.
* po/guix/LINGUAS: Add 'ko'.
* po/packages/ko.po: New file.
* po/packages/LINGUAS: Add 'ko'.
2021-04-18 13:18:22 +02:00
Julien Lepiller d2d6c20fee
nls: Add Italian translation.
* po/doc/guix-manual.it.po: New file.
* po/doc/local.mk (DOC_PO_FILES): Add it.
* doc/local.mk (info_TEXINFOS): Add it.
* po/guix/it.po: New file.
* po/guix/LINGUAS: Add 'it'.
2021-04-18 13:18:20 +02:00
Julien Lepiller 43fb84da67
nls: Add Persian translation.
* po/packages/fa.po: New file.
* po/packages/LINGUAS: Add 'fa'.
* po/doc/guix-cookbook.fa.po: New file.
* po/doc/guix-manual.fa.po: New file.
* po/doc/local.mk (DOC_PO_FILES, DOC_COOKBOOK_PO_FILES): Add them.
* doc/local.mk (info_TEXINFOS): Add them.
2021-04-18 13:18:17 +02:00
Julien Lepiller 25bd0aefe5
nls: Update 'sk' translation. 2021-04-18 13:18:15 +02:00
Julien Lepiller 77c6c0aa57
nls: Add Slovak translation.
* po/packages/sk.po: New file.
* po/packages/LINGUAS: Add 'sk'.
* po/doc/guix-manual.sk.po: New file.
* doc/local.mk (info_TEXINFOS): Add it.
* po/doc/local.mk (DOC_PO_FILES): Add it.
2021-04-18 13:18:13 +02:00
Julien Lepiller 5cb08cca27
nls: Update 'pt_BR' translation. 2021-04-18 13:18:11 +02:00
Julien Lepiller c3eaff8a21
nls: Add Portuguese (Brazil) translation of the manual. 2021-04-18 13:18:08 +02:00
Julien Lepiller a36ffecfd7
nls: Update 'vi' translation. 2021-04-18 13:18:06 +02:00
Julien Lepiller 89162676b5
nls: Remove Vietnamese translations of packages.
No translated string is used in Guix anymore.
2021-04-18 13:18:04 +02:00
Julien Lepiller 5d1f110b45
nls: Update 'zh_CN' translations. 2021-04-18 13:18:02 +02:00
Julien Lepiller 0ff1d5ac7e
nls: Update 'ta' translation. 2021-04-18 13:18:00 +02:00
Julien Lepiller 49e6cf58af
gnu: Update 'sv' translation. 2021-04-18 13:17:58 +02:00
Julien Lepiller de4617105c
nls: Update 'sr' translations. 2021-04-18 13:17:56 +02:00
Julien Lepiller 8a0195fcad
nls: Update 'pl' translations. 2021-04-18 13:17:53 +02:00
Julien Lepiller 4f35328689
nls: Update 'hu' translations. 2021-04-18 13:17:51 +02:00
Julien Lepiller ff7309b001
nls: Update 'da' translations. 2021-04-18 13:17:49 +02:00
Julien Lepiller 8b6b62e0fd
nls: Update 'cs' translation. 2021-04-18 13:17:46 +02:00
Julien Lepiller 70250e1853
nls: Update 'eo' translations. 2021-04-18 13:17:43 +02:00
Julien Lepiller 959eca8a92
nls: Update 'es' translations. 2021-04-18 13:17:40 +02:00
Julien Lepiller 2a18bcbfd3
nls: Update 'de' translations. 2021-04-18 13:17:37 +02:00
Julien Lepiller 5ebe6904ea
nls: Update 'fr' translations. 2021-04-18 13:17:35 +02:00
Julien Lepiller 58c5911652
nls: Add French translation of the cookbook. 2021-04-18 13:17:31 +02:00
Julien Lepiller 9b976cfe1d
nls: Add Slovak translation.
* po/guix/LINGUAS: Add 'sk'.
* po/guix/sk.po: New file.
2021-04-13 14:28:01 +02:00
Katherine Cox-Buday 02e2e093e8
import: Add Go importer.
This patch adds a 'guix import go' command.

* doc/guix.texi (Requirements): Mention Guile-Lib dependency.
(Invoking guix import): Document 'guix import go'.
* gnu/packages/package-management.scm (guix)[inputs, propagated-inputs]:
Add GUILE-LIB.
* guix/self.scm (compiled-guix)[guile-lib]: New variable.
[dependencies]: Add it.
(specification->package): Add "guile-lib".
* guix/build-system/go.scm (go-version->git-ref): New procedure.
* guix/import/go.scm, guix/scripts/import/go.scm, tests/go.scm: New files.
* guix/scripts/import.scm: Declare subcommand guix import go
* po/guix/POTFILES.in: Add 'guix/scripts/import/go.scm'.
* Makefile.am (MODULES): Add 'guix/import/go.scm' and
'guix/scripts/import/go.scm'.
(SCM_TESTS): Add 'tests/go.scm'.

Co-Authored-By: Helio Machado <0x2b3bfa0@gmail.com>
Co-Authored-By: Francois Joulaud <francois.joulaud@radiofrance.com>
Co-Authored-By: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Co-Authored-by: Ludovic Courtès <ludo@gnu.org>
2021-03-10 18:01:48 +01:00
Simon South db6b9d2f4b
services: Add transmission-daemon service.
* gnu/services/file-sharing.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* po/packages/POTFILES.in: Add it.
* tests/services/file-sharing.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* doc/guix.texi (File-Sharing Services): New section.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2021-02-12 15:11:36 +08:00
Julien Lepiller a00af77904
nls: Update 'fr' translation. 2021-01-28 16:41:18 +01:00
Ludovic Courtès 02e5c95db9
Revert "nls: Update 'fr' translation."
This reverts commit 5d03ef73c3, which led
to these errors:

  /gnu/store/…-guix/fr.po:7206: 'msgstr' is not a valid Scheme format string, unlike 'msgid'. Reason: In the directive number 3, the character ' ' is not a valid conversion specifier.
  /gnu/store/…-guix/fr.po:7554: format specifications in 'msgid' and 'msgstr' are not equivalent
  /gnu/store/…-gettext-minimal-0.20.1/bin/msgfmt: found 2 fatal errors
2021-01-22 08:48:00 +01:00
Julien Lepiller 5d03ef73c3
nls: Update 'fr' translation. 2021-01-22 00:31:28 +01:00
Christopher Baines 681af17460
guix: Move narinfo code from substitute script to module.
This separation between the code for dealing with narinfos from the code doing
that for a purpose should make things clearer, and better support components
other that the substitute script in using this code.

This is just moving the code around, no code should have been significantly
changed.

* guix/scripts/substitute.scm (<narinfo>): Move record type to (guix narinfo).
(fields->alist, narinfo-hash-algorithm+value, narinfo-hash->sha256,
narinfo-signature->canonical-sexp, narinfo-maker, read-narinfo,
narinfo-sha256, valid-narinfo?, write-narinfo, narinfo->string,
string->narinfo, equivalent-narinfo?, supported-compression?,
compresses-better?, narinfo-best-uri): Move procedures to (guix narinfo).
(%compression-methods): Move variable to (guix narinfo).
* guix/narinfo.scm: New file.
* Makefile.am (MODULES): Add it.
* po/guix/POTFILES.in: Add 'guix/narinfo.scm'.
2021-01-16 11:51:03 +00:00
Mathieu Othacehe 8361817bf6
install: Discover local substitute servers.
* gnu/installer/substitutes.scm: New file.
* gnu/installer/newt/substitutes.scm: New file.
* gnu/local.mk (INSTALLER_MODULES): Add them.
* po/guix/POTFILES.in: Add gnu/installer/newt/substitutes.scm.
* gnu/installer/proxy.scm (with-silent-shepherd): Move to ...
* gnu/installer/utils.scm: ... here.
* gnu/installer/record.scm (<installer>)[substitutes-page]: New field.
* gnu/installer/newt.scm (substitutes-page): New procedure,
(newt-installer): register it.
* gnu/installer.scm (installer-steps): Add "substitutes-page" step.
* gnu/system/install.scm (%installation-services): Add avahi-service-type and
enable substitute server discover in guix-service-type.
[<name-service-switch>]: Set it to %mdns-host-lookup-nss.
2020-12-11 21:37:07 +01:00
Ludovic Courtès 41fb3d5a9a
nls: Update 'fr' translation of the manual. 2020-12-03 16:18:45 +01:00
Ludovic Courtès cf53ea79dd
nls: Update 'fr' translation of the manual. 2020-11-21 15:49:36 +01:00
Miguel Ángel Arruga Vivas c1eb04e6fd
nls: Update add missing script files.
* po/guix/POTFILES.in: Add missing script files.
2020-11-18 21:01:35 +01:00
Ludovic Courtès ef1107e2cc
nls: Update string translations. 2020-11-12 10:13:45 +01:00
Ludovic Courtès 7547be7d99
nls: Update translations of the manual. 2020-11-12 10:12:45 +01:00
Julien Lepiller 74fdbbfaad
nls: Update translations of the manual. 2020-11-12 09:39:17 +01:00
Julien Lepiller e55f6418cd
nls: Update 'ta' translation. 2020-11-12 09:39:10 +01:00
Tobias Geerinckx-Rice 1aced9aa0c
nls: Fix Texinfo typo.
* po/doc/guix-manual.de.po: Fix ‘@sasmp{}’ that broke ‘make’.
2020-11-03 13:30:23 +01:00
Julien Lepiller 595cd9cdb9
nls: Update translations of the manual. 2020-11-03 12:47:43 +01:00
Ludovic Courtès 0dc89c0368
nls: Internationalize command synopses as shown in 'guix help'.
This is a followup to 3794ce93be.

* po/guix/Makevars (XGETTEXT_OPTIONS): Add '--keyword=synopsis'.
2020-11-03 11:58:00 +01:00
Florian Pelz 86e878f107
nls: Update ‘de’ cookbook translation. 2020-11-01 12:52:59 +00:00
Ludovic Courtès f68b3ba12d
guix build: Move transformation options to (guix transformations).
* guix/transformations.scm: New file.
* tests/scripts-build.scm: Rename to...
* tests/transformations.scm: ... this.
* Makefile.am (MODULES): Add 'guix/transformations.scm'.
(SCM_TESTS): Adjust to rename.
* guix/scripts/build.scm (numeric-extension?)
(tarball-base-name, <downloaded-file>, download-to-store*)
(compile-downloaded-file, package-with-source)
(transform-package-source, evaluate-replacement-specs)
(transform-package-inputs, transform-package-inputs/graft)
(%not-equal, package-git-url, evaluate-git-replacement-specs)
(transform-package-source-branch, transform-package-source-commit)
(transform-package-source-git-url, package-dependents/spec)
(package-toolchain-rewriting, transform-package-toolchain)
(transform-package-with-debug-info, transform-package-tests)
(%transformations, transformation-procedure, %transformation-options)
(show-transformation-options-help, options->transformation)
(package-transformations): Move to (guix transformations).
* guix/scripts/environment.scm: Adjust accordingly.
* guix/scripts/graph.scm: Likewise.
* guix/scripts/install.scm: Likewise.
* guix/scripts/pack.scm: Likewise.
* guix/scripts/package.scm: Likewise.
* guix/scripts/upgrade.scm: Likewise.
* po/guix/POTFILES.in: Add 'guix/transformations.scm'.
2020-10-31 23:16:43 +01:00
Miguel Ángel Arruga Vivas aecbff83b0
nls: Update 'es' translation. 2020-10-30 13:12:53 +01:00