jackhill/guix/guix.git
6 years agognu: freefall: Return #t from all phases.
Mark H Weaver [Fri, 16 Mar 2018 06:16:06 +0000 (02:16 -0400)]
gnu: freefall: Return #t from all phases.

* gnu/packages/linux.scm (freefall)[arguments]: Return #t from all phase
procedures.

6 years agognu: gpm: Use invoke.
Mark H Weaver [Fri, 16 Mar 2018 06:13:57 +0000 (02:13 -0400)]
gnu: gpm: Use invoke.

* gnu/packages/linux.scm (gpm)[arguments]: Use invoke and remove vestigial
result code plumbing.

6 years agognu: e2fsprogs: Use invoke.
Mark H Weaver [Fri, 16 Mar 2018 06:07:29 +0000 (02:07 -0400)]
gnu: e2fsprogs: Use invoke.

* gnu/packages/linux.scm (e2fsprogs)[arguments]: Use invoke and remove
vestigial result code plumbing.

6 years agognu: gnu-c-manual: Use invoke.
Mark H Weaver [Fri, 16 Mar 2018 05:55:07 +0000 (01:55 -0400)]
gnu: gnu-c-manual: Use invoke.

* gnu/packages/gcc.scm (gnu-c-manual)[arguments]: Use invoke.

6 years agognu: libstdc++-doc: Use invoke.
Mark H Weaver [Fri, 16 Mar 2018 05:48:45 +0000 (01:48 -0400)]
gnu: libstdc++-doc: Use invoke.

* gnu/packages/gcc.scm (make-libstdc++-doc)[arguments]: Use invoke.

6 years agognu: guile-irregex: Use invoke.
Mark H Weaver [Fri, 16 Mar 2018 05:38:38 +0000 (01:38 -0400)]
gnu: guile-irregex: Use invoke.

* gnu/packages/guile.scm (guile-irregex)[arguments]: Use invoke.

6 years agognu: icecat: Remove 'use-skia-by-default' phase.
Mark H Weaver [Wed, 11 Apr 2018 21:20:00 +0000 (17:20 -0400)]
gnu: icecat: Remove 'use-skia-by-default' phase.

This seems no longer to be needed for stability.

* gnu/packages/gnuzilla.scm (icecat)[arguments]: Remove the
'use-skia-by-default' phase.

6 years agoMerge branch 'master' into core-updates
Mark H Weaver [Wed, 11 Apr 2018 21:19:06 +0000 (17:19 -0400)]
Merge branch 'master' into core-updates

6 years agognu: icecat: Add more fixes from upstream mozilla-esr52.
Mark H Weaver [Wed, 11 Apr 2018 08:42:54 +0000 (04:42 -0400)]
gnu: icecat: Add more fixes from upstream mozilla-esr52.

* gnu/packages/gnuzilla.scm (icecat)[source]: Add selected fixes from the
upstream mozilla-esr52 repository.

6 years agognu: icecat: Add more configure flags and rename a phase.
Mark H Weaver [Wed, 11 Apr 2018 21:02:59 +0000 (17:02 -0400)]
gnu: icecat: Add more configure flags and rename a phase.

* gnu/packages/gnuzilla.scm (icecat)[arguments]: To configure-flags, add
"--with-distribution-id=org.gnu", "--disable-tests", "--disable-updater",
"--disable-crashreporter", "--disable-maintenance-service", and
"--disable-eme".  Rename the
'arrange-to-link-libxul-with-libraries-it-might-dlopen' phase to
'link-libxul-with-libraries'.

6 years agoservices: cgit: Add support for project-list.
Clément Lassieur [Tue, 20 Mar 2018 20:15:05 +0000 (21:15 +0100)]
services: cgit: Add support for project-list.

* doc/guix.texi (Version Control Services): Update accordingly.
* gnu/services/cgit.scm (cgit-configuration)[project-list]: New field.
(serialize-project-list): New procedure that uses PLAIN-FILE to generate a
file from the string list given by the user as input.
(serialize-cgit-configuration): Make sure to serialize 'project-list' before
'repostory-directory'.

6 years agoservices: cgit: Enforce serialization order.
Clément Lassieur [Tue, 20 Mar 2018 20:05:09 +0000 (21:05 +0100)]
services: cgit: Enforce serialization order.

* gnu/services/cgit.scm (serialize-cgit-configuration): New procedure that
serializes fields with a precise order.
(cgit-activation): Replace the generic SERIALIZE-CONFIGURATION with
SERIALIZE-CGIT-CONFIGURATION.

6 years agoservices: cgit: Add support for file-like objects.
Clément Lassieur [Tue, 20 Mar 2018 19:33:38 +0000 (20:33 +0100)]
services: cgit: Add support for file-like objects.

* doc/guix.texi (Version Control Services): Update accordingly.
* gnu/services/cgit.scm (serialize-field, serialize-string, serialize-boolean,
serialize-integer, serialize-repository-cgit-configuration-list,
serialize-nginx-server-configuration-list, serialize-repo-field,
serialize-repo-boolean, serialize-repo-integer, serialize-module-link-path,
serialize-repository-directory, serialize-mimetype-alist): Return strings or
string-valued gexps and stop printing.
(repository-cgit-configuration)[source-filter, about-filter, commit-filter,
logo, owner-filter], (cgit-configuration)[auth-filter, commit-filter, css,
email-filter, favicon, include, logo, owner-filter, mimetype-file, readme,
source-filter]: Replace STRING with FILE-OBJECT.
(file-object?, serialize-file-object, repo-file-object?,
serialize-repo-file-object): New procedures.
(cgit-activation): Use SERIALIZE-CONFIGURATION's return value with
MIXED-TEXT-FILE instead of using its output with PLAIN-FILE.

6 years agoservices: cgit: Simplify 'serialize-module-link-path'.
Clément Lassieur [Tue, 20 Mar 2018 18:44:40 +0000 (19:44 +0100)]
services: cgit: Simplify 'serialize-module-link-path'.

* gnu/services/cgit.scm (serialize-module-link-path): Remove STRING-DROP-RIGHT
and UGLIFY-FIELD-NAME.

6 years agoservices: cgit: Simplify 'uglify-field-name'.
Clément Lassieur [Tue, 20 Mar 2018 18:41:24 +0000 (19:41 +0100)]
services: cgit: Simplify 'uglify-field-name'.

* gnu/services/cgit.scm (uglify-field-name): Remove STRING-JOIN and
STRING-SPLIT.

6 years agognu: linux-libre: Update to 4.16.1.
Mark H Weaver [Sat, 7 Apr 2018 05:37:45 +0000 (01:37 -0400)]
gnu: linux-libre: Update to 4.16.1.

* gnu/packages/linux.scm (%linux-libre-version): Update to 4.16.1.
(%linux-libre-hash): Update hash.
* gnu/packages/aux-files/linux-libre/4.15-arm.conf,
gnu/packages/aux-files/linux-libre/4.15-i686.conf,
gnu/packages/aux-files/linux-libre/4.15-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/4.16-arm.conf,
gnu/packages/aux-files/linux-libre/4.16-i686.conf,
gnu/packages/aux-files/linux-libre/4.16-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Update accordingly.

6 years agognu: linux-libre: Add 'patch-/bin/pwd' phase.
Mark H Weaver [Wed, 11 Apr 2018 08:42:02 +0000 (04:42 -0400)]
gnu: linux-libre: Add 'patch-/bin/pwd' phase.

* gnu/packages/linux.scm (make-linux-libre)[arguments]: Add 'patch-/bin/pwd'
phase.

6 years agognu: elfutils: Disable failing test.
Efraim Flashner [Wed, 11 Apr 2018 18:52:10 +0000 (21:52 +0300)]
gnu: elfutils: Disable failing test.

* gnu/packages/elf.scm (elfutils)[arguments]: Skip test which always
fails on aarch64-linux.

6 years agognu: guile-config: Update to 0.2.
Alex Sassmannshausen [Wed, 11 Apr 2018 08:07:47 +0000 (10:07 +0200)]
gnu: guile-config: Update to 0.2.

* gnu/packages/guile.scm (guile-config): Update to 0.2.
  [source]: Change to github repo.
  [native-inputs]: Add make dist dependencies.
  [license]: Update license.

6 years agonls: Add Spanish translation.
Ludovic Courtès [Tue, 10 Apr 2018 23:21:02 +0000 (01:21 +0200)]
nls: Add Spanish translation.

6 years agoself: Produce a spliced (guix config) to placate Guile 2.0.
Ludovic Courtès [Tue, 10 Apr 2018 22:55:13 +0000 (00:55 +0200)]
self: Produce a spliced (guix config) to placate Guile 2.0.

Fixes 'guix pull' with Guile 2.0.
See <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27284#153>.

* guix/self.scm (make-config.scm): Remove 'begin' in 'scheme-file'
argument and pass #:splice? #t.

6 years agogexp: 'scheme-file' can splice expressions.
Ludovic Courtès [Tue, 10 Apr 2018 22:52:40 +0000 (00:52 +0200)]
gexp: 'scheme-file' can splice expressions.

* guix/gexp.scm (<scheme-file>)[splice?]: New field.
(scheme-file): Add #:splice? and pass it to '%scheme-file'.
(scheme-file-compiler): Pass SPLICE? to 'gexp->file'.
(gexp->file): Add #:splice? and honor it.
* tests/gexp.scm ("gexp->file + #:splice?"): New test.
("gexp->derivation & with-imported-module & computed module"): Use
 #:splice? #t.

6 years agoself: 'package-for-guile' really honors GUILE-VERSION.
Ludovic Courtès [Tue, 10 Apr 2018 22:29:47 +0000 (00:29 +0200)]
self: 'package-for-guile' really honors GUILE-VERSION.

* guix/self.scm (package-for-guile): Pass GUILE-VERSION to
'false-if-wrong-guile'.

6 years agoself: Remove 'eval-when' from in generated (guix config).
Ludovic Courtès [Tue, 10 Apr 2018 22:22:03 +0000 (00:22 +0200)]
self: Remove 'eval-when' from in generated (guix config).

* guix/self.scm (make-config.scm): Remove unneeded 'eval-when'.

6 years agognu: Add qBittorrent.
Fis Trivial [Fri, 6 Apr 2018 20:07:28 +0000 (20:07 +0000)]
gnu: Add qBittorrent.

* gnu/packages/bittorrent.scm (qBittorrent): New public variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
6 years agognu: libtorrent-rasterbar: Add CXXFLAGS.
Fis Trivial [Fri, 6 Apr 2018 20:06:52 +0000 (20:06 +0000)]
gnu: libtorrent-rasterbar: Add CXXFLAGS.

* gnu/packages/bittorrent.scm (libtorrent-rasterbar): Add CXXFLAGS.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
6 years agognu: tlsdate: Fix compilation on aarch64-linux-gnu.
Ludovic Courtès [Tue, 10 Apr 2018 20:27:22 +0000 (22:27 +0200)]
gnu: tlsdate: Fix compilation on aarch64-linux-gnu.

* gnu/packages/ntp.scm (tlsdate)[arguments]: Add #:configure-flags.

6 years agognu: guix: Update to 486de73.
Ludovic Courtès [Tue, 10 Apr 2018 20:26:47 +0000 (22:26 +0200)]
gnu: guix: Update to 486de73.

* gnu/packages/package-management.scm (guix): Update to 486de73.

6 years agognu: mes: Update to 0.12.
Jan Nieuwenhuizen [Sun, 8 Apr 2018 16:13:07 +0000 (18:13 +0200)]
gnu: mes: Update to 0.12.

* gnu/packages/mes.scm (mes): Update to 0.12.

6 years agognu: cuirass: Update to 238f856.
Ludovic Courtès [Tue, 10 Apr 2018 15:42:49 +0000 (17:42 +0200)]
gnu: cuirass: Update to 238f856.

* gnu/packages/ci.scm (cuirass): Update to 238f856.

6 years agoself: Don't use deprecated package names.
Ludovic Courtès [Tue, 10 Apr 2018 12:38:19 +0000 (14:38 +0200)]
self: Don't use deprecated package names.

* guix/self.scm (compiled-guix)[guile-json, guile-ssh]: Don't refer t
"guile2.2-json" and "guile2.2-ssh", which are deprecated.

6 years agoself: Export '%guix-register-program' in generated (guix config).
Ludovic Courtès [Tue, 10 Apr 2018 12:37:36 +0000 (14:37 +0200)]
self: Export '%guix-register-program' in generated (guix config).

* guix/self.scm (make-config.scm): Export '%guix-register-program'.

6 years agoself: Fix package names for compilation with Guile 2.0.
Ludovic Courtès [Tue, 10 Apr 2018 12:36:18 +0000 (14:36 +0200)]
self: Fix package names for compilation with Guile 2.0.

Reported by Ricardo Wurmus.

* guix/self.scm (specification->package): Add guile2.0-{json,git,ssh}.
(guile-for-build): Use 'module-ref' for Guile 2.0.

6 years agoself: Display a new line at the end of module compilation.
Ludovic Courtès [Tue, 10 Apr 2018 12:34:59 +0000 (14:34 +0200)]
self: Display a new line at the end of module compilation.

* guix/self.scm (compiled-modules)[build]: Add a 'newline' call at the
end.

6 years agoself: Don't substitute the '-source' derivations.
Ludovic Courtès [Tue, 10 Apr 2018 12:33:25 +0000 (14:33 +0200)]
self: Don't substitute the '-source' derivations.

With substitution enabled we would end up downloading 10+ MiB of source
that's already available locally on disk.

* guix/self.scm (imported-files): Pass #:options to 'computed-file'.

6 years agognu: hwloc: Skip 'linux-libnuma' test.
Ludovic Courtès [Tue, 10 Apr 2018 12:29:33 +0000 (14:29 +0200)]
gnu: hwloc: Skip 'linux-libnuma' test.

That test would fail on some machines, for instance build machines
behind berlin.guixsd.org.

* gnu/packages/mpi.scm (hwloc)[arguments]: Add 'skip-linux-libnuma-test'
phase.
(hwloc-2.0)[arguments]: Replace it.

6 years agognu: Add libcgroup.
Tomáš Čech [Sat, 7 Apr 2018 10:47:20 +0000 (12:47 +0200)]
gnu: Add libcgroup.

 * gnu/packages/linux.scm (libcgroup): New variable.

6 years agognu: qemu: Fix build with glibc-2.27.
Mark H Weaver [Wed, 28 Mar 2018 08:05:54 +0000 (04:05 -0400)]
gnu: qemu: Fix build with glibc-2.27.

* gnu/packages/patches/qemu-glibc-2.27.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/virtualization.scm (qemu)[source]: Add patch.
[native-inputs]: Add flex and bison.
* gnu/packages/bootloaders.scm (qemu-minimal-2.10)[source]: Add patch.

6 years agognu: btrfs-progs: Update to 4.15.1, fix build, use invoke.
Mark H Weaver [Wed, 28 Mar 2018 06:02:43 +0000 (02:02 -0400)]
gnu: btrfs-progs: Update to 4.15.1, fix build, use invoke.

* gnu/packages/patches/btrfs-progs-e-value-block.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (btrfs-progs): Update to 4.15.1.
[arguments]: Use invoke.
[native-inputs]: Add grep.

6 years agognu: boost: Fix ICU support.
Mark H Weaver [Sun, 8 Apr 2018 18:40:00 +0000 (14:40 -0400)]
gnu: boost: Fix ICU support.

* gnu/packages/patches/boost-fix-icu-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/boost.scm (boost)[source]: Add the patch.
[arguments]: In the custom configure phase, pass --with-icu=[...]
to ./bootstrap.sh

6 years agognu: guile-rsvg: Restore custom bootstrap phase.
Mark H Weaver [Wed, 28 Mar 2018 06:17:37 +0000 (02:17 -0400)]
gnu: guile-rsvg: Restore custom bootstrap phase.

This fixes a regression introduced in commit
189be331acfda1c242a9c85fca8d2a0356742f48.

* gnu/packages/gtk.scm (guile-rsvg)[arguments]: Restore the custom bootstrap
phase that was in place prior to commit 189be33, but use invoke.

6 years agognu: python-pygobject: Use gcc-7.
Mark H Weaver [Thu, 29 Mar 2018 04:53:32 +0000 (00:53 -0400)]
gnu: python-pygobject: Use gcc-7.

* gnu/packages/glib.scm (python-pygobject)[native-inputs]: Add gcc-7.

6 years agognu: libqmi: Update to 1.20.0.
Mark H Weaver [Fri, 30 Mar 2018 01:46:00 +0000 (21:46 -0400)]
gnu: libqmi: Update to 1.20.0.

* gnu/packages/freedesktop.scm (libqmi): Update to 1.20.0.
[inputs]: Add libgudev.

6 years agoMerge branch 'master' into core-updates
Mark H Weaver [Tue, 10 Apr 2018 04:42:22 +0000 (00:42 -0400)]
Merge branch 'master' into core-updates

6 years agognu: chromaprint: Fix typo.
Leo Famulari [Mon, 9 Apr 2018 13:03:16 +0000 (09:03 -0400)]
gnu: chromaprint: Fix typo.

* gnu/packages/mp3.scm (chromaprint): Fix typo.

6 years agognu: retroarch: Update checksum.
Rutger Helling [Mon, 9 Apr 2018 09:24:59 +0000 (11:24 +0200)]
gnu: retroarch: Update checksum.

* gnu/packages/emulators.scm (retroarch): Update checksum.

6 years agognu: mgba: Update to 0.6.2.
Rutger Helling [Mon, 9 Apr 2018 07:13:14 +0000 (09:13 +0200)]
gnu: mgba: Update to 0.6.2.

* gnu/packages/emulators.scm (mgba): Update to 0.6.2.

6 years agognu: eyeD3: Update to 0.8.5.
Leo Famulari [Mon, 9 Apr 2018 04:38:06 +0000 (00:38 -0400)]
gnu: eyeD3: Update to 0.8.5.

* gnu/packages/mp3.scm (eyed3): Update to 0.8.5.
[source]: Use pypi-uri.
[propagated-inputs]: Add python-magic and python-pathlib.

6 years agognu: linux-libre: Add elfutils to native-inputs.
Mark H Weaver [Sun, 8 Apr 2018 01:00:59 +0000 (21:00 -0400)]
gnu: linux-libre: Add elfutils to native-inputs.

Suggested by Leo Famulari <leo@famulari.name>

* gnu/packages/linux.scm (make-linux-libre)[native-inputs]: Add elfutils.

6 years agognu: linux-libre: Add flex and bison to native-inputs.
Mark H Weaver [Sat, 7 Apr 2018 06:19:34 +0000 (02:19 -0400)]
gnu: linux-libre: Add flex and bison to native-inputs.

* gnu/packages/linux.scm (make-linux-libre)[native-inputs]: Add flex and
bison.

6 years agognu: linux-libre: Update to 4.15.16.
Mark H Weaver [Mon, 9 Apr 2018 04:27:43 +0000 (00:27 -0400)]
gnu: linux-libre: Update to 4.15.16.

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

6 years agognu: linux-libre@4.14: Update to 4.14.33.
Mark H Weaver [Mon, 9 Apr 2018 04:15:36 +0000 (00:15 -0400)]
gnu: linux-libre@4.14: Update to 4.14.33.

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

6 years agognu: linux-libre@4.9: Update to 4.9.93.
Mark H Weaver [Mon, 9 Apr 2018 04:14:28 +0000 (00:14 -0400)]
gnu: linux-libre@4.9: Update to 4.9.93.

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

6 years agognu: linux-libre@4.4: Update to 4.4.127.
Mark H Weaver [Mon, 9 Apr 2018 04:13:47 +0000 (00:13 -0400)]
gnu: linux-libre@4.4: Update to 4.4.127.

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

6 years agohydra: Fix uses of 'eval-when'.
Ludovic Courtès [Sun, 8 Apr 2018 22:00:58 +0000 (00:00 +0200)]
hydra: Fix uses of 'eval-when'.

* build-aux/hydra/gnu-system.scm: Use (expand load eval) in 'eval-when'
clause so as to not poison a cat and to ensure %load-compiled-path is
properly set when the 'use-modules' clauses are expanded.
* build-aux/hydra/guix.scm: Likewise.

6 years agognu: Add bear.
Fis Trivial [Fri, 6 Apr 2018 19:25:19 +0000 (19:25 +0000)]
gnu: Add bear.

* gnu/packages/build-tools.scm (bear): New public variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
6 years agognu: Add unittest-cpp.
Fis Trivial [Fri, 6 Apr 2018 19:31:47 +0000 (19:31 +0000)]
gnu: Add unittest-cpp.

* gnu/packages/check.scm (unittest-cpp): New public variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
6 years agognu: ghc-psqueues: Update to 0.2.6.0.
rsiddharth [Sun, 8 Apr 2018 14:07:59 +0000 (14:07 +0000)]
gnu: ghc-psqueues: Update to 0.2.6.0.

* gnu/packages/haskell.scm (ghc-psqueues): Update to 0.2.6.0.
[arguments]: Enable tests.
[home-page]: Update link.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
6 years agognu: gnurl: Update to version 7.59.0.
Nils Gillmann [Fri, 6 Apr 2018 11:09:43 +0000 (11:09 +0000)]
gnu: gnurl: Update to version 7.59.0.

* gnu/packages/gnunet.scm (gnurl): Update to version 7.59.0.
[source]: Add temporary second source at ftp.n0.is.

Signed-off-by: Nils Gillmann <ng0@n0.is>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
6 years agognu: Add emacs-pass.
Konrad Hinsen [Wed, 4 Apr 2018 18:16:09 +0000 (20:16 +0200)]
gnu: Add emacs-pass.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
6 years agognu: cobol: Download NIST suite over HTTPS.
Ludovic Courtès [Sun, 8 Apr 2018 20:32:27 +0000 (22:32 +0200)]
gnu: cobol: Download NIST suite over HTTPS.

Suggested by Simon Sobisch <simonsobisch@web.de>.

* gnu/packages/cobol.scm (gnucobol)[inputs]: Download "newcob" over HTTPS.

6 years agognu: vc: Do not optimize for the build machine CPU.
Marius Bakke [Sun, 8 Apr 2018 19:53:22 +0000 (21:53 +0200)]
gnu: vc: Do not optimize for the build machine CPU.

* gnu/packages/maths.scm (vc)[arguments]: Add "-DTARGET_ARCHITECTURE=none" to
  #:configure-flags.

6 years agognu: http-parser: Update to 2.8.1.
Marius Bakke [Sat, 7 Apr 2018 01:27:17 +0000 (03:27 +0200)]
gnu: http-parser: Update to 2.8.1.

* gnu/packages/web.scm (http-parser): Update to 2.8.1.

6 years agognu: libmbim: Update to 1.16.0.
Marius Bakke [Sat, 7 Apr 2018 00:11:50 +0000 (02:11 +0200)]
gnu: libmbim: Update to 1.16.0.

* gnu/packages/freedesktop.scm (libmbim): Update to 1.16.0.

6 years agognu: libotf: Update to 0.9.16.
Marius Bakke [Sat, 7 Apr 2018 00:11:29 +0000 (02:11 +0200)]
gnu: libotf: Update to 0.9.16.

* gnu/packages/fontutils.scm (libotf): Update to 0.9.16.

6 years agohydra: guix-modular: Honor the 'systems' argument.
Ludovic Courtès [Sun, 8 Apr 2018 20:07:47 +0000 (22:07 +0200)]
hydra: guix-modular: Honor the 'systems' argument.

* build-aux/hydra/guix-modular.scm (hydra-jobs)[systems]: Define as in
gnu-system.scm.
Honor SYSTEMS.

6 years agobuild-self: Add missing 'close-pipe' call.
Ludovic Courtès [Sun, 8 Apr 2018 19:11:37 +0000 (21:11 +0200)]
build-self: Add missing 'close-pipe' call.

* build-aux/build-self.scm (build): Call 'close-pipe'.

6 years agohydra: guix-modular: Explicitly build for the latest 2.2.
Ludovic Courtès [Sun, 8 Apr 2018 17:51:22 +0000 (19:51 +0200)]
hydra: guix-modular: Explicitly build for the latest 2.2.

* build-aux/hydra/guix-modular.scm (build-job): Pass #:guile-version to
'build'.

6 years agohydra: Clear '%load-compiled-path' for gnu-system.scm.
Ludovic Courtès [Sun, 8 Apr 2018 15:57:13 +0000 (17:57 +0200)]
hydra: Clear '%load-compiled-path' for gnu-system.scm.

On hydra.gnu.org GUILE_LOAD_COMPILED_PATH happened to be empty so we
were fine.  However on GuixSD with Cuirass, we could have a conflicting
non-empty path and .go files for some of the (guix …) and (gnu …)
modules would be taken from there.

* build-aux/hydra/gnu-system.scm: Set %load-compiled-path.

6 years agohydra: 'guix-modular' jobs use the new 'build-self'.
Ludovic Courtès [Thu, 29 Mar 2018 15:30:12 +0000 (17:30 +0200)]
hydra: 'guix-modular' jobs use the new 'build-self'.

* build-aux/hydra/guix-modular.scm: Remove 'eval-when' form that fiddled
with '%load-path'.
(build-job): Load 'build-aux/build-self.scm' and call the procedure it
returns.
* build-aux/hydra/evaluate.scm: The 'build-things' replacement no longer
calls 'exit'.

6 years agocuirass: Add job specs for the modular Guix.
Ludovic Courtès [Tue, 27 Mar 2018 07:48:16 +0000 (09:48 +0200)]
cuirass: Add job specs for the modular Guix.

* build-aux/cuirass/guix-modular.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.

6 years agocuirass: Factorize hydra-to-cuirass CI job translation.
Ludovic Courtès [Mon, 26 Mar 2018 21:11:16 +0000 (23:11 +0200)]
cuirass: Factorize hydra-to-cuirass CI job translation.

* build-aux/cuirass/gnu-system.scm: Move code to...
* build-aux/cuirass/hydra-to-cuirass.scm: ... here, and include it.
* Makefile.am (EXTRA_DIST): Add 'build-aux/cuirass/hydra-to-cuirass.scm'
and 'build-aux/cuirass/gnu-system.scm'.

6 years agodiscovery: Remove dependency on (guix ui).
Ludovic Courtès [Mon, 26 Mar 2018 21:42:59 +0000 (23:42 +0200)]
discovery: Remove dependency on (guix ui).

This reduces the closure of (guix discovery) from 28 to 8 modules.

* guix/discovery.scm (scheme-files): Use 'format' instead of 'warning'.
(scheme-modules): Add #:warn parameter.  Use it instead of
'warn-about-load-error'.
(fold-modules): Add #:warn and pass it to 'scheme-modules'.
(all-modules): Likewise.
* gnu/bootloader.scm (bootloader-modules): Pass #:warn to 'all-modules'.
* gnu/packages.scm (fold-packages): Likewise.
* gnu/services.scm (all-service-modules): Likewise.
* guix/upstream.scm (importer-modules): Likewise.

6 years agobuild: Add 'as-derivation' target.
Ludovic Courtès [Mon, 26 Mar 2018 20:17:40 +0000 (22:17 +0200)]
build: Add 'as-derivation' target.

* build-aux/compile-as-derivation.scm: New file.
* Makefile.am (as-derivation): New target.
(EXTRA_DIST): Add compile-as-derivation.scm.

6 years agobuild-self: Use (guix self).
Ludovic Courtès [Fri, 23 Mar 2018 16:18:15 +0000 (17:18 +0100)]
build-self: Use (guix self).

This mitigates <https://bugs.gnu.org/27284>.

* build-aux/build-self.scm (libgcrypt, zlib, gzip, bzip2, xz)
(false-if-wrong-guile, package-for-current-guile, guile-json)
(guile-ssh, guile-git, guile-bytestructures, matching-guile-2.2): Remove.
(%dependency-variables, %persona-variables, %config-variables): New
variables.
(make-config.scm, load-path-expression, gexp->script)
(build-program): New procedures.
(build): Rewrite to simply delegate to 'guix-derivation'.

6 years agoAdd (guix self).
Ludovic Courtès [Fri, 23 Mar 2018 14:36:12 +0000 (15:36 +0100)]
Add (guix self).

* guix/self.scm: New file.
* Makefile.am (MODULES): Add it.
* gnu/packages.scm (%distro-root-directory): Rewrite to try different
directories.
* guix/discovery.scm (guix): Export 'scheme-files'.

6 years agognu: Add 'guix-register'.
Ludovic Courtès [Sun, 8 Apr 2018 14:38:53 +0000 (16:38 +0200)]
gnu: Add 'guix-register'.

* gnu/packages/package-management.scm (guix-register): New variable.

6 years agogexp: 'directory-union' has a #:resolve-collision parameter.
Ludovic Courtès [Sun, 8 Apr 2018 14:22:25 +0000 (16:22 +0200)]
gexp: 'directory-union' has a #:resolve-collision parameter.

* guix/gexp.scm (directory-union): Add #:resolve-collision and honor it.

6 years agounion: Allow callers to choose the collision resolution policy.
Ludovic Courtès [Sun, 8 Apr 2018 13:47:11 +0000 (15:47 +0200)]
union: Allow callers to choose the collision resolution policy.

* guix/build/union.scm (warn-about-collision): New procedure.
(union-build): Add #:resolve-collision.
[resolve-collisions]: Call it.
* tests/union.scm ("union-build collision first & last"): New test.

6 years agomodules: Report the search path in &missing-dependency-error.
Ludovic Courtès [Tue, 3 Apr 2018 21:33:39 +0000 (23:33 +0200)]
modules: Report the search path in &missing-dependency-error.

* guix/modules.scm (&missing-dependency-error)[search-path]: New field.
(source-module-dependencies): Initialize the 'search-path' field.

6 years agotests: Skip 'pivot-root' test on Ubuntu's 4.4 kernels.
Ludovic Courtès [Thu, 5 Apr 2018 08:53:49 +0000 (10:53 +0200)]
tests: Skip 'pivot-root' test on Ubuntu's 4.4 kernels.

Fixes <https://bugs.gnu.org/25476>.
Reported by Paul Garlick <pgarlick@tourbillion-technology.com>
and Maria Sidorova <hydromasha@gmail.com>.

* tests/syscalls.scm ("pivot-root"): Skip on known-bad Ubuntu kernels.

6 years agognu: grammalecte: Fix build.
Nicolas Goaziou [Sun, 8 Apr 2018 14:18:18 +0000 (16:18 +0200)]
gnu: grammalecte: Fix build.

* gnu/packages/dictionaries.scm (grammalecte)[arguments]: Add phase to fix
  build script.

6 years agognu: grammalecte: Update to 0.6.3.1.
Nicolas Goaziou [Sun, 8 Apr 2018 07:13:53 +0000 (09:13 +0200)]
gnu: grammalecte: Update to 0.6.3.1.

* gnu/packages/dictionaries.scm (grammalecte): Update to 0.6.3.1.

6 years agognu: Add emacs-evil-anzu.
Sohom Bhattacharjee [Sat, 7 Apr 2018 18:06:31 +0000 (23:36 +0530)]
gnu: Add emacs-evil-anzu.

* gnu/packages/emacs.scm (emacs-evil-anzu): New variable.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
6 years agognu: git: Fix checksum patch in 'patch-tests'.
YOANN P [Tue, 3 Apr 2018 18:05:41 +0000 (18:05 +0000)]
gnu: git: Fix checksum patch in 'patch-tests'.

* gnu/packages/version-control.scm (git)[arguments]: In 'patch-tests'
phase, use %store-directory instead of '/gnu' to prevent tests failure
in case a custom store path is used.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
6 years agognu: miniupnpc: Update to 2.0.20180406.
Marius Bakke [Fri, 6 Apr 2018 14:09:29 +0000 (16:09 +0200)]
gnu: miniupnpc: Update to 2.0.20180406.

* gnu/packages/upnp.scm (miniupnpc): Update to 2.0.20180406.

6 years agognu: talloc: Update to 2.1.13.
Marius Bakke [Fri, 6 Apr 2018 14:09:06 +0000 (16:09 +0200)]
gnu: talloc: Update to 2.1.13.

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

6 years agognu: strace: Update to 4.22.
Marius Bakke [Fri, 6 Apr 2018 14:08:27 +0000 (16:08 +0200)]
gnu: strace: Update to 4.22.

* gnu/packages/linux.scm (strace): Update to 4.22.
[source](uri): Download from home page.

6 years agognu: ldc, bap: Build with Clang 3.8.
Marius Bakke [Thu, 5 Apr 2018 17:18:41 +0000 (19:18 +0200)]
gnu: ldc, bap: Build with Clang 3.8.

* gnu/packages/ldc.scm (ldc-bootstrap, ldc): Change LLVM and CLANG to LLVM-3.8
and CLANG-3.8.
* gnu/packages/ocaml.scm (bap)[native-inputs]: Change CLANG to CLANG-3.8.
[propagated-inputs, inputs]: Change LLVM to LLVM-3.8.

6 years agognu: llvm, clang: Update to 6.0.0.
Marius Bakke [Sat, 31 Mar 2018 20:04:44 +0000 (22:04 +0200)]
gnu: llvm, clang: Update to 6.0.0.

* gnu/packages/llvm.scm (llvm, clang-runtime, clang): Update to 6.0.0.
(clang-from-llvm)(patches): Set to empty list.
[arguments]: Adjust substitutions depending on major version.
(llvm-3.8, clang-runtime-3.8, clang-3.8): New public variables.
(clang-3.7, clang-3.6, clang-3.5)(patches): Add 'clang-3.5-libc-search-path.patch'.
(clang-3.9.1)(patches): Add 'clang-3.8-libc-search-path.patch'.
* gnu/packages/patches/clang-6.0-libc-search-path.patch: New file.
* gnu/packages/patches/clang-libc-search-path.patch: Rename to ...
* gnu/packages/patches/clang-3.5-libc-search-path.patch: ... this.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.

6 years agognu: sambamba: Update to 0.6.7-10-g223fa20.
Ricardo Wurmus [Fri, 6 Apr 2018 15:07:44 +0000 (17:07 +0200)]
gnu: sambamba: Update to 0.6.7-10-g223fa20.

* gnu/packages/bioinformatics.scm (sambamba)[source]: Fetch from git.
[arguments]: Disable parallel build; rename build phase "place-biod" to
"place-biod-and-undead"; add build phase "fix-ldc-version"; adjust phase
"unbundle-prerequisites".
[native-inputs]: Add python2-minimal; update biod sources; add undead sources.

6 years agognu: htslib-for-sambamba: Fix build.
Ricardo Wurmus [Fri, 6 Apr 2018 15:06:52 +0000 (17:06 +0200)]
gnu: htslib-for-sambamba: Fix build.

* gnu/packages/bioinformatics.scm (htslib-for-sambamba)[arguments]: Do not
inherit htslib arguments.

6 years agognu: tar: Skip racy tests.
Marius Bakke [Fri, 6 Apr 2018 13:22:24 +0000 (15:22 +0200)]
gnu: tar: Skip racy tests.

* gnu/packages/base.scm (tar)[arguments]: Skip two more tests in #:make-flags.

6 years agognu: certbot: Update to 0.23.0.
Leo Famulari [Thu, 5 Apr 2018 16:50:34 +0000 (12:50 -0400)]
gnu: certbot: Update to 0.23.0.

* gnu/packages/tls.scm (certbot, python-acme): Update to 0.23.0.

6 years agognu: make-bootstrap: Inherit tar arguments in %static-inputs.
Marius Bakke [Thu, 5 Apr 2018 21:42:26 +0000 (23:42 +0200)]
gnu: make-bootstrap: Inherit tar arguments in %static-inputs.

* gnu/packages/make-bootstrap.scm (%static-inputs)[tar]: Use
SUBSTITUTE-KEYWORD-ARGUMENTS so #:make-flags are inherited.

6 years agognu: Add java-native-access-platform.
Julien Lepiller [Wed, 14 Mar 2018 17:22:04 +0000 (18:22 +0100)]
gnu: Add java-native-access-platform.

* gnu/packages/java.scm (java-native-access-platform): New variable.

6 years agognu: Add java-native-access.
Julien Lepiller [Wed, 14 Mar 2018 17:16:28 +0000 (18:16 +0100)]
gnu: Add java-native-access.

* gnu/packages/java.scm (java-native-access): New variable.

6 years agognu: Add java-jakarta-oro.
Julien Lepiller [Wed, 14 Mar 2018 15:25:50 +0000 (16:25 +0100)]
gnu: Add java-jakarta-oro.

* gnu/packages/java.scm (java-jakarta-oro): New variable.

6 years agognu: Add java-commons-vfs.
Julien Lepiller [Wed, 14 Mar 2018 15:18:32 +0000 (16:18 +0100)]
gnu: Add java-commons-vfs.

* gnu/packages/java.scm (java-commons-vfs): New variable.

6 years agognu: Add java-commons-httpclient.
Julien Lepiller [Wed, 14 Mar 2018 15:18:08 +0000 (16:18 +0100)]
gnu: Add java-commons-httpclient.

* gnu/packages/java.scm (java-commons-httpclient): New variable.