Commit Graph

46178 Commits

Author SHA1 Message Date
Marius Bakke 3c08479ef9
gnu: x265: Update to 3.1.1.
* gnu/packages/video.scm (x265): Update to 3.1.1.
2019-07-22 16:22:22 +02:00
Marius Bakke 6a489839a8
gnu: ungoogled-chromium: Enable parallel build.
...but limit the memory usage.  Tested with --cores=8 on a 16 GiB RAM machine.

* gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Remove <#:parallel-build?>.
Add "jumbo_file_merge_limit=8" in <#:configure-flags>.
2019-07-22 16:22:21 +02:00
Ricardo Wurmus 6fd4c6b267
gnu: htslib: Propagate zlib.
Reported by Vedran Franke <Vedran.Franke@mdc-berlin.de>.

* gnu/packages/bioinformatics.scm (htslib)[inputs]: Move zlib from here...
[propagated-inputs]: ...to here.
2019-07-22 14:24:51 +02:00
Ludovic Courtès cd9f56ff5a
pack: Pass a list as the entry point for 'build-docker-image'.
* guix/scripts/pack.scm (docker-image)[build]: Pass a list as
 #:entry-point, not a string.
2019-07-22 11:53:40 +02:00
Ludovic Courtès 96f1cbeff8
swh: Add basic tests.
* guix/swh.scm (%swh-base-url): Turn into a parameter and export it.
* tests/swh.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
2019-07-22 11:53:39 +02:00
Ludovic Courtès 5a90d56352
doc: Update 'guix import json' example.
This is a followup to d78010b81e.

* doc/guix.texi (Invoking guix import): Change 'guix import json'
example to refer to "gettext", not "gcc".
2019-07-22 11:53:39 +02:00
Efraim Flashner 1bb4122ce6
gnu: perl-net-http: Update to 6.19.
* gnu/packages/web.scm (perl-net-httpd): Update to 6.19.
2019-07-22 10:14:41 +03:00
Efraim Flashner bbbed2e60d
gnu: perl-test-simple: Update to 1.302164.
* gnu/packages/perl-check.scm (perl-test-simple): Update to 1.302164.
2019-07-22 10:07:57 +03:00
Efraim Flashner 94b9b67618
gnu: perl-cpan-meta: Update to 2.150010.
* gnu/packages/perl.scm (perl-cpan-meta): Update to 2.150010.
2019-07-22 10:07:56 +03:00
Efraim Flashner 6f4d20e387
gnu: perl-clone: Update to 0.42.
* gnu/packages/perl.scm (perl-clone): Update to 0.42.
2019-07-22 10:07:56 +03:00
Efraim Flashner 2756ab8058
gnu: perl-hash-merge: Update to 0.300.
* gnu/packages/perl.scm (perl-hash-merge): Update to 0.300.
[inputs]: Add perl-clone-choose.
2019-07-22 10:07:51 +03:00
Efraim Flashner 5246655fa1
gnu: mallard-ducktype: Run tests.
* gnu/packages/python-xyz.scm (mallard-ducktype)[arguments]: Replace
'check phase to run test suite.
2019-07-22 09:49:19 +03:00
Robert Vollmert 7284b11f6c
gnu: oil-shell: Update to 0.6.0
* gnu/packages/shells.scm (oil-shell): Update to 0.6.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2019-07-22 09:26:55 +03:00
Chris Marusich afb986e77c
gnu: libreoffice: Fix xdg-open absolute paths.
Fixes: <https://bugs.gnu.org/36728>.

* gnu/packages/libreoffice.scm (libreoffice) [inputs]: Add xdg-utils.
[arguments][#:phases][prepare-src]: Replace hard-coded absolute paths to
xdg-open in the source with the path to xdg-open in the xdg-utils input.
2019-07-21 16:47:55 -07:00
Tobias Geerinckx-Rice d1e766e5c6
gnu: libosinfo: Update to 1.5.0.
* gnu/packages/virtualization.scm (libosinfo): Update to 1.5.0.
[arguments]: Remove ‘disable-broken-test’ phase.
[native-inputs]: Remove check.
2019-07-21 20:27:42 +02:00
Mark H Weaver 59f79254bb
gnu: linux-libre: Update to 5.2.2.
* gnu/packages/linux.scm (linux-libre-5.2-version): Update to 5.2.2.
(linux-libre-5.2-pristine-source): Update hash.
2019-07-21 11:17:43 -04:00
Mark H Weaver c39304ce18
gnu: linux-libre@4.19: Update to 4.19.60.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.60.
(linux-libre-4.19-pristine-source): Update hash.
2019-07-21 11:17:41 -04:00
Mark H Weaver 267ce6679e
gnu: linux-libre@4.14: Update to 4.14.134.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.134.
(linux-libre-4.14-pristine-source): Update hash.
2019-07-21 11:17:39 -04:00
Mark H Weaver 5d8187c2ac
gnu: linux-libre@4.9: Update to 4.9.186.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.186.
(linux-libre-4.9-pristine-source): Update hash.
2019-07-21 11:17:36 -04:00
Mark H Weaver aa84be4375
gnu: linux-libre@4.4: Update to 4.4.186.
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.186.
(linux-libre-4.4-pristine-source): Update hash.
2019-07-21 11:17:34 -04:00
Mark H Weaver 1ad9c105c2
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 11:15:56 -04:00
Mark H Weaver 2f4698d7d1
gnu: Add darkice.
* gnu/packages/audio.scm (darkice): New variable.
* gnu/packages/patches/darkice-workaround-fpermissive-error.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2019-07-21 11:12:36 -04:00
Brian Leung 3aec5263a3
gnu: emacs-ivy: Update to 0.12.0.
* gnu/packages/emacs-xyz.scm (emacs-ivy): Update to 0.12.0.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2019-07-21 21:17:47 +08:00
宋文武 a18a27be9f
gnu: Add python-gdal.
For <https://issues.guix.gnu.org/issue/36623>, thank to Arne Babenhauserheide
for the original patch.

* gnu/packages/geo.scm (python-gdal): New package.
2019-07-21 21:04:38 +08:00
Efraim Flashner e6df9c7e85
gnu: qtwebkit: Update to 5.212.0-alpha3.
* gnu/packages/qt.scm (qtwebkit): Update to 5.212.0-alpha3.
2019-07-21 08:46:12 +03:00
Brian Leung 14e0ae7ff7
gnu: Add ghc-hasktags.
* gnu/packages/haskell.scm (ghc-hasktags): New variable.
2019-07-19 23:09:50 -04:00
Brian Leung 37850fb9a0
gnu: Add ghc-microlens-platform.
* gnu/packages/haskell.scm (ghc-microlens-platform): New variable.
2019-07-19 23:09:50 -04:00
Brian Leung 38dd4c1da5
gnu: Add ghc-microlens-ghc.
* gnu/packages/haskell.scm (ghc-microlens-ghc): New variable.
2019-07-19 23:09:50 -04:00
Brian Leung ef803cb520
gnu: Add ghc-microlens-mtl.
* gnu/packages/haskell.scm (ghc-microlens-mtl): New variable.
2019-07-19 23:09:50 -04:00
Brian Leung 64b7c06e18
gnu: Add ghc-hindent.
* gnu/packages/haskell.scm (ghc-hindent): New variable.
2019-07-19 23:09:50 -04:00
Brian Leung 697cae2a67
gnu: Add ghc-exactprint.
* gnu/packages/haskell.scm (ghc-exactprint): New variable.
2019-07-19 23:09:50 -04:00
Brian Leung a60056b5d3
gnu: Add ghc-descriptive.
* gnu/packages/haskell.scm (ghc-descriptive): New variable.
2019-07-19 23:09:49 -04:00
Brian Leung ca20ee07b2
gnu: Add ghc-path-io.
* gnu/packages/haskell.scm (ghc-path-io): New variable.
2019-07-19 23:09:49 -04:00
Brian Leung efc55bf6f3
gnu: Add ghc-path.
* gnu/packages/haskell.scm (ghc-path): New variable.
2019-07-19 23:09:49 -04:00
Brian Leung 51c8370385
gnu: Add ghc-genvalidity-property.
* gnu/packages/haskell.scm (ghc-genvalidity-property): New variable.
2019-07-19 23:09:49 -04:00
Brian Leung 522b61ab80
gnu: Add ghc-genvalidity.
* gnu/packages/haskell.scm (ghc-genvalidity): New variable.
2019-07-19 23:09:49 -04:00
Brian Leung f26f2e757f
gnu: Add ghc-validity.
* gnu/packages/haskell.scm (ghc-validity): New variable.
2019-07-19 23:09:48 -04:00
Ludovic Courtès 3d33c93cef
lint: Use the 'warning' procedure for messages.
* guix/scripts/lint.scm (emit-warnings): Use 'warning' instead of
'format'.
2019-07-20 01:32:18 +02:00
Ludovic Courtès 674b9df37d
lint: source: Stop as soon as a valid URL is found.
This restores the behavior of 'guix lint' prior to commit
50fc2384fe.

* guix/lint.scm (check-source)[warnings-for-uris]: Rewrite to stop as
soon as one of URIS is valid.
2019-07-20 01:32:18 +02:00
Ludovic Courtès 6dc28adf72
lint: Remove unused imports.
* guix/lint.scm: Remove now unused (gnu packages) and (guix monads)
imports.
2019-07-20 01:32:17 +02:00
Ludovic Courtès 99b2042812
lint: Add test for 'source'.
* tests/lint.scm ("source: 404 and 200"): New test.
2019-07-20 01:32:17 +02:00
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
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
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