jackhill/guix/guix.git
9 years agognu: texlive: Move script packages from native-inputs to inputs.
Andreas Enge [Wed, 29 Oct 2014 23:01:02 +0000 (00:01 +0100)]
gnu: texlive: Move script packages from native-inputs to inputs.

* gnu/packages/texlive.scm (texlive): Move perl, python and tcsh from
    native inputs to inputs.

9 years agognu: texlive: Add inputs fontforge and ruby.
Andreas Enge [Wed, 29 Oct 2014 20:19:51 +0000 (21:19 +0100)]
gnu: texlive: Add inputs fontforge and ruby.

* gnu/packages/texlive.scm (texlive): Add interpreters fontforge and ruby
    to the inputs.

9 years agognu: texlive: Use system potrace instead of bundled copy.
Andreas Enge [Wed, 29 Oct 2014 19:44:06 +0000 (20:44 +0100)]
gnu: texlive: Use system potrace instead of bundled copy.

* gnu/packages/texlive.scm (texlive): Add potrace as an input and modify
    the configure flags accordingly.

9 years agognu: potrace: Install libraries and header files.
Andreas Enge [Wed, 29 Oct 2014 19:05:11 +0000 (20:05 +0100)]
gnu: potrace: Install libraries and header files.

* gnu/packages/fontutils.scm (potrace): Add configure flag to install
    libraries and header files.

9 years agognu: texlive: Drop obsolete input t1lib.
Andreas Enge [Wed, 29 Oct 2014 17:43:45 +0000 (18:43 +0100)]
gnu: texlive: Drop obsolete input t1lib.

* gnu/packages/texlive.scm (texlive): Drop input t1lib and the corresponding
    configure flag.
    Since texlive-2013, xdvi uses freetype instead of t1lib for rendering.

9 years agognu: texlive: Use system libpaper instead of bundled copy.
Andreas Enge [Wed, 29 Oct 2014 16:40:40 +0000 (17:40 +0100)]
gnu: texlive: Use system libpaper instead of bundled copy.

* gnu/packages/texlive.scm (texlive): Add libpaper as an input and modify
    the configure flags accordingly.

9 years agognu: texlive: Use system harfbuzz instead of bundled copy.
Andreas Enge [Wed, 29 Oct 2014 15:39:06 +0000 (16:39 +0100)]
gnu: texlive: Use system harfbuzz instead of bundled copy.

* gnu/packages/texlive.scm (texlive): Add harfbuzz as an input and modify
    the configure flags accordingly.

9 years agognu: harfbuzz: Add and enable input graphite2.
Andreas Enge [Wed, 29 Oct 2014 14:31:52 +0000 (15:31 +0100)]
gnu: harfbuzz: Add and enable input graphite2.

* gnu/packages/gtk.scm (harfbuzz): Add input graphite2 and enable it with
    the corresponding configure flag.

9 years agognu: texlive: Use system graphite2 instead of bundled copy.
Andreas Enge [Wed, 29 Oct 2014 13:40:12 +0000 (14:40 +0100)]
gnu: texlive: Use system graphite2 instead of bundled copy.

* gnu/packages/texlive.scm (texlive): Add graphite2 as an input and modify
    the configure flags accordingly.

9 years agognu: Add GPS Correlate.
Ludovic Courtès [Wed, 29 Oct 2014 16:58:42 +0000 (17:58 +0100)]
gnu: Add GPS Correlate.

* gnu/packages/gps.scm (gpscorrelate): New variable.

9 years agognu: Add GPSBabel.
Ludovic Courtès [Wed, 29 Oct 2014 13:57:50 +0000 (14:57 +0100)]
gnu: Add GPSBabel.

* gnu/packages/gps.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

9 years agoimport: snix: Handle license attributes.
Ludovic Courtès [Wed, 29 Oct 2014 13:03:46 +0000 (14:03 +0100)]
import: snix: Handle license attributes.

* guix/import/snix.scm (snix-derivation->guix-package)[license-variable]:
  Move to...
  (license-variable): ... here.  Handle license attributes.

9 years agooffload: Remove mutual exclusion on transfers.
Ludovic Courtès [Tue, 28 Oct 2014 23:28:03 +0000 (00:28 +0100)]
offload: Remove mutual exclusion on transfers.

Suggested by Mark H. Weaver <mhw@netris.org>
at <http://lists.gnu.org/archive/html/guix-devel/2014-10/msg00352.html>.

* guix/scripts/offload.scm (transfer-and-offload): Remove uses of
  'with-machine-lock'.

9 years agoderivations: Fix 'derivation-prerequisites-to-build' when #:local-build?.
Ludovic Courtès [Tue, 28 Oct 2014 23:26:05 +0000 (00:26 +0100)]
derivations: Fix 'derivation-prerequisites-to-build' when #:local-build?.

* guix/derivations.scm (derivation-prerequisites-to-build)[derivation-substitutable?]:
  Call 'substitutable-derivation?'.
  <body>: When 'substitutable-derivation?' returns #f, add DRV to BUILD.

9 years agotests: Move some of the narinfo test tools to (guix tests).
Ludovic Courtès [Tue, 28 Oct 2014 23:09:38 +0000 (00:09 +0100)]
tests: Move some of the narinfo test tools to (guix tests).

* guix/tests.scm (derivation-narinfo, call-with-derivation-narinfo): New
  procedures.
  (with-derivation-narinfo): New macro.
* tests/derivations.scm ("derivation-prerequisites-to-build and
  substitutes"): Use them.

9 years agosystem: Add pciutils and pciutils to '%base-packages'.
Ludovic Courtès [Tue, 28 Oct 2014 22:40:32 +0000 (23:40 +0100)]
system: Add pciutils and pciutils to '%base-packages'.

* gnu/system.scm (%base-packages): Add PCIUTILS and USBUTILS.

9 years agognu: Add ath9k-htc-firmware.
Ludovic Courtès [Tue, 28 Oct 2014 22:07:57 +0000 (23:07 +0100)]
gnu: Add ath9k-htc-firmware.

* gnu/packages/firmware.scm: New file.
* gnu/packages/patches/ath9k-htc-firmware-objcopy.patch: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add 'firmware.scm'.
  (dist_patch_DATA): Add the patch.

9 years agognu: Add Xtensa bare-bones cross-compiler.
Ludovic Courtès [Tue, 28 Oct 2014 21:24:46 +0000 (22:24 +0100)]
gnu: Add Xtensa bare-bones cross-compiler.

* gnu/packages/cross-base.scm (xgcc-xtensa): New variable.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add case for
  "xtensa-elf".

9 years agoderivations: Add 'offloadable-derivation?' and 'substitutable-derivation?'.
Ludovic Courtès [Tue, 28 Oct 2014 17:05:17 +0000 (18:05 +0100)]
derivations: Add 'offloadable-derivation?' and 'substitutable-derivation?'.

* guix/derivations.scm (offloadable-derivation?,
  substitutable-derivation?): New procedures.
* tests/derivations.scm ("offloadable-derivation?"): New test.

9 years agognu: guile-ncurses: Update to 1.6.
Ludovic Courtès [Tue, 28 Oct 2014 13:50:29 +0000 (14:50 +0100)]
gnu: guile-ncurses: Update to 1.6.

* gnu/packages/guile.scm (guile-ncurses): Update to 1.6.

9 years agobuild: Adjust lint tests for latest rules.
Eric Bavier [Tue, 28 Oct 2014 14:28:29 +0000 (09:28 -0500)]
build: Adjust lint tests for latest rules.

* tests/guix-lint.sh (dummy)[description]: Add failing case.
  [doc]: Adjust.

9 years agolist-packages: Add Hydra links only for the supported systems.
Ludovic Courtès [Tue, 28 Oct 2014 09:30:38 +0000 (10:30 +0100)]
list-packages: Add Hydra links only for the supported systems.

* build-aux/list-packages.scm (package->sxml)[status]: Use
  'package-transitive-supported-systems' instead of a hard-coded list of
  systems.

9 years agognu: mit-scheme: Fix typo in 'supported-systems'.
Ludovic Courtès [Tue, 28 Oct 2014 09:29:36 +0000 (10:29 +0100)]
gnu: mit-scheme: Fix typo in 'supported-systems'.

* gnu/packages/scheme.scm (mit-scheme)[supported-systems]: Correct
  spelling of "mips64el-linux".

9 years agognu: atlas: Make it non-substitutable.
Ludovic Courtès [Tue, 28 Oct 2014 09:17:55 +0000 (10:17 +0100)]
gnu: atlas: Make it non-substitutable.

Suggested by Federico Beffa <beffa@ieee.org>.

* gnu/packages/maths.scm (atlas)[arguments]: Pass #:substitutable? #f.
  [description]: Adjust accordingly.

9 years agobuild-system/gnu: Add #:substitutable? parameter.
Ludovic Courtès [Tue, 28 Oct 2014 09:17:13 +0000 (10:17 +0100)]
build-system/gnu: Add #:substitutable? parameter.

* guix/build-system/gnu.scm (gnu-build): Add #:substitutable?
  parameter.  Pass #:local-build? to 'build-expression->derivation'.
  (gnu-cross-build): Likewise.

9 years agognu: Mark a few packages as unsupported on MIPS.
Ludovic Courtès [Tue, 28 Oct 2014 00:14:34 +0000 (01:14 +0100)]
gnu: Mark a few packages as unsupported on MIPS.

* gnu/packages/gprolog.scm (gprolog): Add 'supported-systems' field.
* gnu/packages/qemu.scm (qemu-headless): Likewise.
* gnu/packages/qt.scm (qt): Likewise.
* gnu/packages/scheme.scm (racket): Likewise.

9 years agoemacs: Add 'guix-pull' command.
Alex Kost [Tue, 21 Oct 2014 07:48:28 +0000 (11:48 +0400)]
emacs: Add 'guix-pull' command.

* emacs/guix-base.el (guix-pull): New command.
  (guix-update-after-pull, guix-after-pull-hook): New variables.
  (guix-restart-repl-after-pull, guix-update-buffers-maybe-after-pull): New
  procedures.
* emacs/guix-main.scm: Use (guix scripts pull) module.
* doc/emacs.texi (Emacs Commands): Document 'guix-pull' command.

9 years agoemacs: Improve REPL procedures.
Alex Kost [Mon, 20 Oct 2014 19:23:32 +0000 (23:23 +0400)]
emacs: Improve REPL procedures.

* emacs/guix-backend.el (guix-start-process-maybe): Add 'start-msg' and
  'end-msg' optional arguments.
  (guix-start-repl-maybe): Likewise.  Do not kill buffer with a dead process.
  (guix-repl-exit): New procedure.
  (guix-eval-in-repl): Use 'geiser-repl--send'.

9 years agoemacs: Improve buffer procedures.
Alex Kost [Mon, 20 Oct 2014 17:43:33 +0000 (21:43 +0400)]
emacs: Improve buffer procedures.

* emacs/guix-base.el (guix-list-or-info-buffer-p): Delete.  Replace with...
  (guix-buffer-p): ... this.  New procedure.
  (guix-buffers): Use it.  Add 'modes' argument.
  (guix-update-buffer): New procedure.
  (guix-update-buffers-maybe): Rename to ...
  (guix-update-buffers-maybe-after-operation): this.  Use
  'guix-update-buffer'.

9 years agoemacs: Introduce REPL operation type.
Alex Kost [Mon, 20 Oct 2014 19:18:13 +0000 (23:18 +0400)]
emacs: Introduce REPL operation type.

* emacs/guix-backend.el (guix-repl-operation-type): New variable.
  (guix-repl-output-filter): Run type hooks after performing an operation.
  (guix-eval-read): Add 'operation-type' argument.

9 years agoemacs: Handle updating by ID after REPL restart.
Alex Kost [Mon, 20 Oct 2014 12:07:38 +0000 (16:07 +0400)]
emacs: Handle updating by ID after REPL restart.

* emacs/guix-base.el (guix-entry-to-specification,
  guix-entries-to-specifications): New procedures.
  (guix-revert-buffer): Search by name if searching by ID gives no results.

9 years agodoc: Add a note about optional GnuTLS dependency.
Ian Denhardt [Sun, 26 Oct 2014 05:21:22 +0000 (01:21 -0400)]
doc: Add a note about optional GnuTLS dependency.

* README (Requirements): add a note about 'guix download''s GnuTLS dependency.
* doc/guix.texi (Requirements): Likewise.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
9 years agodoc: Add cross-reference to the gnutls-guile manual.
Ludovic Courtès [Sun, 26 Oct 2014 16:06:12 +0000 (17:06 +0100)]
doc: Add cross-reference to the gnutls-guile manual.

* doc/guix.texi (Invoking guix download): Add cross-reference to the
  gnutls-guile manual.

9 years agognu: Add miscfiles
John Darrington [Tue, 21 Oct 2014 19:46:24 +0000 (21:46 +0200)]
gnu: Add miscfiles

* gnu/packages/miscfiles.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

9 years agognu: Add prefix to license imports in (gnu packages feh).
Mark H Weaver [Mon, 27 Oct 2014 07:30:22 +0000 (03:30 -0400)]
gnu: Add prefix to license imports in (gnu packages feh).

* gnu/packages/feh.scm: Import (guix licenses) with #:prefix license: to avoid
  importing 'imlib2' from both (gnu packages image) and (guix licenses).

9 years agognu: ruby: Miscellaneous improvements to package definition.
Mark H Weaver [Mon, 27 Oct 2014 06:34:26 +0000 (02:34 -0400)]
gnu: ruby: Miscellaneous improvements to package definition.

* gnu/packages/ruby.scm (ruby): Compute major+minor version string for the
  source URI.  Switch to the .bz2 tarball and update the hash accordingly.
  Remove 'autoconf' from the inputs.  Change 'native-search-paths' to the
  directory that is actually created by the build.  Remove the package name
  from the synopsis.
  (ruby-1.8): Compute major+minor version string for the source URI, and avoid
  the use of 'name' in the URI computation.  Remove 'name' field, since it is
  inherited and no longer needed.

9 years agognu: Add ruby 1.8.7.
Pjotr Prins [Mon, 27 Oct 2014 05:30:09 +0000 (06:30 +0100)]
gnu: Add ruby 1.8.7.

* gnu/packages/ruby.scm (ruby-1.8): New variable.

9 years agognu: gnutls: Fix path to a guile site directory.
Alex Kost [Sun, 26 Oct 2014 19:11:24 +0000 (22:11 +0300)]
gnu: gnutls: Fix path to a guile site directory.

Suggested by Ludovic Courtès.

* gnu/packages/gnutls.scm (gnutls): Add '--with-guile-site-dir' configure
  flag.

9 years agognu: parallel: Update to 20141022.
Mark H Weaver [Mon, 27 Oct 2014 03:04:28 +0000 (23:04 -0400)]
gnu: parallel: Update to 20141022.

* gnu/packages/parallel.scm (parallel): Update to 20141022.

9 years agognu: tor: Update to 0.2.5.10.
Mark H Weaver [Sun, 26 Oct 2014 20:48:38 +0000 (16:48 -0400)]
gnu: tor: Update to 0.2.5.10.

* gnu/packages/tor.scm (tor): Update to 0.2.5.10.

9 years agolicenses: Add 'imlib2'.
Alex Kost [Sun, 26 Oct 2014 12:27:56 +0000 (15:27 +0300)]
licenses: Add 'imlib2'.

* guix/licenses.scm (imlib2): New variable.
* gnu/packages/image.scm (imlib2): Use it.

9 years agognu: Some cleanup based on lint checkers.
Eric Bavier [Fri, 24 Oct 2014 04:46:59 +0000 (23:46 -0500)]
gnu: Some cleanup based on lint checkers.

* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
  gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
  gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
  gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
  gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
  gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
  gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
  gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
  gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
  gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
  gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
  gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
  gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
  gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
  gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
  gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
  gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
  gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
  gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
  gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
  gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
  gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
  gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
  gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
  gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
  gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
  gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
  gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
  gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
  gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
  gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
  gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
  gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
  gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
  according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.

9 years agoguix: lint: Make exception for package name starting description.
Eric Bavier [Sun, 26 Oct 2014 17:36:42 +0000 (12:36 -0500)]
guix: lint: Make exception for package name starting description.

* guix/scripts/lint.scm (check-description-style): Exception for
  upper-case rule if the description starts with the package name.
* tests/lint.scm: Test it.

9 years agoguix: lint: Allow digits at start of synopsis or description.
Eric Bavier [Sat, 25 Oct 2014 16:29:34 +0000 (11:29 -0500)]
guix: lint: Allow digits at start of synopsis or description.

* guix/scripts/lint.scm (start-with-capital-letter?): Rename too...
  (properly-starts-sentence?): Rewrite with regex and add digits.
  (check-description-style, check-synopsis-style): Use it.
* tests/lint.scm: Add tests.

9 years agoguix: lint: Check for empty synopses and descriptions.
Eric Bavier [Wed, 22 Oct 2014 18:48:55 +0000 (13:48 -0500)]
guix: lint: Check for empty synopses and descriptions.

* guix/scripts/lint.scm (check-description-style,
  check-synopsis-style): New emptiness checks.
* tests/lint.scm: Test them.

9 years agoguix: lint: Check for proper end-of-sentence space.
Eric Bavier [Wed, 22 Oct 2014 18:47:01 +0000 (13:47 -0500)]
guix: lint: Check for proper end-of-sentence space.

* guix/scripts/lint.scm (start-with-capital-letter?): Handle empty
  strings.
  (check-description-style): New check for end-of-sentence space.
* tests/lint.scm: Test it.

9 years agoguix: lint: Use if/when consistently.
Eric Bavier [Wed, 22 Oct 2014 17:01:04 +0000 (12:01 -0500)]
guix: lint: Use if/when consistently.

* guix/scripts/lint.scm (check-synopsis-style): Replace single-branch
  uses of if with when.
  (check-patches): Same

9 years agoguix: lint: Use string-suffix? and string-prefix? where appropriate.
Eric Bavier [Wed, 22 Oct 2014 14:20:20 +0000 (09:20 -0500)]
guix: lint: Use string-suffix? and string-prefix? where appropriate.

* guix/scripts/lint.scm (check-synopsis): Use string-suffix? and
  string-prefix? in place of string-take and string=?.

9 years agognu: Add ATLAS.
Federico Beffa [Sun, 26 Oct 2014 10:03:02 +0000 (11:03 +0100)]
gnu: Add ATLAS.

* gnu/packages/maths.scm (atlas): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agoUpdate name and email address for Joshua Grant.
Joshua Grant [Mon, 20 Oct 2014 23:08:37 +0000 (18:08 -0500)]
Update name and email address for Joshua Grant.

9 years agognu: Add cppunit
John Darrington [Mon, 20 Oct 2014 19:37:16 +0000 (21:37 +0200)]
gnu: Add cppunit

* gnu/packages/check.scm (cppunit): New variable.

9 years agognu: pulseaudio: Fix CVE-2014-3970 and intermittent test failures.
Mark H Weaver [Fri, 24 Oct 2014 07:39:34 +0000 (03:39 -0400)]
gnu: pulseaudio: Fix CVE-2014-3970 and intermittent test failures.

* gnu/packages/patches/pulseaudio-CVE-2014-397.patch: New file.
* gnu/packages/patches/pulseaudio-fix-mult-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/pulseaudio.scm (pulseaudio): Add patches.

9 years agognu: acl: Install library and disable failing test suite.
Mark H Weaver [Fri, 24 Oct 2014 01:09:00 +0000 (21:09 -0400)]
gnu: acl: Install library and disable failing test suite.

Previously, this package was completely broken.  It installed only
binaries that failed to run for lack of the shared library.

* gnu/packages/acl.scm (acl): Disable tests.  Remove customized
  'check' phase that ran tests and ignored errors.  Remove 'perl' as
  input, needed only for tests.  Replace 'install' phase with one that
  includes 'install-lib' target.

9 years agognu: openssl: Update to 1.0.1j.
Mark H Weaver [Fri, 24 Oct 2014 00:54:14 +0000 (20:54 -0400)]
gnu: openssl: Update to 1.0.1j.

* gnu/packages/openssl.scm (openssl): Update to 1.0.1j.

9 years agognu: gettext: Update to 0.19.3.
Mark H Weaver [Fri, 24 Oct 2014 00:51:54 +0000 (20:51 -0400)]
gnu: gettext: Update to 0.19.3.

* gnu/packages/gettext.scm (gettext): Update to 0.19.3.

9 years agognu: bash: Update to 4.3.30.
Mark H Weaver [Fri, 24 Oct 2014 00:42:54 +0000 (20:42 -0400)]
gnu: bash: Update to 4.3.30.

* gnu/packages/bash.scm (%patch-series-4.3): Add patches 28-30.
  (bash)[source]: Remove parser-oob patch.  It is superceded by
  upstream patch bash43-028.

9 years agognu: make: Update to 4.1.
Mark H Weaver [Fri, 24 Oct 2014 00:36:50 +0000 (20:36 -0400)]
gnu: make: Update to 4.1.

* gnu/packages/base.scm (make): Update to 4.1.  Adapt 'default_shell'
  substitution to new code.
* gnu/packages/commencement.scm (gnu-make-boot0): Remove code that
  manually removed guile.c from list of things to build.

9 years agognu: ffmpeg: Add version 2.2.9 and use it for vlc.
Mark H Weaver [Sun, 26 Oct 2014 00:05:57 +0000 (20:05 -0400)]
gnu: ffmpeg: Add version 2.2.9 and use it for vlc.

* gnu/packages/video.scm (ffmpeg-2.2): New variable.
  (vlc): Use ffmpeg-2.2.

9 years agognu: python2-pyicu: Update to 1.8.
Andreas Enge [Fri, 24 Oct 2014 19:36:41 +0000 (21:36 +0200)]
gnu: python2-pyicu: Update to 1.8.

* gnu/packages/python.scm (python2-pyicu): Update to 1.8.

9 years agognu: vlc: Update to 2.1.5.
Mark H Weaver [Fri, 24 Oct 2014 00:06:44 +0000 (20:06 -0400)]
gnu: vlc: Update to 2.1.5.

* gnu/packages/video.scm (vlc): Update to 2.1.5.

9 years agognu: icecat: Update to 31.2.0.
Mark H Weaver [Thu, 23 Oct 2014 18:37:08 +0000 (14:37 -0400)]
gnu: icecat: Update to 31.2.0.

* gnu/packages/gnuzilla.scm (icecat): Update to 31.2.0.  Download
  source from GNU mirrors.

9 years agoguix import pypi: Fix a typo in a docstring.
Cyril Roelandt [Wed, 15 Oct 2014 22:46:15 +0000 (00:46 +0200)]
guix import pypi: Fix a typo in a docstring.

* guix/import/pypi.scm (snake-case): Fix documentation.

9 years agoguix import pypi: do not add "python-" to a package name if it's already there.
Cyril Roelandt [Wed, 15 Oct 2014 22:42:51 +0000 (00:42 +0200)]
guix import pypi: do not add "python-" to a package name if it's already there.

* guix/import/pypi.scm (make-pypi-sexp): test whether the package name starts
  with "python-" before modifying it.

9 years agoguix import pypi: add the Apache License 2.0
Cyril Roelandt [Wed, 15 Oct 2014 18:18:00 +0000 (20:18 +0200)]
guix import pypi: add the Apache License 2.0

* guix/import/pypi.scm (string->license): add ASL2.0.

9 years agognu: emacs: Update to 24.4.
Mark H Weaver [Wed, 8 Oct 2014 07:49:43 +0000 (03:49 -0400)]
gnu: emacs: Update to 24.4.

* gnu/packages/patches/emacs-configure-sh.patch: Remove.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/emacs.scm (emacs): Update to 24.4.  Add 'acl' as input.
  Remove --with-crt-dir configure option.
  (emacs-no-x-toolkit): Add 'inotify-tools' as input.  Adjust to cope
  with the lack of configure-flags in the main 'emacs' package.

9 years agorefresh: Add end-of-line to error message.
Eric Bavier [Mon, 20 Oct 2014 22:03:02 +0000 (17:03 -0500)]
refresh: Add end-of-line to error message.

* guix/scripts/refresh.scm (%options)[select]: Add end-of-line to
  error message.

9 years agognu: ccache: Upgrade to 3.1.10.
Eric Bavier [Mon, 20 Oct 2014 21:47:58 +0000 (16:47 -0500)]
gnu: ccache: Upgrade to 3.1.10.

* gnu/packages/ccache.scm (ccache): Upgrade to 3.1.10.
  [source]: Remove patches.
* gnu/packages/patches/ccache-stdc-predef-test.patch: Delete patch.
* gnu-system.am (dist_patch_DATA): Remove it.

9 years agognu: ffmpeg: Update to 2.4.2.
Jason Self [Mon, 20 Oct 2014 19:32:42 +0000 (12:32 -0700)]
gnu: ffmpeg: Update to 2.4.2.

* gnu/packages/video.scm (ffmpeg): Update to version 2.4.2.

9 years agognu: Add sane-backends
John Darrington [Sun, 19 Oct 2014 08:21:03 +0000 (10:21 +0200)]
gnu: Add sane-backends

* gnu/packages/scanner.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

9 years agognu: sqlite: Add readline as input.
Andreas Enge [Mon, 20 Oct 2014 14:09:09 +0000 (16:09 +0200)]
gnu: sqlite: Add readline as input.

* gnu/packages/databases.scm (sqlite): Add input readline.

9 years agognu: Add 'version-prefix' and 'version-major+minor'; use them.
Ian Denhardt [Sun, 19 Oct 2014 02:03:42 +0000 (22:03 -0400)]
gnu: Add 'version-prefix' and 'version-major+minor'; use them.

The procedure version-prefix truncates a version string to a certain
number of components. version-major+minor is a special case of this,
which extracts the "major.minor" part of the string. Previously this
was handled by an expression common to several packages.

* guix/utils.scm (version-prefix, version-major+minor): New procedures
* gnu/packages/backup.scm (duplicity): Use version-major+minor.
* gnu/packages/cmake.scm (cmake): Likewise.
* gnu/packages/gnome.scm (libbonobo, libbonoboui): Likewise.
* gnu/packages/gnutls.scm (gnutls): Likewise.
* gnu/packages/mail.scm (gmime): Likewise.
* gnu/packages/mpd.scm (mpd): Likewise.
* gnu/packages/mpi.scm (openmpi): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agodownload: Add "Accept: */*" to the headers.
Ludovic Courtès [Sun, 19 Oct 2014 10:07:26 +0000 (12:07 +0200)]
download: Add "Accept: */*" to the headers.

Fixes downloads from https://alioth.debian.org.
Reported by John Darrington <jmd@gnu.org>.

* guix/build/download.scm (http-fetch)[headers]: Add 'Accept'.

9 years agognu: Add ntp
John Darrington [Sat, 18 Oct 2014 15:09:45 +0000 (17:09 +0200)]
gnu: Add ntp

* gnu/packages/ntp.scm: New file.
* gnu-system.am (gnu/packages/ntp.scm): Add it.

9 years agoemacs: Improve interface for working with multiple profiles.
Alex Kost [Fri, 17 Oct 2014 18:21:32 +0000 (22:21 +0400)]
emacs: Improve interface for working with multiple profiles.

Suggested by David Thompson, Ludovic Courtès and Mathieu Lirzin.

* emacs/guix-base.el (guix-profile-prompt): New procedure.
  (guix-set-current-profile): Use it.
  (guix-buffer-name-simple, guix-buffer-name-default, guix-buffer-name): New
  procedures.
  (guix-buffer-name-function, guix-profile): New variables.
  (guix-set-vars, guix-get-entries, guix-get-show-entries, guix-set-buffer,
  guix-history-call, guix-process-package-actions,
  guix-continue-package-operation-p, guix-delete-generations,
  guix-switch-to-generation): Add 'profile' argument.
* emacs/guix.el (guix-get-show-packages, guix-get-show-generations,
  guix-search-by-name, guix-search-by-regexp, guix-installed-packages,
  guix-obsolete-packages, guix-all-available-packages,
  guix-newest-available-packages, guix-generations, guix-generations-by-time):
  Likewise.
  (guix-last-generations): New command.
* emacs/guix-info.el: Adjust for using 'profile' argument where needed.
* emacs/guix-list.el: Likewise.
* doc/emacs.texi (Emacs Commands): Document 'guix-last-generations' and using
  "C-u" for commands.
  (Emacs Buffer Names): Document 'guix-buffer-name-function'.

9 years agopackages: Add 'package-transitive-supported-systems'.
Ludovic Courtès [Fri, 17 Oct 2014 21:20:39 +0000 (23:20 +0200)]
packages: Add 'package-transitive-supported-systems'.

* guix/packages.scm (package-transitive-supported-systems): New procedure.
* tests/packages.scm ("package-transitive-supported-systems"): New test.
* build-aux/hydra/gnu-system.scm (package->job): Use it.

9 years agognu: valgrind: Don't build on mipsel64-linux.
Ludovic Courtès [Fri, 17 Oct 2014 21:08:45 +0000 (23:08 +0200)]
gnu: valgrind: Don't build on mipsel64-linux.

* gnu/packages/valgrind.scm (valgrind): Add 'supported-systems'.

9 years agognu: sdl-gfx: Build only on Intel machines.
Ludovic Courtès [Fri, 17 Oct 2014 21:08:20 +0000 (23:08 +0200)]
gnu: sdl-gfx: Build only on Intel machines.

* gnu/packages/sdl.scm (sdl-gfx): Add 'supported-systems' field.

9 years agoderivations: 'graft-derivation' correctly handles multiple-output sources.
Ludovic Courtès [Wed, 15 Oct 2014 21:55:36 +0000 (23:55 +0200)]
derivations: 'graft-derivation' correctly handles multiple-output sources.

* guix/derivations.scm (graft-derivation): Add DRV as input for each one
  of OUTPUT-NAMES.

9 years agopackages: Improve the package-to-derivation cache.
Ludovic Courtès [Wed, 15 Oct 2014 07:22:23 +0000 (09:22 +0200)]
packages: Improve the package-to-derivation cache.

* guix/packages.scm (cache): Preserve the former values associated with
  PACKAGE.
  (cached): Bind SYSTEM in 'let', to prevent double evaluation.

9 years agoderivations: Add #:system parameter to 'graft-derivation'.
Ludovic Courtès [Tue, 14 Oct 2014 17:04:08 +0000 (19:04 +0200)]
derivations: Add #:system parameter to 'graft-derivation'.

* guix/derivations.scm (graft-derivation): Add #:system parameter.

9 years agoderivations: Introduce 'graft' record type.
Ludovic Courtès [Tue, 14 Oct 2014 12:47:49 +0000 (14:47 +0200)]
derivations: Introduce 'graft' record type.

* guix/derivations.scm (<graft>): New record type.
  (graft-derivation): Rename 'replacements' to 'grafts', and expect it
  to be a list of <graft> records.  Adjust accordingly.
* tests/derivations.scm ("graft-derivation"): Use 'graft' instead of
  pairs in argument to 'graft-derivation'.

9 years agorecords: Improve the docstring of 'define-record-type*'.
Ludovic Courtès [Tue, 14 Oct 2014 12:44:48 +0000 (14:44 +0200)]
records: Improve the docstring of 'define-record-type*'.

* guix/records.scm (define-record-type*): Agument the docstring, give
  examples.

9 years agodoc: Replace "emacs" with "Emacs" in node names.
Alex Kost [Fri, 17 Oct 2014 17:22:38 +0000 (21:22 +0400)]
doc: Replace "emacs" with "Emacs" in node names.

Suggested by Ludovic Courtès.

* doc/emacs.texi: Use "Emacs" in node names.

9 years agoemacs: Add 'guix-generations-by-time' command.
Alex Kost [Thu, 16 Oct 2014 17:35:47 +0000 (21:35 +0400)]
emacs: Add 'guix-generations-by-time' command.

* emacs/guix-main.scm (find-generations): Add finding generations by time.
* emacs/guix-utils.el (guix-read-date): New procedure.
* emacs/guix-base.el (guix-messages): Add new messages.
* emacs/guix.el (guix-generations-by-time): New command.
* doc/emacs.texi (emacs Commands): Document it.

9 years agodownload: Allow use of substitutes.
Ludovic Courtès [Thu, 16 Oct 2014 21:39:54 +0000 (23:39 +0200)]
download: Allow use of substitutes.

See <https://bugs.gnu.org/18747> for the original report.

* guix/download.scm (url-fetch): Comment out #:local-build? argument.
* guix/git-download.scm (git-fetch): Likewise.
* guix/svn-download.scm (svn-fetch): Likewise.

9 years agognu: linux-libre: Update to 3.17.1.
Jason Self [Thu, 16 Oct 2014 12:45:44 +0000 (05:45 -0700)]
gnu: linux-libre: Update to 3.17.1.

* gnu/packages/linux.scm (linux-libre): Update to version 3.17.1.

9 years agoemacs: Support auto-updating after performing REPL operation.
Alex Kost [Tue, 14 Oct 2014 16:43:10 +0000 (20:43 +0400)]
emacs: Support auto-updating after performing REPL operation.

* emacs/guix-backend.el (guix-operation-buffer): New variable.
  (guix-eval-in-repl): Use it.  Add optional 'operation-buffer' argument.
* emacs/guix-base.el (guix-update-after-operation): New variable.
  (guix-switch-to-buffer, guix-list-or-info-buffer-p, guix-buffers,
  guix-update-buffers-maybe): New procedures.
  (guix-set-buffer): Use 'guix-switch-to-buffer'.  Add optional 'no-display'
  argument.
  (guix-process-package-actions, guix-delete-generations,
  guix-switch-to-generation): Add optional 'operation-buffer' argument.
* emacs/guix-info.el (guix-package-info-insert-action-button,
  guix-generation-info-insert-number, guix-generation-info-insert-current):
  Adjust for using operation buffer.
* emacs/guix-list.el (guix-list-execute-package-actions,
  guix-generation-list-switch, guix-generation-list-execute): Likewise.

9 years agoemacs: Add hooks for REPL operations.
Alex Kost [Mon, 13 Oct 2014 17:49:31 +0000 (21:49 +0400)]
emacs: Add hooks for REPL operations.

* emacs/guix-backend.el (guix-before-repl-operation-hook,
  guix-after-repl-operation-hook, guix-repl-operation-p): New variables.
  (guix-repl-operation-success-message, guix-repl-output-filter): New
  procedures.
  (guix-start-repl): Adjust for using 'guix-repl-output-filter'.
  (guix-eval-in-repl): Honor 'guix-before-repl-operation-hook'.

9 years agoguix lint: add the --checkers option.
Cyril Roelandt [Sat, 11 Oct 2014 23:58:29 +0000 (01:58 +0200)]
guix lint: add the --checkers option.

* guix/scripts/lint.scm: add the "--checkers" option.
* doc/guix.texi (Invoking guix lint): Document it.
* tests/guix-lint.sh: New file
* Makefile.am (SCM_TESTS): Add it.

9 years agognu: gnutls: Patch bug in 'set-session-server-name!'.
Ludovic Courtès [Tue, 14 Oct 2014 21:09:07 +0000 (23:09 +0200)]
gnu: gnutls: Patch bug in 'set-session-server-name!'.

* gnu/packages/patches/gnutls-server-name-fix.patch: New file.
* gnu/packages/gnutls.scm (gnutls)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.

9 years agognu: Add xboing
John Darrington [Mon, 13 Oct 2014 10:33:39 +0000 (12:33 +0200)]
gnu: Add xboing

* gnu/packages/games.scm (xboing): New variable.

9 years agoutils: Micro-optimize 'bytevector->base16-string'.
Ludovic Courtès [Mon, 13 Oct 2014 21:07:47 +0000 (23:07 +0200)]
utils: Micro-optimize 'bytevector->base16-string'.

This reduces run time of (package-derivation s emacs) by ~1.5%.

* guix/utils.scm (bytevector->base16-string): Traverse BV from the end
  so as to use 'string-concatenate' instead of
  'string-concatenate-reverse'.

9 years agoderivations: Micro-optimize 'imported-modules'.
Ludovic Courtès [Mon, 13 Oct 2014 21:00:06 +0000 (23:00 +0200)]
derivations: Micro-optimize 'imported-modules'.

This reduces run time of (package-derivation s emacs) by ~5%.

* guix/derivations.scm (search-path*): New procedure.
  (imported-modules): Use it instead of 'search-path'.

9 years agoderivations: Memoize 'derivation-path->base16-hash'.
Ludovic Courtès [Mon, 13 Oct 2014 20:33:31 +0000 (22:33 +0200)]
derivations: Memoize 'derivation-path->base16-hash'.

This reduces run time of (package-derivation s emacs) by ~10%.

* guix/derivations.scm (derivation-path->base16-hash): New procedure.
  (derivation-hash): Use it.

9 years agognu: gnutls: Update to 3.2.19.
Ludovic Courtès [Mon, 13 Oct 2014 15:52:11 +0000 (17:52 +0200)]
gnu: gnutls: Update to 3.2.19.

* gnu/packages/gnutls.scm (gnutls): Update to 3.2.19.

9 years agognu: xfig, transfig: Patch compiler flags for mips and i686.
Eric Bavier [Mon, 13 Oct 2014 15:11:43 +0000 (10:11 -0500)]
gnu: xfig, transfig: Patch compiler flags for mips and i686.

* gnu/packages/xfig.scm (xfig, transfig)[arguments]: Have Makefile
  substitution match for more targets.

9 years agoemacs: Add support for switching generations.
Alex Kost [Fri, 10 Oct 2014 19:58:30 +0000 (23:58 +0400)]
emacs: Add support for switching generations.

* emacs/guix-base.el (guix-switch-to-generation): New procedure.
* emacs/guix-info.el (guix-generation-info-insert-current): Insert button for
  switching to generation.
* emacs/guix-list.el (guix-generation-list-switch): New procedure.
* doc/emacs.texi (emacs List buffer, emacs Info buffer): Document switching
  generations.

9 years agoemacs: Add 'current' generation parameter.
Alex Kost [Fri, 10 Oct 2014 19:50:15 +0000 (23:50 +0400)]
emacs: Add 'current' generation parameter.

* emacs/guix-main.scm (generation-param-alist): Add 'current' parameter.
* emacs/guix-base.el (guix-param-titles): Add title for 'current' parameter.
* emacs/guix-info.el: Display 'current' parameter.
  (guix-generation-info-current, guix-generation-info-not-current): New faces.
  (guix-generation-info-insert-current): New procedure.
* emacs/guix-list.el: Display 'current' column.
  (guix-generation-list-get-current): New procedure.

9 years agognu: nss-mdns: Add alternate source URLs.
Mark H Weaver [Mon, 13 Oct 2014 07:01:10 +0000 (03:01 -0400)]
gnu: nss-mdns: Add alternate source URLs.

Based on 8c43746 by Ludovic Courtès <ludo@gnu.org>.
Fixes <http://bugs.gnu.org/18704>.

* gnu/packages/avahi.scm (nss-mdns)[source]: Add Debian and Fedora mirrors.

9 years agognu: icu4c: Reinstate RUNPATH on shared libraries.
Ludovic Courtès [Sun, 12 Oct 2014 22:34:44 +0000 (00:34 +0200)]
gnu: icu4c: Reinstate RUNPATH on shared libraries.

Fixes <http://bugs.gnu.org/18695>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/icu4c.scm (icu4c)[arguments]: In 'add-lib-to-runpath',
  reinstate RUNPATH on files under lib/.  Fixes a regression introduced
  in commit 7239828.