Commit graph

8973 commits

Author SHA1 Message Date
Ludovic Courtès
9aec35d265 gnu-maintenance: Use 'http-fetch/cached' by default.
This speeds up operations like 'guix lint -c gnu-description'.

* guix/gnu-maintenance.scm (official-gnu-packages): Add 'fetch'
  parameter and honor it.  Default to 'http-fetch/cached'.
2015-10-17 14:42:07 +02:00
Ludovic Courtès
739ab68bac http-client: Add 'http-fetch/cached'.
* guix/utils.scm (cache-directory): New procedure.
* guix/http-client.scm (%http-cache-ttl): New variable.
  (http-fetch/cached): New procedure.
2015-10-17 14:42:01 +02:00
Ludovic Courtès
34a7bfb049 install: Set the mtime in the binary tarball to 1.
Reported by anthk_ on #guix in Sept. 2015.

* gnu/system/install.scm (self-contained-tarball): Use --mtime=@1
  instead of --mtime=@0.
2015-10-17 12:20:39 +02:00
Ludovic Courtès
4375dcf36c gnu: complexity: Update to 1.3.
* gnu/packages/code.scm (complexity): Update to 1.3.
2015-10-17 12:17:02 +02:00
Ludovic Courtès
78981bb9bd file-systems: Do not truncate mount points that already exist.
Reported by David Thompson <dthompson2@worcester.edu>
at <https://lists.gnu.org/archive/html/guix-devel/2015-10/msg00284.html>.

* gnu/build/file-systems.scm (mount-file-system): When SOURCE matches
  'regular-file?', do not create MOUNT-POINT if it already exists.  This
  fixes a bug whereby we would be truncating MOUNT-POINT if it already
  existed.
2015-10-17 11:57:38 +02:00
Ludovic Courtès
0e3cc3116d syscalls: Fix ABI mismatch for 'clone'.
Fixes <http://bugs.gnu.org/21694>.

* guix/build/syscalls.scm (clone): Change 'syscall' parameter types to
  LONG, UNSIGNED-LONG, or '*; make sure it has 6 parameters.  Adjust
  caller accordingly.
2015-10-17 11:53:25 +02:00
Andreas Enge
d82633d06a gnu: mutt: Update to 1.5.24.
* gnu/packages/patches/mutt-CVE-2014-9116.patch: Delete file.
* gnu/packages/mail.scm (mutt): Update to 1.5.24.
  [source]: Update and remove patch.
* gnu-system.am (dist_patch_DATA): Unregister removed patch.
2015-10-16 22:58:07 +02:00
xd1le
1268e52d5d gnu: Add bspwm.
* gnu/packages/wm.scm (bspwm): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-10-16 19:54:42 +03:00
xd1le
998b8c07b8 gnu: Add sxhkd.
* gnu/packages/xdisorg.scm (sxhkd): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-10-16 19:54:42 +03:00
Alex Kost
727495757f emacs: Add "View graph" actions to system graph commands.
* emacs/guix-command.el (guix-command-additional-execute-arguments,
  guix-command-special-executors): Add "View graph" actions for
  'dmd-graph' and 'extension-graph' commands.
2015-10-16 17:24:13 +03:00
Alex Kost
e0c5309a83 emacs: Disambiguate "d" key in 'system' popup.
* emacs/guix-command.el (guix-command-improve-system-argument): Use "D"
  key for 'disk-image' action (leave "d" for 'dmd-graph').
2015-10-16 17:14:57 +03:00
Alex Kost
b1b53df382 emacs: init: Add "share/emacs/site-lisp" to 'load-path'.
Fixes a regression introduced in 7741139080.

Reported by Ludovic Courtès <ludo@gnu.org>.

Not all emacs packages have "...-autoloads.el" files, so there is a
chance that "~/.guix-profile/share/emacs/site-lisp" will not be added to
'load-path', so add it unconditionally.

* emacs/guix-init.el: Add guix emacs directory to 'load-path'.  Move
  requiring 'guix-emacs' to the top-level.
2015-10-16 17:14:57 +03:00
Ludovic Courtès
4af7c83bc7 system: Define 'GST_PLUGIN_PATH' in /etc/profile.
* gnu/system.scm (operating-system-etc-service)[profile]: Add
  'GST_PLUGIN_PATH' definition.
2015-10-15 23:11:29 +02:00
Ludovic Courtès
3d2a9c8c8e doc: Regenerate 'guix graph' examples.
* doc/images/coreutils-bag-graph.dot, doc/images/coreutils-graph.dot:
  Regenerate from current packages.  This removes the weird dependency
  on 'sed'.
2015-10-15 23:11:29 +02:00
Ludovic Courtès
d96034ed69 gnu: Add python-libarchive-c.
* gnu/packages/python.scm (python-libarchive-c, python2-libarchive-c):
  New variables.
2015-10-15 23:11:29 +02:00
Ludovic Courtès
d8c4998fd4 gnu: Add python-tlsh.
* gnu/packages/python.scm (python-tlsh, python2-tlsh): New variable.
2015-10-15 23:11:29 +02:00
Ben Woodcroft
07f61cb242 gnu: Add ruby-yard.
* gnu/packages/ruby.scm (ruby-yard): New variable.
2015-10-15 12:21:50 +02:00
Ben Woodcroft
5ac984b3d5 gnu: Add ruby-rspec-2.
* gnu/packages/ruby.scm (ruby-rspec-2): New variable.
2015-10-15 12:21:36 +02:00
Ben Woodcroft
6da9adebaa gnu: Add ruby-rspec-mocks-2.
* gnu/packages/ruby.scm (ruby-rspec-mocks-2): New variable.
2015-10-15 12:20:49 +02:00
Ben Woodcroft
fb157f2507 gnu: Add ruby-rspec-expectations-2.
* gnu/packages/ruby.scm (ruby-rspec-expectations-2): New variable.
2015-10-15 12:20:02 +02:00
Ben Woodcroft
64c318f2a4 gnu: Add ruby-rspec-core-2.
* gnu/packages/ruby.scm (ruby-rspec-core-2): New variable.
2015-10-15 12:19:29 +02:00
Ricardo Wurmus
4f9ff21ea0 gnu: python-scipy: Add phase to fix tests.
* gnu/packages/python.scm (python-scipy)[arguments]: Add build phase
  "fix-tests".
2015-10-15 12:05:10 +02:00
Ricardo Wurmus
5248d49e41 gnu: python-scipy: Add numpydoc to native-inputs.
* gnu/packages/python.scm (python-numpydoc)[native-inputs]: Add
  python-numpydoc.
2015-10-15 12:05:09 +02:00
Ludovic Courtès
5f44ee4fa0 services: Unmount user file systems after process termination.
* gnu/services/base.scm (user-unmount-service-type): Change label and
  dmd name to 'user-file-systems'.
  (user-processes-service-type)[requirement]: Add 'user-file-systems'.
2015-10-14 21:39:06 +02:00
Ludovic Courtès
6f305ea5fd guix system: Add 'dmd-graph' command.
* guix/scripts/system.scm (dmd-service-node-label,
  dmd-service-node-type, export-dmd-graph): New procedures.
  (show-help): Add 'dmd-graph'.
  (guix-system)[parse-sub-command]: Likewise.
  Honor it.
* doc/guix.texi (Invoking guix system): Document it.
  (dmd Services): Add an illustration and explanation.
* doc/images/dmd-graph.dot: New file.
* doc.am (DOT_FILES): Add it.
2015-10-14 21:39:06 +02:00
Ludovic Courtès
80a6773483 services: Add 'dmd-service-back-edges'.
* gnu/services/dmd.scm (dmd-service-back-edges): New procedure.
* tests/services.scm ("dmd-service-back-edges"): New test.
2015-10-14 21:39:06 +02:00
Ludovic Courtès
c5d735f798 services: Prefix <dmd-service> accessors with 'dmd-'.
* gnu/services/dmd.scm (<dmd-service>): Prefix accessor identifiers with
  'dmd-', as was intended.  Update users accordingly.
2015-10-14 21:39:06 +02:00
Ludovic Courtès
d6c3267a32 guix system: Add 'extension-graph' command.
* guix/scripts/system.scm (service-node-label, service-node-type,
  export-extension-graph): New procedures.
  (guix-system)[parse-sub-command]: Add 'extension-graph'.
  Honor it.
  (show-help): Add 'extension-graph'.
* doc/guix.texi (Invoking guix system): Document it.
  (Service Composition): Add cross-reference.
2015-10-14 21:39:05 +02:00
Ludovic Courtès
a64cd7b65f graph: 'export-graph' takes a #:reverse-edges? parameter.
* guix/scripts/graph.scm (export-graph): Add #:reverse-edges? parameter
  and honor it.
2015-10-14 21:39:05 +02:00
Ludovic Courtès
00184239c3 services: 'dmd-service-type' takes a service name.
* gnu/services/dmd.scm (dmd-service-type): Add 'service-name'
  parameter.
* gnu/services/base.scm, gnu/services/networking.scm,
  gnu/system/install.scm: Adjust callers.
2015-10-14 21:39:05 +02:00
Ludovic Courtès
5152d13b51 services: Export 'service-back-edges'.
* gnu/services.scm: Export 'service-back-edges' and <service-type>
  accessors.
* tests/services.scm ("service-back-edges"): New test.
2015-10-14 21:39:05 +02:00
Ludovic Courtès
87cd0dba2f build-system/gnu: dist-package: Use 'autoconf-wrapper'.
* guix/build-system/gnu.scm (dist-package): Use AUTOCONF-WRAPPER instead
  of AUTOCONF.
2015-10-14 21:39:05 +02:00
Ludovic Courtès
a6785b96ff hydra: Add Graphviz and help2man as inputs to the Guix job set.
* build-aux/hydra/guix.scm (tarball-package): Add GRAPHVIZ and HELP2MAN
  to 'native-inputs' of GUIX.
2015-10-14 21:39:05 +02:00
Ben Woodcroft
d9c44e9c6a gnu: diamond: Restrict supported systems to x86_64-linux.
* gnu/packages/bioinformatics.scm (diamond) [supported-systems]: Restrict to
  x86_64-linux.
2015-10-14 20:02:25 +03:00
Alex Kost
6159943851 gnu: abbaye: Use 'sdl-union'.
* gnu/packages/games.scm (abbaye)[inputs]: Use 'sdl-union'.
  [arguments]: Adjust 'set-sdl-paths' phase accordingly.
2015-10-14 19:20:59 +03:00
Alex Kost
17fa842b79 emacs: devel: Add indentation rules.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* emacs/guix-devel.el: Add indentation rules for Guix macros/procedures.
  (guix-devel-scheme-indent): New macro.
  (guix-devel-indent-package): New function.
2015-10-14 19:20:28 +03:00
Mark H Weaver
9f7ae77fe2 gnu: icecat: Update to 38.3.0-gnu1.
* gnu/packages/patches/icecat-CVE-2015-4473-partial.patch,
  gnu/packages/patches/icecat-CVE-2015-4482.patch,
  gnu/packages/patches/icecat-CVE-2015-4488.patch,
  gnu/packages/patches/icecat-CVE-2015-4489.patch,
  gnu/packages/patches/icecat-CVE-2015-4491.patch,
  gnu/packages/patches/icecat-CVE-2015-4492.patch,
  gnu/packages/patches/icecat-CVE-2015-4495.patch,
  gnu/packages/patches/icecat-enable-acceleration-and-webgl.patch,
  gnu/packages/patches/icecat-libvpx-1.4.patch: Delete files.
* gnu/packages/patches/icecat-avoid-bundled-includes.patch: New file.
* gnu-system.am (dist_patch_DATA): Add new patch.  Remove the deleted ones.
* gnu/packages/gnuzilla.scm (icecat): Update to 38.3.0-gnu1.
  [source]: Add new patch.  Remove the deleted ones.
  [inputs]: Add libxcomposite.
  [arguments]: Add 'ensure-no-mtimes-pre-1980' phase.  Adapt
  'remove-h264parse-from-blacklist' and
  'arrange-to-link-libxul-with-libraries-it-might-dlopen' phases to the
  new version.
2015-10-14 01:41:56 -04:00
Alex Kost
837294b7a4 gnu: geiser: Update to 0.8.1.
* gnu/packages/emacs.scm (geiser): Update to 0.8.1.
2015-10-13 22:30:07 +03:00
Ricardo Wurmus
5ff6575b08 gnu: python-rpy2: Add "zlib" to native-inputs.
* gnu/packages/python.scm (python-rpy2)[native-inputs]: Add "zlib".
2015-10-13 17:36:47 +02:00
Ricardo Wurmus
ba8a082493 gnu: python-scipy, python2-scipy: Update to 0.16.0.
* gnu/packages/python.scm (python-scipy, python2-scipy): Update to
  0.16.0.
2015-10-13 16:36:40 +02:00
Ricardo Wurmus
dd86c0d10c gnu: python-scipy, python2-scipy: Propagate Python inputs.
* gnu/packages/python.scm (python-scipy)[inputs]: Move "python-numpy",
  "python-matplotlib", and "python-pyparsing" to propagated-inputs; move
  "python-nose" and "python-sphinx" to native-inputs.
  [propagated-inputs]: New field.
  [native-inputs]: Move "python-nose" and "python-sphinx" from inputs
  field here.
  (python2-scipy): Modify propagated-inputs instead of inputs field.
2015-10-13 16:35:48 +02:00
Ricardo Wurmus
331a1cd727 gnu: icedtea6: Update to 1.13.8.
* gnu/packages/java.scm (icedtea6): Update to 1.13.8.
2015-10-13 13:45:51 +02:00
Ricardo Wurmus
d4bf4c8f3e gnu: icedtea6: Replace "ant-bootstrap" with "ant".
* gnu/packages/java.scm (icedtea6)[native-inputs]: Replace
  "ant-bootstrap" with "ant".
  [arguments]: Remove steps to unpack and use "ant-bootstrap".
  (icedtea7)[native-inputs]: Remove explicit references to
  "ant-bootstrap" and "ant".
2015-10-13 13:45:51 +02:00
Ricardo Wurmus
60eb5614d1 gnu: ant: Build with GCJ.
* gnu/packages/java.scm (ant)[native-inputs]: Replace "icedtea6" with
  "gcj".
2015-10-13 13:45:51 +02:00
Ricardo Wurmus
397dbde8ff gnu: gcj-4.8, gcj: Update to default GCC version.
* gnu/packages/gcc.scm (gcj-4.8): Inherit from "gcc" package and rename
  variable to...
  (gcj): ...this new variable.
  (ecj-bootstrap-4.8): Rename variable to...
  (ecj-bootstrap): ...this, updating to version 4.9.
* gnu/packages/java.scm (icedtea6)[native-inputs]: Replace "gcj-4.8"
  with "gcj".
* gnu/packages/music.scm (tuxguitar)[native-inputs]: Likewise.
2015-10-13 13:45:51 +02:00
Alex Kost
aec05972ce gnu: abbaye: Use 'modify-phases'.
* gnu/packages/games.scm (abbaye)[arguments]: Use 'modify-phases'.
2015-10-13 13:29:11 +03:00
Alex Kost
2e2ed3cbf9 gnu: Add manaplus.
* gnu/packages/games.scm (manaplus): New variable.
2015-10-13 13:29:11 +03:00
Ludovic Courtès
b3e2a5af9f build-system/python: Memoize the results of 'package-with-python2'.
Fixes <http://bugs.gnu.org/21675>.
Reported by Cyril Roelandt <tipecaml@gmail.com>.

Before this change, the command:

  guix build python2-oslo.utils -n --no-substitutes

would take 17.5s.  After, it is down to 2.9s.
Likewise, the command:

  guix graph python2-bandit | grep python2-setuptools.*Helve| wc -l

would return 412 nodes before, all functionally equivalent, and returns
a single one now.

* guix/build-system/python.scm (package-with-explicit-python): Remove
  'p' parameter.  Change to return a one-argument memoizing procedure.
  (package-with-python2): Adjust accordingly.
2015-10-13 00:06:11 +02:00
Ludovic Courtès
c80f1559eb hydra: Update demo OS to new service interface.
* build-aux/hydra/demo-os.scm: Import (gnu services dbus); remove
  arguments to 'dbus-service'.
2015-10-13 00:06:11 +02:00
Ludovic Courtès
cc9c1f3935 doc: Update "Name Service Switch" to new service framework.
* gnu/services/avahi.scm (avahi-service): Mention the extension of
  nscd.
* doc/guix.texi (Networking Services): Update accordingly.
  (Name Service Switch): Remove '%my-base-services' example and
  explanation.
2015-10-13 00:06:11 +02:00