Commit Graph

9285 Commits

Author SHA1 Message Date
Mark H Weaver 4d53c29e6c gnu: mit-krb5: Refactor build code; support multiple patches.
* gnu/packages/mit-krb5.scm (mit-krb5)[source]: Use version-major+minor.
  [arguments]: Use modify-phases.  Split and rewrite 'unpack' phase into
  'unpack', 'apply-patches', and 'enter-source-directory' phases.  Add a
  'pre-check' phase instead of replacing the 'check' phase.  Combine
  substitutions on the same file.  In the 'unpack' phase, find
  native-inputs with names starting with "patch/" and apply them all.
  Print a message for each patch applied.  Do not rely on the result of
  'chdir', which is unspecified.  Determine the names of the inner tar
  file and the directory in a more robust way.  Add (ice-9 ftw),
  (ice-9 match) and (srfi srfi-1) to #:modules.
2015-11-13 12:42:47 -05:00
Mark H Weaver 9715df7fbe gnu: mit-krb5: Update to 1.13.2.
* gnu/packages/mit-krb5.scm (mit-krb5): Update to 1.13.2.
  [native-inputs]: Remove "patch/init-fix".
* gnu/packages/patches/mit-krb5-init-fix.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Remove it.
2015-11-13 12:42:47 -05:00
宋文武 a124bbd2f4 gnu: Adjust formatting as recommended by 'guix lint'.
* gnu/packages/aidc.scm (barcode, qrencode),
  gnu/packages/bash.scm (bash, bash-completion),
  gnu/packages/busybox.scm (busybox),
  gnu/packages/cdrom.scm (cdparanoia),
  gnu/packages/cmake.scm (cmake),
  gnu/packages/conkeror.scm (conkeror),
  gnu/packages/cook.scm (cook),
  gnu/packages/curl.scm (curl),
  gnu/packages/docbook.scm (docbook-xsl),
  gnu/packages/enlightenment.scm (enlightenment),
  gnu/packages/games.scm (abbaye),
  gnu/packages/geeqie.scm (exiv2),
  gnu/packages/gimp.scm (gegl),
  gnu/packages/gl.scm (glu, freeglut, ftgl),
  gnu/packages/glib.scm (glib),
  gnu/packages/gnome.scm (orbit2, gconf, geocode-glib),
  gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base),
  gnu/packages/linux.scm (util-linux),
  gnu/packages/lisp.scm (gcl, ecl),
  gnu/packages/maths.scm (gnuplot, hdf5),
  gnu/packages/ssh.scm (dropbear),
  gnu/packages/web.scm (json-c): Remove tabulations and trailing
  white spaces or reformat to fit within 80 columns.
* gnu/packages/audio.scm (aubio),
  gnu/packages/emacs.scm (emacs-s),
  gnu/packages/engineering.scm (geda-gaf),
  gnu/packages/games.scm (dosbox),
  gnu/packages/gnome.scm (gusb),
  gnu/packages/gtk.scm (gtk+),
  gnu/packages/guile.scm (guile-wisp),
  gnu/packages/hurd.scm (hurd-headers),
  gnu/packages/wm.scm (i3-wm): Adjust synopsis or description.
2015-11-13 23:45:55 +08:00
宋文武 d777e048b5 gnu: upower: Update to 0.99.3.
* gnu/packages/gnome.scm (upower): Update to 0.99.3.
2015-11-13 17:59:50 +08:00
宋文武 ebeabe2d35 gnu: upower: Enable GObject introspection.
* gnu/packages/gnome.scm (upower)[native-inputs]: Add gobject-introspection.
2015-11-13 17:59:50 +08:00
宋文武 2af4f5b051 gnu: gcr: Update to 3.18.0, enable introspection.
* gnu/packages/gnome.scm (gcr): Update to 3.18.0.
  [native-inputs]: Add gobject-introspection and libxslt.
2015-11-13 17:59:50 +08:00
宋文武 9083788a29 gnu: nix: Don't propagate Perl libraries.
* gnu/packages/package-management.scm (nix): Move perl-www-curl,
  perl-dbi and perl-dbd-sqlite from 'propagated-inputs' to 'inputs'.
  [arguments]: Add #:configure-flags.
2015-11-13 12:56:50 +08:00
宋文武 f888502cfa gnu: nix: Update to 1.10.
* gnu/packages/package-management.scm (nix): Update to 1.10.
2015-11-13 12:56:50 +08:00
Ludovic Courtès bd7e1ffae6 lint: Have connections time out after 3 seconds.
* guix/scripts/lint.scm (probe-uri): Add #:timeout parameter.  Pass it
  to 'open-connection-for-uri' and 'ftp-open'.
  (validate-uri): Pass #:timeout 3 to 'probe-uri'.
2015-11-12 23:47:01 +01:00
Ludovic Courtès 1b9aefa394 download: Always use AI_ADDRCONFIG when resolving host names.
* guix/build/download.scm (open-socket-for-uri): Always pass
  AI_ADDRCONFIG to 'getaddrinfo' as recommended in the fine Guile
  manual.
* guix/ftp-client.scm (ftp-open): Ditto.
2015-11-12 23:47:01 +01:00
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