Ludovic Courtès
76832d3420
Remove most uses of the _IO*F constants.
...
These constants, for use with 'setvbuf', were deprecated in Guile 2.2
and disappeared in Guile 3.0. Here we keep these constants in
build-side code where removing them is not feasible.
* guix/build/download-nar.scm (download-nar): Adjust 'setvbuf' calls to
the Guile 2.2+ API.
* guix/build/download.scm (open-socket-for-uri): Likewise.
(open-connection-for-uri, url-fetch): Likewise.
* guix/build/make-bootstrap.scm (make-stripped-libc): Likewise.
* guix/build/union.scm (setvbuf) [guile-2.0]: New conditional wrapper.
(union-build): Adjust to new API.
* guix/ftp-client.scm (ftp-open, ftp-list, ftp-retr): Likewise.
* guix/http-client.scm (http-fetch): Likewise.
* guix/inferior.scm (proxy): Likewise.
* guix/scripts/substitute.scm (fetch, http-multiple-get): Likewise.
* guix/self.scm (compiled-modules): Likewise.
* guix/ssh.scm (remote-daemon-channel, store-import-channel)
(store-export-channel): Likewise.
* guix/ui.scm (initialize-guix): Likewise.
* tests/publish.scm (http-get-port): Likewise.
* guix/store.scm (%newlines): Adjust comment.
2019-01-09 14:47:53 +01:00
Ludovic Courtès
c3d9bca48a
download: Remove Guile 2.0 workaround.
...
* guix/build/download.scm: Remove Guile 2.0 workaround.
2019-01-09 14:47:53 +01:00
Ludovic Courtès
a65177a657
maint: Remove 'cond-expand' forms for Guile 2.0.
...
Note: Leave 'cond-expand' forms used in the build-side modules that can
run on %BOOTSTRAP-GUILE, which is currently Guile 2.0.
* guix/build/compile.scm: Move 'use-modules' clause from 'cond-expand'
to 'define-module' form.
(%default-optimizations): Remove 'cond-expand'.
* guix/build/download.scm (tls-wrap): Remove 'cond-expand'.
* guix/build/syscalls.scm: Remove 'cond-expand' form around
'%set-automatic-finalization-enabled?!' and
'without-automatic-finalization'.
* guix/inferior.scm (port->inferior): Remove 'cond-expand'.
* guix/scripts/pack.scm (wrapped-package)[build]: Remove 'cond-expand'.
* guix/status.scm (build-event-output-port): Remove 'cond-expand'.
* guix/store.scm (open-inet-socket): Remove 'cond-expand'.
* guix/ui.scm (install-locale): Remove 'cond-expand'.
* tests/status.scm ("current-build-output-port, UTF-8 + garbage"):
Remove 'cond-expand'.
* tests/store.scm ("current-build-output-port, UTF-8 + garbage"):
Remove 'cond-expand'.
2019-01-09 14:47:53 +01:00
Ludovic Courtès
0991fd5336
build: Require Guile 2.2.
...
* configure.ac: Require Guile 2.2.
* README: Adjust accordingly.
* doc/guix.texi (Requirements): Likewise.
* gnu/packages/package-management.scm (guile2.0-guix): Deprecate.
(guix-minimal): Inherit from GUIX, not from GUILE2.0-GUIX.
2019-01-09 14:47:53 +01:00
Ricardo Wurmus
6df4d8338d
doc: Recommend using the installer script.
...
* doc/guix.texi (Installation): Make it clear that the installer script is the
recommended, easy way to install Guix.
2019-01-08 18:49:13 +01:00
Ludovic Courtès
a21a906fcd
pull: Document '--system'.
...
Fixes <https://bugs.gnu.org/34010 >.
Reported by Alex Kost <alezost@gmail.com>.
This is a followup to 5923102f7b
.
* guix/scripts/pull.scm (show-help): Add '--system'.
2019-01-08 18:38:15 +01:00
Ludovic Courtès
08fdee3911
self: Compress Info files.
...
Fixes <https://bugs.gnu.org/33993 >.
Reported by Adonay Felipe Nogueira <adfeno@hyperbola.info>.
* guix/self.scm (info-manual): Compress Info files.
2019-01-08 18:38:15 +01:00
Ludovic Courtès
c108c46fb4
build-self: Spin only on TTYs.
...
* build-aux/build-self.scm (build-program): Spin only when 'isatty?'
returns true.
2019-01-08 18:38:15 +01:00
Eric Bavier
fefcb122ac
gnu: dvdisaster: Run regression tests.
...
* gnu/packages/cdrom.scm (dvdisaster)[arguments]: Remove #:tests? argument.
Add 'check' phase.
2019-01-08 09:09:31 -06:00
Eric Bavier
98b0ec7fa6
gnu: dvdisaster: Install desktop file.
...
* gnu/packages/cdrom.scm (dvdisaster)[arguments]: Add 'install-desktop phase.
2019-01-08 09:09:25 -06:00
Clément Lassieur
627e6d8c11
gnu: prosody: Update to 0.11.1.
...
* gnu/packages/messaging.scm (prosody): Update to 0.11.1.
[arguments]: Replace "Makefile" with "GNUmakefile". Change "5.1" to "5.2".
Explain why there are no tests.
[inputs]: Replace lua-5.1, lua5.1-bitop, lua5.1-expat, lua5.1-socket,
lua5.1-filesystem, lua5.1-sec with lua-5.2, lua5.2-bitop, lua5.2-expat,
lua5.2-socket, lua5.2-filesystem, lua5.2-sec.
2019-01-08 15:23:36 +01:00
Clément Lassieur
eb5b6c5777
gnu: Add lua5.2-sec.
...
* gnu/packages/lua.scm (lua5.2-sec): New variable.
(make-lua-sec): New procedure.
(lua5.1-sec, lua5.2-sec): Call it.
2019-01-08 15:23:36 +01:00
Clément Lassieur
d994325747
gnu: Add lua-filesystem and lua5.2-filesystem.
...
* gnu/packages/lua.scm (lua-filesystem, lua5.2-filesystem): New variables.
(make-lua-filesystem): New procedure.
(lua-filesystem, lua5.1-filesystem, lua5.2-filesystem): Call it.
2019-01-08 15:23:36 +01:00
Clément Lassieur
253aab77c5
gnu: Add lua5.2-socket.
...
* gnu/packages/lua.scm (lua5.2-socket): New variable.
(make-lua-socket): New procedure.
(lua5.1-socket, lua5.2-socket): Call it.
2019-01-08 15:23:36 +01:00
Clément Lassieur
7c97a0631e
gnu: Add lua5.2-expat.
...
* gnu/packages/lua.scm (lua5.2-expat): New variable.
(make-lua-expat): New procedure.
(lua5.1-expat, lua5.2-expat): Call it.
2019-01-08 15:23:36 +01:00
Efraim Flashner
580f33e119
gnu: criu: Update to 3.11.
...
* gnu/packages/virtualization.scm (criu): Update to 3.11.
[arguments]: Add custom phase to patch python calls.
2019-01-08 12:29:42 +02:00
Efraim Flashner
49fe965d28
gnu: criu: Fix building on armhf-linux.
...
* gnu/packages/virtualization.scm (criu)[arguments]: Hardcode the arm
version in the Makefile.
2019-01-08 12:29:40 +02:00
Clément Lassieur
b509381089
gnu: gajim-omemo: Update to 2.6.26.
...
* gnu/packages/messaging.scm (gajim-omemo): Update to 2.6.26.
2019-01-08 10:19:55 +01:00
Clément Lassieur
5cfec72f39
gnu: gajim: Update to 1.1.1.
...
* gnu/packages/messaging.scm (gajim): Update to 1.1.1.
[arguments]: Replace #:test-target with a 'check' phase.
2019-01-08 10:19:55 +01:00
Tobias Geerinckx-Rice
eac5d425cd
gnu: tor: Update to 0.3.4.10.
...
* gnu/packages/tor.scm (tor): Update to 0.3.4.10.
2019-01-08 04:21:53 +01:00
Tobias Geerinckx-Rice
be4f8391a4
gnu: privoxy: Update to 3.0.28.
...
* gnu/packages/tor.scm (privoxy): Update to 3.0.28.
2019-01-08 04:21:52 +01:00
Ludovic Courtès
efff32452a
gexp: 'gexp->script' does not emit load-path expression when unnecessary.
...
This removes two elements from %LOAD-PATH and %LOAD-COMPILED-PATH of the
'guix' command and thus further reduces the number of 'stat' calls it
makes.
* guix/gexp.scm (load-path-expression): Return #f when MODULES and
EXTENSIONS are both empty.
(gexp->script): Don't emit anything when SET-LOAD-PATH is #f.
2019-01-07 23:50:56 +01:00
Ludovic Courtès
49c35bbb71
self: Move all modules into a single directory.
...
This halves the number of elements in %LOAD-PATH and %LOAD-COMPILED-PATH
and halves the number of 'stat' calls as reported by:
env -i $(type -P guix) build -e '(@ (gnu packages base) coreutils)' -nd
* guix/self.scm (node-source+compiled, guile-module-union): New
procedures.
(guix-command): Remove 'compiled-modules' parameter. Remove
'source-directories' and 'object-directories' variables and add
'module-directory'. Change command so that it adds nothing but
MODULE-DIRECTORY to %LOAD-PATH and %LOAD-COMPILED-PATH.
(whole-package): Remove #:compiled-modules. Assume MODULES contains
'share/guile/site' and 'lib/guile' and adjust code accordingly.
(compiled-guix): When PULL-VERSION is 1, use 'node-source+compiled'
only. Remove #:compiled-modules argument to 'whole-package'.
* guix/channels.scm (whole-package-for-legacy): Add 'module+compiled'
and pass it to 'whole-package'.
2019-01-07 23:50:56 +01:00
Rutger Helling
3c85058c0e
gnu: libnet: Update to 1.2-rc3.
...
* gnu/packages/networking.scm (libnet): Update to 1.2-rc3.
[source]: Use git-fetch.
2019-01-07 22:07:01 +01:00
Julien Lepiller
f31ce9ecf1
import: opam: Parse comments.
...
* guix/import/opam.scm: Add comment support in parser.
2019-01-07 22:05:51 +01:00
Julien Lepiller
8737666a99
gnu: ocaml-graph: Add upstream-name.
...
* gnu/packages/ocaml.scm (ocaml-graph)[properties]: Add upstream-name.
2019-01-07 22:05:47 +01:00
Julien Lepiller
755e6d4a0a
import: opam: Add updater.
...
* guix/import/opam.scm (%opam-updater): New variable.
2019-01-07 22:05:45 +01:00
Julien Lepiller
6090b0beb0
import: opam: Add recursive option.
...
* guix/script/import/opam.scm: Add recursive option.
* guix/import/opam.scm (opam->guix-package): return two values.
(opam-recursive-import): New variable.
2019-01-07 22:05:43 +01:00
Julien Lepiller
33af92dd99
gnu: Move coq packages from ocaml to coq.
...
* gnu/packages/ocaml.scm (coq, proof-general, coq-flocq, coq-gappa, coq-mathcomp)
(coq-coquelicot, coq-bignums, coq-interval): Move from here...
* gnu/packages/coq.scm: ... to here. New file.
2019-01-07 22:05:37 +01:00
Alex Kost
912f0541a3
gnu: emacs-guix: Update to 0.5.1.1.
...
* gnu/packages/emacs.scm (emacs-guix): Update to 0.5.1.1.
2019-01-07 22:52:46 +03:00
Danny Milosavljevic
40c7476af8
gnu: containerd: Update synopsis.
...
* gnu/packages/docker.scm (containerd)[synopsis]: Modify.
2019-01-07 19:13:04 +01:00
Danny Milosavljevic
54891e850a
gnu: containerd: Enable tests.
...
* gnu/packages/docker.scm (containerd)[arguments]: Remove #:tests?.
2019-01-07 19:12:14 +01:00
Ricardo Wurmus
1f1e338ad4
gnu: Add missing use-module clause.
...
This is a follow-up to 4e5b8f7215
.
* gnu/packages/docker.scm: Add missing use-module clause.
2019-01-07 18:45:23 +01:00
Ricardo Wurmus
d53b23176f
gnu: Add r-corpcor.
...
* gnu/packages/cran.scm (r-corpcor): New variable.
2019-01-07 18:44:04 +01:00
Ricardo Wurmus
e3bb076678
gnu: Add r-ddrtree.
...
* gnu/packages/cran.scm (r-ddrtree): New variable.
2019-01-07 18:44:04 +01:00
Ricardo Wurmus
9f33d76c33
gnu: Add r-qlcmatrix.
...
* gnu/packages/cran.scm (r-qlcmatrix): New variable.
2019-01-07 18:44:04 +01:00
Ricardo Wurmus
58bc8857fb
gnu: Add r-combinat.
...
* gnu/packages/cran.scm (r-combinat): New variable.
2019-01-07 18:44:04 +01:00
Ricardo Wurmus
13f5837b4c
gnu: Add r-densityclust.
...
* gnu/packages/cran.scm (r-densityclust): New variable.
2019-01-07 18:44:04 +01:00
Ricardo Wurmus
b614009e6a
gnu: Add r-sparsesvd.
...
* gnu/packages/cran.scm (r-sparsesvd): New variable.
2019-01-07 18:44:04 +01:00
Ricardo Wurmus
fbebccf7f6
gnu: Add r-docopt.
...
* gnu/packages/cran.scm (r-docopt): New variable.
2019-01-07 18:44:04 +01:00
Ricardo Wurmus
45b469a472
gnu: Add r-rvcheck.
...
* gnu/packages/cran.scm (r-rvcheck): New variable.
2019-01-07 18:44:04 +01:00
Ricardo Wurmus
61d7334906
gnu: Add r-tidytree.
...
* gnu/packages/cran.scm (r-tidytree): New variable.
2019-01-07 18:44:04 +01:00
Ricardo Wurmus
a6e4413d64
gnu: Add r-colorramps.
...
* gnu/packages/cran.scm (r-colorramps): New variable.
2019-01-07 18:44:04 +01:00
Ricardo Wurmus
e37935e457
gnu: Add r-wordcloud.
...
* gnu/packages/cran.scm (r-wordcloud): New variable.
2019-01-07 18:44:04 +01:00
Ricardo Wurmus
f3949fecb3
gnu: Add r-waveslim.
...
* gnu/packages/cran.scm (r-waveslim): New variable.
2019-01-07 18:44:04 +01:00
Ricardo Wurmus
db084d79ea
gnu: Add r-tiff.
...
* gnu/packages/cran.scm (r-tiff): New variable.
2019-01-07 18:44:04 +01:00
Ricardo Wurmus
44b0c5b5b1
gnu: Add r-fftwtools.
...
* gnu/packages/cran.scm (r-fftwtools): New variable.
2019-01-07 18:44:03 +01:00
Ricardo Wurmus
71601a5d92
gnu: Add r-softimpute.
...
* gnu/packages/cran.scm (r-softimpute): New variable.
2019-01-07 18:44:03 +01:00
Ricardo Wurmus
03a3ec5e18
gnu: Add r-adgoftest.
...
* gnu/packages/cran.scm (r-adgoftest): New variable.
2019-01-07 18:44:03 +01:00
Ricardo Wurmus
a50abb3614
gnu: Add r-gsl.
...
* gnu/packages/cran.scm (r-gsl): New variable.
2019-01-07 18:44:03 +01:00