Commit Graph

45858 Commits

Author SHA1 Message Date
Marius Bakke 6661b025a6
gnu: openssl@1.0: Update to 1.0.2s.
* gnu/packages/tls.scm (openssl-1.0): Update to 1.0.2s.
2019-07-02 20:13:03 +02:00
Marius Bakke 5f3f703918
gnu: glibc: Update to 2.29.
* gnu/packages/patches/glibc-bootstrap-system.patch,
gnu/packages/patches/glibc-supported-locales.patch: Adjust for glibc 2.29.
* gnu/packages/patches/glibc-2.28-supported-locales.patch,
gnu/packages/patches/glibc-CVE-2019-7309.patch,
gnu/packages/patches/glibc-CVE-2019-9169.patch,
gnu/packages/patches/glibc-2.29-git-updates.patch: New files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/base.scm (glibc): Update to 2.29.
[source](patches): Add 'glibc-CVE-2019-7309.patch',
'glibc-CVE-2019-9169.patch', and 'glibc-2.29-git-updates.patch'.  Remove
'glibc-hurd-magic-pid.patch'.
[native-inputs]: Add PYTHON-MINIMAL.
(glibc-2.28): New public variable.
* gnu/packages/commencement.scm (expat-sans-tests, python-boot0): New variables.
(glibc-final-with-bootstrap-bash)[native-inputs]: Add PYTHON-BOOT0.
* gnu/packages/python.scm (python-3.7)[arguments]: Disable test that fails
with glibc 2.29.
2019-07-02 16:45:17 +02:00
Marius Bakke 1290855490
gnu: linux-libre-headers: Update to 4.19.56.
* gnu/packages/linux.scm (linux-libre-headers-4.14.67): Rename to ...
(linux-libre-headers-4.19.56): ... this.  Adjust hash accordingly.
(linux-libre-headers): Set to LINUX-LIBRE-HEADERS-4.19.56.
* gnu/packages/commencement.scm (linux-libre-headers-boot0)[native-inputs]:
Add FLEX-BOOT0 and BISON-BOOT0.
2019-07-02 01:06:31 +02:00
Marius Bakke 742f2deaa3
gnu: commencement: Remove outdated comment.
* gnu/packages/commencement.scm (bison-boot0): Remove bash comment, which is
no longer accurate.
2019-07-02 01:06:31 +02:00
Marius Bakke e27916274c
gnu: libuninameslist: Update to 20190701.
* gnu/packages/fontutils.scm (libuninameslist): Update to 20190701.
2019-07-02 01:06:31 +02:00
Marius Bakke 3730e3c64e
gnu: gettext: Update to 0.20.1.
* gnu/packages/gettext.scm (gettext-minimal): Update to 0.20.1.
[source](snippet): Remove.
[inputs]: Remove EXPAT.  Add LIBUNISTRING, LIBXML2, and NCURSES.
[arguments]: Add #:configure-flags and a "patch-fixed-paths" phase.  Delete
"link-expat" phase.
* gnu/packages/commencement.scm (gettext-boot0): Stay on version 0.19.8.1.
[arguments]: Adjust accordingly.

Co-authored-by: Miguel <rosen644835@gmail.com>
2019-07-02 01:06:31 +02:00
Marius Bakke f16a866f74
gnu: bootstrap-tarballs: Don't include the native Mes when cross-compiling.
* gnu/packages/make-bootstrap.scm (%bootstrap-tarballs)[inputs]: Check
%CURRENT-TARGET-SYSTEM when deciding whether to use the reduced binary seeds.
2019-07-02 01:06:31 +02:00
Marius Bakke 25a54eb04d
gnu: make-bootstrap: Adjust for GCC 7.
* gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc)[native-inputs]:
Add SEARCH-PATHS to CROSS-GCC, and NATIVE-SEARCH-PATHS to the native GCC.
2019-07-02 01:06:31 +02:00
Marius Bakke 7c836efacc
gnu: make-bootstrap: Restore cross-compilation workarounds.
These workarounds were removed in cf82643647 and
218eb6e611, but were needed for %BOOTSTRAP-TARBALLS.

* gnu/packages/make-bootstrap.scm (%static-inputs)[coreutils, tar]: Add
<#:configure-flags>.
2019-07-02 01:06:30 +02:00
Marius Bakke 209214aaef
gnu: make-bootstrap: Remove obsolete header file.
* guix/build/make-bootstrap.scm (copy-linux-headers): Do not install 'a.out.h'.
2019-07-02 01:06:30 +02:00
Ludovic Courtès 8aaf42c037
gnu: guile-static-stripped: Adjust patches for 2.2.6.
* gnu/packages/patches/guile-2.2-default-utf8.patch,
gnu/packages/patches/guile-relocatable.patch: Adjust for Guile 2.2.6.
2019-07-01 14:25:56 +02:00
Ludovic Courtès 1c94df8a1b
gnu: guile: Update to 2.2.6.
* gnu/packages/guile.scm (guile-2.2): Update to 2.2.6.
2019-07-01 13:51:16 +02:00
Marius Bakke fd3594bf38
Revert "gnu: meson: Update to 0.51.0."
Meson 0.51.0 has problems with PKG_CONFIG_PATH.  See <https://bugs.gnu.org/36386>.

This reverts commit 70530036b8.
2019-06-30 17:08:13 +02:00
Marius Bakke ca9a598e8a
gnu: libuv: Update to 1.30.0.
* gnu/packages/libevent.scm (libuv): Update to 1.30.0.
2019-06-30 17:06:42 +02:00
Marius Bakke 61f34ae5bb
gnu: libssh2: Update to 1.9.0.
* gnu/packages/patches/libssh2-fix-build-failure-with-gcrypt.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/ssh.scm (libssh2): Update to 1.9.0.
[source](patches): Remove.
2019-06-30 17:06:42 +02:00
Marius Bakke 2528006581
build-system/meson: Do not inherit the 'bootstrap' phase.
* guix/build/meson-build-system.scm (%standard-phases): Remove 'bootstrap'.
* gnu/packages/glib.scm (glib)[arguments]: Adjust accordingly.
2019-06-30 17:06:42 +02:00
Marius Bakke 1b0668272c
gnu: python-more-itertools: Update to 7.1.0.
* gnu/packages/python-xyz.scm (python-more-itertools): Update to 7.1.0.
2019-06-30 17:06:42 +02:00
Marius Bakke 984ab5daf9
gnu: poppler: Update to 0.78.0.
* gnu/packages/pdf.scm (poppler): Update to 0.78.0.
2019-06-30 17:06:42 +02:00
Marius Bakke 6c6e56fe53
gnu: nettle: Update to 3.5.1.
* gnu/packages/nettle.scm (nettle): Update to 3.5.1.
2019-06-30 17:06:41 +02:00
Marius Bakke 9011f748a5
gnu: harfbuzz: Update to 2.5.3.
* gnu/packages/gtk.scm (harfbuzz): Update to 2.5.3.
2019-06-30 17:06:41 +02:00
Ludovic Courtès c248e9b022
gnu: gawk: Update to 5.0.1.
* gnu/packages/gawk.scm (gawk): Update to 5.0.1.
2019-06-29 23:04:08 +02:00
Ludovic Courtès 06172df545
gnu: flex: Build bison-for-tests sequentially.
This is a followup to b1593c1c4f.

* gnu/packages/flex.scm (flex)[inputs](bison-for-tests): Use
'substitute-keyword-arguments' instead of overriding them altogether.
This ensures that #:parallel-build? and #:parallel-tests? are
preserved.
2019-06-29 22:34:20 +02:00
Ludovic Courtès 5cc1075a76
Merge branch 'master' into core-updates 2019-06-27 23:33:48 +02:00
Ludovic Courtès c30d117822
tests: Avoid TCP port collision between lint.scm and guix-daemon.sh.
This could lead to random deadlocks in one of these two tests when
running "make check -j5".

* tests/guix-daemon.sh (tcp_socket): Change port to 9998 to avoid
collision with tests/lint.scm.
2019-06-27 11:14:42 +02:00
Ludovic Courtès 08c95ba28d
ui: 'show-derivation-outputs' accepts <derivation-input> records.
* guix/ui.scm (show-derivation-outputs): Handle <derivation-input>
records.
2019-06-27 11:14:42 +02:00
Ludovic Courtès d38d4ffa10
ui: 'show-what-to-build' accepts derivation inputs.
This is a followup to f8a9f99cd6.

* guix/ui.scm (show-what-to-build)[inputs]: New variables.
[substitutable-info]: Build the derivation list from INPUTS.
Pass INPUTS to 'derivation-build-plan'.
2019-06-27 11:14:42 +02:00
Ludovic Courtès 066eeae1a1
packages: 'specification->package+output' distinguishes "no output specified".
Until now the caller couldn't tell the different between a spec like
"foo:out" and one like "foo".  This change allows users to distinguish
between these two cases.

* gnu/packages.scm (specification->package+output): Disable output
membership test when OUTPUT = #f and SUB-DRV = #f.
* tests/packages.scm ("specification->package+output")
("specification->package+output invalid output")
("specification->package+output no default output")
("specification->package+output invalid output, no default"): New tests.
2019-06-27 11:14:41 +02:00
Ludovic Courtès 7c690a4738
derivations: 'build-derivations' can be passed derivation inputs.
* guix/derivations.scm (build-derivations): Accept <derivation-input>
records among DERIVATIONS.
* tests/derivations.scm ("build-derivations with specific output"): Test
it.
2019-06-27 11:14:41 +02:00
Ludovic Courtès fd951cd543
derivations: 'derivation' preserves pointer equality.
* guix/derivations.scm (derivation): Check if FILE is already in
%DERIVATION-CACHE and return it if it is.
2019-06-27 11:14:41 +02:00
Ludovic Courtès 5cf4b26d52
derivations: <derivation-input> now aggregates a <derivation>.
Consequently, the whole graph of <derivation> object is readily
available without having to go through 'read-derivation-from-file',
which could have cache misses if the requested <derivation> object had
been GC'd in the meantime.  This is an important property for the
performance of things like 'derivation-build-plan' that traverse the
derivation graph.

* guix/derivations.scm (<derivation-input>): Replace 'path' field by
'derivation'.
(derivation-input-path): Adjust accordingly.
(derivation-input-key): New procedure.
(derivation-input-output-paths): Adjust accordingly.
(coalesce-duplicate-inputs): Likewise.
(derivation-prerequisites): Use 'derivation-input-key' to compute keys
for INPUT-SET.
(derivation-build-plan): Likewise.
(read-derivation): Add optional 'read-derivation-from-file' parameter.
[make-input-drvs]: Call it.
(write-derivation)[write-input]: Adjust to new <derivation-input>.
(derivation/masked-inputs): Likewise, and remove redundant
'coalesce-duplicate-inputs' call.
(derivation)[input->derivation-input]: Change to consider only the
derivation case.  Update call to 'make-derivation-input'.
[input->source]: New procedure.
Separate sources from inputs.
(map-derivation): Adjust to new <derivation-input>.
* tests/derivations.scm ("parse & export"): Pass a second argument to
'read-derivation'.
("build-expression->derivation and derivation-prerequisites")
("derivation-prerequisites and valid-derivation-input?"): Adjust to new
<derivation-input>.
2019-06-27 11:14:41 +02:00
Ludovic Courtès a250061986
graph: Use 'derivation-input-derivation'.
* guix/scripts/graph.scm (derivation-dependencies): Use
'derivation-input-derivation'.
2019-06-27 11:14:41 +02:00
Ludovic Courtès 9844d0091e
ui: 'show-what-to-build' uses 'derivation-build-plan'.
* guix/ui.scm (show-what-to-build)[build-or-substitutable?]: Remove.
Use 'derivation-build-plan' instead of
'derivation-prerequisites-to-build', passing it all of DRV at once, and
remove 'fold2' shenanigans and postprocessing of BUILD.
2019-06-27 11:14:41 +02:00
Ludovic Courtès ba04f80e2e
derivations: Rewrite and replace 'derivations-prerequisites-to-build'.
The new 'derivation-build-plan' procedure has a more appropriate
signature: it takes a list of <derivation-inputs> instead of taking one
<derivation>.  Its body is also much simpler.

* guix/derivations.scm (derivation-build-plan): New procedure.
(derivation-prerequisites-to-build): Express in terms of
'derivation-build-plan' and mark as deprecated.
* tests/derivations.scm: Change 'derivation-prerequisites-to-build'
tests to 'derivation-build-plan' and adjust accordingly.
2019-06-27 11:14:41 +02:00
Ludovic Courtès c89985d91d
derivations: Add 'derivation-input'.
* guix/derivations.scm (derivation-input): New procedure.
* tests/grafts.scm (make-derivation-input): Remove.
("graft-derivation, unused outputs not depended on"): Use
'derivation-input'.
2019-06-27 11:14:41 +02:00
Ludovic Courtès 4311cf965c
ui: Add 'display-search-results' and use it.
* guix/ui.scm (display-search-results): New procedure.
* guix/scripts/package.scm (find-packages-by-description): Remove
'unzip2' call and return a list of pairs.
(process-query): Change to use 'display-search-results'.
* guix/scripts/system/search.scm (find-service-types): Remove 'unzip2'
call and return a list of pairs.
(guix-system-search): Use 'display-search-results'.
2019-06-27 11:14:41 +02:00
Ludovic Courtès 4593f5a654
syscalls: Add 'terminal-rows'.
* guix/build/syscalls.scm (terminal-dimension): New procedure.
(terminal-columns): Rewrite in terms of 'terminal-dimension'.
(terminal-rows): New procedure.
* tests/syscalls.scm ("terminal-rows"): New test.
2019-06-27 11:14:40 +02:00
Ludovic Courtès 8874faaaac
ui: 'relevance' considers regexps connected with a logical and.
* guix/ui.scm (relevance)[score]: Change to return 0 when one of REGEXPS
doesn't match.
* tests/ui.scm ("package-relevance"): New test.
2019-06-27 11:14:40 +02:00
Ludovic Courtès c25b44d640
accounts: Use 'fsync' instead of 'fdatasync'.
* gnu/build/accounts.scm (catch-ENOSYS): Remove.
(database-writer): Use 'fsync' instead of 'fdatasync'.
2019-06-27 11:14:40 +02:00
Rutger Helling b09e4960be
gnu: dosbox: Update to 0.74-3.
* gnu/packages/emulators.scm (dosbox): Update to 0.74-3.
2019-06-27 10:24:11 +02:00
Arun Isaac 4ffed73419
gnu: rep-gtk: Update to 0.90.8.3.
* gnu/packages/sawfish.scm (rep-gtk): Update to 0.90.8.3.
[source]: Use HTTPS URI.
[arguments]: Add remove-autogen phase.
[native-inputs]: Add autoconf, automake and libtool.
[home-page]: Update URI.
2019-06-27 12:22:04 +05:30
Benjamin Slade edccf761e3
gnu: sawfish: Update to 1.12.0.
* gnu/packages/sawfish.scm (sawfish): Update to 1.12.0.
[source]: Use HTTPS URI.
[home-page]: Update URI.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2019-06-27 12:21:09 +05:30
Vagrant Cascadian 7a70e7ca04
gnu: electron-cash: Update to 4.0.7.
* gnu/packages/finance (electron-cash): Update to 4.0.7.
2019-06-26 20:14:45 -07:00
Tobias Geerinckx-Rice ba912479e8
Revert "gnu: openssh: Don't create the PRIVSEP_PATH directory."
This reverts commit 46475f72ab.
2019-06-27 00:21:16 +02:00
Tobias Geerinckx-Rice 1ebb908d44
Revert "gnu: openssh: Clean-up custom install phase."
This reverts commit 7754136e46.
2019-06-27 00:21:16 +02:00
Nicolas Goaziou cac6c3bad5
gnu: supertux: Fix homepage.
* gnu/packages/games.scm (supertux)[homepage]: Fix URL.
2019-06-26 19:45:34 +02:00
Andreas Enge 75a137da76
gnu: Add texmacs.
* gnu/packages/text-editors.scm (texmacs): New variable.
2019-06-26 18:23:02 +02:00
Ricardo Wurmus 49ad11e958
gnu: python-pathpy: Update to 11.5.0.
* gnu/packages/python-xyz.scm (python-pathpy): Update to 11.5.0.
[outputs]: Add separate "doc" output.
[native-inputs]: Add python-jaraco-packaging.
[arguments]: Enable tests; uncomment "build-doc" and "install-doc" phases;
replace "check" phase to skip flaky test.
2019-06-26 16:24:59 +02:00
Ricardo Wurmus 37c173d162
gnu: Add python-jaraco-packaging.
* gnu/packages/python-xyz.scm (python-jaraco-packaging): New variable.
2019-06-26 16:24:58 +02:00
Ricardo Wurmus 05b3dcbe32
gnu: Add python-pytest-virtualenv.
* gnu/packages/python-check.scm (python-pytest-virtualenv): New variable.
2019-06-26 16:24:58 +02:00
Ricardo Wurmus 7d5ffecba5
gnu: Add python-pytest-fixture-config.
* gnu/packages/python-check.scm (python-pytest-fixture-config): New variable.
2019-06-26 16:24:58 +02:00