Commit Graph

32568 Commits

Author SHA1 Message Date
Jelle Licht 3edf0d53a4
import: json: Consolidate duplicate json-fetch functionality.
* guix/import/json.scm (json-fetch): Return a list or hash table.
  (json-fetch-alist): New procedure.
* guix/import/github.scm (json-fetch*): Remove.
  (latest-released-version): Use json-fetch.
* guix/import/cpan.scm (module->dist-name): Use json-fetch-alist.
  (cpan-fetch): Likewise.
* guix/import/crate.scm (crate-fetch): Likewise.
* guix/import/gem.scm (rubygems-fetch): Likewise.
* guix/import/pypi.scm (pypi-fetch): Likewise.
* guix/import/stackage.scm (stackage-lts-info-fetch): Likewise.
2018-06-10 22:15:12 +02:00
宋文武 670a5e5430
gnu: keepalived: Install info documentation.
* gnu/packages/cluster.scm (keepalived)[arguments]: Add phases 'build-info'
and 'install-info'.
[native-inputs]: Add texinfo.
2018-06-10 23:42:14 +08:00
宋文武 af09dabf70
gnu: Add keepalived.
* gnu/packages/cluster.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2018-06-10 22:57:01 +08:00
宋文武 4dd1fb79f7
gnu: Add libnfnetlink.
* gnu/packages/linux.scm (libnfnetlink): New variable.
2018-06-10 22:57:01 +08:00
Danny Milosavljevic fc51c11b9d
gnu: mumble: Fix build with Boost 1.66.
Fixes <https://bugs.gnu.org/31775>.

* gnu/packages/patches/mumble-1.2.19-abs.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/telephony.scm (mumble)[source]: Add it.
2018-06-10 16:03:35 +02:00
宋文武 e6c8199b66
gnu: nix: Update to 2.0.4.
* gnu/packages/package-management.scm (nix): Update to 2.0.4.
2018-06-10 21:38:32 +08:00
Nicolas Goaziou 1bfde769f6
gnu: musescore: Fix build against Qt 5.11.
* gnu/packages/music.scm (musescore)[arguments]: Remove Webkit support, since
  it is replaced with Qt WebEngine in Qt 5.11.  Add missing include line.
[inputs]: Remove "qtwekbit".
2018-06-10 13:47:25 +02:00
Alex Vong 09b21b77cc
gnu: heimdal: Update to 7.5.0.
* gnu/packages/kerberos.scm (heimdal): Update to 7.5.0.
[source]: Update source uri.  Remove patches.
[arguments]: Adjust #:configure-flags and build phases accordingly.
[inputs]: Add sqlite.
[native-inputs]: Add texinfo and unzip.
* gnu/packages/patches/heimdal-CVE-2017-6594.patch,
  gnu/packages/patches/heimdal-CVE-2017-11103.patch: Remove files.
* gnu/local.mk (dist_patch_DATA): Remove them.

Co-authored-by: 宋文武 <iyzsong@member.fsf.org>
2018-06-10 16:00:45 +08:00
Kei Kebreau b7e2fcf05e
gnu: milkytracker: Update to 1.02.00.
* gnu/packages/music.scm (milkytracker): Update to 1.02.00.
2018-06-09 18:32:47 -04:00
Leo Famulari 65956ad352
gnu: GnuPG 1.4: Fix CVE-2018-12020.
* gnu/packages/patches/gnupg-1.4-CVE-2018-12020.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gnupg.scm (gnupg-1)[source]: Use it.
2018-06-09 17:50:03 -04:00
Julien Lepiller 5aa4ea6a2b
gnu: Add maven-resolver-provider.
* gnu/packages/maven.scm (maven-resolver-provider): New variable.
2018-06-09 23:25:35 +02:00
Julien Lepiller b218504026
gnu: Add maven-shared-utils.
gnu/packages/maven.scm (maven-shared-utils): New variable.
2018-06-09 23:25:26 +02:00
Julien Lepiller 18736663ed
gnu: Add maven-repository-metadata.
* gnu/packages/maven.scm (maven-repository-metadata): New variable.
2018-06-09 23:25:24 +02:00
Julien Lepiller 90fe8797cd
gnu: Add maven-resolver-impl.
* gnu/packages/maven.scm (maven-resolver-impl): New variable.
2018-06-09 23:25:21 +02:00
Julien Lepiller 516db3b97a
gnu: Add maven-model-builder.
* gnu/packages/maven.scm (maven-model-builder): New variable.
2018-06-09 23:25:18 +02:00
Julien Lepiller 3a5572ae76
gnu: Add maven-settings-builder.
* gnu/packages/maven.scm (maven-settings-builder): New variable.
2018-06-09 23:25:16 +02:00
Julien Lepiller 18110e45a6
gnu: Add maven-settings.
* gnu/packages/maven.scm (maven-settings): New variable.
2018-06-09 23:25:15 +02:00
Julien Lepiller f084641a01
gnu: Add maven-builder-support.
* gnu/packages/maven.scm (maven-builder-support): New variable.
2018-06-09 23:25:13 +02:00
Julien Lepiller d55503a6ab
gnu: Add maven-model.
* gnu/packages/maven.scm (maven-model): New variable.
2018-06-09 23:25:11 +02:00
Julien Lepiller 458687d586
gnu: Add maven-artifact.
* gnu/packages/maven.scm (maven-artifact): New variable.
* gnu/packages/patches/maven-generate-component-xml.patch: New file.
* gnu/packages/patches/maven-generate-javax-inject-named.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add them.
2018-06-09 23:24:52 +02:00
Julien Lepiller 816db9668c
gnu: po4a: Update to 0.53.
* gnu/packages/gettext.scm (po4a): Update to 0.53.
[source]: Update to newer github source location.
[arguments]: Disable two failing tests.
2018-06-09 23:08:13 +02:00
Efraim Flashner 8fc55f36c4
gnu: terminology: Update to 1.2.1.
* gnu/packages/enlightenment.scm (terminology): Update to 1.2.1.
2018-06-09 23:01:17 +03:00
Efraim Flashner 216c726673
gnu: gnupg: Update to 2.2.8 (fixes CVE-2018-12020).
* gnu/packages/gnupg.scm (gnupg): Update to 2.2.8.
2018-06-09 22:46:22 +03:00
Christopher Baines 5bf37e9c38
gnu: openttd: Add patch to fix compilation.
* gnu/packages/games.scm (openttd)[source]: Add a unreleased upstream patch to
fix building OpenTTD with ICU 61.
2018-06-09 12:25:32 +01:00
Christopher Baines aa7587633b
gnu: rhythmbox: Add a unreleased patch from upstream.
* gnu/packages/gnome.scm (rhythmbox)[source]: Add patch from the upstream Git
repository, as without this, the package fails to build.
2018-06-09 11:11:28 +01:00
Ludovic Courtès 77a1aac6cc
pull: Record the URL, branch, and commit as a manifest entry property.
* guix/scripts/pull.scm (derivation->manifest-entry): Turn COMMIT into a
keyword parameter; add #:url and #:branch.  Add a 'source' property to
the manifest entry.
(build-and-install): Add #:url and #:branch and pass it to
'derivation->manifest-entry'.
(guix-pull): Adjust accordingly.
2018-06-09 12:02:28 +02:00
Ludovic Courtès f6f2346f9b
profiles: Add 'properties' field to manifest entries.
* guix/profiles.scm (<manifest-entry>)[properties]: New field.
(manifest->gexp)[entry->gexp]: Serialize it.
(sexp->manifest)[sexp->manifest-entry]: Deserialize it.
2018-06-09 12:02:28 +02:00
Ludovic Courtès c423ae8918
packages: Add 'package-patched-vulnerabilities'.
* guix/packages.scm (patch-file-name): New procedure.
(%vulnerability-regexp): New variable.
(package-patched-vulnerabilities): New procedure.
* guix/scripts/lint.scm (patch-file-name): Remove.
(check-vulnerabilities): Adjust to use
'package-patched-vulnerabilities'.
* tests/packages.scm ("package-patched-vulnerabilities"): New test.
2018-06-09 12:02:28 +02:00
Ludovic Courtès efcb4441f1
profiles: Add '%current-profile', 'user-friendly-profile', & co.
* guix/scripts/package.scm (%user-profile-directory)
(%profile-directory, %current-profile, canonicalize-profile)
(user-friendly-profile): Move to...
* guix/profiles.scm: ... here.
2018-06-09 12:02:28 +02:00
Ludovic Courtès cdc5b9320f
system: Honor ~/.config/guix/current in /etc/profile.
* gnu/system.scm (operating-system-etc-service)[profile]: Add
~/.config/guix/current/share/info to INFOPATH.  Treat ~/.guix-profile
and ~/.config/guix/current in the same way.
2018-06-09 12:02:28 +02:00
Ludovic Courtès 24cb66d18e
ui: Avoid #:select'ing bindings introduced in the latest (guix build utils).
This should allow 'guix pull' to complete even when invoked from a Guix
that predates commit 5d669883ec.

* guix/ui.scm: Use #:hide instead of #:select.  This is a followup to
5d669883ec.
2018-06-09 12:02:28 +02:00
Ludovic Courtès 4554d4c8a9
self: Build the Info manual.
* guix/self.scm (info-manual): New procedure.
(whole-package): Add #:info and honor it.
(compiled-guix): Pass #:info.
2018-06-09 12:02:28 +02:00
Ludovic Courtès 9f1c3559b0
self: Compute and use locale data.
* guix/self.scm (sub-directory, locale-data): New procedures.
(guix-command): Add SOURCE parameter.  Call 'locale-data' when SOURCE is
true and use it in staged 'bindtextdomain' calls.
(whole-package): Add #:command and honor it.
(compiled-guix): Pass #:command to 'whole-package'.
2018-06-09 12:02:27 +02:00
Ludovic Courtès 75e24d7b0e
pull: Install the new Guix in a profile.
* guix/scripts/pull.scm (%pull-version): New variable.
(build-from-source): Pass #:pull-version to BUILD.
(whole-package-for-legacy, derivation->manifest-entry): New procedure.
(build-and-install): Rewrite in terms of 'build-and-use-profile'.
* guix/scripts/system.scm (maybe-suggest-running-guix-pull)[latest]:
Switch to "/current".
* scripts/guix.in (augment-load-paths!): Remove use of
~/.config/guix/latest.
* build-aux/compile-as-derivation.scm: Replace "/guix/latest/" with
"/current/share/guile/site/X.Y"
* guix/scripts.scm (warn-about-old-distro)[age]: Check "/current"
instead of "/latest".
* doc/guix.texi (Invoking guix pull): Document it.
* doc/contributing.texi (Running Guix Before It Is Installed): Remove
footnote about abusing ~/.config/guix/latest.
2018-06-09 12:02:27 +02:00
Ludovic Courtès 8a0d9bc8a3
self: Produce a complete package with the 'guix' command.
* guix/self.scm (guix-command): New procedure.
(compiled-guix): Add #:pull-version parameter.
[command, package]: New variables.
Honor PULL-VERSION.
(guix-derivation): Add #:pull-version and pass it to 'compiled-guix'.
* build-aux/build-self.scm (build-program): Add #:pull-version
parameter.  Pass it to 'guix-derivation'.
(build): Add #:pull-version and pass it to 'build-program'.
* build-aux/compile-as-derivation.scm: Pass #:pull-version to BUILD.
2018-06-09 12:02:27 +02:00
宋文武 d6fb0985a6
gnu: btrfs-progs: Fix build by disabling tests.
* gnu/packages/linux.scm (btrfs-progs)[#:arguments]: Add '#:tests? #f'.
2018-06-09 17:18:27 +08:00
宋文武 927846b3ab
gnu: lxc: Update to 3.0.1.
* gnu/packages/virtualization.scm (lxc): Update to 3.0.1.
2018-06-09 15:45:16 +08:00
Rutger Helling 945b119fac
gnu: nzbget: Update to 20.0.
* gnu/packages/networking.scm (nzbget): Update to 20.0.
2018-06-09 02:30:07 +02:00
Nicolas Goaziou c8b2fd2866
gnu: mame: New variable.
* gnu/packages/emulators.scm (mame): New variable.
2018-06-09 00:20:00 +02:00
Nicolas Goaziou d597dda6e0
gnu: asio: New variable.
* gnu/packages/networking.scm (asio): New variable.
2018-06-09 00:20:00 +02:00
Oleg Pykhalov da23cc000e
gnu: Add emacs-ivy-yasnippet.
* gnu/packages/emacs.scm (emacs-ivy-yasnippet): New public variable.
2018-06-08 23:19:38 +03:00
Gábor Boskovits c315d37058
gnu: exim: Add libnsl input.
* gnu/packages/mail.scm (exim)[inputs]: Add libnsl.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2018-06-08 22:20:28 +03:00
Julien Lepiller 7f3f72b292
nls: Update 'fr' translation. 2018-06-08 20:38:41 +02:00
Julien Lepiller 136a1e8b57
doc: Document xorg keymap configuration.
* doc/guix.texi (Xorg display): Add an example xorg keymap configuration.
2018-06-08 20:38:18 +02:00
Oleg Pykhalov ca82bdfdfb
gnu: twitchy: Install 'rofi-twitchy'.
* gnu/packages/video.scm (twitchy): Install 'rofi-twitchy'.
2018-06-08 20:30:29 +03:00
Ricardo Wurmus cbc1c27b67
gnu: rcas-web: Update to 0.0.5.
* gnu/packages/bioinformatics.scm (rcas-web): Update to 0.0.5.
2018-06-08 17:39:24 +02:00
宋文武 0d4c2d35af
services: dnsmasq-service-type: Add default configuration and description.
* gnu/services/dns.scm (dnsmasq-service-type)
[default-value, description]: New fields.
2018-06-08 23:32:49 +08:00
宋文武 c061eb587c
services: dnsmasq: Use 'negative-cache?' instead of 'no-negcache?'.
The 'no-negcache?' option is mapped to the '--no-negcache' command-line
argument directly, but we're in the scheme world, where the general guideline
is to avoid double-negations in identifiers.

* gnu/services/dns.scm <dnsmasq-configuration>: Replace the 'no-negcache?'
field with 'negative-cache?'.
* doc/guix.texi (DNS Services)[Dnsmasq Service]: Adjust accordingly.
2018-06-08 23:32:49 +08:00
Kei Kebreau 129948dcbd
gnu: debootstrap: Substitute chroot in 'patch-source' phase.
* gnu/packages/debian.scm (debootstrap)[arguments]: In 'patch-source' phase,
substitute chroot in the debootstrap script file.
[inputs]: Add coreutils.
2018-06-08 11:07:51 -04:00
Rouby Pierre-Antoine ad3a580716
gnu: hpcguix-web: Update to commit '87cb516'.
* gnu/packages/web.scm (hpcguix-web): Update to commit '87cb516'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-06-08 17:04:24 +02:00