Eric Bavier
7569c5cb35
gnu: Provide single-precision fftw library for pulseaudio
...
* gnu/packages/algebra.scm (fftwf): New variable
* gnu/packages/pulseaudio.scm (pulseaudio): Use it
2014-03-22 13:03:15 -05:00
Mark H Weaver
6212b8e5d3
gnu: cmake: Install man pages and docs in share/{man,doc}.
...
* gnu/packages/cmake.scm (cmake): Pass --mandir and --docdir to configure.
Rewrite the code that selects the first two components of the version.
2014-03-22 10:34:21 -04:00
Mark H Weaver
c9a010db8a
gnu: flac: Install man pages in share/man.
...
* gnu/packages/xiph.scm (flac): Add --mandir configure flag.
2014-03-22 10:34:14 -04:00
Eric Bavier
f0cfe3c4d5
gnu: libvorbis: disable parallel tests
...
* gnu/packages/xiph.scm (libvorbis): disable parallel tests
2014-03-21 15:12:47 -05:00
Mark H Weaver
9a03b893cc
gnu: openssh: Upgrade to 6.6p1.
...
* gnu/packages/ssh.scm (openssh): Upgrade to 6.6p1.
2014-03-21 12:16:35 -04:00
Ludovic Courtès
89faa5c75c
daemon: Really override the substituters setting.
...
Reported by Andreas Enge <andreas@enge.fr>:
<https://lists.gnu.org/archive/html/guix-devel/2014-03/msg00211.html >.
* nix/nix-daemon/guix-daemon.cc (main): Set the 'NIX_SUBSTITUTERS'
env. var. Leave 'settings.substituters' unchanged.
2014-03-20 23:06:48 +01:00
Ludovic Courtès
1fda6840a8
pk-crypto: Don't use Ed25519 when libgcrypt is older than 1.6.0.
...
* guix/pk-crypto.scm (gcrypt-version): New procedure.
* guix/scripts/archive.scm (%key-generation-parameters): New variable.
(%options) <generate-key>: Use it.
* tests/pk-crypto.scm ("sign + verify, Ed25519"): Skip if using gcrypt < 1.6.0.
2014-03-20 23:06:47 +01:00
Mark H Weaver
2f66e64c53
gnu: tzdata: Upgrade to 2014a.
2014-03-20 16:31:02 -04:00
Mark H Weaver
5f32ba88c4
gnu: lynx: Upgrade to 2.8.8rel.2.
...
* gnu/packages/lynx.scm (lynx): Upgrade to 2.8.8rel.2.
2014-03-20 16:21:33 -04:00
Mark H Weaver
e2ca23c584
gnu: bc: Install docs in share/man and share/info.
...
* gnu/packages/algebra.scm (bc): Pass --mandir and --infodir to configure.
2014-03-20 05:07:42 -04:00
Mark H Weaver
809e9b52bb
gnu: unzip: Install man pages in share/man.
...
* gnu/packages/zip.scm (unzip): Substitute /share/man/ for /man/ in Makefile.
2014-03-20 05:07:35 -04:00
Mark H Weaver
f6b272fa18
gnu: screen: Install docs in share/man and share/info.
...
* gnu/packages/screen.scm (screen): Add --mandir and --infodir
configure flags.
2014-03-20 05:07:26 -04:00
Mark H Weaver
0e4e89c28c
gnu: netcat: Install docs in share/man and share/info.
...
* gnu/packages/admin.scm (netcat): Add --mandir and --infodir
configure flags.
2014-03-20 05:07:18 -04:00
Ludovic Courtès
d81195bffd
offload: Send build logs to file descriptor 4.
...
* guix/scripts/offload.scm (with-error-to-port): New macro.
(remote-pipe): Add #:error-port parameter. Use 'with-error-to-port'
around 'open-pipe*' call.
(build-log-port): New procedure.
(offload): Change #:log-port to default to (build-log-port). Call
'remote-pipe' with #:error-port LOG-PORT.
2014-03-19 23:12:06 +01:00
Ludovic Courtès
19ee8c7dc5
substitute-binary: Quietly handle 404s when fetching narinfos.
...
* guix/scripts/substitute-binary.scm (fetch): Add #:quiet-404?
parameter. Upon &http-get-error, re-raise C if the QUIET-404? is
true and the code is 404.
(fetch-narinfo): Pass #:quiet-404? #t.
2014-03-19 22:26:08 +01:00
Ludovic Courtès
4a06f0ef2b
gnu: xterm: Upgrade to 303.
...
* gnu/packages/xorg.scm (xterm): Upgrade to 303.
2014-03-19 22:22:36 +01:00
Ludovic Courtès
32a1eb8025
pk-crypto: Use RFC6979 when signing with an ECC or DSA key.
...
* guix/pk-crypto.scm (bytevector->hash-data): Add #:key-type parameter.
Use the 'pkcs1' flag when KEY-TYPE is 'rsa', and 'rfc6979' when
KEY-TYPE is 'ecc' or 'dsa'.
(key-type): New procedure.
* guix/scripts/authenticate.scm (read-hash-data): Add 'key-type'
parameter. Pass it to 'bytevector->hash-data'. Adjust caller
accordingly.
* tests/pk-crypto.scm (%ecc-key-pair): New variable.
("key-type"): New test.
("sign + verify"): Pass #:key-type to 'bytevector->hash-data'.
("sign + verify, Ed25519"): New test.
2014-03-19 21:40:10 +01:00
Ludovic Courtès
0f4139e97e
gnu: imagemagick: Upgrade to 6.8.8-8.
...
* gnu/packages/imagemagick.scm (imagemagick): Upgrade to 6.8.8-8.
2014-03-19 19:12:04 +01:00
Ludovic Courtès
d7a9ed37c3
gnu: Add Window Maker.
...
* gnu/packages/gnustep.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-03-19 00:18:04 +01:00
Ludovic Courtès
e297d8fc56
tests: Test recovery from 'valid-path?' RPCs with an invalid parameter.
...
* tests/store.scm ("valid-path? live", "valid-path? false", "valid-path?
error", "valid-path? recovery"): New tests.
2014-03-19 00:00:29 +01:00
Ludovic Courtès
dc19a986d4
Update 'nix-upstream' sub-module.
...
* nix-upstream: Update.
2014-03-18 23:44:22 +01:00
Ludovic Courtès
7305f2f1e5
gnu: libxft: Propagate Freetype and Fontconfig.
...
* gnu/packages/xorg.scm (libxft): Move Freetype and Fontconfig from
'inputs' to 'propagated-inputs'.
2014-03-18 18:13:15 +01:00
Ludovic Courtès
1cbfce1669
guix archive: Generate curve Ed25519 keys by default.
...
* guix/scripts/archive.scm (%options) <generate-key>: Default to curve
Ed25519. Suggested by Christian Grothoff <grothoff@in.tum.de>.
2014-03-17 23:49:35 +01:00
Ludovic Courtès
d0a850698a
guix archive: Improve '--generate-key' error reporting.
...
* guix/scripts/archive.scm (%options) <generate-key>: Report the error
source and string when 'string->canonical-sexp' fails.
2014-03-17 23:47:18 +01:00
Ludovic Courtès
aa2480e50d
build: Fix test failures due to the nix -> guix directory name change.
...
Reported by Nikita Karetnikov <nikita@karetnikov.org>
and Pierre-Antoine Rault <par@rigelk.eu>.
* test-env.in: Change 'NIX_LOG_DIR' in accordance with f5768af
.
* tests/guix-register.sh: Likewise for 'NIX_LOG_DIR' and 'NIX_DB_DIR'.
2014-03-17 23:30:42 +01:00
Raimon Grau
32beec1cd9
gnu: luajit: Update to 2.0.3.
...
* gnu/packages/lua.scm (luajit): Update to 2.0.3.
2014-03-17 19:04:33 +01:00
Ludovic Courtès
9b43a0ffa3
gnu: python: Change URL to https.
...
* gnu/packages/python.scm (python-2, python)[source]: Change URL to
https. This makes sure GnuTLS is available in the derivation that
downloads the source, which is required since http URLs get redirected
to https anyway. Reported by Manolis Ragkousis <manolis837@gmail.com>.
2014-03-17 18:24:13 +01:00
Ludovic Courtès
7c516af641
gnu: pulseaudio: Upgrade to 5.0.
...
* gnu/packages/pulseaudio.scm (pulseaudio): Upgrade to 5.0.
Remove patches.
* gnu/packages/patches/pulseaudio-test-timeouts.patch,
gnu/packages/patches/pulseaudio-volume-test.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
2014-03-17 18:13:06 +01:00
Ludovic Courtès
b148bd714e
gnu: fuse: Refer to the right 'mount' and 'umount' commands.
...
* gnu/packages/linux.scm (fuse)[inputs]: Change to...
[native-inputs]: ... this.
[arguments]: Add #:phases argument.
2014-03-16 23:18:36 +01:00
Ludovic Courtès
11e7a6cf46
store: Add 'hash-part->path'.
...
* guix/store.scm (hash-part->path): New procedure.
* tests/store.scm ("hash-part->path"): New test.
2014-03-14 17:16:10 +01:00
Ludovic Courtès
1a8ea0a188
offload: Fix 'choose-build-machine' for several machines.
...
* guix/scripts/offload.scm (choose-build-machine)[undecorate]: Turn into
a two-argument procedure.
2014-03-13 22:57:21 +01:00
Ludovic Courtès
3c0e6e6080
offload: Convert the port number to a string when invoking lsh.
...
* guix/scripts/offload.scm (remote-pipe, send-files): Pass the result of
'build-machine-port' to 'number->string'.
2014-03-13 22:46:32 +01:00
Ludovic Courtès
cecd72d55a
offload: Allow build machines to specify a port number.
...
* guix/scripts/offload.scm (<build-machine>): Add 'port' field.
(remote-pipe, send-files): Use lsh's '-p' option when invoking it.
2014-03-13 21:58:04 +01:00
Ludovic Courtès
257b93412a
guix build: Support '--with-source' along with '-e'.
...
* guix/scripts/build.scm (derivation-from-expression): Remove.
(options->derivations): Handle pairs of the form
"('argument . (? derivation?))".
(options/resolve-packages): Add 'store' parameter; update caller. Add
'system' variable. Add case for 'expression pairs.
* guix/scripts/archive.scm (derivation-from-expression): New procedure.
2014-03-13 19:21:49 +01:00
Ludovic Courtès
9037ea2c12
gnu: guile-xcb: Upgrade to 1.3.
...
* gnu/packages/guile-wm.scm (guile-xcb): Upgrade to 1.3.
[arguments] Pass --with-guile-site-dir= instead of --datadir=,
and pass --with-guile-site-ccache-dir=. Remove #:phases.
2014-03-13 00:04:07 +01:00
Ludovic Courtès
68276f164f
gnu: linux-libre: Build the FUSE module.
...
* gnu/packages/linux.scm (linux-libre): Set CONFIG_FUSE_FS=m.
2014-03-12 22:55:48 +01:00
Ludovic Courtès
ed7485886e
gnu: unionfs-fuse: Add statically-linked variant.
...
* gnu/packages/linux.scm (unionfs-fuse/static): New variable.
2014-03-12 15:11:30 +01:00
Ludovic Courtès
7f3673f21d
guix build: Add '--with-source'.
...
* guix/scripts/build.scm (package-with-source): New procedure.
(show-help): Add '--with-source'.
(%options): Likewise.
(options->derivations): Call 'options/with-source' and
'options/resolve-packages'.
(options/resolve-packages, options/with-source): New procedures.
* doc/guix.texi (Invoking guix build): Document '--with-source'.
2014-03-12 00:22:41 +01:00
Ludovic Courtès
d91a879121
download: 'download-to-store' accepts plain file names.
...
* guix/download.scm (download-to-store): When URI is #f, assume that URL
is a file name, and handle it.
2014-03-11 22:09:42 +01:00
Ludovic Courtès
6f58d58243
More /gnu/store replacements.
...
* gnu/packages/gcc.scm (gcc-4.7): Change /nix/store in comment.
* gnu/system/vm.scm (operating-system-default-contents):
Use (%store-prefix) instead of "/nix/store".
* guix/derivations.scm (derivation-path->output-path,
derivation-path->output-paths): Change to /gnu/store in docstring.
2014-03-10 23:58:40 +01:00
Ludovic Courtès
c9c88118a1
gnu: linux-initrd: Make the pseudo-tty device nodes.
...
* guix/build/linux-initrd.scm (make-essential-device-nodes): Create
/dev/ptmx and /dev/pts.
* gnu/system/vm.scm (qemu-image): Umount /fs/dev/pts before /fs.
2014-03-10 23:43:31 +01:00
Ludovic Courtès
58cbbe4b55
tests: 'topologically-sorted' test handles different references orders.
...
* tests/store.scm ("topologically-sorted, more difficult"): Arrange to
handle a different ordering of (references %store y).
2014-03-10 23:43:31 +01:00
Ludovic Courtès
220193ad03
gnu: Add UnionFS-FUSE.
...
* gnu/packages/linux.scm (unionfs-fuse): New variable.
2014-03-10 23:43:31 +01:00
Pierre-Antoine Rault
5ff3c4b820
doc: Update packaging guidelines.
...
* HACKING (Submitting Patches): Mention 'git send-mail'.
* doc/guix.texi (Packaging Guidelines): More details on how to prepare a
package module.
(Contributing): Add reference to #guix channel on Freenode.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2014-03-10 23:43:31 +01:00
Eric Bavier
8a1f6a7e02
gnu: pretty-print: Fix boost reference
...
* gnu/packages/pretty-print.scm (source-highlight): Change "boost-1.54" input
to "boost"
2014-03-10 13:41:40 -05:00
Ludovic Courtès
714084e6c0
offload: Honor absolute build timeouts.
...
* guix/scripts/offload.scm (offload): Remove default value for
'build-timeout'. Pass '--timeout' to the remote 'guix build'
process.
(transfer-and-offload, process-request): Remove default value for
'build-timeout'.
2014-03-09 23:15:09 +01:00
Ludovic Courtès
002622b65b
guix build: Add '--timeout' to the common build options.
...
* guix/scripts/build.scm (show-build-options-help): Document
'--timeout'.
(set-build-options-from-command-line): Pass #:timeout to
'set-build-options'.
(%standard-build-options): Add '--timeout'.
* doc/guix.texi (Invoking guix build): Document it.
2014-03-09 23:09:18 +01:00
Ludovic Courtès
6c20d1d0c3
store: Add #:timeout build option.
...
* guix/serialization.scm (write-string-pairs): New procedure.
* guix/store.scm (write-arg): Add 'string-pairs' case.
(set-build-options): Add 'timeout' keyword parameter. Honor it.
* tests/derivations.scm ("build-expression->derivation and timeout"):
New test.
2014-03-09 23:01:18 +01:00
Ludovic Courtès
02c86a5e36
gnu: Add libpcap and jnettop.
...
* gnu/packages/admin.scm (libpcap, jnettop): New variables.
2014-03-09 22:36:48 +01:00
Ludovic Courtès
f5768afa33
build: Change state and log directories to $localstatedir/.../guix.
...
* daemon.am (libstore_a_CPPFLAGS): Change /nix to /guix.
* guix/config.scm.in (%state-directory): Likewise.
* guix/store.scm (log-file): Likewise.
2014-03-09 22:10:01 +01:00