Commit Graph

22169 Commits

Author SHA1 Message Date
Ludovic Courtès 960c6ce96d
discovery: Recurse into directories pointed to by a symlink.
Reported by Christopher Baines <mail@cbaines.net>
and Alex Kost <alezost@gmail.com>
at <https://lists.gnu.org/archive/html/guix-devel/2017-06/msg00290.html>.

* guix/discovery.scm (scheme-files): When ENTRY is a symlink that
doesn't end in '.scm', call 'stat' and recurse if it points to a
directory.
* tests/discovery.scm ("scheme-modules recurses in symlinks to
directories"): New test.
2017-07-03 23:51:23 +02:00
Ludovic Courtès cc1dfc202f
copy: Default to port 22.
Failing to do that, "%p" would be "0" when using "ProxyCommand"
in ~/.ssh/config.

* guix/scripts/copy.scm (send-to-remote-host): Default to port 22.
(retrieve-from-remote-host): Likewise.
2017-07-03 23:51:23 +02:00
Ludovic Courtès d5ec5ed719
packages: Mark 'replacement' as an "innate" field.
Suggested by Mark H Weaver
at <https://lists.gnu.org/archive/html/guix-devel/2017-06/msg00355.html>.

* guix/packages.scm (<package>)[replacement]: Mark as "innate".
* gnu/packages/base.scm (glibc-2.25-patched, glibc-2.24)
(glibc-2.23, glibc-2.22, glibc-2.21, glibc-locales): Remove
'replacement' field, which was set to #f.
* gnu/packages/commencement.scm (perl-boot0): Likewise.
* gnu/packages/fontutils.scm (graphite2/fixed): Likewise.
* gnu/packages/ghostscript.scm (ghostscript/fixed): Likewise.
* gnu/packages/gnupg.scm (libgcrypt-1.7.8): Likewise.
* gnu/packages/guile.scm (guile-2.0/fixed, guile-2.2): Likewise.
* gnu/packages/icu4c.scm (icu4c/fixed): Likewise.
* gnu/packages/image.scm (libpng-apng): Likewise.
* gnu/packages/make-bootstrap.scm (%guile-static): Likewise.
* gnu/packages/pcre.scm (pcre/fixed): Likewise.
* gnu/packages/perl.scm (perl/fixed): Likewise.
* gnu/packages/ruby.scm (ruby-2.3, ruby-2.2, ruby-2.1)
(ruby-1.8): Likewise.
* gnu/packages/tls.scm (gnutls-3.5.13, gnutls/guile-2.2): Likewise.
* gnu/packages/xml.scm (expat-2.2.1): Likewise.
2017-07-03 23:51:22 +02:00
Nicolas Goaziou f6444059dd
gnu: wine: Add stable release.
* gnu/packages/wine.scm (wine): Refer to stable release instead of development
  one.
(wine-next): New variable.
2017-07-03 18:10:11 +02:00
宋文武 85cfbd46ce
profiles: xdg-desktop-database: Run the hook when GLib is referenced.
This will pull the latest 'desktop-file-utils' package into the profile
closure, as the 'xdg-mime-database' hook already does.

* guix/profiles.scm (xdg-desktop-database): Run the hook when 'glib' is
referenced.
2017-07-03 23:27:04 +08:00
Danny Milosavljevic 3b6e7d8651
doc: Update formatting.
* doc/guix.texi (disk-image): Update formatting of "ext4".

Follow-up to 3f4d8a7f66.
2017-07-03 16:38:05 +02:00
Oleg Pykhalov aadd75acd6
gnu: Add emacs-emamux.
* gnu/packages/emacs.scm (emacs-emamux): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2017-07-03 22:34:40 +08:00
Danny Milosavljevic 08c1f2d21c
build: Add (gnu build file-systems) import.
* gnu/build/vm.scm: Add (gnu build file-systems) import.
2017-07-03 16:33:46 +02:00
Danny Milosavljevic 3f4d8a7f66
guix system: Add "--file-system-type" option.
* guix/scripts/system.scm (process-action): Pass file-system-type to ...
(perform-action): ... here.  Add new keyword argument.  Pass new value to ...
(system-derivation-for-action): ... here.  Add new keyword argument.
Pass new value to system-disk-image.
* doc/guix.texi (disk-image): Document new option.
2017-07-03 16:33:46 +02:00
Kei Kebreau 85c774808f
gnu: gcr: Enable working tests.
* gnu/packages/patches/gcr-disable-failing-tests.patch,
gnu/packages/patches/gcr-fix-collection-tests-to-work-with-gpg-21.patch:
New files.
* gnu/local.mk (dist_patch_DATA): Add patches.
* gnu/packages/gnome.scm (gcr)[source]: Use patches.
[arguments]: Enable tests.
2017-07-03 09:52:59 -04:00
Danny Milosavljevic 4f80be730e
build: Clarify error message when make-iso9660-image fails.
* gnu/build/vm.scm (make-iso9660-image): Clarify error message.
2017-07-03 15:13:09 +02:00
Danny Milosavljevic 1feb3076cb
build: Allow specifying volume-uuid with make-iso9660-image.
* gnu/build/file-systems.scm (iso9660-uuid->string): Export.
* gnu/build/vm.scm (make-iso9660-image): Add volume-uuid.
2017-07-03 15:07:25 +02:00
宋文武 1ec0c1f30e
gnu: xfce: Propagate search paths of 'xfce4-panel'.
* gnu/packages/xfce.scm (xfce)[native-search-paths]: New field.
2017-07-03 19:27:56 +08:00
Roel Janssen fd2d17cdae
gnu: Add emacs-sparql-mode.
* gnu/packages/emacs.scm (emacs-sparql-mode): New variable.
2017-07-03 13:02:07 +02:00
Danny Milosavljevic be1033a334
build: Add iso9660 system image generator.
* build-aux/hydra/gnu-system.scm (qemu-jobs): Add 'iso9660-image .
* gnu/build/vm.scm (make-iso9660-image): New variable.  Export it.
* gnu/system/vm.scm (iso9660-image): New variable.  Use make-iso9660-image.
(system-disk-image): Use iso9660-image.
2017-07-03 10:07:59 +02:00
Ludovic Courtès 1b0f266e40
gnu: Switch guile-cairo and dependents to Guile 2.2 again.
Fixes <https://bugs.gnu.org/27551>.
Reported by Leo Famulari <leo@famulari.name>.

This reinstates the following commits:

  e3ddb1e83 * gnu: guile-cairo: Switch to Guile 2.2.
  ae5c6ef39 * gnu: guile-gnome: Update to 2.16.5.
  0fd8013fc * gnu: guile-rsvg: Update to commit 05c6a2fd.
  66b9183c4 * gnu: guile-lib: Switch to Guile 2.2.

and adds the following changes:

* gnu/bootloader/grub.scm (svg->png): Add 'package->derivation' call for
GUILE-2.2.  Pass #:guile-for-build to 'gexp->derivation'.
* gnu/build/svg.scm (svg->png): Add 'em' and 'ex' to the 'let-values'
form to account for all the values returned by
'rsvg-handle-get-dimensions', which Guile 2.2 does not truncate.
2017-07-02 22:52:30 +02:00
Theodoros Foradis 61f81618a8
gnu: Add toxic.
* gnu/packages/messaging.scm (toxic): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-07-02 22:52:27 +02:00
Danny Milosavljevic ed3485fa9c
linux-initrd: Add isofs if necessary.
* gnu/system/linux-initrd.scm (base-initrd): Add isofs.
2017-07-02 20:27:26 +02:00
Alex Kost 3fb8e281b7
gnu: emacs-guix: Update to 0.3.2.
* gnu/packages/emacs.scm (emacs-guix): Update to 0.3.2.
[arguments]: Add '--with-guix-site-ccache-dir' configure flag, as Guix
installs its .go files separately nowadays.
2017-07-02 20:45:18 +03:00
Danny Milosavljevic 9c0a05b31e
file-systems: iso9660-uuid->string: Use "-" as separator in the result.
* gnu/build/file-systems.scm (iso9660-uuid->string): Use "-" as separator
in the result.
2017-07-02 19:27:25 +02:00
Leo Famulari f277dea2e2
gnu: beets: Update to 1.4.5.
* gnu/packages/music.scm (beets): Update to 1.4.5.
2017-07-02 11:35:04 -04:00
Ludovic Courtès 50cb948f1c
install: Re-add /bin/sh.
Reported by Divan Santana <divan@santanas.co.za>.
/bin/sh had disappeared in commit
387e175492.

* gnu/system/install.scm (%installation-services): Add
'special-files-service-type' instance.
2017-07-02 16:44:59 +02:00
Leo Famulari e00a59097e
gnu: python-vobject: Update to 0.9.5.
* gnu/packages/python.scm (python-vobject, python2-vobject): Update to 0.9.5.
2017-07-02 09:17:20 -04:00
Leo Famulari 477aa33400
gnu: vdirsyncer: Update to 0.16.0.
* gnu/packages/dav.scm (vdirsyncer): Update to 0.16.0.
[license]: Change to bsd-3.
2017-07-02 09:17:16 -04:00
Efraim Flashner bfba12695a
gnu: ovmf: Fix build on x86_64.
This is a follow-up to 2eb95ade8f.

* gnu/packages/firmware.scm (ovmf)[arguments]: Fix the syntax used when
following the x86_64 fork of the arguments.
2017-07-02 13:13:35 +03:00
宋文武 dbde386ee3
ui: package->recutlis: Remove duplicated package names in dependencies.
* guix/ui.scm (package->recutils): Add call to 'delete-duplicates' in
'dependencies->recutils'.
2017-07-02 13:14:16 +08:00
Ludovic Courtès b2fde4800d
store: 'references/substitutes' really caches its result.
Until now the cache was always empty because 'for-each' was passed ITEMS
as its second argument, and ITEMS was the empty list at that point.

* guix/store.scm (references/substitutes): Add 'requested' variable.
Use it as second argument of 'for-each' in base case.
2017-07-02 00:41:12 +02:00
Ludovic Courtès 2633bd324b
store: 'references/substitutes' save an RPC is the trivial case.
* guix/store.scm (references/substitutes): Save a
'substitutable-path-info' call when MISSING is empty.
2017-07-02 00:41:12 +02:00
Efraim Flashner dd78efe39a
gnu: font-google-noto: Update to 20170403.
* gnu/packages/fonts.scm (font-google-noto): Update to 20170403.
[source]: Update source uri.
2017-07-01 23:45:20 +03:00
Efraim Flashner fc19cee18c
gnu: font-gnu-unifont: Update to 10.0.03.
* gnu/packages/fonts.scm (font-gnu-unifont): Update to 10.0.03.
[properties]: Add 'upstream-name' to ease updates.
2017-07-01 23:45:19 +03:00
Leo Famulari 5ace0919c2
Revert "gnu: guile-lib: Switch to Guile 2.2."
This reverts commit 66b9183c4f.
2017-07-01 16:08:47 -04:00
Leo Famulari 6b820ef15d
Revert "gnu: guile-rsvg: Update to commit 05c6a2fd."
This reverts commit 0fd8013fca.
2017-07-01 16:08:47 -04:00
Leo Famulari 5e1f9b3042
Revert "gnu: guile-gnome: Update to 2.16.5."
This reverts commit ae5c6ef393.
2017-07-01 16:08:47 -04:00
Leo Famulari f3bb868a71
Revert "gnu: guile-cairo: Switch to Guile 2.2."
This commit caused the build of grub-image.png to fail, prevent the
build of grub.cfg and reconfiguring of GuixSD:

<https://bugs.gnu.org/27551>

This reverts commit e3ddb1e832.
2017-07-01 16:08:47 -04:00
Leo Famulari dc03f32dea
gnu: guile-git: Update source URL.
* gnu/packages/guile.scm (guile-git)[source]: Update URL.
2017-07-01 15:25:21 -04:00
Mathieu Othacehe b02469d298
guix: git: Stop using libgit2-shutdown.
* guix/git.scm (with-libgit2): Stop calling (libgit2-shutdown) to prevent
segfaults when pointer finalizers are run.
2017-07-01 16:32:42 +02:00
Ben Woodcroft ba773f65f0
gnu: cd-hit: Update to 4.6.8.
* gnu/packages/bioinformatics.scm (cd-hit): Update to 4.6.8.
2017-07-01 10:49:37 +10:00
Ben Woodcroft fd99d95b3f
gnu: bwa: Update to 0.7.15.
* gnu/packages/bioinformatics.scm (bwa): Update to 0.7.15.
2017-07-01 09:48:20 +10:00
Tobias Geerinckx-Rice 97d451540c
gnu: btrfs-progs: Update to 4.11.1.
* gnu/packages/linux.scm (btrfs-progs): Update to 4.11.1.
2017-07-01 01:23:41 +02:00
Tobias Geerinckx-Rice 0c7ce625b7
gnu: tor: Update to 0.3.0.9 [fixes CVE-2017-0377].
* gnu/packages/tor.scm (tor): Update to 0.3.0.9.
2017-07-01 00:20:53 +02:00
Feng Shu f4ade9b6c8
gnu: Add emacs-exwm-x.
* gnu/packages/emacs.scm (emacs-exwm-x): New variable.
2017-06-30 23:30:31 +02:00
Feng Shu 58addd2b20
gnu: Add emacs-switch-window.
* gnu/packages/emacs.scm (emacs-switch-window): New variable.
2017-06-30 23:30:31 +02:00
Ludovic Courtès e3ddb1e832
gnu: guile-cairo: Switch to Guile 2.2.
This patch adjusts dependent packages accordingly.

* gnu/packages/gtk.scm (guile-cairo)[inputs]: Switch to GUILE-2.2 and
GUILE-LIB.
(guile-rsvg)[inputs]: Likewise.
(guile-present)[inputs]: Likewise.
(guile-gnome)[inputs]: Likewise.
* gnu/packages/plotutils.scm (guile-charting)[inputs]: Switch go
GUILE-2.2.
2017-06-30 23:20:34 +02:00
Ludovic Courtès ae5c6ef393
gnu: guile-gnome: Update to 2.16.5.
* gnu/packages/gtk.scm (guile-gnome): Update to 2.16.5.
[arguments] <pre-configure>: Use @GUILE_EFFECTIVE_VERSION@ instead of
"2.0".
[properties]: New field.
2017-06-30 23:20:34 +02:00
Ludovic Courtès 0fd8013fca
gnu: guile-rsvg: Update to commit 05c6a2fd.
* gnu/packages/gtk.scm (guile-rsvg): Update to commit 05c6a2fd.
[source](url): Change to gitlab.com.
(snippet): Use @GUILE_EFFECTIVE_VERSION@ instead of "2.0".
* gnu/packages/patches/guile-rsvg-pkgconfig.patch: Use
"$GUILE_EFFECTIVE_VERSION" instead of "2.0".
2017-06-30 23:20:34 +02:00
Ludovic Courtès 66b9183c4f
gnu: guile-lib: Switch to Guile 2.2.
* gnu/packages/guile.scm (guile-lib)[inputs]: Replace GUILE-2.0 with
GUILE-2.2.
(guile2.0-lib): New variable.
(guile2.2-lib): Mark as deprecated.
* gnu/packages/guile.scm (guile-ics): Use GUILE2.0-LIB.
* gnu/packages/gtk.scm (guile-cairo, guile-rsvg)
(guile-present, guile-gnome): Likewise.
* gnu/packages/skribilo.scm (skribilo): Likewise.
2017-06-30 23:20:33 +02:00
Ludovic Courtès 30f17d73d6
gnu: guile-lib: Update to 0.2.5.1.
* gnu/packages/guile.scm (guile-lib): Update to 0.2.5.1.
2017-06-30 23:20:33 +02:00
Leo Famulari f48a9d4a46
gnu: npth: Update to 1.5.
* gnu/packages/gnupg.scm (npth): Update to 1.5.
2017-06-30 16:54:05 -04:00
Leo Famulari 9570b01631
gnu: libreoffice: Update to 5.3.2.2.
* gnu/packages/libreoffice.scm (libreoffice): Update to 5.3.2.2.
2017-06-30 16:11:45 -04:00
Ludovic Courtès 798b7678a0
gnu: hwloc: Add "lib" and "debug" outputs.
* gnu/packages/mpi.scm (hwloc)[outputs]: New field.
[arguments]: Add 'avoid-circular-references' phase.
(openmpi)[inputs]: Use the "lib" output of HWLOC.
* gnu/packages/parallel.scm (slurm)[inputs]: Likewise.
2017-06-30 18:44:41 +02:00