Commit Graph

229 Commits

Author SHA1 Message Date
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
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
Ludovic Courtès da56f10971
guix package: Add 'guix search' alias.
* guix/scripts/search.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
couple of examples.
2019-04-29 12:19:24 +02:00
Ludovic Courtès d824cfbabe
guix package: Add 'install', 'remove', and 'upgrade' aliases.
* guix/scripts/install.scm, guix/scripts/remove.scm,
guix/scripts/upgrade.scm, tests/guix-package-aliases.sh: New files.
* Makefile.am (MODULES, SH_TESTS): Add them.
* po/guix/POTFILES.in: Add them.
* guix/scripts/package.scm (guix-package): Split with...
(guix-package*): ... this.  New procedure.
* doc/guix.texi (Invoking guix package): Document them.
(Binary Installation, Application Setup, Package Management)
(Packages with Multiple Outputs, Package Modules)
(X.509 Certificates, Installing Debugging Files): Use 'guix install' in
simple examples.
* etc/completion/bash/guix (_guix_complete): Handle "install", "remove",
and "upgrade".
2019-04-29 10:13:44 +02:00
Clément Lassieur 615b147f3a
nls: Fix wrong include name.
* po/doc/guix-manual.zh_CN.po: Fix wrong include name.
2019-04-27 10:42:15 +02:00
Julien Lepiller cdb57a831c
nls: Update 'zh_CN' translation.
Refer to the right version.*.texi to prevent errors in Makefile.am.
2019-04-27 00:02:15 +02:00
Julien Lepiller 57e2b24dc0
nls: Update 'es' translation. 2019-04-25 18:55:12 +02:00
Julien Lepiller 9d92774a22
nls: Update 'de' translation. 2019-04-25 18:55:09 +02:00
Julien Lepiller 518acc73c1
nls: Update 'fr' translation. 2019-04-25 18:54:46 +02:00
Julien Lepiller ad377c3d34
nls: Update 'fr' translation of the manual. 2019-04-24 12:25:01 +02:00
Ludovic Courtès de712e5286
doc: Add Simplified Chinese translation.
* doc/local.mk (info_TEXINFOS): Add guix.zh_CN.texi.
(TRANSLATED_INFO): Add guix.zh_CN.texi and contributing.zh_CN.texi.
* po/doc/local.mk (DOC_PO_FILES): Add guix-manual.zh_CN.po.
* doc/contributing.zh_CN.texi, doc/guix.zh_CN.texi: New files.
2019-04-24 00:27:51 +02:00
Ludovic Courtès 3068509ac1
nls: Fix guix-manual.zh_CN.po.
* po/doc/guix-manual.zh_CN.po: Replace "@def" with "@dfn".  Translate
the "contributing.texi" message ID.
2019-04-24 00:24:07 +02:00
Ludovic Courtès 544cab3dcc
doc: Add zh_CN PO file.
* po/doc/guix-manual.zh_CN.po: New file.
2019-04-24 00:17:15 +02:00
Miguel Ángel Arruga Vivas 6227e1b747
doc: Add Spanish translation.
* doc/local.mk (info_TEXINFOS): Add guix.es.texi.
(TRANSLATED_INFO): Add guix.es.texi and contributing.es.texi.
* po/doc/guix-manual.es.po: New file.
* po/doc/local.mk: Add guix-manual.es.po.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-04-23 23:56:16 +02:00
Ludovic Courtès 70da04c37b
nls: Add missing installer files.
* po/guix/POTFILES.in: Add newt/final.scm and newt/partition.scm.
2019-04-23 00:43:37 +02:00
Ludovic Courtès 085e021e63
nls: Update 'de' translation. 2019-04-17 14:31:46 +02:00
Ludovic Courtès c04052e4df
nls: Update 'de' translation of the manual. 2019-04-17 14:06:30 +02:00
Julien Lepiller c9c04b2869
nls: Update 'fr' translation. 2019-04-15 21:53:01 +02:00
Julien Lepiller a27ed8fd35
nls: Update 'fr' translation. 2019-04-13 14:50:46 +02:00
Ludovic Courtès 36d69ac993
nls: Update 'de' translation of the manual. 2019-04-02 18:15:37 +02:00
Ludovic Courtès f0cc5e7e1e
booloader: Add 'invoke/quiet'.
* gnu/build/bootloader.scm (G_): New macro.
(open-pipe-with-stderr, invoke/quiet): New procedures.
* tests/build-utils.scm ("invoke/quiet, success")
("invoke/quiet, failure")
("invoke/quiet, failure, message on stderr"): New tests.
* po/guix/POTFILES.in: Add bootloader.scm.
2019-03-16 18:15:13 +01:00
Julien Lepiller 61ce2e77ff
nls: Update 'de' translation of the manual. 2019-03-12 18:57:00 +01:00
Julien Lepiller 38e37e73c7
nls: Add Swedish translation.
* po/guix/sv.po: New file.
* po/guix/LINGUAS: Add 'sv'.
2019-03-06 23:35:08 +01:00
Julien Lepiller 15f1bff4b6
nls: Update 'fr' translation of the manual. 2019-03-01 21:52:26 +01:00
Leo Famulari 9ca5d0de2d
nls: Update 'da' translation. 2019-02-14 15:25:49 -05:00
Julien Lepiller 57e508d1c1
nls: Update 'de' translation. 2019-02-13 21:40:17 +01:00
Julien Lepiller d093f3e4a4
nls: Update 'da' translation. 2019-02-13 21:40:02 +01:00
Ludovic Courtès f20f168121
nls: Update 'de' translation of the manual. 2019-01-28 15:45:48 +01:00
Mathieu Othacehe 32f7b2fe82
installer: Reorder POTFILES.in
* po/guix/POTFILES.in: Reorder file list.
2019-01-17 14:04:24 +01:00
Mathieu Othacehe 69a934f23a
installer: Add partitioning support.
* gnu/installer.scm (installer-steps): Add partitioning step.
* gnu/installer/newt.scm (newt-installer): Add partition-page field.
* gnu/installer/newt/partition.scm: New file.
* gnu/installer/parted.scm: New file.
* gnu/installer/record (installer): New partition-page field.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add new files.
* po/guix/POTFILES.in: Add new files.
2019-01-17 14:04:24 +01:00
Mathieu Othacehe 47c9480165
installer: Add user module.
* gnu/installer/user.scm: New file.
2019-01-17 14:04:24 +01:00
Mathieu Othacehe b4658c258e
installer: Add hostname.
* gnu/installer/hostname.scm: New file.
* gnu/installer.scm (installer-program): Use new module above.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add new file.
* po/guix/POTFILES.in: Add new file.
2019-01-17 14:04:23 +01:00
Mathieu Othacehe b51bde71a9
installer: Add services page.
Add a page to select services, for now only desktop environments choice is
available.

* gnu/installer.scm (steps): Add services step.
* gnu/installer/newt.scm (newt-installer): Add services-page field.
* gnu/installer/newt/services.scm: New file.
* gnu/installer/record.scm (installer): Add services-page field.
* gnu/installer/services.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add new files.
* po/guix/POTFILES.in: Add new files.
2019-01-17 14:04:23 +01:00
Mathieu Othacehe a49d633c0c
installer: Move everything to the build side.
* gnu/installer.scm: Rename to ...
* gnu/installer/record.scm: ... this.
* gnu/installer/build-installer.scm: Move everything to the build side and
rename to gnu/installer.scm.
* gnu/installer/newt.scm: Remove all the gexps and add depencies to newt
modules as this code will only be used on the build side by now.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adapt it,
(dist_installer_DATA): New rule to install installer's aux-files.
* gnu/system/install.scm (%installation-services): Use only
'installer-program' from (gnu installer). The installer is now choosen on the
build side.
* guix/self.scm (*system-modules*): Restore previous behaviour and add all
installer files to #:extra-files field of the scheme-node.
* po/guix/POTFILES.in: Adapt it.
2019-01-17 14:04:21 +01:00