Commit graph

261 commits

Author SHA1 Message Date
Ludovic Courtès
2b29219370
nls: Update. 2020-04-14 13:01:58 +02:00
Ludovic Courtès
935ef44b39
nls: Update. 2020-04-12 00:18:05 +02:00
Mathieu Othacehe
ee0ad7803c
installer: Add proxy support.
* gnu/installer/proxy.scm: New file.
* gnu/local.mk (INSTALLER_MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* gnu/installer/newt/parameters.scm (run-proxy-page): New procedure,
(run-parameters-page): add the previous procedure to the parameters menu.
2020-04-08 10:24:02 +02:00
Mathieu Othacehe
07a53bd512
installer: Turn help menu into parameters menu.
* gnu/local.mk (INSTALLER_MODULES): Rename help.scm into parameters.scm.
* po/guix/POTFILES.in: Ditto.
* gnu/installer/record.scm (<installer>): Rename help-menu into parameter-menu
and help-page into parameters-page.
* gnu/installer/newt/parameters.scm: Renamed from help.scm. Update information
messages.
* gnu/installer/newt.scm: Update accordingly.
* gnu/installer/newt/keymap.scm: Ditto.
2020-04-08 10:24:02 +02:00
Mathieu Othacehe
786c9c39bc
installer: Add a help page.
* gnu/installer/newt/help.scm: New file.
* gnu/local.mk (INSTALLER_MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* gnu/installer/record.scm (<installer>): Add 'help-menu' and 'help-page'
 fields,
 (installer-help-menu, installer-help-page): new exported procedures.
 * gnu/installer/newt.scm (init): Set the help line,
 (help-menu, help-page): new procedures used ...
 (newt-installer): ... here.
 * gnu/installer/newt/keymap.scm (run-layout-page): Add a context argument to
 differenciate the help context from the main one,
 (run-keymap-page): add a context argument and pass it to run-layout-page.
 * gnu/installer.scm (compute-keymap-step): Add a context argument and pass it
 to 'installer-keymap-page',
 (installer-steps): set the help menu and pass the appropriate context to
 compute-keymap-step calls,
 (guile-newt): update to revision 2.
2020-04-06 15:06:03 +02:00
Julien Lepiller
725862ef53
nls: Add Tamil translation.
* po/guix/LINGUAS: Add 'ta'.
* po/guix/ta.po: New file.
2020-04-02 14:57:37 +02:00
Ludovic Courtès
86603d8660
nls: Update. 2020-03-23 00:06:58 +01:00
Florian Pelz
895e6e8af6
doc: Fix build of German Cookbook translation.
This is a follow-up to f98e83a17f.
See <https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00095.html>.
Reported there by Vagrant Cascadian <vagrant@debian.org>.

* po/doc/local.mk (DOC_COOKBOOK_PO_FILES): Use correct file name.
(doc-po-update-cookbook-%): Use correct PO file name.
2020-03-06 20:50:18 +00:00
Florian Pelz
f98e83a17f
doc: Add German Cookbook translation.
* doc/local.mk (info_TEXINFOS): Add guix-cookbook.de.texi.
(TRANSLATED_INFO): Add guix-cookbook.de.texi.
* po/doc/guix-cookbook.de.po: New file.
* po/doc/local.mk (DOC_COOKBOOK_PO_FILES): Add guix-cookbook.de.po.
2020-02-17 06:52:11 +00:00
Christopher Baines
57718bdf68
Revert "nls: Update 'es' translation of the manual."
I believe this change breaks guix pull:

  ./guix.es.texi:20971: @samp missing closing brace

This reverts commit d156e3fbcd.
2020-02-14 09:01:29 +00:00
Julien Lepiller
7bdb1988ae
nls: Update 'fr' translation. 2020-02-14 04:45:59 +01:00
Julien Lepiller
561185d279
nls: Update 'de' translation of the manual. 2020-02-14 04:45:56 +01:00
Julien Lepiller
d156e3fbcd
nls: Update 'es' translation of the manual. 2020-02-14 04:45:53 +01:00
Julien Lepiller
ade16123dc
nls: Update 'pt_BR' translation. 2020-02-14 04:45:36 +01:00
Ludovic Courtès
11da634a6e
Merge branch 'master' into core-updates 2019-09-24 10:11:38 +02:00
zimoun
aeb51370da
guix package: Add 'guix show' alias.
* guix/scripts/show.scm: New file.
* Makefile.am (MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* tests/guix-package-aliases.sh: Add test.
* doc/guix.texi (Invoking guix package): Document it and use it in a example.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-21 16:48:36 +02:00
Ricardo Wurmus
7bc46ecc34
doc: Add Guix Cookbook.
* .gitignore: Update ignore list.
* Makefile.am (assert-no-store-file-names): Exclude the cookbook.
* bootstrap: Generate po files for cookbook translations.
* doc/guix-cookbook.texi: New file.
* doc/local.mk (info_TEXINFOS): Add it; add a rule to build cookbook
translations.
* po/doc/local.mk (DOC_COOKBOOK_PO_FILES): New variable.
(EXTRA_DIST): Add cookbook pot file and po files.
(doc-po-update-cookbook-%): New target.
(doc-pot-update): Also update cookbook pot file.
(doc-po-update): Also update cookbook po files.
2019-09-18 11:38:14 +02:00
Mark H Weaver
65542a8852
Merge branch 'master' into core-updates 2019-09-06 20:46:00 -04:00
Julien Lepiller
e60a3e7440
nls: Update 'fr' translation of the manual. 2019-08-31 21:30:09 +02:00
Julien Lepiller
b212fef4b0
nls: Update 'es' translation of the manual. 2019-08-31 21:29:46 +02:00
Mark H Weaver
0481289cbc
Merge branch 'master' into core-updates 2019-08-29 17:19:18 -04:00
Ludovic Courtès
a4915e1463
nls: Update 'sv' translation. 2019-08-25 22:48:41 +02:00
Ludovic Courtès
127a07152f
nls: Update 'de' translation. 2019-08-25 22:48:41 +02:00
Ludovic Courtès
3bbd30e9b0
nls: Update 'fr' translation. 2019-08-25 22:48:41 +02:00
Ludovic Courtès
64de896a71
Merge branch 'master' into core-updates 2019-07-17 15:51:10 +02:00
Christopher Baines
f363c836e0
lint: Move the linting code to a different module.
To try and move towards making programatic access to the linting code easier,
this commit separates out the linting script, from the linting functionality
that it uses.

* guix/scripts/lint.scm (emit-warnings): Alter to to not use match-lambda, as
<lint-warning> isn't accessible.
(<lint-warning>, lint-warning, make-lint-warning, lint-warning?,
lint-warning-message, lint-warning-message-text, lint-warning-message-data,
lint-warning-location, package-file, %make-warning make-warning,
<lint-checker>, lint-checker, make-lint-checker, lint-checker?,
lint-checker-name, lint-checker-description, lint-checker-check,
properly-starts-sentance?, starts-with-abbreviation?, %quoted-identifier-rx,
check-description-style, package-input-intersection,
check-inputs-should-be-native, check-inputs-should-not-be-an-input-at-all,
package-name-regexp, check-synopsis-style, probe-uri,
tls-certificate-error-string, validate-uri, check-home-page,
%distro-directory, check-patch-file-names, escape-quotes,
official-gnu-packages*, check-gnu-synopsis+description, origin-uris,
check-source, check-source-file-name, check-source-unstable-tarball,
check-mirror-url, check-github-url, check-derivation, check-license,
call-with-networking-fail-safe, with-networking-fail-safe,
current-vulnerabilities*, package-vulnerabilities, check-vulnerabilities,
check-for-updates, report-tabulations, report-trailing-white-space,
report-long-line, %hanging-paren-rx, report-lone-parantheses,
%formatting-reporters, report-formatting-issues, check-formatting, %checkers):
Move to…
* guix/lint.scm: … here
* po/guix/POTFILES.in: Add guix/lint.scm.
* Makefile.am: Add guix/lint.scm.
* tests/lint.scm: Change to import (guix lint), rather than (guix scripts lint).
2019-07-15 22:32:19 +01:00
Ludovic Courtès
93c2a00739
derivations: Deprecate the previous calling convention.
We will eventually require #:inputs to be a list of <derivation-input>;
store items will have to be passed as #:sources, already interned.

* guix/derivations.scm (warn-about-derivation-deprecation): New procedure.
(derivation): Add #:%deprecation-warning? parameter.
[warn-deprecation]: New macro.
[input->derivation-input, input->source]: Use it.
(build-expression->derivation): Pass #:%deprecation-warning?.
* po/guix/POTFILES.in: Add guix/derivations.scm.
2019-07-15 10:01:05 +02:00
Marius Bakke
fb9a23a3f3
Merge branch 'master' into core-updates
Conflicts:
	gnu/local.mk
	gnu/packages/python-xyz.scm
	gnu/packages/xml.scm
	guix/gexp.scm
	po/guix/POTFILES.in
2019-07-12 01:03:53 +02:00
Jakob L. Kreuze
5cbb832fb1
Add 'guix deploy'.
* guix/scripts/deploy.scm: New file.
* Makefile.am (MODULES): Add it.
2019-07-06 02:10:04 -04:00
Jakob L. Kreuze
fa9edf09e9
gnu: Add machine type for deployment specifications.
* gnu/machine.scm: New file.
* gnu/machine/ssh.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2019-07-06 02:10:04 -04:00
Ludovic Courtès
45d46223f9
utils: Add 'invoke/quiet'.
* gnu/build/bootloader.scm (G_): Remove.
(open-pipe-with-stderr, invoke/quiet): Move to...
* guix/build/utils.scm: ... here.  Use 'let-values' instead of
'define-values' because Guile 2.0 (the bootstrap Guile) doesn't know
about 'define-values'.
* po/guix/POTFILES.in: Remove gnu/build/bootloader.scm, and add
guix/build/utils.scm.
* tests/build-utils.scm: Remove import of (gnu build bootloader).
2019-06-17 16:13:36 +02:00
Ludovic Courtès
836a85da0e
gnu: bootstrap: Download the bootstrap bash, mkdir, tar, and xz binaries.
* gnu/packages/bootstrap.scm (%bootstrap-executables): New variable.
(bootstrap-executable-url, bootstrap-executable): New procedure.
(raw-build)[->store]: Use 'run-with-store' and 'origin->derivation'.
Add calls to 'derivation->output-path', and remove the list of
references passed to 'add-text-to-store' for BUILDER.  Augment the list
of #:inputs passed to 'derivation'.
(package-from-tarball): Use 'bootstrap-executable' instead of
'search-bootstrap-binary'.
(%bootstrap-glibc, %bootstrap-gcc, %bootstrap-mescc-tools)
(%bootstrap-mes): Likewise.
* guix/scripts/environment.scm (environment-bash): Use
'bootstrap-executable' instead of 'search-bootstrap-binary'.
(guix-environment): Adjust CONTAINER? case accordingly.
* po/guix/POTFILES.in: Add gnu/packages/bootstrap.scm.
2019-06-14 21:57:01 +02:00
Ludovic Courtès
376a258f25
Reinstate "nls: Update 'de' translation of the manual."
This reverts commit d69bbd8c70.
2019-06-13 13:32:23 +02:00
Ricardo Wurmus
d69bbd8c70
Revert "nls: Update 'de' translation of the manual."
This reverts commit 78b0f9419f.
2019-06-10 14:34:16 +02:00
Ludovic Courtès
78b0f9419f
nls: Update 'de' translation of the manual. 2019-06-07 21:59:56 +02:00
Ludovic Courtès
0e77eee8c8
nls: Update 'es' translation. 2019-05-17 11:22:29 +02:00
Ludovic Courtès
61886e5d0e
nls: Update 'de' translation. 2019-05-17 11:20:02 +02:00
Ludovic Courtès
32747aa987
nls: Update 'zh_CN' translation. 2019-05-15 16:36:21 +02:00
Julien Lepiller
d1b18fbb5c
nls: Update 'fr' translation. 2019-05-13 22:44:22 +02:00
Ludovic Courtès
8548cf6e95
nls: Update es translation. 2019-05-13 10:57:11 +02:00
Ludovic Courtès
2e62181357
nls: Update de translation. 2019-05-13 10:53:06 +02:00
Ludovic Courtès
3bac7e6495
doc: Add Russian translation.
* doc/local.mk (info_TEXINFOS): Add guix.ru.texi.
(TRANSLATED_INFO): Add {guix,contributing}.ru.texi.
* po/doc/local.mk (DOC_PO_FILES): Add guix-manual.ru.po.
* po/doc/guix-manual.ru.po: New file.
2019-05-13 10:46:03 +02:00
Ludovic Courtès
adb5506b2c
nls: Update da translations. 2019-05-03 17:47:30 +02:00
Ludovic Courtès
8d9fffcb18
nls: Revert latest guix-manual.zh_CN changes.
This reverts d3619b296f for
po/doc/guix-manual.zh_CN.po, which contained duplicate node names and
other errors.
2019-05-01 11:47:55 +02:00
Ludovic Courtès
a3b32d57d6
nls: Fix cross-reference syntax error in 'guix-manual.es.po'.
* po/doc/guix-manual.es.po: Replace "@pref" with "@pxref".
2019-05-01 11:33:32 +02:00
Ludovic Courtès
20ee8883bc
nls: Update translations for de and fr. 2019-05-01 10:49:52 +02:00
Ludovic Courtès
d3619b296f
nls: Update manual translations for de, es, fr, and zh_CN. 2019-05-01 10:16:58 +02:00
Ludovic Courtès
81824af6a4
build: 'guix-manual.*.po' no longer depends on 'guix-manual.pot'.
That dependency was causing a failure when building from a fresh
checkout since commit d60225d5ca because
'guix-manual.pot' was no longer around and there's no rule to make it.

This commit replaces the 'guix-manual.%.po' target by a phony target,
'doc-po-update-%', without any dependency.

* po/doc/local.mk ($(srcdir)/po/doc/guix-manual.%.po): Rename to...
(doc-po-update-%): ... this.  Remove dependencies.
Change how 'lang' is computed; compute $output and $input, and replace
occurrences of $@ and $< with those.
(doc-po-update): Adjust accordingly.
2019-04-30 18:11:15 +02:00
Ludovic Courtès
d60225d5ca
nls: Remove 'guix-manual.pot'.
This file was inadvertently committed in commit
39764ef893.

* po/doc/guix-manual.pot: Remove.
2019-04-30 10:43:51 +02:00
Ludovic Courtès
842a687264
maint: Mark 'doc-pot-update' and 'doc-po-update' as phony.
* po/doc/local.mk (doc-pot-update, doc-pot-update): Mark as phony.
2019-04-29 22:21:14 +02:00