jackhill/guix/guix.git
7 years agognu: gnu-make: Don't replace 'sh' reference with 'bash'.
Leo Famulari [Thu, 5 Jan 2017 08:02:08 +0000 (03:02 -0500)]
gnu: gnu-make: Don't replace 'sh' reference with 'bash'.

* gnu/packages/base.scm (gnu-make)[arguments]: Use /bin/sh instead of /bin/bash
in 'set-default-shell' phase.

7 years agognu: m4: Don't replace 'sh' reference with 'bash'.
Leo Famulari [Thu, 5 Jan 2017 08:00:06 +0000 (03:00 -0500)]
gnu: m4: Don't replace 'sh' reference with 'bash'.

* gnu/packages/m4.scm (m4)[arguments]: Use /bin/sh instead of /bin/bash in
'pre-check' phase.

7 years agoMerge branch 'master' into core-updates
Leo Famulari [Fri, 6 Jan 2017 22:14:41 +0000 (17:14 -0500)]
Merge branch 'master' into core-updates

7 years agognu: python-pycrypto: Fix CVE-2013-7459.
Leo Famulari [Fri, 6 Jan 2017 18:43:38 +0000 (13:43 -0500)]
gnu: python-pycrypto: Fix CVE-2013-7459.

* gnu/packages/patches/python-pycrypto-CVE-2013-7459.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-pycrypto, python2-pycrypto)[source]: Use the
patch. Use pypi-uri.

7 years agognu: nspr: Update to 4.13.1.
Leo Famulari [Fri, 6 Jan 2017 18:08:47 +0000 (13:08 -0500)]
gnu: nspr: Update to 4.13.1.

* gnu/packages/gnuzilla.scm (nspr): Update to 4.13.1.

7 years agoguix: Add Docker image export.
Ricardo Wurmus [Tue, 3 Jan 2017 15:20:15 +0000 (16:20 +0100)]
guix: Add Docker image export.

* guix/docker.scm: New file.
* Makefile.am (MODULES): Register it.
* guix/scripts/archive.scm (show-help, %options, guix-archive): Add
support for "--format".
* doc/guix.texi (Invoking guix archive): Document it.

7 years agognu: Add r-copywriter.
Ricardo Wurmus [Wed, 4 Jan 2017 15:25:21 +0000 (16:25 +0100)]
gnu: Add r-copywriter.

* gnu/packages/bioinformatics.scm (r-copywriter): New variable.

7 years agognu: Add r-copyhelper.
Ricardo Wurmus [Wed, 4 Jan 2017 15:25:20 +0000 (16:25 +0100)]
gnu: Add r-copyhelper.

* gnu/packages/bioinformatics.scm (r-copyhelper): New variable.

7 years agognu: Add r-chipseq.
Ricardo Wurmus [Wed, 4 Jan 2017 15:25:19 +0000 (16:25 +0100)]
gnu: Add r-chipseq.

* gnu/packages/bioinformatics.scm (r-chipseq): New variable.

7 years agofile-systems: Refactor file system detection logic.
David Craven [Sat, 3 Dec 2016 20:42:32 +0000 (21:42 +0100)]
file-systems: Refactor file system detection logic.

* gnu/build/file-systems.scm (read-superblock,
  null-terminated-latin1->string): New variables.
  (sub-bytevector): Move to general section.
  (ext2-superblock?, read-ext2-superblock): New variables.
  (ext2-superblock-uuid, ext2-superblock-volume-name): Use
  sub-bytevector and null-terminated-latin1->string.
  (%ext2-sblock-magic, %ext2-sblock-creator-os, %ext2-sblock-uuid,
  %ext2-sblock-volume-name): Inline constants.
  (luks-superblock?, read-luks-header): New variables.
  (%luks-header-size, %luks-magic): Inline.
  (partition-label-predicate, partition-uuid-predicate,
  luks-partition-uuid-predicate): Use new functions.

7 years agognu: gnome-tweak-tool: Add missing inputs.
Christopher Baines [Fri, 30 Dec 2016 19:36:35 +0000 (19:36 +0000)]
gnu: gnome-tweak-tool: Add missing inputs.

* gnu/packages/gnome.scm (gnome-tweak-tool)[inputs]: Add gnome-desktop
and libsoup.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: gnome-tweak-tool: Make propagated-inputs just inputs.
Christopher Baines [Fri, 30 Dec 2016 19:36:34 +0000 (19:36 +0000)]
gnu: gnome-tweak-tool: Make propagated-inputs just inputs.

* gnu/packages/gnome.scm (gnome-tweak-tool)[propagated-inputs]: Merge
with...
[inputs]: ... this.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: gnome-tweak-tool: Wrap program to set 'GI_TYPELIB_PATH'.
Christopher Baines [Fri, 30 Dec 2016 19:36:33 +0000 (19:36 +0000)]
gnu: gnome-tweak-tool: Wrap program to set 'GI_TYPELIB_PATH'.

* gnu/packages/gnome.scm (gnome-tweak-tool)[arguments]: Add
'wrap-program' phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: gnome-tweak-tool: Use glib-or-gtk-build-system.
Christopher Baines [Fri, 30 Dec 2016 19:36:32 +0000 (19:36 +0000)]
gnu: gnome-tweak-tool: Use glib-or-gtk-build-system.

This allows gobject introspection namespaces to be found.

* gnu/packages/gnome.scm (gnome-tweak-tool)[build-system]: Set to
GLIB-OR-GTK-BUILD-SYSTEM.
[arguments]: Use %GLIB-OR-GTK-BUILD-SYSTEM-MODULES in #:imported-modules.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: bioruby: Update to 1.5.1.
Ben J Woodcroft [Fri, 6 Jan 2017 06:17:42 +0000 (16:17 +1000)]
gnu: bioruby: Update to 1.5.1.

* gnu/packages/bioinformatics.scm (bioruby): Update to 1.5.1.

7 years agognu: cd-hit: Update to 4.6.6.
Ben J Woodcroft [Fri, 6 Jan 2017 01:03:37 +0000 (11:03 +1000)]
gnu: cd-hit: Update to 4.6.6.

* gnu/packages/bioinformatics.scm (cd-hit): Update to 4.6.6.

7 years agognu: khal: Disable failing tests.
Leo Famulari [Fri, 6 Jan 2017 08:14:17 +0000 (03:14 -0500)]
gnu: khal: Disable failing tests.

* gnu/packages/patches/khal-disable-failing-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/calendar.scm (khal): Use it.

7 years agognu: vdirsyncer: Update to 0.14.1.
Leo Famulari [Thu, 5 Jan 2017 18:23:23 +0000 (13:23 -0500)]
gnu: vdirsyncer: Update to 0.14.1.

* gnu/packages/dav.scm (vdirsyncer): Update to 0.14.1.

7 years agognu: python-icalendar: Update to 3.11.1.
Leo Famulari [Fri, 6 Jan 2017 08:14:49 +0000 (03:14 -0500)]
gnu: python-icalendar: Update to 3.11.1.

* gnu/packages/python.scm (python-icalendar): Update to 3.11.1.

7 years agoderivations: Share a cache between 'derivation' and 'read-derivation'.
Ludovic Courtès [Thu, 5 Jan 2017 22:40:59 +0000 (23:40 +0100)]
derivations: Share a cache between 'derivation' and 'read-derivation'.

This leads a 13% speedup on 'guix build libreoffice -d' and 18% on
'guix build gnome -d'.

* guix/derivations.scm (%derivation-cache): New variable.
(read-derivation): Use it instead of the private 'cache' variable.
(derivation): Populate %DERIVATION-CACHE before returning.

7 years agognu: gv: Do not propagate Ghostscript.
Ludovic Courtès [Thu, 5 Jan 2017 21:59:22 +0000 (22:59 +0100)]
gnu: gv: Do not propagate Ghostscript.

* gnu/packages/gv.scm (gv)[propagated-inputs]: Remove.
[arguments]: New field.
[inputs]: Add GHOSTCRIPT/X.

7 years agoderivations: Micro-optimize 'write-derivation'.
Ludovic Courtès [Thu, 5 Jan 2017 20:49:45 +0000 (21:49 +0100)]
derivations: Micro-optimize 'write-derivation'.

* guix/derivations.scm (write-derivation)[write-input]: Use 'display'
instead of 'write' for PATH.
Use 'simple-format' instead of 'format', and '~a' instead of '~s' for
SYSTEM and BUILDER.

7 years agognu: emacs-smartparens: Update to 1.9.0.
Alex Kost [Thu, 5 Jan 2017 09:51:45 +0000 (12:51 +0300)]
gnu: emacs-smartparens: Update to 1.9.0.

* gnu/packages/emacs.scm (emacs-smartparens): Update to 1.9.0.

7 years agognu: magit: Update to 2.10.0.
Alex Kost [Thu, 5 Jan 2017 09:51:10 +0000 (12:51 +0300)]
gnu: magit: Update to 2.10.0.

* gnu/packages/emacs.scm (magit, emacs-magit-popup): Update to 2.10.0.

7 years agognu: emacs-with-editor: Update to 2.5.9.
Alex Kost [Thu, 5 Jan 2017 09:49:17 +0000 (12:49 +0300)]
gnu: emacs-with-editor: Update to 2.5.9.

* gnu/packages/emacs.scm (emacs-with-editor): Update to 2.5.9.

7 years agognu: Add ghc-markdown-unlit.
Danny Milosavljevic [Wed, 4 Jan 2017 15:21:10 +0000 (16:21 +0100)]
gnu: Add ghc-markdown-unlit.

* gnu/packages/haskell.scm (ghc-markdown-unlit): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: beep: Ignore substitute* return value.
Tobias Geerinckx-Rice [Thu, 5 Jan 2017 16:24:03 +0000 (17:24 +0100)]
gnu: beep: Ignore substitute* return value.

* gnu/packages/terminals.scm (beep)[arguments]: End 'patch-makefile phase
with truth.

7 years agognu: libtool: Correct replacement shebang.
Leo Famulari [Thu, 5 Jan 2017 16:31:34 +0000 (11:31 -0500)]
gnu: libtool: Correct replacement shebang.

* gnu/packages/autotools.scm (libtool)[arguments]: Correct replacement
shebang in 'restore-ltmain-shebang' phase.

7 years agognu: sdl2: Add fcitx input.
David Thompson [Thu, 5 Jan 2017 16:27:10 +0000 (11:27 -0500)]
gnu: sdl2: Add fcitx input.

* gnu/packages/sdl.scm (sdl2)[inputs]: Add fcitx.

7 years agognu: sdl2: Fix double input events bug.
David Thompson [Thu, 5 Jan 2017 16:15:57 +0000 (11:15 -0500)]
gnu: sdl2: Fix double input events bug.

* gnu/packages/sdl.scm (sdl2)[inputs]: Add dbus, gblib, and ibus.

7 years agoRevert "gnu: gawk: Don't replace 'sh' reference with 'bash'."
Leo Famulari [Thu, 5 Jan 2017 16:21:38 +0000 (11:21 -0500)]
Revert "gnu: gawk: Don't replace 'sh' reference with 'bash'."

This commit causes too many rebuilds. It will be re-committed to core-updates.

This reverts commit 5b2834ae790557a760fea4bf2b8c7bac1ea8f23d.

7 years agognu: gawk: Don't replace 'sh' reference with 'bash'.
Leo Famulari [Thu, 5 Jan 2017 07:57:26 +0000 (02:57 -0500)]
gnu: gawk: Don't replace 'sh' reference with 'bash'.

* gnu/packages/gawk.scm (gawk)[arguments]: Use /bin/sh instead of /bin/bash in
'set-shell-file-name' phase.

7 years agognu: libtool: Make sure all phases return a successful value.
Leo Famulari [Thu, 5 Jan 2017 15:44:43 +0000 (10:44 -0500)]
gnu: libtool: Make sure all phases return a successful value.

* gnu/packages/autotools.scm (libtool)[arguments]: Return #t from 'pre-check'
and 'restore-ltmain-shebang' phases.

7 years agognu: irssi: Update to 1.0.0.
Marius Bakke [Thu, 5 Jan 2017 15:43:01 +0000 (16:43 +0100)]
gnu: irssi: Update to 1.0.0.

* gnu/packages/irc.scm (irssi): Update to 1.0.0.
[arguments]: Remove --with-ncurses configure flag.
[native-inputs]: Move 'perl' to ...
[inputs]: ... here.
[home-page]: Use HTTPS.

7 years agognu: libtool: Don't replace 'sh' reference with 'bash'.
Leo Famulari [Thu, 5 Jan 2017 00:44:27 +0000 (19:44 -0500)]
gnu: libtool: Don't replace 'sh' reference with 'bash'.

Bash behaves differently based on how it is invoked (see Invocation in bash(1)).

* gnu/packages/autotools.scm (libtool)[arguments]: Use /bin/sh instead
of /bin/bash in 'pre-check' phase. Fix typo in comment.

7 years agognu: libtool: Restore ltmain.sh shebang.
ng0 [Sun, 1 Jan 2017 15:24:28 +0000 (15:24 +0000)]
gnu: libtool: Restore ltmain.sh shebang.

This fixes <http://bugs.gnu.org/25304>

* gnu/packages/autotools.scm (libtool)[arguments]: Add new phase
'restore-ltmain-shebang'.
[native-inputs]: Add help2man.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: libtool: Use 'modify-phases'.
ng0 [Sun, 1 Jan 2017 15:24:27 +0000 (15:24 +0000)]
gnu: libtool: Use 'modify-phases'.

* gnu/packages/autotools.scm (libtool): Use 'modify-phases'.
[arguments]: Use 'modify-phases'.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: Fix indentation of some python packages.
Marius Bakke [Thu, 5 Jan 2017 15:28:01 +0000 (16:28 +0100)]
gnu: Fix indentation of some python packages.

This is a followup to abe2ec73..807a5b32.

* gnu/packages/python.scm (python-snowballstemmer,
  python-sphinx-cloud-sptheme, python-sphinx-alabaster-theme): Fix indentation.

7 years agognu: Add python-sphinx-alabaster-theme.
Danny Milosavljevic [Wed, 4 Jan 2017 20:43:14 +0000 (21:43 +0100)]
gnu: Add python-sphinx-alabaster-theme.

* gnu/packages/python.scm (python-sphinx-alabaster-theme,
  python2-sphinx-alabaster-theme): New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: Add python-sphinx-cloud-sptheme.
Danny Milosavljevic [Wed, 4 Jan 2017 20:43:13 +0000 (21:43 +0100)]
gnu: Add python-sphinx-cloud-sptheme.

* gnu/packages/python.scm (python-sphinx-cloud-sptheme,
  python2-sphinx-cloud-sptheme): New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: Add python-snowballstemmer.
Danny Milosavljevic [Wed, 4 Jan 2017 20:43:12 +0000 (21:43 +0100)]
gnu: Add python-snowballstemmer.

* gnu/packages/python.scm (python-snowballstemmer,
  python2-snowballstemmer): New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: sed: Update to 4.3.
Marius Bakke [Wed, 4 Jan 2017 15:47:48 +0000 (16:47 +0100)]
gnu: sed: Update to 4.3.

* gnu/packages/base.scm (sed): Update to 4.3.
[source]: Use xz tarball. Remove upstreamed patch.
[arguments]: Fix '/bin/sh' -> 'bash' substitution.
[home-page]: Use https.
[native-inputs]: Add perl.
* gnu/packages/patches/sed-hurd-path-max.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

7 years agognu: Add beep.
José Miguel Sánchez García [Wed, 4 Jan 2017 23:23:18 +0000 (00:23 +0100)]
gnu: Add beep.

* gnu/packages/terminals.scm (beep): New variable.

Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr>
7 years agognu: Remove unused module import from (gnu packages mtools).
Tobias Geerinckx-Rice [Wed, 4 Jan 2017 10:12:11 +0000 (11:12 +0100)]
gnu: Remove unused module import from (gnu packages mtools).

This is a follow-up to commit 3b0f2ba46b8c14cf9d9729e13e006af697d07403.

* gnu/packages/mtools.scm: Remove import of (gnu packages python).

7 years agognu: ruby-nokogiri: Update to 1.7.0.1.
Ben Woodcroft [Thu, 5 Jan 2017 11:00:51 +0000 (21:00 +1000)]
gnu: ruby-nokogiri: Update to 1.7.0.1.

* gnu/packages/ruby.scm (ruby-nokogiri): Update to 1.7.0.1.

7 years agognu: ruby-hoe: Update to 3.16.0.
Ben Woodcroft [Thu, 5 Jan 2017 10:49:45 +0000 (20:49 +1000)]
gnu: ruby-hoe: Update to 3.16.0.

* gnu/packages/ruby.scm (ruby-hoe): Update to 3.16.0.

7 years agohydra: Add "powerpc-linux-gnu" as a cross-compilation target.
Ludovic Courtès [Wed, 4 Jan 2017 23:00:59 +0000 (00:00 +0100)]
hydra: Add "powerpc-linux-gnu" as a cross-compilation target.

* build-aux/hydra/gnu-system.scm (%cross-targets): Add
"powerpc-linux-gnu".

7 years agognu: bootstrap: Add the dynamic linker name for "powerpc-linux".
Carlos Sánchez de La Lama [Wed, 4 Jan 2017 22:52:41 +0000 (23:52 +0100)]
gnu: bootstrap: Add the dynamic linker name for "powerpc-linux".

This commit completes cross-compilation support for powerpc-linux-gnu.

* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add "powerpc-linux"
case.

7 years agognu: linux-libre: Adjust for PowerPC.
Carlos Sánchez de La Lama [Wed, 4 Jan 2017 22:50:37 +0000 (23:50 +0100)]
gnu: linux-libre: Adjust for PowerPC.

* gnu/packages/linux.scm (system->defconfig): New procedure.
(linux-libre-headers)[arguments]: Use it in 'build' phase to determine
the target name.
* gnu/packages/cross-base.scm (cross-kernel-headers)[xlinux-headers]
(arguments): Likewise.

7 years agognu: gcc: Adjust for PowerPC.
Carlos Sánchez de La Lama [Wed, 4 Jan 2017 22:47:24 +0000 (23:47 +0100)]
gnu: gcc: Adjust for PowerPC.

* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Add powerpc specific
substitutions for dynamic linker and start files locations in
'pre-configure' phase.
* gnu/packages/make-bootstrap.scm (%gcc-static)[arguments]: Add
"gcc/config/rs6000/sysv4.h" to the list of files in 'remove-lgcc_s'
phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agodoc: Add a Git hook that verifies signatures before pushing.
Leo Famulari [Tue, 3 Jan 2017 06:19:25 +0000 (01:19 -0500)]
doc: Add a Git hook that verifies signatures before pushing.

* HACKING (Commit Access): Describe the pre-push Git hook.
* etc/git/pre-push: New file.

7 years agognu: unrtf: Fix CVE-2016-10091.
Leo Famulari [Sun, 1 Jan 2017 20:12:48 +0000 (15:12 -0500)]
gnu: unrtf: Fix CVE-2016-10091.

* gnu/packages/patches/unrtf-CVE-2016-10091.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/unrtf.scm (unrtf)[source]: Use it.

7 years agognu: libreoffice: Update to 5.1.6.2.
Alex Griffin [Tue, 3 Jan 2017 15:58:41 +0000 (09:58 -0600)]
gnu: libreoffice: Update to 5.1.6.2.

* gnu/packages/libreoffice.scm (libreoffice): Update to 5.1.6.2.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: ocamlmod: Enable tests.
David Craven [Wed, 4 Jan 2017 17:53:03 +0000 (18:53 +0100)]
gnu: ocamlmod: Enable tests.

Followup to 93eeadf0226078a6a9ecf57f84446044b4be249b.

* gnu/packages/ocaml.scm (ocamlmod)[arguments]: Enable tests.

Problem reported by Julien Lepiller <julien@lepiller.eu>.

7 years agognu: ocaml-ounit: Enable tests.
David Craven [Wed, 4 Jan 2017 17:53:03 +0000 (18:53 +0100)]
gnu: ocaml-ounit: Enable tests.

Followup to 7a76b4afd0ce296bb462be8cf66234e41672c285.

* gnu/packages/ocaml.scm (ocaml-ounit)[arguments]: Enable tests.

Problem reported by Julien Lepiller <julien@lepiller.eu>.

7 years agognu: aria2: Update to 1.30.0.
Efraim Flashner [Wed, 4 Jan 2017 16:11:37 +0000 (18:11 +0200)]
gnu: aria2: Update to 1.30.0.

* gnu/packages/bittorrent.scm (aria2): Update to 1.30.0.

7 years agognu: inkscape: Update to 0.92.0.
Ricardo Wurmus [Wed, 4 Jan 2017 15:38:57 +0000 (16:38 +0100)]
gnu: inkscape: Update to 0.92.0.

* gnu/packages/patches/inkscape-drop-wait-for-targets.patch: Remove it.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/inkscape.scm (inkscape): Update to 0.92.0.
[build-system]: Use "cmake-build-system".
[native-inputs]: Add glib:bin.
[arguments]: Remove obsolete arguments; disable tests.

7 years agognu: Add ocaml-cmdliner.
Julien Lepiller [Fri, 30 Dec 2016 10:44:15 +0000 (11:44 +0100)]
gnu: Add ocaml-cmdliner.

* gnu/packages/ocaml.scm (ocaml-cmdliner): New variable.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: Add ocaml-mtime.
Julien Lepiller [Fri, 30 Dec 2016 10:42:53 +0000 (11:42 +0100)]
gnu: Add ocaml-mtime.

* gnu/packages/ocaml.scm (ocaml-mtime): New variable.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: Add ocaml-rresult.
Julien Lepiller [Fri, 30 Dec 2016 10:41:50 +0000 (11:41 +0100)]
gnu: Add ocaml-rresult.

* gnu/packages/ocaml.scm (ocaml-rresult): New variable.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: Add ocaml-topkg.
Julien Lepiller [Fri, 30 Dec 2016 10:40:26 +0000 (11:40 +0100)]
gnu: Add ocaml-topkg.

* gnu/packages/ocaml.scm (ocaml-topkg): New variable.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: Add ocaml-result.
Julien Lepiller [Fri, 30 Dec 2016 10:36:41 +0000 (11:36 +0100)]
gnu: Add ocaml-result.

* gnu/packages/ocaml.scm (ocaml-result): New variable.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: Add ocaml-bitstring.
Julien Lepiller [Fri, 30 Dec 2016 10:33:36 +0000 (11:33 +0100)]
gnu: Add ocaml-bitstring.

* gnu/packages/ocaml.scm (ocaml-bitstring): New variable.
* gnu/packages/patches/ocaml-bitstring-fix-configure.patch: New file.
* gnu/local.mk (dist_patch_DATA): New patch.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: Add ocaml-bisect.
Julien Lepiller [Fri, 30 Dec 2016 10:17:17 +0000 (11:17 +0100)]
gnu: Add ocaml-bisect.

* gnu/packages/ocaml.scm (ocaml-bisect): New variable.
* gnu/packages/patches/ocaml-bisect-fix-camlp4-in-another-directory.patch:
  New file.
* gnu/local.mk (dist_patch_DATA): Add patch.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: Add ocaml-stringext.
Julien Lepiller [Fri, 30 Dec 2016 10:15:19 +0000 (11:15 +0100)]
gnu: Add ocaml-stringext.

* gnu/packages/ocaml.scm (ocaml-stringext): New variable.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: Add ocaml-qtest.
Julien Lepiller [Fri, 30 Dec 2016 10:14:13 +0000 (11:14 +0100)]
gnu: Add ocaml-qtest.

* gnu/packages/ocaml.scm (ocaml-qtest): New variable.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: Add ocaml-frontc.
Julien Lepiller [Fri, 30 Dec 2016 09:56:00 +0000 (10:56 +0100)]
gnu: Add ocaml-frontc.

* gnu/packages/ocaml.scm (ocaml-frontc): New variable.

Signed-off-by: David Craven <david@craven.ch>
7 years agograph: Add '%reverse-package-node-type'.
Ludovic Courtès [Wed, 4 Jan 2017 15:16:17 +0000 (16:16 +0100)]
graph: Add '%reverse-package-node-type'.

* guix/scripts/graph.scm (%reverse-package-node-type): New variable.
(%node-types): Add it.
* tests/graph.scm ("reverse package DAG"): New test.
* doc/guix.texi (Invoking guix refresh): Add cross-reference to
"Invoking guix graph".
(Invoking guix graph): Document 'reverse-package'.

7 years agognu: Add Guile-Bash.
Ludovic Courtès [Wed, 4 Jan 2017 14:14:33 +0000 (15:14 +0100)]
gnu: Add Guile-Bash.

* gnu/packages/guile.scm (guile-bash): New variable.

7 years agografts: Move caching to a new 'with-cache' macro.
Ludovic Courtès [Wed, 4 Jan 2017 09:43:08 +0000 (10:43 +0100)]
grafts: Move caching to a new 'with-cache' macro.

* guix/grafts.scm (with-cache): New macro.
(cumulative-grafts)[return/cache]: Remove.
Use 'with-cache' instead.

7 years agognu: Add ocaml-zarith.
Julien Lepiller [Fri, 30 Dec 2016 09:53:41 +0000 (10:53 +0100)]
gnu: Add ocaml-zarith.

* gnu/packages/ocaml.scm (ocaml-zarith): New variable.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: Add ocamlmod.
Julien Lepiller [Fri, 30 Dec 2016 09:52:48 +0000 (10:52 +0100)]
gnu: Add ocamlmod.

* gnu/packages/ocaml.scm (ocamlmod): New variable.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: Add camlzip.
Julien Lepiller [Fri, 30 Dec 2016 09:48:21 +0000 (10:48 +0100)]
gnu: Add camlzip.

* gnu/packages/ocaml.scm (camlzip): New variable.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: Add ocaml-ounit.
Julien Lepiller [Thu, 22 Dec 2016 19:19:00 +0000 (20:19 +0100)]
gnu: Add ocaml-ounit.

* gnu/packages/ocaml.scm (ocaml-ounit): New variable.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: camlp4: Install camlp4 META file.
Julien Lepiller [Thu, 22 Dec 2016 19:13:49 +0000 (20:13 +0100)]
gnu: camlp4: Install camlp4 META file.

* gnu/packages/ocaml.scm (camlp4)[arguments]: Install in OCAMLPATH and
  META file.
  (ocaml-findlib)[arguments]: Delete camlp4 META file.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: ocaml: Use a helper function to download from ocaml-forge.
Julien Lepiller [Thu, 22 Dec 2016 19:05:46 +0000 (20:05 +0100)]
gnu: ocaml: Use a helper function to download from ocaml-forge.

* gnu/packages/ocaml.scm (ocaml-forge-origin): New procedure.
  (lablgtk)[origin]: Use it.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: Add ocaml-build-system.
Julien Lepiller [Thu, 22 Dec 2016 18:56:33 +0000 (19:56 +0100)]
gnu: Add ocaml-build-system.

* guix/build/ocaml-build-system.scm: New file.
* guix/build-system/ocaml.scm: New file.
* Makefile.am (MODULES): Add them.
* gnu/packages/ocaml.scm (ocaml)[native-search-paths]: Adjuste OCAMLPATH.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: camlp4: Compile native version.
Julien Lepiller [Sat, 31 Dec 2016 11:42:10 +0000 (12:42 +0100)]
gnu: camlp4: Compile native version.

* gnu/packages/ocaml.scm (camlp4)[arguments]: Disable parallel-build.
  Change default target to "all" to compile native and byte version.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: ocaml: Fix indentation.
David Craven [Wed, 4 Jan 2017 13:20:24 +0000 (14:20 +0100)]
gnu: ocaml: Fix indentation.

* gnu/packages/ocaml.scm (ocaml): Fix indentation.

7 years agognu: ocaml: Add CAML_LD_LIBRARY_PATH search-path.
Julien Lepiller [Sun, 1 Jan 2017 15:49:35 +0000 (16:49 +0100)]
gnu: ocaml: Add CAML_LD_LIBRARY_PATH search-path.

* gnu/packages/ocaml.scm (ocaml)[native-search-paths]: Add
  CAML_LD_LIBRARY_PATH.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: ocaml: Add a .file directive to generated .s files.
Julien Lepiller [Sat, 31 Dec 2016 16:44:22 +0000 (17:44 +0100)]
gnu: ocaml: Add a .file directive to generated .s files.

* gnu/packages/ocaml.scm (ocaml)[origin]: Add patch.
* gnu/packages/patches/ocaml-Add-a-.file-directive.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add patch.

Signed-off-by: David Craven <david@craven.ch>
7 years agognu: Reorder imports in (gnu packages ocaml).
David Craven [Wed, 21 Dec 2016 15:17:50 +0000 (16:17 +0100)]
gnu: Reorder imports in (gnu packages ocaml).

* gnu/packages/ocaml.scm: Reorder imports alphabetically.

7 years agognu: Use 'license:' prefix in (gnu packages ocaml).
David Craven [Wed, 21 Dec 2016 15:05:50 +0000 (16:05 +0100)]
gnu: Use 'license:' prefix in (gnu packages ocaml).

* gnu/packages/ocaml.scm (ocaml, opam, camlp4, camlp5, hevea, coq,
  proof-general, ocaml-menhir, lablgtk, unison, ocaml-findlib)[license]:
  Add prefix.

7 years agognu: Add idris-lens.
David Craven [Mon, 2 Jan 2017 17:06:25 +0000 (18:06 +0100)]
gnu: Add idris-lens.

* gnu/packages/idris.scm (idris-lens): New variable.

7 years agognu: Add idris-bifunctors.
David Craven [Mon, 2 Jan 2017 17:05:21 +0000 (18:05 +0100)]
gnu: Add idris-bifunctors.

* gnu/packages/idris.scm (idris-bifunctors): New variable.

7 years agognu: Add idris-wl-pprint.
David Craven [Mon, 2 Jan 2017 17:03:25 +0000 (18:03 +0100)]
gnu: Add idris-wl-pprint.

* gnu/packages/idris.scm (idris-wl-pprint): New variable.

7 years agognu: Add idris-lightyear.
David Craven [Thu, 15 Dec 2016 11:35:20 +0000 (12:35 +0100)]
gnu: Add idris-lightyear.

* gnu/packages/idris.scm (idris-lightyear, idris-default-arguments):
  New variables.

7 years agognu: idris: Move to (gnu packages idris).
David Craven [Tue, 3 Jan 2017 20:23:36 +0000 (21:23 +0100)]
gnu: idris: Move to (gnu packages idris).

* gnu/packages/haskell.scm: Move 'idris' to...
* gnu/packages/idris.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add idris.scm.

7 years agognu: idris: Update to 0.99.
David Craven [Wed, 14 Dec 2016 13:42:32 +0000 (14:42 +0100)]
gnu: idris: Update to 0.99.

* gnu/packages/haskell.scm (idris): Update to 0.99.

7 years agognu: Order module imports in (gnu packages haskell) alphabetically.
David Craven [Mon, 2 Jan 2017 13:36:58 +0000 (14:36 +0100)]
gnu: Order module imports in (gnu packages haskell) alphabetically.

* gnu/packages/haskell.scm: Order module imports alphabetically.

7 years agogit-download: Add some helpers.
David Craven [Mon, 2 Jan 2017 16:49:07 +0000 (17:49 +0100)]
git-download: Add some helpers.

* guix/git-download.scm (git-version, git-file-name): New variables.

7 years agodoc: Change wording for "--with-graft".
Ricardo Wurmus [Wed, 4 Jan 2017 10:42:31 +0000 (11:42 +0100)]
doc: Change wording for "--with-graft".

* doc/guix.texi (Package Transformation Options): Change wording for
"--with-graft" documentation.

7 years agognu: ghc-language-c: Fix up.
Ricardo Wurmus [Wed, 4 Jan 2017 10:40:32 +0000 (11:40 +0100)]
gnu: ghc-language-c: Fix up.

* gnu/packages/haskell.scm (ghc-language-c): Fix up indentation and
description.

7 years agobuild-system: cargo: Use correct cargo.
David Craven [Thu, 29 Dec 2016 15:28:47 +0000 (16:28 +0100)]
build-system: cargo: Use correct cargo.

* gnu/packages/rust.scm (cargo-bootstrap): Make private.
* guix/build-system/cargo.scm (default-cargo): Use cargo.

7 years agognu: Add cargo.
David Craven [Sat, 10 Dec 2016 13:04:12 +0000 (14:04 +0100)]
gnu: Add cargo.

* gnu/packages/rust.scm (cargo): New variable.

7 years agognu: Add ghc-language-c.
Danny Milosavljevic [Tue, 3 Jan 2017 23:23:58 +0000 (00:23 +0100)]
gnu: Add ghc-language-c.

* gnu/packages/haskell.scm (ghc-language-c): New variable.

7 years agognu: mcrypt: Fix patches for CVE-2012-{4409,4527}.
Leo Famulari [Wed, 4 Jan 2017 07:37:51 +0000 (02:37 -0500)]
gnu: mcrypt: Fix patches for CVE-2012-{4409,4527}.

This fixes CVE-2012-{4409,4527}.

This is a followup to commit fd1461879c63c608617d30524183a71370a7451c.

* gnu/packages/patches/mcrypt-CVE-2012-4409.patch,
gnu/packages/patches/mcrypt-CVE-2012-4527.patch: Apply the patches to the mcrypt
source code.

7 years agognu: calibre: Update to 2.76.0.
Alex Griffin [Tue, 3 Jan 2017 16:36:52 +0000 (10:36 -0600)]
gnu: calibre: Update to 2.76.0.

* gnu/packages/ebook.scm (calibre): Update to 2.76.0.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: feh: Update to 2.18.
Alex Griffin [Tue, 3 Jan 2017 16:55:26 +0000 (10:55 -0600)]
gnu: feh: Update to 2.18.

* gnu/packages/image-viewers.scm (feh): Update to 2.18.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: bs1770gain: Update to 0.4.12.
Alex Griffin [Tue, 3 Jan 2017 16:46:59 +0000 (10:46 -0600)]
gnu: bs1770gain: Update to 0.4.12.

* gnu/packages/audio.scm (bs1770gain): Update to 0.4.12.

Signed-off-by: Leo Famulari <leo@famulari.name>