Commit Graph

45887 Commits

Author SHA1 Message Date
Danny Milosavljevic d1b103e14b
gnu: Add python-flask-htpasswd.
* gnu/packages/python-web.scm (python-flask-htpasswd): New variable.
2019-07-17 11:50:18 +02:00
Jelle Licht d376129f0b
gnu: Add network-manager-vpnc.
* gnu/packages/gnome.scm (network-manager-vpnc): New variable.
2019-07-17 11:08:48 +02:00
Jelle Licht 633422b0e6
gnu: network-manager-openvpn: Patch hardcoded paths.
* gnu/packages/gnome.scm (network-manager-openvpn)[arguments]: Add custom
'patch-path' phase to replace references to openvpn and modprobe.
[inputs]: Add kmod.
2019-07-17 11:08:43 +02:00
Jelle Licht d9af93c4ea
gnu: network-manager-openvpn: Pass '--localstatedir=/var'.
* gnu/packages/gnome.scm (network-manager-openvpn)[arguments]: Pass
'--localstatedir=/var' to #:configure-flags.
2019-07-17 11:08:31 +02:00
Jelle Licht 4efdede284
services: network-manager: Clear default OpenVPN user.
* gnu/services/networking.scm (network-manager-shepherd-service): Clear
'NM_OPENVPN_USER' and 'NM_OPENVPN_GROUP' in #:environment-variables.
2019-07-17 11:08:26 +02:00
Jelle Licht 40557aeab5
services: network-manager: Properly load vpn plugins
Extends the dbus service when vpn plugins are enabled.

* gnu/services/networking.scm (network-manager-service-type): Load vpn plugins
when extending dbus service.
2019-07-17 11:08:19 +02:00
Tomáš Čech 7d1861e2d2
gnu: network-manager: Fix plugin loading problem.
* gnu/packages/patches/nm-plugin-path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gnome.scm (network-manager)[source](patches): New field.

Signed-off-by: Jelle Licht <jlicht@fsfe.org>
2019-07-17 11:07:43 +02:00
Arun Isaac e13714b642
gnu: Add gnaural.
* gnu/packages/audio.scm (gnaural): New variable.
2019-07-17 12:50:39 +05:30
Tobias Geerinckx-Rice 214cbec2cf
gnu: msmtp: Update to 1.8.5.
* gnu/packages/mail.scm (msmtp): Update to 1.8.5.
2019-07-16 23:50:50 +02:00
Tobias Geerinckx-Rice fcc6503d73
gnu: mpop: Update to 1.4.5.
* gnu/packages/mail.scm (mpop): Update to 1.4.5.
2019-07-16 23:50:50 +02:00
Tobias Geerinckx-Rice e7597aad86
gnu: qjackctl: Update to 0.5.9.
* gnu/packages/audio.scm (qjackctl): Update to 0.5.9.
2019-07-16 23:32:01 +02:00
Tobias Geerinckx-Rice 5e4cb92ee8
gnu: qsynth: Update to 0.5.7.
* gnu/packages/audio.scm (qsynth): Update to 0.5.7.
[arguments]: Remove CXXFLAGS=-std=gnu++11 #:configure-flag.
2019-07-16 23:32:01 +02:00
Tobias Geerinckx-Rice 12c8c997e7
gnu: qsynth: Use newer (HTTPS) home page.
* gnu/packages/audio.scm (qsynth)[home-page]: Update.
2019-07-16 23:32:01 +02:00
Paul Garlick 37dc29200c
gnu: Add opencascade-occt.
* gnu/packages/maths.scm (opencascade-occt): New variable.
2019-07-16 22:19:26 +01:00
Tobias Geerinckx-Rice 844cb1b64d
gnu: osc: Update to 0.165.2.
* gnu/packages/build-tools.scm (osc): Update to 0.165.2.
2019-07-16 23:00:10 +02:00
Tobias Geerinckx-Rice c8a227dfea
gnu: gap: Update to 4.10.2.
* gnu/packages/algebra.scm (gap): Update to 4.10.2.
2019-07-16 23:00:10 +02:00
Tobias Geerinckx-Rice 66d6b7c3e9
gnu: font-google-noto: Update to 20171025.
* gnu/packages/fonts.scm (font-google-noto): Update to 20171025.
2019-07-16 23:00:10 +02:00
Tobias Geerinckx-Rice c8ae38d389
gnu: r-pmcmr: Fix description.
* gnu/packages/cran.scm (r-pmcmr)[description]: Use ‘dependent’.
2019-07-16 23:00:10 +02:00
Tobias Geerinckx-Rice 3fb3291e25
Use more guix.gnu.org.
* build-aux/build-self.scm (make-config.scm): Replace gnu.org/s/guix with guix.gnu.org.
* guix/scripts/publish.scm (render-home-page): Likewise.
* guix/self.scm (make-config.scm): Likewise.
2019-07-16 23:00:10 +02:00
Tobias Geerinckx-Rice 4a635d3d6e
gnu: hdup: Use archived home page.
* gnu/packages/backup.scm (hdup)[home-page]: Load from archive.org.
2019-07-16 23:00:10 +02:00
Tobias Geerinckx-Rice 61ea54e7c0
gnu: mercurial: Update to 5.0.2.
* gnu/packages/version-control.scm (mercurial): Update to 5.0.2.
2019-07-16 23:00:09 +02:00
Tobias Geerinckx-Rice a8ebf57cf5
gnu: pari-gp: Update to 2.11.2.
* gnu/packages/algebra.scm (pari-gp): Update to 2.11.2.
2019-07-16 23:00:09 +02:00
Tobias Geerinckx-Rice 45dbc1b2dd
gnu: xauth: Update to 1.1.
* gnu/packages/xorg.scm (xauth): Update to 1.1.
2019-07-16 23:00:09 +02:00
Tobias Geerinckx-Rice a71d42bc30
gnu: gp2c: Update to 0.0.11pl2.
* gnu/packages/algebra.scm (gp2c): Update to 0.0.11pl2.
2019-07-16 23:00:09 +02:00
Tobias Geerinckx-Rice fcf82fd314
gnu: jekyll: Update to 3.8.6.
* gnu/packages/ruby.scm (jekyll): Update to 3.8.6.
2019-07-16 23:00:09 +02:00
Timothy Sample 71e5d425c9
gnu: ghc-clock-bootstrap: Move and inherit from ghc-clock.
Fixes <https://bugs.gnu.org/36084>.

* gnu/packages/haskell-check.scm (ghc-clock-bootstrap): Move this...
* gnu/packages/haskell.scm (ghc-clock-bootstrap): ...here and inherit
from ghc-clock (which implies updating to version 0.7.2).

Co-authored-by: Robert Vollmert <rob@vllmrt.net>
2019-07-16 14:43:03 -04:00
Carl Dong 6869b6635a
gnu: Allow building toolchain with non-default libc.
* gnu/packages/base.scm (make-gcc-libc): Make public.
* gnu/packages/commencement.scm (make-gcc-toolchain): Add 'libc'
  optional argument to specify using a non-default glibc package, also
  make public.
2019-07-16 11:13:15 -04:00
Marius Bakke d4cafcaf30
gnu: ungoogled-chromium: Update to 75.0.3770.142 [security fixes].
This fixes CVE-2019-972921 and CVE-2019-951487.

* gnu/packages/chromium.scm (%chromium-version): Set to 75.0.3770.142.
(%chromium-origin): Update hash.
2019-07-16 17:06:41 +02:00
Ricardo Wurmus 34c2a16b10
gnu: python-matplotlib: Do not propagate GTK+ or python-pyqt.
* gnu/packages/python-xyz.scm (python-matplotlib)[propagated-inputs]: Remove
gtk+ and python-pyqt.
[arguments]: Adjust configure-environment phase.
2019-07-16 17:03:19 +02:00
Nicolas Goaziou 84d7784afe
gnu: snap: Update to 5.0.4.
* gnu/packages/education.scm (snap): Update to 5.0.4.
2019-07-16 14:34:45 +02:00
Ludovic Courtès e3e9c191ed
doc: Add 'images' directory next to HTML pages.
* doc/build.scm (html-manual): Add images/ symlinks.
2019-07-16 10:37:49 +02:00
Robert Vollmert 4fde0030d4
build/cargo-build-system: Use bundled json instead of guile-json.
* 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-16 09:54:12 +02:00
Robert Vollmert 848862f029
gnu: rust-proc-macro2: Update to 0.4.30.
* gnu/packages/crates-io.scm (rust-proc-macro2): Update to 0.4.30.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-07-16 09:53:51 +02:00
Robert Vollmert c82c16a6f3
build/cargo-build-system: Set CARGO_HOME early.
* 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-16 09:52:07 +02:00
Efraim Flashner 857ff51562
gnu: direvent: Update to 5.2.
* gnu/packages/admin.scm (direvent): Update to 5.2.
2019-07-16 09:40:57 +03:00
Christopher Baines 38f3176a57
lint: Separate checkers by dependence on the internet.
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-15 22:32:19 +01:00
Christopher Baines f363c836e0
lint: Move the linting code to a different module.
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-15 22:32:19 +01:00
Christopher Baines 57238532f4
scripts: lint: Separate the message warning text and data.
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-15 22:32:19 +01:00
Christopher Baines 50fc2384fe
scripts: lint: Handle warnings with a record type.
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-15 22:32:18 +01:00
Mark H Weaver 5b524f448c
gnu: linux-libre: Update to 5.2.1.
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.2.1.
(%linux-libre-hash): Update hash.
2019-07-15 15:26:40 -04:00
Mark H Weaver ec92941a82
gnu: linux-libre@4.19: Update to 4.19.59.
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.59.
(%linux-libre-4.19-hash): Update hash.
2019-07-15 15:25:19 -04:00
Marius Bakke 6e00b1ea62
gnu: python-cachecontrol: Do not use unstable source archive.
* gnu/packages/python-web.scm (python-cachecontrol)[source]: Change to GIT-FETCH.
2019-07-15 20:38:00 +02:00
Efraim Flashner 9db2cad68d
gnu: uim-qt: Build with qt-5 support.
* gnu/packages/xorg.scm (uim-qt)[inputs]: Remove qt@4.  Add qtbase,
qtx11extras.
[arguments]: Replace qt4 configure flags with qt5 configure flags.
2019-07-15 21:17:26 +03:00
Ludovic Courtès e8fc56a3d2
gnu: open-zwave: Use the bundled TinyXML.
* gnu/packages/zwave.scm (open-zwave)[source](snippet): Remove code to
use our own TinyXML.
[inputs]: Remove TINYXML.
2019-07-15 18:27:23 +02:00
Ludovic Courtès 6f8eb9f1d8
remote: Make sure the user doesn't mess up with the REPL protocol.
Reported by zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze).

* guix/remote.scm (trampoline): Wrap 'primitive-load' in
'with-output-to-port'.
2019-07-15 18:27:22 +02:00
Ludovic Courtès 5db07b971d
remote: Fix type error in the list of store items to send.
Fixes a regression introduced in 3868577480.

* guix/remote.scm (remote-eval): Use 'append-map', not 'map', for
'derivation-input-output-paths'.
2019-07-15 18:27:22 +02:00
Rutger Helling e6bd575a72
gnu: swayidle: Update to 1.5.
* gnu/packages/wm.scm (swayidle): Update to 1.5.
2019-07-15 14:22:24 +02:00
Rutger Helling 6862766cf2
gnu: openrct2: Update to 0.2.3.
* gnu/packages/games.scm (openrct2): Update to 0.2.3.
2019-07-15 14:22:24 +02:00
Arne Babenhauserheide fb8b99a5f5
doc: note how to install git send-email
* doc/contributing.texi (git send-email): Add install instructions.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-15 12:48:49 +02:00
Arne Babenhauserheide bd105b78b0
gnu: python-aiorpcx: capitalize description
* gnu/packages/python-web.scm (python-aiorpcx): capitalize description

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-15 12:48:49 +02:00