Commit Graph

45931 Commits

Author SHA1 Message Date
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
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 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
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
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
Tobias Geerinckx-Rice 53f21b3fe9
machine: Fix typo.
* gnu/machine/ssh.scm (managed-host-environment-type)[description]:
Fix typo.
2019-07-18 12:57:00 +02:00
Nicolas Goaziou 3c90c57a3b
Revert "gnu: emacs-org: Update to 9.2.4."
This reverts commit 3487533492.

The structure of the tarball is different when obtained from
"https://orgmode.org" and emacs-build-system no longer apply.  Therefore, the
package will not build.

Org has not been updated in ELPA to its latest version (9.2.4); this was
reported upstream.
2019-07-18 10:43:57 +02:00
Kei Kebreau 1fe84f5dd0
gnu: starfighter: Update to 2.0.0.2.
* gnu/packages/games.scm (starfighter): Update to 2.0.0.2.
[source]: Use 'git-fetch' and 'git-file-name'.
[native-inputs]: Add autoconf and automake.
[inputs]: Add pango and sdl2-ttf.
[home-page]: Update project home page.
2019-07-17 22:58:41 -04:00
Ludovic Courtès 193d20f351
doc: Correctly document 'host' field of <cuirass-configuration>.
* doc/guix.texi (Continuous Integration): Fix doc of the 'host' field.
2019-07-18 00:44:23 +02:00
Ludovic Courtès 9b9b753529
pull: Pass #:use-substitutes? to 'show-what-to-build'.
Fixes <https://bugs.gnu.org/36509>.
Reported by Robert Vollmert <rob@vllmrt.net>.

* guix/scripts/pull.scm (build-and-install): Add #:use-substitutes?
parameter and pass it to UPDATE-PROFILE.
(guix-pull): Pass #:use-substitutes? to 'build-and-install'.
2019-07-18 00:44:23 +02:00
Ludovic Courtès 67fb53c0d8
pull: Use (ice-9 format).
* guix/scripts/pull.scm (guix): Use (ice-9 format), as reported by
'-Wformat'.
2019-07-18 00:44:23 +02:00
Ludovic Courtès c84c4c1db7
pull: Remove unused procedures.
* guix/scripts/pull.scm (what-to-build, indirect-root-added): Remove.
2019-07-18 00:44:23 +02:00
Ludovic Courtès 4569a7693e
doc: Remove note about grafts being "beta".
* doc/guix.texi (Security Updates): Remove pointless note about the
feature being "beta".
2019-07-18 00:44:23 +02:00
Marius Bakke 82ccfb1d94
gnu: ungoogled-chromium: Add native Wayland variant.
* gnu/packages/chromium.scm (%preserved-third-party-files): Preserve
"third_party/wayland/wayland_scanner_wrapper.py" and "third_party/wayland-protocols".
(ungoogled-chromium/wayland): New public variable.
2019-07-17 16:30:23 +02:00
Tobias Geerinckx-Rice 243c523946
gnu: emacs-org-contrib: Update to 20190715.
* gnu/packages/emacs-xyz.scm (emacs-org-contrib): Update to 20190715.
2019-07-17 16:03:56 +02:00
Tobias Geerinckx-Rice 3487533492
gnu: emacs-org: Update to 9.2.4.
* gnu/packages/emacs-xyz.scm (emacs-org): Update to 9.2.4.
2019-07-17 16:03:56 +02:00
Tobias Geerinckx-Rice 1d552f636b
gnu: c-reduce: Update to 2.10.0.
* gnu/packages/debug.scm (c-reduce): Update to 2.10.0.
[inputs]: Use default clang & llvm versions (currently 8).
2019-07-17 16:03:56 +02:00
Tobias Geerinckx-Rice ef421791c5
gnu: sord: Propagate serd.
* gnu/packages/rdf.scm (sord)[inputs]: Move serd from here…
[propagated-inputs]: …to here.
2019-07-17 16:03:56 +02:00
Tobias Geerinckx-Rice 746d33847b
gnu: python-pathlib2: Fix synopsis typo.
* gnu/packages/python-xyz.scm (synopsis): Fix typo.
2019-07-17 16:03:55 +02:00
Tobias Geerinckx-Rice b593f264c8
gnu: npth: Update to 1.6.
* gnu/packages/gnupg.scm (npth): Update to 1.6.
2019-07-17 16:03:55 +02:00
Ludovic Courtès 6bfcb72926
gnu: u-boot: Fix target/system comparison in 'make-u-boot-package'.
Until now, running, say:

  guix build -e '(@@ (gnu packages bootloaders) u-boot-a20-olinuxino-micro)' \
    -s armhf-linux

on an x86_64-linux machine wouldn't have the desired effect
because (%current-system) would return "x86_64-linux" when 'same-arch?'
was evaluated.  This fixes that.

* gnu/packages/bootloaders.scm (make-u-boot-package)[same-arch?]: Turn
into a thunk so that (%current-system) is evaluated in the right
context, and adjust callers.  Use 'string=?' instead of 'string-prefix?'.
2019-07-17 15:36:04 +02:00
Jens Mølgaard f5854abc88
gnu: Add readymedia.
* gnu/packages/upnp.scm (readymedia): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-17 15:36:04 +02:00
Jonathan Brielmaier 6a0c6766a4
gnu: telegram-purple: Update to 1.4.1.
* gnu/packages/messaging.scm (telegram-purple): Update to 1.4.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-17 15:36:04 +02:00
Brian Leung 46a3a5b0e6
gnu: emacs-prescient: Update to 3.2.
* gnu/packages/emacs-xyz.scm (emacs-prescient): Update to 3.2.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-17 15:36:04 +02:00
Florian Pelz 0636742b77
doc: Reorder and clarify contributing instructions.
* doc/contributing.texi (Building from Git, Running Guix Before It Is
Installed): Make instructions using Guix come first and clarify which code is
an instruction and which is merely an example.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-17 15:36:04 +02:00
Ludovic Courtès aa856d02b8
gnu: python-ipykernel: Record absolute file name of 'python'.
* gnu/packages/python-xyz.scm (python-ipykernel)[arguments]: Add
'set-python-file-name' phase.
2019-07-17 15:36:04 +02:00
Marius Bakke dcc773e560
gnu: multipath-tools: Update to 0.8.2.
* gnu/packages/linux.scm (multipath-tools): Update to 0.8.2.
2019-07-17 15:11:30 +02:00
Marius Bakke 6f850a19a7
gnu: multipath-tools: Remove Ceph input.
Ceph adds a massive dependency for a little-used feature.  It was mainly added
because the build-system previously could not cope with librados being missing.

* gnu/packages/linux.scm (multipath-tools)[inputs]: Remove CEPH:LIB.
2019-07-17 15:11:30 +02:00
Danny Milosavljevic fe9c5b1dad
gnu: python-swagger-spec-validator: Update to 2.4.3.
* gnu/packages/python-xyz.scm (python-swagger-spec-validator): Update to
2.4.3.
[native-inputs]: Add python-pyyaml.
2019-07-17 12:29:49 +02:00
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