David Thompson
aff8ce7c74
scripts: Add 'publish' command.
...
* guix/scripts/publish.scm: New file.
* po/guix/POTFILES.in: Add it.
* tests/publish.scm: New file.
* Makefile.am (MODULES): Add script module.
(SCM_TESTS): Add test module.
* doc/guix.texi ("Invoking guix publish"): New node.
2015-04-04 14:16:43 -04:00
Taylan Ulrich Bayırlı/Kammer
122c87ead0
Fix remaining references to "substitute-binary".
...
* nix/nix-daemon/guix-daemon.cc (main): Change substitute-binary to
substitute.
* po/guix/POTFILES.in: Likewise.
* tests/guix-daemon.sh: Likewise.
* tests/guix-system.sh: Likewise.
2015-03-26 23:54:59 +01:00
Ludovic Courtès
116244df95
services: Statically report duplicate dmd service identifiers.
...
Reported by 白い熊 @相撲道 <guix-devel_gnu.org@sumou.com>
at <http://lists.gnu.org/archive/html/guix-devel/2015-03/msg00264.html >.
* gnu/services/dmd.scm (assert-no-duplicates): New procedure.
(dmd-configuration-file): Use it.
* po/guix/POTFILES.in: Add gnu/services/dmd.scm.
* tests/guix-system.sh (errorfile): Add test.
2015-03-09 23:51:43 +01:00
Ludovic Courtès
bf26b8ddab
nls: Update 'eo' translation.
2015-02-05 23:40:55 +01:00
Ludovic Courtès
d31721464e
nls: Update 'vi' translation.
2015-01-28 21:32:58 +01:00
Ludovic Courtès
4ad8789c17
nls: Add a few more package modules for translation.
...
* po/packages/POTFILES.in: List a few more files.
2015-01-27 00:07:25 +01:00
Ludovic Courtès
eb9dfcb3c4
nls: Update 'eo' translation.
2015-01-09 23:33:05 +01:00
Ludovic Courtès
bf7688fe4d
nls: Add French translation for packages.
2014-12-26 23:28:13 +01:00
Ludovic Courtès
f912da3a84
nls: Add French translation.
2014-12-13 23:17:31 +01:00
Ludovic Courtès
9668b3bb38
nls: Update 'eo' translation.
2014-12-07 21:50:58 +01:00
Ludovic Courtès
764ee9e808
nls: Update Hungarian translation.
2014-12-04 23:53:16 +01:00
Ludovic Courtès
845d48e7a1
nls: Add Hungarian translation.
...
* po/packages/hu.po: New file.
* po/packages/LINGUAS: Add it.
2014-12-03 22:52:19 +01:00
Ludovic Courtès
598e19dca1
system: Build system-wide locale definitions.
...
* gnu/system/locale.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/system.scm (<operating-system>)[locale]: Change the default to
"en_US.utf8".
(operating-system-locale-directory): New procecure.
(operating-system-derivation): Use it.
* doc/guix.texi (Using the Configuration System): Change example locale
to "fr_FR.utf8".
(operating-system Reference): Add xref to "Locales". Document
'locale-definitions'.
(Locales): New section.
* po/guix/POTFILES.in: Add gnu/system.scm.
2014-11-27 08:55:46 +01:00
Ludovic Courtès
342b5204aa
nls: Update 'vi' translation.
2014-11-11 15:31:35 +01:00
Ludovic Courtès
9a4d9333e2
nls: Update 'de' translation.
2014-11-10 23:29:38 +01:00
Ludovic Courtès
e1a94b978e
nls: Add a few more package modules for translation.
...
* po/packages/POTFILES.in: List a few more files.
2014-11-10 22:42:14 +01:00
Ludovic Courtès
34942e9597
nls: Recognize 'N_' as equivalent to 'ngettext'.
...
This fixes i18n of plural messages.
* po/guix/Makevars (XGETTEXT_OPTIONS): Change 'N_' to 'N_:1,2'.
2014-09-29 22:03:46 +02:00
Ludovic Courtès
6bddfbc98d
nls: Update 'sr' translation.
2014-09-13 14:22:37 +02:00
Ludovic Courtès
00d908db1e
nls: Adjust reference to stale file.
...
* po/packages/POTFILES.in: Replace recutils.scm with databases.scm.
2014-09-11 09:52:14 +02:00
Cyril Roelandt
b4f5e0e87c
scripts: add guix lint
...
* guix/scripts/lint.scm: New file. Defines a 'lint' tool for Guix packages.
* tests/lint.scm: New file.
* Makefile.am (MODULES, SCM_TESTS): Add them.
* po/guix/Makevars: Update appropriately.
* po/guix/POTFILES.in: Update appropriately.
* doc/guix.texi: Document "guix lint".
2014-09-03 02:07:07 +02:00
Ludovic Courtès
599f146400
Revert "nls: Use xgettext and msgmerge with --no-wrap."
...
This reverts commit 648453e8d6
.
See <http://lists.gnu.org/archive/html/bug-gettext/2014-08/msg00005.html >
for the rationale.
2014-08-12 15:46:21 +02:00
Ludovic Courtès
26c398b182
nls: Add Czech translation.
2014-08-11 18:45:54 +02:00
Ludovic Courtès
51af57102c
build: Update PO files as per 'make dist'.
2014-07-25 00:56:50 +02:00
Ludovic Courtès
a4f51df98a
nls: Add Hungarian translation.
2014-07-20 22:39:02 +02:00
Ludovic Courtès
2dd36f5a09
nls: Update 'eo' and 'vi' translations.
2014-07-15 23:43:41 +02:00
Ludovic Courtès
4660b1e83b
nls: Add German translation.
2014-07-13 23:59:48 +02:00
Ludovic Courtès
bdfdf9017b
nls: Update eo, pt_BR, sr, and vi package translations.
2014-07-13 23:56:05 +02:00
Ludovic Courtès
738146bfd4
nls: Update 'sr' translation.
2014-06-21 15:21:04 +02:00
Ludovic Courtès
648453e8d6
nls: Use xgettext and msgmerge with --no-wrap.
...
Suggested by Benno Schulenberg <coordinator@translationproject.org>.
* po/guix/Makevars (XGETTEXT_OPTIONS): Add --no-wrap.
(MSGMERGE_OPTIONS): New variable.
* po/packages/Makevars (XGETTEXT_OPTIONS): Add --no-wrap.
(MSGMERGE_OPTIONS): New variable.
2014-06-17 00:26:32 +02:00
Ludovic Courtès
7f52946adf
nls: Remove obsolete messages from PO files.
...
Suggested by Benno Schulenberg <coordinator@translationproject.org>.
* po/guix/eo.po, po/guix/pt_BR.po, po/guix/sr.po, po/guix/vi.po,
po/packages/eo.po, po/packages/pt_BR.po, po/packages/sr.po,
po/packages/vi.po: Remove obsolete messages.
2014-06-17 00:24:25 +02:00
Ludovic Courtès
240a2775de
i18n: Move package descriptions from 'guix' to 'guix-packages'.
...
* po/guix: Merge with po/packages as per
<https://lists.gnu.org/archive/html/guix-devel/2014-06/msg00058.html >.
* po/packages/LINGUAS: Add eo, pt_BR, sr, and vi.
2014-06-14 22:55:59 +02:00
Ludovic Courtès
ee76417972
Separate package description translations from string translations.
...
* po/packages/LINGUAS, po/packages/Makevars, po/packages/POTFILES.in:
New files.
* po/guix/Makevars (DOMAIN): Change to "guix".
(XGETTEXT_OPTIONS): Remove "--keyword=synopsis --keyword=description".
* po/guix/POTFILES.in: Remove gnu/packages/*.scm.
* configure.ac: Change to gettext 0.18.3. Produce
po/packages/Makefile.in.
* Makefile.am (SUBDIRS): Add po/packages.
* guix/ui.scm (%package-text-domain): New variable.
(P_): New procedure.
(package->recutils): Use 'P_' instead of '_'.
* guix/scripts/package.scm (find-packages-by-description): Use 'P_'
instead of 'gettext'.
2014-06-13 17:30:40 +02:00
Ludovic Courtès
ef1a9bb7d6
Move gettext files to 'po/guix'.
...
* po: Rename to...
* po/guix: ... this.
* po/guix/Makevars (subdir, top_builddir): Adjust accordingly.
* configure.ac: Change 'po/Makefile.in' to 'po/guix/Makefile.in'.
* Makefile.am (SUBDIRS): Change 'po' to 'po/guix'.
2014-06-13 16:31:18 +02:00
Ludovic Courtès
28b1d6d8f3
Update 'eo.po'.
2014-06-03 22:43:07 +02:00
Ludovic Courtès
bd69ce5c0e
Update '.po' files.
2014-04-09 20:54:35 +02:00
Ludovic Courtès
c1d52c71aa
ui: Handle SRFI-35 '&message' conditions.
...
* guix/ui.scm (call-with-error-handling): Add case for
'message-condition?'.
* po/Makevars: Fix typo in comment.
2014-02-21 23:49:52 +01:00
Ludovic Courtès
523e48969b
Add 'guix system'.
...
* guix/scripts/system.scm: New file.
* Makefile.am (MODULES): Add it.
* po/POTFILES.in: Likewise.
* doc/guix.texi (Using the Configuration System): Link to "Invoking guix
system".
(Invoking guix system): New node.
2014-02-18 23:47:49 +01:00
Ludovic Courtès
cd4027fa47
nar: Add 'restore-file-set', for use by build hooks.
...
* guix/nar.scm (&nar-invalid-hash-error, &nar-signature-error): New
condition types.
(&nar-error): Add 'file' and 'port' fields.
(&nar-read-error): Remove 'port' and 'file' fields.
(lock-store-file, unlock-store-file, finalize-store-file,
temporary-store-directory, restore-file-set): New procedures.
* tests/nar.scm (%seed): New variable.
(random-text): New procedure.
("restore-file-set (signed, valid)", "restore-file-set (missing
signature)", "restore-file-set (corrupt)"): New tests.
* po/Makevars (XGETTEXT_OPTIONS): Add '--keyword=message'.nar fixes
* po/POTFILES.in: Add guix/nar.scm.
2014-01-24 00:01:50 +01:00
Ludovic Courtès
f7ad76e06d
Update 'sr.po'.
2014-01-15 00:24:46 +01:00
Ludovic Courtès
526382ff92
daemon: Implement signed archive import/export.
...
* guix/scripts/authenticate.scm, nix/scripts/guix-authenticate.in,
tests/signing-key.pub, tests/signing-key.sec: New files.
* po/POTFILES.in: Add 'guix/scripts/authenticate.scm'.
* guix/store.scm (dump-port): New procedure.
(process-stderr): Add 'user-port' optional parameter. Handle
the %STDERR-WRITE and %STDERR-READ cases as expected.
(import-paths, export-path, export-paths): New procedures.
* tests/store.scm ("export/import several paths", "import corrupt
path"): New tests.
* Makefile.am (MODULES): Add 'guix/scripts/authenticate.scm'.
(EXTRA_DIST): Add 'tests/signing-key.{pub,sec}'.
* daemon.am (libstore_a_CPPFLAGS)[-DNIX_CONF_DIR]: Change 'NIX_CONF_DIR'
to .../guix. Change 'OPENSSL_PATH' to 'guix-authenticate'.
* config-daemon.ac: Instantiate 'nix/scripts/guix-authenticate'.
* nix/nix-daemon/guix-daemon.cc (main): Augment $PATH to include
'settings.nixLibexecDir'.
* test-env.in: Export 'NIX_CONF_DIR' and 'NIX_LIBEXEC_DIR'. Populate
$NIX_CONF_DIR.
2013-12-20 17:17:42 +01:00
Ludovic Courtès
0b7e8e9d49
Update '.po' files.
2013-12-10 23:06:29 +01:00
Ludovic Courtès
279fef2e45
nls: Add Vietnamese translation.
...
* po/vi.po: New file.
* po/LINGUAS: Add 'vi'.
2013-12-04 16:07:53 +01:00
Ludovic Courtès
e060ec3eb0
Update 'eo.po'.
2013-12-04 16:07:53 +01:00
Ludovic Courtès
9ed08d1fd4
nls: Add Serbian translation.
...
* po/sr.po: New file.
* po/LINGUAS: Add 'sr'.
2013-11-09 18:00:03 +01:00
Ludovic Courtès
9546640ecc
Update 'pt_BR.po'.
2013-09-29 11:29:27 +02:00
Ludovic Courtès
81bb9b6665
Update '.po' files.
2013-09-27 14:32:16 +02:00
Ludovic Courtès
d09cb44967
Update 'eo.po'.
2013-09-25 21:25:47 +02:00
Ludovic Courtès
1af63b797c
Update `eo.po'.
2013-08-15 11:46:42 +02:00
Ludovic Courtès
88ebd5e699
Update .po files.
2013-07-17 11:00:28 +02:00
Ludovic Courtès
a0daf4a04e
Add `pt_BR' translation.
2013-07-15 23:51:27 +02:00
Ludovic Courtès
614bdaffbf
Update `eo.po'.
2013-07-14 16:44:15 +02:00
Ludovic Courtès
3b8258c569
Rename (guix web) to (guix http-client).
...
* guix/web.scm: Rename to...
* guix/http-client.scm: ... this.
* guix/gnu-maintenance.scm, guix/scripts/substitute-binary.scm,
Makefile.am, po/POTFILES.in: Update accordingly.
2013-07-14 16:44:15 +02:00
Ludovic Courtès
6a3380dfbf
Update eo.po.
2013-07-10 22:34:05 +02:00
Ludovic Courtès
e3f6f8b448
Update eo.po.
2013-06-19 23:19:35 +02:00
Ludovic Courtès
c7c834a998
Add `substitute-binary.scm' to POTFILES.in.
...
* po/POTFILES.in: Add guix/scripts/substitute-binary.scm.
2013-06-19 19:27:53 +02:00
Ludovic Courtès
7046c48d72
nls: Add Esperanto translation.
...
* po/eo.po, po/LINGUAS: New files.
2013-05-24 00:22:57 +02:00
Ludovic Courtès
1c9e7d65d4
web: Factorize `http-get' hackery.
...
This should fix `substitute-binary --query' on Guile 2.0.5.
* guix/web.scm: New file.
* Makefile.am (MODULES): Add it.
* po/POTFILES.in: Add it.
* guix/gnu-maintenance.scm (http-fetch): Remove.
(%package-list-url): Turn into a URI.
(official-gnu-packages): Add #:text? #t to `http-fetch' call.
* guix/scripts/substitute-binary.scm (fetch): Remove `http' case, and
use `http-fetch' instead.
2013-04-25 22:14:51 +02:00
Nikita Karetnikov
6c365eca6d
Add 'guix hash'.
...
* guix/scripts/hash.scm: New file.
* Makefile.am (MODULES): Add it.
* po/POTFILES.in: Add it.
* doc/guix.texi (Invoking guix hash): New node.
(Defining Packages): Add a cross-reference to the 'Invoking guix
hash' node.
2013-04-21 19:22:14 +00:00
Nikita Karetnikov
98eb8cbe8d
ui: Add a 'define-diagnostic' macro.
...
* guix/ui.scm (define-diagnostic): New macro, which is based on the
previous version of 'warning'.
(warning, leave): Redefine using 'define-diagnostic'.
(report-error): New macro.
(install-locale): Use 'warning' instead of 'format'.
(call-with-error-handling): Adjust 'leave'.
* gnu/packages.scm (package-files): Use 'warning' instead of 'format'.
* guix/gnu-maintenance.scm (http-fetch): Use 'warning' and 'leave'.
* guix/scripts/build.scm (derivations-from-package-expressions, guix-build):
Adjust 'leave'.
* guix/scripts/download.scm (guix-download): Adjust 'leave'.
* guix/scripts/gc.scm (size->number, %options): Adjust 'leave'.
* guix/scripts/package.scm (roll-back, guix-package): Adjust 'leave'.
* po/POTFILES.in: Add 'guix/gnu-maintenance.scm'.
2013-04-21 08:08:40 +00:00
Ludovic Courtès
f651b477b7
Add "guix pull".
...
* guix/scripts/pull.scm: New file.
* Makefile.am (MODULES): Add it.
* doc/guix.texi (Invoking guix pull): New node.
(Invoking guix package): Add cross-ref to it.
* guix/ui.scm (config-directory): New procedure.
* scripts/guix.in: When `GUIX_UNINSTALLED' is undefined, add
$XDG_CONFIG_HOME/guix/latest to the search path.
* po/POTFILES.in: Add guix/scripts/pull.scm.
2013-02-20 23:47:16 +01:00
Mark H Weaver
e49951eb3e
Replace individual scripts with master 'guix' script.
...
* scripts/guix.in: New script.
* Makefile.am (bin_SCRIPTS): Add 'scripts/guix'. Remove 'guix-build',
'guix-download', 'guix-import', 'guix-package', and 'guix-gc'.
(MODULES): Add 'guix/scripts/build.scm', 'guix/scripts/download.scm',
'guix/scripts/import.scm', 'guix/scripts/package.scm', and
'guix/scripts/gc.scm'.
* configure.ac (AC_CONFIG_FILES): Add 'scripts/guix'. Remove 'guix-build',
'guix-download', 'guix-import', 'guix-package', and 'guix-gc'.
* guix-build.in, guix-download.in, guix-gc.in, guix-import.in,
guix-package.in: Remove shell script boilerplate. Move to guix-COMMAND.in
to guix/scripts/COMMAND.scm. Rename module from (guix-COMMAND) to
(guix scripts COMMAND). Change "guix-COMMAND" to "guix COMMAND" in
usage help string.
* pre-inst-env.in: Add "@abs_top_builddir@/scripts" to the front of $PATH.
Export $GUIX_UNINSTALLED.
* tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh,
tests/guix-gc.sh, tests/guix-package.sh: Use "guix COMMAND" instead of
"guix-COMMAND".
* doc/guix.texi: Replace all occurrences of "guix-COMMAND" with
"guix COMMAND".
* po/POTFILES.in: Update.
2013-02-16 22:17:37 -05:00
Ludovic Courtès
59a43334a9
distro: Rename (distro) to (gnu packages).
...
* distro.scm: Rename to...
* gnu/packages.scm: ... this. Update all users accordingly.
* Makefile.am (MODULES): Adjust accordingly.
* po/POTFILES.in: Likewise.
2013-01-18 01:07:53 +01:00
Ludovic Courtès
1ffa7090b9
distro: Change the module name space to (gnu ...).
...
* distro: Rename to...
* gnu: ... this. Update module names accordingly.
* Makefile.am: Adjust accordingly.
* po/POTFILES.in: Likewise.
* distro.scm: Search for files under /gnu/packages instead of
/distro/packages.
* gnu/packages/base.scm (ld-wrapper-boot3): Likewise.
2013-01-18 01:07:31 +01:00
Ludovic Courtès
fe8ff02827
Add `guix-gc'.
...
* guix-gc.in, tests/guix-gc.sh: New files.
* configure.ac: Output `guix-gc', and make it executable.
* Makefile.am (bin_SCRIPTS): Add `guix-gc'.
(TESTS): Add `tests/guix-gc.sh'.
* doc/guix.texi (Features): Add xref to "Invoking guix-gc".
(Invoking guix-gc): New node.
* po/POTFILES.in: Add `guix-gc.in'.
2013-01-06 00:28:06 +01:00
Ludovic Courtès
3441e16497
ui: Factorize bug-report information in `--help'.
...
* guix/config.scm.in (%guix-home-page-url): New variable.
* guix/ui.scm (show-bug-report-information): New procedure.
* guix-build.in (show-help): Use it.
* guix-download.in (show-help): Likewise.
* guix-import.in (show-help): Likewise.
* guix-package.in (show-help): Likewise.
2013-01-05 15:55:47 +01:00
Ludovic Courtès
9d9e645081
distro: Go for one module per package.
...
The alternative, which was to use one module per category, would
probably not scale well. First, because many packages could fall into
several categories (does GnuTLS go into "networking", "security", or
"libraries"?). Second, because that could easily lead to circular
dependencies among modules ("security" and "networking" depend on each
other, etc.)
* distro/packages/databases.scm: Rename to...
* distro/packages/recutils.scm: ... this.
* distro/packages/typesetting.scm: Rename to...
* distro/packages/lout.scm: ... this.
* Makefile.am (MODULES): Adjust accordingly.
* po/POTFILES.in: Likewise.
2012-11-04 21:46:14 +01:00
Ludovic Courtès
d45122f537
packages: description' →
synopsis', long-description' →
description'.
...
* guix/packages.scm (<package>): Rename `description' to `synopsis', and
`long-description' to `description'.
* tests/packages.scm, distro/packages/base.scm,
distro/packages/databases.scm, distro/packages/guile.scm,
distro/packages/typesetting.scm: Update accordingly.
* po/Makevars (XGETTEXT_OPTIONS): Update `--keyword' flags accordingly.
2012-11-04 13:48:35 +01:00
Ludovic Courtès
073c34d72f
Add (guix ui).
...
* guix/ui.scm: New file.
* Makefile.am (MODULES): Add it.
* po/POTFILES.in: Add it.
* guix-build.in: Use it.
(_, N_, leave): Remove.
(guix-build): Use `with-error-handling' instead of the `guard' form.
* guix-download.in: Use it.
(_, N_, leave): Remove.
2012-11-01 00:52:44 +01:00
Ludovic Courtès
c52a5bf09a
Add `guix-download'.
...
* guix-download.in: New file.
* configure.ac: Emit `guix-download' and make it executable.
* Makefile.am (bin_SCRIPTS): Add `guix-download'.
* po/POTFILES.in: Add `guix-download.in'.
2012-10-25 00:58:37 +02:00
Ludovic Courtès
ab90f87c41
Fix and update `POTFILES.in'.
...
* po/POTFILES.in: Update.
2012-10-04 23:10:57 +02:00
Ludovic Courtès
f5614e69e1
build: Tell xgettext that the source is UTF-8.
...
* po/Makevars (XGETTEXT_OPTIONS): Add `--from-code=UTF-8'.
2012-07-07 22:39:39 +02:00
Ludovic Courtès
14a1c3197c
Add `guix-build'.
...
* guix-build.in: New file.
* configure.ac: Emit `guix-build'. Add `commands-exec'.
* Makefile.am (bin_SCRIPTS): New variable.
* po/POTFILES.in: Add `guix-build.in'.
2012-07-01 00:56:24 +02:00
Ludovic Courtès
6b1891b0a1
Add (distro) with a package searching facility.
...
* Makefile.am (MODULES): Add `distro.scm'.
* distro.scm: New file.
* po/POTFILES.in: Add it.
* tests/packages.scm ("find-packages-by-name", "find-packages-by-name
with version"): New tests.
2012-06-30 16:37:19 +02:00
Ludovic Courtès
f68b089361
Gettextize, with GNU Gettext 0.18.1.
...
* Makefile.am (EXTRA_DIST): Add `build-aux/config.rpath'.
(SUBDIRS, ACLOCAL_AMFLAGS): New variables.
* configure.ac: Use `AM_GNU_GETTEXT'. Emit `po/Makefile.in'.
* po/Makevars, po/POTFILES.in: New files.
2012-06-29 22:38:22 +02:00