Commit Graph

22704 Commits (c27e02bf6b249321c9e699e414f474ce072a6f14)

Author SHA1 Message Date
Danny Milosavljevic 1975c754f4
bootloader: Use <menu-entry> for the bootloader side.
* gnu/bootloader.scm (menu-entry-device-mount-point): New variable.  Export it.
(<menu-entry>: New field "device".
* gnu/bootloader/grub.scm (grub-confgiuration-file): Handle <menu-entry>
entries.
* gnu/bootloader/extlinux.scm (extlinux-configuration-file): Handle
<menu-entry> entries.
* gnu/system.scm (menu->entry->boot-parameters): Delete variable.
(boot-parameters->menu-entry): New variable.  Export it.
(operating-system-bootcfg): Make OLD-ENTRIES a list of <menu-entry>.
* guix/script/system.scm (reinstall-bootloader): Fix bootcfg usage.
(perform-action): Fix bootcfg usage.
2017-07-28 21:56:18 +02:00
Ludovic Courtès 9ca8aa38ec
gnu: guix: Add dependency on Guile-Git.
* gnu/packages/package-management.scm (guix)[arguments] <wrap-program>:
Add Guile-Git to PATH.
[propagated-inputs]: Add GUILE-GIT.
(guile2.0-guix)[propagated-inputs]: Add GUILE2.0-GIT.
2017-07-28 18:09:44 +02:00
Ludovic Courtès 3a53759807
gnu: guile-git: Update snapshot.
* gnu/packages/guile.scm (guile-git): Update to commit e156a10.
[native-inputs]: Add TEXINFO.
2017-07-28 18:09:43 +02:00
Ludovic Courtès f0e492f0a5
utils: Factorize XDG directory handling.
* guix/ui.scm (config-directory): Remove.
* guix/utils.scm (xdg-directory, config-directory): New procedures.
(cache-directory): Rewrite in terms of 'xdg-directory'.
* guix/scripts/substitute.scm (%narinfo-cache-directory): Pass #:ensure?
 #f to 'cache-directory'.
2017-07-28 18:09:43 +02:00
Ludovic Courtès 6f0f55148d
gnu: le-certs: Create OpenSSL hash symlinks.
* gnu/packages/certs.scm (le-certs)[arguments]: Run 'c_rehash' on the
result.
[native-inputs]: New fields.
2017-07-28 18:09:43 +02:00
Tobias Geerinckx-Rice c4b006ba12
gnu: btrfs-progs: Update to 4.12.
* gnu/packages/linux.scm (btrfs-progs): Update to 4.12.
[outputs]: Remove inaccurate comment on size.
2017-07-28 16:32:04 +02:00
Ben Woodcroft f112bd26ae
gnu: redis: Update to 4.0.1.
* gnu/packages/databases.scm (redis): Update to 4.0.1.
2017-07-28 21:10:49 +10:00
Ben Woodcroft ac01cb0790
gnu: ruby-json-pure: Update to 2.1.0.
* gnu/packages/ruby.scm (ruby-json-pure): Update to 2.1.0.
[arguments]: Replace 'replace-git-ls-files' phase with 'fix-rakefile'
and 'regenerate-gemspec' phases.
[inputs]: Remove ruby-permutation, ruby-utils, ragel. Add ruby-test-unit,
ruby-simplecov.
2017-07-28 20:18:53 +10:00
Ben Woodcroft 9c14bc7a4d
gnu: bundler: Update to 1.15.3.
* gnu/packages/ruby.scm (bundler): Update to 1.15.3.
2017-07-28 20:18:53 +10:00
Ben Woodcroft a2a558147a
gnu: ruby-ffi: Update to 1.9.18.
* gnu/packages/ruby.scm (ruby-ffi): Update to 1.9.18.
2017-07-28 20:18:52 +10:00
Ben Woodcroft 00eeb45fca
gnu: redis: Update to 4.0.0.
* gnu/packages/databases.scm (redis): Update to 4.0.0.
2017-07-28 20:18:52 +10:00
Ben Woodcroft efb94fda64
gnu: ruby-nokogiri: Update to 1.8.0.
* gnu/packages/ruby.scm (ruby-nokogiri): Update to 1.8.0.
2017-07-28 20:18:52 +10:00
Ben Woodcroft 26f4a37736
gnu: ruby-mini-portile2: Update to 2.2.0.
* gnu/packages/ruby.scm (ruby-mini-portile2): Update to 2.2.0.
2017-07-28 20:18:51 +10:00
Tobias Geerinckx-Rice 0f6cf5a61c
gnu: nautilus: Update to 3.24.2.1.
* gnu/packages/gnome.scm (nautilus): Update to 3.24.2.1.
2017-07-28 01:02:40 +02:00
Tobias Geerinckx-Rice 73fe4552aa
gnu: gptfdisk: Update description.
* gnu/packages/disk.scm (gptfdisk): Remove outdated statement and use @dfn.
2017-07-28 01:02:39 +02:00
Tobias Geerinckx-Rice 0193e3be53
gnu: goffice: Update to 3.24.2.1.
* gnu/packages/gnome.scm (goffice): Update to 3.24.2.1.
2017-07-28 01:02:39 +02:00
Tobias Geerinckx-Rice c8fc9a379b
gnu: shotwell: Update to 0.26.2.
* gnu/packages/gnome.scm (shotwell): Update to 0.26.2.
2017-07-28 01:02:39 +02:00
Marius Bakke fb2715720a
gnu: whois: Update to 5.2.17.
* gnu/packages/networking.scm (whois): Update to 5.2.17.
2017-07-28 00:07:45 +02:00
Marius Bakke bd51224936
gnu: nss, nss-certs: Update to 3.32.
This release includes minor code changes and many certificate updates:
<https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.32_release_notes>

* gnu/packages/certs.scm (nss-certs): Update to 3.32.
* gnu/packages/gnuzilla.scm (nss): Update to 3.32.
[arguments]: Prevent another test file from being installed.
* gnu/packages/patches/nss-pkgconfig.patch: Adjust.
2017-07-28 00:07:28 +02:00
Marius Bakke 6571754462
gnu: nspr: Update to 4.16.
* gnu/packages/gnuzilla.scm (nspr): Update to 4.16.
2017-07-27 22:15:27 +02:00
Marius Bakke 90335ccea6
gnu: python-cryptography: Update to 2.0.2.
* gnu/packages/python.scm (python-cryptography-vectors, python-cryptography):
Update to 2.0.2.
2017-07-27 22:15:26 +02:00
Leo Famulari b2973d9634
gnu: subversion: Update to 1.8.18.
* gnu/packages/version-control.scm (subversion): Update to 1.8.18.
2017-07-27 14:33:32 -04:00
Leo Famulari 6d31c175b2
gnu: net-tools: Update to 1.60-0.479bb4a7.
This leaves net-tools-for-tests unchanged.

Fixes <https://bugs.gnu.org/27811>.

* gnu/packages/linux.scm (net-tools): Update to 1.60-0.479bb4a7.
[source]: Use git-fetch.
[inputs]: Remove the Debian patch.
[arguments]: Use modify-phases. Remove the 'patch' phase. Disable
SELINUX and AFBLUETOOTH from build configuration.
2017-07-27 13:39:42 -04:00
Ludovic Courtès 412701b0e5
services: guix-publish: Run in a UTF-8 locale.
Works around <https://bugs.gnu.org/26948>.

* gnu/services/base.scm (guix-publish-shepherd-service): Pass
  #:environment-variables to 'make-forkexec-constructor'.
2017-07-27 14:51:03 +02:00
Ludovic Courtès 138fe41198
system: Add 'grep --color' alias in '.bash_profile' skeleton.
* gnu/system/shadow.scm (default-skeletons)[profile]: Add 'grep' alias.
2017-07-27 14:44:28 +02:00
Julian Graham a812aff99c
gnu: gzochi: Update to 0.11.1.
* gnu/packages/game-development.scm (gzochi): Update to 0.11.1.
  (gzochi)[arguments]: Remove patch for `-Werror', which is no longer
  necessary.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-07-27 11:47:51 +02:00
Ludovic Courtès 111b2853c7
nls: Mark (guix scripts weather) as translatable.
* po/guix/POTFILES.in: Add guix/scripts/weather.scm.
2017-07-27 11:47:51 +02:00
Ludovic Courtès 952cf67cb1
weather: Show "-m" option in help message.
Reported by Alex Kost <alezost@gmail.com>.

* guix/scripts/weather.scm (show-help): Show "-m".
2017-07-27 11:47:50 +02:00
Ludovic Courtès f1be6f5b5a
gnu: openmpi: Add "static" output.
* gnu/packages/mpi.scm (openmpi)[outputs]: New field.
[arguments]: Add 'move-static-libraries' phase.
2017-07-27 11:47:50 +02:00
Ricardo Wurmus 8f2c410fc5
gnu: r-preprocesscore: Update to 1.38.1.
* gnu/packages/statistics.scm (r-preprocesscore): Update to 1.38.1.
2017-07-27 10:04:09 +02:00
Ricardo Wurmus 620b0468e9
gnu: Add cowsay.
* gnu/packages/games.scm (cowsay): New variable.
2017-07-27 10:03:37 +02:00
Tobias Geerinckx-Rice 56ab0f0c6d
gnu: nnn: Update to 1.3.
* gnu/packages/admin.scm (nnn): Update to 1.3.
2017-07-27 05:03:33 +02:00
Dave Love efcacc17c7
gnu: openmpi: Enable SGE support.
* gnu/packages/mpi.scm (openmpi)[arguments]: Pass "--with-sge" in
 #:configure-flags.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-07-26 23:13:52 +02:00
ng0 217ce5702c
gnu: mg: Add new phase to find 'diff'.
* gnu/packages/text-editors.scm (mg)[phases]: Add new 'correct-location-of-difftool'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-07-26 23:13:52 +02:00
ng0 bcd1544dd2
gnu: mg: Fetch source via HTTPS.
* gnu/packages/text-editors.scm (mg)[source]: Use HTTPS.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-07-26 23:13:52 +02:00
ng0 1a5a8afea0
gnu: mg: Update to 20170401.
* gnu/packages/text-editors.scm (mg): Update to 20170401.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-07-26 23:13:52 +02:00
Danny Milosavljevic 9ea61b1c6f
gnu: Add python-flask-principal.
* gnu/packages/python.scm (python-flask-principal, python2-flask-principal):
New variables.
2017-07-26 21:52:30 +02:00
Tobias Geerinckx-Rice 9d9fc39946
gnu: Add lziprecover.
* gnu/packages/compression.scm (lziprecover): New variable.
2017-07-26 19:38:59 +02:00
Leo Famulari f96dbf6b70
gnu: net-tools: Add a test-only variant and use it for GnuTLS.
* gnu/packages/linux.scm (net-tools-for-tests): Add hidden net-tools variant.
* gnu/packages/tls.scm (gnutls)[native-inputs]: Use net-tools-for-tests instead
of net-tools.
2017-07-26 12:06:52 -04:00
Ludovic Courtès bcd757fdb4
gnu: mg: Move to (gnu packages text-editors).
* gnu/packages/mg.scm: Remove.
* gnu/local.mk (GNU_SYSTEM_MODULES): Remove it.
* gnu/packages/text-editors.scm (mg): New variable.
2017-07-26 11:11:11 +02:00
Andy Wingo a5130d10fa
gnu: Add fcgiwrap service.
* doc/guix.texi (Web Services): Add documentation.
* gnu/services/web.scm (<fcgiwrap-configuration>): New record type.
(fcgiwrap-accounts, fcgiwrap-shepherd-service): New service extensions.
(fcgiwrap-service-type): New service type.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-07-26 11:00:04 +02:00
Efraim Flashner 1cae188e61
gnu: glpk: Update to 4.63.
* gnu/packages/maths.scm (glpk): Update to 4.63.
2017-07-26 10:15:54 +03:00
Danny Milosavljevic 4f038621a5
gnu: leafpad: Use glib-or-gtk build-system.
* gnu/packages/text-editors.scm (leafpad): Use glib-or-gtk build-system.
2017-07-26 08:19:47 +02:00
Danny Milosavljevic ff4192ff57
gnu: claws-mail: Disable (duplicate) Gtk+ icon cache generation.
* gnu/packages/mail.scm (claws-mail)[arguments]: Add make-flags to disable
Gtk+ icon cache generation.
2017-07-26 08:18:46 +02:00
Kei Kebreau 8ad40a69d1
gnu: evince: Update to 3.24.1.
* gnu/packages/gnome.scm (evince): Update to 3.24.1.
[source]: Remove obsolete patch.
* gnu/packages/patches/evince-CVE-2017-1000083.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2017-07-25 18:41:05 -04:00
Tobias Geerinckx-Rice 980fe414c1
gnu: hplip: Update to 3.17.7.
* gnu/packages/cups.scm (hplip): Update to 3.17.7.
2017-07-25 23:59:21 +02:00
Tobias Geerinckx-Rice ae03ee4274
gnu: fdisk: Update to 2.0.0a1.
* gnu/packages/disk.scm (fdisk): Update to 2.0.0a1.
[arguments]: Make sure the build finds its own headers.
2017-07-25 23:58:34 +02:00
Tobias Geerinckx-Rice aa588d8a38
gnu: sdparm: Update to 1.10.
* gnu/packages/disk.scm (sdparm): Update to 1.10.
2017-07-25 23:58:34 +02:00
Christopher Baines f135b4ae83
git-download: Speed up 'git-predicate'.
Adjust 'git-predicate' to use data structures that perform better when used
with git repositories with a large number of files.

Previously when matching either a regular file or directory, 'git-predicate'
would search a list with a length equal to the number of files in the
repository. As a search operation happens for roughly every file in the
repository, this meant that the time taken to use 'git-predicate' to traverse
all the files in a repository was roughly exponential with respect to the
number of files in the repository.

Now, for matching regular files or symlinks, 'git-predicate' uses a vhash
using the inode value as the key. This should perform roughly in constant
amount of time, instead of linear with respect to the number of files in the
repository.

For matching directories, 'git-predicate' now uses a tree structure stored in
association lists. To check if a directory is in the tree, the tree is
traversed from the root. The time complexity of this depends on the shape of
the tree, but it should be an improvement on searching through the list of all
files.

* guix/git-download.scm (files->directory-tree, directory-in-tree?): New
procedures.
(git-predicate): Compute DIRECTORY-TREE.  Turn INODES into a vhash.
Adjust body of lambda accordingly.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2017-07-25 23:24:16 +02:00
Ludovic Courtès 84620dd0c4
offload: Fix potential file descriptor and memory leak.
The '%slots' list could grow indefinitely; in practice though,
guix-daemon is likely to restart 'guix offload' often enough.

* guix/scripts/offload.scm (%slots): Remove.
(choose-build-machine): Don't 'set!' %SLOTS.  Return the acquired slot
as a second value.
(process-request): Adjust accordingly.  Release the returned slot after
'transfer-and-offload'.
2017-07-25 23:24:16 +02:00