jackhill/guix/guix.git
9 years agognu: bedops: Update to 2.4.14.
Ricardo Wurmus [Wed, 17 Jun 2015 12:36:32 +0000 (14:36 +0200)]
gnu: bedops: Update to 2.4.14.

* gnu/packages/bioinformatics.scm (bedops): Update to 2.4.14.

9 years agognu: Add wayland.
宋文武 [Wed, 17 Jun 2015 10:27:37 +0000 (18:27 +0800)]
gnu: Add wayland.

* gnu/packages/freedesktop.scm (wayland): New variable.

9 years agosystem: Rename 'sudoers' into 'sudoers-file'.
Alex Kost [Mon, 15 Jun 2015 10:18:20 +0000 (13:18 +0300)]
system: Rename 'sudoers' into 'sudoers-file'.

* gnu/system.scm (<operating-system>): Rename record field.
  (etc-directory): Rename argument.
  (operating-system-etc-directory): Adjust accordingly.
* doc/guix.texi (operating-system Reference): Likewise.

9 years agognu: talloc: Change source URI to use https.
Mark H Weaver [Tue, 16 Jun 2015 18:20:06 +0000 (14:20 -0400)]
gnu: talloc: Change source URI to use https.

* gnu/packages/samba.scm (talloc)[source]: Change URI to use https.

9 years agognu: qt: Add more inputs.
宋文武 [Tue, 16 Jun 2015 15:27:10 +0000 (23:27 +0800)]
gnu: qt: Add more inputs.

* gnu/packages/qt.scm (qt)[inputs]: Add cups, libmng, postgresql and unixodbc.

9 years agognu: Add libmng.
宋文武 [Tue, 16 Jun 2015 15:02:45 +0000 (23:02 +0800)]
gnu: Add libmng.

* gnu/packages/image.scm (libmng): New variable.

9 years agognu: qt: Update to 5.4.2.
宋文武 [Sun, 14 Jun 2015 08:50:55 +0000 (16:50 +0800)]
gnu: qt: Update to 5.4.2.

* gnu/packages/qt.scm (qt): Update to 5.4.2.

9 years agognu: qt-4: Update to 4.8.7.
宋文武 [Sun, 14 Jun 2015 06:40:07 +0000 (14:40 +0800)]
gnu: qt-4: Update to 4.8.7.

* gnu/packages/qt.scm (qt-4): Update to 4.8.7.

9 years agognu: talloc: Update to 2.1.2.
宋文武 [Fri, 12 Jun 2015 04:01:26 +0000 (12:01 +0800)]
gnu: talloc: Update to 2.1.2.

* gnu/packages/samba.scm (talloc): Update to 2.1.2.

9 years agognu: calibre: Update to 2.30.0.
Andreas Enge [Tue, 16 Jun 2015 10:30:26 +0000 (12:30 +0200)]
gnu: calibre: Update to 2.30.0.

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

9 years agognu-maintenance: Use 'home-page' as an additional hint of "GNUness".
Ludovic Courtès [Tue, 16 Jun 2015 08:28:19 +0000 (10:28 +0200)]
gnu-maintenance: Use 'home-page' as an additional hint of "GNUness".

Reported by Rastus_Vernon on IRC.
Fixes 'gnu-package?' for GNUcash.

* guix/gnu-maintenance.scm (gnu-package?)[gnu-home-page?]: New procedure.  Use
  it to determine whether PACKAGE is GNU.

9 years agobuild: Don't build the guix-daemon man page when --disable-daemon.
Ludovic Courtès [Tue, 16 Jun 2015 08:04:35 +0000 (10:04 +0200)]
build: Don't build the guix-daemon man page when --disable-daemon.

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

* doc.am (dist_man1_MANS): Conditionalize doc/guix-daemon.1 on BUILD_DAEMON.

9 years agognu: qemu: Add fixes for CVE-2015-{4037,4103,4104,4105,4106}.
Mark H Weaver [Tue, 16 Jun 2015 03:57:14 +0000 (23:57 -0400)]
gnu: qemu: Add fixes for CVE-2015-{4037,4103,4104,4105,4106}.

* gnu/packages/patches/qemu-CVE-2015-4037.patch,
  gnu/packages/patches/qemu-CVE-2015-4103.patch,
  gnu/packages/patches/qemu-CVE-2015-4104.patch,
  gnu/packages/patches/qemu-CVE-2015-4105.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt1.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt2.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt3.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt4.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt5.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt6.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt7.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt8.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/qemu.scm (qemu-headless)[source]: Add patches.

9 years agognu: git: Update to 2.4.3.
Mark H Weaver [Tue, 16 Jun 2015 04:20:58 +0000 (00:20 -0400)]
gnu: git: Update to 2.4.3.

* gnu/packages/version-control.scm (git, git-manpages): Update to 2.4.3.

9 years agognu: ffmpeg: Update to 2.7.
Mark H Weaver [Tue, 16 Jun 2015 01:07:21 +0000 (21:07 -0400)]
gnu: ffmpeg: Update to 2.7.

* gnu/packages/video.scm (ffmpeg): Update to 2.7.
  [native-inputs]: Add texinfo.

9 years agognu: Add ruby-multipart-post.
David Thompson [Sat, 13 Jun 2015 12:06:12 +0000 (08:06 -0400)]
gnu: Add ruby-multipart-post.

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

9 years agognu: Add ruby-slop.
David Thompson [Sat, 13 Jun 2015 11:53:23 +0000 (07:53 -0400)]
gnu: Add ruby-slop.

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

9 years agognu: Add ruby-git.
David Thompson [Sat, 13 Jun 2015 11:46:02 +0000 (07:46 -0400)]
gnu: Add ruby-git.

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

9 years agognu: Add ruby-minitest-bacon.
David Thompson [Sat, 13 Jun 2015 01:07:36 +0000 (21:07 -0400)]
gnu: Add ruby-minitest-bacon.

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

9 years agognu: Add ruby-minitest-sprint.
David Thompson [Sat, 13 Jun 2015 01:07:13 +0000 (21:07 -0400)]
gnu: Add ruby-minitest-sprint.

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

9 years agognu: Add ruby-minitest.
David Thompson [Sat, 13 Jun 2015 01:06:50 +0000 (21:06 -0400)]
gnu: Add ruby-minitest.

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

9 years agognu: Add ruby-daemons.
David Thompson [Fri, 5 Jun 2015 23:29:26 +0000 (19:29 -0400)]
gnu: Add ruby-daemons.

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

9 years agognu: Add ruby-net-http-persistent.
David Thompson [Fri, 5 Jun 2015 20:50:24 +0000 (16:50 -0400)]
gnu: Add ruby-net-http-persistent.

* gnu/packages/ruby.scm (ruby-net-http-persistent): New variable.

9 years agognu: Add ruby-connection-pool.
David Thompson [Fri, 5 Jun 2015 20:35:21 +0000 (16:35 -0400)]
gnu: Add ruby-connection-pool.

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

9 years agognu: Add ruby-arel.
David Thompson [Fri, 5 Jun 2015 16:06:58 +0000 (12:06 -0400)]
gnu: Add ruby-arel.

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

9 years agognu: Add ruby-bacon.
David Thompson [Fri, 5 Jun 2015 12:48:02 +0000 (08:48 -0400)]
gnu: Add ruby-bacon.

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

9 years agognu: Rename (gnu packages dwm) to (gnu packages suckless).
amz3 [Sat, 13 Jun 2015 19:10:45 +0000 (21:10 +0200)]
gnu: Rename (gnu packages dwm) to (gnu packages suckless).

* gnu/packages/dwm.scm: Rename this ...
* gnu/packages/suckless.scm: ... to this.
* gnu-system.am (GNU_SYSTEM_MODULES): Change dwm.scm to suckless.scm.

9 years agognu: Add st.
amz3 [Sun, 7 Jun 2015 17:04:28 +0000 (19:04 +0200)]
gnu: Add st.

* gnu/packages/dwm.scm (st): New variable.

9 years agoservices: Remove lsh service from %DESKTOP-SERVICES.
Ludovic Courtès [Mon, 15 Jun 2015 13:03:55 +0000 (15:03 +0200)]
services: Remove lsh service from %DESKTOP-SERVICES.

Suggested by Mark H Weaver and others
at <http://lists.gnu.org/archive/html/guix-devel/2015-06/msg00227.html>.

* gnu/services/desktop.scm (%desktop-services): Remove call to 'lsh-service'.
* doc/guix.texi (Desktop Services): Adjust accordingly.

9 years agognu: Add haskell-mode.
Federico Beffa [Fri, 12 Jun 2015 16:58:35 +0000 (18:58 +0200)]
gnu: Add haskell-mode.

* gnu/packages/emacs.scm (haskell-mode): New variable.

9 years agognu: python-scikit-learn: Update to 0.16.1.
Ricardo Wurmus [Fri, 12 Jun 2015 13:39:40 +0000 (15:39 +0200)]
gnu: python-scikit-learn: Update to 0.16.1.

* gnu/packages/python.scm (python-scikit-learn): Update to 0.16.1.

9 years agognu: orfm: Update to 0.4.1.
Ricardo Wurmus [Fri, 12 Jun 2015 13:08:21 +0000 (15:08 +0200)]
gnu: orfm: Update to 0.4.1.

* gnu/packages/bioinformatics.scm (orfm): Update to 0.4.1.

9 years agognu: python-scikit-learn: Use OpenBLAS instead of ATLAS.
Ricardo Wurmus [Fri, 12 Jun 2015 09:34:39 +0000 (11:34 +0200)]
gnu: python-scikit-learn: Use OpenBLAS instead of ATLAS.

* gnu/packages/python.scm (python-scikit-learn)[inputs]: Replace "atlas" with
  "openblas".
* gnu/packages/python.scm (python-scikit-learn)[arguments]: Remove build phase
  'set-environment-variables, which is only needed when ATLAS is used.

9 years agognu: python-scipy: Build with OpenBLAS and lapack.
Ricardo Wurmus [Fri, 12 Jun 2015 09:30:51 +0000 (11:30 +0200)]
gnu: python-scipy: Build with OpenBLAS and lapack.

* gnu/packages/python.scm (python-scipy)[inputs]: Remove "atlas", add "lapack"
  and "openblas".
* gnu/packages/python.scm (python-scipy)[arguments]: Replace phase
  "set-environment-variables" with "configure-openblas".

9 years agognu: python-numpy-bootstrap: Add lapack to inputs.
Ricardo Wurmus [Fri, 12 Jun 2015 08:48:58 +0000 (10:48 +0200)]
gnu: python-numpy-bootstrap: Add lapack to inputs.

* gnu/packages/python.scm (python-numpy-bootstrap)[inputs]: Add lapack to
  inputs, because OpenBLAS does not include lapack functions.

9 years agognu: lv2: Update to 1.12.0.
Ricardo Wurmus [Sun, 14 Jun 2015 08:04:50 +0000 (10:04 +0200)]
gnu: lv2: Update to 1.12.0.

* gnu/packages/audio.scm (lv2): Update to 1.12.0.

9 years agognu: screen: Update to 4.3.0.
Mark H Weaver [Sun, 14 Jun 2015 16:18:57 +0000 (12:18 -0400)]
gnu: screen: Update to 4.3.0.

* gnu/packages/screen.scm (screen): Update to 4.3.0.

9 years agognu: openssl: Update to 1.0.2b.
Mark H Weaver [Fri, 12 Jun 2015 05:24:58 +0000 (01:24 -0400)]
gnu: openssl: Update to 1.0.2b.

* gnu/packages/openssl.scm (openssl): Update to 1.0.2b.

9 years agognu: perl-net-ssleay: Disable test that fails with openssl-1.0.2b.
Mark H Weaver [Fri, 12 Jun 2015 07:40:12 +0000 (03:40 -0400)]
gnu: perl-net-ssleay: Disable test that fails with openssl-1.0.2b.

* gnu/packages/patches/perl-net-ssleay-disable-ede-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/openssl.scm (perl-net-ssleay): Add patch.

9 years agognu: python: Disable ssl test that fails with openssl-1.0.2b.
Mark H Weaver [Fri, 12 Jun 2015 07:24:12 +0000 (03:24 -0400)]
gnu: python: Disable ssl test that fails with openssl-1.0.2b.

* gnu/packages/patches/python-disable-ssl-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python): Add patch.

9 years agodoc: Move most 'HACKING' informations into the manual.
Mathieu Lirzin [Wed, 10 Jun 2015 11:39:54 +0000 (13:39 +0200)]
doc: Move most 'HACKING' informations into the manual.

* HACKING (Contributing): New section.
  (Building from Git, The Perfect Setup, Coding Style, Submitting Patches):
  Move to ...
* doc/guix.texi (Running Guix Before It Is Installed): Likewise.
* doc/contributing.texi: ... here. New file.
* doc.am (EXTRA_DIST): Use it.
* README (Installation): Adapt to it.
* configure.ac (DOT): Likewise.

9 years agognu: guix: Wrap 'guix' so GUILE_LOAD_PATH includes the dependencies.
Ludovic Courtès [Sat, 13 Jun 2015 17:31:24 +0000 (19:31 +0200)]
gnu: guix: Wrap 'guix' so GUILE_LOAD_PATH includes the dependencies.

* gnu/packages/package-management.scm (guix-0.8.2)[arguments]: Add
  'wrap-program' phase.

9 years agognu: guix: Use 'modify-phases'.
Ludovic Courtès [Sat, 13 Jun 2015 16:32:35 +0000 (18:32 +0200)]
gnu: guix: Use 'modify-phases'.

* gnu/packages/package-management.scm (guix-0.8.2)[arguments]: Use
  'modify-phases' instead of 'alist-cons-before'.

9 years agognu: Add hydra.
Eric Bavier [Sun, 19 Apr 2015 17:59:37 +0000 (12:59 -0500)]
gnu: Add hydra.

* gnu/packages/ci.scm: New file.
* gnu/packages/patches/hydra-automake-1.15.patch,
  gnu/packages/patches/hydra-disable-darcs-test.patch: New files.
* gnu-system.am (GNU_SYSTEM_MODULES): Add file.
  (dist_patch_DATA): Add patches.

9 years agognu: Add Catalyst-Authentication-Store-DBIx-Class.
Eric Bavier [Sat, 18 Apr 2015 04:20:51 +0000 (23:20 -0500)]
gnu: Add Catalyst-Authentication-Store-DBIx-Class.

* gnu/packages/web.scm (perl-catalyst-authentication-store-dbix-class):
  New variable.

9 years agognu: Add Catalyst-Plugin-Authorization-Roles.
Eric Bavier [Sun, 19 Apr 2015 14:55:28 +0000 (09:55 -0500)]
gnu: Add Catalyst-Plugin-Authorization-Roles.

* gnu/packages/web.scm (perl-catalyst-plugin-authorization-roles): New
  variable.

9 years agognu: Add Set-Object.
Eric Bavier [Sun, 19 Apr 2015 14:54:23 +0000 (09:54 -0500)]
gnu: Add Set-Object.

* gnu/packages/perl.scm (perl-set-object): New variable.

9 years agognu: Add powertabeditor.
Ricardo Wurmus [Thu, 4 Jun 2015 08:01:11 +0000 (10:01 +0200)]
gnu: Add powertabeditor.

* gnu/packages/music.scm (powertabeditor): New variable.

9 years agognu: catch-framework: Update to 1.1.3.
Ricardo Wurmus [Wed, 3 Jun 2015 20:53:56 +0000 (22:53 +0200)]
gnu: catch-framework: Update to 1.1.3.

* gnu/packages/check.scm (catch-framework): Update to 1.1.3.

9 years agognu: Add rtmidi.
Ricardo Wurmus [Thu, 28 May 2015 07:44:30 +0000 (09:44 +0200)]
gnu: Add rtmidi.

* gnu/packages/audio.scm (rtmidi): New variable.

9 years agognu: Add pugixml.
Ricardo Wurmus [Thu, 28 May 2015 07:43:53 +0000 (09:43 +0200)]
gnu: Add pugixml.

* gnu/packages/xml.scm (pugixml): New variable.

9 years agognu: Add RapidJSON.
Ricardo Wurmus [Mon, 25 May 2015 20:14:39 +0000 (22:14 +0200)]
gnu: Add RapidJSON.

* gnu/packages/web.scm (rapidjson): New variable.

9 years agognu: Add withershins.
Ricardo Wurmus [Mon, 25 May 2015 20:13:27 +0000 (22:13 +0200)]
gnu: Add withershins.

* gnu/packages/code.scm (withershins): New variable.

9 years agoinstall: Use udev rules for device-mapper.
Ludovic Courtès [Fri, 12 Jun 2015 17:28:14 +0000 (19:28 +0200)]
install: Use udev rules for device-mapper.

Fixes <http://bugs.gnu.org/20791>.
Reported by Benz Schenk <benz.schenk@uzh.ch>.

* gnu/system/install.scm (installation-services): Add #:rules argument for
  'udev-service'.

9 years agognu: Add OrfM.
Ben Woodcroft [Tue, 9 Jun 2015 14:10:51 +0000 (16:10 +0200)]
gnu: Add OrfM.

* gnu/packages/bioinformatics.scm (orfm): New variable.

Signed-off-by: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
9 years agognu: icedtea7: Bootstrap with GCJ.
Ricardo Wurmus [Tue, 9 Jun 2015 10:53:23 +0000 (12:53 +0200)]
gnu: icedtea7: Bootstrap with GCJ.

* gnu/packages/java.scm (icedtea7): Bootstrap with GCJ rather than compile
  with IcedTea6.

9 years agognu: Add Couger.
Ricardo Wurmus [Wed, 3 Jun 2015 10:56:16 +0000 (12:56 +0200)]
gnu: Add Couger.

* gnu/packages/bioinformatics.scm (couger): New variable.

9 years agognu: Add randomjungle.
Ricardo Wurmus [Tue, 2 Jun 2015 13:47:22 +0000 (15:47 +0200)]
gnu: Add randomjungle.

* gnu/packages/machine-learning.scm (randomjungle): New variable.

9 years agognu: Add python-libsvm.
Ricardo Wurmus [Tue, 2 Jun 2015 13:10:37 +0000 (15:10 +0200)]
gnu: Add python-libsvm.

* gnu/packages/machine-learning.scm (python-libsvm): New variable.

9 years agognu: Add libsvm.
Ricardo Wurmus [Thu, 28 May 2015 13:53:14 +0000 (15:53 +0200)]
gnu: Add libsvm.

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

9 years agognu: ngs-sdk: Update to version 1.1.1.
Ricardo Wurmus [Mon, 1 Jun 2015 10:09:44 +0000 (12:09 +0200)]
gnu: ngs-sdk: Update to version 1.1.1.

* gnu/packages/bioinformatics.scm (ngs-sdk): Update to version 1.1.1.

9 years agognu: ghc: Patch runtime references to /bin/sh.
Eric Bavier [Thu, 11 Jun 2015 22:51:47 +0000 (17:51 -0500)]
gnu: ghc: Patch runtime references to /bin/sh.

* gnu/packages/haskell.scm (ghc)[arguments]: Rename
  'unpack-and-fix-testsuite' phase to 'unpack-testsuite-and-fix-bins'.
  Patch source files that reference /bin/sh.

9 years agobuild-system/haskell: install config for any package that creates it.
Eric Bavier [Sat, 6 Jun 2015 12:28:57 +0000 (07:28 -0500)]
build-system/haskell: install config for any package that creates it.

A Cabal package is allowed to declare an "empty" library, in an
otherwise executable-only package, for the purpose of allowing Cabal
to use it as a dependency for other packages.  See e.g. hspec-discover.

* guix/build/haskell-build-system.scm (register): Unconditionally call
  setup script with "register", and install any config file generated.

9 years agoprofiles: Process ghc conf files only once.
Eric Bavier [Sat, 6 Jun 2015 11:43:19 +0000 (06:43 -0500)]
profiles: Process ghc conf files only once.

A package may be listed in the manifest inputs multiple times.  Avoid
copying ghc *.conf files twice by deleting duplicates.

* guix/profiles.scm (ghc-package-cache-file)[conf-files]: Delete
  duplicate manifest inputs before copying conf files.

9 years agoprofiles: Search for ghc conf files only if package db exists.
Eric Bavier [Sat, 6 Jun 2015 11:38:58 +0000 (06:38 -0500)]
profiles: Search for ghc conf files only if package db exists.

This avoids having 'find-files' report warnings about searching in
non-existent directories.

* guix/profiles.scm (ghc-package-cache-file)[conf-files]: Only search
  for *.conf files if the search directory exists.

9 years agoRevert "gnu: openssl: Update to 1.0.2b."
Mark H Weaver [Fri, 12 Jun 2015 05:46:03 +0000 (01:46 -0400)]
Revert "gnu: openssl: Update to 1.0.2b."

This reverts commit 4f467e33de0b64b1afd935d14ec6a4839e03bdfc.

9 years agognu: openssl: Update to 1.0.2b.
Mark H Weaver [Fri, 12 Jun 2015 05:24:58 +0000 (01:24 -0400)]
gnu: openssl: Update to 1.0.2b.

* gnu/packages/openssl.scm (openssl): Update to 1.0.2b.

9 years agotests: Avoid sequence of zero expressions.
Ludovic Courtès [Thu, 11 Jun 2015 21:28:31 +0000 (23:28 +0200)]
tests: Avoid sequence of zero expressions.

* tests/records.scm ("define-record-type* with let* behavior"): Add missing
  body for clause.

9 years agorecords: Remove unnecessary 'begin'.
Ludovic Courtès [Thu, 11 Jun 2015 21:28:13 +0000 (23:28 +0200)]
records: Remove unnecessary 'begin'.

* guix/records.scm (define-record-type*): Remove unnecessary 'begin'.

9 years agotests: Write the random seed to the error port.
Ludovic Courtès [Thu, 11 Jun 2015 21:17:16 +0000 (23:17 +0200)]
tests: Write the random seed to the error port.

* guix/tests.scm (random-seed): New procedure.
  (%seed): Use it, and write the random seed to the error port.

9 years agognu: guix: Update snapshot.
Ludovic Courtès [Thu, 11 Jun 2015 21:10:26 +0000 (23:10 +0200)]
gnu: guix: Update snapshot.

* gnu/packages/package-management.scm (guix-devel): Update to a43b55f.
  [source]: Add 'file-name' field.
  [native-inputs]: Add HELP2MAN.

9 years agopackages: Make 'location' field innate.
Ludovic Courtès [Thu, 11 Jun 2015 21:06:06 +0000 (23:06 +0200)]
packages: Make 'location' field innate.

* guix/packages.scm (<package>)[location]: Add 'innate' property.
* guix/build-system/gnu.scm (static-package): Remove 'loc' parameter and
  'location' field.
* gnu/packages/autotools.scm (autoconf-wrapper): Remove 'location' field.
* gnu/packages/commencement.scm (gnu-make-boot0, diffutils-boot0, gcc-final):
  Likewise.
* gnu/packages/cross-base.scm (cross): Likewise.
* gnu/packages/emacs.scm (emacs-no-x, emacs-no-x-toolkit): Likewise.
* gnu/packages/make-bootstrap.scm (tarball-package): Likewise.
* gnu/packages/maths.scm (petsc-complex): Likewise.

9 years agorecords: Add support for 'innate' fields.
Ludovic Courtès [Thu, 11 Jun 2015 20:57:33 +0000 (22:57 +0200)]
records: Add support for 'innate' fields.

* guix/records.scm (make-syntactic-constructor): Add #:innate parameter.
  [record-inheritance]: Honor it.
  [innate-field?]: New procedure.
  (define-record-type*)[innate-field?]: New procedure.
  Pass #:innate to 'make-syntactic-constructor'.
* tests/records.scm ("define-record-type* & inherit & innate",
  "define-record-type* & thunked & innate"): New tests.

9 years agorecords: "options" → "properties".
Ludovic Courtès [Thu, 11 Jun 2015 20:26:18 +0000 (22:26 +0200)]
records: "options" → "properties".

* guix/records.scm (define-record-type*): Change "options" to "properties".

9 years agorecords: Factorize field property predicates.
Ludovic Courtès [Thu, 11 Jun 2015 20:22:05 +0000 (22:22 +0200)]
records: Factorize field property predicates.

* guix/records.scm (define-field-property-predicate): New macro.
  (define-record-type*)[thunked-field?, delayed-field?]: Use it.

9 years agorecords: Separate default-value handling.
Ludovic Courtès [Thu, 11 Jun 2015 19:49:02 +0000 (21:49 +0200)]
records: Separate default-value handling.

* guix/records.scm (make-syntactic-constructor)[default-values]: New
  variable.
  [field-default-value]: New procedure.
  Use them.

9 years agorecords: Replace 'eval-when' with a proper 'define-syntax'.
Ludovic Courtès [Thu, 11 Jun 2015 19:37:49 +0000 (21:37 +0200)]
records: Replace 'eval-when' with a proper 'define-syntax'.

* guix/records.scm (make-syntactic-constructor): Remove enclosing
  'eval-when'.  Turn into a 'syntax-rules' macro.

9 years agognu: gnupg: Update to 2.1.5.
Mark H Weaver [Thu, 11 Jun 2015 18:37:18 +0000 (14:37 -0400)]
gnu: gnupg: Update to 2.1.5.

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

9 years agognu: Add librest.
宋文武 [Thu, 11 Jun 2015 15:29:19 +0000 (23:29 +0800)]
gnu: Add librest.

* gnu/packages/gnome.scm (librest): New variable.

9 years agognu: inetutils: Update to 1.9.4.
Mark H Weaver [Thu, 11 Jun 2015 14:07:34 +0000 (10:07 -0400)]
gnu: inetutils: Update to 1.9.4.

* gnu/packages/admin.scm (inetutils): Update to 1.9.4.

9 years agoguix build: Allow directories to be passed to --with-source.
Ludovic Courtès [Thu, 11 Jun 2015 09:19:12 +0000 (11:19 +0200)]
guix build: Allow directories to be passed to --with-source.

* guix/scripts/build.scm (package-with-source)[tarball-base-name]: Gracefully
  handle file names that lack an extension.
  Pass #:recursive? #t to 'download-to-store'.
* guix/download.scm (download-to-store): Add #:recursive? parameter and pass
  it to 'add-to-store'.
* doc/guix.texi (Invoking guix build): Add an example of --with-source with a
  directory.

9 years agoenvironment: Connect to the store after the command line has been parsed.
Ludovic Courtès [Thu, 11 Jun 2015 09:09:12 +0000 (11:09 +0200)]
environment: Connect to the store after the command line has been parsed.

* guix/scripts/environment.scm (guix-environment): Call 'parse-command-line'
  outside of 'with-store'.  This allows things like --help to run even if the
  daemon is not running.

9 years agobuild: Build man pages after the corresponding code.
Ludovic Courtès [Wed, 10 Jun 2015 16:12:18 +0000 (18:12 +0200)]
build: Build man pages after the corresponding code.

* doc.am (doc/guix.1): Remove extraneous $(top_builddir)/.
  (doc/guix-daemon.1): Fix dependency.
  (doc/guix-$(1).1): Remove extraneous $(top_builddir)/.  Depend on the .go
  files instead of the .scm file.  Add dependency on scripts/guix.

9 years agodaemon: Internationalize guix-daemon.
Ludovic Courtès [Wed, 10 Jun 2015 15:48:16 +0000 (17:48 +0200)]
daemon: Internationalize guix-daemon.

* nix/nix-daemon/guix-daemon.cc (n_, _): New macros.
  (guix_textdomain): New variable.
  (doc): Use 'n_'.
  (options): Likewise, and lowercase messages.
  (argp): Add initializer for 'argp_domain' field.
  (parse_opt): Use '_' for messages.
  (main): Likewise, and add calls to 'setlocale', 'bindtextdomain', and
  'textdomain'.
* daemon.am (guix_daemon_CPPFLAGS): Add -DLOCALEDIR.
* po/guix/Makevars (XGETTEXT_OPTIONS): Remove '--language' option.  Add
  '--keyword=n_'.
* po/guix/POTFILES.in: Add guix-daemon.cc.

9 years agognu: qemu: Add fix for CVE-2015-3209.
Mark H Weaver [Wed, 10 Jun 2015 19:11:48 +0000 (15:11 -0400)]
gnu: qemu: Add fix for CVE-2015-3209.

* gnu/packages/patches/qemu-CVE-2015-3209.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/qemu.scm (qemu): Add patch.

9 years agognu: cups: Update to 2.0.3.
Mark H Weaver [Wed, 10 Jun 2015 18:50:01 +0000 (14:50 -0400)]
gnu: cups: Update to 2.0.3.

* gnu/packages/cups.scm (cups): Update to 2.0.3.

9 years agognu: linux-libre: Update to 4.0.5.
Mark H Weaver [Wed, 10 Jun 2015 15:36:53 +0000 (11:36 -0400)]
gnu: linux-libre: Update to 4.0.5.

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

9 years agoguix-register: Use C++11 range 'for' loop instead of 'foreach' macro.
Ludovic Courtès [Wed, 10 Jun 2015 11:55:23 +0000 (13:55 +0200)]
guix-register: Use C++11 range 'for' loop instead of 'foreach' macro.

* nix/guix-register/guix-register.cc (register_validity): Use C++11 range
  'for' loop instead of 'foreach'.

9 years agoguix-register: Perform deduplication even when --prefix is passed.
Ludovic Courtès [Wed, 10 Jun 2015 11:47:58 +0000 (13:47 +0200)]
guix-register: Perform deduplication even when --prefix is passed.

Fixes <http://bugs.gnu.org/19044>.

* nix/guix-register/guix-register.cc (register_validity): Change the (optimize
  && prefix.empty ()) condition to just (optimize).  Change settings.nixStore
  around the loop.  Prepend PREFIX to the argument passed to 'optimisePath'.
* tests/guix-register.sh: Use 'guix-register -p' with duplicate files, and
  make sure they are deduplicated on the target.  Adjust existing tests.

9 years agotests: Make the daemon socket explicit in guix-register test.
Ludovic Courtès [Wed, 10 Jun 2015 09:11:52 +0000 (11:11 +0200)]
tests: Make the daemon socket explicit in guix-register test.

* tests/guix-register.sh: Define GUIX_DAEMON_SOCKET.  Pass it explicitly to
  'open-connection'.

9 years agoguix system: init: Overwrite the items in the target store.
Ludovic Courtès [Wed, 10 Jun 2015 08:31:47 +0000 (10:31 +0200)]
guix system: init: Overwrite the items in the target store.

Fixes <http://bugs.gnu.org/20722>.
Reported by Eric Bavier <ericbavier@openmailbox.org>.

* guix/scripts/system.scm (copy-item): Check whether DEST exists and remove it
  if it does.

9 years agoinstall: Really overwrite TARGET/var/guix/profiles/system-1-link.
Ludovic Courtès [Wed, 10 Jun 2015 08:25:56 +0000 (10:25 +0200)]
install: Really overwrite TARGET/var/guix/profiles/system-1-link.

* gnu/build/install.scm (populate-root-file-system): Delete system-1-link
  under TARGET, not under /.  Use 'catch' and check for EEXIST instead of
  (false-if-exception (delete-file ...)).

9 years agoui: Replace the global 'symlink' binding.
Ludovic Courtès [Wed, 10 Jun 2015 08:25:16 +0000 (10:25 +0200)]
ui: Replace the global 'symlink' binding.

* guix/ui.scm (symlink): Set! the global symlink.

9 years agodoc: Add 'help2man' to HACKING.
Alex Kost [Mon, 8 Jun 2015 09:12:37 +0000 (12:12 +0300)]
doc: Add 'help2man' to HACKING.

* HACKING: Mention 'help2man'.

9 years agognu: mysql: Update to 5.6.25.
宋文武 [Tue, 9 Jun 2015 10:07:46 +0000 (18:07 +0800)]
gnu: mysql: Update to 5.6.25.

* gnu/packages/databases.scm (mysql): Update to 5.6.25.
  [source]: Use 'version-major+minor'.
  [build-system]: Change to cmake-build-system.  Adjust arguments
  accordingly.
  [inputs]: Add libaio.  Remove procps.  Move perl to 'native-inputs'.

9 years agoimport: hackage: Refactor parsing code and add new options.
Federico Beffa [Sun, 26 Apr 2015 09:22:29 +0000 (11:22 +0200)]
import: hackage: Refactor parsing code and add new options.

* guix/import/cabal.scm: New file.
* guix/import/hackage.scm: Update to use the new Cabal parsing module.
* tests/hackage.scm: Update tests.
* guix/scripts/import/hackage.scm: Add new '--cabal-environment' and '--stdin'
  options.
* doc/guix.texi: ... and document them.
* Makefile.am (MODULES): Add 'guix/import/cabal.scm',
  'guix/import/hackage.scm' and 'guix/scripts/import/hackage.scm'.
  (SCM_TESTS): Add 'tests/hackage.scm'.

9 years agognu: Add proof-general.
Mark H Weaver [Mon, 8 Jun 2015 09:05:23 +0000 (05:05 -0400)]
gnu: Add proof-general.

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

9 years agodoc: Suggest unpacking the binary tarball in /tmp.
Ludovic Courtès [Mon, 8 Jun 2015 21:31:02 +0000 (23:31 +0200)]
doc: Suggest unpacking the binary tarball in /tmp.

Suggested by Thomas Schwinge <thomas@codesourcery.com> and others.

* doc/guix.texi (Binary Installation): Suggest unpacking in /tmp rather than /.

9 years agoinstall: Omit /root from the binary tarball.
Ludovic Courtès [Mon, 8 Jun 2015 21:25:51 +0000 (23:25 +0200)]
install: Omit /root from the binary tarball.

Suggested by Thomas Schwinge <thomas@codesourcery.com>.

* gnu/system/install.scm (self-contained-tarball): Remove
  "/root/.guix-profile" from the 'tar' arguments.
* doc/guix.texi (Binary Installation): Add a step to create
  ~root/.guix-profile.

9 years agomonads: Allow n-ary '>>=' expressions.
Ludovic Courtès [Mon, 8 Jun 2015 20:49:50 +0000 (22:49 +0200)]
monads: Allow n-ary '>>=' expressions.

Suggested by Federico Beffa <beffa@fbengineering.ch>.

* guix/monads.scm (bind-syntax): New macro.
  (with-monad): Use it instead of 'identifier-syntax'.
* tests/monads.scm (">>= with more than two arguments"): New test.
* doc/guix.texi (The Store Monad): Explain that there can be several MPROC.
  Add an example.