jackhill/guix/guix.git
7 years agognu: python-2.7: Enable UCS-4 Unicode encoding.
Danny Milosavljevic [Sun, 22 Jan 2017 23:31:59 +0000 (00:31 +0100)]
gnu: python-2.7: Enable UCS-4 Unicode encoding.

* gnu/packages/python.scm (python-2.7)[arguments]: Modify.

7 years agognu: libgcrypt: Update to 1.7.6.
Leo Famulari [Tue, 24 Jan 2017 21:05:30 +0000 (16:05 -0500)]
gnu: libgcrypt: Update to 1.7.6.

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

7 years agoMerge branch 'master' into core-updates
Ludovic Courtès [Mon, 23 Jan 2017 21:33:10 +0000 (22:33 +0100)]
Merge branch 'master' into core-updates

7 years agosearch-paths: Allow specs with #f as their separator.
Ludovic Courtès [Sun, 22 Jan 2017 21:42:57 +0000 (22:42 +0100)]
search-paths: Allow specs with #f as their separator.

This adds support for single-entry search paths.
Fixes <http://bugs.gnu.org/25422>.
Reported by Leo Famulari <leo@famulari.name>.

* guix/search-paths.scm (<search-path-specification>)[separator]:
Document as string or #f.
(evaluate-search-paths): Add case for SEPARATOR as #f.
(environment-variable-definition): Handle SEPARATOR being #f.
* guix/build/utils.scm (list->search-path-as-string): Add case for
SEPARATOR as #f.
(search-path-as-string->list): Likewise.
* guix/build/profiles.scm (abstract-profile): Likewise.
* tests/search-paths.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* tests/packages.scm ("--search-paths with single-item search path"):
New test.
* gnu/packages/version-control.scm (git)[native-search-paths](separator):
New field.

7 years agoguix package: Honor the order of profiles when -p appears multiple times.
Ludovic Courtès [Sun, 22 Jan 2017 21:25:26 +0000 (22:25 +0100)]
guix package: Honor the order of profiles when -p appears multiple times.

* guix/scripts/package.scm (process-query): Reverse the order of
PROFILES.
* tests/guix-package-net.sh: Test it with '--search-paths'.

7 years agognu: openssl: Don't replace 'sh' reference with 'bash'.
Leo Famulari [Mon, 23 Jan 2017 20:56:57 +0000 (15:56 -0500)]
gnu: openssl: Don't replace 'sh' reference with 'bash'.

* gnu/packages/tls.scm (openssl)[arguments]: Use /bin/sh instead of /bin/bash in
'patch-tests' phase.

7 years agognu: mit-krb5: Don't replace 'sh' reference with 'bash'.
Leo Famulari [Mon, 23 Jan 2017 20:55:45 +0000 (15:55 -0500)]
gnu: mit-krb5: Don't replace 'sh' reference with 'bash'.

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

7 years agognu: ghostscript: Don't replace 'sh' reference with 'bash'.
Leo Famulari [Mon, 23 Jan 2017 20:52:06 +0000 (15:52 -0500)]
gnu: ghostscript: Don't replace 'sh' reference with 'bash'.

* gnu/packages/ghostscript.scm (ghostscript)[arguments]: Use /bin/sh instead of
/bin/bash in 'patch-config-files' phase.

7 years agognu: attr: Don't replace 'sh' reference with 'bash'.
Leo Famulari [Mon, 23 Jan 2017 20:42:34 +0000 (15:42 -0500)]
gnu: attr: Don't replace 'sh' reference with 'bash'.

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

7 years agognu: lcms: Fix an out-of-bounds read.
Leo Famulari [Mon, 23 Jan 2017 06:31:24 +0000 (01:31 -0500)]
gnu: lcms: Fix an out-of-bounds read.

* gnu/packages/patches/lcms-fix-out-of-bounds-read.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ghostscript.scm (lcms)[replacement]: New field.
[properties]: Specify the 'cpe-name'.
(lcms/fixed): New variable.

7 years agognu: menu-cache: Update to 1.0.2.
ng0 [Mon, 23 Jan 2017 18:55:51 +0000 (18:55 +0000)]
gnu: menu-cache: Update to 1.0.2.

* gnu/packages/lxde.scm (menu-cache): Update to 1.0.2.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: pcmanfm, libfm: Update to 1.2.5.
ng0 [Mon, 23 Jan 2017 18:55:50 +0000 (18:55 +0000)]
gnu: pcmanfm, libfm: Update to 1.2.5.

* gnu/packages/lxde.scm (pcmanfm): Update to 1.2.5.
* gnu/packages/lxde.scm (libfm): Update to 1.2.5.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: lxterminal: Update to 0.3.0.
ng0 [Mon, 23 Jan 2017 18:55:49 +0000 (18:55 +0000)]
gnu: lxterminal: Update to 0.3.0.

* gnu/packages/lxde.scm (lxterminal): Update to 0.3.0.
[arguments]: Disable tests.
[source]: Update to use new '.tar.xz' tarball.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: gcc@5: Respect SOURCE_DATE_EPOCH in __DATE__ and __TIME__ macros.
Marius Bakke [Sat, 21 Jan 2017 11:31:49 +0000 (12:31 +0100)]
gnu: gcc@5: Respect SOURCE_DATE_EPOCH in __DATE__ and __TIME__ macros.

* gnu/packages/patches/gcc-5-source-date-epoch-1.patch,
  gnu/packages/patches/gcc-5-source-date-epoch-2.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/gcc.scm (gcc-5)[source]: Use them.

7 years agognu: cppcheck: Update to 1.77.
Kei Kebreau [Mon, 23 Jan 2017 19:29:21 +0000 (14:29 -0500)]
gnu: cppcheck: Update to 1.77.

* gnu/packages/check.scm (cppcheck): Update to 1.77.

7 years agognu: wavpack: Update to 5.1.0.
Marius Bakke [Mon, 23 Jan 2017 18:54:08 +0000 (19:54 +0100)]
gnu: wavpack: Update to 5.1.0.

* gnu/packages/audio.scm (wavpack): Update to 5.1.0.
[arguments]: Remove field.

7 years agognu: duplicity: Update to 0.7.11.
Thomas Danckaert [Mon, 23 Jan 2017 18:21:52 +0000 (19:21 +0100)]
gnu: duplicity: Update to 0.7.11.

* gnu/packages/backup.scm (duplicity): Update to 0.7.11.
  [source]: Remove patches.
  [inputs]: Add lftp, update gnupg, remove python-2, make python2-lockfile a
  propagated input, make python2-mock a native-input.
  [propagated-inputs]: Add python2-lockfile, python2-urllib3.
  [native-inputs]: Add python2-pexpect, python2-mock.
  [arguments]: Add build phase to embed gnupg store name.
* gnu/packages/patches/duplicity-piped-password.patch: Delete it.
* gnu/packages/patches/duplicity-test_selection-tmp.patch: Delete it.
* gnu/local.mk (dist_patch_DATA): Remove patches.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: glpk: Update to 4.61.
Marius Bakke [Mon, 23 Jan 2017 17:54:27 +0000 (18:54 +0100)]
gnu: glpk: Update to 4.61.

* gnu/packages/maths.scm (glpk): Update to 4.61.
[home-page]: Use HTTPS.

7 years agognu: nginx: Don't replace 'sh' reference with 'bash'.
Marius Bakke [Mon, 23 Jan 2017 16:48:47 +0000 (17:48 +0100)]
gnu: nginx: Don't replace 'sh' reference with 'bash'.

* gnu/packages/web.scm (nginx)[arguments]: Substitute /bin/sh with "which sh"
  instead of "which bash" in 'patch-/bin/sh' phase.

7 years agognu: Add es.
ng0 [Sat, 21 Jan 2017 23:20:48 +0000 (23:20 +0000)]
gnu: Add es.

* gnu/packages/shells.scm (es): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agoservices: prosody: Fix activation script.
Clément Lassieur [Thu, 19 Jan 2017 23:57:47 +0000 (00:57 +0100)]
services: prosody: Fix activation script.

* gnu/services/messaging.scm (prosody-activation): Import (guix build utils)
  for 'mkdir-p'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agodoc: Mention the need of a BIOS boot partition when using GPT.
宋文武 [Sun, 22 Jan 2017 12:17:35 +0000 (20:17 +0800)]
doc: Mention the need of a BIOS boot partition when using GPT.

* doc/guix.text (Preparing for Installation)[Disk Partitioning]:
Mention the need of a BIOS boot partition when using GPT with the defualt
GRUB.

7 years agognu: r-ggplot2: Add r-svglite to propagated-inputs.
Ben Woodcroft [Mon, 23 Jan 2017 11:23:33 +0000 (21:23 +1000)]
gnu: r-ggplot2: Add r-svglite to propagated-inputs.

* gnu/packages/statistics.scm (r-ggplot2)[propagated-inputs]: Add
r-svglite.

7 years agognu: bundler: Update to 1.14.2.
Ben Woodcroft [Mon, 23 Jan 2017 10:49:00 +0000 (20:49 +1000)]
gnu: bundler: Update to 1.14.2.

* gnu/packages/ruby.scm (bundler): Update to 1.14.2.

7 years agognu: Add libtorrent-rasterbar.
Jelle Licht [Sun, 22 Jan 2017 14:38:51 +0000 (15:38 +0100)]
gnu: Add libtorrent-rasterbar.

* gnu/packages/bittorrent.scm (libtorrent-rasterbar): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agodoc: Fix a typo in guix.texi.
Maxim Cournoyer [Sun, 22 Jan 2017 02:13:59 +0000 (18:13 -0800)]
doc: Fix a typo in guix.texi.

* doc/guix.texi (Invoking guix environment): s/the use/use the/

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: xmonad: Update to 0.12.
Mekeor Melire [Mon, 23 Jan 2017 09:48:51 +0000 (10:48 +0100)]
gnu: xmonad: Update to 0.12.

* gnu/packages/wm.scm (xmonad): Update to 0.12.
[source](snippet, modules): Remove.
[inputs]: Add GHC-SETLOCALE and GHC-QUICKCHECK.
(ghc-xmonad-contrib): Update to 0.12.

7 years agognu: Add ghc-setlocale.
Mekeor Melire [Mon, 23 Jan 2017 09:45:52 +0000 (10:45 +0100)]
gnu: Add ghc-setlocale.

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

7 years agognu: Remove pcre-CVE-2016-3191.patch.
Efraim Flashner [Mon, 23 Jan 2017 08:28:15 +0000 (10:28 +0200)]
gnu: Remove pcre-CVE-2016-3191.patch.

This is a follow-up to 026ee1a5a669658c8d4745c2733b4c201ca0e48e.

* gnu/packages/patches/pcre-CVE-2016-3191.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

7 years agognu: gcal: Update to 4.1.
Efraim Flashner [Mon, 23 Jan 2017 08:11:30 +0000 (10:11 +0200)]
gnu: gcal: Update to 4.1.

* gnu/packages/gcal.scm (gcal): Update to 4.1.
[home-page]: Use https.

7 years agognu: libtiff: Fix CVE-2017-5225.
Leo Famulari [Mon, 23 Jan 2017 07:06:40 +0000 (02:06 -0500)]
gnu: libtiff: Fix CVE-2017-5225.

* gnu/packages/patches/libtiff-CVE-2017-5225.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/image.scm (libtiff/fixed)[source]: Use it.

7 years agognu: pcre: Update to 8.40.
Leo Famulari [Mon, 23 Jan 2017 05:44:09 +0000 (00:44 -0500)]
gnu: pcre: Update to 8.40.

* gnu/packages/pcre.scm (pcre): Update to 8.40.
[source]: Remove obsolete patch 'pcre-CVE-2016-3191.patch'.

7 years agognu: imagemagick: Update to 6.9.7-5.
Leo Famulari [Mon, 23 Jan 2017 03:40:55 +0000 (22:40 -0500)]
gnu: imagemagick: Update to 6.9.7-5.

* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.7-5.

7 years agoservices: cuirass: Add port to cuirass configuration
Mathieu Othacehe [Sun, 22 Jan 2017 14:40:57 +0000 (15:40 +0100)]
services: cuirass: Add port to cuirass configuration

* gnu/services/cuirass.scm (<cuirass-configuration>): Add port field.
(cuirass-shepherd-service): Honor it.
* doc/guix.texi (Continuous Integration): Document it.

Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
7 years agognu: libinput: Update to 1.6.0.
Efraim Flashner [Sun, 22 Jan 2017 21:19:12 +0000 (23:19 +0200)]
gnu: libinput: Update to 1.6.0.

* gnu/packages/freedesktop.scm (libinput): Update to 1.6.0.

7 years agognu: gcc: Properly set the dynamic linker file name on GNU/Hurd.
Ludovic Courtès [Sun, 22 Jan 2017 12:11:45 +0000 (13:11 +0100)]
gnu: gcc: Properly set the dynamic linker file name on GNU/Hurd.

* gnu/packages/gcc.scm (gcc-4.7)[arguments]: In 'pre-configure' phase,
match 'GNU_USER_DYNAMIC_LINKER' in addition to 'GLIBC_DYNAMIC_LINKER'.
This fixes GNU/Hurd cross-compilation as reported at
<https://lists.gnu.org/archive/html/guix-devel/2017-01/msg01731.html>.

7 years agognu: sed: Do not attempt to rebuild 'doc/sed.1'.
Ludovic Courtès [Sun, 22 Jan 2017 12:10:56 +0000 (13:10 +0100)]
gnu: sed: Do not attempt to rebuild 'doc/sed.1'.

* gnu/packages/base.scm (sed)[arguments]: Add 'dont-rebuild-sed.1'
phase.
[native-inputs]: Remove.

7 years agognu: sed: Use the same phases whether or not we're cross-compiling.
Ludovic Courtès [Sat, 21 Jan 2017 21:37:06 +0000 (22:37 +0100)]
gnu: sed: Use the same phases whether or not we're cross-compiling.

* gnu/packages/base.scm (sed)[arguments]: Make #:phases argument
unconditional.  In 'patch-test-suite' phase, use (which "sh") instead of
referring to the "bash" input.

7 years agognu: qemu: Patch CVE-2016-10155, CVE-2017-5552.
Efraim Flashner [Sun, 22 Jan 2017 11:40:44 +0000 (13:40 +0200)]
gnu: qemu: Patch CVE-2016-10155, CVE-2017-5552.

* gnu/packages/qemu.scm (qemu)[source]: Add patches.
* gnu/packages/patches/qemu-CVE-2016-10155.patch,
gnu/packages/patches/qemu-CVE-2017-5552.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.

7 years agognu: fish: Embed full path to Python.
Ricardo Wurmus [Sat, 21 Jan 2017 21:57:12 +0000 (22:57 +0100)]
gnu: fish: Embed full path to Python.

Fixes <https://bugs.gnu.org/25467>.

* gnu/packages/shells.scm (fish)[arguments]: Rename phase "patch-bc" to
"embed-store-paths"; embed full path to Python.

7 years agognu: Add guile-sdl2.
宋文武 [Sun, 22 Jan 2017 06:31:54 +0000 (14:31 +0800)]
gnu: Add guile-sdl2.

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

7 years agognu: Add python2-slowaes.
Carlo Zancanaro [Sun, 22 Jan 2017 05:35:55 +0000 (13:35 +0800)]
gnu: Add python2-slowaes.

* gnu/packages/python.scm (python2-slowaes): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
7 years agognu: Add python-qrcode.
Carlo Zancanaro [Sun, 22 Jan 2017 05:05:54 +0000 (13:05 +0800)]
gnu: Add python-qrcode.

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

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
7 years agognu: Add python-pbkdf2.
Carlo Zancanaro [Sun, 22 Jan 2017 04:46:08 +0000 (12:46 +0800)]
gnu: Add python-pbkdf2.

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

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
7 years agognu: perl-term-readkey: Update to 2.37.
Maxim Cournoyer [Sat, 21 Jan 2017 22:27:15 +0000 (14:27 -0800)]
gnu: perl-term-readkey: Update to 2.37.

The previous version, 2.32, is not available for download anymore.

* gnu/packages/perl.scm (perl-term-readkey): Update to 2.37.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
7 years agognu: bash: Update to patch level 11.
Leo Famulari [Sun, 22 Jan 2017 02:35:34 +0000 (21:35 -0500)]
gnu: bash: Update to patch level 11.

* gnu/packages/bash.scm (%patch-series-4.4): Add patches 6 through 11.

7 years agognu: red-eclipse: Update to 1.5.8.
Kei Kebreau [Sat, 21 Jan 2017 20:27:45 +0000 (15:27 -0500)]
gnu: red-eclipse: Update to 1.5.8.

* gnu/packages/games.scm (red-eclipse): Update to 1.5.8.

7 years agognu: tintin++: Update to 2.01.2.
Kei Kebreau [Sat, 21 Jan 2017 18:54:32 +0000 (13:54 -0500)]
gnu: tintin++: Update to 2.01.2.

* gnu/packages/games.scm (tintin++): Update to 2.01.2.

7 years agolint: Display PACKAGE@VERSION.
Ludovic Courtès [Sat, 21 Jan 2017 15:42:31 +0000 (16:42 +0100)]
lint: Display PACKAGE@VERSION.

* guix/scripts/lint.scm (run-checkers): Remove 'name' variable.  Display
PACKAGE@VERSION instead of PACKAGE-VERSION.

7 years agognu: Add compton.
José Miguel Sánchez García [Fri, 20 Jan 2017 10:59:15 +0000 (11:59 +0100)]
gnu: Add compton.

* gnu/packages/compton.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add compton.scm

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: Add geos.
Björn Höfling [Fri, 20 Jan 2017 17:35:31 +0000 (18:35 +0100)]
gnu: Add geos.

* gnu/packages/geo.scm (geos): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: gflags: Update to 2.2.0.
Marius Bakke [Fri, 20 Jan 2017 23:34:37 +0000 (00:34 +0100)]
gnu: gflags: Update to 2.2.0.

* gnu/packages/popt.scm (gflags): Update to 2.2.0.
[source]: Use tarball release.

7 years agognu: r-vegan: Update to 2.4-2.
Ben Woodcroft [Sat, 21 Jan 2017 08:17:16 +0000 (18:17 +1000)]
gnu: r-vegan: Update to 2.4-2.

* gnu/packages/bioinformatics.scm (r-vegan): Update to 2.4-2.

7 years agognu: diamond: Update to 0.8.34.
Ben Woodcroft [Sat, 21 Jan 2017 07:28:11 +0000 (17:28 +1000)]
gnu: diamond: Update to 0.8.34.

* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.34.

7 years agognu: linux-libre: Update to 4.9.5.
Mark H Weaver [Sat, 21 Jan 2017 02:56:02 +0000 (21:56 -0500)]
gnu: linux-libre: Update to 4.9.5.

* gnu/packages/linux.scm (%linux-libre-version, %linux-libre-hash)
(linux-libre): Update to 4.9.5.

7 years agognu: linux-libre@4.4: Update to 4.4.44.
Mark H Weaver [Sat, 21 Jan 2017 02:54:47 +0000 (21:54 -0500)]
gnu: linux-libre@4.4: Update to 4.4.44.

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

7 years agognu: linux-libre@4.1: Update to 4.1.38.
Mark H Weaver [Sat, 21 Jan 2017 02:48:43 +0000 (21:48 -0500)]
gnu: linux-libre@4.1: Update to 4.1.38.

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

7 years agognu: ld-wrapper-boot0: Remove workaround for <http://bugs.gnu.org/24832>.
Ludovic Courtès [Fri, 20 Jan 2017 21:57:47 +0000 (22:57 +0100)]
gnu: ld-wrapper-boot0: Remove workaround for <bugs.gnu.org/24832>.

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

* gnu/packages/commencement.scm (ld-wrapper-boot0): Change the first
'make-ld-wrapper' argument to "ld-wrapper-boot0"; change #:target to
BOOT-TRIPLET.

7 years agohydra: Add "i586-pc-gnu" as a cross-compilation target.
Ludovic Courtès [Fri, 20 Jan 2017 21:32:47 +0000 (22:32 +0100)]
hydra: Add "i586-pc-gnu" as a cross-compilation target.

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

7 years agognu: gnutls: Add 'guile2.2-gnutls'.
Ludovic Courtès [Fri, 20 Jan 2017 20:35:51 +0000 (21:35 +0100)]
gnu: gnutls: Add 'guile2.2-gnutls'.

Suggested by Chris Webber.

* gnu/packages/tls.scm (gnutls/guile-2.2): New variable.

7 years agoservices: Reindent vpn.scm.
Ludovic Courtès [Fri, 20 Jan 2017 13:44:34 +0000 (14:44 +0100)]
services: Reindent vpn.scm.

This fixes indentation of 'match' forms.

* gnu/services/vpn.scm: Pass through 'indent-code.el'.

7 years agoetc: indent-code.el: Add indentation info for non-Guix Scheme constructs.
Ludovic Courtès [Fri, 20 Jan 2017 13:43:43 +0000 (14:43 +0100)]
etc: indent-code.el: Add indentation info for non-Guix Scheme constructs.

* etc/indent-code.el.in (guix-syntax--scheme-indent): New macro.
Use it.

7 years agognu: Add fcitx-configtool.
Feng Shu [Tue, 17 Jan 2017 05:02:30 +0000 (13:02 +0800)]
gnu: Add fcitx-configtool.

* gnu/packages/fcitx.scm (fcitx-configtool): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: datamash: Update to 1.1.1.
Marius Bakke [Fri, 20 Jan 2017 18:27:47 +0000 (19:27 +0100)]
gnu: datamash: Update to 1.1.1.

* gnu/packages/datamash.scm (datamash): Update to 1.1.1.

7 years agognu: gd: Fix source URL.
Marius Bakke [Fri, 20 Jan 2017 18:34:51 +0000 (19:34 +0100)]
gnu: gd: Fix source URL.

This is a followup to 3f0603ea653cefa9ff728c2637d3cd0d778b3602.

* gnu/packages/gd.scm (gd-2.2.4)[source]: Fix URL.

7 years agognu: gd: Replace with gd-2.2.4 [fixes CVE-2016-{6912,9317} and others].
Leo Famulari [Fri, 20 Jan 2017 14:03:35 +0000 (09:03 -0500)]
gnu: gd: Replace with gd-2.2.4 [fixes CVE-2016-{6912,9317} and others].

'CHANGELOG.md' in the development repository lists several fixed bugs with
potential security implications:

https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md

* gnu/packages/gd.scm (gd)[replacement]: New field.
(gd-2.2.4): New variable.

7 years agognu: r-msnid: Expand abbreviation in description.
Ricardo Wurmus [Fri, 20 Jan 2017 14:29:50 +0000 (15:29 +0100)]
gnu: r-msnid: Expand abbreviation in description.

* gnu/packages/bioinformatics.scm (r-msnid)[description]: Expand "MS/MS"
to "tandem mass spectrometry".

7 years agognu: r-msnbase: Expand abbreviation in description.
Ricardo Wurmus [Fri, 20 Jan 2017 14:28:50 +0000 (15:28 +0100)]
gnu: r-msnbase: Expand abbreviation in description.

* gnu/packages/bioinformatics.scm (r-msnbase)[description]: Expand "MS"
to "mass spectrometry".

7 years agognu: Add r-fastica.
Raoul Jean Pierre Bonnal [Thu, 19 Jan 2017 18:54:59 +0000 (19:54 +0100)]
gnu: Add r-fastica.

* gnu/packages/statistics.scm (r-fastica): New variable.

7 years agognu: Add r-lars.
Raoul Jean Pierre Bonnal [Thu, 19 Jan 2017 18:54:58 +0000 (19:54 +0100)]
gnu: Add r-lars.

* gnu/packages/statistics.scm (r-lars): New variable.

7 years agognu: Add r-mixtools.
Raoul Jean Pierre Bonnal [Thu, 19 Jan 2017 18:54:57 +0000 (19:54 +0100)]
gnu: Add r-mixtools.

* gnu/packages/statistics.scm (r-mixtools): New variable.

7 years agognu: Add r-cowplot.
Raoul Jean Pierre Bonnal [Thu, 19 Jan 2017 18:54:56 +0000 (19:54 +0100)]
gnu: Add r-cowplot.

* gnu/packages/statistics.scm (r-cowplot): New variable.

7 years agoservices: network-manager: Use record for configuration.
Christopher Baines [Fri, 20 Jan 2017 13:43:53 +0000 (21:43 +0800)]
services: network-manager: Use record for configuration.

* gnu/services/network-manager.scm (<network-manager-configuration>): New
record type.
(network-manager-shpeherd-service): Change to use the
network-manager-configuration record, rather than a package.  Generate a
simple configuration file from the network-manager-configuration record.
(network-manager-service-type): Update extensions to take the
network-manager-configuration rather than a package.
(network-manager-service): Remove function, the network-manager-service-type
can be used instead, and this avoids keeping the function signature and value
coresponding to the service type in sync.
* doc/guix.texi (Networking Services): Remove documentation for the removed
network-manager-service procedure, and add documentation of the
network-manager-service-type variable and network-manager-configuration
record.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
7 years agognu: obs: Update to 17.0.2.
Efraim Flashner [Thu, 19 Jan 2017 20:54:25 +0000 (22:54 +0200)]
gnu: obs: Update to 17.0.2.

* gnu/packages/video.scm (obs): Update to 17.0.2.
[inputs]: Add alsa-lib, fontconfig, speex.

7 years agognu: mariadb: Update to 10.1.21 [security fixes].
Leo Famulari [Fri, 20 Jan 2017 01:56:23 +0000 (20:56 -0500)]
gnu: mariadb: Update to 10.1.21 [security fixes].

Fixes CVE-2016-3238 and CVE-2017-{3238,3243,3244,3257,3258,3265,3291,3312,3317,
3318}.

* gnu/packages/databases.scm (mariadb): Update to 10.1.21.

7 years agoservices: Create /var/run/utmpx upon activation.
Ludovic Courtès [Thu, 19 Jan 2017 22:42:20 +0000 (23:42 +0100)]
services: Create /var/run/utmpx upon activation.

This fixes a bug whereby /var/run/utmpx would never be created, and thus
accounting information would be missing.

* gnu/services.scm (activation-script): Create /var/run/utmpx.
* gnu/tests/base.scm (run-basic-test)["utmpx entry"]: New test.

7 years agosyscalls: Add utmpx procedures and data structure.
Ludovic Courtès [Thu, 19 Jan 2017 22:21:25 +0000 (23:21 +0100)]
syscalls: Add utmpx procedures and data structure.

* guix/build/syscalls.scm (<utmpx-entry>): New record type.
(%utmpx): New C struct.
(login-type): New bits.
(setutxent, endutxent, getutxent, utmpx-entries): New procedures.

7 years agosyscalls: Extract 'bytes->string'.
Ludovic Courtès [Thu, 19 Jan 2017 22:20:57 +0000 (23:20 +0100)]
syscalls: Extract 'bytes->string'.

* guix/build/syscalls.scm (bytes->string): New procedure.
(bytevector->string-list): Use it.

7 years agognu: ansible: Update to 2.2.1 [fixes CVE-2016-9587].
Ludovic Courtès [Thu, 19 Jan 2017 16:59:23 +0000 (17:59 +0100)]
gnu: ansible: Update to 2.2.1 [fixes CVE-2016-9587].

* gnu/packages/admin.scm (ansible): Update to 2.2.1.

7 years agoimport: github: Catch HTTP 403 error during fetch.
Mathieu OTHACEHE [Tue, 17 Jan 2017 08:17:30 +0000 (09:17 +0100)]
import: github: Catch HTTP 403 error during fetch.

* guix/import/github.scm (json-fetch*): Catch 403 HTTP error that may be
  raised if a github token has not been set.

Signed-off-by: Mathieu OTHACEHE <m.othacehe@gmail.com>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agotests: Add 'nginx-service-type' test.
Ludovic Courtès [Thu, 19 Jan 2017 13:43:24 +0000 (14:43 +0100)]
tests: Add 'nginx-service-type' test.

* gnu/tests/web.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

7 years agoservices: nginx: Add default values for <nginx-configuration> fields.
Ludovic Courtès [Thu, 19 Jan 2017 13:40:04 +0000 (14:40 +0100)]
services: nginx: Add default values for <nginx-configuration> fields.

* gnu/services/web.scm (<nginx-configuration>)[nginx, log-directory]
[run-directory, server-blocks, upstream-blocks, file]: Add default
values.

7 years agoservices: nginx: Add support for 'location' blocks.
Christopher Baines [Wed, 18 Jan 2017 08:08:07 +0000 (08:08 +0000)]
services: nginx: Add support for 'location' blocks.

* gnu/services/web.scm (<nginx-server-configuration>): Add field 'locations'.
(<nginx-location-configuration>): New record type.
(<nginx-named-location-configuration>): New record type.
(nginx-location-config): New function.
(default-nginx-server-config): Include locations.
* doc/guix.texi (Web Services): Document the new nginx-location-configuration
and nginx-named-location-configuration data types, as well as the changes to
the nginx-server-configuration.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agoservices: nginx: Add support the 'upstream' module.
Christopher Baines [Wed, 18 Jan 2017 08:08:06 +0000 (08:08 +0000)]
services: nginx: Add support the 'upstream' module.

* gnu/services/web.scm (<nginx-upstream-configuration>): New record type.
(<nginx-configuration>): Add new field upstream-blocks.
(nginx-upstream): New function.
(default-nginx-config): Add upstream-list parameter.
(nginx-service): Add optional upstream list keyword argument.
* doc/guix.texi (Web Services): Document the new nginx-upstream-configuration
data type and changes to the nginx function.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: dnsmasq: Enable dbus support.
Christopher Baines [Thu, 19 Jan 2017 06:55:38 +0000 (06:55 +0000)]
gnu: dnsmasq: Enable dbus support.

* gnu/pacakges/dns.scm (dnsmasq): Enable dbus support to allow for
NetworkManager to use dnsmasq.
[native-inputs]: Add pkg-config.
[inputs]: Add dbus.
[arguments]: Add COPTS="-DHAVE_DBUS" to make-flags.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
7 years agognu: Add libgig.
Ricardo Wurmus [Mon, 16 Jan 2017 18:52:17 +0000 (19:52 +0100)]
gnu: Add libgig.

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

7 years agodoc: Show how to deploy any version of Guix.
Leo Famulari [Tue, 17 Jan 2017 22:23:58 +0000 (17:23 -0500)]
doc: Show how to deploy any version of Guix.

* doc/guix.texi (Invoking guix pull): Give some examples of how to deploy
arbitrary Guix versions with the --url option.

7 years agoguix environment, build: Allow absolute file names with '--root'.
Ludovic Courtès [Wed, 18 Jan 2017 15:57:56 +0000 (16:57 +0100)]
guix environment, build: Allow absolute file names with '--root'.

Reported by Chris Webber.

* guix/scripts/build.scm (register-root): If ROOT is absolute, keep it
as is.
* guix/scripts/environment.scm (register-gc-root): Likewise.
* tests/guix-environment.sh (expected): Add test.

7 years agognu: Add Heimdal.
Ludovic Courtès [Wed, 18 Jan 2017 12:31:36 +0000 (13:31 +0100)]
gnu: Add Heimdal.

* gnu/packages/kerberos.scm (heimdal): New variable.

7 years agognu: Move Kerberos implemetations to (gnu packages kerberos).
Ludovic Courtès [Wed, 18 Jan 2017 08:57:43 +0000 (09:57 +0100)]
gnu: Move Kerberos implemetations to (gnu packages kerberos).

* gnu/packages/mit-krb5.scm: Remove.
* gnu/packages/shishi.scm: Remove.
* gnu/packages/kerberos.scm: New file, from the concatenation of these
two.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/admin.scm, gnu/packages/cyrus-sasl.scm,
gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm,
gnu/packages/gsasl.scm, gnu/packages/java.scm,
gnu/packages/networking.scm, gnu/packages/nfs.scm,
gnu/packages/onc-rpc.scm, gnu/packages/ssh.scm,
gnu/packages/web.scm: Adjust accordingly.

7 years agognu: stagit: Update to 0.5.
ng0 [Wed, 18 Jan 2017 21:25:44 +0000 (21:25 +0000)]
gnu: stagit: Update to 0.5.

* gnu/packages/version-control.scm (stagit): Update to 0.5.

7 years agognu: qemu: Fix CVE-2017-5525, CVE-2017-5526.
Efraim Flashner [Wed, 18 Jan 2017 21:21:46 +0000 (23:21 +0200)]
gnu: qemu: Fix CVE-2017-5525, CVE-2017-5526.

* gnu/packages/qemu.scm (qemu)[source]: Add patches.
* gnu/packages/patches/qemu-CVE-2017-5525.patch,
gnu/packages/patches/qemu-CVE-2017-5526.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.

7 years agognu: tk: Update to 8.6.6.
Kei Kebreau [Wed, 18 Jan 2017 21:03:00 +0000 (16:03 -0500)]
gnu: tk: Update to 8.6.6.

* gnu/packages/tcl.scm (tk): Update to 8.6.6.

7 years agognu: tcl: Update to 8.6.6.
Kei Kebreau [Wed, 18 Jan 2017 20:32:58 +0000 (15:32 -0500)]
gnu: tcl: Update to 8.6.6.

* gnu/packages/tcl.scm (tcl): Update to 8.6.6.

7 years agognu: Add python-cram.
Marius Bakke [Wed, 28 Dec 2016 23:09:40 +0000 (00:09 +0100)]
gnu: Add python-cram.

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

7 years agognu: Add leveldb.
Marius Bakke [Tue, 27 Dec 2016 20:56:01 +0000 (21:56 +0100)]
gnu: Add leveldb.

* gnu/packages/databases.scm (leveldb): New variable.

7 years agognu: Add mcabber.
ng0 [Wed, 18 Jan 2017 12:34:25 +0000 (12:34 +0000)]
gnu: Add mcabber.

* gnu/packages/messaging.scm (mcabber): New variable.

Co-authored-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: Add loudmouth.
ng0 [Wed, 18 Jan 2017 12:34:24 +0000 (12:34 +0000)]
gnu: Add loudmouth.

* gnu/packages/messaging.scm (loudmouth): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: Add menumaker.
ng0 [Wed, 18 Jan 2017 12:47:21 +0000 (12:47 +0000)]
gnu: Add menumaker.

* gnu/packages/wm.scm (menumaker): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: xf86-input-evdev: Update to 2.10.5.
Marius Bakke [Wed, 18 Jan 2017 17:28:35 +0000 (18:28 +0100)]
gnu: xf86-input-evdev: Update to 2.10.5.

* gnu/packages/xorg.scm (xf86-input-evdev): Update to 2.10.5.