Commit Graph

9475 Commits

Author SHA1 Message Date
Ludovic Courtès 60fd51222f download: Add timeout parameter for connections.
* guix/build/download.scm (ensure-uri): New procedure.
(current-http-proxy): New variable.
(open-socket-for-uri): Copy from Guile commit aaea5b2, but add #:timeout
parameter and use 'connect*' instead of 'connect'.
(open-connection-for-uri): Add #:timeout parameter and pass it to
'open-socket-for-uri'.
2015-11-12 23:47:00 +01:00
Ludovic Courtès 4856700698 ftp-client: Add timeout parameter to 'ftp-open'.
* guix/ftp-client.scm (catch-EINPROGRESS): New macro.
(connect*): New procedure.
(ftp-open): Add #:timeout parameter.  Use 'connect*' instead of
'connect' and pass it TIMEOUT.
2015-11-12 23:47:00 +01:00
Ludovic Courtès 279ec1df20 ftp-client: Restrict to TCP connections.
* guix/ftp-client.scm (ftp-open): Force SOCK_STREAM as the socket type
  to avoid calling 'connect' on a datagram socket.
2015-11-12 23:47:00 +01:00
Alex Kost 8b341eb05d emacs: Adjust 'guix environment' popup.
* emacs/guix-command.el (guix-command-improve-environment-argument): Use
  "E" for '--expose' and "S" for '--share' to distinguish them from
  '--expression' and '--system' accordingly.  Make '--ad-hoc' an option
  taking packages instead of a simple switch.
  (guix-command-rest-argument): Complete shell command instead of
  packages for '--' argument.
  (guix-command-additional-arguments): Add fake 'packages' argument.
  New variable.
  (guix-command-additional-arguments): Use it.
  (guix-command-post-process-environment-packages,
  guix-command-post-process-environment-ad-hoc): New functions.
  (guix-command-post-processors): Add "environment" command with the new
  argument processors.
2015-11-12 21:22:35 +03:00
Alex Kost cfa548b4ea emacs: Adjust 'guix container' popup.
* emacs/guix-command.el (guix-command-improve-action-argument): Use "C"
  key for 'container' action to distinguish it from 'challenge'.
  (guix-command-rest-argument): Add positional arguments.
2015-11-12 21:22:35 +03:00
Alex Kost 959c78f69a emacs: Improve post processing of popup arguments.
* emacs/guix-command.el (guix-command-switches,
  guix-command-rest-arg-regexp): New variables.
  (guix-command-post-processors,
  guix-command-post-process-matching-args,
  guix-command-post-process-rest-single,
  guix-command-post-process-rest-multiple,
  guix-command-post-process-rest-multiple-leave,
  guix-command-post-process-package-args): New functions.
  (guix-command-post-process-rest-multiple): Take 2 arguments.
  (guix-command-define-popup-action): Adjust accordingly.
* emacs/guix-utils.el (guix-modify): New function.
2015-11-12 21:22:35 +03:00
Efraim Flashner 4f8f15cd5c Revert "gnu: libvpx: Update to 1.5.0."
This reverts commit fb3f69394a.
2015-11-12 19:59:42 +02:00
Taylan Ulrich Bayırlı/Kammer bff3c670c2 gnu: mupen64plus-core: Add comment.
* gnu/packages/games.scm (mupen64plus-core): Comment the reason for the
  supported-systems field.
2015-11-12 17:25:40 +01:00
Taylan Ulrich Bayırlı/Kammer 9c9be34871 gnu: mupen64plus-core: Specify supported-systems.
* gnu/packages/games.scm (mupen64plus-core): Specify supported-systems.
2015-11-12 16:00:52 +01:00
Roel Janssen 2f1531f008 gnu: Add inklingreader.
* gnu/packages/inklingreader.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
2015-11-12 15:57:02 +01:00
Efraim Flashner 0534dd93ce gnu: gsl: Update to 2.1.
* gnu/packages/maths.scm (gsl): Update to 2.1.
2015-11-12 16:53:43 +02:00
Efraim Flashner 0137992a38 gnu: Add c-ares.
* gnu/packages/aria2.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-11-12 16:21:00 +02:00
Efraim Flashner b2e93b9e45 gnu: Add owncloud-client.
* gnu/packages/owncloud.scm (owncloud-client): New variable.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-11-12 16:14:42 +02:00
Efraim Flashner 9e81af9e72 gnu: Add qtkeychain.
* gnu/packages/qt.scm (qtkeychain): New variable.
2015-11-12 16:14:42 +02:00
Efraim Flashner fb3f69394a gnu: libvpx: Update to 1.5.0.
* gnu/packages/video.scm (libvpx): Update to 1.5.0.
2015-11-12 14:56:55 +02:00
Ricardo Wurmus 029d9f77ab gnu: mosaik: Build only on x86_64.
* gnu/packages/bioinformatics.scm (mosaik)[supported-systems]: Add
  field.
2015-11-12 12:36:40 +01:00
Ludovic Courtès 0086ec733c gnu: sudo: Upgrade to 1.8.15 [fixes CVE-2015-5602].
* gnu/packages/admin.scm (sudo)[arguments]: Add CPPFLAGS to
  #:configure-flags.   In 'pre-configure' phase, modify
  'sudo_usage.h.in'.  Add pattern to remove '-o 0 -g 0' installation
  flag in 'Makefile.in', and remove pattern for '-O 0 -G 0'.  Remove
  modifications of 'configure'.
2015-11-12 11:49:18 +01:00
宋文武 bd7dfafaa3 gnu: Add caribou.
* gnu/packages/gnome.scm (caribou): New variable.
2015-11-12 14:21:30 +08:00
宋文武 df217748e1 gnu: Add evolution-data-server.
* gnu/packages/gnome.scm (evolution-data-server): New variable.
2015-11-12 14:21:30 +08:00
宋文武 685cee8779 gnu: Add gnome-online-accounts.
* gnu/packages/gnome.scm (gnome-online-accounts): New variable.
2015-11-12 14:21:30 +08:00
Andreas Enge 8de8cf438a gnu: lua: Register patch.
* gnu-system.am (dist_patch_DATA): Register lua52-liblua-so.patch.

This is a follow-up to commit 0f9c1f3400.
2015-11-12 05:12:37 +01:00
Ludovic Courtès ddfd70da8e gnu: stow: Update to 2.2.2.
* gnu/packages/package-management.scm (stow): Update to 2.2.2.
  [native-inputs]: Add PERL-IO-STRINGY.
2015-11-11 23:45:29 +01:00
Ludovic Courtès 8fe0b262a9 gnu: libmicrohttpd: Update to 0.9.46.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.46.
2015-11-11 23:39:15 +01:00
Ludovic Courtès 3a96d7c3dd guix gc: Error out when extra arguments are passed.
Fixes <http://bugs.gnu.org/21817>.
Reported by Petter Berntsen <petter@mykolab.ch>.

* guix/scripts/gc.scm (guix-gc)[assert-no-extra-arguments]: New
  procedure.
  Use it for actions 'collect-garbage', 'optimize', and 'verify'.
* tests/guix-gc.sh: Add tests.
2015-11-11 23:29:20 +01:00
Ludovic Courtès 6237b9fa39 edit: Honor $VISUAL.
Suggested by Andreas Enge <andreas@enge.fr>.

* guix/scripts/edit.scm (%editor): Honor 'VISUAL' before 'EDITOR'.
  (show-help): Adjust accordingly.
* doc/guix.texi (Invoking guix edit): Likewise.
2015-11-11 23:29:20 +01:00
Ricardo Wurmus 6d2e833495 gnu: Add microscheme.
* gnu/packages/avr.scm (microscheme): New variable.
2015-11-11 22:40:50 +01:00
Ludovic Courtès 14649b8cdb refresh: Avoid non-literal format string.
Reported by Mathieu Lirzin <mthl@gnu.org>.

* guix/scripts/refresh.scm (guix-refresh): Rewrite 'list-dependent?'
  report to avoid nested 'N_' calls.
2015-11-11 22:10:21 +01:00
Ricardo Wurmus 42f8504ccc gnu: Add prefix to license imports in (gnu packages avr).
* gnu/packages/avr.scm: Import (guix licenses) with prefix "license:".
2015-11-11 21:23:58 +01:00
Ricardo Wurmus e5e2068551 gnu: ardour: Update to 4.4.
* gnu/packages/audio.scm (ardour): Update to 4.4.
2015-11-11 21:22:48 +01:00
Ricardo Wurmus e61d9e3966 gnu: Add gfortran 5.
* gnu/packages/gcc.scm (gfortran-5): New variable.
2015-11-11 17:25:04 +01:00
Mark H Weaver 419630e0be gnu: wpa-supplicant: Add fixes for CVE-2015-{5310,5314,5315,5316}.
* gnu/packages/patches/wpa-supplicant-CVE-2015-5310.patch,
  gnu/packages/patches/wpa-supplicant-CVE-2015-5314.patch,
  gnu/packages/patches/wpa-supplicant-CVE-2015-5315.patch,
  gnu/packages/patches/wpa-supplicant-CVE-2015-5316.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/admin.scm (wpa-supplicant-minimal)[source]: Add patches.
2015-11-11 07:45:11 -05:00
Efraim Flashner 875b2f3d5e gnu: youtube-dl: Upgrade to 2015.11.10.
* gnu/packages/video.scm (youtube-dl): Upgrade to 2015.11.10.
2015-11-11 13:05:56 +02:00
Mark H Weaver 533c1b04bc gnu: linux-libre: Update to 4.2.6.
* gnu/packages/linux.scm (linux-libre): Update to 4.2.6.
2015-11-11 01:16:19 -05:00
Mark H Weaver a4564c629f gnu: git: Update to 2.6.3.
* gnu/packages/version-control.scm (git): Update to 2.6.3.
  (git-manpages)[source]: Update hash.
2015-11-10 23:07:28 -05:00
Ludovic Courtès 2ab5fdc4b4 ui: 'guix help COMMAND' is like 'guix COMMAND --help'.
* guix/ui.scm (run-guix): Add ("help" COMMAND) case.
2015-11-11 00:37:51 +01:00
Ludovic Courtès fc2d233964 guix package: '--search-paths' can report combined search paths.
Partly fixes <http://bugs.gnu.org/20255>.

* guix/scripts/package.scm (search-path-environment-variables): Change
  'profile' to 'profiles'; expect it to be a list.
  (display-search-paths): Likewise.
  (%default-options): Remove 'profile' entry.
  (%options) <--profile>: Keep previous values associated with 'profile'
  in RESULT.
  (guix-package)[process-actions, process-query]: Handle the possible
  lack of 'profile' pair in OPTS.
2015-11-11 00:37:50 +01:00
Ludovic Courtès 21059b26b0 system: Populate /etc/shells from ACCOUNT-SERVICE-TYPE.
* gnu/system.scm (user-shells): Remove.
  (operating-system-etc-service): Remove "shells" entry.
  (shells-file): Move to...
* gnu/system/shadow.scm (shells-file): ... here.  New procedure.
  (etc-skel): Rename to...
  (etc-files): ... this.  Add "shells" entry.
  (account-service-type): Adjust accordingly.
2015-11-11 00:37:50 +01:00
Ludovic Courtès ba583bd2ce gnu: torsocks: Upgrade to 2.0.0.
* gnu/packages/tor.scm (torsocks): Update to 2.0.0.
  [source]: Fetch from git.torproject.org.  Use
  'torsocks-dns-test.patch'.
  [arguments, native-inputs]: New fields.
  [license]: Change to GPL2.
* gnu/packages/patches/torsocks-dns-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-11-11 00:37:50 +01:00
Taylan Ulrich Bayırlı/Kammer 68d85de163 gnu: gtksourceview-2: Propagate input libxml2.
* gnu/packages/gtk.scm (gtksourceview-2): Move libxml2 to propagated
  inputs.
2015-11-10 23:12:25 +01:00
Taylan Ulrich Bayırlı/Kammer e6974eae1d gnu: Add mupen64plus-ui-console.
* gnu/packages/games.scm (mupen64plus-ui-console): New variable.
* gnu/packages/patches/mupen64plus-ui-console-notice.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer 17e2bc8617 gnu: Add mupen64plus-video-z64.
* gnu/packages/games.scm (mupen64plus-video-z64): New variable.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer e91d25f9e0 gnu: Add mupen64plus-video-rice.
* gnu/packages/games.scm (mupen64plus-video-rice): New variable.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer e8bf3ced25 gnu: Add mupen64plus-video-glide64mk2.
* gnu/packages/games.scm (mupen64plus-video-glide64mk2): New variable.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer 9a3fe16b99 gnu: Add mupen64plus-video-glide64.
* gnu/packages/games.scm (mupen64plus-video-glide64): New variable.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer 307a536d42 gnu: Add mupen64plus-video-arachnoid
* gnu/packages/games.scm (mupen64plus-video-arachnoid): New variable.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer 50afcd1f03 gnu: Add mupen64plus-rsp-z64.
* gnu/packages/games.scm (mupen64plus-rsp-z64): New variable.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer 3b3358bec9 gnu: Add mupen64plus-rsp-hle.
* gnu/packages/games.scm (mupen64plus-rsp-hle): New variable.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer d07f0ebbcc gnu: Add mupen64plus-input-sdl.
* gnu/packages/games.scm (mupen64plus-input-sdl): New variable.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer ac2fe449e7 gnu: Add mupen64plus-audio-sdl.
* gnu/packages/games.scm (mupen64plus-audio-sdl): New variable.
2015-11-10 22:14:43 +01:00
Taylan Ulrich Bayırlı/Kammer 0c15230db1 gnu: Add mupen64plus-core.
* gnu/packages/games.scm (mupen64plus-core): New variable.
2015-11-10 22:14:43 +01:00