Commit graph

33823 commits

Author SHA1 Message Date
Brendan Tildesley
56e533929f
gnu: libgaiagraphics: Fix typo.
* gnu/packages/geo.scm: (libgaiagraphics)[inputs]: Fix typo.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-07-20 15:34:57 -04:00
Leo Famulari
5dc53092c6
gnu: vdirsyncer: Update to 0.16.7.
* gnu/packages/dav.scm (vdirsyncer): Update to 0.16.7.
2018-07-20 15:30:22 -04:00
Ludovic Courtès
264967c883
install: Add service for the loopback device.
Lack of a loopback device prevented the system from building starting
from commit 363c946b36.

* gnu/system/install.scm (%installation-services): Add
'static-networking-service-type' instance for 'lo'.
2018-07-20 18:03:11 +02:00
Marius Bakke
eb9c0d20f9
gnu: ffmpeg: Update to 4.0.2.
* gnu/packages/video.scm (ffmpeg): Update to 4.0.2.
2018-07-20 17:08:13 +02:00
Marius Bakke
0a08ea2a50
gnu: ffmpeg@3.4: Update to 3.4.4.
* gnu/packages/video.scm (ffmpeg-3.4): Update to 3.4.4.
2018-07-20 17:08:12 +02:00
Marius Bakke
134189e26f
gnu: feh: Update to 2.27.1.
* gnu/packages/image-viewers.scm (feh): Update to 2.27.1.
2018-07-20 17:08:12 +02:00
Ludovic Courtès
e475211869
database: Reset timestamps to one second after the Epoch.
Previously, store items registered in the database by this code (for
instance, store items retrieved by 'guix offload' and passed to
'restore-file-set') would have an mtime of 0 instead of 1.

This would cause problems for things like .go files: Guile would
consider them to be older than the corresponding .scm file, and
consequently it would ignore them and possibly use another (incorrect)
.go file.

Reported by Ricardo Wurmus.

* guix/store/database.scm (reset-timestamps): Pass 1, not 0, to
'utime'.
* tests/store-database.scm ("register-path"): Check the mtime of FILE
and REF.
2018-07-20 15:01:33 +02:00
Ludovic Courtès
4f89a8eec6
deduplication: Work around Guile bug in 'seek'.
Fixes <https://bugs.gnu.org/32161>.
Reported by Ricardo Wurmus <rekado@elephly.net>.

This mostly reverts 83099892e0.

* guix/store/deduplication.scm (counting-wrapper-port): New procedure.
(nar-sha256): Use it.
2018-07-20 15:01:33 +02:00
Andreas Enge
a2662bfe9c
gnu: gp2c: Update to 0.0.11.
* gnu/packages/algebra.scm (gp2c): Update to 0.0.11.
2018-07-20 10:45:54 +02:00
Andreas Enge
03d5f73e96
gnu: pari-gp: Update to 2.11.0.
* gnu/packages/algebra.scm (pari-gp): Update to 2.11.0.
2018-07-20 10:44:21 +02:00
Leo Famulari
82549f2328
build-system/go: Use invoke instead of system*.
* guix/build/go-build-system.scm (unpack, build): Use invoke.
(install-source): Unconditionally return #t.
(check): Use invoke and unconditionally return #t.
2018-07-19 19:12:54 -04:00
Marius Bakke
1d3de97967
gnu: libgc: Update to 7.6.6.
* gnu/packages/bdw-gc.scm (libgc): Update to 7.6.6.
[source](uri): Change to the new download location, as noted on the home page.
2018-07-19 23:25:06 +02:00
Marius Bakke
ebd551705c
gnu: fftw: Update to 3.3.8.
* gnu/packages/algebra.scm (fftw): Update to 3.3.8.
2018-07-19 23:25:05 +02:00
Andreas Enge
6f88285ab1
gnu: bitcoin-core: Update to 0.16.1.
* gnu/packages/finance.scm (bitcoin-core): Update to 0.16.1.
2018-07-19 23:22:36 +02:00
Julien Lepiller
fbf9274b94
gnu: php: Update to 7.2.8.
* gnu/packages/php.scm (php): Update to 7.2.8.
2018-07-19 21:29:41 +02:00
Efraim Flashner
e9ab4b40a8
gnu: busybox: Update to 1.29.1.
* gnu/packages/busybox.scm (busybox): Update to 1.29.1.
[arguments]: Add custom phase to change the default value of TASKSET.
2018-07-19 21:29:14 +03:00
Ludovic Courtès
83099892e0
deduplication: Remove 'counting-wrapper-port'.
* guix/store/deduplication.scm (counting-wrapper-port): Remove.
(nar-sha256): Call 'port-position' directly on PORT.
2018-07-19 17:12:48 +02:00
Ludovic Courtès
c71cd4a61f
hash: sha256 port now implements 'port-position'.
* guix/hash.scm (open-sha256-port)[position]: New variable.
[get-position]: New procedure.
Pass it to 'make-custom-binary-output-port'.
* tests/hash.scm ("open-sha256-port, hello"): Test 'port-position'.
2018-07-19 17:08:53 +02:00
Ludovic Courtès
f5db54eaa5
self: Use the new 'imported-files'.
That way, the source of most nodes is now a content-addressed store item
instead of a derivation.

* guix/self.scm (<file-mapping>): New record type.
(file-mapping-compiler): New procedure.
(scheme-node): Use 'file-mapping' instead of 'imported-files'.
(imported-files): Remove.
2018-07-19 11:48:04 +02:00
Ludovic Courtès
e529d46828
gexp: 'imported-files/derivation' can copy files instead of symlinking.
* guix/gexp.scm (imported-files/derivation): Add #:symlink? and honor
it.
(imported-files): Pass #:symlink? to 'imported-files/derivation'.
* tests/gexp.scm ("imported-files with file-like objects"): Add 'file=?'
and use it instead of calling 'readlink'.
2018-07-19 11:48:04 +02:00
Ludovic Courtès
8df2eca6b0
gexp: 'imported-files' no longer creates a derivation by default.
* guix/gexp.scm (gexp->derivation): Add #:import-creates-derivation?.
Pass #:derivation? to 'imported-modules' and 'compiled-modules'.  In -L
argument, check whether MODULES is a derivation.
(%not-slash): New variable.
(file-mapping->tree): New procedure.
(imported-files): Rename to...
(imported-files/derivation): ... this.
(imported-files): New procedure.  Rewrite in terms of
'interned-file-tree' when possible; add #:derivation? parameter.
(imported-modules, compiled-modules): Add #:derivation? parameter and
pass it to 'imported-files'.
* guix/packages.scm (patch-and-repack): Pass
 #:import-creates-derivation? to 'gexp->derivation'.
* tests/gexp.scm ("imported-files"): Adjust to no longer expect a
derivation.
2018-07-19 11:48:04 +02:00
Ludovic Courtès
4d20d87b53
gexp: Remove unnecessary 'mlet'.
* guix/gexp.scm (imported-modules): Use 'let' instead of 'mlet'.
2018-07-19 11:48:04 +02:00
Ludovic Courtès
7f11efbac7
store: Add 'add-file-tree-to-store'.
* guix/store.scm (%not-slash): New variable.
(add-file-tree-to-store, interned-file-tree): New procedures.
* tests/store.scm ("add-file-tree-to-store"): New test.
2018-07-19 11:48:04 +02:00
Ludovic Courtès
b94b698d4e
serialization: Add 'write-file-tree'.
* guix/serialization.scm (write-contents-from-port): New procedure.
(write-contents): Write in terms of 'write-contents-from-port'.
(filter/sort-directory-entries, write-file-tree): New procedures.
(write-file): Rewrite in terms of 'write-file-tree'.
* tests/nar.scm ("write-file-tree + restore-file"): New test.
2018-07-19 11:48:04 +02:00
Eric Brown
ec83abad85
gnu: Add r-txtplot.
* gnu/packages/statistics.scm (r-txtplot): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-07-19 11:47:21 +02:00
Rouby Pierre-Antoine
d4c06f3280
gnu: julia: Fix 'llvm' version.
Fixes a build failure with LLVM 6.0.x.

* gnu/packages/julia.scm (julia)[inputs]: Use LLVM-3.9.1 instead of
LLVM.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-07-19 11:46:43 +02:00
Mark H Weaver
7da1db5b57
gnu: linux-libre: Update to 4.17.8.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.17.8.
(%linux-libre-hash): Update hash.
(linux-libre): Remove patch.
2018-07-18 22:14:39 -04:00
Leo Famulari
324c049ff6
gnu: VLC: Update to 3.0.3-1 [fixes CVE-2018-11529].
* gnu/packages/video.scm (vlc): Update to 3.0.3-1.
2018-07-18 19:50:09 -04:00
Marius Bakke
50849734e9
gnu: pcre: Install static libraries to separate output.
* gnu/packages/pcre.scm (pcre)[outputs]: Add "static".
[arguments]: Add 'move-static-libs' phase.
2018-07-19 00:53:10 +02:00
Marius Bakke
6c4709889c
gnu: binutils: Update to 2.31.1.
* gnu/packages/base.scm (binutils): Update to 2.31.1.
(binutils/fixed): Remove variable
* gnu/packages/linux.scm (make-linux-libre): Remove AArch64 workaround.
* gnu/packages/patches/binutils-aarch64-symbol-relocation.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2018-07-19 00:52:22 +02:00
Marius Bakke
45719c1dfb
gnu: bzip2: Add static output.
* gnu/packages/compression.scm (bzip2)[arguments]: Add phase for moving static
library.
[outputs]: New field.
2018-07-19 00:52:21 +02:00
Marius Bakke
5212c52ce5
gnu: bzip2: Simplify phase.
* gnu/packages/compression.scm (bzip2)[arguments]: Use SCANDIR instead of
FIND-FILES when locating the shared library.
2018-07-19 00:52:21 +02:00
Julien Lepiller
363c946b36
gnu: services: Fix openssh service start error.
* gnu/services/ssh.scm (openssh-shepherd-service): Require loopback.
2018-07-18 21:17:15 +02:00
Mark H Weaver
46978ff64f
gnu: linux-libre: Update to 4.17.7.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.17.7.
(%linux-libre-hash): Update hash.
(linux-libre)[source]: Add upstream patch to fix i686.
2018-07-18 13:55:47 -04:00
Leo Famulari
16c0902587
gnu: httpd: Update to 2.4.34 [fixes CVE-2018-{1333,8011}].
* gnu/packages/web.scm (httpd): Update to 2.4.34.
2018-07-18 13:34:02 -04:00
Leo Famulari
770d1f2464
gnu: znc: Update to 1.7.1 [fixes CVE-2018-{14055,14056}].
* gnu/packages/messaging.scm (znc): Update to 1.7.1.
2018-07-18 13:32:24 -04:00
Rouby Pierre-Antoine
661e8a62f7
gnu: Add emacs-rust-mode.
* gnu/packages/emacs.scm (emacs-rust-mode): New variable.

Signed-off-by: Kei Kebreau <kkebreau@posteo.net>
2018-07-18 11:38:22 -04:00
Mark H Weaver
208df8ba8a
gnu: linux-libre@4.14: Update to 4.14.56.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.56.
(%linux-libre-4.14-hash): Update hash.
2018-07-18 00:24:01 -04:00
Mark H Weaver
431936f22a
gnu: linux-libre@4.9: Update to 4.9.113.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.113.
2018-07-18 00:23:16 -04:00
Mark H Weaver
06f06142a3
gnu: linux-libre@4.4: Update to 4.4.141.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.141.
2018-07-18 00:22:24 -04:00
Kei Kebreau
348edd91ef
gnu: Add openbabel.
* gnu/packages/chemistry.scm (openbabel): New variable.
2018-07-17 20:53:57 -04:00
Leo Famulari
a1e3da63cb
gnu: ghostscript: Fix CVE-2018-10194.
* gnu/packages/ghostscript.scm (ghostscript)[replacement]: New field.
(ghostscript/fixed): New variable.
* gnu/packages/patches/ghostscript-CVE-2018-10194.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-07-17 20:44:52 -04:00
Leo Famulari
276598b69b
gnu: certbot, python-acme: Update to 0.26.1.
* gnu/packages/tls.scm (certbot, python-acme): Update to 0.26.1.
2018-07-17 20:44:52 -04:00
Leo Famulari
d212b9d4d0
gnu: CUPS: Update to 2.2.8 [fixes CVE-2018-{4180,4181}].
* gnu/packages/cups.scm (cups-minimal)[replacement]: New field.
(cups-minimal-2.2.8): New variable.
(cups): Use package/inherit.
2018-07-17 20:44:48 -04:00
Marius Bakke
b8b15ea0e9
gnu: whois: Update to 5.3.2.
* gnu/packages/networking.scm (whois): Update to 5.3.2.
2018-07-18 01:04:15 +02:00
Marius Bakke
1a149de748
gnu: rng-tools: Update to 6.3.1.
* gnu/packages/linux.scm (rng-tools): Update to 6.3.1.
2018-07-18 01:04:15 +02:00
Marius Bakke
7c9e27e8b6
gnu: ffmpeg@2.8: Update to 2.8.15.
* gnu/packages/video.scm (ffmpeg-2.8): Update to 2.8.15.
2018-07-18 01:04:15 +02:00
Marius Bakke
ac83cf22c2
gnu: Add bsdiff.
* gnu/packages/compression.scm (bsdiff): New public variable.
2018-07-18 01:04:15 +02:00
Marius Bakke
67c127c9cb
gnu: sfml: Remove all bundled dependencies.
* gnu/packages/game-development.scm (sfml)[source](snippet): New field.
[inputs]: Add STB-IMAGE and STB-IMAGE-WRITE.
2018-07-18 01:04:14 +02:00
Marius Bakke
ecb1194bbc
gnu: Add stb-image-write.
* gnu/packages/stb.scm (stb-image-write): New public variable.
2018-07-18 01:04:14 +02:00