Ludovic Courtès
02d94dab8d
build: Build guix/scripts/download.go after guix/build/download.go.
...
* Makefile.am (guix/scripts/download.go): Add dependency on
`guix/build/download.go'.
Reported by Nikita Karetnikov <nikita@karetnikov.org>.
2013-02-27 20:55:40 +01:00
Ludovic Courtès
dc3f1809cf
scripts: Remove hyphen in the command name shown by `--version'.
...
* guix/scripts/build.scm (%options): Remove hyphen from the name passed
to `show-version-and-exit'.
* guix/scripts/download.scm (%options): Likewise.
* guix/scripts/gc.scm (%options): Likewise.
* guix/scripts/import.scm (%options): Likewise.
* guix/scripts/package.scm (%options): Likewise.
2013-02-27 20:55:40 +01:00
Mark H Weaver
ba4bcae035
gnu: guile-reader: Rename packages to avoid version number confusion.
...
* gnu/packages/guile.scm (guile-reader): Change the character preceding the
guile version number from '-' to '_' so that it will not be misinterpreted
as the package version number.
2013-02-27 20:55:40 +01:00
Mark H Weaver
396e75e37c
Update `TODO'.
2013-02-27 20:55:40 +01:00
Ludovic Courtès
c07512179e
scripts: Remove initialization now redundant with `initialize-guix'.
...
* guix/scripts/build.scm (guix-build): Remove calls to `install-locale',
`textdomain', etc., now redundant with `initialize-guix'.
* guix/scripts/download.scm (guix-download): Likewise.
* guix/scripts/import.scm (guix-import): Likewise.
* guix/scripts/package.scm (guix-package): Likewise.
* guix/ui.scm: Remove export of `install-locale' and `initialize-guix'.
(initialize-guix): Add docstring.
2013-02-27 20:55:40 +01:00
Ludovic Courtès
ed407c8055
gnu: texinfo: Update to 5.0.
...
* gnu/packages/texinfo.scm (texinfo): Update to 5.0.
2013-02-27 20:55:40 +01:00
Mark H Weaver
868c923f13
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-27 20:55:40 +01:00
Ludovic Courtès
d2474c2620
Add (gnu system vm).
...
* gnu/system/vm.scm: New file.
* Makefile.am (MODULES): Add it.
2013-02-27 20:55:40 +01:00
Ludovic Courtès
3855e242a2
gnu: Add support for Guile in Linux initrd.
...
* gnu/packages/linux-initrd.scm: New file.
2013-02-27 20:55:40 +01:00
Ludovic Courtès
106ca9d0c1
gnu: qemu-kvm: Add patch to have multiple SMB shares.
...
* gnu/packages/qemu.scm (qemu-kvm/smb-shares): New variable.
* gnu/packages/patches/qemu-multiple-smb-shares.patch: New file.
* Makefile.am (dist_patch_DATA): Add it.
2013-02-27 20:55:40 +01:00
Ludovic Courtès
5f7c5a97ba
packages: Add `package-output'.
...
* guix/packages.scm (package-output): New procedure.
* tests/packages.scm ("package-output"): New test.
2013-02-27 20:55:39 +01:00
Ludovic Courtès
99d90fc102
gnu: guile-static: Change `name' field.
...
* gnu/packages/make-bootstrap.scm (%guile-static): Add `name' field with
`-static' suffix.
2013-02-27 20:55:39 +01:00
Ludovic Courtès
9322c6822f
gnu: guile-static: Add bindings for `reboot'.
...
* gnu/packages/patches/guile-linux-syscalls.patch: Add `scm_reboot'.
2013-02-27 20:55:39 +01:00
Ludovic Courtès
e7d2c60809
gnu: qemu: Add dependency on Samba.
...
* gnu/packages/qemu.scm (qemu-kvm): Add dependency on Samba; pass
`--smbd' to ./configure.
2013-02-27 20:55:39 +01:00
Ludovic Courtès
b7e9ee3327
gnu: samba: Augment the RUNPATH of executables to point to $out/lib.
...
* gnu/packages/samba.scm (samba): Add `add-lib-to-runpath' phase, and
PatchELF as an input.
2013-02-27 20:55:39 +01:00
Nikita Karetnikov
52e6e2461f
gnu: Add GNU Parted.
...
* gnu/packages/parted.scm: New file.
* Makefile.am (MODULES): Add it.
2013-02-27 20:55:39 +01:00
Ludovic Courtès
e70a28b87e
gnu: guile-static: Add bindings for low-level Linux syscalls.
...
* gnu/packages/make-bootstrap.scm (%guile-static): Add
`guile-linux-syscalls.patch' as an input, and use it.
* gnu/packages/patches/guile-linux-syscalls.patch: New file.
* Makefile.am (dist_patch_DATA): Add it.
2013-02-27 20:55:39 +01:00
Ludovic Courtès
2e48455d27
gnu: linux-libre: Choose a config without debugging features.
...
* gnu/packages/linux.scm (linux-libre): Choose "defconfig" instead of
"allmodconfig" since the latter enables all debugging features. Add
`CONFIG_CIFS=m'.
2013-02-27 20:55:39 +01:00
Cyril Roelandt
f9c3648329
gnu: Add vim.
...
* gnu/packages/vim.scm: New file.
* Makefile.am (MODULES): Add it.
2013-02-27 20:55:39 +01:00
Mark H Weaver
854d627779
Build newest versions unless specified, and implement upgrades.
...
* gnu/packages.scm (find-newest-available-packages):
New exported procedure.
* guix-build.in (newest-available-packages, find-best-packages-by-name):
New procedures.
(find-package): Use find-best-packages-by-name, to guarantee that
if a version number is not specified, only the newest versions will
be considered.
* guix-package.in (%options): Add --upgrade/-u option.
(newest-available-packages, find-best-packages-by-name, upgradeable?):
New procedures.
(find-package): Use find-best-packages-by-name, to guarantee that
if a version number is not specified, only the newest versions will
be considered.
(process-actions): Implement upgrade option.
* doc/guix.texi (Invoking guix-package): In the description of --install,
mention that if no version number is specified, the newest available
version will be selected.
2013-02-27 20:55:39 +01:00
Mark H Weaver
9ede36f0ed
Inhibit duplicates in fold-packages.
...
* gnu/packages.scm (fold2): New procedure.
(fold-packages): Rework to suppress duplicates.
2013-02-27 20:55:38 +01:00
Ludovic Courtès
790b8e0ebe
build-system/gnu: Make the strip behavior of `static-package' configurable.
...
* guix/build-system/gnu.scm (static-package): Add #:strip-all? keyword
parameter.
2013-02-27 20:55:38 +01:00
Ludovic Courtès
ddff766e38
gnu: guile-static: Use libgc build with `USE_LIBC_PRIVATES'.
...
* gnu/packages/make-bootstrap.scm (%guile-static): Use libgc build with
CPPFLAGS=-DUSE_LIBC_PRIVATES.
* gnu/packages/bdw-gc.scm (libgc): Add TODO to always do it.
2013-02-27 20:55:38 +01:00
Ludovic Courtès
ab744c1af5
gnu: Add missing patch for mcron.
...
* gnu/packages/patches/mcron-install.patch: New file.
* Makefile.am (dist_patch_DATA): Add it.
2013-02-27 20:55:38 +01:00
Nikita Karetnikov
922f11ad22
gnu: Add GNU Wdiff.
...
* gnu/packages/wdiff.scm: New file.
* Makefile.am (MODULES): Add it.
2013-02-27 20:55:38 +01:00
Mark H Weaver
6c7b6a51a4
Add version-compare and version>? to utils.scm.
...
* guix/utils.scm (version-compare, version>?): New exported procedures,
based on version-string>?, which was formerly in gnu-maintenance.scm.
* guix/gnu-maintenance.scm (version-string>?): Removed procedure.
(latest-release): Use 'version>?' instead of 'version-string>?'.
2013-02-27 20:55:38 +01:00
Andreas Enge
76978d4062
gnu: Add signing-party.
...
* gnu/packages/gnupg.scm (signing-party): New variable.
2013-02-27 20:55:38 +01:00
Andreas Enge
b6f5801e1c
gnu: wget: Drop manual handling of /usr/bin/env.
...
* gnu/packages/wget.scm (wget): Drop patch-/usr/bin/env phase.
2013-02-24 18:07:50 +01:00
Andreas Enge
b5c18c78c2
gnu: curl: Let patch-shebang handle /usr/bin/env.
...
* gnu/packages/curl.scm (curl): Drop manual rewriting of #!/usr/bin/env.
2013-02-24 17:54:51 +01:00
Andreas Enge
c3f9761771
gnu: openldap: Disable tests, they fail too randomly probably due to
...
timeouts in the server.
* gnu/packages/openldap.scm (openldap): Drop all tests.
2013-02-24 16:41:27 +01:00
Andreas Enge
ca8def6e6f
Patch-shebang: Do not add space after interpreter without argument.
...
* guix/build/utils.scm (patch-shebang): Do not add a space after a command
interpreter not followed by an argument; this made two tests of
coreutils fail.
2013-02-23 23:27:46 +01:00
Andreas Enge
11996d85d3
Patch-shebang: Handle "#!/usr/bin/env command"
...
* guix/build/utils.scm (patch-shebang): Handle replacement of
"#!.*/env CMD ARGS" by "#!/nix/store/path/.../to/CMD ARGS".
2013-02-23 20:32:03 +01:00
Andreas Enge
149acc2981
download: Add X.org mirrors.
...
* guix/download.scm (%mirrors): Add `xorg'.
2013-02-23 19:01:19 +01:00
Andreas Enge
abc00dc492
gnu: screen: Use GNU mirror.
...
* gnu/packages/screen.scm (screen): Use GNU mirror.
2013-02-23 18:39:49 +01:00
Andreas Enge
c9b940cd03
gnu: Update libpng to 1.5.14.
...
* gnu/packages/libpng.scm (libpng): Switch to version 1.5.14.
2013-02-23 16:32:41 +01:00
Ludovic Courtès
4d60610ad7
pull: Distinguish "already up to date" from "updated".
...
* guix/ui.scm (show-what-to-build): Return (length req*).
* guix/scripts/pull.scm (guix-pull): Print an "already up to date"
message when there's nothing to build.
2013-02-22 21:08:06 +01:00
Ludovic Courtès
7b50c68455
pull: Build (guix build download) first, because of the (gnutls) autoload.
...
* guix/scripts/pull.scm (unpack): Build (guix build download) first, as
done in 855a8ad71d
.
Reported by Andreas Enge <andreas@enge.fr>.
2013-02-22 20:01:29 +01:00
Ludovic Courtès
525ca3e912
guix: Make sure UPDATES-DIR is valid.
...
* scripts/guix.in: Make sure UPDATES-DIR is not #f.
2013-02-21 10:27:34 +01: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
Ludovic Courtès
9bb2b96aab
ui: Factorize `show-what-to-build'.
...
* guix/scripts/package.scm (guix-package)[show-what-to-build]: Move to..
* guix/ui.scm (show-what-to-build): ... here. Add a `store'
parameter'. Adjust callers.
* guix/scripts/build.scm (guix-build): Use it. Remove `req' and `req*'
variables.
2013-02-20 23:46:57 +01:00
Ludovic Courtès
7730d112a2
build: Adjust guix.texi to Texinfo 5.0.
...
* doc/guix.texi: Change @title and @subtitle syntax to please Texinfo 5.0.
2013-02-20 23:46:52 +01:00
Ludovic Courtès
c61b026e3a
ui: Add temporary file handling and atomic symlink switch.
...
* guix/scripts/download.scm (call-with-temporary-output-file): Move to
ui.scm.
* guix/scripts/package.scm (switch-symlinks): Likewise.
* guix/ui.scm (call-with-temporary-output-file, switch-symlinks): New
procedures.
2013-02-20 23:03:24 +01:00
Ludovic Courtès
80736cdf20
download: Adjust to `http-get*' deprecation.
...
* guix/build/download.scm (http-fetch): Adjust to use #:streaming? when
using Guile 2.0.8+.
2013-02-20 22:59:35 +01:00
Ludovic Courtès
8dcb0c55ab
derivations: Add a search path parameter for module derivations.
...
* guix/derivations.scm (imported-modules, compiled-modules): Add a
`module-path' parameter. Use it instead of %LOAD-PATH.
2013-02-20 21:08:09 +01:00
Ludovic Courtès
f6d7be1e47
gnu: texinfo: Make Perl a propagated input.
...
* gnu/packages/texinfo.scm (texinfo): Make PERL a propagated input.
2013-02-20 21:06:57 +01:00
Ludovic Courtès
0442d34595
build: Add missing -I flag for the daemon.
...
* daemon.am (libstore_a_CPPFLAGS): Add missing -I, for schema.sql.hh.
2013-02-19 22:58:56 +01:00
Ludovic Courtès
b8d2aa264d
daemon: Add `--listen'.
...
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_LISTEN): New macro.
(options): Add `--listen'.
(parse_opt): Handle it.
* doc/guix.texi (Invoking guix-daemon): Mention it.
2013-02-19 22:48:13 +01:00
Ludovic Courtès
15b673ebe8
Update from upstream Nix.
2013-02-19 22:43:07 +01:00
Ludovic Courtès
9fd72fb1ff
store: Add the `%daemon-socket-file' parameter.
...
* guix/store.scm (%daemon-socket-file): New variable.
(open-connection): Use it as the default value for FILE.
2013-02-18 21:53:59 +01:00
Ludovic Courtès
9c8ba706d0
Add Mark to `AUTHORS'.
2013-02-17 22:19:32 +01:00