Commit Graph

46595 Commits

Author SHA1 Message Date
Ludovic Courtès 848ae71ea7
lint: 'source' check no longer complains about unavailable mirrors.
Fixes a regression introduced in
50fc2384fe.

Previously, 'guix lint -c source coreutils' would complain if one of the
mirrors was unavailable.  This is no longer the case.

* guix/lint.scm (check-source)[warnings-for-uris]: Use 'filter-map'.
Remove 'append-map' call.
Use 'append-map' here so that we can meaningfull compare the length or
URIS and that of WARNINGS.
Use '=' to compare lengths.
2019-07-20 01:32:17 +02:00
Ludovic Courtès 571f6e7f4f
lint: Update tests to (guix lint) migration.
This is a followup to f363c836e0.

* tests/lint.scm ("cve")
("cve: one vulnerability")
("cve: one patched vulnerability")
("cve: known safe from vulnerability")
("cve: vulnerability fixed in replacement version")
("cve: patched vulnerability in replacement"): Refer to
'package-vulnerabilities' from (guix lint), not (guix scripts lint).
2019-07-20 01:32:17 +02:00
Giacomo Leidi dd3779c276
gnu: Add emacs-zerodark-theme.
* gnu/packages/emacs-xyz.scm (emacs-zerodark-theme): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-20 01:32:17 +02:00
Ludovic Courtès 723bdb8ef0
ui: 'warn-about-load-error' provides hints for unbound variables.
* guix/ui.scm (warn-about-load-error): Add 'unbound-variable' clause.
* tests/guix-build.sh: Add test.
2019-07-20 01:32:17 +02:00
Ludovic Courtès a2a94b6e58
ui: 'warn-about-load-error' warns about file/module name mismatches.
* guix/discovery.scm (scheme-modules): Rename the inner 'file' to
'relative'.  Pass FILE as an addition argument to WARN.
* guix/ui.scm (warn-about-load-error): Add 'module' argument (actually,
what was called 'file' really contained a module name.)  Call
'check-module-matches-file' in the catch-all error case.
(check-module-matches-file): New procedure.
* tests/guix-build.sh: Test it.
2019-07-20 01:32:17 +02:00
Ludovic Courtès ddc586ea5c
gnu: python-jupyter-client: Patch file name of 'ip'.
* gnu/packages/python-xyz.scm (python-jupyter-client)[arguments]: Add #:phases.
[inputs]: New field.
2019-07-20 01:32:17 +02:00
Timothy Sample 1c9b99234c
gnu: gnome-session: Do not patch in absolute paths.
This is no longer needed as upstream is now using absolute paths.

* gnu/packages/gnome.scm (gnome-session): Remove phase that patches
absolute paths into the session desktop entry files.
2019-07-19 12:56:09 -04:00
Timothy Sample e1f174ae28
gnu: evolution-data-server: Use a proper patch for locales.
See <https://lists.gnu.org/archive/html/guix-devel/2019-07/msg00265.html>.

* gnu/packages/patches/evolution-data-server-locales.patch: New file.
* gnu/local.mk: Add it.
* gnu/packages/gnome.scm (evolution-data-server): Replace the
'patch-locale-canonicalization' phase with the new patch.
2019-07-19 12:56:03 -04:00
Marius Bakke da9adfc7f7
gnu: colobot, leela-zero: Add Boost workaround.
This works around and incompatibility with CMake 3.14 and Boost 1.70,
see <https://bugs.gnu.org/36721>.

* gnu/packages/games.scm (colobot, leela-zero)[arguments]: Add
"-DBoost_NO_BOOST_CMAKE=ON" in <#:configure-flags>.
2019-07-19 18:02:43 +02:00
Marius Bakke 57d87f435f
gnu: supertux: Adjust for recent GCC and Boost.
* gnu/packages/patches/supertux-fix-build-with-gcc5.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/games.scm (supertux)[source](patches): Remove.
[arguments]: Adjust <#:configure-flags>.
2019-07-19 18:00:41 +02:00
Marius Bakke dd9560a050
gnu: glog: Disable test that fails on non-x86_64 platforms.
This was removed in 4678cc46a4, but turned out
to still be needed.

* gnu/packages/logging.scm (glog)[arguments]: New field.
2019-07-19 16:33:54 +02:00
Marius Bakke b16e082799
gnu: python-keras: Add upstream patch.
* gnu/packages/patches/python-keras-integration-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/machine-learning.scm (python-keras)[source](patches): New field.
2019-07-19 15:44:26 +02:00
Marius Bakke ca49d73225
gnu: librime: Update to 1.5.3.
* gnu/packages/ibus.scm (librime): Update to 1.5.3.
[arguments]: Add <#:configure-flags>.
2019-07-19 15:01:40 +02:00
Marius Bakke 65db770833
gnu: zyre: Kernel headers are system headers.
* gnu/packages/networking.scm (zyre)[arguments]: Add <#:make-flags>.
2019-07-19 15:01:03 +02:00
Marius Bakke f02ab17b4a
gnu: czmq: Update to 4.2.0.
* gnu/packages/networking.scm (czmq): Update to 4.2.0.
[arguments]: Enable tests, but patch out the non-working one.
2019-07-19 15:00:03 +02:00
Marius Bakke 0fdec2a309
gnu: tensorflow: Provide older setuptools version.
* gnu/packages/python-xyz.scm (python-setuptools-for-tensorflow): New public
variable.
* gnu/packages/machine-learning.scm (tensorflow)[native-inputs]: Add it.
2019-07-19 14:57:06 +02:00
Rutger Helling 04842543e8
gnu: fbreader: Build with GCC 5.
* gnu/packages/ebook.scm (fbreader)[native-inputs]: Add GCC-5.
2019-07-19 12:41:02 +02:00
Rutger Helling 1a58e1d444
gnu: john-the-ripper-jumbo: Build against OpenSSL 1.0.
* gnu/packages/password-utils.scm (john-the-ripper-jumbo): Change OPENSSL to
OPENSSL-1.0.
2019-07-19 12:32:01 +02:00
Rutger Helling 90efc2f28e
gnu: ovmf: Build with GCC 5.
* gnu/packages/firmware.scm (ovmf)[native-inputs]: Add GCC-5.
2019-07-19 12:17:48 +02:00
Ludovic Courtès ce5d9ec875
channels: Always provide a <channel-metadata> record.
This simplifies the code since one no longer needs to think about
whether '.guix-channel' was present.

* guix/channels.scm (read-channel-metadata): Always pass a string as the
first argument to 'channel-metadata'.
(read-channel-metadata-from-source): Always return a <channel-metadata>
record.
(channel-instance-dependencies): Remove now unneeded 'match'.
(standard-module-derivation): Assume DIRECTORY is never #f and contains
a leading slash.
* tests/channels.scm (channel-metadata-directory)
(channel-metadata-dependencies): New procedures.
("channel-instance-metadata returns #f if .guix-channel does not
exist"): Remove.
("channel-instance-metadata returns default if .guix-channel does not
exist"): New test.
(make-instance): Use 'write' instead of 'display' when creating
'.guix-channel'.
(instance--no-deps): Remove dependencies.
(instance--sub-directory): New variable.
("channel-instance-metadata and default dependencies")
("channel-instance-metadata and directory"): New tests.
("latest-channel-instances excludes duplicate channel dependencies"):
Expect 'channel-commit' to return a string and adjust accordingly.
2019-07-19 11:53:47 +02:00
Ludovic Courtès 5d9daa85b0
channels: Remove unneeded 'version' field of <channel-metadata>.
The idea is that 'read-channel-metadata' will take care of converting
possibly older versions to the current data type.  Thus, storing the
version number is unnecessary.

* guix/channels.scm (<channel-metadata>)[version]: Remove.
(read-channel-metadata, channel-instance-dependencies): Adjust
accordingly.
2019-07-19 11:53:47 +02:00
Ludovic Courtès 45b903323e
channels: Strictly check the version of '.guix-channel'.
Until now the 'version' field in '.guix-channel' could be omitted, or it
could be any value.

* guix/channels.scm (read-channel-metadata): Rename to...
(channel-instance-metadata): ... this.
(channel-instance-dependencies): Adjust accordingly.
(read-channel-metadata): New procedure.  Use 'match'
to require a 'version' field.  Provide proper error handling when the
channel sexp is malformed or when given an unsupported version number.
(read-channel-metadata-from-source): Use 'catch' and
'system-error-errno' instead of 'file-exists?'.
* tests/channels.scm (instance--unsupported-version): New variable.
(read-channel-metadata): Rename to...
(channel-instance-metadata): ... this.  Rename tests accordingly.
("channel-instance-metadata rejects unsupported version"): New test.
2019-07-19 11:53:47 +02:00
Ludovic Courtès bacfec8611
linux-container: Add 'eval/container'.
* gnu/system/linux-container.scm (eval/container): New procedure.
* tests/containers.scm ("eval/container, exit status")
("eval/container, writable user mapping"): New tests.
2019-07-19 11:53:47 +02:00
Ludovic Courtès b41c7beb0b
file-systems: Use 'no-atime' for %IMMUTABLE-STORE.
* gnu/system/file-systems.scm (%immutable-store): Add 'no-atime'.
2019-07-19 11:53:47 +02:00
Ludovic Courtès 92ca25a32b
guix archive: Use (gcrypt common).
* guix/scripts/archive.scm: Use (gcrypt common) for 'error-source' and
'error-string'.
2019-07-19 11:53:47 +02:00
Marius Bakke 2ee70a5b11
Merge branch 'master' into core-updates 2019-07-19 01:15:59 +02:00
Ludovic Courtès 96783ed627
syscalls: 'define-as-needed' does not re-export local variables.
Fixes <https://bugs.gnu.org/36723>.
Reported by Timothy Sample <samplet@ngyro.com>.

* guix/build/syscalls.scm (define-as-needed): Rewrite to use lower-level
module primitives; define VARIABLE only if it's not already defined to
avoid "re-exporting local variable" error.
2019-07-19 00:52:36 +02:00
Marius Bakke c498a07e2d
gnu: python-pympler: Update to 0.7.
* gnu/packages/python-xyz.scm (python-pympler): Update to 0.7.
2019-07-19 00:19:42 +02:00
Marius Bakke 3401526fcf
gnu: pidentd: Build against OpenSSL 1.0.
* gnu/packages/networking.scm (pidentd)[inputs]: Change OPENSSL to OPENSSL-1.0.
2019-07-19 00:12:14 +02:00
Marius Bakke 4678cc46a4
gnu: glog: Update to 0.4.0.
* gnu/packages/patches/glog-gcc-5-demangling.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/logging.scm (glog): Update to 0.4.0.
[source]: Use GIT-FETCH.
[arguments]: Remove.
2019-07-19 00:02:09 +02:00
Marius Bakke bc2076f053
gnu: bpp: Use the default GCC.
* gnu/packages/bioinformatics.scm (bpp-core, bpp-phyl, bpp-popgen, bpp-seq,
bppsuite)[inputs]: Remove GCC-5.
2019-07-18 23:29:07 +02:00
Marius Bakke 40a7153d19
gnu: python-flake8-polyfill: Adjust tests for Pytest 4.
* gnu/packages/python-xyz.scm (python-flake8-polyfill)[arguments]: Add
substitution in setup.cfg.
2019-07-18 23:15:50 +02:00
Marius Bakke e77947db06
gnu: openmw: Add Boost workaround.
* gnu/packages/game-development.scm (openmw)[arguments]: Set
"-DBoost_NO_BOOST_CMAKE=ON" in <#:configure-flags>.
2019-07-18 19:25:41 +02:00
Marius Bakke 5d1f5b305f
gnu: zeromq: Update to 4.3.2.
* gnu/packages/networking.scm (zeromq): Update to 4.3.2.
[source](uri): Adjust accordingly.
2019-07-18 19:23:08 +02:00
Marius Bakke 4b42b10674
gnu: openimageio: Fix build with Boost 1.70 and CMake 3.14.
* gnu/packages/graphics.scm (openimageio)[arguments]: Add <#:configure-flags>.
2019-07-18 19:11:51 +02:00
Marius Bakke 25e491691b
gnu: openal: Build with GCC 9.
* gnu/packages/audio.scm (openal)[native-inputs]: Add GCC-9.
2019-07-18 18:48:31 +02:00
Marius Bakke 308af63460
gnu: libvirt: Provide '<rpc/rpc.h>'.
* gnu/packages/virtualization.scm (libvirt)[inputs]: Add LIBTIRPC.
[arguments]: Add phase 'patch-libtirpc-file-names'.
2019-07-18 18:28:19 +02:00
Efraim Flashner 262f904ebd
gnu: i2pd: Rewrite 'check phase using with-directory-excursion.
* gnu/packages/i2p.scm (i2pd)[arguments]: In custom 'check phase use
with-directory-excursion to change directory.
2019-07-18 18:52:49 +03:00
Marius Bakke 4788c1ae17
gnu: innoextract: Fix build with Boost 1.70 and GCC 7.
* gnu/packages/compression.scm (innoextract)[arguments]: Add
<#:configure-flags> and <#:phases>.
2019-07-18 16:47:11 +02:00
Marius Bakke 995c30d0d6
gnu: libmp4v2: Fix build with C++11.
* gnu/packages/patches/libmp4v2-c++11.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/video.scm (libmp4v2)[source](patches): New field.
2019-07-18 16:31:14 +02:00
Jakob L. Kreuze 2fba90a8b2
gnu: Add i2pd.
[[PGP Signed Part:No public key for F506FD169D8FD95A created at 2019-07-17T20:12:25+0200 using RSA]]
* gnu/packages/i2p.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-18 15:36:58 +02:00
Jakob L. Kreuze f33ee234e5
gnu: Add websocketpp.
* gnu/packages/web.scm (websocketpp): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-18 15:36:58 +02:00
Brian Leung 330a6ff4eb
gnu: Add emacs-ccls.
* gnu/packages/emacs-xyz.scm (emacs-ccls): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-18 15:36:58 +02:00
Brian Leung 0574bc8aa5
gnu: Add emacs-pandoc-mode.
* gnu/packages/emacs-xyz.scm (emacs-pandoc-mode): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-18 15:36:58 +02:00
Brian Leung a513a4cd17
gnu: Add emacs-focus.
* gnu/packages/emacs-xyz.scm (emacs-focus): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-18 15:36:58 +02:00
Brian Leung 8b65299c57
gnu: Add emacs-deadgrep.
* gnu/packages/emacs-xyz.scm (emacs-deadgrep): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-18 15:36:58 +02:00
Brian Leung 6bfb0d5077
gnu: Add emacs-github-review.
* gnu/packages/emacs-xyz.scm (emacs-github-review): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-18 15:36:58 +02:00
Efraim Flashner 0f7b8a7f09
gnu: Add xygrib.
* gnu/packages/geo.scm (xygrib): New variable.
2019-07-18 14:03:02 +03:00
Efraim Flashner 62470a0162
gnu: Add libnova.
* gnu/packages/astronomy.scm (libnova): New variable.
2019-07-18 14:02:47 +03:00
Tobias Geerinckx-Rice 1e73986f44
gnu: bind: Update to 9.14.4.
* gnu/packages/dns.scm (bind): Update to 9.14.4.
2019-07-18 12:57:00 +02:00