Mathieu Othacehe
e224820386
bootloader: Factorize write-file-on-device.
...
* gnu/bootloader/extlinux.scm (install-extlinux): Factorize bootloader
writing in a new procedure write-file-on-device defined in (gnu build
bootloader).
* gnu/build/bootloader.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add new file.
* gnu/system/vm.scm (qemu-img): Adapt to import and use (gnu build bootloader)
module during derivation building.
* gnu/scripts/system.scm (bootloader-installer-derivation): Ditto.
2017-12-15 11:52:38 +01:00
Mathieu Othacehe
acf54bca22
vm: Adapt qemu command to ARM.
...
* gnu/build/vm.scm (load-in-linux-vm): New argument #:target-arm32.
Use it to adapt command for qemu-system-arm. This implies to choose a
machine ("virt"), use the correct console port "ttyAMA0", disable KVM use
that is buggy on some ARM boards (Odroid XU4 for example) and use user mode
network stack instead of NIC. Gather all those options in a new variable
"arch-specific-flags".
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Pass
to load-in-linux-vm "#:target-arm32?" argument.
2017-12-15 11:44:29 +01:00
Oleg Pykhalov
dfb403b053
doc: Fix typo.
...
* doc/guix.texi (DNS Services): Fix knot-configuration.
2017-12-15 12:47:28 +03:00
Ben Woodcroft
86637f18be
gnu: ruby: Replace with ruby-2.4.3 [fixes CVE-2017-17405].
...
* gnu/packages/ruby.scm (ruby-2.4.3): New variable.
(ruby)[replacement]: New field.
2017-12-15 13:56:51 +10:00
Ben Woodcroft
6098a386a9
gnu: bedtools: Update to 2.27.1.
...
* gnu/packages/ruby.scm (bedtools): Update to 2.27.1.
2017-12-15 13:56:51 +10:00
Ben Woodcroft
263c56d293
gnu: ruby-2.2: Update to 2.2.9 [fixes CVE-2017-17405].
...
* gnu/packages/ruby.scm (ruby-2.2): Update to 2.2.9.
2017-12-15 13:56:51 +10:00
Ben Woodcroft
2713e399ee
gnu: ruby-2.3: Update to 2.3.6 [fixes CVE-2017-17405].
...
* gnu/packages/ruby.scm (ruby-2.3): Update to 2.3.6.
2017-12-15 13:56:50 +10:00
Ricardo Wurmus
86383d6746
gnu: yoshimi: Update to 1.5.5.
...
* gnu/packages/music.scm (yoshimi): Update to 1.5.5.
2017-12-15 00:00:34 +01:00
Ricardo Wurmus
1bc147d609
guix: ant-build-system: Do not compress jars.
...
Fixes <https://bugs.gnu.org/29700 >.
* guix/build/ant-build-system.scm (strip-jar-timestamps): Do not compress jar
when repacking.
2017-12-15 00:00:34 +01:00
ng0
e536b1d308
gnu: s-shell: Update to commit da2e5c20c0c5f477ec3426dc2584889a789b1659.
...
* gnu/packages/shells.scm (s-shell): Update to commit da2e5c20c0c5f477ec3426dc2584889a789b1659.
[version]: Use 'git-version'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-12-14 18:26:25 +01:00
Rutger Helling
a0ec2d256d
gnu: xpra: Update to 2.2.
...
* gnu/packages/xorg.scm (xpra): Update to 2.2.
[inputs]: Add python2-netifaces and python2-pyopengl-accelerate. Fix
position of commas.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-12-14 18:26:25 +01:00
Rutger Helling
97c26793d9
gnu: Add python2-pyopengl-accelerate.
...
* gnu/packages/python.scm (python2-pyopengl-accelerate): New variable.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2017-12-14 18:26:25 +01:00
Ben Woodcroft
8a6cd65a2a
gnu: python-scikit-learn: Patch test non-determinism.
...
* gnu/packages/patches/python-scikit-learn-fix-test-non-determinism.patch:
New file.
* gnu/packages/machine-learning.scm (python-scikit-learn)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2017-12-14 22:50:19 +10:00
Ben Woodcroft
4e0b3583ea
gnu: diamond: Update to 0.9.14.
...
* gnu/packages/bioinformatics.scm (diamond): Update to 0.9.14.
2017-12-14 22:50:10 +10:00
Andy Wingo
aa29f8fb02
gnu: gucharmap: Use glib-or-gtk-build-system.
...
* gnu/packages/gnome.scm (gucharmap): Use glib-or-gtk-build-system.
2017-12-14 11:09:26 +01:00
Leo Famulari
35e86e3605
gnu: Erlang: Update to 20.1.7 [fixes CVE-2017-1000385].
...
* gnu/packages/erlang.scm (erlang): Update to 20.1.7
(native-inputs): Use version-major+minor in the URI of erlang-manpages.
2017-12-13 19:51:00 -05:00
Tobias Geerinckx-Rice
4a699769fd
gnu: youtube-dl: Update to 2017.12.14.
...
* gnu/packages/video.scm (youtube-dl): Update to 2017.12.14.
2017-12-14 00:18:16 +01:00
Tobias Geerinckx-Rice
a135b3ddfe
gnu: r-caret: Update to 6.0-78.
...
* gnu/packages/statistics.scm (r-caret): Update to 6.0-78
2017-12-14 00:18:16 +01:00
Tobias Geerinckx-Rice
5ac4bd9c0a
gnu: r-domc: Update to 1.3.5.
...
* gnu/packages/statistics.scm (r-domc): Update to 1.3.5
2017-12-14 00:18:15 +01:00
Tobias Geerinckx-Rice
a2460e0f6b
gnu: perl-text-bibtex: Update to 0.85.
...
* gnu/packages/tex.scm (perl-text-bibtex): Update to 0.85
2017-12-14 00:18:15 +01:00
Tobias Geerinckx-Rice
1d1f1b3a6e
gnu: perl-test-requires: Update to 0.10.
...
* gnu/packages/perl-check.scm (perl-test-requires): Update to 0.10
2017-12-14 00:18:14 +01:00
Tobias Geerinckx-Rice
9210fdf8b7
gnu: perl-test-pod: Update to 1.51.
...
* gnu/packages/perl-check.scm (perl-test-pod): Update to 1.51
[source]: Update URI.
2017-12-14 00:17:39 +01:00
Tobias Geerinckx-Rice
ab998d5e93
gnu: perl-test-mocktime: Update to 0.15.
...
* gnu/packages/perl-check.scm (perl-test-mocktime): Update to 0.15
[propagated-inputs]: Add perl-time-piece.
2017-12-14 00:05:15 +01:00
Tobias Geerinckx-Rice
da43edbe0f
gnu: Add perl-time-piece.
...
* gnu/packages/perl.scm (perl-time-piece): New public variable.
2017-12-14 00:05:15 +01:00
Ludovic Courtès
e2e6e9ebf0
hydra: Pre-load the compiler.
...
Starting from Guile 2.2.3, '%fresh-auto-compile' does what it says and
would auto-compile everything, including the compiler (see
<https://bugs.gnu.org/29226 >).
* build-aux/hydra/gnu-system.scm: Call 'compile'.
2017-12-13 23:11:54 +01:00
Ludovic Courtès
34797d8afc
hydra: Invalidate derivation caches after each architecture evaluation.
...
This reduces max RSS from 1.3G to 1.0G.
* guix/derivations.scm (invalidate-derivation-caches!): New procedure.
* build-aux/hydra/gnu-system.scm (hydra-jobs): Use it. Add 'format'
call.
2017-12-13 23:11:53 +01:00
Ludovic Courtès
d1f01e4845
memoization: Add 'invalidate-memoization!.
...
* guix/memoization.scm (%make-hash-table*): When not profiling, add the
new table to %MEMOIZATION-TABLES.
(invalidate-memoization!): New procedure.
2017-12-13 23:11:53 +01:00
Ludovic Courtès
90354e34e3
derivations: Don't memoize 'derivation-hash'.
...
This has little or no run-time impact and slightly reduces the memory
footprint.
* guix/derivations.scm (derivation-hash): Replace 'mlambda' with
'lambda'.
2017-12-13 23:11:53 +01:00
Ludovic Courtès
eb1150c22c
derivations: Split 'derivation-hash' in two procedures.
...
* guix/derivations.scm (derivation/masked-inputs): New procedure.
(derivation-hash): Use it instead of the inline code.
2017-12-13 23:11:53 +01:00
Arun Isaac
d738f134e4
gnu: notmuch: Move elisp directory and generate autoloads.
...
* gnu/packages/mail.scm (notmuch)[arguments]: Move elisp files to
share/emacs/site-lisp/guix.d/notmuch-<version>.
Add make-autoloads phase.
2017-12-13 23:49:14 +05:30
Ludovic Courtès
cc6a4b0386
pull: Add (guix profiling) to the build environment.
...
Reported by Ricardo Wurmus.
* build-aux/build-self.scm (build): Add (guix profiling).
2017-12-13 17:16:40 +01:00
Ludovic Courtès
22358bdb7c
Revert "derivations: 'derivation-hash' assumes inputs are coalesced."
...
This reverts commit 1d008d9f8c
.
Reported by Rutger Helling <rhelling@mykolab.com>.
Fixes <https://bugs.gnu.org/29689 >.
2017-12-13 15:13:38 +01:00
Tobias Geerinckx-Rice
c2c5b115ab
gnu: polyml: Update to 5.7.1.
...
* gnu/packages/sml.scm (polyml): Update to 5.7.1.
2017-12-13 14:18:51 +01:00
Tobias Geerinckx-Rice
4168ddf689
gnu: guile-gdbm-ffi: Install documentation.
...
* gnu/packages/guile.scm (guile-gdbm-ffi)[arguments]: Install README.md and
some examples. Tidy up MKDIR-P calls.
2017-12-13 13:15:47 +01:00
Tobias Geerinckx-Rice
57202f2e24
gnu: gtksourceview: Update to 3.24.6.
...
* gnu/packages/gtk.scm (gtksourceview): Update to 3.24.6
2017-12-13 13:15:47 +01:00
Mathieu Othacehe
7b307a21dd
vm: Use qemu drive device parameter.
...
* gnu/build/vm.scm (load-in-linux-vm): Use device parameter to define drive
device.
2017-12-13 11:30:04 +01:00
Oleg Pykhalov
91b21ba9f7
gnu: cgit: Patch absolute file names.
...
* gnu/packages/version-control.scm (cgit): Patch absolute file names.
2017-12-13 05:15:21 +03:00
Mark Meyer
40761f57ad
gnu: Add krita.
...
* gnu/packages/kde.scm (krita): New variable.
Signed-off-by: Kei Kebreau <kkebreau@posteo.net>
2017-12-12 21:00:27 -05:00
Tobias Geerinckx-Rice
27c50d87f5
doc: Fix typo.
...
* doc/guix.texi: Add missing ‘@*’ to copyright headers.
2017-12-12 22:35:37 +01:00
Tobias Geerinckx-Rice
a7ebe9dc39
gnu: xfig: Update to 3.2.6a.
...
* gnu/packages/xfig.scm (xfig): Update to 3.2.6a.
[native-inputs]: Remove groff, imake, makedepend. Add desktop-file-utils.
[inputs]: Remove libxmu and zlib.
[arguments]: Remove custom phases. Add a ‘strip-bogus-exec-prefix’ phase.
Run the rudimentary test suite.
2017-12-12 22:34:29 +01:00
nee
64bae7237c
gnu: services: Add php-fpm.
...
* gnu/services/web.scm (<php-fpm-configuration>,
<php-fpm-process-manager-configuration>): New record types.
(php-fpm-configuration?,
php-fpm-process-manager-configuration?,
php-fpm-service-type,
nginx-php-location): New procedures.
* doc/guix.texi (Web-Services): Document php-fpm service.
* gnu/tests/web.scm: Add php-fpm system test.
Signed-off-by: Christopher Baines <mail@cbaines.net>
2017-12-12 21:29:39 +00:00
Tobias Geerinckx-Rice
e05cc6b802
gnu: meson: Update to 0.44.0.
...
* gnu/packages/build-tools.scm (meson): Update to 0.44.0
2017-12-12 20:30:19 +01:00
Tobias Geerinckx-Rice
1e000f176f
gnu: miniupnpc: Update to 2.0.20171212.
...
* gnu/packages/upnp.scm (miniupnpc): Update to 2.0.20171212.
2017-12-12 20:28:08 +01:00
Efraim Flashner
cbf5eb84ef
gnu: global: Update to 6.6.
...
* gnu/packages/code.scm (global): Update to 6.6.
2017-12-12 20:47:17 +02:00
Ludovic Courtès
1d008d9f8c
derivations: 'derivation-hash' assumes inputs are coalesced.
...
* guix/derivations.scm (derivation-hash): Remove
redundant 'coalesce-duplicate-inputs' call.
2017-12-12 18:11:22 +01:00
Ludovic Courtès
3d19b7fbc2
derivations: Use 'define-immutable-record-type' as appropriate.
...
This is a followup to dc673fa113
.
* guix/derivations.scm (<derivation-output>, <derivation-input>): Use
'define-immutable-record-type'.
2017-12-12 18:11:22 +01:00
Ludovic Courtès
6c80641d54
memoization: Profiling support keeps track of lookups and hits.
...
* guix/memoization.scm (<cache>): New record type.
(define-lookup-procedure, define-update-procedure): New macros.
(cache-ref, cacheq-ref, cache-set!, cacheq-set!): New procedures.
(cached/mv, cachedq/mv, cached, cachedq): Use them instead of 'hash-ref'
and 'hash-set!'.
(%make-hash-table*): When 'profiled?' returns true, return a <cache>
object.
(define-cache-procedure): Adjust to show cache lookups and hits.
2017-12-12 18:11:22 +01:00
Ludovic Courtès
252c408377
memoization: Add profiling support.
...
* guix/memoization.scm (%memoization-tables): New variable.
(%make-hash-table*, show-memoization-tables): New procedures.
(make-hash-table*): New macro.
Add top-level call to 'register-profiling-hook!'.
(memoize): Adjust to pass the resulting procedure to
'make-hash-table*'.
(%mlambda): Likewise.
2017-12-12 18:11:22 +01:00
Ludovic Courtès
03870da819
Add (guix profiling).
...
* guix/profiling.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/store.scm (record-operation): Use 'profiled?' and
'register-profiling-hook!'.
2017-12-12 18:11:22 +01:00
Tobias Geerinckx-Rice
6e119bad60
gnu: xfig, transfig: Update home pages.
...
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Use SourceForge.net.
2017-12-12 05:12:14 +01:00