summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-16gnu: python-matplotlib: Do not propagate GTK+ or python-pyqt.Ricardo Wurmus
* gnu/packages/python-xyz.scm (python-matplotlib)[propagated-inputs]: Remove gtk+ and python-pyqt. [arguments]: Adjust configure-environment phase.
2019-07-16gnu: evolution-data-server: Fix locale handling.Timothy Sample
* gnu/packages/gnome.scm (evolution-data-server)[arguments]: Add a phase that patches the source code to fix a locale handling issue.
2019-07-16gnu: snap: Update to 5.0.4.Nicolas Goaziou
* gnu/packages/education.scm (snap): Update to 5.0.4.
2019-07-16doc: Add 'images' directory next to HTML pages.Ludovic Courtès
* doc/build.scm (html-manual): Add images/ symlinks.
2019-07-16build/cargo-build-system: Use bundled json instead of guile-json.Robert Vollmert
* guix/build/cargo-build-system.scm: Use (gnu build json) instead of (json parser). * guix/build-system/cargo.scm: Import (gnu build json) instead of (json parser). Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-07-16gnu: rust-proc-macro2: Update to 0.4.30.Robert Vollmert
* gnu/packages/crates-io.scm (rust-proc-macro2): Update to 0.4.30. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-07-16build/cargo-build-system: Set CARGO_HOME early.Robert Vollmert
* guix/build/cargo-build-system.scm (configure): Set CARGO_HOME. (install): No longer set CARGO_HOME. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-07-16gnu: direvent: Update to 5.2.Efraim Flashner
* gnu/packages/admin.scm (direvent): Update to 5.2.
2019-07-15lint: Separate checkers by dependence on the internet.Christopher Baines
I think there are a couple of potential uses for this. It's somewhat a separation in to what checkers are just checking the contents of the repository (line length for example), and other checkers which are bringing in external information which could change. I'm thinking particularly, about treating network dependent checkers differently when automatically running them, but this commit also adds a --no-network flag to guix lint, which selects the checkers that don't access the network, which could be useful if no network access is available. * guix/lint.scm (%checkers): Rename to %all-checkers. (%local-checkers, %network-dependent-checkers): New variables. * guix/scripts/lint.scm (run-checkers): Make the checkers argument mandatory. (list-checkers-and-exit): Handle the checkers as an argument. (%options): Adjust for changes to %checkers, add a --no-network option, and change how the --list-checkers option is handled. (guix-lint): Adjust indentation, and update how the checkers are handled.
2019-07-15lint: Move the linting code to a different module.Christopher Baines
To try and move towards making programatic access to the linting code easier, this commit separates out the linting script, from the linting functionality that it uses. * guix/scripts/lint.scm (emit-warnings): Alter to to not use match-lambda, as <lint-warning> isn't accessible. (<lint-warning>, lint-warning, make-lint-warning, lint-warning?, lint-warning-message, lint-warning-message-text, lint-warning-message-data, lint-warning-location, package-file, %make-warning make-warning, <lint-checker>, lint-checker, make-lint-checker, lint-checker?, lint-checker-name, lint-checker-description, lint-checker-check, properly-starts-sentance?, starts-with-abbreviation?, %quoted-identifier-rx, check-description-style, package-input-intersection, check-inputs-should-be-native, check-inputs-should-not-be-an-input-at-all, package-name-regexp, check-synopsis-style, probe-uri, tls-certificate-error-string, validate-uri, check-home-page, %distro-directory, check-patch-file-names, escape-quotes, official-gnu-packages*, check-gnu-synopsis+description, origin-uris, check-source, check-source-file-name, check-source-unstable-tarball, check-mirror-url, check-github-url, check-derivation, check-license, call-with-networking-fail-safe, with-networking-fail-safe, current-vulnerabilities*, package-vulnerabilities, check-vulnerabilities, check-for-updates, report-tabulations, report-trailing-white-space, report-long-line, %hanging-paren-rx, report-lone-parantheses, %formatting-reporters, report-formatting-issues, check-formatting, %checkers): Move to… * guix/lint.scm: … here * po/guix/POTFILES.in: Add guix/lint.scm. * Makefile.am: Add guix/lint.scm. * tests/lint.scm: Change to import (guix lint), rather than (guix scripts lint).
2019-07-15scripts: lint: Separate the message warning text and data.Christopher Baines
So that translations can be handled more flexibly, rather than having to translate the message text within the checker. * guix/scripts/lint.scm (lint-warning-message-text, lint-warning-message-data): New procedures. (lint-warning-message): Remove record field accessor, replace with procedure that handles the lint warning data and translating the message. (make-warning): Rename to %make-warning. (make-warning): New macro. (emit-warnings): Handle the message-text and message-data fields. (check-description-style): Adjust for changes to make-warning. [check-trademarks, check-end-of-sentence-space): Adjust for changes to make-warning. (check-inputs-should-be-native, check-inputs-should-not-be-an-input-at-all, check-synopsis-style, validate-uri, check-home-page, check-patch-file-names, check-gnu-synopsis+description, check-mirror-url, check-github-url, check-derivation, check-vulnerabilities, check-for-updates, report-tabulations, report-trailing-white-space, report-long-line, report-lone-parentheses): Adjust for changes to make-warning.
2019-07-15scripts: lint: Handle warnings with a record type.Christopher Baines
Rather than emiting warnings directly to a port, have the checkers return the warning or warnings. This makes it easier to use the warnings in different ways, for example, loading the data in to a database, as you can work with the <lint-warning> records directly, rather than having to parse the output to determine the package and location. * guix/scripts/lint.scm (<lint-warning>): New record type. (lint-warning): New macro. (lint-warning?, lint-warning-package, lint-warning-message, lint-warning-location, package-file, make-warning): New procedures. (call-with-accumulated-warnings, with-accumulated-warnings): Remove. (emit-warning): Rename to emit-warnings, and switch to displaying multiple warnings. (check-description-style)[check-not-empty-description, check-texinfo-markup, check-trademarks, check-quotes, check-proper-start, check-end-of-sentence-space]: Switch to generating a list of warnings, and using make-warning, rather than emit-warning. (check-inputs-should-be-native, check-inputs-should-not-be-an-input-at-all): Switch to generating a list of warnings, and using make-warning, rather than emit-warning. (check-synopsis): Switch to generating a list of warnings, and using make-warning, rather than emit-warning. [check-not-empty]: Remove, this is handled in the match clause to avoid other warnings being emitted. [check-final-period, check-start-article, check-synopsis-length, check-proper-start, check-start-with-package-name, check-texinfo-markup]: Switch to generating a list of warnings, and using make-warning, rather than emit-warning. [checks]: Remove check-not-empty. (validate-uri, check-home-page, check-patch-file-names, check-gnu-synopsis+description): Switch to generating a list of warnings, and using make-warning, rather than emit-warning. (check-source): Switch to generating a list of warnings, and using make-warning, rather than emit-warning. [try-uris]: Remove. [warnings-for-uris]: New procedure, replacing try-uris. (check-source-file-name, check-source-unstable-tarball, check-mirror-url, check-github-url, check-derivation, check-vulnerabilities, check-for-updates, report-tabulations, report-trailing-white-space, report-long-line, report-lone-parentheses, report-formatting-issues, check-formatting): Switch to generating a list of warnings, and using make-warning, rather than emit-warning. (run-checkers): Call emit-warnings on the warnings returned from the checker. * tests/lint.scm (string-match-or-error, single-lint-warning-message): New procedures. (call-with-warnings, with-warnings): Remove. ("description: not a string", "description: not empty", "description: invalid Texinfo markup", "description: does not start with an upper-case letter", "description: may start with a digit", "description: may start with lower-case package name", "description: two spaces after end of sentence", "description: end-of-sentence detection with abbreviations", "description: may not contain trademark signs: ™", "description: may not contain trademark signs: ®", "description: suggest ornament instead of quotes", "synopsis: not a string", "synopsis: not empty", "synopsis: valid Texinfo markup", "synopsis: does not start with an upper-case letter", "synopsis: may start with a digit", "synopsis: ends with a period", "synopsis: ends with 'etc.'", "synopsis: starts with 'A'", "synopsis: starts with 'a'", "synopsis: starts with 'an'", "synopsis: too long", "synopsis: start with package name", "synopsis: start with package name prefix", "synopsis: start with abbreviation", "inputs: pkg-config is probably a native input", "inputs: glib:bin is probably a native input", "inputs: python-setuptools should not be an input at all (input)", "inputs: python-setuptools should not be an input at all (native-input)", "inputs: python-setuptools should not be an input at all (propagated-input)", "patches: file names", "patches: file name too long", "patches: not found", "derivation: invalid arguments", "license: invalid license", "home-page: wrong home-page", "home-page: invalid URI", "home-page: host not found", "home-page: Connection refused", "home-page: 200", "home-page: 200 but short length", "home-page: 404", "home-page: 301, invalid", "home-page: 301 -> 200", "home-page: 301 -> 404", "source-file-name", "source-file-name: v prefix", "source-file-name: bad checkout", "source-file-name: good checkout", "source-file-name: valid", "source-unstable-tarball", "source-unstable-tarball: source #f", "source-unstable-tarball: valid", "source-unstable-tarball: package named archive", "source-unstable-tarball: not-github", "source-unstable-tarball: git-fetch", "source: 200", "source: 200 but short length", "source: 404", "source: 301 -> 200", "source: 301 -> 404", "mirror-url", "mirror-url: one suggestion", "github-url", "github-url: one suggestion", "github-url: already the correct github url", "cve", "cve: one vulnerability", "cve: one patched vulnerability", "cve: known safe from vulnerability", "cve: vulnerability fixed in replacement version", "cve: patched vulnerability in replacement", "formatting: lonely parentheses", "formatting: alright"): Change test-assert to test-equal, and adjust to work with the changes above. ("formatting: tabulation", "formatting: trailing white space", "formatting: long line"): Use string-match-or-error rather than string-contains.
2019-07-15gnu: linux-libre: Update to 5.2.1.Mark H Weaver
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.2.1. (%linux-libre-hash): Update hash.
2019-07-15gnu: linux-libre@4.19: Update to 4.19.59.Mark H Weaver
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.59. (%linux-libre-4.19-hash): Update hash.
2019-07-15gnu: libnsl: Do not build 'libnsl.a'.Marius Bakke
* gnu/packages/onc-rpc.scm (libnsl)[arguments]: Add <#:configure-flags>.
2019-07-15gnu: libnsl: Fix build with gettext 0.20.Marius Bakke
* gnu/packages/onc-rpc.scm (libnsl)[arguments]: New field.
2019-07-15gnu: python-cachecontrol: Do not use unstable source archive.Marius Bakke
* gnu/packages/python-web.scm (python-cachecontrol)[source]: Change to GIT-FETCH.
2019-07-15gnu: uim-qt: Build with qt-5 support.Efraim Flashner
* gnu/packages/xorg.scm (uim-qt)[inputs]: Remove qt@4. Add qtbase, qtx11extras. [arguments]: Replace qt4 configure flags with qt5 configure flags.
2019-07-15gnu: sooperlooper: Adjust for GCC 7.Marius Bakke
* gnu/packages/music.scm (sooperlooper)[arguments]: Remove <#:make-flags>. Preserve CPATH in <#:phases>.
2019-07-15gnu: Adjust CPATH overrides to work with GCC 7 search paths.Marius Bakke
* gnu/packages/education.scm (gcompris)[arguments]: Preserve original CPATH, if any. * gnu/packages/games.scm (ltris, prboom-plus, abbaye, red-eclipse, btanks, 4dtris, edgar)[arguments]: Likewise.
2019-07-15gnu: msgpack: Update to 3.2.0.Marius Bakke
* gnu/packages/serialization.scm (msgpack): Update to 3.2.0. [build-system]: Change to CMAKE-BUILD-SYSTEM. [native-inputs]: Remove AUTOCONF, AUTOMAKE and LIBTOOL.
2019-07-15gnu: lua-libmpack: Update to 1.0.8.Marius Bakke
* gnu/packages/serialization.scm (lua-libmpack): Update to 1.0.8.
2019-07-15gnu: lua-libmpack: Do not use unstable source tarball.Marius Bakke
* gnu/packages/serialization.scm (lua-libmpack)[source]: Change to GIT-FETCH.
2019-07-15gnu: open-zwave: Use the bundled TinyXML.Ludovic Courtès
* gnu/packages/zwave.scm (open-zwave)[source](snippet): Remove code to use our own TinyXML. [inputs]: Remove TINYXML.
2019-07-15remote: Make sure the user doesn't mess up with the REPL protocol.Ludovic Courtès
Reported by zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze). * guix/remote.scm (trampoline): Wrap 'primitive-load' in 'with-output-to-port'.
2019-07-15remote: Fix type error in the list of store items to send.Ludovic Courtès
Fixes a regression introduced in 386857748097619b3b75a7bf93677b6aa742d03c. * guix/remote.scm (remote-eval): Use 'append-map', not 'map', for 'derivation-input-output-paths'.
2019-07-15gnu: salmon: Fix build with GCC 7.Marius Bakke
* gnu/packages/bioinformatics.scm (salmon)[arguments]: Do not read from CPLUS_INCLUDE_PATH, and add headers to CPATH only.
2019-07-15gnu: python-datrie: Update to 0.8.Marius Bakke
* gnu/packages/python-xyz.scm (python-datrie): Update to 0.8. [arguments]: Remove.
2019-07-15gnu: python-gevent: Fix build with libev 4.25 and GCC 7.Marius Bakke
* gnu/packages/python-xyz.scm (python-gevent)[arguments]: Simplify libev unbundling, which failed with the newer libev. Use C_INCLUDE_PATH instead of CPATH. [native-inputs]: Remove (PACKAGE-SOURCE LIBEV).
2019-07-15gnu: gRPC: Re-add custom c-ares variant.Marius Bakke
Commit e8393ebe46d9ad09aceb152618db490378ba5ded updated c-ares without knowing that cmake-build-system was the most important feature of 'c-ares-next'. * gnu/packages/adns.scm (c-ares/cmake): New hidden package. * gnu/packages/machine-learning.scm (grpc)[inputs]: Change C-ARES to C-ARES/CMAKE.
2019-07-15gnu: python-hamcrest: Update to 1.9.0-0.25fdc5f.Marius Bakke
* gnu/packages/check.scm (python-pyhamcrest): Update to 1.9.0-0.25fdc5f. [arguments]: Replace CHECK phase with custom Pytest invokation.
2019-07-15gnu: libgweather: Update to 3.28.3.Kei Kebreau
* gnu/packages/gnome.scm (libgweather): Update to 3.28.3.
2019-07-15gnu: dconf-editor: Update to 3.30.2.Kei Kebreau
* gnu/packages/gnome.scm (dconf-editor): Update to 3.30.2.
2019-07-15gnu: gnome-clocks: Update to 3.30.1.Kei Kebreau
* gnu/packages/gnome.scm (gnome-clocks): Update to 3.30.1.
2019-07-15gnu: gnome-calendar: Update to 3.30.1.Kei Kebreau
* gnu/packages/gnome.scm (gnome-calendar): Update to 3.30.1.
2019-07-15gnu: gnome-shell-extensions: Update to 3.30.1.Kei Kebreau
* gnu/packages/gnome.scm (gnome-shell-extensions): Update to 3.30.1.
2019-07-15gnu: orca: Update to 3.30.2.Kei Kebreau
* gnu/packages/gnome.scm (orca): Update to 3.30.2.
2019-07-15gnu: gnome-screenshot: Update to 3.30.0.Kei Kebreau
* gnu/packages/gnome.scm (gnome-screenshot): Update to 3.30.0. [home-page]: Update URI.
2019-07-15gnu: cheese: Update to 3.30.0.Kei Kebreau
* gnu/packages/gnome.scm (cheese): Update to 3.30.0.
2019-07-15gnu: shotwell: Update to 0.30.4.Kei Kebreau
* gnu/packages/gnome.scm (shotwell): Update to 0.30.4. [build-system]: Use meson-build-system. [arguments]: Set glib-or-gtk? flag. [native-inputs]: Add desktop-file-utils. Remove itstool duplicate. Order inputs alphabetically.
2019-07-15gnu: gexiv2: Update to 0.12.0.Kei Kebreau
* gnu/packages/gnome.scm (gexiv2): Update to 0.12.0. [native-inputs]: Add gcr and vala.
2019-07-15gnu: gdm: Update to 3.30.3.Kei Kebreau
* gnu/packages/gnome.scm (gdm): Update to 3.30.3.
2019-07-15gnu: devhelp: Update to 3.30.1.Kei Kebreau
* gnu/packages/gnome.scm (devhelp): Update to 3.30.1. [build-system]: Use meson-build-system. [native-inputs]: Add gobject-introspection, glib:bin and gtk+:bin. [inputs]: Add amtk.
2019-07-15gnu: Add amtk.Kei Kebreau
* gnu/packages/gnome.scm (amtk): New variable.
2019-07-15gnu: gjs: Update to 1.56.2.Kei Kebreau
* gnu/packages/gnome.scm (gjs): Update to 1.56.2. [arguments]: Adjust pre-check phase. [propagated-inputs]: Replace mozjs-52 with mozjs-60.
2019-07-15gnu: gnome-tweaks: Update to 3.30.2.Kei Kebreau
* gnu/packages/gnome.scm (gnome-tweaks): Update to 3.30.2.
2019-07-15gnu: gcr: Update to 3.28.1.Kei Kebreau
* gnu/packages/gnome.scm (gcr): Update to 3.28.1. [native-inputs]: Add vala.
2019-07-15gnu: totem: Update to 3.30.0.Kei Kebreau
* gnu/packages/gnome.scm (totem): Update to 3.30.0.
2019-07-15gnu: shared-mime-info: Update to 1.10.Kei Kebreau
* gnu/packages/gnome.scm (shared-mime-info): Update to 1.10.
2019-07-15gnu: nautilus: Update to 3.30.5.Kei Kebreau
* gnu/packages/gnome.scm (nautilus): Update to 3.30.5.