1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-07-07 15:34:04 +02:00

Compare commits

..

5899 Commits

Author SHA1 Message Date
Ludovic Courtès 80d944b79a doc: Fix typos.
* doc/guix.texi (Application Setup): Use @xref, not @pxref, when
starting a sentence.
(Scheduled Job Execution): Remove extra indent in example; fix typos.
2016-08-03 16:00:20 +02:00
Ludovic Courtès 1eb43cc30b doc: Update Texinfo HTML cross-reference file..
* doc/htmlxref.cnf: Add entries for 'find' and 'mcron'.
2016-08-03 16:00:09 +02:00
Ludovic Courtès d76f44e84c gnu: mdadm: Build without '-Werror'
* gnu/packages/linux.scm (mdadm)[arguments]: Add 'remove-W-error'
phase.
2016-08-03 12:10:00 +02:00
Ludovic Courtès 8aceca50cd gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to 4420940.
(guix): Set to GUIX-DEVEL.
2016-08-03 10:56:45 +02:00
Ludovic Courtès 4420940f20 gnu: guix: Update to 0.11.0.
* gnu/packages/package-management.scm (guix-0.10.0): Rename to...
(guix-0.11.0): ... this.  Adjust users.
(guix): Set to GUIX-0.11.0.
2016-08-03 01:19:46 +02:00
Ludovic Courtès 66edac525b Update NEWS. 2016-08-03 00:28:02 +02:00
Ludovic Courtès 10618627bf mapped-devices: raid-device-mapping: Avoid non-top-level 'use-modules'.
Fixes <http://bugs.gnu.org/24135>.
Reported by myglc2 <myglc2@gmail.com>.

* gnu/system/mapped-devices.scm (open-raid-device): Avoid non-top-level
'use-modules' form.
2016-08-03 00:07:06 +02:00
Ludovic Courtès 9d1e56b76d guix system: Fix the Shepherd error handling fix.
This is a followup to aa1e73a996.

* guix/scripts/system.scm (with-shepherd-error-handling): Return two
values when an exception is caught.
2016-08-02 23:51:12 +02:00
Ludovic Courtès 35c4aec88d build: Add missing procps patch to the distribution.
The patch was added to gnu/local.mk in
d46123aade and inadvertently removed in a
subsequent merge.

* gnu/local.mk (dist_patch_DATA): Add procps-non-linux.patch.
2016-08-02 23:43:29 +02:00
Ludovic Courtès aa1e73a996 guix system: Properly report Shepherd errors when upgrading services.
Fixes regression introduced in 8bf92e3904.
Reported by myglc2 <myglc2@gmail.com> in <http://bugs.gnu.org/24135>.

* guix/scripts/system.scm (with-shepherd-error-handling): Rename 'body'
to 'mbody'.  Expand to a monadic procedure that runs MBODY.
2016-08-02 23:43:29 +02:00
Ludovic Courtès e8b652d46b doc: Clarify distinction between "service" and "Shepherd service".
* doc/guix.texi (Services): Distinguish "service" and "Shepherd
service".  Add xref to "Shepherd Services".
2016-08-02 23:43:29 +02:00
Ludovic Courtès 201fff9ea1 doc: Fix typo.
* doc/guix.texi (Locales): Add missing 'of'.
2016-08-02 23:43:29 +02:00
Leo Famulari 4e92d76a40 gnu: python-atomicwrites: Update to 1.1.0.
* gnu/packages/python.scm (python-atomicwrites, python2-atomicwrites):
Update to 1.1.0.
2016-08-02 16:24:11 -04:00
Francesco Frassinelli 319ac02b5a gnu: Add Seren.
* gnu/packages/telephony.scm (seren): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-08-02 22:12:45 +03:00
Pjotr Prins 0a4ebe0148 gnu: Add Elixir.
* gnu/packages/elixir.scm: New file.
* gnu/packages/patches/elixir-disable-failing-tests.patch: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add module.
(dist_patch_DATA): Add patch.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2016-08-02 18:31:29 +02:00
Leo Famulari deb6482ec6 gnu: libressl: Update to 2.4.2.
* gnu/packages/tls.scm (libressl): Update to 2.4.2.
2016-08-02 12:22:59 -04:00
Ludovic Courtès ab3a64507a system: Define 'GUIX_LOCPATH' to work around 'glibc' package defect.
Our 'glibc' package currently ignores /run/current-system/locale,
although the intent is to look for locales in that directory.

* gnu/packages/base.scm (glibc/linux): Add comment about
/run/current-system/locale being ignored.
* gnu/system.scm (operating-system-environment-variables): Add
'GUIX_LOCPATH'.
* gnu/tests/base.scm (run-basic-test): Add "locale" test.
2016-08-02 18:07:19 +02:00
Ludovic Courtès a5c376034f tests: Make sure threads use separate output ports.
* tests/publish.scm (with-separate-output-ports): New macro.
<top level>: Use it when spawning new thread.
("/*.narinfo with compression"): Likewise.
2016-08-02 18:07:19 +02:00
Ludovic Courtès 2c7b48c2fb tests: Work around Guile bug with unbuffered custom binary input ports.
Reported by Chris Marusich <cmmarusich@gmail.com>
at <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24060#19>

* tests/publish.scm (http-get-port): Remove 'setvbuf' call for the
response port.
2016-08-02 18:07:19 +02:00
Alex Sassmannshausen e2b12a55c1 gnu: Add perl-log-any-adapter-log4perl.
* gnu/packages/perl.scm (perl-log-any-adapter-log4perl): New variable.
2016-08-02 16:39:08 +02:00
Alex Sassmannshausen 9ec9e49466 gnu: Add perl-log-log4perl.
* gnu/packages/perl.scm (perl-log-log4perl): New variable.
2016-08-02 16:39:08 +02:00
Alex Sassmannshausen cf5e49cdc5 gnu: Add perl-log-any.
* gnu/packages/perl.scm (perl-log-any): New variable.
2016-08-02 16:39:08 +02:00
Ricardo Wurmus fede3a903e gnu: Add emacs-visual-fill-column.
* gnu/packages/emacs.scm (emacs-visual-fill-column): New variable.
2016-08-02 15:20:43 +02:00
Christopher W. Carpenter 3701f014b1 gnu: ccl: Update to 1.11.
* gnu/packages/lisp.scm (ccl): Update to 1.11.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-08-02 21:04:56 +08:00
Ricardo Wurmus dda3627141 gnu: r-variantannotation: Update to 1.18.6.
* gnu/packages/bioinformatics.scm (r-variantannotation): Update to 1.18.6.
2016-08-02 14:47:46 +02:00
Ricardo Wurmus 005ca42396 gnu: r-genomationdata: Update to 1.4.2.
* gnu/packages/bioinformatics.scm (r-genomationdata): Update to 1.4.2.
2016-08-02 14:47:46 +02:00
Ludovic Courtès 7b5fc3a320 gnu: kde-frameworks: Fix version numbers.
Fixes a regression introduced in
d26e2b9f30.

* gnu/packages/kde-frameworks.scm (kwindowsystem, oxygen-icons): Set to
"5.21.0".
2016-08-02 14:40:17 +02:00
Ludovic Courtès 47e2fe3cdf gnu: extra-cmake-modules: Add proper 'version'.
Fixes a regression introduced in
d26e2b9f30.

* gnu/packages/kde-frameworks.scm (extra-cmake-modules)[version]: Set to
"5.21.0".
2016-08-02 14:28:47 +02:00
Vincent Legoll c8b543741f doc: Add "Installing GuixSD in a VM" node.
* doc/guix.texi (Installing GuixSD in a VM): New node.
(USB Stick Installation): Refer to it.
(System Installation): Mention "GuixSD".

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-08-02 14:26:32 +02:00
Ludovic Courtès 873b51b340 mapped-devices: Bail out when RAID sources don't show up.
* gnu/system/mapped-devices.scm (open-raid-device): Bail out after 20
loop iterations.
2016-08-02 13:53:25 +02:00
Ludovic Courtès 7f8ad82bf2 mapped-devices: Make RAID device opening message clearer.
* gnu/system/mapped-devices.scm (open-raid-device): Rename 'source' to
'sources'.  Make 'waiting' message more informative.
(close-raid-device): Rename 'source' to 'sources'.
2016-08-02 13:53:25 +02:00
Ludovic Courtès dfe06f6e7f mapped-devices: Do not always use (gnu build file-systems).
Fixes <http://bugs.gnu.org/24129>.
Reported by myglc2 <myglc2@gmail.com>.

* gnu/system/mapped-devices.scm (device-mapping-service-type): Remove
'modules' field from 'shepherd-service' form.
(open-luks-device): Add 'use-modules' form.
2016-08-02 13:53:25 +02:00
David Craven d26e2b9f30 gnu: kde-frameworks: Remove kde-frameworks-version.
* gnu/packages/kde-frameworks (kde-frameworks-version): Delete variable.
  (kwindowsystem)[version]: Replace kde-frameworks-version with version string.
  (oxygen-icons)[version]: Replace kde-frameworks-version with version string.
2016-08-02 13:29:47 +02:00
David Craven 8f9d70fcb9 lint: 'inputs-should-be-native' checks for extra-cmake-modules and qttools.
* guix/scripts/lint.scm (check-inputs-should-be-native): Warn when
  extra-cmake-modules or qttools isn't a native-input.
2016-08-02 13:29:24 +02:00
David Craven 9c97afe858 gnu-maintenance: Add KDE updater.
* guix/gnu-maintenance.scm (kde-package?, latest-kde-release): New private
  functions.
  (%kde-updater): New public variable.
* guix/scripts/refresh.scm (list-updaters): Add %kde-updater.
* doc/guix.texi (Invoking guix refresh): Mention the new updater.
2016-08-02 13:28:21 +02:00
David Craven ff02b82678 download: Add KDE mirrors.
* guix/download.scm (%mirrors)[kde]: Add kde mirrors.
2016-08-02 13:28:21 +02:00
David Craven b93502d6ba gnu: network-manager: Propagate GLIB.
* gnu/packages/gnome.scm (network-manager)[propagated-inputs]: Add glib.
2016-08-02 13:28:21 +02:00
Andreas Enge cc30a47273 gnu: powwow: Use HTTPS download.
* gnu/packages/games.scm (powwow)[source]: Use HTTPS URL.
2016-08-02 11:21:00 +02:00
Leo Famulari 5f518cadc3 gnu: vdirsyncer: Update to 0.11.3.
* gnu/packages/dav.scm (vdirsyncer): Update to 0.11.3.
2016-08-01 21:06:42 -04:00
nee 826a3ca22c gnu: Add supertux.
* gnu/packages/games.scm (supertux): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-08-01 20:40:20 -04:00
Leo Famulari 621954ba4e gnu: htop: Update to 2.0.2.
* gnu/packages/admin.scm (htop): Update to 2.0.2.
2016-08-01 19:06:18 -04:00
Ludovic Courtès 455859a50f Merge branch 'core-updates' 2016-08-01 23:30:52 +02:00
Mark H Weaver 742effef56 gnu: openssh: Update to 7.3p1.
* gnu/packages/ssh.scm (openssh): Update to 7.3p1.
[source]: Remove patches.
* gnu/packages/patches/openssh-CVE-2015-8325.patch,
gnu/packages/patches/openssh-CVE-2016-6210-1.patch,
gnu/packages/patches/openssh-CVE-2016-6210-2.patch,
gnu/packages/patches/openssh-CVE-2016-6210-3.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2016-08-01 14:27:08 -04:00
Kei Kebreau 660e005c21 gnu: red-eclipse: Replace string with version number variable.
* gnu/packages/games.scm (red-eclipse)[phases]: Replace it.
2016-08-01 13:42:29 -04:00
Ludovic Courtès 089b167812 publish: Do not compress already-compressed files.
* guix/scripts/publish.scm (narinfo-string): Force %NO-COMPRESSION when
STORE-PATH matches 'compressed-file?'.
* guix/utils.scm (compressed-file?): New procedure.
* tests/publish.scm ("/*.narinfo for a compressed file"): New test.
2016-08-01 17:58:56 +02:00
Kei Kebreau 66c65aafa7 gnu: red-eclipse: Add example server configuration file to config
directory.

* gnu/packages/games.scm (red-eclipse)[phases]: Add server configuration
file.
2016-08-01 11:48:39 -04:00
Kei Kebreau 14b865dc3e gnu: red-eclipse: Update to 1.5.5.
* gnu/packages/games.scm (red-eclipse): Update to 1.5.5.
[arguments]: Adjust phases.
[inputs]: Use sdl2.
2016-08-01 11:47:18 -04:00
Kei Kebreau 06438b07b9 gnu: dmidecode: Update to 3.0.
* gnu/packages/admin.scm (dmidecode): Update to 3.0.
[arguments]: Use ’modify-phases’ instead of ‘alist-delete’.
2016-08-01 08:55:28 -04:00
Ricardo Wurmus a4e6356e11 gnu: Add trio.
* gnu/packages/code.scm (trio): New variable.
2016-08-01 14:06:03 +02:00
Ben Woodcroft 26af1c8d13 gnu: ruby-ffi: Update to 1.9.14.
* gnu/packages/ruby.scm (ruby-ffi): Update to 1.9.14.
2016-08-01 21:30:49 +10:00
Ben J Woodcroft 7b01f250e4 gnu: ruby-nokogiri: Update to 1.6.8.
* gnu/packages/ruby.scm (ruby-nokogiri): Update to 1.6.8.
[arguments]: Remove 'update-dependency' phase.  Add 'patch-extconf' phase.
[native-inputs]: Remove ruby-rake-compiler.
[propagated-inputs]: Add ruby-pkg-config.
2016-08-01 21:30:49 +10:00
Ben J Woodcroft 2de61e340c gnu: Add ruby-pkg-config.
* gnu/packages/ruby.scm (ruby-pkg-config): New variable.
2016-08-01 21:30:49 +10:00
Ludovic Courtès 683a4a34cd gnu: openssh: Add dependency on xauth.
Partly fixes <http://bugs.gnu.org/23317>.
Reported by Danny Milosavljevic <dannym@scratchpost.org>.

* gnu/packages/ssh.scm (openssh)[inputs]: Add XAUTH.
2016-08-01 11:26:33 +02:00
Mark H Weaver 4e8efc15fb gnu: linux-libre@4.1: Update to 4.1.29.
* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.29.
2016-07-31 23:24:54 -04:00
ng0 3920868c0c gnu: Add libgnomekbd.
* gnu/packages/gnome.scm (libgnomekbd): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-08-01 01:11:57 +02:00
Eric Le Bihan cf04df0701 gnu: Add s6-linux-utils.
* gnu/packages/skarnet.scm (s6-linux-utils): New variable.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-08-01 01:11:57 +02:00
Eric Le Bihan 915db95f67 gnu: Add s6-portable-utils.
* gnu/packages/skarnet.scm (s6-portable-utils): New variable.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-08-01 01:11:57 +02:00
Eric Le Bihan 35977a8897 gnu: Add s6-rc.
* gnu/packages/skarnet.scm (s6-rc): New variable.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-08-01 01:11:57 +02:00
Ludovic Courtès 5e74529271 gnu: units: Update to 2.13.
* gnu/packages/maths.scm (units): Update to 2.13.
2016-08-01 01:11:57 +02:00
Matthew Jordan ec91bcb500 gnu: Add Go 1.6.
* gnu/packages/golang.scm (go-1.6): New variable.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Co-authored-by: Andy Wingo <wingo@igalia.com>
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-08-01 01:11:57 +02:00
Leo Famulari f92d99a5a3 gnu: imagemagick: Update to 6.9.5-4 [fixes CVE-2016-6491].
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.5-4.
2016-07-31 18:58:19 -04:00
Albin Söderqvist eb3bd6762a gnu: openttd: Update to 1.6.1.
* gnu/packages/games.scm (openttd): Update to 1.6.1 and expand the
package description.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2016-07-31 22:52:12 +02:00
Tomáš Čech 2fa66f451a gnu: mutt: Update to 1.6.2.
* gnu/packages/mail.scm(mutt): Update to 1.6.2.
2016-07-30 22:37:56 +02:00
Kei Kebreau 4bc37bf0c3 gnu: Add python-pygame.
* gnu/packages/game-development.scm (python-pygame): New variable.
2016-07-30 14:32:49 -04:00
Kei Kebreau d8841cc52e gnu: Add libsmpeg.
* gnu/packages/video.scm (libsmpeg): New variable.
2016-07-30 14:31:58 -04:00
Alex Kost a82a201a8d emacs: Disable grafts when dry-run is enabled.
* emacs/guix-main.scm (process-package-actions): Set grafting according
to 'dry-run?'.
* guix/scripts.scm (build-package): Disable grafts when 'dry-run?' is #t.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-07-30 18:17:03 +03:00
Leo Famulari 6661db4e97 gnu: stellarium: Improve description.
Suggested by Danny Milosavljevic <dannym@scratchpost.org>.

* gnu/packages/education.scm (stellarium)[description]: Mention telescope
tracking.
2016-07-30 10:05:44 -04:00
Ben Woodcroft c4382cd18f gnu: diamond: Update to 0.8.17.
* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.17.
2016-07-30 23:02:57 +10:00
ng0 9b12bc7032 gnu: gnunet-gtk: Configure with gnunet path.
* gnun/packages/gnunet.scm (gnunet-gtk)[arguments]: Add '--with-gnunet'
to #:configure-flags.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-07-30 15:33:57 +08:00
Eric Bavier d25639731a gnu: Add tuxpaint-config.
* gnu/packages/games.scm (tuxpaint-config): New variable.
2016-07-29 23:17:44 -05:00
Eric Bavier c3d850f232 gnu: Add tuxpaint-stamps.
* gnu/packages/games.scm (tuxpaint-stamps): New variable.
2016-07-29 21:50:15 -05:00
Eric Bavier 9b1ada4e81 gnu: Add Tux Paint.
* gnu/packages/games.scm (tuxpaint): New variable.
* gnu/packages/patches/tuxpaint-stamps-path.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-07-29 21:50:15 -05:00
Alex Griffin 23319ed674 gnu: beets: Update to 1.3.19.
* gnu/packages/music.scm (beets): Update to 1.3.19.
[source]: Remove patch to skip failing tests.
* gnu/packages/patches/beets-image-test-failure.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-29 19:19:49 -04:00
Leo Famulari d1c9d3bb42 gnu: python-protobuf: Update to 3.0.0.
* gnu/packages/protobuf.scm (python-protobuf, python2-protobuf):
Update to 3.0.0.
2016-07-29 19:04:31 -04:00
Leo Famulari 48b7e4a6c1 gnu: btrfs-progs: Update to 4.6.1
* gnu/packages/linux.scm (btrfs-progs): Update to 4.6.1.
[native-inputs]: Add WHICH.
2016-07-29 18:58:48 -04:00
Mark H Weaver 9bdf56dc13 gnu: gd: Add fix for gd2_read test.
* gnu/packages/patches/gd-fix-gd2-read-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gd.scm (gd)[source]: Add patch.
2016-07-29 18:28:40 -04:00
Leo Famulari de30a6e0f0 gnu: protobuf: Update to 2.6.1.
* gnu/packages/protobuf.scm (protobuf): Update to 2.6.1.
[source]: Update to new upstream URL.
2016-07-29 16:41:06 -04:00
Ludovic Courtès da2d893e32 size: Fix corner case with multiple items on the command line.
Fixes 'guix size foo bar' when 'foo' is in the local store and 'bar'
isn't, which could lead to an incomplete requisite list.

* guix/scripts/size.scm (requisites*): Partition ITEMS according to
'valid-path?'.  Use 'substitutable-requisites' only on invalid items.
2016-07-29 22:32:04 +02:00
Mark H Weaver 31c995f8af Revert "gnu: gd: Add fix for gd2_read test."
This reverts commit ce290354ec.
2016-07-29 16:17:35 -04:00
Mark H Weaver ce290354ec gnu: gd: Add fix for gd2_read test.
* gnu/packages/patches/gd-fix-gd2-read-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gd.scm (gd)[source]: Add patch.
2016-07-29 16:06:43 -04:00
Leo Famulari 814572aff5 gnu: wireshark: Update to 2.0.5.
* gnu/packages/networking.scm (wireshark): Update to 2.0.5.
2016-07-29 15:08:55 -04:00
Leo Famulari d260015062 gnu: perl-dbd-mysql: Update to 4.035 [fixes CVE-2015-8949].
* gnu/packages/databases.scm (perl-dbd-mysql): Update to 4.035.
2016-07-29 14:49:30 -04:00
Mark H Weaver 682a7d2338 gnu: linux-libre@4.4: Update to 4.4.16.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.16.
2016-07-29 14:14:25 -04:00
Mark H Weaver a81445737d gnu: gd: Update to 2.2.3 [fixes CVE-2016-6207].
* gnu/packages/patches/gd-CVE-2016-5766.patch,
gnu/packages/patches/gd-CVE-2016-6128.patch,
gnu/packages/patches/gd-CVE-2016-6132.patch,
gnu/packages/patches/gd-CVE-2016-6214.patch,
gnu/packages/patches/gd-fix-test-on-i686.patch: Delete files.
* gnu/packages/patches/gd-fix-tests-on-i686.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/gd.scm (gd): Update to 2.2.3.
[source]: Update patches field accordingly.
2016-07-29 13:56:39 -04:00
Leo Famulari f54510d29b gnu: virt-viewer: Remove SPICE-PROTOCOL from inputs.
This is a followup to ba9e2ee64a.

* gnu/packages/spice.scm (virt-viewer)[inputs]: Remove SPICE-PROTOCOL.
2016-07-29 12:50:29 -04:00
Leo Famulari 3c4a8f03a2 gnu: spice-gtk: Remove LIBUSB from inputs.
This is a followup to 0d05a739d2.

* gnu/packages/spice.scm (spice-gtk)[inputs]: Remove LIBUSB.
2016-07-29 12:50:29 -04:00
David Craven efcada41e7 gnu: Order module imports in (gnu packages qemu) alphabetically.
* gnu/packages/qemu.scm: Order module imports alphabetically.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-29 17:43:55 +02:00
David Craven 6799ed7614 gnu: Add xf86-video-qxl.
* gnu/packages/xorg.scm (xf86-video-qxl): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-29 17:41:30 +02:00
David Craven c38fb02e9b gnu: Add libinput-minimal.
* gnu/packages/freedesktop.scm (libinput-minimal): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-29 17:40:24 +02:00
David Craven 66e076642c gnu: Remove trailing periods from synopsis.
* gnu/packages/emacs.scm (emacs-smart-mode-line): Update synopsis.
* gnu/packages/gnustep.scm (wmfire): Update synopsis.
* gnu/packages/haskell.scm (ghc-socks): Update synopsis.
* gnu/packages/kde-frameworks.scm (oxygen-icons): Update synopsis.
* gnu/packages/openstack.scm (python-bandit): Update synopsis.
* gnu/packages/perl.scm (perl-test-trap): Update synopsis.
* gnu/packages/python.scm (python-backports-abc): Update synopsis.
* gnu/packages/ruby.scm (python-cryptography-vectors): Update synopsis.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-29 17:37:22 +02:00
David Craven 0160458bf8 gnu: Use define-public to export packages.
* gnu/packages/bison.scm (bison): Define public.
* gnu/packages/flex.scm (flex): Define public.
* gnu/packages/pulseaudio.scm (libsndfile, libsamplerate, pulseaudio): Define
public.
* gnu/packages/sdl.scm (sdl, sdl2, libmikmod, sdl-gfx, sdl-image, sdl-mixer,
sdl-net, sdl-ttf): Define public.
* gnu/packages/search.scm (xapian): Remove unnecessary #:export.
* gnu/packages/swig.scm (swig): Define public.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-29 17:35:20 +02:00
Ludovic Courtès 35e4b3d546 gnu: iptables: Mention "firewall".
Suggested by ng0 <ng0@we.make.ritual.n0.is>.

* gnu/packages/linux.scm (iptables)[description]: Mention "firewall".
2016-07-29 17:32:03 +02:00
Eric Le Bihan 7c6bdeec23 gnu: Add s6-networking.
* gnu/packages/skarnet.scm (s6-networking): New variable.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-29 17:29:50 +02:00
Eric Le Bihan 798b776deb gnu: Add s6-dns.
* gnu/packages/skarnet.scm (s6-dns): New variable.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-29 17:29:50 +02:00
Eric Le Bihan 918cee467d gnu: Add s6.
* gnu/packages/skarnet.scm (s6): New variable.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-29 17:29:50 +02:00
Eric Le Bihan 2f016ac150 gnu: execline: Update to 2.1.5.0.
* gnu/packages/skarnet.scm (execline): Update to 2.1.5.0.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-29 17:29:50 +02:00
Eric Le Bihan 892aa89477 gnu: skalibs: Update to 2.3.10.0.
* gnu/packages/skarnet.scm (skalibs): Update to 2.3.10.0.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-29 17:29:50 +02:00
Danny Milosavljevic 2614de3c5a gnu: Add stellarium.
* gnu/local.mk: Include gnu/packages/education.scm .
* gnu/packages/education.scm: Add new file.
* gnu/packages/education.scm (stellarium): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-29 17:29:50 +02:00
Leo Famulari ba9e2ee64a gnu: spice-gtk: Propagate SPICE-PROTOCOL.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Move SPICE-PROTOCOL to...
[propagated-inputs]: ... here.
2016-07-29 11:16:23 -04:00
Leo Famulari 0d05a739d2 gnu: usbredir: Propagate LIBUSB.
* gnu/packages/spice.scm (usbredir)[inputs]: Replace field with ...
[propagated-inputs]: ... new field.
2016-07-29 11:16:23 -04:00
Ludovic Courtès 6e6ddebf48 gnu: guix: Add dependency on zlib.
* gnu/packages/package-management.scm (guix-0.10.0)[inputs]: Add ZLIB.
2016-07-29 11:39:30 +02:00
Ludovic Courtès 57c7e46d39 tests: Improve synchronization in 'tests/guix-register.sh'.
* tests/guix-register.sh: When launching guix-daemon, add retry loop
around 'open-connection'.  This fixes test failures that could occur
under heavy load where the daemon's socket file wouldn't be ready yet
when the client connects.
2016-07-29 11:39:30 +02:00
Alex Griffin 61201e46a7 gnu: password-store: Wrap PATH.
* gnu/packages/password-utils.scm (password-store)
[arguments]: Wrap PATH more thoroughly.
[native-inputs]: Move getopt to inputs.
[inputs]: Add sed.

Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
2016-07-29 11:00:31 +02:00
Ludovic Courtès f33e71fca2 gnu: perl-dbd-pg: Add description.
* gnu/packages/databases.scm (perl-dbd-pg)[description]: Add non-empty
description.
2016-07-29 10:22:31 +02:00
Ludovic Courtès bd883da3e3 build: Bump version number.
* configure.ac: Change version to 0.11.0.
2016-07-29 10:15:56 +02:00
Ludovic Courtès a3947cb1b8 gnu: Sync GNU descriptions with upstream.
From 'guix lint -c gnu-description'.

* gnu/packages/gnunet.scm (gnunet): Adjust description.
* gnu/packages/marst.scm (marst): Likewise.
* gnu/packages/maths.scm (c-graph): Likewise.
* gnu/packages/networking.scm (macchanger): Likewise.
2016-07-29 10:13:12 +02:00
Nicolas Goaziou c777570b57 gnu: Add sshpass.
* gnu/packages/ssh.scm (sshpass): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-29 00:04:39 +02:00
Leo Famulari cfbb3b0d00 gnu: python-beautifulsoup4: Update to 4.5.0.
* gnu/packages/python.scm (python-beautifulsoup4, python2-beautifulsoup4):
Update to 4.5.0.
2016-07-28 17:50:52 -04:00
ng0 adca268e97 gnu: perl-devel-symdump: Update to 2.17.
* gnu/packages/perl.scm (perl-devel-symdump): Update to 2.17.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-28 17:41:06 -04:00
David Craven 6144dff516 gnu: Add virt-viewer.
* gnu/packages/spice.scm (virt-viewer): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-28 17:08:42 -04:00
David Craven 33b0f4a4b2 gnu: Add spice-vdagent.
* gnu/packages/spice.scm (spice-vdagent): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-28 17:08:42 -04:00
David Craven 3cbd37e440 gnu: Add spice.
* gnu/packages/spice.scm (spice): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-28 17:08:42 -04:00
David Craven bb28cf90e9 gnu: Add spice-gtk.
* gnu/packages/spice.scm (spice-gtk): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-28 17:08:42 -04:00
David Craven 289e472f56 gnu: Add spice-protocol.
* gnu/packages/spice.scm (spice-protocol): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-28 17:08:41 -04:00
David Craven 2ef2654de4 gnu: Add virglrenderer.
* gnu/packages/spice.scm (virglrenderer): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-28 17:08:41 -04:00
David Craven 1d2c67c11e gnu: Add usbredir.
* gnu/packages/spice.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-28 17:08:41 -04:00
Leo Famulari a1dfa02233 Revert "gnu: gd: Update to 2.2.3 [fixes CVE-2016-6207]."
This reverts commit ae46cd0e4c.
2016-07-28 16:45:02 -04:00
Ludovic Courtès 4e3bfaf406 guix package: Suggest prefix search path settings.
* guix/scripts/package.scm (build-and-use-profile): Pass #:kind 'prefix
to 'display-search-paths'.
2016-07-28 20:07:59 +02:00
Mark H Weaver ae46cd0e4c gnu: gd: Update to 2.2.3 [fixes CVE-2016-6207].
* gnu/packages/patches/gd-CVE-2016-5766.patch,
gnu/packages/patches/gd-CVE-2016-6128.patch,
gnu/packages/patches/gd-CVE-2016-6132.patch,
gnu/packages/patches/gd-CVE-2016-6214.patch,
gnu/packages/patches/gd-fix-test-on-i686.patch: Delete files.
* gnu/packages/patches/gd-fix-tests-on-i686.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/gd.scm (gd): Update to 2.2.3.
[source]: Update patches field accordingly.
2016-07-28 14:06:12 -04:00
Ludovic Courtès 386b71d1b9 gnu: commencement: 'guile-final' is now "hidden".
This way, we no longer have this annoying warning:

  $ guix build guile -n
  guix build: warning: ambiguous package specification `guile'
  guix build: warning: choosing guile-2.0.11 from gnu/packages/guile.scm:128:2

* gnu/packages/commencement.scm (guile-final): Use 'hidden-package'.
* tests/packages.scm ("fold-packages, hidden package"): New test.
2016-07-28 18:53:13 +02:00
Ludovic Courtès 6980511b73 packages: Add 'hidden-package'.
* guix/packages.scm (hidden-package, hidden-package?): New procedures.
* gnu/packages.scm (fold-packages): Filter out 'hidden-package?'.
* tests/packages.scm ("hidden-package"): New test.
2016-07-28 18:50:43 +02:00
Alex Griffin cb55f9c652 gnu: Add asciinema.
* gnu/packages/terminals.scm (asciinema): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-28 15:43:40 +02:00
Alex Griffin 71d9b98078 gnu: gnome: Propagate file-roller.
* gnu/packages/gnome.scm (gnome)[propagated-inputs]: Add file-roller.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-28 15:42:30 +02:00
Ludovic Courtès d222522edf doc: Discourage software bundling.
Fixes <http://bugs.gnu.org/24008>.
Suggested by ng0 <ng0@we.make.ritual.n0.is>.

* doc/contributing.texi (Submitting Patches): Add item about bundling.
2016-07-28 15:41:00 +02:00
ng0 3a78fab83d doc: Send changes in your patch which are related.
* doc/contributing.texi (Submitting Patches): New @item:
This gives information about sending related changes and examples on
what we view as related changes.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-07-28 15:38:14 +02:00
Ludovic Courtès 189b1543cb doc: Mention separate branch for packages with many dependents.
Suggested by ng0 <ng0@we.make.ritual.n0.is>.

* doc/contributing.texi (Submitting Patches): Add note on packages with
more than 100 dependents.
2016-07-28 15:24:37 +02:00
Ben Woodcroft 6547708f71 gnu: r-genomicfeatures: Update to 1.24.5.
* gnu/packages/bioinformatics.scm (r-genomicfeatures): Update to 1.24.5.
2016-07-28 21:54:44 +10:00
Ben Woodcroft 2c9f6251fc gnu: r-bsgenome: Update to 1.40.1.
* gnu/packages/bioinformatics.scm (r-bsgenome): Update to 1.40.1.
2016-07-28 21:45:17 +10:00
Ben Woodcroft b0f0778a7c gnu: r-iranges: Update to 2.6.1.
* gnu/packages/bioinformatics.scm (r-iranges): Update to 2.6.1.
2016-07-28 21:45:17 +10:00
Ben Woodcroft f403941f81 gnu: r-limma: Update to 3.28.17.
* gnu/packages/bioinformatics.scm (r-limma): Update to 3.28.17.
2016-07-28 21:45:16 +10:00
Ben Woodcroft 2b2ff0bd91 gnu: r-xvector: Update to 0.12.1.
* gnu/packages/bioinformatics.scm (r-xvector): Update to 0.12.1.
2016-07-28 21:45:16 +10:00
Ben Woodcroft a463055862 gnu: r-genomicranges: Update to 1.24.2.
* gnu/packages/bioinformatics.scm (r-genomicranges): Update to 1.24.2.
2016-07-28 21:45:16 +10:00
Ben Woodcroft bab15ccec4 gnu: r-annotationdbi: Update to 1.34.4.
* gnu/packages/bioinformatics.scm (r-annotationdbi): Update to 1.34.4.
2016-07-28 21:45:15 +10:00
Ben Woodcroft a22999f245 gnu: r-biocparallel: Update to 1.6.3.
* gnu/packages/bioinformatics.scm (r-biocparallel): Update to 1.6.3.
2016-07-28 21:45:15 +10:00
Ben Woodcroft d104fc607d gnu: r-biostrings: Update to 2.40.2.
* gnu/packages/bioinformatics.scm (r-biostrings): Update to 2.40.2.
2016-07-28 21:45:15 +10:00
Ben Woodcroft 1864e051c9 gnu: r-summarizedexperiment: Update to 1.2.3.
* gnu/packages/bioinformatics.scm (r-summarizedexperiment): Update to 1.2.3.
2016-07-28 21:45:15 +10:00
Ben Woodcroft 29b0cc8ad5 gnu: r-genomicalignments: Update to 1.8.4.
* gnu/packages/bioinformatics.scm (r-genomicalignments): Update to 1.8.4.
2016-07-28 21:45:14 +10:00
Ben Woodcroft 5131e21064 gnu: r-rtracklayer: Update to 1.32.2.
* gnu/packages/bioinformatics.scm (r-rtracklayer): Update to 1.32.2.
2016-07-28 21:45:14 +10:00
Ben Woodcroft 2a3e325f5e gnu: r-genomeinfodb: Update to 1.8.3.
* gnu/packages/bioinformatics.scm (r-genomeinfodb): Update to 1.8.3.
2016-07-28 21:45:14 +10:00
Ben Woodcroft f2e791750b gnu: r-s4vectors: Update to 0.10.2.
* gnu/packages/bioinformatics.scm (r-s4vectors): Update to 0.10.2.
2016-07-28 20:13:42 +10:00
Leo Famulari e335b82c4e gnu: mysql: Update to 5.7.13 [fixes CVE-2016-{3477,3521,3615,5440}].
* gnu/packages/patches/mysql-fix-failing-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/databases.scm (mysql): Update to 5.7.13.
2016-07-28 02:08:49 -04:00
Tomáš Čech 46e4e84ffc gnu: the-silver-searcher: Update to 0.32.0.
* gnu/packages/code.scm(the-silver-searcher): Update to 0.32.0.
2016-07-28 08:05:04 +02:00
Leo Famulari 8e5d8b1880 gnu: imagemagick: Update to 6.9.5-3.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.5-3.
2016-07-27 23:25:13 -04:00
Leo Famulari ff7172feae gnu: mariadb: Update to 10.1.16.
* gnu/packages/databases.scm (mariadb): Update to 10.1.16.
2016-07-27 23:25:08 -04:00
Alex Griffin b111bdb667 gnu: calibre: Update to 2.63.0.
* gnu/packages/ebook.scm (calibre): Update to 2.63.0.
[inputs]: Remove unnecessary imagemagick dependency.
[phases]: Use modify-phases.

* gnu/packages/patches/calibre-drop-unrar.patch: Update
for new version.

Signed-off-by: Roel Janssen <roel@gnu.org>
2016-07-27 23:45:16 +02:00
Carlos Sánchez de La Lama cad7e6abaf system: Source /etc/environment before $HOME/.guix-profile/etc/profile.
* gnu/system.scm (operating-system-etc-service) <profile>: Move sourcing
of /etc/environment before that of $HOME/.guix-profile/etc/profile.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-27 23:08:20 +02:00
Ben Woodcroft 9712ef8d42 gnu: krona-tools: Update to 2.7.
* gnu/packages/web.scm (krona-tools): Update to 2.7.
[arguments]: Delete 'build' phase.  Install new scripts.
2016-07-27 23:39:56 +10:00
Ben Woodcroft 12c8f210ee gnu: diamond: Update to 0.8.16.
* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.16.
2016-07-27 23:17:57 +10:00
Andreas Enge fd6830b3a6 gnu: guix: Update revision number in version.
This is a follow-up to commit 95af24a2f1.
Reported by Alex Kost <alezost@gmail.com>.
2016-07-27 15:16:17 +02:00
Ludovic Courtès 37402ecb43 tests: Use unbuffered input ports when decompressing from 'guix publish'.
Fixes <http://bugs.gnu.org/24060>.
Reported by Chris Marusich <cmmarusich@gmail.com>.

* tests/publish.scm (http-get-port): Explicitly call
'open-socket-for-uri' and add calls to 'setvbuf'.
2016-07-27 12:45:01 +02:00
Ludovic Courtès 688ec13c45 zlib: Protect against non-empty port internal buffers.
* guix/zlib.scm (make-gzip-input-port)[gzfile]: Error out
if (drain-input port) returns a non-empty string.
* guix/zlib.scm (make-gzip-output-port)[gzfile]: Call 'force-output'.
2016-07-27 12:45:01 +02:00
Ludovic Courtès d00240c36e zlib: Clarify when 'gzread!' can return zero.
* guix/zlib.scm (gzread!): Augment docstring to clarify when zero is
returned (based on reading zlib code).
(make-gzip-input-port)[read!]: Remove scary comment.
2016-07-27 12:45:01 +02:00
Alex Griffin 46bd451520 gnu: magit: Fix rebase commands that require perl.
* gnu/packages/emacs.scm (magit)[inputs]: Add 'perl'.
[arguments]: Adjust 'patch-exec-paths' phase to make some rebase
commands find 'perl'.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-07-27 11:15:45 +03:00
Tobias Geerinckx-Rice 82ee141bab gnu: Add httping.
* gnu/packages/networking.scm (httping): New variable.
2016-07-27 03:59:47 +02:00
Tobias Geerinckx-Rice 42ff54d5fa gnu: Add missing copyright symbol.
* gnu/packages/networking.scm: Add missing "©" to header comments.
2016-07-27 03:59:47 +02:00
ng0 ae83dcf6ba gnu: gmime: Remove 'gpg' to 'gpg2' substitution.
* gnu/packages/mail.scm (gmime)[arguments]: Remove the substitution which
previously changed 'gpg' to 'gpg2' in 'patch-paths-in-tests' phase.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-26 19:43:54 -04:00
Andreas Enge d3896fc4ce gnu: dmd: Remove package, superseded by shepherd.
* gnu/packages/admin.scm (dmd): Remove variable.
2016-07-26 22:50:26 +02:00
Danny Milosavljevic 90c2ee889b gnu: Add perl-db-file.
* gnu/packages/databases.scm (perl-db_file): New variable.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2016-07-26 22:43:48 +02:00
Ludovic Courtès 9e90fc7713 profiles: Output in 'package->manifest-entry' defaults to "out".
Fixes <http://bugs.gnu.org/24029>.
Reported by Dylan Jeffers <sapientech@openmailbox.org>.

* guix/profiles.scm (package->manifest-entry): Change #:output to
default to "out".
(packages->manifest): Add 'package?' in second 'match' clause.
* tests/profiles.scm ("package->manifest-entry defaults to \"out\""):
New test.
2016-07-26 18:18:53 +02:00
Ludovic Courtès 201855221f environment: Set 'GUIX_ENVIRONMENT' to the profile.
* guix/scripts/environment.scm (create-environment): Set
'GUIX_ENVIRONMENT' to PROFILE.
* tests/guix-environment.sh: Test it.
* doc/guix.texi (Invoking guix environment): Document it.
2016-07-26 17:59:25 +02:00
Ludovic Courtès 8173ceee1f import: pypi: Correctly handle new-style URLs.
Fixes <http://bugs.gnu.org/23997>.

* guix/import/pypi.scm (guix-package->pypi-name): Rewrite using
'basename' and 'hyphen-package-name->name+version'.
* tests/pypi.scm ("guix-package->pypi-name, old URL style")
("guix-package->pypi-name, new URL style"): New tests.
2016-07-26 17:49:34 +02:00
Ludovic Courtès debc6360e1 doc: Explain authentication in "System Installation".
Suggested by Vincent Legoll <vincent.legoll@gmail.com>.

* doc/guix.texi (OPENPGP-SIGNING-KEY-ID): New constant.
(Binary Installation): Use it.
(USB Stick Installation): Copy and adjust the authentication bit from
"Binary Installation".
2016-07-26 15:07:29 +02:00
ng0 6e42660b12 doc: Better illustration use of package revision numbers.
* doc/guix.texi (Version Numbers): Add the
revision to the example of the git package used in 7.6.3.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-26 14:55:47 +02:00
Alex Griffin 88a8ce87a4 gnu: icecat: Install icons.
* gnu/packages/gnuzilla.scm (icecat)[arguments]: Add
'install-icons' phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-26 14:53:16 +02:00
Tobias Geerinckx-Rice 2b76f13507 gnu: Add haveged.
* gnu/packages/linux.scm (haveged): New variable.
2016-07-26 11:20:52 +02:00
Tobias Geerinckx-Rice af7aaaebab gnu: Add perceptualdiff.
* gnu/packages/image.scm (perceptualdiff): New variable.
2016-07-26 11:20:27 +02:00
Mark H Weaver ca80985c6c gnu: linux-libre@4.1: Update to 4.1.28.
* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.28.
2016-07-26 01:36:12 -04:00
Mark H Weaver de348a0bb7 gnu: linux-libre: Update to 4.7.
* gnu/packages/linux.scm (linux-libre): Update to 4.7.
* gnu/packages/linux-libre-4.7-x86_64.conf,
gnu/packages/linux-libre-4.7-i686.conf: New files.
* gnu/packages/linux-libre-4.6-x86_64.conf,
gnu/packages/linux-libre-4.6-i686.conf: Delete files.
* Makefile.am (KCONFIGS): Update accordingly.
2016-07-26 00:46:40 -04:00
Andreas Enge 0e5f606159 gnu: calibre: Build with non-modular Qt.
* gnu/packages/ebook.scm (calibre)[native-inputs]: Replace QTBASE by QT.
[inputs]: Replace QTBASE by QT and PYTHON2-PYQT by PYTHON2-PYQT-5.5.

This essentially reverts commit 76806c54ed.

Reported by Roel Janssen <roel@gnu.org>.
2016-07-26 00:38:39 +02:00
Andreas Enge 4a8c35e143 gnu: pyqt: Add versions based on non-modular Qt 5.5.
* gnu/packages/qt.scm (python-pyqt-5.5, python2-pyqt-5.5): New variables.
2016-07-26 00:38:20 +02:00
Andreas Enge 95af24a2f1 gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to 97c8aef.
2016-07-25 22:53:27 +02:00
Andreas Enge 97c8aef15d system: Add mapped devices for RAID.
* gnu/system/mapped-devices.scm (raid-device-mapping, open-raid-device,
close-raid-device): New variables.
* doc/guix.texi (Mapped Devices): Add documentation for RAID devices,
reorganize documentation for LUKS devices.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-07-25 22:22:21 +02:00
myglc2 424a323e92 doc: Explain when guix edit is read-only.
* doc/guix.texi (Invoking guix edit): Explain when you can and can't
  edit the recipe.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-07-25 17:18:53 +03:00
Alex Kost 090bdb9e91 gnu: emacs-solarized-theme: Remove unneeded dependencies.
* gnu/packages/emacs.scm (emacs-solarized-theme)[propagated-inputs]:
Remove 'emacs-f' and 'emacs-s'.
2016-07-25 17:18:53 +03:00
Alex Kost c48899eba2 gnu: emacs: Install site-start.el in non-versioned directory.
Reported by Ricardo Wurmus on #guix.

* gnu/packages/emacs.scm (emacs)[arguments]: Put "site-start.el" in
"/share/emacs/site-lisp" instead of "/share/emacs/<version>/site-lisp"
to let inherited package with another version find it.
2016-07-25 17:18:53 +03:00
Alex Kost 07f7cc03ce gnu: Add guile-daemon.
* gnu/packages/guile.scm (guile-daemon): New variable.
2016-07-25 17:18:53 +03:00
Alex Kost bd9af61035 gnu: Add guile-xosd.
* gnu/packages/guile.scm (guile-xosd): New variable.
2016-07-25 17:18:53 +03:00
Alex Kost 6cfd1a687a gnu: Add xdpyprobe.
* gnu/packages/xdisorg.scm (xdpyprobe): New variable.
2016-07-25 17:18:53 +03:00
Alex Kost 1a3e6b15ba doc: Describe how to make X server find TrueType fonts.
* doc/guix.texi (Application Setup): Document how to add TrueType fonts
installed in a Guix profile to the X server font path.
2016-07-25 17:18:52 +03:00
Alex Kost 9eb5a449ee profiles: Add fonts-dir-file hook.
* guix/profiles.scm (fonts-dir-file): New procedure.
(%default-profile-hooks): Add it.
2016-07-25 17:18:52 +03:00
Alex Kost 84b5d9075c gnu: mkfontdir: Do not propagate 'mkfontscale'.
* gnu/packages/xorg.scm (mkfontdir)[propagated-inputs]: Move
'mkfontscale' to ...
[inputs]: ... here.
[arguments]: Add 'wrap-mkfontdir' phase.
2016-07-25 17:18:52 +03:00
Alex Kost e48e31bcc8 gnu: Add xfd.
* gnu/packages/xorg.scm (xfd): New variable.
2016-07-25 17:18:52 +03:00
Alex Kost f225ae7544 gnu: Add xfontsel.
* gnu/packages/xorg.scm (xfontsel): New variable.
2016-07-25 17:18:52 +03:00
Andy Patterson 1925a87926 gnu: sbcl: Update to 1.3.7.
* gnu/packages/lisp.scm (sbcl): Update to 1.3.7.
[arguments]: During the patch-unix-tool-paths phase, avoid running
substitute* on a utf-16-be encoded file.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-07-25 19:50:13 +08:00
Andy Patterson 54a43ff406 gnu: ecl: Wrap with PATH, CPATH, LIBRARY_PATH, and LD_LIBRARY_PATH.
* gnu/packages/lisp.scm (ecl)[arguments]: Add 'wrap' phase.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-07-25 10:48:49 +02:00
Andy Patterson 60474cd114 gnu: ecl: Enable tests.
* gnu/packages/lisp.scm (ecl): Enable tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-25 10:48:49 +02:00
Andy Patterson e0524511ec gnu: ecl: Update to 16.1.2.
* gnu/packages/lisp.scm (ecl): Update to 16.1.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-25 10:48:49 +02:00
Efraim Flashner 45477c6a7d gnu: gnupg@2.1: Use 'modify-phases'.
* gnu/packages/gnupg.scm (gnupg@2.1)[arguments]: Use 'modify-phases'
syntax.
2016-07-25 00:18:15 +03:00
Efraim Flashner 35d28c6013 gnu: hdup: Update source url.
* gnu/packages/backup.scm (hdup)[source]: Update url.
2016-07-25 00:15:30 +03:00
Leo Famulari 163708a664 gnu: gnupg-2.1: Install executable as 'gpg'.
* gnu/packages/gnupg.scm (gnupg-2.1)[arguments]: Add '--enable-gpg2-is-gpg'
to #:configure-flags.
2016-07-24 17:09:40 -04:00
Ludovic Courtès bc85b127df gnu: gnupg@2.0: Add the 'gpg' and 'gpgv' commands.
* gnu/packages/gnupg.scm (gnupg-2.0)[arguments]: Add
'rename-v2-commands' phase.
2016-07-24 22:18:45 +02:00
Efraim Flashner 80c47cf8e4 gnu: gnupg@2.0: Fix typo.
* gnu/packages/gnupg.scm (gnupg@2.0)[arguments]: Fix typo that prevented
gnupg from building.

This is a follow up to 6b547d2295.
2016-07-24 22:02:46 +03:00
Efraim Flashner 04c828c4fb gnu: exiv2: Update source url.
* gnu/packages/geeqie.scm (exiv2)[source]: Update url.
2016-07-24 21:17:04 +03:00
David Craven 99fe215cc1 lint: 'inputs-should-be-native' checks for intltool, itstool and glib:bin.
* guix/scripts/lint.scm (check-inputs-should-be-native): Warn when intltool,
itstool or glib:bin isn't a native-input.
* tests/lint.scm (inputs: glib:bin is probably a native input): Add test.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-07-24 19:54:15 +02:00
ng0 0f53b886e2 doc: Point out preference of message format.
* doc/contributing.texi (Submitting Patches): Includes a note on
preference of plain text messages with either inline or MIME attachments
and advise contributers to pay attention if their email client breaks the
patches.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-24 19:54:15 +02:00
Ludovic Courtès dfcdd9c25d doc: Explain that contributors can use a pseudonym.
Suggested by ng0 <ng0@we.make.ritual.n0.is>.

* doc/contributing.texi (Contributing): Explain that using a legal name
is not required.
2016-07-24 19:54:15 +02:00
Ludovic Courtès 6b547d2295 doc: gnupg@2.0: Use 'modify-phases'.
* gnu/packages/gnupg.scm (gnupg-2.0)[arguments]: Use 'modify-phases'.
2016-07-24 19:54:15 +02:00
Ludovic Courtès 20e2964344 doc: Explain how to set up Git for signing.
* HACKING (Commit Access): Give instructions on how to set up Git for
signing.
2016-07-24 19:54:15 +02:00
Andreas Enge a308c2339a gnu: icecat: Disable parallel build.
* gnu/packages/gnuzilla.scm (icecat)[arguments]: Disable parallel build.
2016-07-24 18:40:46 +02:00
Alex Griffin fe224d20cc download: Add SourceForge load balancer.
* guix/download.scm (%mirrors)[sourceforge]: Add canonical load balancer for
sourceforge.net.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-24 12:35:46 -04:00
Andreas Enge 238e5642d4 gnu: icecat: Update to 38.8.0-gnu2.
* gnu/packages/gnuzilla.scm (icecat): Update to 38.8.0-gnu2.
2016-07-24 17:28:36 +02:00
Efraim Flashner d841a292b2 gnu: openssh: Fix CVE-2016-6210.
* gnu/packages/ssh.scm (openssh)[source]: Add patches
openssh-CVE-2016-6210-1.patch, openssh-CVE-2016-6210-2.patch,
openssh-CVE-2016-6210-3.patch.
* gnu/packages/patches/openssh-CVE-2016-6210-1.patch: New file.
* gnu/packages/patches/openssh-CVE-2016-6210-2.patch: New file.
* gnu/packages/patches/openssh-CVE-2016-6210-3.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register them.
2016-07-24 16:18:41 +03:00
Efraim Flashner df2c7563ff gnu: pspp: Update to 0.10.2.
* gnu/packages/statistics.scm (pspp): Update to 0.10.2.
2016-07-24 15:43:35 +03:00
Efraim Flashner fe84bc9aba gnu: python-iso8601: Update to 0.1.11.
* gnu/packages/python.scm (python-iso8601): Update to 0.1.11.
2016-07-24 15:43:34 +03:00
Efraim Flashner 2af56bfa1e gnu: iniparser: Use 'modify-phases'.
* gnu/packages/samba.scm (iniparser)[arguments]: Use 'modify-phases'
syntax.
2016-07-24 15:43:34 +03:00
Efraim Flashner def8f501e6 gnu: iniparser: Update to 4.0.
* gnu/packages/samba.scm (iniparser): Update to 4.0.
[source]: Download from Github.
[arguments]: Define 'gcc' in Makefiles.
2016-07-24 15:43:33 +03:00
Efraim Flashner f0e8d85e17 gnu: python-waf: Update to 1.9.1.
* gnu/packages/python.scm (python-waf): Update to 1.9.1.
2016-07-24 15:43:33 +03:00
Efraim Flashner f0b8d83a77 gnu: mpv: Use packaged waf.
* gnu/packages/video.scm (mpv)[inputs]: Remove externally downloaded waf
package and use packaged python-waf.
2016-07-24 15:43:32 +03:00
Andreas Enge 8ebdf9afd6 gnu: wxwidgets: Update source URL.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2): Update source URL.
2016-07-24 10:36:54 +02:00
Leo Famulari d5f335eedb gnu: git: Update to 2.9.2.
* gnu/packages/version-control.scm (git): Update to 2.9.2.
(git-manpages)[source]: Update hash.
2016-07-24 03:49:10 -04:00
Ricardo Wurmus 6af691723e gnu: icedtea-6: Narrow file to certificate block.
* gnu/packages/java.scm (icedtea-6)[arguments]: Extract certificate
  blocks from pem files before importing.
2016-07-24 09:41:57 +02:00
ng0 578aeea6cd gnu: perl-io-socket-ssl: Add IDN support.
* gnu/packages/web.scm (perl-io-socket-ssl)[propagated-inputs]: Add perl-uri
for IDN support.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-07-24 09:36:42 +03:00
ng0 73020459b3 gnu: perl-io-socket-ssl: Update to 2.033.
* gnu/packages/web.scm (perl-io-socket-ssl): Update to 2.033.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-07-24 09:36:42 +03:00
Efraim Flashner 763a17ba62 gnu: parallel: Update to 20160722.
* gnu/packages/parallel.scm (parallel): Update to 20160722.
2016-07-24 09:36:42 +03:00
Efraim Flashner fad51a1837 gnu: hplip: Update to 3.16.7.
* gnu/packages/cups.scm (hplip): Update to 3.16.7.
2016-07-24 09:35:58 +03:00
Efraim Flashner 7531b1fc4d gnu: ghc-memory: Update to 0.13.
* gnu/packages/haskell.scm (ghc-memory): Update to 0.13.
2016-07-24 09:35:58 +03:00
Alex Griffin 92c2f6055d gnu: Add trash-cli.
* gnu/packages/shellutils.scm (trash-cli): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-23 20:34:31 -04:00
Andreas Enge 2a69d4df7d gnu: youtube-dl: Update to 2016.07.22.
* gnu/packages/video.scm (youtube-dl): Update to 2016.07.22.
2016-07-24 00:11:15 +02:00
Efraim Flashner a4ea25d347 gnu: offlineimap: Update to 7.0.0.
* gnu/packages/mail.scm (offlineimap): Update to 7.0.0.
[inputs]: Add python2-six.
[native-inputs]: Remove python2.
2016-07-24 00:30:02 +03:00
Andreas Enge a000f3c4a8 gnu: cook: Update source URL.
* gnu/packages/cook.scm (cook)[source]: Update URL.
2016-07-23 22:19:11 +02:00
Tobias Geerinckx-Rice 6a3987b1ae gnu: fish: Update to 2.3.1.
* gnu/packages/fish.scm (fish): Update to 2.3.1.
[home-page, source]: Use 'https' in the URL.
2016-07-23 20:18:14 +02:00
Tobias Geerinckx-Rice 389eb3fab7 gnu: Add lrzip.
* gnu/packages/compression.scm (lrzip): New variable.
2016-07-23 20:18:14 +02:00
Ben Woodcroft e03a515304 gnu: fasttree: Update to 2.1.9.
* gnu/packages/bioinformatics.scm (fasttree): Update to 2.1.9.
2016-07-23 15:15:12 +10:00
Alex Griffin 26ad4adb55 gnu: wesnoth: Update to 1.12.6.
* gnu/packages/games.scm (wesnoth): Update to 1.12.6.
2016-07-22 16:12:16 -04:00
Leo Famulari eddf9ae95e gnu: opus: Update to 1.1.3.
* gnu/packages/xiph.scm (opus): Update to 1.1.3.
2016-07-22 14:02:13 -04:00
Leo Famulari 0f971a0475 gnu: Update URLs for sourceforge.net.
* gnu/packages/audio.scm: Update URLs pointing to sourceforge.net.
* gnu/packages/fonts.scm: Likewise.
* gnu/packages/gl.scm: Likewise.
* gnu/packages/gnome.scm: Likewise.
* gnu/packages/image.scm: Likewise.
* gnu/packages/lxde.scm: Likewise.
* gnu/packages/slim.scm: Likewise.
* gnu/packages/textutils.scm: Likewise.
2016-07-22 11:47:12 -04:00
Efraim Flashner 8ef843c711 gnu: aegis: Use 'modify-phases'.
* gnu/packages/version-control.scm (aegis)[arguments]: Use 'modify-phases'.
2016-07-22 18:24:22 +03:00
Efraim Flashner 2ce516d359 gnu: git: Use 'modify-phases'.
* gnu/packages/version-control.scm (git)[arguments]: Use 'modify-phases'.
2016-07-22 18:24:22 +03:00
Efraim Flashner bf3c57ff2d gnu: cssc: Use 'modify-phases'.
* gnu/packages/version-control.scm (cssc)[arguments]: Use 'modify-phases'.
2016-07-22 18:24:22 +03:00
Efraim Flashner 7c5a145414 gnu: subversion: Use 'modify-phases'.
* gnu/packages/version-control.scm (subversion)[arguments]: Use
'modify-phases'.
2016-07-22 18:24:22 +03:00
Efraim Flashner ce84c924ac gnu: subversion: Use https.
* gnu/packages/version-control.scm (subversion)[source]: Use https.
[home-page]: Use https.
2016-07-22 18:24:22 +03:00
Efraim Flashner aac42d7885 gnu: git-flow: Use 'modify-phases'.
* gnu/packages/version-control.scm (git-flow)[arguments]: Use
'modify-phases'.
2016-07-22 18:24:22 +03:00
Efraim Flashner 430e67a459 gnu: gnuplot: Update to upstream's re-release of 5.0.4.
* gnu/packages/maths.scm (gnuplot): Add a guix revision number to the
version scheme of gnuplot to force an update.
2016-07-22 18:24:22 +03:00
Efraim Flashner 18d4d10f34 gnu: enlightenment: Update to 0.21.1.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.21.1.
2016-07-22 18:24:22 +03:00
Efraim Flashner 730c740e43 gnu: bazaar: Use 'modify-phases'.
* gnu/packages/version-control.scm (bazaar)[arguments]: Use
'modify-phases'.
2016-07-22 18:24:22 +03:00
Ricardo Wurmus f21403e2b6 gnu: icedtea-6: Generate keystore.
* gnu/packages/java.scm (icedtea-6)[arguments]: Add phase
"install-keystore".
[native-inputs]: Add nss-certs.
2016-07-22 17:10:25 +02:00
Ricardo Wurmus 9bc84dfea9 gnu: icedtea-6: Use modify-phases syntax.
* gnu/packages/java.scm (icedtea-6)[arguments]: Use modify-phases
  syntax.
2016-07-22 17:10:11 +02:00
Ricardo Wurmus 745ad37a78 gnu: nss-certs: Stop inheriting from nss package.
* gnu/packages/certs.scm (nss-certs): Stop inheriting from nss package.
2016-07-22 17:10:11 +02:00
Ludovic Courtès 3c2d03a2b9 doc: Add note on gender-neutral wording.
Suggested by ng0 <ng0@we.make.ritual.n0.is>.

* doc/contributing.texi (Submitting Patches): Add @item regarding
gender-neutral wording.
2016-07-22 15:26:49 +02:00
Danny Milosavljevic c2f0dc6ed1 gnu: Add ptpython and ptpython2.
* gnu/packages/python.scm (ptpython, ptpython-2): New variables.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-07-22 15:06:05 +02:00
Ludovic Courtès 654c0d97c9 doc: Mention quoting and keywords.
Suggested by Vincent Legoll <vincent.legoll@gmail.com>.

* doc/guix.texi (Defining Packages): Remove quasiquote in 'arguments'
example.  Mention quoting and keywords, with references to Guile's
manual.
2016-07-22 14:40:54 +02:00
宋文武 782170c4f5 gnu: racket: Add more inputs.
* gnu/packages/scheme.scm (racket)[inputs]: Add glu, gmp, libpng, libx11,
mesa, mpfr, openssl and unixodbc.  Replace libjpeg-8 with libjpeg and
gtk+-2 with gtk+.
2016-07-22 19:09:20 +08:00
宋文武 e8c6811bf1 gnu: racket: Patch dynamically loaded libraries with absolute paths.
* gnu/packages/scheme.scm (racket)[arguments]: Patch 'ffi-lib' calls to
absolute paths in 'pre-configure' phase.  Remove 'wrap-programs' phase.
2016-07-22 19:09:11 +08:00
Daniel Pimentel 8d63dddac1 gnu: Add python-protobuf.
* gnu/packages/protobuf.scm (python-protobuf, python2-protobuf): New variables.

Co-authored-by: Leo Famulari <leo@famulari.name>
2016-07-22 02:22:49 -04:00
Leo Famulari d7cff656df gnu: muparser: Update source URL.
* gnu/packages/maths.scm (muparser)[source]: Update source URL to new location.
Use URL-FETCH instead of SVN-FETCH. Update hash and package revision.
2016-07-21 18:25:20 -04:00
Leo Famulari de67e92288 gnu: Update URLs for sourceforge.net.
* gnu/packages/admin.scm: Update URLs pointing to sourceforge.net.
* gnu/packages/audacity.scm: Likewise.
* gnu/packages/audio.scm: Likewise.
* gnu/packages/bioinformatics.scm: Likewise.
* gnu/packages/boost.scm: Likewise.
* gnu/packages/cdrom.scm: Likewise.
* gnu/packages/code.scm: Likewise.
* gnu/packages/compression.scm: Likewise.
* gnu/packages/cups.scm: Likewise.
* gnu/packages/djvu.scm: Likewise.
* gnu/packages/docbook.scm: Likewise.
* gnu/packages/documentation.scm: Likewise.
* gnu/packages/flashing-tools.scm: Likewise.
* gnu/packages/fonts.scm: Likewise.
* gnu/packages/fontutils.scm: Likewise.
* gnu/packages/games.scm: Likewise.
* gnu/packages/ghostscript.scm: Likewise.
* gnu/packages/gl.scm: Likewise.
* gnu/packages/gnucash.scm: Likewise.
* gnu/packages/graphviz.scm: Likewise.
* gnu/packages/image.scm: Likewise.
* gnu/packages/libreoffice.scm: Likewise.
* gnu/packages/libusb.scm: Likewise.
* gnu/packages/linux.scm: Likewise.
* gnu/packages/lirc.scm: Likewise.
* gnu/packages/maths.scm: Likewise.
* gnu/packages/mcrypt.scm: Likewise.
* gnu/packages/mp3.scm: Likewise.
* gnu/packages/music.scm: Likewise.
* gnu/packages/networking.scm: Likewise.
* gnu/packages/onc-rpc.scm: Likewise.
* gnu/packages/password-utils.scm: Likewise.
* gnu/packages/pdf.scm: Likewise.
* gnu/packages/perl.scm: Likewise.
* gnu/packages/photo.scm: Likewise.
* gnu/packages/popt.scm: Likewise.
* gnu/packages/python.scm: Likewise.
* gnu/packages/rdesktop.scm: Likewise.
* gnu/packages/screen.scm: Likewise.
* gnu/packages/swig.scm: Likewise.
* gnu/packages/tcl.scm: Likewise.
* gnu/packages/version-control.scm: Likewise.
* gnu/packages/video.scm: Likewise.
* gnu/packages/w3m.scm: Likewise.
* gnu/packages/web.scm: Likewise.
* gnu/packages/wm.scm: Likewise.
* gnu/packages/xdisorg.scm: Likewise.
* gnu/packages/xml.scm: Likewise.
2016-07-21 18:09:40 -04:00
Kei Kebreau a205d3f991 gnu: Add hexedit.
* gnu/packages/hexedit: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2016-07-21 14:06:05 -04:00
Tomáš Čech 24e964314e services: Export *-service-type and *-configuration.
This allows users to use 'modify-services' and similar constructs for
all these service types.

* gnu/services/avahi.scm: export avahi-configuration.
* gnu/services/base.scm: export gpm-configuration and
rngd-configuration.
* gnu/services/databases.scm: export *-service-type and *-configuration.
* gnu/services/dbus.scm: export dbus-configuration.
* gnu/services/dict.scm: export dicod-service-type.
* gnu/services/lirc.scm: export lirc-configuration and
lirc-service-type.
* gnu/services/mail.scm: export dovecot-service-type.
* gnu/services/web.scm: export nginx-configuration and
nginx-service-type.
* gnu/services/xorg.scm: export screen-locker and screen-locker?.
* gnu/services/ssh.scm: export lsh-configuration and lsh-service-type.
* gnu/services/desktop.scm: export *-service, *-service-type
and *-configuration.
* gnu/services/networking.scm: export *-configuration
and *-service-type.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-07-21 18:53:27 +02:00
Efraim Flashner 427dda54f2 gnu: tesseract-ocr: Update to 3.04.01.
* gnu/packages/ocr.scm (tesseract-ocr): Update to 3.04.01.
[source]: Download from Github, add 'file-name' field, remove snippet.
[native-inputs]: Remove autoconf, automake, libtool.
[propagated-inputs]: Move leptonica ...
[inputs]: ... to here.
[arguments]: Remove 'autogen phase.
[home-page]: Move program's home-page to Github.
2016-07-21 17:18:42 +03:00
Efraim Flashner a9c64810cd gnu: gnuplot: Update to 5.0.4.
* gnu/packages/maths.scm (gnuplot): Update to 5.0.4.
2016-07-21 13:56:51 +03:00
Efraim Flashner 873966e3e9 gnu: dovecot: Update to 2.2.25.
* gnu/packages/mail.scm (dovecot): Update to 2.2.25.
2016-07-21 13:56:13 +03:00
Efraim Flashner 132e14b4cc gnu: texlive: Use https.
* gnu/packages/tex.scm (texlive-bin, texlive-texmf, texlive)[license]:
Use 'https' in the url.
[home-page]: Use 'https' in the url.
2016-07-21 12:56:17 +03:00
Efraim Flashner 29a56d8eaf gnu: texlive: Update in-place source updates.
* gnu/packages/tex.scm (texlive-texmf-source, texlive-bin)[source]:
Update to 20160523b.
2016-07-21 12:46:12 +03:00
Leo Famulari d23d1ddf6e gnu: msmtp: Update to 1.6.5.
* gnu/packages/mail.scm (msmtp): Update to 1.6.5.
[source]: Update source URL.
2016-07-21 01:43:01 -04:00
Eric Bavier 2908087013 gnu: superlu-dist: Remove non-free source.
* gnu/packages/maths.scm (superlu-dist)[source]: Replace non-free
mc64ad.c source with stub.
2016-07-20 21:16:25 -05:00
Eric Bavier 8787c555d9 gnu: slepc: Update to 3.7.1.
* gnu/packages/maths.scm (slepc): Update to 3.7.1.
2016-07-20 21:16:25 -05:00
Eric Bavier fafd623e49 gnu: petsc: Update to 3.7.2.
* gnu/packages/maths.scm (petsc): Update to 3.7.2.
[arguments]: Adjust scrubbed files.
2016-07-20 21:16:24 -05:00
Eric Bavier b730b43770 gnu: petsc: Make header generation reproducible.
* gnu/packages/maths.scm (petsc)[arguments]: Scrub timestamp from
  petscmachineinfo.h header.
2016-07-20 21:16:24 -05:00
Eric Bavier 64dcc28963 gnu: petsc: Use modify-phases.
* gnu/packages/maths.scm (petsc)[arguments]: Use modify-phases.
2016-07-20 21:16:24 -05:00
Eric Bavier 9474a4b3ec gnu: openmpi: Make binaries reproducible.
* gnu/packages/mpi.scm (openmpi)[arguments]: Remove timestamps from
source files.  Delete installed configure logs.
2016-07-20 21:16:24 -05:00
Eric Bavier 6876590fd4 gnu: openmpi: Update to 1.10.3.
* gnu/packages/mpi.scm (openmpi): Update to 1.10.3.
[source]: Use https.
2016-07-20 21:15:37 -05:00
Eric Bavier 995a09e055 gnu: superlu: Update to 5.2.1.
* gnu/packages/maths.scm (superlu): Update to 5.2.1.
[source]: Remove non-free MC64 code.
[inputs]: Use openblas instead of lapack's BLAS.
[build-system]: Use cmake-build-system.
[arguments]: Remove custom phases and replace with CMake flags.
[license]: List additional licenses for some source and example files.
2016-07-20 18:31:16 -05:00
Eric Bavier d721c83a63 gnu: Add libhilbert.
* gnu/packages/maths.scm (libhilbert): New variable.
2016-07-20 18:31:16 -05:00
Ludovic Courtès b006ba5038 pull: Update the version string.
Fixes <http://bugs.gnu.org/19278>.
Reported by Tomáš Čech <tcech@suse.cz>.

This allows 'guix --version' to return something that better represents
what version is being used.

* build-aux/build-self.scm (date-version-string): New procedure.
(build): Add #:version.
[builder]: Pass it to 'build-guix' as #:package-version.
2016-07-20 22:53:02 +02:00
Ludovic Courtès 13cee334f1 pull: Install (guix config) module to override the user's one.
* build-aux/build-self.scm (zlib, gzip, bzip2, xz): New variables.
(build)[storedir, localstatedir, sysconfdir, sbindir]: New variables.
[builder]: Pass them to 'build-guix'.
* guix/build/pull.scm (build-guix): Add #:system, #:storedir,
  #:localstatedir, #:sysconfdir, #:sbindir, #:package-name,
  #:package-version, #:bug-report-address, #:home-page-url, #:libgcrypt,
  #:zlib, #:gzip, #:bzip2, and #:xz.  Remove #:gcrypt.
  Instantiate all the substitution variables in (guix config).  Remove
  code to delete OUT/guix/config.{scm,go}.
* guix/config.scm.in: Add note about (guix script pull).
2016-07-20 22:53:02 +02:00
Ludovic Courtès 0b0086e94c config: Export the raw installation directories.
* guix/config.scm.in (%storedir, %localstatedir)
(%sysconfdir, %sbindir): New variables.
(%store-directory): Use %STOREDIR.
(%state-directory): Use %LOCALSTATEDIR.
(%config-directory): Use %SYSCONFDIR.
(%guix-register-program): Use %SBINDIR.
2016-07-20 22:53:02 +02:00
Ricardo Wurmus cdf8f39195 gnu: Add allegro-5.0.
* gnu/packages/game-development.scm (allegro-5.0): New variable.
2016-07-20 22:19:34 +02:00
Ricardo Wurmus 19d311b4f2 gnu: Add allegro.
* gnu/packages/game-development.scm (allegro): New variable.
2016-07-20 22:19:34 +02:00
Ludovic Courtès ab84b927ef download: Prepare to support the 'guix publish' /file URLs.
* guix/download.scm (%content-addressed-mirrors): Add 'file' parameter
to the lambda.
* guix/build/download.scm (url-fetch)[content-addressed-uris]: Adjust
accordingly.
2016-07-20 17:02:35 +02:00
Ludovic Courtès ff6638d112 publish: Handle '/file' URLs, for content-addressed files.
* guix/scripts/publish.scm (render-content-addressed-file): New procedure.
(http-write): Add 'application/octet-stream' case.
(make-request-handler): Add /file/NAME/sha256/HASH URLs.
* tests/publish.scm ("/file/NAME/sha256/HASH")
("/file/NAME/sha256/INVALID-NIX-BASE32-STRING")
("/file/NAME/sha256/INVALID-HASH"): New tests.
* doc/guix.texi (Invoking guix publish): Mention the /file URLs.
2016-07-20 16:54:31 +02:00
Ludovic Courtès 260bc60f83 derivations: Export 'fixed-output-path'.
* guix/derivations.scm (fixed-output-path): Change 'output',
'hash-algo', and 'recursive?' to keyword parameters.  Export.
(derivation): Adjust accordingly.
2016-07-20 16:39:19 +02:00
Ludovic Courtès a849273509 tests: Adjust to Shepherd error message change.
This is a followup to commit 2c2ec261a8.

* tests/guix-system.sh: Adjust expected error message for Shepherd
services that are not provided.
2016-07-20 14:49:01 +02:00
Efraim Flashner 5f01078129 gnu: julia: Build with zlib.
* gnu/packages/julia.scm (julia)[inputs]: Add zlib.
2016-07-20 11:37:01 +03:00
Efraim Flashner c23c628ea7 Revert "gnu: julia: Build with zlib."
This reverts commit 95bf72eeb0.
2016-07-20 11:37:01 +03:00
Efraim Flashner 95bf72eeb0 gnu: julia: Build with zlib.
* gnu/packages/julia.scm (julia)[inputs]: Add zlib.
2016-07-20 09:11:16 +03:00
Efraim Flashner 885fa1eec5 gnu: aria2: Update to 1.25.0.
* gnu/packages/bittorrent.scm (aria2): Update to 1.25.0.
2016-07-20 06:49:44 +03:00
Ricardo Wurmus 909147e43f services: Add pam-limits-service.
* gnu/system/pam.scm (<pam-limits-entry>): New record type.
(pam-limits-entry, pam-limits-entry->string): New procedures.
* gnu/services/base.scm (pam-limits-service-type): New variable.
(pam-limits-service): New procedure.
* doc/guix.texi (Base Services): Document it.
2016-07-19 23:50:03 +02:00
Ludovic Courtès 8e9ba611cb gnu: atlas: Use @example in description.
* gnu/packages/maths.scm (atlas)[description]: Use "@example".
2016-07-19 23:03:30 +02:00
Tobias Geerinckx-Rice d97c429a34 gnu: atlas: Use cpupower in description.
* gnu/packages/maths.scm (atlas)[description]: Replace 'cpufreq-selector'
with its replacement 'cpupower --governor'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-19 23:03:30 +02:00
Tobias Geerinckx-Rice 58d6a1f227 gnu: Add cpupower.
* gnu/packages/linux.scm (cpupower): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-19 23:03:30 +02:00
Tobias Geerinckx-Rice 592ccdd388 gnu: Add ssdeep.
* gnu/packages/datastructures.scm (ssdeep): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-19 23:03:30 +02:00
David Craven 7fe3f8cf6e gnu: mesa-utils: Update to 8.3.0.
* gnu/packages/gl.scm (mesa-utils): Update to 8.3.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-19 23:03:30 +02:00
David Craven 3a92a5b36d gnu: Order module imports in (gnu packages gl) alphabetically.
* gnu/packages/gl.scm: Order module imports alphabetically.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-19 23:03:30 +02:00
David Craven 584f2e1bc1 gnu: gl: Change 'l:' prefix to 'license:'.
* gnu/packages/gl.scm: Change #:prefix l: to #:prefix license:.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-19 23:03:30 +02:00
Ludovic Courtès 4591c02ea9 doc: Mention zlib as an optional dependency.
* doc/guix.texi (Requirements): Mention zlib.
(Invoking guix publish): Fix typo.
2016-07-19 23:03:30 +02:00
Efraim Flashner aab76e80d2 gnu: python-pyquery: Update to 1.2.13.
* gnu/packages/python.scm (python-pyquery): Update to 1.2.13.
2016-07-19 21:07:37 +03:00
Efraim Flashner d5ccd9abf6 gnu: python-cssselect: Update to 0.9.2.
* gnu/packages/python.scm (python-cssselect): Update to 0.9.2.
[source]: Use 'pypi-uri' format.
2016-07-19 21:03:31 +03:00
Efraim Flashner 58d1d816ba gnu: python2-cssutils: Update to 1.0.1.
* gnu/packages/python.scm (python2-cssutils): Update to 1.0.1.
[source]: Use 'pypi-uri' format.
2016-07-19 21:00:52 +03:00
Efraim Flashner 31e8a074c7 gnu: calibre: Update to 2.62.0.
* gnu/packages/ebook.scm (calibre): Update to 2.62.0.
2016-07-19 20:47:25 +03:00
Efraim Flashner d58a32037e gnu: python-lxml: Update to 3.6.0.
* gnu/packages/python.scm (python-lxml): Update to 3.6.0.
2016-07-19 20:11:32 +03:00
Ludovic Courtès 053fa76ae7 publish: Keep compression disabled when zlib is missing.
Reported by David Thompson.

* guix/scripts/publish.scm (%options)[--compression]: Warn if LEVEL > 0
and zlib is missing, and return RESULT.
2016-07-19 16:47:19 +02:00
ng0 72fb1b24d9 gnu: Use HTTPS home-page URLs for PGP-related packages.
* gnu/packages/gnupg.scm (gnupg, gpgme, libassuan, libgcrypt, libgpg-error,
libksba, npth, pius, python-gnupg, signing-party)[home-page]: Use HTTPS URLs.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-18 23:48:42 -04:00
ng0 f04a7943f4 gnu: libassuan: Update to 2.4.3.
* gnu/packages/gnupg.scm (libassuan): Update to 2.4.3.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-18 23:46:32 -04:00
Eric Bavier 0935fb271b gnu: llvm: Build without debugging symbols.
* gnu/packages/llvm.scm (llvm)[arguments]: Add #:build-type.
2016-07-18 20:28:21 -05:00
Eric Bavier 3b956a3392 gnu: llvm: Update to 3.8.1.
* gnu/packages/llvm.scm (llvm, clang-runtime, clang): Update to 3.8.1.
(llvm-3.7, clang-runtime-3.7, clang-3.7): New variables.
(clang-runtime-from-llvm)[arguments]: Disable tests, which were not
being run for previous versions anyhow but now fail hard.
(clang-from-llvm): Add #:patches keyword argument.
* gnu/packages/patches/clang-3.8-libc-search-path.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.

Co-authored-by: Dennis Mungai <dmngaie@gmail.scm>
2016-07-18 20:28:21 -05:00
Eric Bavier 3ebc09057a gnu: llvm: Update to 3.7.1.
* gnu/packages/llvm.scm (llvm, clang-runtime, clang): Update to 3.7.1
(llvm-3.6, clang-runtime-3.6, clang-3.6): New variables.
2016-07-18 20:28:21 -05:00
Eric Bavier ee0774305f gnu: llvm: Add libffi and zlib inputs.
* gnu/packages/llvm.scm (llvm)[inputs]: Add libffi and zlib.
[arguments]: Add cmake flag for libffi to #:configure-flags.

Co-authored-by: Dennis Mungai <dmngaie@gmail.com>
2016-07-18 20:28:21 -05:00
Eric Bavier ac00973cd9 gnu: llvm: Add "license:" prefix.
* gnu/packages/llvm.scm: Import (guix licenses) with "license:" prefix.
2016-07-18 20:28:21 -05:00
Eric Bavier a53c486dad gnu: llvm: Update to 3.5.2.
* gnu/packages/llvm.scm (llvm-3.5): Update to 3.5.2.
2016-07-18 20:28:21 -05:00
Ludovic Courtès 4a1fc562ae publish: Add '--compression'.
* guix/scripts/publish.scm (show-help, %options): Add '--compression'.
(<compression>): New record type.
(%no-compression, %default-gzip-compression): New variables.
(%default-options): Add 'compression' key.
(narinfo-string): Add #:compression parameter and honor it.
(render-narinfo): Likewise.
(render-nar): Likewise.
<top level>: Add call to 'declare-header!'.
(swallow-zlib-error): New macro.
(nar-response-port): New procedure.
(http-write): Add call to 'force-output'.  Use 'nar-response-port'
instead of 'response-port'.  Use 'swallow-zlib-error'.
(make-request-handler): Add #:compression parameter and honor it.  Add
"nar/gzip" URL handler.
(run-publish-server): Add #:compression parameter and honor it.
(guix-publish): Honor --compression.
* tests/publish.scm (http-get-port, wait-until-ready): New procedures.
<top level>: Run main server with "-C0".  Call 'wait-until-ready'.
("/nar/gzip/*", "/*.narinfo with compression"): New tests.
* doc/guix.texi (Invoking guix publish): Document it.
2016-07-19 00:07:12 +02:00
Ludovic Courtès 721539026d Add (guix zlib).
* guix/zlib.scm, tests/zlib.scm: New files.
* Makefile.am (MODULES): Add guix/zlib.scm.
(SCM_TESTS): Add tests/zlib.scm.
* m4/guix.m4 (GUIX_LIBGCRYPT_LIBDIR): New macro.
* configure.ac (LIBGCRYPT_LIBDIR): Use it.  Define and substitute
'LIBZ'.
* guix/config.scm.in (%libz): New variable.
2016-07-19 00:07:12 +02:00
Ludovic Courtès 2c2ec261a8 services: shepherd: Clarify error message about missing service.
Suggested by Tobias Geerinckx-Rice <me@tobias.gr>.

* gnu/services/shepherd.scm (assert-valid-graph)[assert-satisfied-requirements]:
Clarify error message.
2016-07-19 00:07:12 +02:00
Nicolas Goaziou a2d469afaf gnu: giac-xcas: Update to 1.2.2-75.
* gnu/packages/algebra.scm (giac-xcas): Update to 1.2.2-75.
2016-07-18 22:39:09 +02:00
Leo Famulari 2d656a93db Revert "gnu: gnutls: Fix test failure."
This reverts commit 1d14bf9f5f.
2016-07-18 12:47:18 -04:00
Mark H Weaver 273260646d gnu: gd: Fix failing test on i686.
* gnu/packages/patches/gd-fix-test-on-i686.patch: New file.
* gnu/local.mk (dist_PATCH_DATA): Add it.
* gnu/packages/gd.scm (gd)[source]: Add the patch.
2016-07-18 12:36:01 -04:00
Leo Famulari 1d14bf9f5f gnu: gnutls: Fix test failure.
* gnu/packages/patches/gnutls-fix-stale-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/tls.scm (gnutls)[replacement]: New field.
(gnutls/fixed): New variable.
2016-07-18 12:30:39 -04:00
Efraim Flashner 6aabc87d50 gnu: libinput: Update to 1.4.0.
* gnu/packages/freedesktop.scm (libinput): Update to 1.4.0.
2016-07-18 14:49:49 +03:00
Efraim Flashner cff826ba05 gnu: efl: Use 'modify-phases'.
* gnu/packages/enlightenment.scm (efl)[arguments]: Use 'modify-phases'.
2016-07-18 14:40:55 +03:00
Efraim Flashner ebb365ed57 gnu: efl: Remove valgrind from inputs.
* gnu/packages/enlightenment.scm (efl)[inputs]: Remove valgrind.
2016-07-18 14:29:04 +03:00
Efraim Flashner cb277904a4 gnu: python-gst: Update to 1.8.2.
* gnu/packages/gstreamer.scm (python-gst): Update to 1.8.2.
2016-07-18 14:11:21 +03:00
Efraim Flashner 443975ae8e gnu: gst-libav: Update to 1.8.2.
* gnu/packages/gstreamer.scm (gst-libav): Update to 1.8.2.
2016-07-18 14:10:54 +03:00
Efraim Flashner 935742f38f gnu: gst-plugins-ugly: Update to 1.8.2.
* gnu/packages/gstreamer.scm (gst-plugins-ugly): Update to 1.8.2.
2016-07-18 14:10:06 +03:00
Efraim Flashner 727a9a5bd4 gnu: gst-plugins-good: Update to 1.8.2.
* gnu/packages/gstreamer.scm (gst-plugins-good): Update to 1.8.2.
2016-07-18 14:09:36 +03:00
Efraim Flashner 0c19247cea gnu: gst-plugins-base: Update to 1.8.2.
* gnu/pakcages/gstreamer.scm (gst-plugins-base): Update to 1.8.2.
2016-07-18 14:09:03 +03:00
Efraim Flashner ddaf9b1822 gnu: gstreamer: Update to 1.8.2.
* gnu/packages/gstreamer.scm (gstreamer): Update to 1.8.2.
2016-07-18 14:08:26 +03:00
Ricardo Wurmus 1d743e6bdd Thank Thomas. 2016-07-18 06:56:29 +02:00
Ricardo Wurmus 2517a7b3e2 Set "GUIX_LOCPATH" in 'guix-daemon.service'.
Suggested by Thomas Danckaert <thomas.danckaert@gmail.com>.

* etc/guix-daemon.service.in (Environment): New value.
2016-07-18 06:56:29 +02:00
Ludovic Courtès b1bf155ffd tests: install: Generalize 'run-install'.
* gnu/tests/install.scm (%simple-installation-script): New variable.
Contains installation script formerly in 'run-install'.
(run-install): Add 'target-os', 'target-os-source', and #:script
parameters.  Honor them.
(qemu-command/writable-image): New procedure.
(%test-installed-os): Use it.
2016-07-18 01:26:03 +02:00
Ludovic Courtès 2bdd7ac17c system: Honor the 'dependencies' field of file systems.
This allows mapped devices listed in 'dependencies' to be properly taken
into account.

Reported by Andreas Enge <andreas@enge.fr>.

* gnu/system.scm (mapped-device-user): Check whether DEVICE is a member
of the 'dependencies' of FS.
* tests/system.scm (%luks-device, %os-with-mapped-device): New variables.
("operating-system-user-mapped-devices")
("operating-system-boot-mapped-devices")
("operating-system-boot-mapped-devices, implicit dependency"): New tests.
2016-07-18 01:26:03 +02:00
Tobias Geerinckx-Rice 0b07350675 gnu: Add xdelta.
* gnu/packages/compression.scm (xdelta): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-18 01:26:03 +02:00
Ben Woodcroft 7593e50b26 gnu: diamond: Update to 0.8.15.
* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.15.
2016-07-18 00:06:21 +10:00
Efraim Flashner 67eb38572f gnu: hoedown: Update to 3.0.7.
* gnu/packages/markdown.scm (hoedown): Update to 3.0.7.
2016-07-17 16:20:47 +03:00
Efraim Flashner 8400ba2125 gnu: stalonetray: Update to 0.8.3.
* gnu/packages/stalonetray.scm (stalonetray): Update to 0.8.3.
2016-07-17 16:14:46 +03:00
Efraim Flashner 988d1bad7b gnu: python-simplejson: Update to 3.8.2.
* gnu/packages/python.scm (python-simplejson): Update to 3.8.2.
[source]: Use 'pypi-uri' format.
2016-07-17 15:16:19 +03:00
Efraim Flashner 287cfd1a08 gnu: behave: Update to 1.2.5.
* gnu/packages/python.scm (behave): Update to 1.2.5.
[source]: Use 'pypi-uri' format.
2016-07-17 15:15:03 +03:00
Efraim Flashner 4d4cf3dd99 gnu: python-coverage: Update to 4.1.
* gnu/packages/python.scm (python-coverage): Update to 4.1.
2016-07-17 15:15:03 +03:00
Ricardo Wurmus 2c0d8e0d09 gnu: eigensoft: Do not refer to "lapacke" output.
* gnu/packages/bioinformatics.scm (eigensoft)[inputs]: Remove reference
  to non-existing "lapacke" output.
2016-07-17 12:04:04 +02:00
Ricardo Wurmus 7b569b01d3 gnu: lapack: Build the LAPACKE library.
* gnu/packages/maths.scm (lapack)[arguments]: Add "-DLAPACKE=ON".
2016-07-17 11:09:31 +02:00
Ricardo Wurmus 012c8b3552 gnu: Add emacs-solarized-theme.
* gnu/packages/emacs.scm (emacs-solarized-theme): New variable.
2016-07-17 11:04:45 +02:00
Ricardo Wurmus 480f7350d9 gnu: Add emacs-perspective.
* gnu/packages/emacs.scm (emacs-perspective): New variable.
2016-07-17 11:04:45 +02:00
Ricardo Wurmus e203221f50 gnu: Add emacs-tagedit.
* gnu/packages/emacs.scm (emacs-tagedit): New variable.
2016-07-17 11:04:45 +02:00
Ricardo Wurmus 3bcb304ea8 gnu: Add emacs-shell-switcher.
* gnu/packages/emacs.scm (emacs-shell-switcher): New variable.
2016-07-17 11:04:45 +02:00
Ricardo Wurmus dbe38a3a58 gnu: Add emacs-undercover.
* gnu/packages/emacs.scm (emacs-undercover): New variable.
2016-07-17 11:04:45 +02:00
Ricardo Wurmus 1f9a709710 gnu: Add emacs-shut-up.
* gnu/packages/emacs.scm (emacs-shut-up): New variable.
2016-07-17 11:04:45 +02:00
Ricardo Wurmus b33f913d9c gnu: Add emacs-smart-mode-line.
* gnu/packages/emacs.scm (emacs-smart-mode-line): New variable.
2016-07-17 11:04:45 +02:00
Ricardo Wurmus 8d81016344 gnu: Add emacs-rich-minority.
* gnu/packages/emacs.scm (emacs-rich-minority): New variable.
2016-07-17 11:04:45 +02:00
Ricardo Wurmus 6c04acaa6e gnu: Add emacs-skewer-mode.
* gnu/packages/emacs.scm (emacs-skewer-mode): New variable.
2016-07-17 11:04:45 +02:00
Ricardo Wurmus 1f8a951bf4 gnu: Add emacs-simple-httpd.
* gnu/packages/emacs.scm (emacs-simple-httpd): New variable.
2016-07-17 11:04:45 +02:00
Ricardo Wurmus a46e3c0dc6 gnu: Add emacs-page-break-lines.
* gnu/packages/emacs.scm (emacs-page-break-lines): New variable.
2016-07-17 11:04:45 +02:00
Ricardo Wurmus 07046e5f44 gnu: Add emacs-paren-face.
* gnu/packages/emacs.scm (emacs-paren-face): New variable.
2016-07-17 11:04:45 +02:00
Ricardo Wurmus 7b9769b04d gnu: Add emacs-znc.
* gnu/packages/emacs.scm (emacs-znc): New variable.
2016-07-17 11:04:45 +02:00
Ricardo Wurmus 655684468e gnu: Add emacs-fill-column-indicator.
* gnu/packages/emacs.scm (emacs-fill-column-indicator): New variable.
2016-07-17 11:04:45 +02:00
Ricardo Wurmus d0e4378266 gnu: Add emacs-expand-region.
* gnu/packages/emacs.scm (emacs-expand-region): New variable.
2016-07-17 11:04:45 +02:00
Ricardo Wurmus 0c5d837c82 gnu: Add emacs-espuds.
* gnu/packages/emacs.scm (emacs-espuds): New variable.
2016-07-17 11:04:45 +02:00
Ricardo Wurmus 1c32830b7d gnu: Add emacs-el-mock.
* gnu/packages/emacs.scm (emacs-el-mock): New variable.
2016-07-17 11:04:45 +02:00
Efraim Flashner a228579883 gnu: Add rlwrap.
* gnu/packages/readline.scm (rlwrap): New variable.
2016-07-17 08:56:03 +03:00
Alex Griffin 334c00f2bc gnu: Add reptyr.
* gnu/packages/screen.scm (reptyr): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-16 20:00:53 -04:00
Leo Famulari a1537ac2ba gnu: gd: Fix CVE-2016-{5766,6128,6132,6214}.
* gnu/packages/patches/gd-CVE-2016-5766.patch,
gnu/packages/patches/gd-CVE-2016-6128.patch,
gnu/packages/patches/gd-CVE-2016-6132.patch,
gnu/packages/patches/gd-CVE-2016-6214.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/gd.scm (gd): Use patches.
2016-07-16 12:49:22 -04:00
Leo Famulari b9174ff449 gnu: gd: Update to 2.2.2 [fixes CVE-2016-{5767,6161}].
* gnu/packages/gd.scm (gd): Update to 2.2.2.
2016-07-16 12:49:21 -04:00
Leo Famulari e31f05d435 gnu: pidgin: Update to 2.11.0 [security fixes].
Fixes CVE-2016-{2365,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,
2377,2378,2379,2380,4323}.

* gnu/packages/messaging.scm (pidgin): Update to 2.11.0.
2016-07-16 11:54:20 -04:00
Ricardo Wurmus 12356eb8b0 gnu: geda-gaf: Update to 1.9.2.
* gnu/packages/engineering.scm (geda-gaf): Update to 1.9.2.
2016-07-16 17:19:26 +02:00
Ricardo Wurmus 2352c97df4 gnu: geda-gaf: Use modify-phases syntax.
* gnu/packages/engineering.scm (geda-gaf)[arguments]: Use modify-phases
  syntax.
2016-07-16 17:19:22 +02:00
Vincent Legoll 1187a27112 guix gc: Display of saved space for garbage collection.
Fixes <http://bugs.gnu.org/23979>.

* guix/scripts/gc.scm (guix-gc): Display freed bytes.

Signed-off-by: Vincent Legoll <vincent.legoll@idgrilles.fr>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-16 14:41:39 +02:00
Tobias Geerinckx-Rice fb8a5d633a gnu: Add encfs.
* gnu/packages/crypto.scm (rlog, encfs): New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-16 14:41:39 +02:00
Ludovic Courtès f82ce8f6b1 build: Substitute URLs now default to "mirror.hydra.gnu.org" alone.
* config-daemon.ac: Remove "hydra.gnu.org" from 'guix_substitute_urls'.
* guix/store.scm (%default-substitute-urls): Remove "hydra.gnu.org".
2016-07-16 14:41:39 +02:00
Ludovic Courtès b9bb50c608 services: dbus: Synchronize startup using dbus-daemon's PID file.
* gnu/services/dbus.scm (dbus-shepherd-service): Pass #:pid-file to
'make-forkexec-constructor'.
2016-07-16 14:41:39 +02:00
Andreas Enge ee6a5d0e3e gnu: lm-sensors: Add alternate source URL.
* gnu/packages/linux.scm (lm-sensors)[source]: Add URL.
2016-07-15 19:18:36 +02:00
Leo Famulari 2d74d94b17 gnu: borg: Update to 1.0.6.
* gnu/packages/backup.scm (borg): Update to 1.0.6.
[source]: Use pypi-uri.
2016-07-15 12:20:29 -04:00
David Craven 71b0601a97 services: Add 'dropbear-service'.
* gnu/services/ssh.scm (<dropbear-configuration>): New record type.
(dropbear-activation, dropbear-shepherd-service, dropbear-service): New
procedures.
(dropbear-service-type): New variable.
* doc/guix.texi (Networking Services): Document it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-07-15 17:57:28 +02:00
David Craven 2102ae2e30 gnu: lsh: Move to (gnu packages ssh)
* gnu/packages/lsh.scm: Remove.  Move 'lsh and liboop' to...
* gnu/packages/ssh.scm (liboop, lsh): ... here.  New variables.
* gnu/services/ssh.scm, gnu/services/base.scm: Adjust accordingly.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-15 17:57:28 +02:00
Leo Famulari e538a245f3 gnu: diffoscope: Update to 54.
* gnu/packages/package-management.scm (diffoscope): Update to 54.
2016-07-15 11:40:02 -04:00
Tobias Geerinckx-Rice 7fb18f578a gnu: Import (guix licenses) with #:prefix.
* gnu/packages/crypto.scm: Add 'license:' #:prefix for (guix licenses).

Signed-off-by: Andreas Enge <andreas@enge.fr>
2016-07-15 14:31:37 +02:00
Andreas Enge e05647add7 Update e-mail address for Tobias Geerinckx-Rice.
* .mailmap: Add Tobias Geerinckx-Rice.
* gnu/packages/disk.scm: Replace "tobias.geerinckx.rice@gmail.com" with
"me@tobias.gr".
* gnu/packages/linux.scm: Likewise.
* gnu/packages/networking.scm: Likewise.

Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr>
2016-07-15 14:29:22 +02:00
Andreas Enge f0fbf2c11c install: Add mdadm to the image.
* gnu/system/install.scm (installation-os)[packages]: Add mdadm.
2016-07-15 10:41:14 +02:00
Alex Vong 9ce2a95c30 gnu: racket: Update to 6.5.
* gnu/packages/scheme.scm (racket): Update to 6.5.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2016-07-15 10:31:02 +02:00
Leo Famulari f0344d9369 gnu: git: Update to 2.9.1.
* gnu/packages/version-control.scm (git): Update to 2.9.1.
(git-manpages)[source]: Update hash.
2016-07-14 16:58:55 -04:00
Leo Famulari a16db014d1 doc: Mention commit signatures in HACKING.
* HACKING: Mention commit signatures.
2016-07-14 15:37:51 -04:00
Ludovic Courtès babc2c80a7 records: Improve reporting of invalid field specifiers.
Fixes <http://bugs.gnu.org/23969>.
Reported by Vincent Legoll <vincent.legoll@gmail.com>.

* guix/records.scm (report-invalid-field-specifier): New procedure.
* tests/records.scm ("define-record-type* & wrong field specifier"): New
test.
2016-07-14 19:07:07 +02:00
Ludovic Courtès db8f6b3412 challenge: Disable grafting.
* guix/scripts/challenge.scm (guix-challenge): Set %GRAFT? to #f.
2016-07-14 19:07:07 +02:00
Ludovic Courtès a7a3b39060 substitute: Gracefully handle trailing slashes in URLs.
Previously, using something like
"--substitute-urls=http://example.org///" would lead to a
'cache-narinfo!' call with #f as its second argument.

It would also do the wrong thing for URLs with a non-empty initial path
component, such as "http://example.org/foo/bar".

* guix/scripts/substitute.scm (fetch-narinfos)[handle-narinfo-response]:
Add call to 'basename' for PATH.
2016-07-14 19:07:07 +02:00
Ricardo Wurmus 6619f9c769 gnu: Add eigensoft.
* gnu/packages/bioinformatics.scm (eigensoft): New variable.
2016-07-14 08:58:35 +02:00
Efraim Flashner 42d6d0d0d6 gnu: python-setuptools-scm: Update to 1.11.1.
* gnu/packages/python.scm (python-setuptools-scm): Update to 1.11.1.
2016-07-14 05:51:03 +03:00
Ludovic Courtès db97a03a89 doc: Explain 'guix hash -r' for Git checkouts.
* doc/guix.texi (origin Reference): Add xref to "guix download" and
"guix hash".
(Invoking guix hash): Provide an example to compute the hash of a Git
checkout.

Co-authored-by: Troy Sankey <sankeytms@gmail.com>
2016-07-13 23:51:17 +02:00
Ludovic Courtès 2d94702ff4 system: Change the shell of 'nobody' to 'nologin'.
Fixes <http://bugs.gnu.org/23971>.
Reported by Vincent Legoll <vincent.legoll@gmail.com>.

* gnu/system/shadow.scm (%base-user-accounts): Add 'shell' field.  Set
'home-directory' to "/nonexistent".
2016-07-13 23:42:35 +02:00
Jan Nieuwenhuizen 4c7260011e gnu: grub: Update to 2.02~beta3.
* gnu/packages/grub.scm (grub): Update to 2.02~beta3.
[arguments]: Modify tests/grub_func_test.in in 'patch-stuff' phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-13 23:26:04 +02:00
Ludovic Courtès 66f8f5f9c3 gnu: screen: Remove unneeded configure flags.
* gnu/packages/screen.scm (screen)[arguments]: Remove --infodir and
--mandir, which are no longer needed.
2016-07-13 23:26:04 +02:00
George Clemmer a7e7981c7d gnu: screen: Support 256 colors.
* gnu/packages/screen.scm (screen)[arguments]: Pass --enable-colors256.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-13 23:26:04 +02:00
Mark H Weaver 7a7d6b2bde gnu: linux-libre: Update to 4.6.4.
* gnu/packages/linux.scm (linux-libre): Update to 4.6.4.
2016-07-12 22:09:08 -04:00
Mark H Weaver 8f1488c639 gnu: linux-libre-4.4: Update to 4.4.15.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.15.
2016-07-12 22:08:58 -04:00
Ludovic Courtès bfcb3d767b lint: 'validate-uri' reports suspiciously small 200 responses.
* guix/scripts/lint.scm (validate-uri): Upon 200 http-response, check
the 'response-content-length' and emit a warning when it is <= 1000.
* tests/lint.scm (call-with-http-server): Add 'data' parameter.
(with-http-server): Likewise.
(%long-string): New variable.
("home-page: 200"): Pass %LONG-STRING to 'with-http-server'.
("home-page: 404", "source: 200", "source: 404"): Likewise.
("home-page: 200 but short length"): New test.
("source: 200 but short length"): New test.
2016-07-13 00:50:05 +02:00
Ludovic Courtès cd4c41fdcf download: Attempt to update SourceForge mirror URLs.
* guix/download.scm (%mirrors)[sourceforge]: End in "/project" instead
of "/sourceforge".  Remove a couple of dangling URLs.
2016-07-13 00:32:36 +02:00
Jan Nieuwenhuizen abba1d087e gnu: Add gptfdisk.
* gnu/packages/disk.scm (gptfdisk): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-13 00:32:21 +02:00
Ludovic Courtès bdff55eac3 gnu: emacs-flycheck: Add missing dependency on emacs-seq.
Fixes a regression introduced in
afb6fdaa5d.

* gnu/packages/emacs.scm (flycheck)[propagated-inputs]: Add EMACS-SEQ.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 1929fdba80 packages: <origin> no longer has an 'imported-modules' field.
* guix/packages.scm (<origin>)[imported-modules]: Remove.
(patch-and-repack): Remove #:imported-modules.  Use
'with-imported-modules'.  Remove #:modules argument to
'gexp->derivation'.
(origin->derivation): Adjust accordingly.
* doc/guix.texi (origin Reference): Adjust accordingly.
2016-07-12 22:47:08 +02:00
Ludovic Courtès c1629416d8 gnu: Remove unneeded 'imported-modules' fields for 'origin'.
* gnu/packages/engineering.scm (fastcap)[source](modules,
imported-modules): Remove.
* gnu/packages/wm.scm (awesome)[source](imported-modules): Remove.
* tests/packages.scm ("package-source-derivation, snippet"): Remove
'imported-modules' field.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 66a35ceb43 gexp: Remove more uses of #:modules.
* guix/scripts/system.scm (switch-to-system): Adjust comment.
* tests/gexp.scm ("gexp->derivation #:references-graphs"): Use
'with-imported-modules' instead of #:modules.
* tests/grafts.scm ("graft-derivation, preserve empty directories"):
Likewise.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 9c14a487bb gexp: 'program-file' and 'gexp->script' no longer have #:modules.
* guix/gexp.scm (<program-file>)[modules]: Remove.
(program-file): Remove #:modules and adjust accordingly.
(program-file-compiler): Likewise.
(gexp->script): Likewise.
2016-07-12 22:47:08 +02:00
Ludovic Courtès a769bffb65 gexp: 'computed-file' no longer has a #:modules parameter.
* guix/gexp.scm (<computed-file>)[modules]: Remove.
(computed-file): Remove #:modules.
(computed-file-compiler): Likewise.
* doc/guix.texi (G-Expressions): Adjust accordingly.
2016-07-12 22:47:08 +02:00
Ludovic Courtès e9b046fdda download: Use 'with-imported-modules'.
* guix/cvs-download.scm (cvs-fetch): Use 'with-imported-modules' instead
of the #:modules argument of 'gexp->derivation'.
* guix/download.scm (url-fetch): Likewise.
* guix/git-download.scm (git-fetch): Likewise.
* guix/hg-download.scm (hg-fetch): Likewise.
* guix/svn-download.scm (svn-fetch): Likewise.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 99b231dee6 profiles: Use 'with-imported-modules'.
* guix/profiles.scm (info-dir-file): Use 'with-imported-modules' instead
of the #:module argument to 'gexp->derivation'.
(ghc-package-cache-file): Likewise.
(ca-certificate-bundle): Likewise.
(gtk-icon-themes): Likewise.
(xdg-desktop-database): Likewise.
(xdg-mime-database): Likewise.
(profile-derivation): Likewise.
2016-07-12 22:47:08 +02:00
Ludovic Courtès a91c3fc727 services: <shepherd-service> no longer has an 'imported-modules' field.
* gnu/services/shepherd.scm (<shepherd-service>)[imported-modules]:
Remove.
(%default-imported-modules): Make private.
(shepherd-service-file): Use 'with-imported-modules'.
(shepherd-configuration-file): Remove 'modules' and the calls to
'imported-modules' and 'compiled-modules'.  Use
'with-imported-modules' instead.
* doc/guix.texi (Shepherd Services): Adjust accordingly.
* gnu/services/base.scm (file-system-shepherd-service): Use
'with-imported-modules'.  Remove 'imported-modules' field.
* gnu/system/mapped-devices.scm (device-mapping-service-type): Remove
'imported-modules'.
(open-luks-device): Use 'with-imported-modules'.
* gnu/tests.scm (marionette-shepherd-service): Remove 'imported-modules'
field and use 'with-imported-modules'.
2016-07-12 22:47:08 +02:00
Ludovic Courtès fd12989398 gnu: Use 'gexp->file' in conjunction with 'with-imported-modules'.
* gnu/services.scm (activation-script): Remove code to set '%load-path'
and use 'with-imported-modules' instead.
(cleanup-gexp): Likewise.
* gnu/system/vm.scm (%vm-module-closure): New variable.
(expression->derivation-in-linux-vm): Remove #:modules.
[loader]: Remove code to set '%load-path'.
[builder]: Use %VM-MODULE-CLOSURE.
(qemu-image): Use 'with-imported-modules'.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 2b4185792d gexp: 'gexp->file' emits code to set '%load-path'.
* guix/gexp.scm (gexp->file): Add #:set-load-path? parameter and honor it.
* gnu/system.scm (operating-system-parameters-file): Pass
  #:set-load-path? #f.
* doc/guix.texi (G-Expressions): Adjust accordingly.
2016-07-12 22:47:08 +02:00
Ludovic Courtès dd8d1a3046 gexp: Factorize load-path-setting expression.
* guix/gexp.scm (load-path-expression): New procedure.
(gexp->script): Use it.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 43dcce8674 linux-container: Fix list of imported modules.
This fixes a regression introduced in
958dd3ce68.

* gnu/system/linux-container.scm (container-script)[script]: Add (guix
combinators) to the list of imported modules.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 4ee96a7912 gnu: Switch to 'with-imported-modules'.
* gnu/services.scm (directory-union): Use 'with-imported-modules'
instead of the '#:modules' argument of 'computed-file'.
* gnu/services/base.scm (udev-rules-union): Likewise.
* gnu/services/dbus.scm (system-service-directory): Likewise.
* gnu/services/desktop.scm (wrapped-dbus-service):
(polkit-directory): Likewise.
* gnu/services/networking.scm (tor-configuration->torrc): Likewise.
* gnu/services/xorg.scm (xorg-configuration-directory): Likewise.
* gnu/system/install.scm (self-contained-tarball): Likewise.
* gnu/system/linux-container.scm (container-script): Likewise.
* gnu/system/linux-initrd.scm (expression->initrd): Likewise, and
remove #:modules parameter.
(flat-linux-module-directory): Use 'with-imported-modules'.
(base-initrd): Likewise.
* gnu/system/locale.scm (locale-directory): Likewise.
* gnu/system/shadow.scm (default-skeletons): Likewise.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
* gnu/tests/base.scm (run-basic-test): Likewise.
* gnu/tests/install.scm (run-install): Likewise.
* doc/guix.texi (Initial RAM Disk): Update 'expression->initrd'
documentation.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 0bb9929eaa gexp: Add 'with-imported-modules' macro.
* guix/gexp.scm (<gexp>)[modules]: New field.
(gexp-modules): New procedure.
(gexp->derivation): Use it and append the result to %MODULES.
Update docstring to mark #:modules as deprecated.
(current-imported-modules, with-imported-modules): New macros.
(gexp): Pass CURRENT-IMPORTED-MODULES as second argument to 'gexp'.
(gexp->script): Use and honor 'gexp-modules'; define '%modules'.
* tests/gexp.scm ("gexp->derivation & with-imported-modules")
("gexp->derivation & nested with-imported-modules")
("gexp-modules & ungexp", "gexp-modules & ungexp-splicing"):
New tests.
("program-file"): Use 'with-imported-modules'.  Remove #:modules
argument to 'program-file'.
* doc/guix.texi (G-Expressions): Document 'with-imported-modules'.
Mark #:modules of 'gexp->derivation' as deprecated.
* emacs/guix-devel.el: Add syntax for 'with-imported-modules'.
(guix-devel-keywords): Add it.
* .dir-locals.el: Likewise.
2016-07-12 22:47:08 +02:00
Ludovic Courtès affd7761f3 gexp: Keep only a single 'references' field.
The distinction between native inputs and "normal" inputs can already be
determined by looking at the 'native?' field of <gexp-input>.  The extra
'natives' field of <gexp> added complexity for no good reason.

* guix/gexp.scm (<gexp>)[natives]: Remove.
(write-gexp): Remove use of 'gexp-native-references'.
(gexp-inputs)[native-input?]: New procedure.
Use it.
(gexp->sexp)[reference->sexp]: Honor N? for input lists.
Remove use of 'gexp-native-references'.
(gexp)[collect-native-escapes]: Remove.
Simplify.
2016-07-12 22:47:08 +02:00
Efraim Flashner 08858812b5 gnu: obs: Remove compiler flags for non-Intel hardware.
* gnu/packages/video.scm (obs)[arguments]: If compiling for arm or mips
devices then don't add Intel specific compiler flags.
2016-07-12 18:14:22 +03:00
Ricardo Wurmus 17dc32a400 gnu: Add Ribotaper.
* gnu/packages/bioinformatics.scm (ribotaper): New variable.
2016-07-12 12:19:39 +02:00
Ricardo Wurmus 9a8f309cf1 gnu: Add bedtools-2.18.
* gnu/packages/bioinformatics.scm (bedtools-2.18): New variable.
2016-07-12 12:19:15 +02:00
Efraim Flashner 34c553b07e gnu: xscreensaver: Update to 5.35.
* gnu/packages/xdisorg.scm (xscreensaver): Update to 5.35.
2016-07-12 10:34:43 +03:00
Efraim Flashner 46cd684e2c gnu: sxhkd: Update to 0.5.6.
* gnu/packages/xdisorg.scm (sxhkd): Update to 0.5.6.
2016-07-12 09:59:10 +03:00
Efraim Flashner 1f1e620f88 gnu: mtdev: Update to 1.1.5.
* gnu/packages/xdisorg.scm (mtdev): Update to 1.1.5.
2016-07-12 09:45:07 +03:00
Efraim Flashner af2b0b1507 gnu: libxkbcommon: Update to 0.6.1.
* gnu/packages/xdisorg.scm (libxkbcommon): Update to 0.6.1.
2016-07-12 09:34:24 +03:00
Efraim Flashner 16d8f9beb5 gnu: arandr: Update to 0.1.9.
* gnu/packages/xdisorg.scm (arandr): Update to 0.1.9.
2016-07-12 09:29:57 +03:00
Leo Famulari 6dc4d4655e gnu: mpd: Update to 0.19.17.
* gnu/packages/mpd.scm (mpd): Update to 0.19.17.
2016-07-12 01:54:47 -04:00
Ben Woodcroft 51d8039b4a gnu: parallel: Update to 20160622.
* gnu/packages/parallel.scm (parallel): Update to 20160622.
2016-07-12 14:47:50 +10:00
Matthew Jordan cdd8e0776e gnu: Add Tmux Themepack.
* gnu/packages/tmux.scm (tmux-themepack): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-10 15:18:17 -04:00
Efraim Flashner 8ac012d0ca gnu: help2man: Update to 1.47.4.
* gnu/packages/man.scm (help2man): Update to 1.47.4.
2016-07-10 21:34:37 +03:00
Efraim Flashner c635ff8369 gnu: man-pages: Update to 4.0.6.
* gnu/packages/man.scm (man-pages): Update to 4.0.6.
2016-07-10 21:34:37 +03:00
Efraim Flashner dfce38993e gnu: man-db: Update to 2.7.5.
* gnu/packages/man.scm (man-db): Update to 2.7.5.
2016-07-10 21:34:37 +03:00
Efraim Flashner cf1dc4b7e6 gnu: obs: Update to 0.15.1.
* gnu/packages/video.scm (obs): Update to 0.15.1.
2016-07-10 21:34:37 +03:00
Efraim Flashner 5e3f68e67c gnu: libbluray: Update to 0.9.3.
* gnu/packages/video.scm (libbluray): Update to 0.9.3.
2016-07-10 21:34:37 +03:00
Ricardo Wurmus 0e6ee10c07 gnu: libmtp: Update to 1.1.11.
* gnu/packages/patches/libmtp-devices.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove patch.
* gnu/packages/libusb.scm (libmtp): Update to 1.1.11.
2016-07-10 18:02:04 +02:00
Ben Woodcroft 7f575d3e56 gnu: diamond: Update to 0.8.12.
* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.12.
2016-07-10 22:32:57 +10:00
Alex Griffin 0e74bb5bd6 gnu: Add gnome-mpv.
* gnu/packages/video.scm (gnome-mpv): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-07-10 07:11:08 +03:00
Alex Griffin 6cf83e3f83 gnu: mpv: Enable shared library support.
* gnu/packages/video.scm (mpv): Enable shared library support.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-07-10 07:10:55 +03:00
Efraim Flashner 9d5448f35f gnu: ccache: Update to 3.2.5.
* gnu/packages/ccache.scm (ccache): Update to 3.2.5.
[native-inputs]: Add which.
2016-07-10 06:48:27 +03:00
Efraim Flashner e9fd10a83b gnu: ldb: Update to 1.1.26.
* gnu/packages/samba.scm (ldb): Update to 1.1.26.
2016-07-10 06:48:27 +03:00
Efraim Flashner ea26457dad gnu: tevent: Update to 0.9.28.
* gnu/packages/samba.scm (tevent): Update to 0.9.28.
2016-07-10 06:48:27 +03:00
Efraim Flashner 67e7452dda gnu: talloc: Update to 2.1.7.
* gnu/packages/samba.scm (talloc): Update to 2.1.7.
2016-07-10 06:48:27 +03:00
Efraim Flashner 8b21d22d6a gnu: samba: Update to 4.3.11 [fixes CVE-2016-2119].
* gnu/packages/samba.scm (samba): Update to 4.3.11.
2016-07-10 06:48:27 +03:00
Leo Famulari 1a6d3d2df7 gnu: dropbear: Update to 2016.73.
* gnu/packages/ssh.scm (dropbear): Update to 2016.73.
2016-07-09 19:38:36 -04:00
Danny Milosavljevic a502dfbf4c gnu: Add python-jedi.
* gnu/packages/python.scm (python-jedi, python2-jedi): New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-09 14:12:14 -04:00
Ben Woodcroft ec2a67de88 gnu: Add python-dendropy.
* gnu/packages/bioinformatics.scm (python-dendropy, python2-dendropy): New
variables.
* gnu/packages/patches/python-dendropy-exclude-failing-tests.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-07-09 08:00:34 +10:00
Ben Woodcroft c11f79a49e gnu: star: Restrict supported systems to 64-bit systems.
* gnu/packages/bioinformatics.scm (star)[supported-systems]: Restrict to
x86_64-linux and mips64el-linux.
2016-07-08 22:10:05 +10:00
Leo Famulari 71ca053928 gnu: rxvt-unicode: Update to 9.22.
* gnu/packages/xdisorg.scm (rxvt-unicode): Update to 9.22.
2016-07-07 20:46:29 -04:00
ng0 6c12abbdb2 services: nginx: Fix typo.
* gnu/services/web.scm (nginx-service): Fix typo.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-07 20:42:58 -04:00
John J. Foerch 614023981a gnu: Add di.
* gnu/packages/admin.scm (di): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-07 20:38:49 -04:00
Efraim Flashner 1a5fd02a82 gnu: getmail: Update to 4.49.0.
* gnu/packages/mail.scm (getmail): Update to 4.49.0.
2016-07-07 20:02:11 +03:00
Efraim Flashner a0b15f5eef gnu: python-pyusb: Update to 1.0.0.
* gnu/packages/libusb.scm (python-pyusb): Update to 1.0.0.
2016-07-07 19:59:25 +03:00
Efraim Flashner 6b810897a0 gnu: python-websocket-client: Update to 0.37.0.
* gnu/packages/python.scm (python-websocket-client): Update to 0.37.0.
[source]: Use pypi uri format.
2016-07-07 19:44:11 +03:00
Efraim Flashner 697e86ddca gnu: ansible: Update to 2.1.0.0.
* gnu/packages/admin.scm (ansible): Update to 2.1.0.0.
[source]: Use pypi format.
2016-07-07 18:59:28 +03:00
Efraim Flashner 88535a4453 gnu: python-psutil: Update to 4.3.0.
* gnu/packages/python.scm (python-psutil): Update to 4.3.0.
[home-page]: Update home-page.
2016-07-07 17:38:20 +03:00
Ben Woodcroft d285657eae gnu: bedtools: Update to 2.26.0.
* gnu/packages/bioinformatics.scm (bedtools): Update to 2.26.0.
2016-07-07 23:27:19 +10:00
Ben Woodcroft 7c7643a7f0 gnu: diamond: Update to 0.8.11.
* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.11.
2016-07-07 18:21:10 +08:00
Efraim Flashner 0b166a7559 gnu: quassel: Build with modular qt.
* gnu/packages/irc.scm (quassel)[inputs]: Remove qt, add qtbase,
qttools, qtscript.
[arguments]: Disable webkit.
2016-07-07 12:23:39 +03:00
Efraim Flashner 5f2074ca66 gnu: snorenotify: Build with modular qt.
* gnu/packages/kde.scm (snorenotify)[inputs]: Remove qt, add qtbase, qttools.
2016-07-07 12:23:39 +03:00
Efraim Flashner 05b9c00e59 gnu: qca: Build with qtbase.
* gnu/packages/kde.scm (qca)[inputs]: Remove qt, add qtbase.
2016-07-07 12:23:39 +03:00
Efraim Flashner 4742c4decc gnu: Add qtscript.
* gnu/packages/qt.scm (qtscript): New variable.
2016-07-07 12:23:39 +03:00
Ricardo Wurmus 66cf0f054d gnu: Add r-domc.
* gnu/packages/statistics.scm (r-domc): New variable.
2016-07-07 10:46:39 +02:00
Ricardo Wurmus 9003957e53 gnu: Add r-multitaper.
* gnu/packages/statistics.scm (r-multitaper): New variable.
2016-07-07 10:46:30 +02:00
Ricardo Wurmus 274da826f9 gnu: Add r-seqinr.
* gnu/packages/bioinformatics.scm (r-seqinr): New variable.
2016-07-07 10:46:17 +02:00
Ricardo Wurmus fdd0f7b2a3 gnu: Add r-ade4.
* gnu/packages/statistics.scm (r-ade4): New variable.
2016-07-07 10:46:05 +02:00
Efraim Flashner 939cf41c3f gnu: python-oslosphinx: Update to 4.3.0.
* gnu/packages/openstack.scm (python-oslosphinx): Update to 4.3.0.
2016-07-07 06:54:06 +03:00
Efraim Flashner 8157af2e09 gnu: khmer: Limit to x86_64 systems only.
* gnu/packages/bioinformatics.scm (khmer)[supported-systems]: New field.
2016-07-07 06:33:28 +03:00
Leo Famulari 25a814ceab gnu: httpd: Update to 2.4.23.
Fixes CVE-2016-4979.

* gnu/packages/web.scm (httpd): Update to 2.4.23.
2016-07-06 14:37:46 -04:00
Efraim Flashner 15ca556bbc gnu: pumpa: Remove extra input.
* gnu/packages/pumpio.scm (pumpa)[inputs]: Remove qjson.
2016-07-06 21:22:36 +03:00
Roel Janssen 8f82641ac9 gnu: Add emacs-hl-todo.
* gnu/packages/emacs.scm (emacs-hl-todo): New variable.
2016-07-06 19:02:13 +02:00
Roel Janssen 41184943ae gnu: Add emacs-ess.
* gnu/packages/emacs.scm (emacs-ess): New variable.
2016-07-06 13:25:50 +02:00
Ricardo Wurmus 26112c0abb gnu: python-numexpr: Update to 2.6.0.
* gnu/packages/python.scm (python-numexpr): Update to 2.6.0.
2016-07-06 12:02:18 +02:00
Ben Woodcroft 975cd29a98 gnu: r-ggplot2: Add r-svglite to propagated-inputs.
* gnu/packages/statistics.scm (r-ggplot2)[propagated-inputs]: Add
r-svglite.
2016-07-06 15:17:29 +08:00
Ben Woodcroft 3aebedcc02 gnu: Add r-svglite.
* gnu/packages/statistics.scm (r-svglite): New variable.
2016-07-06 15:17:29 +08:00
Ben Woodcroft c5940b157e gnu: Add r-gdtools.
* gnu/packages/statistics.scm (r-gdtools): New variable.
2016-07-06 15:17:29 +08:00
Efraim Flashner 6baa83d283 gnu: sudo: Update to 1.8.17p1.
* gnu/packages/admin.scm (sudo): Update to 1.8.17p1.
[source]: Remove patch.
* gnu/packages/patches/sudo-CVE-2015-5602.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2016-07-06 07:28:09 +03:00
Efraim Flashner fda746b198 gnu: menu-cache: Update to 1.0.1.
* gnu/packages/lxde.scm (menu-cache): Update to 1.0.1.
2016-07-05 22:36:13 +03:00
Efraim Flashner d78c952dfd gnu: lxtask: Update to 0.1.7.
* gnu/packages/lxde.scm (lxtask): Update to 0.1.7.
2016-07-05 22:33:20 +03:00
Efraim Flashner d7ec759a7a gnu: lxrandr: Update to 0.3.1.
* gnu/packages/lxde.scm (lxrandr): Update to 0.3.1.
2016-07-05 22:30:38 +03:00
Efraim Flashner 2c2a9ef79e gnu: lxappearance: Update to 0.6.2.
* gnu/packages/lxde.scm (lxappearance): Update to 0.6.2.
2016-07-05 22:27:11 +03:00
Ricardo Wurmus 5fb5dffbd4 gnu: Add multiqc.
* gnu/packages/bioinformatics.scm (multiqc): New variable.
2016-07-05 16:32:37 +02:00
Roel Janssen 091963c69b gnu: Add perltidy.
* gnu/packages/perl.scm (perltidy): New variable.
2016-07-05 16:12:23 +02:00
Ricardo Wurmus 1f1b20b8be gnu: Add bits.
* gnu/packages/bioinformatics.scm (bits): New variable.
2016-07-05 15:43:36 +02:00
Ricardo Wurmus 66e40e0065 gnu: Add EMBOSS.
* gnu/packages/bioinformatics.scm (emboss): New variable.
2016-07-05 12:32:12 +02:00
Ricardo Wurmus aae8ba4746 gnu: Add libharu.
* gnu/packages/pdf.scm (libharu): New variable.
2016-07-05 12:26:38 +02:00
Alex Sassmannshausen 5082eac957 gnu: Add perl-list-someutils.
* gnu/packages/perl.scm (perl-list-someutils): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-05 11:12:35 +02:00
Alex Sassmannshausen 8bcafb7440 gnu: Add perl-list-compare.
* gnu/packages/perl.scm (perl-list-compare): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-05 11:12:22 +02:00
Alex Sassmannshausen 056575421e gnu: Add perl-io-captureoutput.
* gnu/packages/perl.scm (perl-io-captureoutput): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-05 11:12:04 +02:00
David Craven 184497afec build: Ignore texi2pdf temporary files.
* .gitignore: Modify.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-05 11:11:39 +02:00
David Craven b58cbf9ac5 services: Add rngd-service.
* gnu/services/base.scm (<rngd-configuration>): New record type.
(rngd-service-type): New variable.
(rngd-service): New procedure.
* doc/guix.texi (Base Services): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-05 11:10:01 +02:00
Ricardo Wurmus cf91cfc0c4 gnu: testdisk: Update to 7.0.
* gnu/packages/admin.scm (testdisk): Update to 7.0.
2016-07-05 08:54:47 +02:00
Ricardo Wurmus d6a08ec0c6 gnu: testdisk: Add NTFS support.
* gnu/packages/admin.scm (testdisk)[inputs]: Add ntfs-3g.
2016-07-05 08:54:39 +02:00
Efraim Flashner 0adc21c293 gnu: Add python2-pytest-cache.
* gnu/packages/python.scm (python2-pytest-cache): New variable.
(python-pytest-cache)[properties]: New field.
2016-07-04 22:47:15 +03:00
Roel Janssen fa8af53e99 gnu: Add scrollkeeper.
* gnu/packages/documentation.scm (scrollkeeper): New variable.
2016-07-04 21:32:31 +02:00
ng0 42c4b24646 gnu: python2-pythondialog: Update to 3.4.0.
* gnu/packages/python.scm (python2-pythondialog): Update to 3.4.0.
[source]: Use pypi-uri.

Co-authored-by: Leo Famulari <leo@famulari.name>
2016-07-04 14:35:24 -04:00
Kei Kebreau 35e2e49577 gnu: Add chromium-bsu.
* gnu/packages/games.scm (chromium-bsu): New variable.
2016-07-04 11:36:38 -04:00
Roel Janssen 744004a31f gnu: Add r-edger.
* gnu/packages/bioinformatics.scm (r-edger): New variable.
2016-07-04 14:49:07 +02:00
Roel Janssen 7d4224d794 gnu: Add r-limma.
* gnu/packages/bioinformatics.scm (r-limma):  New variable.
2016-07-04 14:39:16 +02:00
Roel Janssen 7034791aa2 gnu: Add emacs-eprime.
* gnu/packages/emacs.scm (emacs-eprime): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-07-04 10:14:18 +03:00
Alex Kost e446182e38 gnu: guix: Add emacs-magit-popup to propagated-inputs.
* gnu/packages/package-management.scm (guix-0.10.0): Add
'emacs-magit-popup' to make it possible to use "M-x guix" command.
2016-07-04 10:14:18 +03:00
Alex Kost c1562e3de1 gnu: Add emacs-magit-popup.
* gnu/packages/emacs.scm (emacs-magit-popup): New variable.
2016-07-04 10:14:18 +03:00
ng0 7012e2c716 gnurl: Update to 7.48.0.
* gnu/packages/gnunet.scm (gnurl): Update to 7.48.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-07-04 10:01:12 +03:00
Alex Sassmannshausen 5b8e564ccd import: cpan: Use our mirrors for 'https' URLs.
* guix/import/cpan.scm (fix-source-url): New procedure.
  (cpan-module->sexp): Use it to construct our source-url.
* tests/cpan.scm: Add tests for fix-source-url.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-03 23:58:29 +02:00
ng0 679b535b03 Update name for ng0.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-03 23:48:32 +02:00
David Craven 9b0942c1b0 gnu: Add rng-tools.
* gnu/packages/linux.scm (rng-tools): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-03 17:29:12 -04:00
David Craven 75750abbbc gnu: Order module imports in (gnu packages linux) alphabetically.
* gnu/packages/linux.scm: Order module imports alphabetically.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-03 17:29:12 -04:00
Troy Sankey a2cb16b0c6 gnu: Add alot.
* gnu/packages/mail.scm (alot): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-03 16:52:19 -04:00
Troy Sankey 47d0b29269 gnu: Add python-urwidtrees.
* gnu/packages/python.scm (python-urwidtrees, python2-urwidtrees):
New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-03 16:52:19 -04:00
Efraim Flashner b58c1b2d9b gnu: sshfs-fuse: Update to 2.8.
* gnu/packages/linux.scm (sshfs-fuse): Update to 2.8.
2016-07-03 22:09:21 +03:00
Leo Famulari df32099104 gnu: font-gnu-unifont: Update to 9.0.01.
* gnu/packages/fonts.scm (font-gnu-unifont): Update to 9.0.01.
2016-07-03 14:16:48 -04:00
John J Foerch 3fa3151f8c gnu: conkeror: Update to 1.0.3
* gnu/packages/conkeror.scm (conkeror): Update to 1.0.3.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-07-03 20:30:08 +03:00
Ricardo Wurmus 2bb006121e gnu: Add Amsynth.
* gnu/packages/music.scm (amsynth): New variable.
2016-07-03 19:02:49 +02:00
Ricardo Wurmus 140dd8f82c guix: Support authentication when fetching from SVN.
* guix/svn-download.scm (<svn-reference>): Add fields for optional
credentials.
(svn-fetch): Pass credentials to build-side "svn-fetch".
* guix/build/svn.scm (svn-fetch): Pass optional credentials to svn
command.
2016-07-03 18:55:30 +02:00
Ricardo Wurmus 1095bd1db0 gnu: Add emacs-emms-player-mpv.
* gnu/packages/emacs.scm (emacs-emms-player-mpv): New variable.
2016-07-03 18:31:39 +02:00
Ricardo Wurmus d06d4d7b2a gnu: emms: Rename package to "emacs-emms".
* gnu/packages/emacs.scm (emms): Rename to "emacs-emms".
2016-07-03 18:31:39 +02:00
Efraim Flashner 0c9df45755 gnu: smalltalk: Don't use bundled libraries.
* gnu/packages/smalltalk.scm (smalltalk)[native-inputs]: Add libffi,
libltdl, libsigsegv, pkg-config.
[home-page]: Update to new home-page.
2016-07-03 14:56:37 +03:00
Efraim Flashner 569d9efe3a gnu: cgit: Update to 1.0.
* gnu/packages/version-control.scm (cgit): Update to 1.0.
2016-07-03 14:15:08 +03:00
Efraim Flashner 94d8726bfb gnu: mercurial: Update to 3.8.4.
* gnu/packages/version-control.scm (mercurial): Update to 3.8.4.
2016-07-03 14:08:26 +03:00
Efraim Flashner 4dc9dcc272 gnu: exiv2: Update to 0.25.
* gnu/packages/geeqie.scm (exiv2): Update to 0.25.
[native-inputs]: Add intltool.
2016-07-03 12:55:02 +03:00
Efraim Flashner da6383b3ea gnu: geeqie: Update to 1.3.
* gnu/packages/geeqie.scm (geeqie): Update to 1.3.
[arguments]: Add autogen phase.
[native-inputs]: Add autoconf, automake, glib.
2016-07-03 12:32:50 +03:00
Efraim Flashner dbd6bc5cc6 gnu: ninja: Update to 1.7.1.
* gnu/packages/ninja.scm (ninja): Update to 1.7.1.
* gnu/packages/patches/ninja-tests.patch: Update patch.
2016-07-03 12:00:25 +03:00
Efraim Flashner fa6a082ea8 gnu: emacs-helm: Update to 1.9.8.
* gnu/packages/emacs.scm (emacs-helm): Update to 1.9.8.
2016-07-03 11:15:15 +03:00
Efraim Flashner 54055e9ff9 gnu: emacs-slime: Update to 2.18.
* gnu/packages/emacs.scm (emacs-slime): Update to 2.18.
2016-07-03 11:12:43 +03:00
Efraim Flashner afb6fdaa5d gnu: flycheck: Update to 28.
* gnu/packages/emacs.scm (flycheck): Update to 28.
2016-07-03 11:10:28 +03:00
Efraim Flashner 49f54a7454 gnu: openspecfun: Update to 0.5.2.
* gnu/packages/maths.scm (openspecfun): Update to 0.5.2.
2016-07-03 10:14:16 +03:00
Efraim Flashner 26f6e565a9 gnu: openlibm: Update to 0.5.1.
* gnu/packages/maths.scm (openlibm): Update to 0.5.1.
2016-07-03 10:07:17 +03:00
Efraim Flashner d7d7f99c48 gnu: librecad: Update to 2.1.1.
* gnu/packages/engineering.scm (librecad): Update to 2.1.1.
2016-07-03 09:56:45 +03:00
Efraim Flashner 0562a81eae gnu: pugixml: Update to 1.7.
* gnu/packages/xml.scm (pugixml): Update to 1.7.
2016-07-03 08:28:51 +03:00
Efraim Flashner c17489124e gnu: libetpan: Update to 1.7.2.
* gnu/packages/mail.scm (libetpan): Update to 1.7.2.
[inputs]: Add zlib.
2016-07-03 07:21:56 +03:00
Efraim Flashner 6a628e8ba7 gnu: openimageio: Update to 1.6.15.
* gnu/packages/graphics.scm (openimageio): Update to 1.6.15.
[source]: Remove patch.
* gnu/packages/patches/openimageio-boost-1.60.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2016-07-03 06:44:49 +03:00
Efraim Flashner 0a7fc756fe gnu: cgal: Update to 4.8.1.
* gnu/packages/graphics.scm (cgal): Update to 4.8.1.
[source]: Release tarballs now at Github.
2016-07-03 03:28:03 +03:00
Efraim Flashner fbb060fec8 gnu: ffmpeg-2.8: Update to 2.8.7.
* gnu/packages/video.scm (ffmpeg): Update to 2.8.7.
2016-07-03 00:40:24 +03:00
Efraim Flashner cb764dc838 gnu: xorriso: Update to 1.4.4.
* gnu/packages/cdrom.scm (xorriso): Update to 1.4.4.
[home-page]: Use https.
2016-07-03 00:39:21 +03:00
Efraim Flashner 8ffa5a5798 gnu: ffmpeg: Update to 3.1.1.
* gnu/packages/video.scm (ffmpeg): Update to 3.1.1.
2016-07-02 23:14:06 +03:00
Efraim Flashner c5795adf61 gnu: enlightenment: Update to 0.21.0.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.21.0.
2016-07-02 22:15:32 +03:00
Ludovic Courtès 8aa5e15ebd download: Update CPAN mirrors.
* guix/download.scm (%mirrors)[cpan]: Remove enstimac.fr, which seems
dead; add ibcp.fr.
2016-07-02 16:24:35 +02:00
Alex Sassmannshausen abf18075ca gnu: Add perl-ipc-system-simple.
* gnu/packages/perl.scm (perl-ipc-system-simple): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-02 16:24:35 +02:00
Alex Sassmannshausen 2dca669e45 gnu: Add perl-guard.
* gnu/packages/perl.scm (perl-guard): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-02 16:24:35 +02:00
Alex Sassmannshausen 7640c62dd2 gnu: Add perl-file-zglob.
* gnu/packages/perl.scm (perl-file-zglob): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-02 16:24:35 +02:00
Alex Sassmannshausen d209710bd4 gnu: Add perl-config-ini.
* gnu/packages/perl.scm (perl-config-ini): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-02 16:24:35 +02:00
Alex Sassmannshausen 4ca06e4c87 gnu: Add perl-mixin-linewise.
* gnu/packages/perl.scm (perl-mixin-linewise): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-02 16:24:35 +02:00
Alex Sassmannshausen 77ff12c987 gnu: Add perl-perlio-utf8-strict.
* gnu/packages/perl.scm (perl-perlio-utf8_strict): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-02 16:24:35 +02:00
Alex Sassmannshausen a65d0fdb7c gnu: Add perl-test-class-most.
* gnu/packages/perl.scm (perl-test-class-most): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-02 16:24:35 +02:00
Alex Sassmannshausen d2d6cd67c2 gnu: Add perl-test-class.
* gnu/packages/perl.scm (perl-test-class): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-02 16:24:35 +02:00
Alex Sassmannshausen e957060ccb gnu: perl-text-diff: Update perl-text-diff.
* gnu/packages/perl.scm (perl-text-diff): Correct URL, update to 1.44.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-02 16:24:35 +02:00
John J. Foerch 6d3ef286b1 gnu: Add midicsv.
* gnu/packages/music.scm (midicsv): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-02 16:24:35 +02:00
Leo Famulari 9996ab16e6 gnu: gimp: Fix CVE-2016-4994.
* gnu/packages/patches/gimp-CVE-2016-4994.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gimp.scm (gimp): Use it.
2016-07-02 10:13:55 -04:00
Ludovic Courtès a4bbf41b25 tests: install: Adjust to new 'marionette-service-type' interface.
This is a followup to 037f9e07cd.
Reported by Mark H Weaver.

* gnu/tests/install.scm (%minimal-os): Pass a <marionette-configuration>
object as the value for the MARIONETTE-SERVICE-TYPE.
2016-07-02 14:59:30 +02:00
Leo Famulari 328ae34112 gnu: python-sphinx-repoze-autointerface: Update to 0.8.
* gnu/packages/python.scm (python-sphinx-repoze-autointerface,
python2-sphinx-repoze-autointerface): Update to 0.8.
2016-07-01 20:55:53 -04:00
Leo Famulari 07abcc2e73 gnu: imagemagick: Update to 6.9.5-0.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.5-0.
2016-07-01 20:27:09 -04:00
Leo Famulari 9c509ca9a6 gnu: python-cryptography, python-cryptography-vectors: Update to 1.3.4.
* gnu/packages/python.scm (python-cryptography, python2-cryptography):
Update to 1.3.4.
[source]: Use pypi-uri.
(python-cryptography-vectors, python2-cryptography-vectors): Update to 1.3.4.
[source]: Use pypi-uri.
2016-07-01 20:23:07 -04:00
Efraim Flashner d5da7ee418 gnu: rofi: Update to 1.1.0.
* gnu/packages/xdisorg.scm (rofi): Update to 1.1.0.
2016-07-01 17:30:16 +03:00
Efraim Flashner 5bf834225a gnu: libreoffice: Update to 5.1.4.2 [fixes CVE-2016-4324].
* gnu/packages/libreoffice.scm (libreoffice): Update to 5.1.4.2.
[native-inputs]: Switch python to python-wrapper.
[arguments]: Add '--without-doxygen' and '--disable-gtk3'.
2016-07-01 15:53:08 +03:00
Efraim Flashner 2638ec61e0 gnu: orcus: Update to 0.9.2.
* gnu/packages/libreoffice.scm (orcus): Update to 0.9.2.
2016-07-01 15:51:32 +03:00
Ben Woodcroft 71830f0e49 gnu: vsearch: Update to 2.0.1.
*  gnu/packages/bioinformatics.scm (vsearch): Update to 2.0.1.
2016-07-01 09:01:28 +10:00
Ben Woodcroft c7f04517a6 gnu: Add r-glmnet.
* gnu/packages/statistics.scm (r-glmnet): New variable.
2016-07-01 09:01:20 +10:00
Efraim Flashner 84d08af653 gnu: busybox: Use 'modify-phases'.
* gnu/packages/busybox.scm (busybox)[arguments]: Use 'modify-phases'.
2016-06-30 19:11:45 +03:00
Efraim Flashner 2e5505e5ea gnu: busybox: Update to 1.25.0.
* gnu/packages/busybox.scm (busybox): Update to 1.25.0.
[native-inputs]: Add which.
2016-06-30 19:11:27 +03:00
Efraim Flashner 5fc4df0cb5 gnu: owncloud-client: Remove some bundled libs.
* gnu/packages/owncloud.scm (owncloud-client)[source]: Add a snippet
removing some of the 3rd party projects.
2016-06-30 10:56:57 +03:00
Efraim Flashner 9b1c1ea129 gnu: owncloud-client: Update to 2.2.2.
* gnu/packages/owncloud.scm (owncloud-client): Update to 2.2.2.
2016-06-30 09:55:18 +03:00
Danny Milosavljevic f4155188c3 gnu: Add python-prompt-toolkit.
* gnu/packages/python.scm (python-prompt-toolkit, python2-prompt-toolkit):
New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-06-29 22:31:05 -04:00
Leo Famulari e4875826d8 gnu: python-wcwidth: Add missing 'properties' field.
This is a followup to commit a44fd439dc.

* gnu/packages/python.scm (python-wcwidth)[properties]: New field.
2016-06-29 22:25:44 -04:00
Ludovic Courtès 468e0b18d1 gnu: ceres-solver: Propagate GLOG.
* gnu/packages/maths.scm (ceres)[inputs]: Move GLOG to...
[propagated-inputs]: ... here.  New field.
2016-06-29 16:08:46 +02:00
Jan Nieuwenhuizen ad85791265 gnu: linux-initrd: Support NVMe devices.
* gnu/system/linux-initrd.scm (base-initrd): Add nvme to linux-modules.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-06-29 16:08:46 +02:00
David Thompson 242ad41c01 download: Use basic authentication when userinfo is present in URI.
* guix/download.scm (url-fetch): Include (guix base64) module on the
  build-side.
* guix/build/download.scm (http-fetch): Add "Authorization" header when
  userinfo is present in the URI.
2016-06-29 08:51:41 -04:00
Ben Woodcroft 8dec2229a2 gnu: blast+: Update to 2.4.0.
* gnu/packages/bioinformatics.scm (blast+): Update to 2.4.0.
2016-06-29 22:42:47 +10:00
Ludovic Courtès bc3a2e3503 gnu: ceres-solver: Depend on glog.
* gnu/packages/maths.scm (ceres)[arguments]: Remove -DMINIGLOG=ON.
[inputs]: Add GLOG.
2016-06-29 12:01:05 +02:00
Ludovic Courtès 53d159f843 gnu: Add glog.
* gnu/packages/logging.scm (glog): New variable.
2016-06-29 11:13:03 +02:00
Ludovic Courtès 2de091f0c8 gnu: node: Make sure 'npm' remains a symlink after 'patch-shebangs'.
Fixes <http://bugs.gnu.org/23744>.
Reported by Jovany Leandro G.C <bit4bit@riseup.net>
and Jelle Licht <jlicht@fsfe.org>.

* gnu/packages/node.scm (node)[arguments]: Replace 'patch-shebangs'
phase.
2016-06-29 10:06:18 +02:00
Ludovic Courtès c2c36f5fab gnu: openexr: Install 'ImfStdIO.h'.
* gnu/packages/graphics.scm (openexr)[source](snippet): Modify
IlmImf/Makefile.in so that it installs 'ImfStdIO.h'.
2016-06-29 10:06:18 +02:00
Ricardo Wurmus b0069a6777 gnu: avrdude: Use libusb-compat.
* gnu/packages/patches/avrdude-fix-libusb.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/flashing-tools.scm (avrdude)[source]: Remove patch.
[inputs]: Replace "libusb" with "libusb-compat".
2016-06-29 07:15:33 +02:00
Ben Woodcroft 3bce0f14b2 gnu: star: Update to 2.5.2a.
* gnu/packages/bioinformatics.scm (star): Update to 2.5.2a.
2016-06-29 10:14:22 +10:00
Ben Woodcroft 6c737963f6 gnu: htslib: Update to 1.3.1.
* gnu/packages/bioinformatics.scm (htslib): Update to 1.3.1.
2016-06-29 10:14:22 +10:00
Ricardo Wurmus ec9466388e gnu: Add SEEK.
* gnu/packages/bioinformatics.scm (seek): New variable.
2016-06-28 22:49:05 +02:00
Ben Woodcroft d6e374a0d9 gnu: mafft: Update to 7.299.
* gnu/packages/bioinformatics.scm (mafft): Update to 7.299.
2016-06-28 21:42:15 +10:00
Efraim Flashner 48d4ce6ea3 Revert "gnu: qtbase: Don't propagate mesa."
This reverts commit 763a8e6e23.
2016-06-28 14:33:37 +03:00
Ben Woodcroft 45469ebe52 gnu: metabat: Update to 0.26.3.
* gnu/packages/bioinformatics.scm (metabat): Update to 0.26.3.
[arguments]: Update include and linking paths accordingly.
2016-06-28 21:28:06 +10:00
Ben Woodcroft af45244e36 gnu: diamond: Update to 0.8.9.
* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.9.
2016-06-28 19:31:25 +10:00
Ricardo Wurmus 05e9f30f1e gnu: r: Add pango to inputs.
* gnu/packages/statistics.scm (r)[inputs]: Remove cairo, add pango.
2016-06-28 09:36:00 +02:00
Ludovic Courtès d2fa61bc35 tests: Add Avahi and NSS-mDNS test.
* gnu/tests/base.scm (%avahi-os): New variable.
(run-nss-mdns-test): New procedure.
(%test-nss-mdns): New variable.
2016-06-27 21:41:38 +02:00
Ludovic Courtès c8695f325d services: avahi: Add #:debug? parameter.
* gnu/services/avahi.scm (<avahi-configuration>)[debug?]: New field.
(avahi-shepherd-service): Honor it.
(avahi-service): Add #:debug? and honor it.
* doc/guix.texi (Networking Services): Adjust accordingly.
2016-06-27 21:41:38 +02:00
Ludovic Courtès 194ccecf77 services: avahi: Pass --daemonize and check for the PID file.
This makes sure the service's 'start' finishes when avahi-daemon is
ready to process requests.

* gnu/services/avahi.scm (avahi-shepherd-service): Use --daemonize
instead of --syslog and add #:pid-file.
2016-06-27 21:41:38 +02:00
Ludovic Courtès 037f9e07cd tests: 'marionette-service-type' nows takes a <marionette-configuration>.
* gnu/tests.scm (<marionette-configuration>): New record type.
(marionette-shepherd-service): Argument now is a <marionette-configuration>.
(marionette-operating-system): Adjust accordingly.  Add #:requirements
parameter and honor it.
2016-06-27 21:41:38 +02:00
Ludovic Courtès 858d372c98 tests: base: Add host name resolution tests.
* gnu/tests/base.scm (run-basic-test)["host name resolution",
"host not found"]: New tests.
2016-06-27 21:41:38 +02:00
Ludovic Courtès 9009538d84 services: Export more service types.
* gnu/services/base.scm (syslog-service-type): Export.
(urandom-seed-service-type): Export.
2016-06-27 21:41:38 +02:00
Ludovic Courtès 04101d99ee services: nscd: Wait for the PID file.
* gnu/services/base.scm (nscd-shepherd-service): Pass #:pid-file.
2016-06-27 21:41:38 +02:00
Ludovic Courtès b6683f1507 doc: Fix typo for 'static-networking-service'.
* doc/guix.texi (Networking Services): Change #:name-services to
  #:name-servers.
2016-06-27 21:41:38 +02:00
Kei Kebreau aea7d1d516 gnu: Add orage.
* gnu/packages/xfce.scm (orage): New variable.
2016-06-27 12:58:06 -04:00
宋文武 06961617a1 gnu: python2-orator: Rearrange inputs.
* gnu/packages/python.scm (python2-orator)[native-inputs]: Move
python2-ipaddress ...
[propagated-inputs]: to here.
2016-06-27 22:17:21 +08:00
宋文武 b26760302a gnu: python-orator: Rearrange inputs.
* gnu/packages/python.scm (python-orator)[native-inputs]: Move
python-arrow, python-blinker, python-cleo, python-fake-factory,
python-inflection, python-lazy-object-proxy, python-pyaml,
python-simplejson, python-wrapt ...
[propagated-inputs]: to here.
2016-06-27 22:17:21 +08:00
宋文武 24c9aa1810 gnu: python2-fake-factory: Rearrange inputs.
* gnu/packages/python.scm (python2-fake-factory)[native-inputs]: Move
python2-ipaddress ...
[propagated-inputs]: to here.
2016-06-27 22:17:21 +08:00
宋文武 bbcd729791 gnu: python-fake-factory: Rearrange inputs.
* gnu/packages/python.scm (python-fake-factory)[native-inputs]: Move
python-dateutil-2, python-six ...
[propagated-inputs]: to here.
2016-06-27 22:17:21 +08:00
宋文武 d42560bdfa gnu: python-email-validator: Rearrange inputs.
* gnu/packages/python.scm (python-email-validator)[native-inputs]: Move
python-dnspython, python-idna ...
[propagated-inputs]: to here.
2016-06-27 22:17:21 +08:00
宋文武 9403150a96 gnu: python-cleo: Rearrange inputs.
* gnu/packages/python.scm (python-cleo)[native-inputs]: Move
python-psutil, python-pylev ...
[propagated-inputs]: to here.
2016-06-27 22:17:21 +08:00
宋文武 36aed73648 gnu: python-arrow: Rearrange inputs.
* gnu/packages/python.scm (python-arrow)[native-inputs]: Move
python-dateutil-2 ...
[propagated-inputs]: to here.
2016-06-27 22:17:21 +08:00
宋文武 c8fa3d9b73 gnu: python-pykafka: Rearrange inputs.
* gnu/packages/python.scm (python-pykafka)[native-inputs]: Move
python-gevent, python-kazoo, python-tabulate ...
[propagated-inputs]: to here.
2016-06-27 22:17:21 +08:00
宋文武 c18899e8cf gnu: python-kazoo: Rearrange inputs.
* gnu/packages/python.scm (python-kazoo)[native-inputs]: Move
six ...
[propagated-inputs]: to here.
2016-06-27 22:17:21 +08:00
宋文武 4591217058 gnu: python-twisted: Rearrange inputs.
* gnu/packages/python.scm (python-twisted)[native-inputs]: Move
python-zope-interface ...
[propagated-inputs]: to here.
2016-06-27 22:17:21 +08:00
Matthew Jordan 7a2941a83e gnu: Add Go 1.4.
* gnu/local.mk: Modified file.
* gnu/packages/golang.scm: New file.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Co-authored-by: Andy Wingo <wingo@igalia.com>
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-06-27 14:09:10 +02:00
Ben Woodcroft 94ff31572d gnu: Add khmer.
* gnu/packages/bioinformatics.scm (khmer): New variable.
* gnu/packages/patches/khmer-use-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-06-27 21:35:16 +10:00
Ben Woodcroft 9ded145717 gnu: Add python-screed.
* gnu/packages/bioinformatics.scm (python-screed, python2-screed):
New variables.
2016-06-27 21:16:39 +10:00
Efraim Flashner 095b7fea44 gnu: qttools: Update to 5.6.1-1.
* gnu/packages/qt.scm (qttools): Update to 5.6.1-1.
2016-06-27 05:25:32 +03:00
Efraim Flashner 677b98ae68 gnu: qtlocation: Update to 5.6.1-1.
* gnu/packages/qt.scm (qtlocation): Update to 5.6.1-1.
2016-06-27 05:25:30 +03:00
Efraim Flashner a2a256562f gnu: qtwebchannel: Update to 5.6.1-1.
* gnu/packages/qt.scm (qtwebchannel): Update to 5.6.1-1.
2016-06-27 05:25:27 +03:00
Efraim Flashner 33741e16f4 gnu: qtserialport: Update to 5.6.1-1.
* gnu/packages/qt.scm (qtserialport): Update to 5.6.1-1.
[inputs]: Add eudev.
2016-06-27 05:25:10 +03:00
Efraim Flashner 66f26a35f1 gnu: qtwayland: Update to 5.6.1-1.
* gnu/packages/qt.scm (qtwayland): Update to 5.6.1-1.
2016-06-27 05:25:05 +03:00
Efraim Flashner 99f6f56f4f gnu: qtmultimedia: Update to 5.6.1-1.
* gnu/packages/qt.scm (qtmultimedia): Update to 5.6.1-1.
2016-06-27 05:25:02 +03:00
Efraim Flashner 2743daffab gnu: qtsensors: Update to 5.6.1-1.
* gnu/packages/qt.scm (qtsensors): Update to 5.6.1-1.
2016-06-27 05:25:00 +03:00
Efraim Flashner fb767debee gnu: qtwebsockets: Update to 5.6.1-1.
* gnu/packages/qt.scm (qtwebsockets): Update to 5.6.1-1.
2016-06-27 05:24:58 +03:00
Efraim Flashner 4254b206b4 gnu: qtconnectivity: Update to 5.6.1-1.
* gnu/packages/qt.scm (qtconnectivity): Update to 5.6.1-1.
2016-06-27 05:24:56 +03:00
Efraim Flashner f3a3210cfd gnu: qtdeclarative: Update to 5.6.1-1.
* gnu/packages/qt.scm (qtdeclarative): Update to 5.6.1-1.
2016-06-27 05:24:53 +03:00
Efraim Flashner d547a1970d gnu: qtxmlpatterns: Update to 5.6.1-1.
* gnu/packages/qt.scm (qtxmlpatterns): Update to 5.6.1-1.
2016-06-27 05:24:51 +03:00
Efraim Flashner 0835e22816 gnu: qtx11extras: Update to 5.6.1-1.
* gnu/packages/qt.scm (qtx11extras): Update to 5.6.1-1.
2016-06-27 05:24:49 +03:00
Efraim Flashner 1c16029b7f gnu: qtimageformats: Update to 5.6.1-1.
* gnu/packages/qt.scm (qtimageformats): Update to 5.6.1-1.
2016-06-27 05:24:46 +03:00
Efraim Flashner 7de7d8a639 gnu: qtsvg: Update to 5.6.1-1.
* gnu/packages/qt.scm (qtsvg): Update to 5.6.1-1.
2016-06-27 05:24:44 +03:00
Efraim Flashner c7386f4e0c gnu: qtbase: Update to 5.6.1-1.
* gnu/packages/qt.scm (qtbase): Update to 5.6.1-1.
2016-06-27 05:24:42 +03:00
Efraim Flashner f66970a7ed gnu: qtbase: Add eudev and libinput support.
* gnu/packages/qt.scm (qtbase)[inputs]: Add eudev, libinput.
2016-06-27 05:24:40 +03:00
Efraim Flashner 763a8e6e23 gnu: qtbase: Don't propagate mesa.
* gnu/packages/qt.scm (qtbase)[propagated-inputs]: Move mesa ...
[inputs]: ... to here.
(qtsvg)[propagated-inputs]: No need to clear propagated-inputs.
2016-06-27 05:24:33 +03:00
David Craven 9dd674db01 daemon: Rename 'NIX_CONF_DIR' to 'GUIX_CONFIGURATION_DIRECTORY'.
Partly fixes <http://bugs.gnu.org/22459>.
Reported by Jeff Mickey <j@codemac.net> and David Craven <david@craven.ch>.

* nix/libstore/globals.cc (Settings::processEnvironment()): Change
'NIX_CONF_DIR' to 'GUIX_CONFIGURATION_DIRECTORY'.
* nix/local.mk (libstore_a_CPPFLAGS): Likewise.
* guix/config.scm.in (%config-directory): Likewise.
* build-aux/test-env.in: Likewise.
* gnu/packages/patches/hydra-automake-1.15.patch: Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-06-26 23:11:07 +02:00
Ludovic Courtès 8ac6282c4b doc: Augment mcron example.
Suggested by Danny Milosavljevic.

* doc/guix.texi (Scheduled Job Execution): Add unprivileged job example,
and show the use of thunks as job actions and gexps.
2016-06-26 15:29:32 +02:00
Ludovic Courtès c9a03e65b8 nls: Update 'fr' translation. 2016-06-26 15:29:32 +02:00
Ludovic Courtès eca69fc0d6 doc: Clarify /dev/kvm setup.
Reported by myglc2 <myglc2@gmail.com>.

* doc/guix.texi (Build Environment Setup): Mention the "kvm" group.
(Invoking guix system): Use "@quotation Note" for the note about KVM;
make it clear that KVM is optional.
2016-06-26 15:29:32 +02:00
宋文武 4b67053962 gnu: Add starfighter.
* gnu/packages/games.scm (starfighter): New variable.
2016-06-26 20:31:55 +08:00
Efraim Flashner 66fd9858f3 gnu: mpv: Update to 0.18.0.
* gnu/packages/video.scm (mpv): Update to 0.18.0.
[arguments]: Remove disabled '--enable-gpl3' configure flag.
2016-06-26 07:21:07 +03:00
Ben Woodcroft c2e575185b gnu: vsearch: Update to 2.0.0.
* gnu/packages/bioinformatics.scm (vsearch): Update to 2.0.0.
2016-06-26 12:43:39 +10:00
Mark H Weaver 36c6919c93 gnu: linux-libre: Update to 4.6.3.
* gnu/packages/linux.scm (linux-libre): Update to 4.6.3.
2016-06-25 13:13:36 -04:00
Mark H Weaver 18c658f966 gnu: linux-libre-4.4: Update to 4.4.14.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.14.
2016-06-25 13:12:12 -04:00
Lukas Gradl 893d963ae3 gnu: Add opendht.
* gnu/packages/crypto.scm (opendht): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-06-25 11:28:53 -04:00
Lukas Gradl d1ef573dec gnu: Add msgpack.
* gnu/packages/serialization.scm (msgpack): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-06-25 11:28:53 -04:00
宋文武 5a7441910d gnu: Add python-orator and python2-orator.
* gnu/packages/python.scm (python-orator, python2-orator): New variables.
2016-06-25 22:52:57 +08:00
宋文武 347175a27c gnu: Add python-flexmock and python2-flexmock.
* gnu/packages/python.scm (python-flexmock, python2-flexmock): New variables.
2016-06-25 22:52:57 +08:00
宋文武 b49504fd8c gnu: Add python-pyaml and python2-pyaml.
* gnu/packages/python.scm (python-pyaml, python2-pyaml): New variables.
2016-06-25 22:52:57 +08:00
Cyril Roelandt aebd383d04 import: pypi: do not fail when 'run_requires' is missing from the metadata.
* guix/import/pypi.scm (read-wheel-metadata): do not crash when 'run_requires'
is missing from the metadata.
2016-06-25 15:33:06 +02:00
宋文武 ea92ae01c2 gnu: Add python-fake-factory and python2-fake-factory.
* gnu/packages/python.scm (python-fake-factory, python2-fake-factory):
New variables.
2016-06-25 20:49:59 +08:00
宋文武 8987d91e7f gnu: Add python-ukpostcodeparser and python2-ukpostcodeparser.
* gnu/packages/python.scm (python-ukpostcodeparser)
(python2-ukpostcodeparser): New variables.
2016-06-25 20:49:59 +08:00
宋文武 22711e2585 gnu: Add python-email-validator and python2-email-validator.
* gnu/packages/python.scm (python-email-validator)
(python2-email-validator): New variables.
2016-06-25 20:49:59 +08:00
宋文武 5477e05f01 gnu: Add python-dnspython and python2-dnspython.
* gnu/packages/python.scm (python-dnspython, python2-dnspython):
New variables.
2016-06-25 20:49:59 +08:00
宋文武 77cadb436b gnu: Add python-lazy-object-proxy and python2-lazy-object-proxy.
* gnu/packages/python.scm (python-lazy-object-proxy)
(python2-lazy-object-proxy): New variables.
2016-06-25 20:49:59 +08:00
宋文武 f5deff7a03 gnu: Add python-cleo and python2-cleo.
* gnu/packages/python.scm (python-cleo, python2-cleo): New variables.
2016-06-25 20:49:59 +08:00
宋文武 1899556655 gnu: Add python-pylev and python2-pylev.
* gnu/packages/python.scm (python-pylev, python2-pylev): New variables.
2016-06-25 20:49:59 +08:00
宋文武 1f2b62a4fa gnu: Add python-inflection and python2-inflection.
* gnu/packages/python.scm (python-inflection, python2-inflection):
New variables.
2016-06-25 20:49:59 +08:00
宋文武 ae43baa890 gnu: Add python-arrow and python2-arrow.
* gnu/packages/python.scm (python-arrow, python2-arrow): New variables.
2016-06-25 20:49:59 +08:00
宋文武 9250b0f3bf gnu: Add python-chai and python2-chai.
* gnu/packages/python.scm (python-chai, python2-chai): New variables.
2016-06-25 20:49:59 +08:00
宋文武 8ea8e8d3c3 guix: python-build-system: Change pypi-uri to use https://pypi.io.
* guix/build-system/python.scm (pypi-uri): Use https://pypi.io.
* gnu/packages/python.scm (python-twisted)[uri]: Remove https://pypi.io.
2016-06-25 20:49:59 +08:00
Ludovic Courtès 934c5d5b28 utils: 'cache-directory' always appends "/guix".
Fixes <http://bugs.gnu.org/23836>.
Fixes a regression introduced in f10dcbf1a9.
Reported by myglc2 <myglc2@gmail.com>.

* guix/utils.scm (cache-directory): Always append "/guix".
2016-06-25 01:13:23 +02:00
Ludovic Courtès 25a3bfbe77 tests: Skip all the container tests when needed.
Reported by myglc2 <myglc2@gmail.com>
at <http://bugs.gnu.org/23836>.

* tests/containers.scm (skip-if-unsupported): New procedure.
Call it before each test.
2016-06-25 01:13:23 +02:00
Mark H Weaver 9f25019095 gnu: linux-libre-4.1: Update to 4.1.27.
* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.27.
2016-06-24 18:33:50 -04:00
Steve Sprang 3c6e42b3bc gnu: Add erlang.
* gnu/packages/erlang.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Co-authored by: Leo Famulari <leo@famulari.name>
Co-authored by: Pjotr Prins <pjotr.public12@thebird.nl>
2016-06-24 10:45:26 -04:00
Andreas Enge b8a680f778 gnu: java-swt: Update to 4.6.
* gnu/packages/java.scm (java-swt): Update to 4.6.
2016-06-24 16:21:54 +02:00
Andreas Enge c19a61bb3e gnu: pari-gp: Update to 2.7.6.
* gnu/packages/algebra.scm (pari-gp): Update to 2.7.6.
2016-06-24 13:56:07 +02:00
Ludovic Courtès a9fbe94edc gnu: Add emacs-writegood-mode.
* gnu/packages/emacs.scm (emacs-writegood-mode): New variable.
2016-06-24 09:01:22 +02:00
Ludovic Courtès af4569095f gnu: Add GNU Diction.
* gnu/packages/dictionaries.scm (diction): New variable.
2016-06-24 09:01:22 +02:00
Leo Famulari 11f2582b81 gnu: imagemagick: Update to 6.9.4-10.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.4.10.
2016-06-24 00:51:14 -04:00
Efraim Flashner bae06364c1 bournish: Add 'wc' command.
* guix/build/bournish.scm (lines+chars, file-exists?*, wc-print)
(wc-l-print, wc-c-print, wc-command, wc-command-implementation)
(wc-l-command-implementation, wc-c-command-implementation): New procedures.
(%commands): Add 'wc'.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-06-23 10:27:02 +02:00
Ludovic Courtès 125af57e09 tests: basic: Don't hard-code the expected architecture name.
* gnu/tests/base.scm (run-basic-test)["uname"]: Don't hard-code the
architecture.
2016-06-23 00:50:24 +02:00
Ludovic Courtès f6d5456b1b tests: Installation test no longer requires KVM.
* gnu/tests/install.scm (%test-installed-os): Use '-enable-kvm' only
when /dev/kvm exists.
2016-06-23 00:12:13 +02:00
Ludovic Courtès f10dcbf1a9 substitute: Use ~/.cache when invoked by an unprivileged user.
This is a followup to ea0c6e0507.

* guix/scripts/substitute.scm (%narinfo-cache-directory): Use
'cache-directory' when (getuid) returns non-zero.
(cache-narinfo!): Remove 'catch'.
2016-06-22 23:46:32 +02:00
Ludovic Courtès 3583b27b2c utils: 'cache-directory' honors 'XDG_CACHE_HOME'.
* guix/utils.scm (cache-directory): Honor 'XDG_CACHE_HOME', not
'XDG_CONFIG_HOME'.
2016-06-22 23:39:57 +02:00
Ludovic Courtès 0a2f2848d5 doc: Document 'make check-system'.
* doc/guix.texi (Running the Test Suite): Document 'make check-system'.
2016-06-22 22:56:06 +02:00
Ludovic Courtès c311089b0b services: Add 'mcron-service'.
* gnu/services/mcron.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/tests/base.scm (%mcron-os, %test-mcron): New variables.
(run-mcron-test): New procedure.
* doc/guix.texi (Scheduled Job Execution): New node.
2016-06-22 22:56:06 +02:00
Ludovic Courtès 159daace2f gnu: Add mcron2.
* gnu/packages/guile.scm (mcron2): New variable.
2016-06-22 22:56:06 +02:00
ng0 c5eef242ce gnu: xorg.scm: Replace http with https in URLs.
* gnu/packages/xorg.scm: Use https for cgit.freedesktop.org,
www.x.org/wiki/, anongit.freedesktop.org.
2016-06-22 21:59:55 +03:00
ng0 612fddec34 gnu: haskell.scm: Replace http with https in Hackage, Github.
* gnu/packages/haskell.scm: Use https for Hackage, Github urls.
2016-06-22 21:59:44 +03:00
Efraim Flashner 7cc2e1e7e6 gnu: efl: Update to 1.17.2.
* gnu/packages/enlightenment.scm (efl): Update to 1.17.2.
2016-06-22 17:42:38 +03:00
Alex Kost da0cef6a2d gnu: lightning: Fix typo.
This is a followup to commit c283b22e93.

* gnu/packages/assembly.scm (lightning): Add 'license' prefix.
2016-06-22 11:43:41 +03:00
ng0 384bc22ad8 gnu: perl-test-harness: Update to 3.36.
* gnu/packages/perl.scm (perl-test-harness): Update to 3.36.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-06-22 11:34:04 +03:00
Alex Kost c283b22e93 gnu: lightning: Move to (gnu packages assembly).
* gnu/packages/lightning.scm: Remove.  Move 'lightning' to...
* gnu/packages/assembly.scm (lightning): ... here.  New variable.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
2016-06-22 11:16:05 +03:00
Alex Kost 2831675bfd build: emacs: Search for elisp in "share/emacs/site-lisp".
* guix/build/emacs-build-system.scm (emacs-inputs-el-directories):
Add ".../share/emacs/site-lisp" directory to the returned result as
elisp files can also be placed there.
2016-06-22 11:15:28 +03:00
Leo Famulari b3470031df gnu: beets: Move propagated-inputs to inputs.
* gnu/packages/music.scm (beets)[propagated-inputs]: Replace with ...
[inputs]: ... new field.
2016-06-22 02:38:46 -04:00
Leo Famulari 88c8d72f3c gnu: beets: Update to 1.3.18.
* gnu/packages/patches/beets-image-test-failure.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/music.scm (beets): Update to 1.3.18.
[source]: Use patch.
2016-06-22 02:38:46 -04:00
Ben Woodcroft 69af462496 gnu: vsearch: Update to 0.11.2.
* gnu/packages/bioinformatics.scm (vsearch): Update to 0.11.2.
2016-06-22 07:51:12 +10:00
Jan Nieuwenhuizen a837997cab gnu: nasm: Make build bit-reproducible.
* gnu/packages/patches/nasm-no-ps-pdf.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/assembly.scm (nasm): Use it.  Remove ghostscript, do not
build PS or PDF docs.  Makes build bit-reproducible.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-06-21 23:14:05 +02:00
Ludovic Courtès ab23fb83c2 hydra: Fix the construction of system test jobs.
* build-aux/hydra/gnu-system.scm (system-test-jobs)[test->thunk]: New
procedure.
[->job]: Use it.
2016-06-21 15:59:06 +02:00
Ludovic Courtès 4c9243b688 hydra: 'evaluate' now validates job alists.
* build-aux/hydra/evaluate.scm (assert-valid-job): New procedure.
<top level>: Use it.
2016-06-21 15:59:06 +02:00
Ben Woodcroft 9270298f75 gnu: Add ruby-puma.
gnu/packages/ruby.scm (ruby-puma): New variable.
gnu/packages/patches/ruby-puma-ignore-broken-test.patch: New file.
gnu/local.mk (dist_patch_DATA): Add it.
2016-06-21 21:46:45 +10:00
Ben Woodcroft b08134907d gnu: Add ruby-hoe-git.
* gnu/packages/ruby.scm (ruby-hoe-git): New variable.
2016-06-21 21:46:45 +10:00
Ben Woodcroft 7b3df1e56e gnu: Add r-vegan.
* gnu/packages/bioinformatics.scm (r-vegan): New variable.
2016-06-21 21:29:17 +10:00
Ben Woodcroft 0846620803 gnu: Add r-mgcv.
* gnu/packages/statistics.scm (r-mgcv): New variable.
2016-06-21 21:29:17 +10:00
Ben Woodcroft de682e6f0f gnu: Add r-permute.
* gnu/packages/statistics.scm (r-permute): New variable.
2016-06-21 21:29:17 +10:00
Efraim Flashner 7a15a68f75 gnu: texlive: Update to 2016.
* gnu/packages/tex.scm (texlive-extra-src, texlive-texmf-src,
texlive-bin, texlive-texmf, texlive): Update to 2016.
(texlive-texmf)[properies]: Add max-silent-time so grafts don't time out.
2016-06-21 13:49:20 +03:00
Ludovic Courtès 09b87aff46 gnu: Adjust to yasm change of module.
This is a followup to 15a3fffc59.

* gnu/packages/gnuzilla.scm,
gnu/packages/gstreamer.scm, gnu/packages/kodi.scm,
gnu/packages/video.scm: Adjust import list to yasm move.
2016-06-21 12:27:50 +02:00
Ludovic Courtès 15a3fffc59 gnu: yasm: Move to (gnu packages assembly).
* gnu/packages/yasm.scm: Remove.  Move 'yasm' to...
* gnu/packages/assembly.scm (yasm): ... here.  New variable.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
2016-06-21 12:25:56 +02:00
Jan Nieuwenhuizen 8472bdecb6 gnu: Add nasm.
* gnu/packages/assembly.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-06-21 12:23:34 +02:00
Ludovic Courtès bae90dc7e7 install: Pass a relative file name to 'local-file'.
This is a followup to cbbbb7be0f.

* gnu/system/install.scm (/etc/configuration-files): Pass a relative
file name to 'local-file'.
2016-06-21 12:23:34 +02:00
Ben Woodcroft cec2653bb4 gnu: diamond: Update to 0.8.7.
* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.7.
2016-06-21 20:00:38 +10:00
Eric Bavier 2f046a0d7e gnu: Update american-fuzzy-lop to 2.15b.
* gnu/packages/debug.scm (american-fuzzy-lop): Update to 2.15b.
2016-06-21 00:02:02 -05:00
Eric Bavier 0405e5f491 gnu: Add thefuck.
* gnu/packages/admin.scm (thefuck): New variable.
2016-06-20 23:54:20 -05:00
Eric Bavier 7108425c37 gnu: shotwell: Update to 0.23.1.
Addresses DWF-2016-89001: validate TLS certificates.

* gnu/packages/gnome.scm (shotwell): Update to 0.23.1.
[inputs]: replace webkitgtk-2.4 with webkitgtk.
2016-06-20 23:43:37 -05:00
Leo Famulari 909fbd2bf0 gnu: python-wsgi-intercept: Update to 1.2.2.
* gnu/packages/python.scm (python-wsgi-intercept, python2-wsgi-intercept):
Update to 1.2.2.
2016-06-20 18:51:44 -04:00
Leo Famulari c02af1c82a gnu: python-requests-toolbelt: Update to 0.6.2.
* gnu/packages/python.scm (python-requests-toolbelt,
python2-requests-toolbelt): Update to 0.6.2.
2016-06-20 18:51:44 -04:00
Leo Famulari 0b942744eb gnu: vdirsyncer: Update to 0.11.2.
* gnu/packages/dav.scm (vdirsyncer): Update to 0.11.2.
2016-06-20 18:51:44 -04:00
Leo Famulari 3d2e0dbcea gnu: python-click-threading: Update to 0.2.0.
* gnu/packages/python.scm (python-click-threading, python2-click-threading):
Update to 0.2.0.
2016-06-20 18:51:44 -04:00
Leo Famulari 43accb58f9 gnu: python-click: Update to 6.6.
* gnu/packages/python.scm (python-click, python2-click): Update to 6.6.
2016-06-20 18:51:43 -04:00
Kei Kebreau f317aeb438 gnu: Add warzone2100.
* gnu/packages/games.scm (warzone2100): New variable.
2016-06-20 18:49:11 -04:00
Ludovic Courtès 5c310940ed hydra: Set the guile-for-build for the test jobs.
* build-aux/hydra/gnu-system.scm (system-test-jobs): Call
'set-guile-for-build'.
2016-06-21 00:20:50 +02:00
Ludovic Courtès e702e26a38 hydra: Add jobs for the system tests.
* build-aux/hydra/gnu-system.scm (%guixsd-supported-systems): New
variable.
(qemu-jobs): Use it.
(system-test-jobs): New procedure.
(hydra-jobs): Use it.
2016-06-20 23:50:46 +02:00
Ludovic Courtès a9601e2352 gexp: Use a relative file name.
This is a followup to cbbbb7be0f.

* guix/gexp.scm (%utils-module): Use a file name relative to this file
instead of using 'search-path'.
2016-06-20 23:50:46 +02:00
Ludovic Courtès de7e0e8ee0 build: 'make check-system' now honors $TESTS.
* build-aux/run-system-tests.scm (run-system-tests)[tests]: Honor the
'TESTS' environment variable.
2016-06-20 23:50:46 +02:00
Ludovic Courtès 98b65b5ff6 tests: Add a mechanism to describe and discover system tests.
* gnu/tests.scm (<system-test>): New record type.
(write-system-test, test-modules, fold-system-tests)
(all-system-tests): New procedures.
* gnu/tests/base.scm (%test-basic-os): Turn into a <system-test>.
* gnu/tests/install.scm (%test-installed-os): Likewise.
* build-aux/run-system-tests.scm (%system-tests): Remove.
(run-system-tests): Use 'all-system-tests'.
2016-06-20 23:50:46 +02:00
Ludovic Courtès 2a6ba87086 packages: Export 'scheme-modules'.
* gnu/packages.scm (package-modules): Rename to...
(scheme-modules): ... this.  Export.  Update callers.
2016-06-20 23:50:46 +02:00
Ludovic Courtès 94b4274d0d tests: Add system installation test.
* gnu/tests.scm (define-os-with-source): New macro.
* gnu/tests/install.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* build-aux/run-system-tests.scm (%system-tests): Likewise.
2016-06-20 23:50:46 +02:00
Ludovic Courtès b1dd6ac55d vm: 'qemu-command' honors its argument.
* gnu/build/vm.scm (qemu-command): Refer to SYSTEM rather than
%HOST-TYPE in the body.
2016-06-20 23:50:46 +02:00
Ludovic Courtès 908935b512 tests: base: Fully honor the OS passed to 'run-basic-test'.
* gnu/tests/base.scm (run-basic-test)["uname"]: Use the host name of OS.
["shepherd services"]: Use service names from OS.
(%test-basic-os): Add call to 'virtualized-operating-system'.
2016-06-20 23:50:46 +02:00
David Thompson b0d388c9dc gnu: guile-next: Update to 2.1.3.
* gnu/packages/guile.scm (guile-next): Update to 2.1.3.
2016-06-20 14:23:58 -04:00
Lukas Gradl 6d32dd8cef gnu: Add argon2.
* gnu/packages/password-utils.scm (argon2): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-06-20 13:07:11 -04:00
Leo Famulari e52509a5ff gnu: git: Update to 2.9.0
* gnu/packages/version-control.scm (git): Update to 2.9.0.
(git-manpages)[source]: Update hash.
2016-06-20 12:53:13 -04:00
Efraim Flashner acb6a8984e gnu: chicken: Update to 4.11.0 [fixes CVE-2014-9651].
* gnu/packages/scheme.scm (chicken): Update to 4.11.0.
2016-06-20 18:28:44 +03:00
Kei Kebreau d2cc38b713 gnu: Add quesoglc.
* gnu/packages/game-development.scm (quesoglc): New variable.
2016-06-20 09:03:30 -04:00
ng0 3099354dd4 gnu: perl-uri: Update to 1.71.
* gnu/packages/web.scm (perl-uri): Update to 1.71.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-06-20 21:02:54 +08:00
宋文武 b9cbfa52f7 gnu: Add guile-dbd-sqlite3.
* gnu/packages/guile.scm (guile-dbd-sqlite3): New variable.
2016-06-20 19:05:24 +08:00
宋文武 2d5907ad3c gnu: Add guile-dbi.
* gnu/packages/guile.scm (guile-dbi): New variable.
2016-06-20 19:05:24 +08:00
Efraim Flashner 426bfed405 gnu: screen: Update to 4.4.0.
* gnu/packages/screen.scm (screen): Update to 4.4.0.
2016-06-20 12:56:03 +03:00
Ricardo Wurmus a5338dd467 gnu: Add emacs-lispy.
* gnu/packages/emacs.scm (emacs-lispy): New variable.
2016-06-20 07:06:59 +02:00
Ricardo Wurmus e1918ce486 gnu: Add emacs-iedit.
* gnu/packages/emacs.scm (emacs-iedit): New variable.
2016-06-20 07:06:58 +02:00
Ricardo Wurmus 93dba17c63 gnu: Add emacs-ace-window.
* gnu/packages/emacs.scm (emacs-ace-window): New variable.
2016-06-20 07:06:58 +02:00
Ricardo Wurmus 5edc24ec2c gnu: Add emacs-avy.
* gnu/packages/emacs.scm (emacs-avy): New variable.
2016-06-20 07:06:58 +02:00
Ricardo Wurmus 12db29baaf gnu: Add emacs-ivy.
* gnu/packages/emacs.scm (emacs-ivy): New variable.
2016-06-20 07:06:58 +02:00
Ricardo Wurmus 79b3d3ea58 gnu: Add emacs-hydra.
* gnu/packages/emacs.scm (emacs-hydra): New variable.
2016-06-20 07:06:57 +02:00
Ricardo Wurmus db1a496071 gnu: Add emacs-org-bullets.
* gnu/packages/emacs.scm (emacs-org-bullets): New variable.
2016-06-20 07:04:46 +02:00
Ludovic Courtès ca7a68ebeb tests: Fix list of exports in (gnu tests).
* gnu/tests.scm: Export 'marionette-service-type'.
2016-06-20 00:52:53 +02:00
Ludovic Courtès e3de272a81 tests: Export 'run-basic-test'.
* gnu/tests/base.scm (run-basic-test): New procedure, extracted from ...
(%test-basic-os): ... here.  Use it.
2016-06-20 00:52:53 +02:00
Ludovic Courtès 77559f23b0 tests: Strengthen regexp in 'packages.scm'.
* tests/packages.scm ("--search-paths with pattern"): Call
'regexp-quote' on the result of 'derivation->output-path'.
2016-06-20 00:52:53 +02:00
Ludovic Courtès 04eb0fab3a gnu: guix: Add 'current-guix' thunk.
* gnu/packages/package-management.scm (source-file?)
(make-git-predicate, current-guix): New procedures.
2016-06-20 00:52:53 +02:00
Ludovic Courtès a68d0f6fd5 utils: 'current-source-directory' gracefully handles lack of source info.
* guix/utils.scm (current-source-directory): Add case for when FILE-NAME
is #f.
2016-06-20 00:52:53 +02:00
Ludovic Courtès cbbbb7be0f utils: 'current-source-directory' resolves relative file names at run time.
* guix/utils.scm (absolute-dirname): New procedure.
(current-source-directory): Emit code to use it instead of calling
'search-path'.
2016-06-20 00:52:53 +02:00
Ludovic Courtès 95fa173ed1 store: 'register-path' no longer swallows 'system-error' exceptions.
* guix/store.scm (register-path): Do not catch 'system-error'.
2016-06-20 00:52:53 +02:00
Ludovic Courtès e0b47290a7 services: Add 'gc-root-service-type'.
* gnu/services.scm (gc-roots->system-entry): New procedure.
(gc-root-service-type): New variable.
2016-06-20 00:52:53 +02:00
Mark H Weaver 3ebba94d45 gnu: libxslt: Replace with 1.1.29 [fixes CVE-2016-{1683,1684}].
* gnu/packages/xml.scm (libxslt)[replacement]: New field.
(libxslt/fixed): New variable.
2016-06-19 13:59:01 -04:00
Ricardo Wurmus cb1436d8d2 gnu: synthv1: Update to 0.7.5.
* gnu/packages/music.scm (synthv1): Update to 0.7.5.
2016-06-18 21:26:58 +02:00
Ricardo Wurmus 669b7b83d8 gnu: Add lbzip2.
* gnu/packages/compression.scm (lbzip2): New variable.
2016-06-18 19:49:08 +02:00
Ricardo Wurmus 7c438099ac gnu: Add emacs-multiple-cursors.
* gnu/packages/emacs.scm (emacs-multiple-cursors): New variable.
2016-06-18 18:06:29 +02:00
Ludovic Courtès e8ac1f8f1f gnu: Add guile-sqlite3.
* gnu/packages/guile.scm (guile-sqlite3): New variable.
2016-06-18 15:54:45 +02:00
宋文武 87a16de744 gnu: bluez: Install 'org.bluez.obex.service' and fix '97-hid2hci.rules'.
* gnu/packages/linux.scm (bluez)[arguments]: Add 'post-install' phase.
2016-06-18 09:53:14 +08:00
宋文武 c80920462e gnu: bluez: Update to 5.40.
* gnu/packages/linux.scm (bluez): Update to 5.40.
2016-06-18 09:53:14 +08:00
宋文武 f3dbc62664 gnu: bluez: Set sysconfdir and localstatedir.
* gnu/packages/linux.scm (bluez)[arguments]: Add '--sysconfdir=/etc'
and '--localstatedir=/var'.
2016-06-18 09:53:14 +08:00
宋文武 922e21f436 gnu: services: Add bluetooth-service.
* gnu/services/desktop.scm (bluetooth-shepherd-service)
(bluetooth-service): New Prodecures.
(bluetooth-service-type): New variable.
* doc/guix.text (Desktop Services): Document it.
2016-06-18 09:53:14 +08:00
Daniel Pimentel 0de78c95b5 gnu: Add python2-jsonrpclib
* gnu/packages/python.scm (python2-jsonrpclib): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-06-17 20:20:11 -04:00
Ricardo Wurmus d1dbeddd55 gnu: Add emacs-company.
* gnu/packages/emacs.scm (emacs-company): New variable.
2016-06-17 21:18:19 +02:00
Leo Famulari 65924b10bc gnu: certbot, python-acme: Update to 0.8.1.
These packages should be updated together.

* gnu/packages/tls.scm (certbot): Update to 0.8.1.
(python-acme, python2-acme): Update to 0.8.1
2016-06-17 14:32:32 -04:00
Efraim Flashner bced395cab gnu: aria2: Update to 1.24.0.
* gnu/packages/bittorrent.scm (aria2): Updat eto 1.24.0.
2016-06-17 15:41:45 +03:00
Ludovic Courtès a1b484654a services: dicod: Add 'interfaces' configuration field.
This makes 'dicod' listen on 'localhost' by default, whereas it was
previously listening on all the interfaces, which is not a good default
security-wise.

* gnu/services/dict.scm (<dicod-configuration>)[interfaces]: New field.
(dicod-configuration-file)[database->text]: New procedure, with code
formerly in 'dicod-configuration->text'.
[dicod-configuration->text]: Rename to...
[configuration->text]: ... this.  Honor 'interfaces'.
* doc/guix.texi (Various Services): Document 'interfaces'.
2016-06-17 11:14:18 +02:00
Efraim Flashner 025597393c gnu: libqtxdg: Move qtbase to propagated-inputs.
* gnu/packages/lxqt.scm (libqtxdg)[inputs]: Move qtbase ...
[propagated-inputs]: ... to here.

This is a follow-up to aa450b2bc4.
2016-06-17 09:14:12 +03:00
Efraim Flashner 668d2352e0 gnu: enlightenment: Update to 0.20.9.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.20.9.
[home-page]: Use https.
2016-06-17 06:52:18 +03:00
Efraim Flashner feabb770e1 gnu: python-efl: Rebuild generated C files.
* gnu/packages/enlightenment.scm (python-efl)[arguments]: Replace 'build
phase to set 'ENABLE_CYTHON=1'.
[native-inputs]: python-cython.
2016-06-17 06:52:18 +03:00
Ben Woodcroft 2e6973222d gnu: Add python-bz2file.
* gnu/packages/python.scm (python-bz2file, python2-bz2file): New
variables.
2016-06-17 11:08:27 +10:00
ng0 1ee4274c96 gnu: gnupg: Update to 2.1.13.
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.13.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-06-16 19:51:08 -04:00
Ludovic Courtès d4dd37fc46 utils: 'current-source-directory' returns the absolute directory name.
* guix/utils.scm (current-source-directory): When FILE-NAME is relative,
use 'search-path' to determine the absolute file name.
2016-06-16 23:50:44 +02:00
Ludovic Courtès 5dbae738f0 utils: 'current-source-directory' is now purely an expansion-time thing.
* guix/utils.scm (extract-directory): Remove.
(current-source-directory): Rewrite as a 'syntax-case' macro.
2016-06-16 23:50:44 +02:00
Ludovic Courtès 762e54b7b4 doc: Recommend against marketing phrases in descriptions.
* doc/guix.texi (Synopses and Descriptions): Add note about marketing
phrases.
2016-06-16 23:50:44 +02:00
Efraim Flashner 1ccb319241 gnu: lxqt-common: Add missing inputs.
* gnu/packages/lxqt.scm (lxqt-common)[inputs]: Add qtbase,
qttools, qtx11extras.
2016-06-16 21:14:53 +03:00
Efraim Flashner e099d2a66f gnu: lxqt-session: Add missing inputs.
* gnu/packages/lxqt.scm (lxqt-session)[inputs]: Add qtbase,
qttools, qtx11extras.
2016-06-16 21:14:52 +03:00
Efraim Flashner 5c733afd4f gnu: liblxqt: Add missing inputs.
* gnu/packages/lxqt.scm (liblxqt)[inputs]: Add qtbase,
qttools, qtx11extras.
2016-06-16 21:14:51 +03:00
Efraim Flashner aa450b2bc4 gnu: libqtxdg: Build with qtbase.
* gnu/packages/lxqt.scm (libqtxdg)[propagated-inputs]: Remove qt.
[inputs]: Add qtbase.
2016-06-16 21:12:38 +03:00
Efraim Flashner 3282442be9 gnu: lxqt: Update uris.
* gnu/packages/lxqt.scm (libqtxdg, liblxqt, lxqt-common,
lxqt-session)[source]: Project tarballs have been replaced with Github
archive tarballs.
2016-06-16 21:12:32 +03:00
Efraim Flashner 654116c158 gnu: starman: Update to 0.4014.
* gnu/packages/web.scm (starman): Update to 0.4014.
2016-06-16 18:06:42 +03:00
Efraim Flashner 76806c54ed gnu: calibre: Build with qtbase.
* gnu/packages/ebook.scm (calibre)[inputs]: Remove qt, add qtbase.
[native-inputs]: Remove qt, add qtbase.
2016-06-16 18:06:42 +03:00
Efraim Flashner 64e8be679c gnu: avidemux: Build with modular qt.
* gnu/packages/video.scm (avidemux)[inputs]: Remove qt, add qtbase, qttools.
2016-06-16 18:06:42 +03:00
Efraim Flashner 1898900f1f gnu: avidemux: Use 'modify-phases'.
* gnu/packages/video.scm (avidemux)[arguments]: Use 'modify-phases'.
2016-06-16 18:06:42 +03:00
Efraim Flashner 4cafe8adfe gnu: avidemux: Add hardware acceleration support.
* gnu/packages/video.scm (avidemux)[inputs]: Add libva, libvdpau.
2016-06-16 18:06:42 +03:00
Efraim Flashner f663e09720 gnu: libressl: Update to 2.3.6.
* gnu/packages/tls.scm (libressl): Update to 2.3.6.
2016-06-16 18:06:42 +03:00
Efraim Flashner 77952b4c18 gnu: openntpd: Update to 6.0p1.
* gnu/packages/ntp.scm (openntpd): Update to 6.0p1.
2016-06-16 18:06:42 +03:00
Efraim Flashner b13b9834f2 gnu: scribus: Build with modular qt.
* gnu/packages/scribus.scm (scribus)[inputs]: Remove qt, add qtbase,
qtdeclarative, qttools.
2016-06-16 18:06:42 +03:00
Efraim Flashner df9031e168 gnu: alsa-modular-synth: Build with modular qt.
* gnu/packages/audio.scm (alsa-modular-synth)[inputs]: Remove qt,
add qtbase, qttools.
2016-06-16 18:06:42 +03:00
Efraim Flashner ca1cab8243 gnu: drumstick: Build with modular qt.
* gnu/packages/music.scm (drumstick)[inputs]: Remove qt, add qtbase, qtsvg.
2016-06-16 18:06:42 +03:00
Efraim Flashner 07831f7a36 gnu: vmpk: Build with modular qt.
* gnu/packages/music.scm (vmpk)[inputs]: Remove qt, add qtbase, qtsvg,
qttools, qtx11extras.
2016-06-16 18:06:42 +03:00
Efraim Flashner e5f2afdbb5 gnu: synthv1: Build with modular qt.
* gnu/packages/music.scm (synthv1)[inputs]: Remove qt, add qtbase, qttools.
2016-06-16 18:06:42 +03:00
Efraim Flashner 0a0bfd685e gnu: powertabeditor: Build with qtbase.
* gnu/packages/music.scm (powertabeditor)[inputs]: Remove qt, add qtbase.
2016-06-16 18:06:42 +03:00
Efraim Flashner e2814984af gnu: gpsbabel: Build with modular qt.
* gnu/packages/gps.scm (gpsbabel)[inputs]: Remove qt, add qtbase, qttools.
2016-06-16 18:06:42 +03:00
Efraim Flashner 14ea30e473 gnu: bitcoin-core: Update to 0.12.1.
* gnu/packages/finance.scm (bitcoin-core): Update to 0.12.1.
2016-06-16 18:06:42 +03:00
Efraim Flashner 9a5c0320f0 gnu: v4l-utils: Update to 1.10.1.
* gnu/packages/video.scm (v4l-utils): Update to 1.10.1.
2016-06-16 18:06:42 +03:00
Efraim Flashner b37662e25c gnu: v4l-utils: Build with qtbase.
* gnu/packages/video.scm (v4l-utils)[inputs]: Remove qt, add qtbase.
2016-06-16 18:06:42 +03:00
Efraim Flashner 90a2309b74 gnu: obs: Build with modular qt.
* gnu/packages/video.scm (obs)[inputs]: Remove qt, add qtbase, qtx11extras.
2016-06-16 18:06:42 +03:00
宋文武 6575183b2c gnu: services: Add mysql-service.
* gnu/services/database.scm (<mysql-configuration>): New record type.
(%mysql-accounts, mysql-service-type): New variables.
(mysql-configuration-file, %mysql-activation, mysql-shepherd-services)
(mysql-services): New procedures.
* doc/guix.texi (Database Services): Document it.
2016-06-16 21:26:50 +08:00
宋文武 78d2fd3230 gnu: mariadb: Update to 10.1.14.
* gnu/packages/databases.scm (mariadb): Update to 10.1.14.
2016-06-16 21:26:50 +08:00
Ludovic Courtès a7db719f3d packages: Disambiguate 'modules' and 'imported-modules' in <origin>.
The two mistakes made here (confusion between 'modules' and
'imported-modules') were canceling each other.

* guix/packages.scm (patch-and-repack): Use IMPORTED-MODULES, not
MODULES, as the base of the module list passed as #:modules to
'gexp->derivation'.
(origin->derivation): Pass IMPORTED-MODULES, not MODULES, as
the #:imported-modules argument of 'patch-and-repack'.
* gnu/packages/engineering.scm (fastcap)[source]: Add 'imported-modules'
field.
2016-06-16 14:31:52 +02:00
Carlo Zancanaro 3d1240aa25 gnu: Add awesome.
* gnu/packages/wm.scm (awesome): New variable.
* gnu/packages/patches/awesome-reproducible-png.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-06-16 14:29:43 +02:00
ng0 68a973024f gnu: perl-test-simple: Update to 1.302026.
* gnu/packages/perl.scm (perl-test-simple): Update to 1.302026.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-06-16 13:35:38 +02:00
Ludovic Courtès 20ccaecf70 gnu: Avoid #:prefix when importing (gnu packages …).
* gnu/packages/lsh.scm: Remove #:prefix for (gnu packages compression).
Add #:prefix for (guix licenses).
2016-06-16 13:08:57 +02:00
Ludovic Courtès 4ff76a0a34 gexp: Add 'local-file' file name resolution test.
* tests/gexp.scm ("local-file, relative file name"): New test.
2016-06-16 09:34:37 +02:00
Ludovic Courtès 0687fc9cd9 gexp: Add #:select? parameter to 'local-file'.
* guix/gexp.scm (<local-file>)[select?]: New field.
(true): New procedure.
(%local-file): Add #:select? and honor it.
(local-file): Likewise.
* tests/gexp.scm ("local-file, #:select?"): New test.
* doc/guix.texi (G-Expressions): Adjust accordingly.
2016-06-16 09:34:32 +02:00
Ludovic Courtès 07c8a98c3b gexp: Move 'current-source-directory' to (guix utils).
* guix/gexp.scm (extract-directory, current-source-directory): Move to...
* guix/utils.scm (extract-directory, current-source-directory):
... here.  New procedures.
2016-06-16 09:34:32 +02:00
Ludovic Courtès b789974954 doc: Fix typos.
Reported by ozzloy on #guix.

* doc/guix.texi (package Reference): Add missing space.
(G-Expressions, Invoking guix build):
(Common Build Options): Fix typos.
2016-06-16 09:34:32 +02:00
Andreas Enge 9e786e8ba8 gnu: avidemux: Update to 2.6.12.
* gnu/packages/video.scm (avidemux): Update to 2.6.12.
[arguments]: Adapt version number of bundled ffmpeg.
2016-06-15 22:01:35 +02:00
Efraim Flashner e238026916 gnu: offlineimap: Update to 6.7.0.1.
* gnu/packages/mail.scm (offlineimap): Update to 6.7.0.1.
2016-06-15 20:23:58 +03:00
Efraim Flashner e1963db750 gnu: oxygen-icons: Build with qtbase.
* gnu/packages/kde-frameworks.scm (oxygen-icons)[inputs]: Remove qt,
add qtbase.
2016-06-15 20:23:58 +03:00
Leo Famulari 03c1662e38 gnu: Add gnome-maps.
* gnu/packages/geo.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2016-06-15 13:18:32 -04:00
Leo Famulari 01ea778f68 gnu: Add gfbgraph.
* gnu/packages/gnome.scm (gfbgraph): New variable.
2016-06-15 13:18:31 -04:00
Leo Famulari f7c6833f1c gnu: libchamplain: Build Vala bindings.
* gnu/packages/gnome.scm (libchamplain)[native-inputs]: Add
gobject-introspection, vala.
[arguments]: New field.
2016-06-15 13:18:31 -04:00
Leo Famulari 0a387b14f1 gnu: vala: Build Vala API (.vapi) generator.
* gnu/packages/gnome.scm (vala)[arguments]: Pass --enable-apigen
to #:configure-flags.
2016-06-15 13:18:31 -04:00
Leo Famulari 6064a4e84a gnu: Add folks.
* gnu/packages/gnome.scm (folks): New variable.
2016-06-15 13:18:31 -04:00
Leo Famulari a73c1cf84a gnu: evolution-data-server: Build Vala bindings.
* gnu/packages/gnome.scm (evolution-data-server)[arguments]: Add
--enable-vala-bindings to #:configure-flags.
[native-inputs]: Add vala.
2016-06-15 13:18:30 -04:00
Leo Famulari c73d4c5922 gnu: telepathy-glib: Enable vala bindings.
* gnu/packages/glib.scm (telepathy-glib)[arguments]: Add --enable-vala-bindings
to #:configure-flags.
[native-inputs]: Add vala.
2016-06-15 13:18:30 -04:00
ng0 0202612d14 gnu: Add emacs-ebuild-mode.
* gnu/packages/emacs.scm (emacs-ebuild-mode): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-06-15 19:10:35 +03:00
ng0 26e08b4d33 gnu: Add emacs-lua-mode.
* gnu/packages/emacs.scm (emacs-lua-mode): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-06-15 19:10:35 +03:00
Ricardo Wurmus 4714d521e3 gnu: Add r-bsgenome-mmusculus-ucsc-mm10.
* gnu/packages/bioinformatics.scm (r-bsgenome-mmusculus-ucsc-mm10): New
  variable.
2016-06-15 17:08:08 +02:00
Ricardo Wurmus c4e48b68bd guix: Add downloader for Mercurial repositories.
* guix/build/hg.scm: New file.
* guix/hg-download.scm: New file.
* Makefile.am (MODULES): Add them.
2016-06-15 17:02:18 +02:00
Leo Famulari 9c4a8514d6 gnu: openssl: Fix CVE-2016-2177 and CVE-2016-2178.
* gnu/packages/patches/openssl-CVE-2016-2177.patch,
gnu/packages/patches/openssl-CVE-2016-2178.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/tls.scm (openssl/fixed): Use them.
2016-06-15 10:48:13 -04:00
Danny Milosavljevic a44fd439dc gnu: Add python-wcwidth and python2-wcwidth.
* gnu/packages/python.scm (python-wcwidth, python2-wcwidth): New variables.

Co-authored-by: Leo Famulari <leo@famulari.name>
2016-06-15 10:44:52 -04:00
Ricardo Wurmus ce9cf64b78 gnu: Add log4cpp.
* gnu/packages/logging.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2016-06-15 15:35:02 +02:00
Ricardo Wurmus ba6a996eac gnu: Add gengetopt.
* gnu/packages/popt.scm (gengetopt): New variable.
2016-06-15 15:34:58 +02:00
Hartmut Goebel d3a858cb32 gnu: Add teensy-loader-cli.
* gnu/packages/flashing-tools.scm (teensy-loader-cli): New variable.
* gnu/packages/patches/teensy-loader-cli-help.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-06-15 15:27:48 +02:00
Ludovic Courtès 1ec32f4a9d store: Add #:select? parameter to 'add-to-store'.
* guix/store.scm (write-arg): Remove 'file' case.
(true): New procedure.
(add-to-store): Add #:select? parameter and honor it.  Use hand-coded
stub instead of 'operation'.
(interned-file): Add #:select? parameter and honor it.
* doc/guix.texi (The Store Monad): Adjust 'interned-file' documentation
accordingly.
2016-06-15 15:26:30 +02:00
Ludovic Courtès 0fb9a15bb5 gnu: grue-hunter: Move to (gnu packages games).
* gnu/packages/grue-hunter.scm: Remove.  Move contents to...
* gnu/packages/games.scm (grue-hunter): ... here.  New variable.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
2016-06-15 15:26:30 +02:00
Ludovic Courtès da675305dd packages: The 'source' can be any lowerable object.
* guix/packages.scm (expand-input): Use 'struct?' instead of 'origin?'
when matching SOURCE.
(package-source-derivation): Use 'lower-object' instead of
'origin->derivation'.
* tests/packages.scm ("package-source-derivation, local-file"): New
test.
* doc/guix.texi (package Reference): Update 'source' documentation
accordingly.
2016-06-15 15:26:30 +02:00
Ludovic Courtès 789510640d packages: 'origin->derivation' expects an origin and nothing else.
* guix/packages.scm (origin->derivation): Rename 'source' parameter to
'origin'.  Move cases where SOURCE is a string to...
(package-source-derivation): ... here.
2016-06-15 15:26:30 +02:00
Ludovic Courtès 5257ab6de2 packages: Recognize the '.Z' extension.
Reported by thomasd on #guix.

* guix/packages.scm (patch-and-repack)[decompression-type]: Add "Z".
2016-06-15 15:26:30 +02:00
Efraim Flashner 6dc554fa2a gnu: pumpa: Build with qtbase.
* gnu/packages/pumpio.scm (pumpa)[inputs]: Remove qt, add qtbase.
2016-06-15 11:39:53 +03:00
Efraim Flashner e2788cef13 gnu: pinentry-qt: Build with qtbase.
* gnu/packages/gnupg.scm (pinentry-qt)[inputs]: Remove qt, add qtbase.
2016-06-15 11:26:10 +03:00
Efraim Flashner d438c9683b gnu: Add qttools.
* gnu/packages/qt.scm (qttools): New variable.
2016-06-15 11:11:56 +03:00
Efraim Flashner d5ca54ce47 gnu: Add qtlocation.
* gnu/packages/qt.scm (qtlocation): New variable.
2016-06-15 11:11:56 +03:00
Efraim Flashner f5377013d6 gnu: Add qtwebchannel.
* gnu/packages/qt.scm (qtwebchannel): New variable.
2016-06-15 11:11:56 +03:00
Efraim Flashner 00806f2bb9 gnu: Add qtserialport.
* gnu/packages/qt.scm (qtserialport): New variable.
2016-06-15 11:11:56 +03:00
Efraim Flashner bc8ede0150 gnu: Add qtwayland.
* gnu/packages/qt.scm (qtwayland): New variable.
2016-06-15 11:11:56 +03:00
Efraim Flashner 15378f93b9 gnu: Add qtmultimedia.
* gnu/packages/qt.scm (qtmultimedia): New variable.
2016-06-15 11:11:56 +03:00
Efraim Flashner 3474767cbd gnu: Add qtsensors.
* gnu/packages/qt.scm (qtsensors): New variable.
2016-06-15 11:11:56 +03:00
Efraim Flashner cac893ec09 gnu: Add qtwebsockets.
* gnu/packages/qt.scm (qtwebsockets): New variable.
2016-06-15 11:11:56 +03:00
Efraim Flashner e98cb96d69 gnu: Add qtconnectivity.
* gnu/packages/qt.scm (qtconnectivity): New variable.
2016-06-15 11:11:56 +03:00
Efraim Flashner e3a2ed8151 gnu: Add qtdeclarative.
* gnu/packages/qt.scm (qtdeclarative): New variable.
2016-06-15 11:11:56 +03:00
Efraim Flashner 98eec71280 gnu: Add qtxmlpatterns.
* gnu/packages/qt.scm (qtxmlpatterns): New variable.
2016-06-15 11:11:56 +03:00
Efraim Flashner f6c13613af gnu: Add qtx11extras.
* gnu/packages/qt.scm (qtx11extras): New variable.
2016-06-15 11:11:56 +03:00
Efraim Flashner 9b69421021 gnu: Add qtimageformats.
* gnu/packages/qt.scm (qtimageformats): New variable.
2016-06-15 11:11:56 +03:00
Efraim Flashner 19c1763113 gnu: Add qtsvg.
* gnu/packages/qt.scm (qtsvg): New variable.
2016-06-15 11:11:56 +03:00
Cyril Roelandt 266785d21e import: pypi: read requirements from wheels.
* doc/guix.tex (Invoking guix import): Mention that the pypi importer
works better with "unzip".
* guix/import/pypi.scm (latest-wheel-release,
wheel-url->extracted-directory): New procedures.
* tests/pypi.scm (("pypi->guix-package, wheels"): New test.
2016-06-14 22:03:22 +02:00
Ricardo Wurmus 4f54a63e1e gnu: julia: Use unbundled release tarball.
* gnu/packages/julia.scm (julia)[source]: Use smaller tarball without
bundled sources.
[inputs]: Add inputs for rmath-julia, suitesparse, objconv, dsfmt, and
virtualenv.
[arguments]: Add phase "prepare-deps" to copy tarballs to their expected
locations.
2016-06-14 16:27:19 +02:00
Efraim Flashner 6138dedec9 gnu: perl-dbi: Update to 1.636.
* gnu/packages/databases.scm (perl-dbi): Update to 1.636.
[home-page]: Update it.
2016-06-14 15:06:48 +03:00
Efraim Flashner 0e8186eb12 gnu: perl-exporter-lite: Update to 0.08.
* gnu/packages/perl.scm (perl-exporter-lite): Update to 0.08.
[home-page]: Update it.
2016-06-14 15:04:09 +03:00
Efraim Flashner 67abcc05ba gnu: perl-image-exiftool: Update to 10.20.
* gnu/packages/photo.scm (perl-image-exiftool): Update to 10.20.
[home-page]: Update it.
2016-06-14 15:01:35 +03:00
Efraim Flashner cf4a71322b gnu: perl-test-deep: Update to 1.120.
* gnu/packages/perl.scm (perl-test-deep): Update to 1.120.
[home-page]: Update it.
2016-06-14 14:31:58 +03:00
Efraim Flashner 54c3c140ce gnu: perl-xml-libxml: Update to 2.0125.
* gnu/packages/xml.scm (perl-xml-libxml): Update to 2.0125.
2016-06-14 14:29:03 +03:00
Efraim Flashner e831256ff5 gnu: perl-xml-simple: Update to 2.22.
* gnu/packages/xml.scm (perl-xml-simple): Update to 2.22.
[propagated-inputs]: Add perl-xml-sax.
[home-page]: Update it.
2016-06-14 14:08:07 +03:00
Efraim Flashner d0d2b0f9cd gnu: parallel: Update to 20160522.
* gnu/packages/parallel.scm (parallel): Update to 20160522.
2016-06-14 10:08:14 +03:00
Alex Vong feb5c55403 gnu: youtube-dl: Update to 2016.06.14.
* gnu/packages/video.scm (youtube-dl): Update to 2016.06.14.
[source]: Use https.
[home-page]: Use https.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-06-14 09:07:02 +03:00
David Thompson 32ac717c5f gnu: Add gnome-shell-extensions.
* gnu/packages/gnome.scm (gnome-shell-extensions): New variable.
2016-06-13 19:22:54 -04:00
Ben Woodcroft e4a44a6aa5 gnu: Add ruby-bio-kseq.
* gnu/packages/bioinformatics.scm (ruby-bio-kseq): New variable.
2016-06-14 07:57:09 +10:00
Ludovic Courtès d3ef652aa1 gnu: wget: Update to 1.18.
* gnu/packages/wget.scm (wget): Update to 1.18.
2016-06-13 23:13:16 +02:00
Efraim Flashner 65089213c8 gnu: wayland: Update to 1.11.0.
* gnu/packages/freedesktop.scm (wayland): Update to 1.11.0.
2016-06-13 22:37:35 +03:00
Efraim Flashner c6bccf713b gnu: python-pykafka: Change uri.
* gnu/packages/python.scm (python-pykafka)[source]: Update pypi uri.
2016-06-13 21:31:13 +03:00
Nicolas Goaziou 2fb3dddabf gnu: giac-xcas: Update to 1.2.2-59
* gnu/packages/algebra.scm (giac-xcas): Update to 1.2.2-59.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-06-13 18:05:54 +02:00
Nicolas Goaziou 2e2c6e9655 gnu: asymptote: Update to 2.38
* gnu/packages/plotutils.scm (asymptote): Update to 2.38.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-06-13 18:05:54 +02:00
Ludovic Courtès c25637dfe8 utils: 'with-atomic-file-output' closes the port upon exception.
Previously it could have left the file descriptor open.

* guix/utils.scm (with-atomic-file-output): Call 'close-port' in handler.
2016-06-13 18:05:54 +02:00
Ludovic Courtès d1f33ba44b syscalls: Use 'syscall->procedure' everywhere.
* guix/build/syscalls.scm (mkdtemp!, setns, %ioctl, network-interfaces):
(free-ifaddrs): Use 'syscall->procedure'.
2016-06-13 18:05:54 +02:00
Ludovic Courtès 1752a17a1e utils: 'with-atomic-file-output' calls 'fdatasync'.
Suggested by Danny Milosavljevic <dannym@scratchpost.org>
at <https://lists.gnu.org/archive/html/guix-devel/2016-06/msg00456.html>.

* guix/build/syscalls.scm (fdatasync): New procedure.
* guix/utils.scm (with-atomic-file-output): Use it.  Use 'close-port'
instead of 'close'.
2016-06-13 18:05:54 +02:00
Ricardo Wurmus 9f8ee3fe0e gnu: Add python-tables.
* gnu/packages/python.scm (python-tables, python2-tables): New
  variables.
2016-06-13 18:01:02 +02:00
Ricardo Wurmus 883302daf2 gnu: piranha: Update to 1.2.1.
* gnu/packages/bioinformatics.scm (piranha): Update to 1.2.1.
2016-06-13 11:53:38 +02:00
Ludovic Courtès fe585be9aa serialization: Add #:select? parameter to 'write-file'.
* guix/serialization.scm (write-file): Add #:select? parameter and honor it.
* tests/nar.scm ("write-file #:select? + restore-file"): New test.
2016-06-12 23:55:22 +02:00
Orivej Desh 31d968fbcf gnu: unison: Install unison-fsmonitor.
* gnu/packages/ocaml.scm (unison)[arguments]: Add 'install-fsmonitor'
phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-06-12 23:55:16 +02:00
Ludovic Courtès 4d4c3614c8 profiles: Make sure hook derivations fail upon error.
Reported at
<https://lists.gnu.org/archive/html/guix-devel/2016-06/msg00368.html>.

* guix/profiles.scm (info-dir-file)[build]: Add explicit call to
'exit'.
* guix/profiles.scm (ghc-package-cache-file)[build]: Likewise.
* guix/profiles.scm (xdg-desktop-database)[build]: Likewise.
* guix/profiles.scm (xdg-mime-database)[build]: Likewise.
2016-06-12 23:54:00 +02:00
Ludovic Courtès 52530805b3 doc: Fix default value of #:recursive? for 'local-file'.
* doc/guix.texi (G-Expressions): The #:recursive? parameter of
'local-file' defaults to #f.
2016-06-12 23:54:00 +02:00
Roel Janssen d95e8e0170 gnu: Add emacs-rainbow-identifiers.
* gnu/packages/emacs.scm (emacs-rainbow-identifiers): New variable.
2016-06-12 23:37:12 +02:00
Leo Famulari 6e46836c76 gnu: imagemagick: Update to 6.9.4-9.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.4-9.
2016-06-12 16:04:22 -04:00
Alex Kost 11b8e66a4c gnu: manaplus: Update to 1.6.6.4.
* gnu/packages/games.scm (manaplus): Update to 1.6.6.4.
2016-06-12 17:43:48 +03:00
David Thompson 6fd8f8d6fc gnu: Add arc-icon-theme.
* gnu/packages/gnome.scm (arc-icon-theme): New variable.
2016-06-11 21:21:16 -04:00
David Thompson 9987c57c74 gnu: Add moka-icon-theme.
* gnu/packages/gnome.scm (moka-icon-theme): New variable.
2016-06-11 21:21:16 -04:00
David Thompson 813f814a29 gnu: Add arc-theme.
* gnu/packages/gnome.scm (arc-theme): New variable.
2016-06-11 21:21:16 -04:00
Leo Famulari 1d4f0994f2 gnu: wireshark: Update to 2.0.4 [security fixes].
Fixes CVE-2016-{5350, 5351, 5352, 5353, 5354, 5355, 5356, 5357, 5358, 5359}.

* gnu/packages/networking.scm (wireshark): Update to 2.0.4.
2016-06-11 20:02:07 -04:00
ng0 bb88a9a976 gnu: libmicrohttpd: Update to 0.9.50.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.50.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-06-11 19:35:12 -04:00
Leo Famulari b414c115d8 gnu: signify: Update to 18.
* gnu/packages/crypto.scm (signify): Update to 18.
2016-06-11 18:54:37 -04:00
Taylan Ulrich Bayırlı/Kammer 6b741f6898 gnu: higan: Update to v099.
This release removes the "balanced" emulation core (aka profile).
2016-06-12 01:31:16 +03:00
Ricardo Wurmus 945939a5b4 gnu: gnucash: Add support for AqBanking.
* gnu/packages/gnucash.scm (gnucash)[inputs]: Add aqbanking.
[arguments]: Add configure flag to enable aqbanking.
2016-06-11 16:52:51 +02:00
Ricardo Wurmus 445aa13753 gnu: Add AqBanking.
* gnu/packages/gnucash.scm (aqbanking): New variable.
2016-06-11 16:52:51 +02:00
Ricardo Wurmus 5c881f3211 gnu: Add gwenhywfar.
* gnu/packages/gnucash.scm (gwenhywfar): New variable.
2016-06-11 16:07:08 +02:00
Ricardo Wurmus e4aab73487 gnu: xmlsec: Enable gnutls support.
* gnu/packages/xml.scm (xmlsec)[native-inputs]: Add pkg-config.
2016-06-11 16:07:08 +02:00
Ricardo Wurmus c71c8b97a2 gnu: gnucash: Add "license:" prefix.
* gnu/packages/gnucash.scm: Import licenses with "license:" prefix.
(gnucash)[license]: Add prefix.
2016-06-11 16:07:08 +02:00
宋文武 45dda35eed gnu: Add python-pykafka and python2-pykafka.
* gnu/packages/python.scm (python-pykafka, python2-pykafka): New variables.
2016-06-11 12:53:09 +08:00
宋文武 1c4c8a33d7 gnu: Add python-kazoo and python2-kazoo.
* gnu/packages/python.scm (python-kazoo, python2-kazoo): New variables.
2016-06-11 12:53:09 +08:00
宋文武 d951bd547c gnu: Add python-tabulate and python2-tabulate.
* gnu/packages/python.scm (python-tabulate, python2-tabulate): New variables.
2016-06-11 12:53:09 +08:00
宋文武 2c1286f48b gnu: Add librdkafka.
* gnu/packages/networking.scm (librdkafka): New variable.
2016-06-11 12:53:09 +08:00
Peter 59befb7f31 gnu: fish: Update to 2.3.0.
* gnu/packages/fish.scm (fish): Update to 2.3.0.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-06-11 12:53:09 +08:00
Leo Famulari 45de649a56 gnu: git: Update to 2.8.4.
* gnu/packages/version-control.scm (git): Update to 2.8.4.
(git-manpages)[source]: Update hash.
2016-06-10 23:16:53 -04:00
宋文武 963521a380 profiles: manifest-lookup-package: Correctly handle package entries.
* guix/profiles.scm (manifest-lookup-package): Consider the package entry
in addition to its 'package-transitive-inputs'.
2016-06-11 11:05:18 +08:00
宋文武 359f06aac8 profiles: xdg-mime-database: Union the "share/mime/packages" directory.
* guix/profiles.scm (xdg-mime-database): Call 'union-build' for the
"share/mime/packages" directory of inputs.
2016-06-11 11:03:31 +08:00
Leo Famulari 436dd04636 gnu: expat: Fix CVE-2012-6702 and CVE-2016-5300.
* gnu/packages/patches/expat-CVE-2012-6702-and-CVE-2016-5300.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/xml.scm (expat/fixed): Use it.
2016-06-10 20:33:45 -04:00
Mark H Weaver a50afcf931 gnu: linux-libre: Update to 4.6.2.
* gnu/packages/linux.scm (linux-libre): Update to 4.6.2.
2016-06-10 16:33:30 -04:00
Mark H Weaver c785fe13e1 gnu: linux-libre-4.4: Update to 4.4.13.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.13.
2016-06-10 16:32:41 -04:00
Mark H Weaver 08ffddead3 gnu: linux-libre-4.1: Update to 4.1.26.
* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.26.
2016-06-10 16:31:50 -04:00
Taylan Ulrich Bayırlı/Kammer 7c6058c082 gnu: higan: Various improvements.
* gnu/packages/games.scm (higan): Use semi-official repository at GitLab
(using hotfix tag 098b which is equivalent to official release 098).
Add a patch to remove the build flag -march=native.  Set profile to
balanced.
* gnu/packages/patches/higan-remove-march-native-flag.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-06-10 17:40:27 +03:00
Ludovic Courtès c59f62e9cb gnu: dstat: Adjust license.
* gnu/packages/admin.scm (dstat)[license]: Change to GPL2+.
2016-06-10 15:23:01 +02:00
Peter 1a0346f060 gnu: Add dstat.
* gnu/packages/admin.scm (dstat): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-06-10 15:21:26 +02:00
Clément Lassieur 0ee23de941 gnu: Add woof.
* gnu/packages/web.scm (woof): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-06-10 15:21:26 +02:00
Patrick Hetu 9e8599a3b1 gnu: g-wrap: Install modules to 'site/2.0'.
* gnu/packages/guile.scm (g-wrap)[arguments]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-06-10 15:21:26 +02:00
Roel Janssen b92d02d978 gnu: Add sparql-query.
* gnu/packages/databases.scm (sparql-query): New variable.
2016-06-10 14:45:41 +02:00
Efraim Flashner aece7602d9 gnu: qtbase: Update to 5.6.1.
* gnu/packages/qt.scm (qtbase): Update to 5.6.1.
2016-06-10 15:00:56 +03:00
Ludovic Courtès e4c7a5f7c8 publish: Add '--ttl'.
* guix/scripts/publish.scm (show-help, %options): Add --ttl.
(render-narinfo): Add #:ttl and honor it.
(make-request-handler): Add #:narinfo-ttl and honor it.
(run-publish-server): Likewise.
(guix-publish): Honor --ttl, pass it to 'run-publish-server'.
2016-06-09 23:34:56 +02:00
Ludovic Courtès 638c5b7939 ui: 'string->duration' supports hours and seconds.
* guix/ui.scm (string->duration): Add seconds and hours.
* tests/ui.scm ("duration, 1 second"): New test.
2016-06-09 23:34:56 +02:00
ng0 2eca2d6267 gnu: st: Update to 0.6
* gnu/packages/suckless.scm (st): Update to 0.6.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-06-09 21:57:43 +03:00
ng0 4aecc79bd7 gnu: weechat: Update to 1.5.
* gnu/packages/irc.scm (weechat): Update to 1.5.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-06-09 21:53:10 +03:00
Lukas Gradl 5f6aba6b62 gnu: Add googletest.
* gnu/packages/check.scm (googletest): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-06-09 21:38:51 +03:00
Efraim Flashner 1f3cf0fdad gnu: owncloud-client: Update to 2.2.1.
* gnu/packages/owncloud.scm (owncloud-client): Update to 2.2.1.
2016-06-09 09:48:58 +03:00
宋文武 4e5300492b gnu: xboard: Update to 4.9.0, use GTK+ front-end.
* gnu/packages/games.scm (xboard): Update to 4.9.0.
[inputs]: Add gtk+-2.
2016-06-09 14:32:18 +08:00
Mark H Weaver 993b400acb Revert "gnu: libxml2: Add fix for CVE-2016-1762."
This reverts commit 6e4f18cfdd.
2016-06-08 18:17:13 -04:00
Mark H Weaver 6e4f18cfdd gnu: libxml2: Add fix for CVE-2016-1762.
* gnu/packages/patches/libxml2-CVE-2016-1762.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/xml.scm (libxml2/fixed)[source]: Add patch.
2016-06-08 14:26:54 -04:00
Mark H Weaver 98d9182205 gnu: icecat: Add fixes for CVE-2016-{2818,2819,2821,2824,2828,2831}.
* gnu/packages/patches/icecat-CVE-2016-2818-pt1.patch,
gnu/packages/patches/icecat-CVE-2016-2818-pt2.patch,
gnu/packages/patches/icecat-CVE-2016-2818-pt3.patch,
gnu/packages/patches/icecat-CVE-2016-2818-pt4.patch,
gnu/packages/patches/icecat-CVE-2016-2818-pt5.patch,
gnu/packages/patches/icecat-CVE-2016-2818-pt6.patch,
gnu/packages/patches/icecat-CVE-2016-2818-pt7.patch,
gnu/packages/patches/icecat-CVE-2016-2818-pt8.patch,
gnu/packages/patches/icecat-CVE-2016-2818-pt9.patch,
gnu/packages/patches/icecat-CVE-2016-2819.patch,
gnu/packages/patches/icecat-CVE-2016-2821.patch,
gnu/packages/patches/icecat-CVE-2016-2824.patch,
gnu/packages/patches/icecat-CVE-2016-2828.patch,
gnu/packages/patches/icecat-CVE-2016-2831.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patches.
2016-06-08 14:26:54 -04:00
Mark H Weaver c7c49446eb gnu: libvpx: Add fix for CVE-2016-2818.
* gnu/packages/patches/libvpx-CVE-2016-2818.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/video.scm (libvpx)[source]: Add patch.
2016-06-08 14:26:54 -04:00
Ludovic Courtès 93961f0298 publish: Encore URIs that appear in narinfos.
Fixes <http://bugs.gnu.org/21888>.
Reported by iyzsong@member.fsf.org (宋文武).

* guix/scripts/publish.scm (narinfo-string): Use
'encode-and-join-uri-path' instead of 'string-append' to compute URL.
* tests/publish.scm ("/*.narinfo with properly encoded '+' sign"):
("/nar/ with properly encoded '+' sign"): New tests.
2016-06-08 19:07:58 +02:00
Ludovic Courtès dc794a7238 gnu-maintenance: Replace 'find-packages' with 'find-package' (singular).
Fixes <http://bugs.gnu.org/23718>.
Reported by Efraim Flashner <efraim@flashner.co.il>.

* guix/gnu-maintenance.scm (find-packages): Remove.
(find-package): New procedure.
* guix/import/gnu.scm (gnu->guix-package): Use 'find-package' instead of
'find-packages' and adjust accordingly.
2016-06-08 19:07:58 +02:00
Ludovic Courtès ae76830857 doc: Add missing quotes in wpa_supplicant example.
Reported by Kete Foy <kete@ninthfloor.org>.

* doc/guix.texi (Preparing for Installation): Add quotes in
wpa_supplicant example.
2016-06-08 19:07:58 +02:00
Efraim Flashner a134cc8e93 gnu: vlc: Update to 2.2.4 [fixes CVE-2016-5108].
* gnu/packages/video.scm (vlc): Update to 2.2.4.
[inputs]: Remove qt, add qtbase.
[arguments]: Add phase to disable display test.
2016-06-08 17:11:42 +03:00
Ben Woodcroft dae620b8fe gnu: Add ruby-concurrent.
* gnu/packages/ruby.scm (ruby-concurrent): New variable.
* gnu/packages/patches/ruby-concurrent-ignore-broken-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-06-08 21:36:02 +10:00
Ben Woodcroft 3cc7809745 gnu: Add ruby-timecop.
* gnu/packages/ruby.scm (ruby-timecop): New variable.
2016-06-08 21:28:20 +10:00
Ben Woodcroft 606ee9a113 gnu: ruby-activesupport: Add 'ruby-tzinfo-data' propagated input.
* gnu/packages/ruby.scm (ruby-activesupport)[propagated-inputs]: Add
'ruby-tzinfo-data'.
2016-06-08 21:28:20 +10:00
Ben Woodcroft 1e12924ae5 gnu: Add ruby-tzinfo-data.
* gnu/packages/ruby.scm (ruby-tzinfo-data): New variable.
* gnu/packages/patches/ruby-tzinfo-data-ignore-broken-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-06-08 21:28:20 +10:00
Leo Famulari b402cb7741 gnu: libressl: Update to 2.3.5.
* gnu/packages/tls.scm (libressl): Update to 2.3.5.
2016-06-08 00:08:01 -04:00
Taylan Ulrich Bayırlı/Kammer bcd2982fdf gnu: Add higan.
* gnu/packages/games.scm (higan): New variable.
2016-06-08 04:46:04 +03:00
Danny Milosavljevic d0b6fed6b8 gnu: Add python-ply.
* gnu/packages/python.scm (python-ply, python2-ply): New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-06-07 13:27:50 -04:00
8p8c 73c8d39c4b gnu: Add font-hack.
* gnu/packages/fonts.scm (font-hack): New variable.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-06-07 22:32:10 +08:00
Ricardo Wurmus 2d15f60126 gnu: java-swt: Use 64-bit archive on x86_64.
* gnu/packages/java.scm (java-swt)[source]: Use separate source archive
for x86_64.
2016-06-07 12:35:51 +02:00
Ludovic Courtès f82c58539e bournish: Allow compilation of multiple expressions.
* guix/build/bournish.scm (%bournish-language): Add a joiner to SCHEME.
Compile only to Scheme.
* tests/bournish.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
2016-06-06 18:14:52 +02:00
Ludovic Courtès 8bebe00a76 bournish: Handle EOF in the reader.
* guix/build/bournish.scm (read-bournish): Add case for EOF.
2016-06-06 18:14:52 +02:00
Ludovic Courtès febf7ef675 gnu: Add ghc-wl-pprint.
* gnu/packages/haskell.scm (ghc-wl-pprint): New variable.
2016-06-06 18:14:52 +02:00
Ludovic Courtès abbf26238d gnu: Add ghc-union-find.
* gnu/packages/haskell.scm (ghc-union-find): New variable.
2016-06-06 18:14:52 +02:00
Ludovic Courtès b6bfa2cacf gnu: Add ghc-indents.
* gnu/packages/haskell.scm (ghc-indents): New variable.
2016-06-06 18:14:52 +02:00
Ludovic Courtès 839415ecbc gnu: Add ghc-concatenative.
* gnu/packages/haskell.scm (ghc-concatenative): New variable.
2016-06-06 18:14:52 +02:00
Ludovic Courtès 2aa0bada76 gnu: Add ghc-aeson-pretty.
* gnu/packages/haskell.scm (ghc-aeson-pretty): New variable.
2016-06-06 18:14:52 +02:00
Ludovic Courtès b2c108ff33 file-systems: Remove unneeded import.
* gnu/system/file-systems.scm: Remove import of (guix gexp), unneeded
since commit 060d62a740.
2016-06-06 18:14:52 +02:00
Efraim Flashner 6e8dee98e5 gnu: qtkeychain: Update to 0.7.0.
* gnu/packages/qt.scm (qtkeychain): Update to 0.7.0.
2016-06-06 13:01:26 +03:00
Efraim Flashner 9acd40fee8 gnu: calibre: Update to 2.58.0.
* gnu/packages/ebook.scm (calibre): Update to 2.58.0.
2016-06-06 10:21:46 +03:00
Efraim Flashner eef988c82e gnu: python-pyqt: Use 'modify-phases'.
* gnu/packages/qt.scm (python-pyqt)[arguments]: Use 'modify-phases'.
2016-06-06 10:21:46 +03:00
Efraim Flashner 2be0681367 gnu: python-pyqt: Update to 5.6.
* gnu/packages/qt.scm (python-pyqt, python2-pyqt): Update to 5.6.
(python-pyqt)[native-inputs]: Remove qt, add qtbase.
(python2-pyqt)[native-inputs]: Remove qt, add qtbase.
2016-06-06 10:21:45 +03:00
Efraim Flashner 39766868a5 gnu: python-sip: Use 'modify-phases'.
* gnu/packages/qt.scm (python-sip)[arguments]: Use 'modify-phases'.
2016-06-06 10:21:44 +03:00
Efraim Flashner 8fa7f8d907 gnu: python-sip: Update to 4.18.
* gnu/packages/qt.scm (python-sip, python2-sip): Update to 4.18.
2016-06-06 10:21:43 +03:00
humanitiesNerd f9be43660f gnu: Add emacs-cider.
* gnu/packages/emacs.scm (emacs-cider): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-06-05 12:03:43 +03:00
宋文武 555d02e739 gnu: znc: Update to 1.6.3.
* gnu/packages/messaging.scm (znc): Update to 1.6.3.
2016-06-05 16:55:48 +08:00
宋文武 c3d38b2b9d gnu: services: Add dicod-service.
* gnu/services/dict.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi (Various Services): Document it.
2016-06-05 13:48:15 +08:00
Leo Famulari 64a42a08cd gnu: ntp: Update to 4.2.8p8 [fixes CVE-2016-{4953, 4954, 4955, 4956, 4957}].
* gnu/packages/ntp.scm (ntp): Update to 4.2.8p8.
2016-06-05 00:16:56 -04:00
Leo Famulari 620ce2ef23 gnu: ntp: Add HTTPS URL.
This works around an HTTP -> HTTPS redirection.

* gnu/packages/ntp.scm (ntp)[source]: Add HTTPS URL.
2016-06-05 00:16:56 -04:00
Leo Famulari 71cb237a7d services: urandom-seed: Refresh seed at boot.
* gnu/services/base.scm (urandom-seed-shepherd-service): Refresh the random
seed unconditionally at boot. Ensure directory structure for %random-seed-file
exists when shutting down.
(%urandom-seed-activation): Remove variable.
(urandom-seed-service-type): Remove deleted variable from list of extensions.
2016-06-05 00:06:26 -04:00
Ben Woodcroft 5d52ac7453 gnu: krona-tools: Correct paths used internally.
* gnu/packages/web.scm (krona-tools)[arguments]: Add 'check' phase.
Correct paths used internally.
2016-06-05 09:54:33 +10:00
Ludovic Courtès 40d71e44f5 profiles: 'profile-derivation' now honors #:system.
Fixes <http://bugs.gnu.org/23682>.
Reported by Ander GM <anthk@openmailbox.org>.

* guix/profiles.scm (profile-derivation): Pass #:system to
'gexp->derivation'.
* tests/guix-environment.sh: Add 'guix environment -s' test.
2016-06-05 00:05:38 +02:00
Nicolas Goaziou 834a2fc1ff gnu: Add Wireshark.
* gnu/packages/networking.scm (wireshark): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-06-05 00:05:38 +02:00
Hartmut Goebel 698bd29799 gnu: Use full SHA1 commit ids.
* gnu/packages/bioinformatics.scm (pbtranscript-tofu, mosaik,
  smithlab-cpp, piranha): Use full SHA1 commit ids.
* gnu/packages/ci.scm (hydra): Likewise.
* gnu/packages/compression.scm (sfarkxtc): Likewise.
* gnu/packages/emacs.scm (emacs-ob-ipython): Likewise.
* gnu/packages/games.scm (mars, emulation-station): Likewise.
* gnu/packages/gnunet.scm (guile-gnunet): Likewise.
* gnu/packages/music.scm (non-sequencer): Likewise.
* gnu/packages/version-control.scm (git-flow, git-test-sequence): Likewise.
* gnu/packages/xorg.scm (xf86-video-intel): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-06-05 00:05:38 +02:00
Ludovic Courtès 1713c37f83 doc: Mention the 'ip' command.
Suggested by Alex Kost <alezost@gmail.com>.

* doc/guix.texi (Preparing for Installation): Mention 'ip'.
2016-06-05 00:05:38 +02:00
Andreas Enge 7868000fe4 gnu: Add qtbase.
* gnu/packages/qt.scm (qtbase): New variable.

Co-authored by: Efraim Flashner <efraim@flashner.co.il>
2016-06-04 17:23:20 +02:00
Matthew Jordan ae60900199 gnu: Add emacs-helm.
* gnu/packages/emacs.scm (emacs-helm): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-06-04 15:45:32 +03:00
Alex Kost a88825d965 gnu: lirc: Update to 0.9.4.
* gnu/packages/lirc.scm (lirc): Update to 0.9.4.
[arguments]: Add 'patch-lirc-make-devinput' and 'patch-doc/Makefile.in'
phases.
[inputs]: Add 'libusb-compat' and 'linux-libre-headers'.
2016-06-04 15:43:47 +03:00
宋文武 da3aeeb62b gnu: Add python-twisted and python2-twisted.
* gnu/packages/python.scm (python-twisted, python2-twisted): New variables.
2016-06-04 16:05:07 +08:00
宋文武 d79a343b91 gnu: Add python-gevent and python2-gevent.
* gnu/packages/python.scm (python-gevent, python2-gevent): New variables.
2016-06-04 15:07:11 +08:00
宋文武 68b9d2422c gnu: Add python-greenlet and python2-greenlet.
* gnu/packages/python.scm (python-greenlet, python2-greenlet):
New variables.
2016-06-04 15:07:03 +08:00
Leo Famulari 85de436530 gnu: smartmontools: Update to 6.5.
* gnu/packages/admin.scm (smartmontools): Update to 6.5.
2016-06-03 23:13:21 -04:00
Ben Woodcroft 6ac0a0fbe7 gnu: diamond: Update to 0.8.5.
* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.5.
2016-06-04 09:28:54 +10:00
Matthew Jordan 3aeb6e1d1a gnu: Add ruby-spring.
* gnu/packages/rails.scm (ruby-spring): New variable.
2016-06-04 09:16:07 +10:00
Matthew Jordan 90322fdbe3 gnu: Add ruby-debug-inspector.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/rails.scm: New file.
2016-06-04 09:15:57 +10:00
Leo Famulari 1c5ee417f4 gnu: imagemagick: Update to 6.9.4-7.
* gnu/packages/patches/imagemagick-CVE-2016-5118.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.4-7.
[source]: Remove patch.
2016-06-03 16:45:13 -04:00
Danny Milosavljevic b37b854e2d gnu: wxwidgets: Enable support for "advanced" regular expressions.
* gnu/packages/wxwidgets.scm (wxwidgets)[arguments]: Enable support for
"advanced" regular expressions.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-06-03 16:23:41 -04:00
Leo Famulari d0533afa3b gnu: certbot, python-acme: Update to 0.8.0.
These packages should be updated together.

* gnu/packages/tls.scm (certbot): Update to 0.8.0.
[arguments]: Remove substitution in 'docs' phase.
(python-acme, python-acme): Update to 0.8.0.
2016-06-03 15:38:22 -04:00
David Thompson e08580c5c3 gnu: emacs-yaml-mode: Fix source hash.
* gnu/packages/emacs.scm (emacs-yaml-mode)[source]: Fix hash.
2016-06-03 11:42:17 -04:00
David Thompson 7529c883af gnu: Add emacs-web-mode.
* gnu/packages/emacs.scm (emacs-web-mode): New variable.
2016-06-03 08:54:25 -04:00
David Thompson 63de1231e2 gnu: Add emacs-yaml-mode.
* gnu/packages/emacs.scm (emacs-yaml-mode): New variable.
2016-06-03 08:54:25 -04:00
David Thompson 529fe99204 gnu: Add emacs-ido-ubiquitous.
* gnu/packages/emacs.scm (emacs-ido-ubiquitous): New variable.
2016-06-03 08:54:25 -04:00
David Thompson 65b49ae702 gnu: Add emacs-ido-completing-read+.
* gnu/packages/emacs.scm (emacs-ido-completing-read+): New variable.
2016-06-03 08:54:25 -04:00
David Thompson c86f0207ce gnu: Add emacs-rainbow-delimiters.
* gnu/packages/emacs.scm (emacs-rainbow-delimiters): New variable.
2016-06-03 08:54:25 -04:00
David Thompson 4aea1e0160 gnu: Add emacs-elfeed.
* gnu/pacakges/emacs.scm (emacs-elfeed): New variable.
2016-06-03 08:54:25 -04:00
David Thompson a2670dde10 gnu: Add emacs-projectile.
* gnu/packages/emacs.scm (emacs-projectile): New variable.
2016-06-03 08:54:25 -04:00
David Thompson b78b6e8040 gnu: Add emacs-markdown-mode.
* gnu/packages/emacs.scm (emacs-markdown-mode): New variable.
2016-06-03 08:54:25 -04:00
David Thompson 3e5be84b69 gnu: Add emacs-js2-mode.
* gnu/packages/emacs.scm (emacs-js2-mode): New variable.
2016-06-03 08:54:25 -04:00
David Thompson c5c08f1b1e gnu: Add emacs-smex.
* gnu/packages/emacs.scm (emacs-smex): New variable.
2016-06-03 08:54:25 -04:00
Ludovic Courtès ad1c453731 gnu: ipopt: Use libblas from LAPACK, and fix 'Libs' in 'ipopt.pc'.
* gnu/packages/maths.scm (ipopt)[inputs]: Remove OPENBLAS.
[arguments]: New field.
2016-06-03 14:37:26 +02:00
Ludovic Courtès f9940ef1e8 gnu: Add ceres-solver.
* gnu/packages/maths.scm (ceres): New variable.
2016-06-03 13:54:39 +02:00
Ludovic Courtès 4b4e1b4b26 gnu: Add gflags.
* gnu/packages/popt.scm (gflags): New variable.
2016-06-03 13:54:39 +02:00
Efraim Flashner 085115ed8c gnu: gdb: Update to 7.11.1.
* gnu/packages/gdb.scm (gdb): Update to 7.11.1.
2016-06-03 13:52:23 +03:00
McKinley Olsen 89978a0a0d gnu: Add Termite.
* gnu/packages/terminals.scm (termite): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-06-03 10:26:42 +02:00
Ludovic Courtès 0e69cf67cb doc: Explain that packages can be installed in the installation system.
* doc/guix.texi (Preparing for Installation): Add paragraph about
package installation in the installation system.
2016-06-03 10:26:42 +02:00
Mark H Weaver d9e61683cc gnu: linux-libre: Update to 4.6.1.
* gnu/packages/linux.scm (linux-libre): Update to 4.6.1.
2016-06-03 03:51:58 -04:00
Mark H Weaver 7f125616ca gnu: linux-libre-4.4: Update to 4.4.12.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.12.
2016-06-03 03:50:20 -04:00
Ludovic Courtès 6cde5c34a1 gnu: icecat: Install '.desktop' entry.
Fixes <http://bugs.gnu.org/23094>.
Reported by Danny Milosavljevic <dannym@scratchpost.org>.

* gnu/packages/gnuzilla.scm (icecat)[arguments]: Add
'install-desktop-entry' phase.
2016-06-02 19:11:14 +02:00
Ludovic Courtès 005c787d59 gnu: Add IpOpt.
* gnu/packages/maths.scm (ipopt): New variable.
2016-06-02 19:11:14 +02:00
David Thompson 7cd9b01407 gnu: bundler: Update to 1.12.5.
* guix/packages/ruby.scm (bundler): Update to 1.12.5.
2016-06-02 10:47:06 -04:00
Lukas Gradl 4ff2060524 gnu: Add libiax2.
* gnu/packages/telephony.scm (libiax2): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-06-01 21:32:22 -04:00
Leo Famulari 234d0b6914 gnu: certbot, python-acme: Update to 0.7.0.
These packages should be updated together.

* gnu/packages/tls.scm (certbot): Update to 0.7.0.
(arguments): Adjust 'docs' phase to new build system and work around upstream
typo.
(python-acme, python2-acme): Update to 0.7.0.
2016-06-01 20:31:54 -04:00
Hartmut Goebel 99c866a0bb doc: Update specification for Python packages
* doc/guix.texi (Python Packages): Add rule for packages with upstream
  name starting with "py".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-06-01 23:02:04 +02:00
Ludovic Courtès d23ef788b3 doc: Clarify non-interference when installed on a foreign distro.
Suggested by Hartmut Goebel <h.goebel@crazy-compilers.com>.

* doc/guix.texi (Installation): Add paragraph explaining that files live
in two directories.
2016-06-01 22:56:33 +02:00
Hartmut Goebel 4a23818659 gnu: Add python2-ipaddr.
* gnu/packages/python.scm: (python2-ipaddr): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-06-01 22:42:35 +02:00
Hartmut Goebel 1a024de45e gnu: Add python-sqlparse and python2-sqlparse.
* gnu/packages/python.scm (python-sqlparse, python2-sqlparse):
New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-06-01 22:38:45 +02:00
Hartmut Goebel b8fdbca320 gnu: Add python-tblib and python2-tblib.
* gnu/packages/python.scm (python-tblib, python2-tblib): New
variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-06-01 22:31:26 +02:00
Hartmut Goebel af3166c335 gnu: Add dfu-util.
* gnu/packages/flashing-tools.scm (dfu-util): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-06-01 22:26:06 +02:00
Ludovic Courtès b2e13aa287 doc: Suggest pgp.mit.edu.
* doc/guix.texi (Binary Installation): Use pgp.mit.edu instead of
keys.gnupg.net, which seems to be dead.
2016-06-01 22:25:57 +02:00
McKinley Olsen c44fb4df8a gnu: Add vte-ng.
* gnu/packages/gnome.scm (vte-ng): New variable.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-06-01 21:25:16 +08:00
Leo Famulari 1c6303fae0 gnu: icedtea: Update to 1.13.11.
Fixes CVE-2016-{0686, 0687, 0695, 3425, 3427}.

* gnu/packages/patches/icedtea-remove-overrides.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/java.scm (icedtea): Update to 1.13.11.
[source]: Use the patch.
[inputs]: Add libxcomposite.
2016-06-01 02:29:01 -04:00
Mark H Weaver f0e60e89cb gnu: autogen: Fix source URL.
* gnu/packages/autogen.scm (autogen)[source]: Fix source URL.
2016-06-01 00:00:36 -04:00
Ludovic Courtès 0adabad72d install: 'cow-store' now bind-mounts the target's /tmp.
Reported by Matthew Jordan <matthewjordandevops@yandex.com>
at <https://lists.gnu.org/archive/html/guix-devel/2016-05/msg00967.html>.

* gnu/system/install.scm (make-cow-store): Bind-mount TARGET's /tmp
on /tmp.
2016-05-31 23:38:51 +02:00
Ludovic Courtès 405d043ddd import: github: Tiny cosmetic change.
* guix/import/github.scm (find-extension): Use a one-argument lambda.
2016-05-31 23:38:51 +02:00
Danny Milosavljevic f40dfcd055 gnu: rofi: New variable.
* gnu/packages/xdisorg.scm (rofi): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-31 17:21:11 -04:00
Alex Kost 37dbfc5084 gnu: emacs-constants: Fix source file-name.
Fixes a regression introduced in f99f3f24ef.

* gnu/packages/emacs.scm (emacs-constants)[source]: Fix file-name.
2016-05-31 23:51:54 +03:00
Alex Kost b097dd72c4 emacs: Add "Build Log" button to Package Info.
* emacs/guix-main.scm (package-build-log-file): New procedure.
* emacs/guix-ui-package.el (guix-package-build-log-file)
(guix-package-find-build-log)
(guix-package-info-insert-build-log-button): New procedures.
(guix-package-info-button-functions): Add
'guix-package-info-insert-build-log-button'.
2016-05-31 23:51:54 +03:00
Alex Kost e98316e69f emacs: Add "Build" button to Package Info.
* emacs/guix-main.scm: Use (guix scripts) module for 'build-package'
procedure.
* emacs/guix-base.el (guix-build-package): New procedure.
* emacs/guix-ui-package.el (guix-package-info-insert-build-button): New
procedure.
(guix-package-info-button-functions): New variable.
(guix-package-info-insert-misc): Insert buttons using it.
2016-05-31 23:51:54 +03:00
Alex Kost 65e5fe54ba emacs: Extend 'guix-mapinsert'.
* emacs/guix-utils.el (guix-mapinsert): Add 'indent' and 'column'
keyword arguments.
2016-05-31 23:51:54 +03:00
Alex Kost d01ebd05d1 emacs: Show built output directories in Package Info.
* emacs/guix-main.scm (package-store-path): New procedure.
* emacs/guix-base.el (guix-package-store-path): New procedure.
* emacs/guix-ui-package.el (guix-package-info-auto-find-package): New
variable.
(guix-package-info-show-store-path, guix-package-info-insert-misc): New
procedures.
(guix-package-info-format, guix-output-info-format): Add
'guix-package-info-insert-misc'.
2016-05-31 23:51:54 +03:00
Tomáš Čech 7a0094a5f2 gnu: taskwarrior: Update to 2.5.1
* gnu/packages/task-management.scm (taskwarrior): Update to 2.5.1.
2016-05-31 22:14:52 +02:00
Tomáš Čech 6ba8ca17fb gnu: Add py3status.
* gnu/packages/python.scm (python-py3status): New variable.
2016-05-31 22:08:10 +02:00
Efraim Flashner c095330a8c gnu: nginx: Update to 1.10.1 [Fixes CVE-2016-4450].
* gnu/packages/web.scm (nginx): Update to 1.10.1.
2016-05-31 22:50:41 +03:00
Efraim Flashner 99e4aa54a6 gnu: autogen: Use 'modify-phases'.
* gnu/packages/autogen.scm (autogen)[arguments]: Use 'modify-phases'.
2016-05-31 22:24:59 +03:00
Efraim Flashner e85ff3e2fd gnu: autogen: Update to 5.18.10.
* gnu/packages/autogen.scm (autogen): Update to 5.18.10.
2016-05-31 22:20:57 +03:00
Efraim Flashner d5047266a9 gnu: scrot: Use 'modify-phases'.
* gnu/packages/xdisorg.scm (scrot)[arguments]: Use 'modify-phases'.
2016-05-31 22:11:35 +03:00
Efraim Flashner c5d15d41b7 gnu: scrot: Fix typo in source uri.
* gnu/packages/xdisorg.scm (scrot)[source]: Fix typo in uri.

This is a follow-up to 9da459f350.
2016-05-31 22:09:43 +03:00
Efraim Flashner 2fe176be0f gnu: emms: Use 'modify-phases'.
* gnu/packages/emacs.scm (emms)[arguments]: Use 'modify-phases'.
2016-05-31 22:05:44 +03:00
Efraim Flashner 0985f5269c gnu: emms: Update to 4.1.
* gnu/packages/emacs.scm (emms): Update to 4.1.
2016-05-31 22:05:44 +03:00
Efraim Flashner b1b8497925 gnu: librecad: Update to 2.0.11.
* gnu/packages/engineering.scm (librecad): Update to 2.0.11.
2016-05-31 22:05:44 +03:00
Efraim Flashner 805117827c gnu: dosfstools: Update to 4.0.
* gnu/packages/disk.scm (dosfstools): Update to 4.0.
[arguments]: Re-enable the 'configure phase.
2016-05-31 22:05:44 +03:00
Efraim Flashner 2b8ca5fcb4 gnu: microscheme: Update to 0.9.3.
* gnu/packages/avr.scm (microscheme): Update to 0.9.3.
2016-05-31 22:05:44 +03:00
Efraim Flashner b52ae4de46 gnu: munge: Update to 0.5.12.
* gnu/packages/admin.scm (munge): Update to 0.5.12.
2016-05-31 22:05:44 +03:00
Efraim Flashner b93efac026 import github: Add to extension list.
* guix/import/github.scm (find-extension): Add '.tgz' extension.
2016-05-31 22:05:44 +03:00
Efraim Flashner 57d83cd29b gnu: obs: Update to 0.14.2.
* gnu/packages/video.scm (obs): Update to 0.14.2.
2016-05-31 22:05:44 +03:00
David Thompson 13384842f8 gnu: emacs-better-defaults: Specify source file name.
* gnu/packages/emacs.scm (emacs-better-defaults)[source]: Specify a
  useful file name, as usual with tarballs from GitHub.
2016-05-31 13:41:15 -04:00
Leo Famulari e88eb07110 gnu: imagemagick: Fix CVE-2016-5118.
* gnu/packages/patches/imagemagick-CVE-2016-5118.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/imagemagick.scm (imagemagick): Use it.
2016-05-31 13:38:40 -04:00
Leo Famulari 4d93a76138 gnu: graphicsmagick: Update to 1.3.24 [security update].
Fixes CVE-2016-{2317, 2318, 5118} and many other security issues
described in 'NEWS.txt'.

* gnu/packages/patches/graphicsmagick-CVE-2016-5118.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/imagemagick.scm (graphicsmagick): Update to 1.3.24.
[source]: Remove patch.
2016-05-31 13:33:09 -04:00
Ludovic Courtès 151afd84dc daemon: Substitute queries return immediately when substitutes are disabled.
Reported by Federico Beffa <beffa@ieee.org>
at <https://lists.gnu.org/archive/html/guix-devel/2016-05/msg00928.html>.

* nix/libstore/local-store.cc (LocalStore::querySubstitutablePaths)
(LocalStore::querySubstitutablePathInfos): Return when
'settings.useSubstitutes' is false.
* tests/store.scm ("references/substitutes missing reference info"):
Make sure to return #f on failure.
* tests/store.scm ("substitutable-path-info when substitutes are turned off"):
("substitutable-paths when substitutes are turned off"): New tests.
2016-05-31 18:22:14 +02:00
Ludovic Courtès 4078fa8f72 daemon: Fix typo.
Fixes a regression/typo introduced in
e08380fb6c.

* nix/libstore/build.cc (DerivationGoal::startBuilder): Canonicalize
"/tmp", not "/tmp/guix-build".
2016-05-31 18:22:14 +02:00
Ludovic Courtès 0a40626fd2 offload: Use (guix build syscalls).
This is a followup to 4e0ea3eb28.

* guix/scripts/offload.scm: Use (guix build syscalls).
2016-05-31 18:22:14 +02:00
Ludovic Courtès 75abbd0cbe daemon: Remove unused XML output code.
* nix/local.mk (libutil_a_SOURCES): Remove libutil/xml-writer.cc.
(libutil_headers): Remove libutil/xml-writer.hh.
* nix/libutil/xml-writer.hh, nix/libutil/xml-writer.cc: Remove.
2016-05-31 18:22:14 +02:00
Ricardo Wurmus 23aab4ab2c gnu: Add ghmm.
* gnu/packages/machine-learning.scm (ghmm): New variable.
2016-05-31 17:01:03 +02:00
Efraim Flashner a5dd8db4ff gnu: gimp: Update to 2.8.16.
* gnu/packages/gimp.scm (gimp): Update to 2.8.16.
2016-05-31 17:50:08 +03:00
Ricardo Wurmus 64efa3078a gnu: Add r-genomationdata.
* gnu/packages/bioinformatics.scm (r-genomationdata): New variable.
2016-05-31 16:29:37 +02:00
Ricardo Wurmus aa3b391092 gnu: Add r-runit.
* gnu/packages/statistics.scm (r-runit): New variable.
2016-05-31 16:24:59 +02:00
Ricardo Wurmus 8170172502 gnu: julia: Update to 0.4.5.
* gnu/packages/julia.scm (julia): Update to 0.4.5.
(libuv-julia): Update commit.
2016-05-31 16:21:31 +02:00
Ricardo Wurmus 4ce3c2872b gnu: Add r-knitrbootstrap.
* gnu/packages/statistics.scm (r-knitrbootstrap): New variable.
2016-05-31 16:18:14 +02:00
Eelco Dolstra b4528110c6 daemon: rounds: Keep the differing output if -K is given.
Regardless of -K, we now also print which output differs.
2016-05-31 14:25:28 +02:00
Eelco Dolstra 56b8f56788 daemon: Canonicalize gids to 0.
Previously files in the Nix store were owned by root or by nixbld,
depending on whether they were created by a substituter or by a
builder. This doesn't matter much, but causes spurious diffoscope
differences. So use root everywhere.
2016-05-31 14:25:28 +02:00
Eelco Dolstra 7f3b2510d6 daemon: check: Keep the differing output if -K is given.
This makes it easier to investigate the non-determinism, e.g.

  $ nix-build pkgs/stdenv/linux -A stage1.pkgs.zlib --check -K
  error: derivation ‘/nix/store/l54i8wlw22656i4pk05c52ngv9rpl39q-zlib-1.2.8.drv’ may not be deterministic: output ‘/nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8’ differs from ‘/nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8-check’

  $ diffoscope /nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8 /nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8-check
  ...
  ├── lib/libz.a
  │   ├── metadata
  │   │ @@ -1,15 +1,15 @@
  │   │ -rw-r--r-- 30001/30000   3096 Jan 12 15:20 2016 adler32.o
  ...
  │   │ +rw-r--r-- 30001/30000   3096 Jan 12 15:28 2016 adler32.o
  ...

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-05-31 14:25:28 +02:00
Eelco Dolstra 7889e72dad daemon: check: Fix "failed to produce output path".
This occured when sandbox building is disabled, at least one output
exists, and at least one other output does not.
2016-05-31 14:25:28 +02:00
Eelco Dolstra f83e82cd00 daemon: check: Fix assertion failure when some outputs are missing.
E.g.

  $ nix-build pkgs/stdenv/linux/ -A stage1.pkgs.perl --check
  nix-store: src/libstore/build.cc:1323: void nix::DerivationGoal::tryToBuild(): Assertion `buildMode != bmCheck || validPaths.size() == drv->outputs.size()' failed.

when perl.out exists but perl.man doesn't. The fix is to only check
the outputs that exist. Note that "nix-build -A stage1.pkgs.all
--check" will still give a (proper) error in this case.
2016-05-31 14:25:28 +02:00
Eelco Dolstra c56cd90cc9 daemon: When repairing, rebuild if there is no substituter. 2016-05-31 14:25:28 +02:00
Eelco Dolstra 1a9574e3a7 daemon: Fix --repair failure on multiple-output derivations.
If repair found a corrupted/missing path that depended on a
multiple-output derivation, and some of the outputs of the latter were
not present, it failed with a message like

  error: path ‘/nix/store/cnfn9d5fjys1y93cz9shld2xwaibd7nn-bash-4.3-p42-doc’ is not valid

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-05-31 14:25:28 +02:00
Eelco Dolstra 63a5be07e2 daemon: ~PathLocks(): Handle exceptions.
Otherwise, since the call to write a "d" character to the lock file
can fail with ENOSPC, we can get an unhandled exception resulting in a
call to terminate().
2016-05-31 14:25:28 +02:00
Eelco Dolstra e08380fb6c daemon: Handle /tmp being a symlink.
* nix/libstore/build.cc (DerivationGoal::startBuilder): Call 'canonPath'
on "/tmp".
2016-05-31 14:25:28 +02:00
Leo Famulari 8fe5d95e66 services: urandom-seed: Set umask to 077 while shutting down.
* gnu/services/base.scm (urandom-seed-shepherd-service): Call 'umask'.
2016-05-31 00:03:10 -04:00
Leo Famulari df2dd07b88 gnu: libxml2: Update replacement to 2.9.4 [security fixes].
This fixes CVE-2016-{1762, 1833, 1834, 1835, 1836, 1837, 1838, 1839,
1840, 3627, 3705, 4483}.

* gnu/packages/patches/libxml2-CVE-2016-3627.patch,
gnu/packages/patches/libxml2-CVE-2016-3705.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
* gnu/packages/xml.scm (libxml2/fixed): Update to 2.9.4.
[source]: Remove patches.
2016-05-30 21:47:40 -04:00
Ludovic Courtès c06f6db7a4 container: Gracefully report mount errors in the child process.
Fixes <http://bugs.gnu.org/23306>.

* gnu/build/linux-container.scm (run-container): Use 'socketpair'
instead of 'pipe'.  Rename 'in' to 'child' and 'out' to 'parent'.  Send
a 'ready message or an exception argument list from the child to the
parent; adjust the parent accordingly.
* tests/containers.scm ("call-with-container, mnt namespace, wrong bind
mount"): New test.
* tests/guix-environment-container.sh: Add test with
--expose=/does-not-exist.
2016-05-31 00:11:04 +02:00
Ludovic Courtès 4c14d4eaa7 container: Gracefully handle failure to set up user namespaces.
* gnu/build/linux-container.scm (run-container): Exit when the parent
process doesn't say 'ready.
2016-05-31 00:11:04 +02:00
Efraim Flashner 552ffa021c download: Update CPAN mirrors.
* guix/download.scm (mirrors)[cpan]: Add to mirror list.
2016-05-31 00:05:54 +03:00
Efraim Flashner f80d5fe02e gnu: vapoursynth: Update to 32.
* gnu/packages/video.scm (vapoursynth): Update to 32.
2016-05-30 22:22:26 +03:00
Efraim Flashner 365a4a7f40 gnu: Add zimg.
* gnu/packages/image.scm (zimg): New variable.
2016-05-30 22:22:25 +03:00
Efraim Flashner fd1461879c gnu: mcrypt: Fix CVE-2012-4409, CVE-2012-4426, CVE-2012-4527.
* gnu/packages/mcrypt.scm (mcrypt)[source]: Add patches.
* gnu/packages/patches/mcrypt-CVE-2012-4409.patch,
gnu/packages/patches/mcrypt-CVE-2012-4426.patch,
gnu/packages/patches/mcrypt-CVE-2012-4527.patch: New variables.
* gnu/local.mk (dist_patch_DATA): Add them.
2016-05-30 21:57:36 +03:00
Leo Famulari 5ae77a6f5a gnu: imagemagick: Update to 6.9.4-5.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.4-5.
2016-05-30 14:08:08 -04:00
David Thompson 503a43f3fc gnu: Remove xgcc-avr.
We now have a dedicated package module for the AVR toolchain with
important modifications on top of what cross-gcc produces.

* gnu/packages/cross-base.scm (xgcc-avr): Delete.
2016-05-30 13:45:21 -04:00
David Thompson 9d2bab09aa gnu: Add avr-toolchain.
* gnu/packages/avr.scm (avr-toolchain): New procedure.
(avr-toolchain-4.9, avr-toolchain-5): New variables.
2016-05-30 13:45:21 -04:00
David Thompson 3087b7077c gnu: avr-libc: Update to 2.0.0.
* gnu/packages/avr.scm (avr-libc): Update to 2.0.0.
2016-05-30 13:45:21 -04:00
David Thompson e60972f288 gnu: avr-libc: Fix build.
* gnu/packages/avr.scm (avr-libc): Update to 2.0.0.
[native-inputs]: Use new avr-gcc and avr-binutils.
[arguments]: Add phase to unset C_INCLUDE_PATH.
2016-05-30 13:45:21 -04:00
David Thompson a17eea4ba4 gnu: Add avr-gcc-5.
* gnu/packages/avr.scm (avr-gcc-5): New variable.
2016-05-30 13:45:21 -04:00
David Thompson 09b05fc7e9 gnu: Add avr-gcc.
* gnu/packages/avr.scm (avr-gcc): New variable.
2016-05-30 13:45:21 -04:00
David Thompson cdc5cfdc4a gnu: Add avr-binutils.
* gnu/packages/avr.scm (avr-binutils): New variable.
2016-05-30 13:45:21 -04:00
Efraim Flashner 983911d627 gnu: wordnet: Use 'modify-phases'.
* gnu/packages/wordnet.scm (wordnet)[arguments]: Use 'modify-phases'.
2016-05-30 20:19:04 +03:00
Efraim Flashner c1dbd3a870 gnu: wordnet: Fix CVE-2008-2149, CVE-2008-3908.
* gnu/packages/wordnet.scm (wordnet)[source]: Add patches.
* gnu/packages/patches/wordnet-CVE-2008-2149.patch,
gnu/packages/patches/wordnet-CVE-2008-3908-pt1.patch,
gnu/packages/patches/wordnet-CVE-2008-3908-pt2.patch: New variables.
* gnu/local.mk (dist_patch_DATA): Add them.
2016-05-30 20:14:06 +03:00
Efraim Flashner 1f521b7055 gnu: id3lib: Fix CVE-2007-4460.
* gnu/packages/mp3.scm (id3lib)[source]: Add patch.
* gnu/packages/patches/id3lib-CVE-2007-4460.patch: New variable.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-05-30 20:13:24 +03:00
Leo Famulari 3d55d04ab8 gnu: cyrus-sasl: Update URLs.
* gnu/packages/cyrus-sasl.scm (cyrus-sasl)[source]: Use HTTPS URL.
[home-page]: Update home-page URL.
2016-05-30 12:53:23 -04:00
Leo Famulari 726f088884 gnu: devil: Fix CVE-2009-3994.
* gnu/packages/patches/devil-CVE-2009-3994.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/image.scm (devil): Use it.
2016-05-30 12:36:26 -04:00
Leo Famulari ac9fc78ff0 gnu: iptables: Update to 1.4.21.
* gnu/packages/linux.scm (iptables): Update to 1.4.21.
2016-05-30 12:18:57 -04:00
David Thompson 6ede256f77 gnu: Add emacs-better-defaults.
* gnu/packages/emacs.scm (emacs-better-defaults): New variable.
2016-05-30 11:10:49 -04:00
David Thompson 02736daa8c gnu: emacs: Remove uncompressed-file-fetch.
* gnu/packages/emacs.scm (uncompressed-file-fetch): Delete.
(emacs-rfcview, emacs-ffap-rfc-space, emacs-queue, emacs-spinner):
Replace uncompressed-file-fetch with url-fetch.
2016-05-30 11:06:49 -04:00
David Thompson 578b96af69 build: emacs: Handle sources that are a single elisp file.
* guix/build/emacs-build-system.scm (gnu:unpack)
(store-file->elisp-source-file, unpack): New procedures.
(%standard-phases): Use the new unpack procedure.
2016-05-30 10:48:44 -04:00
humanitiesNerd 62a45cb647 gnu: Add emacs-seq.
* gnu/packages/emacs.scm (emacs-seq): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-05-30 13:11:39 +03:00
humanitiesNerd 565bccc569 gnu: Add emacs-spinner.
* gnu/packages/emacs.scm (emacs-spinner): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-05-30 13:11:39 +03:00
humanitiesNerd 32abfcf4ee gnu: Add emacs-pkg-info.
* gnu/packages/emacs.scm (emacs-pkg-info): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-05-30 13:09:43 +03:00
humanitiesNerd ad6c4bc48a gnu: Add emacs-queue.
*  gnu/packages/emacs.scm (emacs-queue): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-05-30 13:09:43 +03:00
Alex Kost 4509ec72a4 gnu: emacs: Fix indentation of scheme keyword lists.
* gnu/packages/patches/emacs-fix-scheme-indent-function.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/emacs.scm (emacs)[source]: Use it.
2016-05-30 13:09:43 +03:00
Efraim Flashner 5f1ba08953 gnu: gegl: Fix CVE-2012-4433.
* gnu/packages/gimp.scm (gegl)[source]: Add patch.
* gnu/packages/patches/gegl-CVE-2012-4433.patch: New variable.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-05-30 12:09:17 +03:00
Efraim Flashner 7d48938a59 gnu: vte-0.28: Fix CVE-2012-2738.
* gnu/packages/gnome.scm (vte-0.28)[source]: Add patches.
* gnu/packages/patches/vte-CVE-2012-2738-pt1.patch,
gnu/packages/patches/vte-CVE-2012-2738-pt2.patch: New variables.
* gnu/local.mk (dist_patch_DATA): Add them.
2016-05-30 12:09:15 +03:00
Efraim Flashner 4f3e02f198 gnu: t1lib: Fix CVE-2010-2642, CVE-2011-{0764, 1552, 1553, 1554}.
* gnu/packages/fontutils.scm (t1lib)[source]: Add patches.
* gnu/packages/patches/t1lib-CVE-2010-2642.patch,
gnu/packages/patches/t1lib-CVE-2011-0764.patch,
gnu/packages/patches/t1lib-CVE-2011-1552+CVE-2011-1553+CVE-2011-1554.patch: New variables.
* gnu/local.mk (dist_patch_DATA): Add them.
2016-05-30 12:09:14 +03:00
Efraim Flashner 321dc4dfe4 download: Update Sourceforge mirrors.
* guix/download.scm (mirrors)[sourceforge]: Update mirror list.
2016-05-30 12:09:13 +03:00
Efraim Flashner f228aa1543 gnu: dtach: Use 'modify-phases'.
* gnu/packages/screen.scm (dtach)[arguments]: Use 'modify-phases'.
2016-05-30 12:09:12 +03:00
Efraim Flashner 4b23c4b36a gnu: dtach: Update to 0.9 [Fixes CVE-2012-3368].
* gnu/packages/screen.scm (dtach): Update to 0.9.
2016-05-30 12:09:10 +03:00
Efraim Flashner b507646160 gnu: tinyproxy: Update to 1.8.4 [Fixes CVE-2012-3505].
* gnu/packages/web.scm (tinyproxy): Update to 1.8.4.
[source]: Download from new location.
[home-page]: Project has moved to Github.
2016-05-30 12:08:48 +03:00
Efraim Flashner 538884ccef gnu: jansson: Fix CVE-2016-4425.
* gnu/packages/web.scm (jansson)[source]: Add patch.
* gnu/packages/patches/jansson-CVE-2016-4425.patch: New variable.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-05-30 09:57:16 +03:00
Efraim Flashner 9116f12690 gnu: antiword: Fix CVE-2014-8123.
* gnu/packages/textutils.scm (antiword)[source]: Add patch.
* gnu/packages/patches/antiword-CVE-2014-8123: New variable.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-05-30 09:57:09 +03:00
Efraim Flashner d01f680c07 gnu: a2ps: Use 'modify-phases'.
* gnu/packages/pretty-print.scm (a2ps)[arguments]: Use 'modify-phases'.
2016-05-30 07:44:29 +03:00
Efraim Flashner 6447e19108 gnu: a2ps: Fix CVE-2001-1593, CVE-2014-0466.
* gnu/packages/pretty-print.scm (a2ps)[source]: Add patches.
* gnu/packages/patches/a2ps-CVE-2001-1593.patch,
gnu/packages/patches/a2ps-CVE-2014-0466.patch: New variables.
* gnu/local.mk (dist_patch_DATA): Add them.
2016-05-30 07:44:29 +03:00
Leo Famulari ccda7c8317 gnu: pcre2: Fix CVE-2016-3191.
* gnu/packages/patches/pcre2-CVE-2016-3191.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/pcre.scm (pcre2): Use it.
2016-05-29 23:57:31 -04:00
Leo Famulari 0d567b5531 gnu: libyaml: Fix CVE-2014-9130.
* gnu/packages/patches/libyaml-CVE-2014-9130.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/web.scm (libyaml): Use it.
2016-05-29 23:48:28 -04:00
Leo Famulari d8862778c1 gnu: graphicsmagick: Fix CVE-2016-5118.
* gnu/packages/patches/graphicsmagick-CVE-2016-5118.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/imagemagick.scm (graphicsmagick): Use it.
2016-05-29 23:46:21 -04:00
Efraim Flashner b3d20b8280 gnu: vorbis-tools: Fix CVE-2014-9638, CVE-2014-9639, CVE-2014-9640.
* gnu/packages/xiph.scm (vorbis-tools)[source]: Add patches.
* gnu/packages/patches/vorbis-tools-CVE-2014-9638+CVE-2014-9639.patch,
gnu/packages/patches/vorbis-tools-CVE-2014-9640.patch: New variables.
* gnu/local.mk (dist_patch_DATA): Add them.
2016-05-30 06:42:02 +03:00
Efraim Flashner e99dd67ad8 gnu: libtar: Fix CVE-2013-4420.
* gnu/packages/compression.scm (libtar)[source]: Add patch.
* gnu/packages/patches/libtar-CVE-2013-4420.patch: New variable.
* gnu/local.mk (dist_patch_DATA): Add it.

This is a follow-up to 89d80159b1.
2016-05-30 06:04:46 +03:00
Ludovic Courtès 28dc10a455 gnu: glibc: Refer to the target kernel headers when cross-compiling.
This fixes a regression introduced in
efc4eb1475 whereby the build process
corresponding to 'guix build glibc --target=mips64el-linux-gnu' would
refer to the native headers instead of the target headers, leading to a
build failure:

  ../sysdeps/unix/sysv/linux/statfs64.c: In function ‘__statfs64’:
  ../sysdeps/unix/sysv/linux/statfs64.c:73:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^

When we were using CROSS_CPATH instead of CROSS_C_INCLUDE_PATH, the
problem was hidden by the fact that CPATH corresponds to '-I' whereas
C_INCLUDE_PATH corresponds to '-isystem', and '-isystem' directories are
searched after '-I' directories.

* gnu/packages/base.scm (glibc)[arguments]: Refer to the kernel headers
from '%build-target-inputs' when cross-building.
2016-05-30 00:17:44 +02:00
Efraim Flashner 89d80159b1 gnu: libtar: Update to 1.2.20 [fixes CVE-2013-4397, CVE-2013-4420].
* gnu/packages/compression.scm (libtar): Update to 1.2.20.
[source]: Add Debian mirror.
[arguments]: Add 'autoconf phase.
[native-inputs]: Add autoconf, automake, libtool.
[inputs]: Add zlib.
[home-page]: Point to temporary home.
2016-05-29 22:47:05 +03:00
Efraim Flashner 43ec6ca06e gnu: pciutils: Add kmod support.
* gnu/packages/pciutils.scm (pciutils)[inputs]: Add kmod.
2016-05-29 22:07:47 +03:00
Efraim Flashner 0ef7a93d78 gnu: pciutils: Use 'modify-phases'.
* gnu/packages/pciutils.scm (pciutils)[arguments]: Use 'modify-phases'.
2016-05-29 22:07:47 +03:00
Efraim Flashner fb3c855381 gnu: pciutils: Update to 3.5.1.
* gnu/packages/pciutils.scm (pciutils): Update to 3.5.1.
2016-05-29 22:07:47 +03:00
Leo Famulari 65da8dd01e gnu: rpm: Fix CVE-2014-8118.
* gnu/packages/patches/rpm-CVE-2014-8118.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/package-management.scm (rpm): Use it.
2016-05-29 14:02:08 -04:00
Leo Famulari 41019e9f2a gnu: rpm: Update to 4.12.0.1.
* gnu/packages/package-management.scm (rpm): Update to 4.12.0.1.
2016-05-29 14:02:08 -04:00
Leo Famulari d6c108a916 gnu: zeromq: Update to 4.0.7 [fixes CVE-2014-9721].
* gnu/packages/networking.scm (zeromq): Update to 4.0.7.
2016-05-29 13:40:38 -04:00
Leo Famulari 5d1cd076de gnu: libsodium: Update to 1.0.10.
* gnu/packages/crypto.scm (libsodium): Update to 1.0.10.
2016-05-29 13:27:05 -04:00
Leo Famulari 1d982d787d gnu: procmail: Fix CVE-2014-3618.
* gnu/packages/patches/procmail-CVE-2014-3618.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/mail.scm (procmail): Use it.
2016-05-29 13:12:16 -04:00
Leo Famulari c68d8126f9 gnu: elfutils: Update to 0.166 [fixes CVE-2014-9447].
* gnu/packages/elf.scm (elfutils): Update to 0.166.
2016-05-29 12:49:50 -04:00
Efraim Flashner 89deaf167a gnu: luajit: Update to 2.0.4.
* gnu/packages/lua.scm (luajit): Update to 2.0.4.
2016-05-29 09:47:46 +03:00
Efraim Flashner 2cb33ef86e gnu: lua: Update to 5.2.4.
* gnu/packages/lua.scm (lua): Update to 5.2.4.
2016-05-29 09:47:46 +03:00
Efraim Flashner a4349e7a00 gnu: lua: Use 'modify-phases'.
* gnu/packages/lua.scm (lua)[arguments]: Use 'modify-phases'.
2016-05-29 09:47:46 +03:00
Efraim Flashner 32fddd8e29 gnu: lua-5.1: Fix CVE-2014-5461.
* gnu/packages/lua.scm (lua-5.1)[source]: Add patch.
* gnu/packages/patches/lua-CVE-2014-5461: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-05-29 09:47:46 +03:00
宋文武 576b1aeed6 gnu: retroarch: Update to 1.3.4.
* gnu/packages/games.scm (retroarch): Update to 1.3.4.
2016-05-29 11:12:12 +08:00
Leo Famulari e00df583a2 gnu: libyaml: Update to 0.1.6 [fixes CVE-2014-2525].
* gnu/packages/web.scm (libyaml): Update to 0.1.6.
2016-05-28 20:21:12 -04:00
Leo Famulari a535e12226 services: Add urandom-seed-service.
Fixes <http://bugs.gnu.org/23605>.

* gnu/services/base.scm (urandom-seed-service): New procedure.
(%random-seed-file, urandom-seed-service-type): New variables.
(%urandom-seed-shepherd-service): New procedure.
(%base-services): Call 'urandom-seed-service'.
* doc/guix.texi (Base Services): Document it.
2016-05-28 19:59:31 -04:00
Efraim Flashner 922fe075d1 gnu: potrace: Update to 1.13 [fixes CVE-2013-7437].
* gnu/packages/fontutils.scm (potrace): Update to 1.13.
2016-05-28 22:57:16 +03:00
Patrick Hetu 9b381643f0 gnu: Add Guile-GNOME.
* gnu/packages/gtk.scm (guile-gnome): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-05-28 18:06:15 +02:00
Ben Woodcroft 9fcc3509a7 gnu: Update diamond to 0.8.3.
* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.3.
2016-05-28 23:44:16 +10:00
宋文武 68e9ee725a gnu: Add gcide.
* gnu/packages/dictionaries.scm (gcide): New variable.
2016-05-28 12:53:01 +08:00
宋文武 de477809d7 gnu: wxmaxima: Wrap with GSETTINGS_SCHEMA_DIR and XDG_DATA_DIRS.
Fixes <http://bugs.gnu.org/22709> and <http://bugs.gnu.org/23260>.

* gnu/packages/math.scm (wxmaxima)[arguments]: Wrap with
GSETTINGS_SCHEMA_DIR and XDG_DATA_DIRS.
2016-05-28 07:29:10 +08:00
宋文武 1a6d3cd374 gnu: gprolog: Don't install files into "$out/gprolog-1.4.4".
* gnu/packages/gprolog.scm (gprolog)[arguments]: Pass '--with-install-dir'
to #:configure-flags.
2016-05-28 07:27:46 +08:00
宋文武 6242b314c2 gnu: Add wiredtiger.
* gnu/packages/database.scm (wiredtiger): New variable.
2016-05-28 07:27:46 +08:00
Ludovic Courtès 870bf71eb0 cve: Use a more compact format for the list of package/versions.
On a warm cache, "guix lint -c cve vorbis-tools" goes down
from 6.5s to 2.4s.

* guix/cve.scm (cpe->package-name): Change to return two values instead
of a pair.
(cpe->product-alist): New procedure.
(%parse-vulnerability-feed): Use it instead of 'filter-map'.
(fetch-vulnerabilities): Bump sexp format version to 1.
(vulnerabilities->lookup-proc): Adjust accordingly.  When #:version is
omitted, return a list of vulnerabilities instead of a list of
version/vulnerability pairs.
* tests/cve.scm (%expected-vulnerabilities)
("vulnerabilities->lookup-proc): Adjust accordingly.
2016-05-28 01:07:12 +02:00
Ludovic Courtès 494dc2fc62 guix package: Inherit the transformed version number.
Previously, 'guix package -i emacs --with-source=./emacs-42.tar.gz'
would fail to use "42" as the version number in the manifest entry.

Reported by piyo on #guix.

* guix/scripts/package.scm (process-actions)[transform-entry]: Inherit
the version number from the result of TRANSFORM when it's a package.
* tests/guix-package.sh: Test it.
2016-05-27 22:05:34 +02:00
Leo Famulari b5d08d7c28 gnu: gd: Update to 2.2.1 [fixes CVE-2015-{8874, 8877}].
* gnu/packages/patches/gd-CVE-2016-3074.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/gd.scm (gd): Update to 2.2.1.
[source]: Remove patch. Update source URL.
2016-05-27 12:33:42 -04:00
Efraim Flashner 9da459f350 gnu: scrot: Add source mirror.
* gnu/packages/xdisorg.scm (scrot)[source]: Add fossies mirror.
2016-05-27 16:49:12 +03:00
Efraim Flashner 6d22653e39 gnu: serf: Update project source.
* gnu/packages/web.scm (serf)[source]: Releases are now hosted by Apache.
[home-page]: Project is now hosted by Apache.
2016-05-27 16:40:05 +03:00
Efraim Flashner e4ddf924e5 gnu: xlockmore: Update to 5.47.
* gnu/packages/xdisorg.scm (xlockmore): Update to 5.47.
2016-05-27 16:35:47 +03:00
Efraim Flashner a60c705bd8 gnu: t1lib: Add source mirror.
* gnu/packages/fontutils.scm (t1lib)[souce]: Add fossies mirror.
2016-05-27 16:23:21 +03:00
Efraim Flashner 63ae20da16 gnu: synergy: Update to 1.7.6.
* gnu/packages/synergy.scm (synergy): Update to 1.7.6.
2016-05-27 16:07:20 +03:00
Efraim Flashner a3025a4490 gnu: synergy: Use 'modify-phases'.
* gnu/packages/synergy.scm (synergy)[arguments]; Use 'modify-phases'.
2016-05-27 15:54:10 +03:00
Efraim Flashner cecaee420e gnu: synergy: Update project source.
* gnu/packages/synergy.scm (synergy)[source]: Use new location.
[home-page]: Use project's new website.
2016-05-27 14:56:49 +03:00
Efraim Flashner ea3d5291cc gnu: eyed3: Update to 0.7.9.
* gnu/packages/mp3.scm (eyed3): Update to 0.7.9.
2016-05-27 11:37:53 +03:00
Efraim Flashner 1a847b708d gnu: mpc123: Use 'modify-phases'.
* gnu/packages/mp3.scm (mpc123)[arguments]: Use 'modify-phases'.
2016-05-27 11:37:53 +03:00
Efraim Flashner d1cd67af5d gnu: mpc123: Add new source location.
* gnu/packages/mp3.scm (mpc123)[source]: Add Debian mirror.
[home-page]: Project has moved to Github.
2016-05-27 11:37:53 +03:00
Ludovic Courtès b18ede2704 download: Default to a 10s connection establishment timeout.
* guix/build/download.scm (ftp-fetch): Add #:timeout and pass it to
'ftp-open'.
(http-fetch): Add #:timeout and pass it to 'open-connection-for-uri' and
in recursive calls.
(url-fetch): Add #:timeout and pass it to 'http-fetch' and 'ftp-fetch'.
2016-05-27 10:37:11 +02:00
Ludovic Courtès dab2472c6a download: Use URI objects for content-addressed mirrors.
This fixes a bug whereby 'http-fetch' would be passed a string instead
of a URI object.

* guix/build/download.scm (url-fetch): Rename 'content-addressed-urls'
to 'content-addressed-uris', and call 'string->uri'.
2016-05-27 10:37:11 +02:00
humanitiesNerd d345491ab4 gnu: Add emacs-epl.
* gnu/packages/emacs.scm (emacs-epl): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-05-27 11:02:54 +03:00
Alex Kost a8ce82aca2 gnu: emacs-async: Update to 1.9.
* gnu/packages/emacs.scm (emacs-async): Update to 1.9.
2016-05-27 10:50:37 +03:00
Alex Kost 847534e1d3 gnu: magit: Update to 2.7.0.
* gnu/packages/emacs.scm (magit): Update to 2.7.0.
2016-05-27 10:50:37 +03:00
Efraim Flashner be1e35055b gnu: moreutils: Use 'modify-phases'.
* gnu/packages/moreutils.scm (moreutils)[arguments]: Use 'modify-phases'.
2016-05-27 07:06:02 +03:00
Efraim Flashner 0a20f40240 gnu: moreutils: Update to 0.58.
* gnu/packages/moreutils.scm (moreutils): Update to 0.58.
2016-05-27 07:03:52 +03:00
Ludovic Courtès de3bbf6543 gnu: qemu: Make tests more verbose.
* gnu/packages/qemu.scm (qemu)[arguments]: Add 'make-gtester-verbose'
phase.
2016-05-26 23:58:23 +02:00
Ludovic Courtès 8489d79d1b gnu: qemu: Use 'install-file' instead of 'copy-file'.
* gnu/packages/qemu.scm (qemu)[arguments]: Use 'install-file'.
2016-05-26 23:58:23 +02:00
Ludovic Courtès 05051e8bb1 gnu: qemu: Use 'modify-phases'.
* gnu/packages/qemu.scm (qemu)[arguments]: Use 'modify-phases'.
2016-05-26 23:58:23 +02:00
Ludovic Courtès 219b45567a gnu: qemu: Disable parallel tests again.
* gnu/packages/qemu.scm (qemu)[arguments]: Re-add #:parallel-tests? #f,
which had been removed in a2ccaa0d79.
2016-05-26 23:58:21 +02:00
Ludovic Courtès 3af7a7a879 cve: Include the 3 previous years of vulnerabilities.
* guix/cve.scm (fetch-vulnerabilities): Add 'format' call.
(current-vulnerabilities): Include the 3 previous years.
2016-05-26 23:00:08 +02:00
Ludovic Courtès 159a5e0197 gnu: isc-dhcp: Specify CPE name.
* gnu/packages/admin.scm (isc-dhcp)[properties]: New field.
2016-05-26 22:56:51 +02:00
Ludovic Courtès 2ca55f939c gnu: rush: Fix CVE-2013-6889.
* gnu/packages/patches/rush-CVE-2013-6889.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/rush.scm (rush): Use it.
2016-05-26 22:51:12 +02:00
Ludovic Courtès f01c461994 nls: Adjust to texlive.scm renaming.
* po/packages/POTFILES.in: Adjust to texlive.scm rename in
commit 8f9ac90182.
2016-05-26 17:00:17 +02:00
Ludovic Courtès ac0a7b0fbd substitute: Internationalize the "Downloading" message.
* guix/scripts/substitute.scm (process-substitution): I18n "Downloading"
message.
2016-05-26 17:00:07 +02:00
David Thompson 9698f4b74b gnu: Add mitlm.
* gnu/packages/speech.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2016-05-26 08:50:09 -04:00
David Thompson 6b0686fa93 gnu: Add autoconf-archive.
* gnu/packages/autotools.scm (autoconf-archive): New variable.
2016-05-26 08:50:09 -04:00
Mathieu Lirzin 70458ed510 doc: Fix typo.
* doc/guix.texi (Derivations): Add 's' to "contain".
2016-05-26 14:23:53 +02:00
Manolis Ragkousis 38efbcbb79 gnu: hurd: Add hurd-core-headers package.
* gnu/packages/hurd.scm (hurd-core-headers): New variable.
2016-05-26 14:41:56 +03:00
Roel Janssen 4791876ce1 gnu: Add texmaker.
* gnu/packages/tex.scm (texmaker): New variable.
2016-05-26 10:24:13 +02:00
Roel Janssen 8f9ac90182 gnu: Rename texlive module to tex.
* gnu/local.mk (GNU_SYSTEM_MODULES): Rename texlive.scm to tex.scm.
* gnu/packages/texlive.scm: Rename file to tex.scm.
* gnu/packages/tex.scm: Renamed from texlive.scm.
* gnu/packages/algebra.scm: Adjust accordingly.
* gnu/packages/docbook.scm: Likewise.
* gnu/packages/engineering.scm: Likewise.
* gnu/packages/gettext.scm: Likewise.
* gnu/packages/gnome.scm: Likewise.
* gnu/packages/lisp.scm: Likewise.
* gnu/packages/maths.scm: Likewise.
* gnu/packages/music.scm: Likewise.
* gnu/packages/ocaml.scm: Likewise.
* gnu/packages/photo.scm: Likewise.
* gnu/packages/plotutils.scm: Likewise.
* gnu/packages/python.scm: Likewise.
* gnu/packages/scheme.scm: Likewise.
2016-05-26 10:22:05 +02:00
Efraim Flashner 5bed95efd4 gnu: aria2: Update to 1.23.0.
* gnu/packages/bittorrent.scm (aria2): Update to 1.23.0.
[inputs]: Move cppunit ...
[native-inputs]: ... to here.
[home-page]: Update to new Github website.
2016-05-26 08:59:41 +03:00
Ludovic Courtès 1fd11c9259 grafts: Create only one grafted variant of each derivation.
Currently, with several grafts applicable to Inkscape, this makes:

  guix gc -R $(guix build inkscape -d) | wc -l

go from 2376 to 2266 (4.6%).

* guix/grafts.scm (cumulative-grafts): Pass 'graft-derivation/shallow'
the subset of GRAFTS that applies to DRV.
2016-05-25 23:33:56 +02:00
Efraim Flashner 25e0037a29 gnu: randomjungle: Add gfortran:lib to native-inputs.
* gnu/packages/machine-learning.scm (randomjungle)[native-inputs]: Add
gfortran:lib.
2016-05-25 21:49:08 +03:00
Efraim Flashner 68bf2f9d6b gnu: enlightenment: Update to 0.20.8.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.20.8.
2016-05-25 20:52:25 +03:00
Efraim Flashner fac5065b8f gnu: elementary: Update to 1.17.1.
* gnu/packages/enlightenment.scm (elementary): Update to 1.17.1.
2016-05-25 20:51:48 +03:00
Efraim Flashner cda20b86cf gnu: efl: Update to 1.17.1.
* gnu/packages/enlightenment.scm (efl): Update to 1.17.1.
2016-05-25 20:51:48 +03:00
Leo Famulari 10240c7cbe gnu: python-llfuse: Update to 1.1.
* gnu/packages/python.scm (python-llfuse, python2-llfuse): Update to 1.1.
2016-05-25 11:50:20 -04:00
Leo Famulari 0e9bc883b4 gnu: fuse: Update to 2.9.6.
* gnu/packages/linux.scm (fuse): Update to 2.9.6.
[home-page]: Update home-page URL.
2016-05-25 11:50:20 -04:00
Leo Famulari c99bf9b2ea gnu: dnsmasq: Update to 2.76 [fixes CVE-2015-3294].
* gnu/packages/dns.scm (dnsmasq): Update to 2.76.
2016-05-25 11:47:51 -04:00
Ben Woodcroft 803bcc81e2 gnu: ruby-mime-types: Update to 3.1.
* gnu/packages/ruby.scm (ruby-mime-types): Update to 3.1.
[native-inputs]: Add 'ruby-minitest-hooks'.
2016-05-25 22:34:29 +10:00
Ben Woodcroft 2a96dbe6d6 gnu: Add ruby-minitest-hooks.
* gnu/packages/ruby.scm (ruby-minitest-hooks): New variable.
2016-05-25 22:34:29 +10:00
Ben Woodcroft cbdd428cf4 gnu: Add ruby-sequel.
* gnu/packages/ruby.scm (ruby-sequel): New variable.
2016-05-25 22:34:29 +10:00
Ben Woodcroft f1ae7c6218 gnu: ruby-nokogumbo: Update to 1.4.7-1.
* gnu/packages/ruby.scm (ruby-nokogumbo): Update to 1.4.7-1.
2016-05-25 22:34:29 +10:00
Ben Woodcroft 59884b71e3 gnu: ruby-mini-portile-2: Update to 2.1.0.
* gnu/packages/ruby.scm (ruby-mini-portile-2): Update to 2.1.0.
2016-05-25 22:34:29 +10:00
Ben Woodcroft 0907bf571d gnu: ruby-mime-types-data: Update to 3.2016.0221.
* gnu/packages/ruby.scm (ruby-mime-types-data): Update to 3.2016.0221.
2016-05-25 22:34:29 +10:00
Ben Woodcroft 80756fa66b gnu: ruby-shoulda-matchers: Update to 3.1.1.
* gnu/packages/ruby.scm (ruby-shoulda-matchers): Update to 3.1.1.
[arguments]: Remove 'fix-import' phase.
2016-05-25 22:34:29 +10:00
Ben Woodcroft 33a45ed652 gnu: ruby-domain-name: Update to 0.5.20160310.
* gnu/packages/ruby.scm (ruby-domain-name): Update to 0.5.20160310.
2016-05-25 22:34:29 +10:00
Ben Woodcroft 5e7f1b0b2a gnu: ruby-nokogiri: Update to 1.6.7.2.
* gnu/packages/ruby.scm (ruby-nokogiri): Update to 1.6.7.2.
[arguments]: Relax 'mini_portile2' dependency.
2016-05-25 22:34:29 +10:00
Ben Woodcroft 25c288cbf1 guix: ruby-build-system: Extract gemspec during 'extract-gemspec'.
* guix/build/ruby-build-system.scm (build): Move extraction from here ...
(extract-gemspec): ... to here.  New variable.
(first-gemspec): New variable.
(%standard-phases): Add 'extract-gemspec' phase.
2016-05-25 22:34:29 +10:00
Mark H Weaver 2301195f2e gnu: linux-libre: Update to 4.6.
* gnu/packages/linux.scm (linux-libre): Update to 4.6.
* gnu/packages/linux-libre-4.6-x86_64.conf,
gnu/packages/linux-libre-4.6-i686.conf: New files.
* gnu/packages/linux-libre-4.5-x86_64.conf,
gnu/packages/linux-libre-4.5-i686.conf: Delete files.
* Makefile.am (KCONFIGS): Update accordingly.
2016-05-25 04:54:06 -04:00
Mark H Weaver 92a7e46d58 gnu: python-libxml2: Drop replacement from inherited libxml2.
This is a followup to commit 493e9a5a8f.

* gnu/packages/xml.scm (python-libxml2)[replacement]: Set to #f, overriding
inherited value.
2016-05-25 04:54:06 -04:00
Efraim Flashner 19d6248634 gnu: freeipmi: Update to 1.5.2.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.5.2.
2016-05-25 09:13:13 +03:00
Mark H Weaver 796787a577 gnu: linux-libre-4.1: Update to 4.1.25.
* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.25.
2016-05-25 00:26:40 -04:00
Mark H Weaver 6f82a7d40d gnu: webkitgtk: Update to 2.12.3 [fixes CVE-2016-{1856,1857}].
* gnu/packages/webkit.scm (webkitgtk): Update to 2.12.3.
2016-05-25 00:14:32 -04:00
Ludovic Courtès 007c20b61c graft: Fail when one of the threads raises an exception.
Fixes <http://bugs.gnu.org/23581>.

* guix/build/graft.scm (exit-on-exception): New procedure.
(rewrite-directory): Use it to wrap REWRITE-LEAF.
2016-05-24 23:52:14 +02:00
Ludovic Courtès 92ed837a1e size: Pass 'requisites' a list of items.
* guix/scripts/size.scm (substitutable-requisites): Change 'item' to
'items' and adjust.
(requisites*): Likewise.
(mappend-map): Remove.
(store-profile): Adjust accordingly.
2016-05-24 23:41:30 +02:00
Ludovic Courtès f6fee16e93 store: 'requisites' now takes a list of store items.
* guix/store.scm (fold-path): Change 'path' to 'paths' and adjust body
accordingly.
(requisites): Likewise.
* guix/scripts/environment.scm (inputs->requisites): Adjust
user accordingly.
* guix/scripts/size.scm (requisites*): Likewise.
* guix/scripts/gc.scm (guix-gc): Likewise.
* tests/store.scm ("requisites"): Likewise.
2016-05-24 23:35:28 +02:00
Ludovic Courtès db761534df size: Accept several arguments.
* guix/scripts/size.scm (display-profile): Display WHOLE at then end.
(guix-size): Accept several FILES.
* doc/guix.texi (Invoking guix size): Add example with several items.
2016-05-24 23:05:31 +02:00
Ludovic Courtès a371aa225c size: 'store-profile' takes a list of store items.
* guix/scripts/size.scm (mappend-map): New procedure.
(store-profile): Change 'item' to 'items' and adjust code accordingly.
(guix-size): Update caller.
* tests/size.scm ("store-profile"): Likewise.
2016-05-24 23:05:28 +02:00
Ludovic Courtès a61cd1d0fd tests: Do not run 'cve' checker in 'tests/guix-lint.sh'.
Reported by Malcolm, Cook <MEC@stowers.org>.

* tests/guix-lint.sh: Pass '-c synopsis,description' in first invocation
so we don't run the 'cve' checker.
2016-05-24 14:45:18 +02:00
Ludovic Courtès 493e9a5a8f gnu: libxml2: Fix CVE-2016-3627 and CVE-2016-3705.
* gnu/packages/patches/libxml2-CVE-2016-3627.patch,
gnu/packages/patches/libxml2-CVE-2016-3705.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/xml.scm (libxml2)[replacement]: New field.
(libxml2/fixed): New variable.
2016-05-24 14:15:18 +02:00
Mathieu Lirzin c0d2e7b197 build: Use "%D%" in Makefile fragments.
* doc/local.mk: Use "%D%" for the directory of the fragment relative to
the base 'Makefile.am'.
* emacs/local.mk: Likewise.
* gnu/local.mk: Likewise.
* nix/local.mk: Likewise.
2016-05-24 13:07:19 +02:00
Mathieu Lirzin cf5f2ad30c ui: Let users report translation bugs.
* guix/ui.scm (show-bug-report-information): Add a comment for
translators.
2016-05-24 12:58:40 +02:00
humanitiesNerd 8eeb301de2 gnu: Add emacs-clojure-mode.
* gnu/packages/emacs.scm (emacs-clojure-mode): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-05-24 11:32:42 +03:00
Alex Kost b8fc362239 gnu: Use 'emacs-minimal' instead of 'emacs-no-x'.
* gnu/packages/code.scm (cflow)[native-inputs]: Use 'emacs-minimal'
  instead of 'emacs-no-x'.
* gnu/packages/databases.scm (recutils): Likewise.
* gnu/packages/finance.scm (ledger): Likewise
* gnu/packages/idutils.scm (idutils): Likewise.
* gnu/packages/mail.scm (mu): Likewise.
* gnu/packages/ocaml.scm (proof-general): Likewise.
* gnu/packages/package-management.scm (guix-0.10.0): Likewise.
* gnu/packages/plotutils.scm (asymptote): Likewise.
* gnu/packages/scheme.scm (scmutils): Likewise.
* gnu/packages/version-control.scm (vc-dwim): Likewise.
* gnu/packages/emacs.scm (geiser): Likewise.
(paredit): Likewise.
(git-modes): Likewise.
(magit): Likewise.
(magit-svn): Likewise.
(haskell-mode): Likewise.
(let-alist): Likewise.
(emacs-w3m): Likewise.
(emacs-wget): Likewise.
(emms): Likewise.
(bbdb): Likewise.
(emacs-mmm-mode): Likewise.
(emacs-pdf-tools): Likewise.
(emacs-popup)[native-inputs]: Remove as it is not needed for
emacs-build-system.
(emacs-rfcview): Likewise.
(emacs-ffap-rfc-space): Likewise.
2016-05-24 11:32:27 +03:00
Alex Kost 6aaf38992c gnu: Move emacs for building from inputs to native-inputs.
* gnu/packages/emacs.scm (geiser): Move "emacs" from inputs to native-inputs.
(paredit): Likewise.
(haskell-mode): Likewise.
(emacs-w3m): Likewise.
(emacs-wget): Likewise.
* gnu/packages/mail.scm (mu): Likewise.
* gnu/packages/version-control.scm (vc-dwim): Likewise.
2016-05-24 11:32:27 +03:00
Alex Kost a6eafbed66 build-system/emacs: Use 'emacs-minimal' by default.
* guix/build-system/emacs.scm (default-emacs): Use 'emacs-minimal'.
* gnu/packages/emacs.scm (emacs-auctex): Use 'emacs'.
2016-05-24 11:32:27 +03:00
Alex Kost b2eaf7bacd gnu: Add emacs-minimal.
* gnu/packages/emacs.scm (emacs-minimal): New variable.
2016-05-24 11:32:27 +03:00
Alex Kost 486f36eb9e gnu: emacs: Remove *.elc and autoloads from the tarball.
* gnu/packages/emacs.scm (emacs)[source]: Add 'snippet' to remove
  compiled and generated elisp files.
2016-05-24 11:11:26 +03:00
Efraim Flashner d16479c51e gnu: enblend-enfuse: Update to 4.2.
* gnu/packages/photo.scm (enblend-enfuse): Update to 4.2.
[native-inputs]: Add help2man, texlive-minimal.
2016-05-24 08:49:23 +03:00
Leo Famulari 7febe3a282 gnu: grub: Re-enable test.
* gnu/packages/grub.scm (grub)[arguments]: Re-enable test.
2016-05-23 18:47:45 -04:00
Ludovic Courtès e144e3427d graph: Add 'node-reachable-count'.
* guix/graph.scm (node-reachable-count): New procedure.
* tests/graph.scm ("node-reachable-count"): New test.
2016-05-24 00:06:01 +02:00
Ludovic Courtès 623e4df42a graph: Expose 'traverse/depth-first'.
* guix/graph.scm (traverse/depth-first): New procedure, based on code
formerly in 'node-transitive-edges'.
(node-transitive-edges): Rewrite in terms of it.
2016-05-24 00:06:01 +02:00
Ludovic Courtès 9a6beb3b7f refresh: Make 'list-dependents' a monadic procedure.
* guix/scripts/refresh.scm (list-dependents): Remove use of 'with-store'
and 'run-with-store'.
(guix-refresh): Wrap body in with-store/run-with-store.
2016-05-24 00:06:01 +02:00
Leo Famulari 88ac650c7b gnu: vdirsyncer: Update to 0.11.0.
* gnu/packages/dav.scm (vdirsyncer): Update to 0.11.0.
2016-05-23 13:26:17 -04:00
Leo Famulari e1343994b0 gnu: git: Update to 2.8.3.
* gnu/packages/version-control.scm (git): Update to 2.8.3.
(git-manpages)[source]: Update hash.
2016-05-23 13:14:50 -04:00
Roel Janssen 031cf6b65e gnu: Add r-zoo.
* gnu/packages/statistics.scm (r-zoo): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-23 12:36:38 -04:00
Leo Famulari 148e8e8e75 gnu: borg: Update to 1.0.3.
* gnu/packages/backup.scm (borg): Update to 1.0.3.
[source]: Remove pypi-uri.
2016-05-23 12:27:12 -04:00
Ludovic Courtès af98798c7a union: Compare inode numbers in 'file=?'.
* guix/build/union.scm (file=?): Compare the inode of ST1 and ST2.
2016-05-23 18:05:46 +02:00
Ludovic Courtès 86cf13033e cve: Remove now unnecessary HTTP caching.
* guix/cve.scm (call-with-cve-port): Use 'http-fetch' instead of
'http-fetch/cached'.
2016-05-23 18:05:46 +02:00
Ludovic Courtès 5cdd21c7fe cve: Keep a summarized sexp in cache instead of the full XML.
This avoids ~20s of XML parsing when running 'guix lint -c cve'.

* guix/cve.scm (vulnerability->sexp, sexp->vulnerability)
(fetch-vulnerabilities): New procedures.
(current-vulnerabilities): Use 'fetch-vulnerabilities'.
2016-05-23 18:05:46 +02:00
Roel Janssen f22debacb4 gnu: Add poppler-qt5.
* gnu/packages/pdf.scm (poppler-qt5): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-05-23 14:35:23 +03:00
Ricardo Wurmus 524eee0298 gnu: Add slurm-drmaa.
* gnu/packages/parallel.scm (slurm-drmaa): New variable.
2016-05-23 12:55:40 +02:00
Ricardo Wurmus 0783787436 gnu: Add ParDRe.
* gnu/packages/bioinformatics.scm (pardre): New variable.
2016-05-23 12:55:09 +02:00
Efraim Flashner 624d4e2e6b gnu: gnu-pw-mgr: Update to 2.0.
* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Update to 2.0.
2016-05-22 16:58:21 +03:00
Leo Famulari 13913c52d5 gnu: imagemagick: Update to 6.9.4-4.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.4-4.
2016-05-22 03:51:57 -04:00
Lukas Gradl 88bb4197c4 gnu: Add python2-rope.
* gnu/packages/python.scm (python2-rope): New variable.
2016-05-22 14:19:52 +10:00
Kei Yamashita 3c47489766 gnu: Add gnome-calendar.
* gnu/packages/gnome.scm (gnome-calendar): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-05-21 23:30:37 +02:00
Matthew Jordan 548994142f gnu: Add envstore.
* gnu/package/shellutils.scm: New file.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-05-21 23:30:37 +02:00
Jan Nieuwenhuizen b9b447be64 gnu: Add sicp.
* gnu/packages/scheme.scm (sicp): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-05-21 23:30:37 +02:00
Roel Janssen a56be436d0 gnu: Add dia.
* gnu/packages/gnome.scm (dia): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-05-21 23:30:37 +02:00
Mathieu Lirzin 28dee3d282 build: Fix 'AM_V_at' typo.
* Makefile.am (hydra-jobs.scm): Fix 'AM_V_at' typo.
2016-05-21 23:09:46 +02:00
Ludovic Courtès ece6864bd0 grafts: Rename files whose name matches a graft.
Fixes <http://bugs.gnu.org/23132>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/build/graft.scm (rename-matching-files): New procedure.
(rewrite-directory): Use it.
* tests/grafts.scm ("graft-derivation, renaming"): New test.
2016-05-21 01:35:14 +02:00
Ludovic Courtès cf8b312d18 grafts: Preserve empty directories when grafting.
* guix/build/graft.scm (rewrite-directory)[rewrite-leaf]: Add case for
'directory.
Pass #:directories? #t to 'find-files'.
2016-05-21 01:35:14 +02:00
Ludovic Courtès 30d4bc0434 substitute: Gracefully handle invalid store file names.
Before, something like:

  echo have /gnu/foo | ./test-env guix substitute --query

would lead to an ugly backtrace.

* guix/scripts/substitute.scm (narinfo-cache-file): Call 'leave' when
'store-hash-part' returns #f.
2016-05-21 01:35:14 +02:00
Ludovic Courtès a773c3142d graph: Allow store file names for 'derivation' and 'references' graphs.
* guix/scripts/graph.scm (%derivation-node-type)[convert]: Add
'derivation-path?' and catch-all clauses.
(%reference-node-type)[convert]: Add 'store-path?' and catch-all
clauses.
(assert-package, nodes-from-package): New procedures.
(%package-node-type, %bag-node-type,%bag-with-origins-node-type)
(%bag-emerged-node-type): Add 'convert' field
(guix-graph): Rename 'packages' to 'items' and
allow 'store-path?' arguments.
* guix/graph.scm (<node-type>)[convert]: Adjust comment.
* doc/guix.texi (Invoking guix graph): Document it.
2016-05-21 01:35:14 +02:00
Ludovic Courtès 97507ebedc derivations: 'derivation' sorts items in the resulting object.
* guix/derivations.scm (derivation-input<?): New procedure.
(write-derivation)[coalesce-duplicate-inputs]: Remove.
Remove calls to 'sort'.
(coalesce-duplicate-inputs): New procedure.
(derivation-hash): Sort INPUTS and use 'coalesce-duplicate-inputs'.
(derivation)[input->derivation-input]
[coalesce-duplicate-inputs]: New procedures.
Sort OUTPUTS, INPUTS, and ENV-VARS.
* tests/derivations.scm ("read-derivation vs. derivation"): New test.
2016-05-21 01:35:14 +02:00
Ludovic Courtès 3cabdead6f graph: Use absolute file name canonicalization.
* guix/scripts/graph.scm (guix-graph): Wrap in 'with-fluids'.
2016-05-21 01:35:14 +02:00
Mark H Weaver 3c9a7185e4 gnu: linux-libre: Update to 4.5.5.
* gnu/packages/linux.scm (linux-libre): Update to 4.5.5.
2016-05-20 18:58:15 -04:00
Mark H Weaver 4483a1185d gnu: linux-libre-4.4: Update to 4.4.11.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.11.
2016-05-20 18:58:06 -04:00
Ricardo Wurmus 932f2b70a6 ant-build-system: Add unpack phase.
* guix/build/ant-build-system.scm (unpack): New procedure.
(%standard-phases): Use it.
2016-05-20 15:24:32 +02:00
Ricardo Wurmus 987a118334 gnu: Add default gcc-objc++.
* gnu/packages/gcc.scm (gcc-objc++): New variable.
2016-05-20 15:19:48 +02:00
Ricardo Wurmus a5948c0d41 gnu: Add gcc-objc++-4.9.
* gnu/packages/gcc.scm (gcc-objc++-4.9): New variable.
2016-05-20 15:19:48 +02:00
Ricardo Wurmus 8b196ad208 gnu: Add default gcc-objc.
* gnu/packages/gcc.scm (gcc-objc): New variable.
2016-05-20 15:19:48 +02:00
Ricardo Wurmus 2d69c1616d gnu: Add gcc-objc-4.9.
* gnu/packages/gcc.scm (gcc-objc-4.9): New variable.
2016-05-20 15:19:33 +02:00
Ricardo Wurmus 813efdded1 gnu: r-rcpparmadillo: Update to 0.6.700.6.0.
* gnu/packages/statistics.scm (r-rcpparmadillo): Update to 0.6.700.6.0.
* gnu/packages/maths.scm (armadillo-for-rcpparmadillo): Update to
6.700.6.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus 945eef85c5 gnu: armadillo: Update to 6.700.7.
* gnu/packages/maths.scm (armadillo): Update to 6.700.7.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus 7740f58128 gnu: r-genomation: Update to 1.4.2.
* gnu/packages/bioinformatics.scm (r-genomation): Update to 1.4.2.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus f6225d135c gnu: r-jsonlite: Update to 0.9.20.
* gnu/packages/web.scm (r-jsonlite): Update to 0.9.20.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus c969453e1c gnu: r-plotly: Update to 3.6.0.
* gnu/packages/statistics.scm (r-plotly): Update to 3.6.0.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus 95513f284f gnu: r-matrixstats: Update to 0.50.2.
* gnu/packages/statistics.scm (r-matrixstats): Update to 0.50.2.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus b8f6a97ebd gnu: r-r-rsp: Update to 0.30.0.
* gnu/packages/statistics.scm (r-r-rsp): Update to 0.30.0.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus f0c56a2411 gnu: r-rmarkdown: Update to 0.9.6.
* gnu/packages/statistics.scm (r-rmarkdown): Update to 0.9.6.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus 2f7ac060ff gnu: r-plotrix: Update to 3.6-2.
* gnu/packages/statistics.scm (r-plotrix): Update to 3.6-2.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus 133f27b06a gnu: r-devtools: Update to 1.11.1.
* gnu/packages/statistics.scm (r-devtools): Update to 1.11.1.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus 3624ad7150 gnu: r-git2r: Update to 0.15.0.
* gnu/packages/statistics.scm (r-git2r): Update to 0.15.0.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus c1e2c9d41a gnu: r-openssl: Update to 0.9.3.
* gnu/packages/statistics.scm (r-openssl): Update to 0.9.3.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus 383f6337a0 gnu: r-testthat: Update to 1.0.2.
* gnu/packages/statistics.scm (r-testthat): Update to 1.0.2.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus 1b206aeb00 gnu: r-knitr: Update to 1.13.
* gnu/packages/statistics.scm (r-knitr): Update to 1.13.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus d5130e6345 gnu: r-highr: Update to 0.6.
* gnu/packages/statistics.scm (r-highr): Update to 0.6.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus df25b0048a gnu: r-formatr: Update to 1.4.
* gnu/packages/statistics.scm (r-formatr): Update to 1.4.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus 84e5368719 gnu: r-evaluate: Update to 0.9.
* gnu/packages/statistics.scm (r-evaluate): Update to 0.9.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus 9a0ccf43cc gnu: r-bh: Update to 1.60.0-2.
* gnu/packages/statistics.scm (r-bh): Update to 1.60.0-2.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus a76b3f6914 gnu: r-dbi: Update to 0.4-1.
* gnu/packages/statistics.scm (r-dbi): Update to 0.4-1.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus eb1a5b65c0 gnu: r-rcpp: Update to 0.12.5.
* gnu/packages/statistics.scm (r-rcpp): Update to 0.12.5.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus 8ede249e0a gnu: r-genomicfeatures: Update to 1.24.2.
* gnu/packages/bioinformatics.scm (r-genomicfeatures): Update to 1.24.2.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus 192e1ea8d1 gnu: r-summarizedexperiment: Update to 1.2.2.
* gnu/packages/bioinformatics.scm (r-summarizedexperiment): Update to 1.2.2.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus d7420566a9 gnu: r-biocparallel: Update to 1.6.2.
* gnu/packages/bioinformatics.scm (r-biocparallel): Update to 1.6.2.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus 73af676feb gnu: r-annotationdbi: Update to 1.34.2.
* gnu/packages/bioinformatics.scm (r-annotationdbi): Update to 1.34.2.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus 679e670b36 gnu: r-variantannotation: Update to 1.18.1.
* gnu/packages/bioinformatics.scm (r-variantannotation): Update to 1.18.1.
2016-05-20 15:18:23 +02:00
Ricardo Wurmus 186ed87337 gnu: r-genomeinfodb: Update to 1.8.1.
* gnu/packages/bioinformatics.scm (r-genomeinfodb): Update to 1.8.1.
2016-05-20 15:18:23 +02:00
Leo Famulari 0fc4a8afba gnu: btrfs-progs: Update to 4.5.3.
* gnu/packages/linux.scm (btrfs-progs): Update to 4.5.3.
2016-05-19 21:04:22 -04:00
Jelle Licht 0e40755d35 gnu: jemalloc: Update to 4.2.0.
* gnu/packages/jemalloc.scm (jemalloc): Update to 4.2.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-05-19 20:43:13 +03:00
Leo Famulari 119b83989d gnu: expat: Fix CVE-2016-0718. Improve fix for CVE-2015-1283.
* gnu/packages/patches/expat-CVE-2015-1283-refix.patch,
gnu/packages/patches/expat-CVE-2016-0718.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/xml.scm (expat)[replacement]: New field.
(expat/fixed): New variable.
[source]: Use new patches.
2016-05-19 10:27:18 -04:00
Ludovic Courtès 9684e30b9b gnu: flann: Do not install .a files.
* gnu/packages/maths.scm (flann)[arguments]: Add #:phases.
2016-05-19 14:51:21 +02:00
Hartmut Goebel 458480235b gnu: python: Add 'python' variables for different major/minor versions.
* gnu/packages/python.scm (python-2): Rename variable to...
  (python-2.7): ...this.
  (python-2): Refer to "python-2.7".
  (python): Rename variable to...
  (python-3.4): ...this.
  (python-3): Refer to "python-3.4".
  (python): Refer to "python-3".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-05-19 14:51:21 +02:00
Ludovic Courtès 39b3033731 gnu: flann: Strip .mex file.
* gnu/packages/maths.scm (flann)[arguments]: Add #:strip-directories.
2016-05-19 14:51:21 +02:00
Ben Woodcroft 0947698c42 gnu: Add r-biased-urn.
* gnu/packages/statistics.scm (r-biased-urn): New variable.
2016-05-19 22:13:43 +10:00
Efraim Flashner 44c5f0258d gnu: giflib: Use 'modify-phases'.
* gnu/packages/image.scm (giflib)[arguments]: Use 'modify-phases'.
2016-05-19 13:06:49 +03:00
Efraim Flashner 3fdb2a84be gnu: giflib: Update to 5.1.4 [fixes CVE-2015-7555, CVE-2016-3977].
* gnu/packages/image.scm (giflib): Update to 5.1.4.
2016-05-19 13:01:55 +03:00
humanitiesNerd 5c447e280e gnu: Add emacs-smartparens.
*  gnu/packages/emacs.scm (emacs-smartparens): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-05-19 11:45:15 +03:00
Kei Kebreau 21f05134fc Update name for Kei Kebreau.
* .mailmap: Add Kei Kebreau.
* gnu/local.mk: Replace "Kei Yamashita" with "Kei Kebreau".
* gnu/packages/calendar.scm: Likewise.
* gnu/packages/dillo.scm: Likewise.
* gnu/packages/fltk.scm: Likewise.
* gnu/packages/game-development.scm: Likewise.
* gnu/packages/games.scm: Likewise.
* gnu/packages/gnome.scm: Likewise.
* gnu/packages/gtk.scm: Likewise.
* gnu/packages/music.scm: Likewise.
* gnu/packages/xfce.scm: Likewise.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-05-19 11:42:03 +03:00
Kei Yamashita b7b27a8f28 gnu: octave: Update to 4.0.2.
* gnu/packages/maths.scm (octave): Update to 4.0.2.
[inputs]: Added cyrus-sasl, openssl.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-05-19 04:32:23 +03:00
Ludovic Courtès 91231156ce gnu: Add ntfs-3g.
* gnu/packages/linux.scm (ntfs-3g): New variable.
2016-05-18 23:41:03 +02:00
Kei Yamashita 64851f4a23 gnu: wmbattery: Fix UPower-related memory leak.
* gnu/packages/gnustep.scm (wmbattery)[source](snippet): New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-05-18 23:41:03 +02:00
Efraim Flashner 65e46ca0ed gnu: qtkeychain: Update to 0.6.2.
* gnu/packages/qt.scm (qtkeychain): Update to 0.6.2.
2016-05-18 18:06:47 +03:00
Ben Woodcroft bd9fe0f03b gnu: Add krona-tools.
* gnu/packages/web.scm (krona-tools): New variable.
2016-05-18 22:21:52 +10:00
Manolis Ragkousis 0affdfb805 gnu: hurd-headers: Update to 0.8.
* gnu/packages/hurd.scm (hurd-headers): Update to version 0.8.
2016-05-18 15:17:52 +03:00
Manolis Ragkousis eb3be3a791 gnu: mig: Update to 1.7.
* gnu/packages/hurd.scm (mig): Update to version 1.7.
2016-05-18 15:17:44 +03:00
Manolis Ragkousis 614f39271e gnu: gnumach-headers: Update to 1.7.
* gnu/packages/hurd.scm (gnumach-headers): Update to version 1.7.
2016-05-18 15:17:38 +03:00
Ben Woodcroft 7c544991dc gnu: diamond: Do not specify target architecture.
* gnu/packages/bioinformatics.scm (diamond)[arguments]: Do not
specify target architecture.
2016-05-18 21:25:06 +10:00
Ricardo Wurmus e62ffce538 gnu: Add Piranha.
* gnu/packages/bioinformatics.scm (piranha): New variable.
2016-05-18 11:59:34 +02:00
Efraim Flashner dbd40ac19d gnu: python2-pandas: Fix native-inputs.
* gnu/packages/python.scm (python2-pandas)[native-inputs]: Use python2-
versions of python-panda's native-inputs, not of inputs.
2016-05-18 10:52:41 +03:00
Leo Famulari f1876bfc7a gnu: Add signify.
* gnu/packages/crypto.scm (signify): New variable.
2016-05-17 17:52:59 -04:00
Leo Famulari ad42be8388 gnu: libndp: Update to 1.6 [fixes CVE-2016-3698].
* gnu/packages/networking.scm (libndp): Update to 1.6.
2016-05-17 14:31:09 -04:00
humanitiesNerd 9576cc72dc gnu: Add emacs-zenburn-theme.
* gnu/packages/emacs.scm (emacs-zenburn-theme): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-05-17 21:06:36 +03:00
Leo Famulari fb2b0f5c87 gnu: gd: Fix-CVE-2016-3074.
* gnu/packages/patches/gd-CVE-2016-3074.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gd.scm (gd)[source]: Use it.
2016-05-17 13:18:15 -04:00
Ludovic Courtès bbb5d8aeea gnu: gd: Specify 'cpe-name'.
* gnu/packages/gd.scm (gd)[properties]: New field.
2016-05-17 18:15:59 +02:00
Ludovic Courtès 99effc8faa lint: Honor 'cpe-name' and 'cpe-version' package properties.
* guix/scripts/lint.scm (package-name->cpe-name): Remove.
(package-vulnerabilities): Honor 'cpe-name' and 'cpe-version'
properties.
* gnu/packages/grub.scm (grub)[properties]: New field.
* gnu/packages/gnuzilla.scm (icecat)[properties]: Add 'cpe-name' and
'cpe-version'.
* doc/guix.texi (Invoking guix lint): Mention 'cpe-name'.
2016-05-17 18:15:53 +02:00
Federico Beffa 1c29f3ef84 gnu: emacs-constants: Remove old patch.
* gnu/packages/patches/emacs-constants-lisp-like.patch: Remove it.
* gnu/local.mk (dist_patch_DATA): Remove entry for above patch.
2016-05-17 14:17:38 +02:00
Ludovic Courtès aa8fff0ceb store: Clarify 'query-path-hash' docstring.
* guix/store.scm (query-path-hash): Clarify docstring.
2016-05-17 14:02:48 +02:00
Ludovic Courtès 149590380a import: Gracefully report import failures.
Previously, something like 'guix import gnu which' would spit out a
backtrace if, say, the 'which' tarball could not be authenticated.

* guix/upstream.scm (download-tarball): Mention failure modes in
docstring.
* guix/import/gnu.scm (gnu-package->sexp): Return #f when
'download-tarball' returns #f.
* guix/scripts/import.scm (guix-import): Call 'leave' when IMPORTER does
not return a (package ...) sexp.
2016-05-17 14:02:48 +02:00
Ludovic Courtès 787afdd0f1 import: Exit with non-zero when an unknown importer is asked.
* guix/scripts/import.scm (guix-import): Use 'leave' instead of 'format'
when IMPORTER is unknown.
2016-05-17 14:02:48 +02:00
Federico Beffa f99f3f24ef gnu: emacs-constants: Update to 2.6.
* gnu/packages/emacs.scm (emacs-constants): Change to versioned repository and
  update to 2.6.
2016-05-17 14:01:20 +02:00
Ben Woodcroft 849485f5a0 gnu: sortmerna: Update to 2.1b.
* gnu/packages/bioinformatics.scm (sortmerna): Update to 2.1b.
[inputs]: New field.
2016-05-17 21:45:49 +10:00
Ben Woodcroft daaeed765a gnu: vsearch: Update to 1.11.1.
* gnu/packages/bioinformatics.scm (vsearch): Update to 1.11.1.
2016-05-17 21:36:46 +10:00
Ben Woodcroft 122395f9fc gnu: diamond: Update to 0.8.1.
* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.1.
[source]: Remove 'snippet'.
[build-system]: Use cmake-build-system.
[arguments]: Remove modifications to phases.
[native-inputs]: Remove field.
[inputs]: Remove 'boost'.
2016-05-17 21:07:00 +10:00
Ludovic Courtès a9e41d2faf gnu: emacs-constants: Factorize home-page in source URL.
* gnu/packages/emacs.scm (emacs-constants): Move 'home-page' above.  Use
it in 'uri'.
2016-05-17 09:41:40 +02:00
Ludovic Courtès 4f04243405 gnu: 'uncompressed-file-fetch' no longer depends on gzip.
* gnu/packages/emacs.scm (uncompressed-file-fetch): Remove dependency on
GZIP.
2016-05-17 09:41:40 +02:00
Efraim Flashner cb307c0833 gnu: cflow: Update to 1.5.
* gnu/packages/code.scm (cflow): Update to 1.5.
2016-05-17 09:04:38 +03:00
Christopher Allan Webber 11e4c1fd10 gnu: Add geiser-next.
Also, I previously committed to this repository in 2015; add self to copyright
headers for that year too.

* gnu/packages/emacs.scm (geiser-next): New variable.
2016-05-16 14:48:57 -05:00
Ricardo Wurmus 9916ae15bb import cran: latest-bioconductor-release: Wrap Bioconductor URL in list.
* guix/import/cran.scm (latest-bioconductor-release): Wrap Bioconductor
URL in list in the "urls" field of the "upstream-source" value.
2016-05-16 21:00:41 +02:00
Ricardo Wurmus 96101b6718 gnu: r-zlibbioc: Update to 1.18.0.
* gnu/packages/bioinformatics.scm (r-zlibbioc): Update to 1.18.0.
2016-05-16 20:59:50 +02:00
Ricardo Wurmus a0fe3aeecf gnu: r-motifrg: Update to 1.16.0.
* gnu/packages/bioinformatics.scm (r-motifrg): Update to 1.16.0.
2016-05-16 20:59:38 +02:00
Ricardo Wurmus 1f5786a918 gnu: r-seqlogo: Update to 1.38.0.
* gnu/packages/bioinformatics.scm (r-seqlogo): Update to 1.38.0.
2016-05-16 20:59:27 +02:00
Ricardo Wurmus 8adc3b628d gnu: r-genomation: Update to 1.4.0.
* gnu/packages/bioinformatics.scm (r-genomation): Update to 1.4.0.
2016-05-16 20:59:14 +02:00
Ricardo Wurmus 7555817c2b gnu: r-seqpattern: Update to 1.4.0.
* gnu/packages/bioinformatics.scm (r-seqpattern): Update to 1.4.0.
2016-05-16 20:59:04 +02:00
Ricardo Wurmus d1bff89d26 gnu: r-impute: Update to 1.46.0.
* gnu/packages/bioinformatics.scm (r-impute): Update to 1.46.0.
2016-05-16 20:58:49 +02:00
Ricardo Wurmus 5190ed1751 gnu: r-bsgenome: Update to 1.40.0.
* gnu/packages/bioinformatics.scm (r-bsgenome): Update to 1.40.0.
2016-05-16 20:58:35 +02:00
Ricardo Wurmus e48e88c217 gnu: r-topgo: Update to 2.24.0.
* gnu/packages/bioinformatics.scm (r-topgo): Update to 2.24.0.
[propagated-inputs]: Add r-matrixstats.
2016-05-16 20:58:24 +02:00
Ricardo Wurmus 0c56023557 gnu: r-graph: Update to 1.50.0.
* gnu/packages/bioinformatics.scm (r-graph): Update to 1.50.0.
2016-05-16 20:58:08 +02:00
Ricardo Wurmus c12b0a5a30 gnu: r-genomicfeatures: Update to 1.24.0.
* gnu/packages/bioinformatics.scm (r-genomicfeatures): Update to 1.24.0.
2016-05-16 20:57:55 +02:00
Ricardo Wurmus d23fbf1eb9 gnu: r-rtracklayer: Update to 1.32.0.
* gnu/packages/bioinformatics.scm (r-rtracklayer): Update to 1.32.0.
2016-05-16 20:57:43 +02:00
Ricardo Wurmus 3cd551ea7b gnu: r-genomicalignments: Update to 1.8.0.
* gnu/packages/bioinformatics.scm (r-genomicalignments): Update to 1.8.0.
2016-05-16 20:57:30 +02:00
Ricardo Wurmus d848ed7cf2 gnu: r-summarizedexperiment: Update to 1.2.0.
* gnu/packages/bioinformatics.scm (r-summarizedexperiment): Update to 1.2.0.
2016-05-16 20:57:21 +02:00
Ricardo Wurmus b4c5a0db22 gnu: r-rsamtools: Update to 1.24.0.
* gnu/packages/bioinformatics.scm (r-rsamtools): Update to 1.24.0.
2016-05-16 20:57:10 +02:00
Ricardo Wurmus 2477d9773a gnu: r-biostrings: Update to 2.40.0.
* gnu/packages/bioinformatics.scm (r-biostrings): Update to 2.40.0.
2016-05-16 20:56:58 +02:00
Ricardo Wurmus 6a2a0de1ab gnu: r-biocparallel: Update to 1.6.0.
* gnu/packages/bioinformatics.scm (r-biocparallel): Update to 1.6.0.
2016-05-16 20:56:39 +02:00
Ricardo Wurmus 63cea37234 gnu: r-biomart: Update to 2.28.0.
* gnu/packages/bioinformatics.scm (r-biomart): Update to 2.28.0.
2016-05-16 20:56:29 +02:00
Ricardo Wurmus c4a4e17938 gnu: r-annotationdbi: Update to 1.34.0.
* gnu/packages/bioinformatics.scm (r-annotationdbi): Update to 1.34.0.
2016-05-16 20:56:19 +02:00
Ricardo Wurmus 4466a02c9f gnu: r-biobase: Update to 2.32.0.
* gnu/packages/bioinformatics.scm (r-biobase): Update to 2.32.0.
2016-05-16 20:56:09 +02:00
Ricardo Wurmus 828980cad6 gnu: r-genomicranges: Update to 1.24.0.
* gnu/packages/bioinformatics.scm (r-genomicranges): Update to 1.24.0.
2016-05-16 20:55:58 +02:00
Ricardo Wurmus e782ca3e97 gnu: r-xvector: Update to 0.12.0.
* gnu/packages/bioinformatics.scm (r-xvector): Update to 0.12.0.
2016-05-16 20:55:46 +02:00
Ricardo Wurmus 052ee32b24 gnu: r-variantannotation: Update to 1.18.0.
* gnu/packages/bioinformatics.scm (r-variantannotation): Update to
  1.18.0.
2016-05-16 20:55:32 +02:00
Ricardo Wurmus d1ab3d8fa5 gnu: r-genomeinfodb: Update to 1.8.0.
* gnu/packages/bioinformatics.scm (r-genomeinfodb): Update to 1.8.0.
2016-05-16 20:55:20 +02:00
Ricardo Wurmus 952ff8c862 gnu: r-iranges: Update to 2.6.0.
* gnu/packages/bioinformatics (r-iranges): Update to 2.6.0.
2016-05-16 20:55:11 +02:00
Ricardo Wurmus 3654a61146 gnu: r-s4vectors: Update to 0.10.0.
* gnu/packages/bioinformatics.scm (r-s4vectors): Update to 0.10.0.
2016-05-16 20:54:59 +02:00
Ricardo Wurmus a936bf59ea gnu: r-dnacopy: Update to 1.46.0.
* gnu/packages/bioinformatics.scm (r-dnacopy): Update to 1.46.0.
2016-05-16 20:54:37 +02:00
Ricardo Wurmus dbfeba5209 gnu: r-biocgenerics: Update to 0.18.0.
* gnu/packages/bioinformatics.scm (r-biocgenerics): Update to 0.18.0.
2016-05-16 20:53:48 +02:00
Ricardo Wurmus 9583e07cae import cran: Use URL for Bioconductor 3.3.
* guix/import/cran.scm (%bioconductor-svn-url): Update to release URL
  for version 3.3.
2016-05-16 20:52:46 +02:00
Leo Famulari af3ac1f5f7 gnu: imagemagick: Update to 6.9.4-1.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.4-1.
2016-05-16 14:27:48 -04:00
Efraim Flashner b6c2f7dafd gnu: libgit2: Update to 0.24.1.
* gnu/packages/version-control.scm (libgit2): Update to 0.24.1.
2016-05-16 19:34:49 +03:00
Efraim Flashner 8a0ac5bd55 gnu: tmux: Update to 2.2.
* gnu/packages/tmux.scm (tmux): Update to 2.2.
2016-05-16 19:34:49 +03:00
Ricardo Wurmus 8bfd602bb0 build: Accept dates with space-padded hour field.
* guix/build/download.scm: Replace "parse-rfc-822-date" from the (web
  http) module.
2016-05-16 18:26:26 +02:00
Alex Griffin d3699b311b gnu: Add ledger.
* gnu/packages/finance.scm (ledger): New variable.

Co-authored-by: Alex Kost <alezost@gmail.com>
2016-05-16 18:01:18 +03:00
Alex Griffin f17a544756 gnu: Add utfcpp.
* gnu/packages/textutils.scm (utfcpp): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-05-16 18:01:18 +03:00
Nicolas Goaziou 80ed14d38f gnu: asymptote: Install Emacs data.
* gnu/packages/plotutils.scm (asymptote)[arguments]: Add a phase to
  install Emacs-Lisp files in an appropriate place.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-05-16 18:01:18 +03:00
Alex Kost 47c96a577d gnu: mu: Update to 0.9.16.
* gnu/packages/mail.scm (%mu-gtester-patch): Remove.
(mu): Update to 0.9.16.
[source]: Remove 'patches'.
2016-05-16 18:01:18 +03:00
Alex Kost 704f219668 gnu: mu: Install emacs autoloads.
* gnu/packages/mail.scm (mu)[arguments]: Add 'install-emacs-autoloads'
  phase.  Use appropriate modules and imported-modules.
2016-05-16 18:01:18 +03:00
Alex Kost 789bda83d2 gnu: mu: Install emacs files in a proper place.
* gnu/packages/mail.scm (mu)[arguments]: Add 'patch-configure.ac' phase
  to avoid adding "mu4e" sub-directory to 'lispdir' variable.
2016-05-16 18:01:18 +03:00
Alex Kost 99404fff9f gnu: mu: Use 'modify-phases'.
* gnu/packages/mail.scm (mu): Use 'modify-phases'.
2016-05-16 18:01:18 +03:00
Efraim Flashner 7d0c3c8d01 gnu: python-pandas: Update to 0.18.1.
* gnu/packages/python.scm (python-pandas): Update to 0.18.1.
[native-inputs]: Remove python-setuptools.
[properties]: Define python2-pandas.
(python2-pandas)[native-inputs]: Add python2-setuptools.
* gnu/packages/patches/python-pandas-fix-tslib-test-failure.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2016-05-16 17:39:42 +03:00
Ricardo Wurmus 8226c2717c gnu:: java-swt: Use ant-build-system.
* gnu/packages/java.scm (java-swt): Use ant-build-system.
[native-inputs]: Remove JDK.
2016-05-16 16:17:18 +02:00
Ricardo Wurmus 81b98756a3 gnu: Add SBC.
* gnu/packages/linux.scm (sbc): New variable.
2016-05-16 16:16:21 +02:00
Ricardo Wurmus 002528bca5 gnu: rapicorn: Fix tests.
* gnu/packages/graphics.scm (rapicorn)[arguments]: Add build phases
"fix-tests" and "pre-check".  Generalize "replace-/bin/ls" phase to
"replace-fhs-paths".
[propagated-inputs]: Add python2-enum34.
[native-inputs]: Add xorg-server.
2016-05-16 16:16:15 +02:00
Efraim Flashner 44877dcc66 gnu: hugs: Update urls.
* gnu/packages/hugs.scm (hugs)[source]: Update url.
[home-page]: Use https.
2016-05-16 14:47:59 +03:00
Efraim Flashner a83e604662 gnu: hmmer: Update urls.
* gnu/packages/bioinformatics.scm (hmmer)[source]: Project has moved to
eddylab, with their downloads.
[home-page]: Update to new homepage.
2016-05-16 14:28:53 +03:00
Efraim Flashner d03f944614 gnu: guile-irregex: Update to 0.9.4.
* gnu/packages/guile.scm (guile-irregex): Update to 0.9.4.
2016-05-16 14:18:21 +03:00
Efraim Flashner 3a66217ff2 gnu: gkrellm: Update urls.
* gnu/packages/gkrellm.scm (gkrellm)[source]: Download from new site.
[home-page]: Update to new site.
2016-05-16 14:12:54 +03:00
Efraim Flashner bf512da1e4 gnu: giblib: Add mirror for source.
* gnu/packages/image.scm (giblib)[source]: Add a download mirror from
slackbuilds.
2016-05-16 14:07:47 +03:00
Efraim Flashner 284539ce86 gnu: geeqie: Update source location.
* gnu/packages/geeqie.scm (geeqie)[source]: Download from Github.
[home-page]: Project has moved to new url.
2016-05-16 12:59:40 +03:00
Efraim Flashner fd02719c7b gnu: fvwm: Update to 2.6.6.
* gnu/packages/fvwm.scm (fvwm): Update to 2.6.6.
[source]: Change download location to Github.
2016-05-16 12:31:25 +03:00
Efraim Flashner 6b287c5c35 download: Update debian mirrors.
* guix/download.scm (mirrors)[debian]: Add Debian's archive to the
Debian mirror list.
2016-05-16 12:10:49 +03:00
Efraim Flashner 66395a6157 gnu: gmsh: Add missing inputs.
* gnu/packages/maths.scm (gmsh)[inputs]: Add fontconfig, libxft.
2016-05-16 10:18:43 +03:00
Leo Famulari b4370be9de gnu: python-cryptography, python-cryptography-vectors: Update to 1.3.2.
* gnu/packages/python.scm (python-cryptography): Update to 1.3.2.
(python-cryptography-vectors): Update to 1.3.2.
2016-05-16 02:13:18 -04:00
Efraim Flashner 3fef0a2fa1 gnu: unixodbc: Update to 2.3.4.
* gnu/packages/databases.scm (unixodbc): Update to 2.3.4.
2016-05-16 06:10:06 +03:00
Efraim Flashner 6747a852c5 gnu: tdb: Update to 1.3.9.
* gnu/packages/databases.scm (tdb): Update to 1.3.9.
2016-05-16 06:10:06 +03:00
Efraim Flashner ec374039e4 gnu: postgresql: Update to 9.5.3.
* gnu/packages/databases.scm (postgresql): Update to 9.5.3.
2016-05-16 06:10:06 +03:00
Efraim Flashner 9a12ca7771 gnu: wireless-regdb: Update to 2016.05.02.
* gnu/packages/linux.scm (wireless-regdb): Update to 2016.05.02.
2016-05-16 06:10:06 +03:00
Efraim Flashner 2f9e312a39 gnu: iw: Update to 4.3.
* gnu/packages/linux.scm (iw): Update to 4.3.
[source]: Use kernel mirror.
[home-page]: Update to new home-page.
2016-05-16 06:10:06 +03:00
Efraim Flashner 30897c60a4 gnu: mdadm: Update to 3.4.
* gnu/packages/linux.scm (mdadm): Update to 3.4.
[source]: Remove patch.
* gnu/packages/patches/mdadm-gcc-4.9-fix.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2016-05-16 06:10:06 +03:00
Efraim Flashner e9eb24b1b2 gnu: bluez: Update to 5.39.
* gnu/packages/linux.scm (bluez): Update to 5.39.
[source]: Use kernel mirror.
2016-05-16 06:10:06 +03:00
Efraim Flashner 2b193389d2 gnu: libical: Update to 2.0.0.
* gnu/packages/calendar.scm (libical): Update to 2.0.0.
[arguments]: Add configure-flag to add "/lib64" to the rpath.
2016-05-16 06:10:06 +03:00
Efraim Flashner a2ccaa0d79 gnu: qemu: Update to 2.6.0.
* gnu/packages/qemu.scm (qemu): Update to 2.6.0.
[arguments]: Re-enable parallel tests.
2016-05-16 06:10:06 +03:00
Efraim Flashner 1fb8e074f1 gnu: libqmi: Update to 1.14.2.
* gnu/packages/freedesktop.scm (libqmi): Update to 1.14.2.
2016-05-16 06:10:06 +03:00
Efraim Flashner 66056126ea gnu: libmbim: Update to 1.12.4.
* gnu/packages/freedesktop.scm (libmbim): Update to 1.12.4.
[home-page]: Use https.
2016-05-16 06:10:06 +03:00
Kei Yamashita 9c0c77f833 gnu: Add gtkspell3.
* gnu/packages/gtk.scm (gtkspell3): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-05-16 06:10:06 +03:00
Efraim Flashner 5c6fdaa9e1 gnu: exempi: Update to 2.3.0.
* gnu/packages/freedesktop.scm (exempi): Update to 2.3.0.
2016-05-16 06:10:06 +03:00
Efraim Flashner 3f61f926b9 gnu: libinput: Update to 1.3.0.
* gnu/packages/freedesktop.scm (libinput): Update to 1.3.0.
2016-05-16 06:10:06 +03:00
Efraim Flashner 90cd0e138d gnu: owncloud-client: Update to 2.2.0.
* gnu/packages/owncloud.scm (owncloud-client): Update to 2.2.0.
2016-05-16 06:10:06 +03:00
Efraim Flashner 74dd0e4831 gnu: libidn: Update license.
* gnu/packages/libidn.scm (libidn)[license]: Change the license to
gpl2+ gpl3+ lgpl3+ fdl1.3+.
2016-05-16 06:10:06 +03:00
Leo Famulari b7ab191ddd gnu: Add libbsd.
* gnu/packages/libbsd.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2016-05-15 22:05:44 -04:00
David Thompson d8f3795622 gnu: minetest: Update to 0.4.14.
* gnu/packages/games.scm (minetest-data, minetest): Update to 0.4.14.
2016-05-15 18:33:36 -04:00
Jan Nieuwenhuizen 9365ee1c46 gnu: Add gnome-tweak-tool.
* gnu/packages/patches/gnome-tweak-tool-search-paths.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gnome.scm (gnome-tweak-tool): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-15 13:03:15 -04:00
Jan Nieuwenhuizen 277a7d82b8 gnu: libnotify: Add dependency on gobject-introspection.
* gnu/packages/gnome.scm (libnotify)[native-inputs]: Add
gobject-introspection.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-15 13:03:00 -04:00
宋文武 e91fd7f591 gnu: love: Update to 0.10.1.
* gnu/packages/game-development.scm (love): Update to 0.10.1.
2016-05-15 18:24:15 +08:00
宋文武 e6a905070a gnu: wxmaxima: Update to 16.04.2.
* gnu/packages/maths.scm (wxmaxima): Update to 16.04.2.
2016-05-15 15:49:35 +08:00
Jan Nieuwenhuizen 8a7680a759 gnu: cross-base: Add srfi-26 for glibc.
Fixes a regression introduced in
commit efc4eb1475.

* gnu/packages/cross-base.scm (cross-libc)[arguments]: Add (srfi
srfi-26).

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-05-14 22:01:27 +02:00
Ludovic Courtès cd436bf05a download: Support content-addressed mirrors.
* guix/download.scm (%content-addressed-mirrors)
(%content-addressed-mirror-file): New variables.
* guix/download.scm (url-fetch)[builder]: Define
'value-from-environment.  Pass #:hashes and
 #:content-addressed-mirrors to 'url-fetch'.
Define "guix download hashes" environment variable.
* guix/build/download.scm (url-fetch): Add #:content-addressed-mirrors
and #:hashes.
[content-addressed-urls]: New variable.
Use it.
2016-05-14 17:37:47 +02:00
Ludovic Courtès c22a475725 guix build: Catch 'getaddrinfo-error' for '--log-file'.
* guix/scripts/build.scm (log-url)[valid-url?]: Catch
'getaddrinfo-error'.
2016-05-14 16:56:21 +02:00
Ludovic Courtès 6e94a57478 guix build: Do not show what to build when '-d' is used.
* guix/scripts/build.scm (guix-build): Don't call 'show-what-to-build'
when OPTS contains 'derivations-only?'.
2016-05-14 16:47:12 +02:00
Ludovic Courtès 52e1defe02 gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to e9017c9.
Use http URL.
2016-05-14 15:50:25 +02:00
Ludovic Courtès 6d461b21f0 gnu: git: Fix search path specification for 'GIT_SSL_CAINFO'.
Reported by ng0 <ng0@n0.is>.

* gnu/packages/version-control.scm (git)[native-search-paths]: Add
'file-type'.
2016-05-14 10:32:50 +02:00
Leo Famulari 247783685b gnu: certbot: Update home page URL.
This is a followup to commit 9495cf9a80.

* gnu/packages/tls.scm (certbot)[home-page]: Update to new location.
2016-05-14 01:37:11 -04:00
Leo Famulari 9495cf9a80 gnu: Rename letsencrypt to certbot. Upgrade certbot and python-acme to 0.6.0.
* gnu/packages/tls.scm (letsencrypt): Rename to...
(certbot): ... this.
(letsencrypt): Inherit from certbot.
[source]: Update to 0.6.0
[arguments]: Adjust paths.
(python-acme, python2-acme): Update to 0.6.0.
2016-05-14 01:18:28 -04:00
Mark H Weaver e9017c98d6 gnu: jemalloc: No longer build with gcc-4.8 on i686.
* gnu/packages/jemalloc.scm (jemalloc)[native-inputs]: Remove field.
2016-05-13 01:18:42 -04:00
Mark H Weaver 99828fa788 gnu: Update module imports for asciidoc and doxygen.
This is a followup to commit 0573a923de.

* gnu/packages/algebra.scm, gnu/packages/bioinformatics.scm,
gnu/packages/fcitx.scm, gnu/packages/fish.scm,
gnu/packages/freedesktop.scm, gnu/packages/game-development.scm,
gnu/packages/gcc.scm, gnu/packages/graphics.scm, gnu/packages/image.scm,
gnu/packages/kodi.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/messaging.scm,
gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/rdf.scm,
gnu/packages/serialization.scm, gnu/packages/version-control.scm,
gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm,
gnu/packages/xiph.scm: Change imports of (gnu packages asciidoc) or
(gnu packages doxygen) to (gnu packages documentation).
2016-05-12 20:18:15 -04:00
Mark H Weaver 207c604637 Merge branch 'gnome-updates' 2016-05-12 18:48:36 -04:00
Mark H Weaver 11d7d7b5d3 gnu: linux-libre: Update to 4.5.4.
* gnu/packages/linux.scm (linux-libre): Update to 4.5.4.
2016-05-12 18:43:06 -04:00
Mark H Weaver a23dc63bed gnu: linux-libre-4.4: Update to 4.4.10.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.10.
2016-05-12 18:42:57 -04:00
Mark H Weaver fffa338439 gnu: linux-libre-4.1: Update to 4.1.24.
* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.24.
2016-05-12 18:42:42 -04:00
Mark H Weaver ef06d54a9b gnu: icecat: Update to 38.8.0-gnu1.
* gnu/packages/patches/icecat-CVE-2016-2805.patch,
gnu/packages/patches/icecat-CVE-2016-2807-pt1.patch,
gnu/packages/patches/icecat-CVE-2016-2807-pt2.patch,
gnu/packages/patches/icecat-CVE-2016-2807-pt3.patch,
gnu/packages/patches/icecat-CVE-2016-2807-pt4.patch,
gnu/packages/patches/icecat-CVE-2016-2807-pt5.patch,
gnu/packages/patches/icecat-CVE-2016-2808.patch,
gnu/packages/patches/icecat-CVE-2016-2814.patch,
gnu/packages/patches/icecat-re-enable-DHE-cipher-suites.patch,
gnu/packages/patches/icecat-update-bundled-graphite2.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
* gnu/packages/gnuzilla.scm (icecat): Update to 38.8.0-gnu1.
[source] Remove deleted patches.
2016-05-12 18:15:07 -04:00
Eric Bavier 889187a464 gnu: Add NetCDF.
* gnu/packages/maths.scm (netcdf, netcdf-parallel-openmpi): New variables.
2016-05-12 19:59:53 +00:00
Eric Bavier 6c90e183cf gnu: Add Matio.
* gnu/packages/maths.scm (matio): New variable.
2016-05-12 19:59:52 +00:00
Eric Bavier 00775104ee gnu: Add h5check.
* gnu/packages/maths.scm (h5check): New variable.
2016-05-12 19:59:52 +00:00
Eric Bavier c8378eea10 gnu: Add hdf5-openmpi.
* gnu/packages/maths.scm (hdf5-openmpi): New variable.
2016-05-12 19:59:52 +00:00
Eric Bavier b8d9c93bde gnu: hdf5: Have configure honor SOURCE_DATE_EPOCH.
* gnu/packages/patches/hdf5-config-date.patch: New patch.
* gnu/packages/maths.scm (hdf5)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2016-05-12 19:59:52 +00:00
Eric Bavier f622e2123b gnu: hdf5: Patch output references to zlib.
* gnu/packages/maths.scm (hdf5)[arguments]: Use modify-phases.  Add
'patch-references' phase.
2016-05-12 19:59:52 +00:00
Eric Bavier 04b7a7cd10 gnu: hdf5: Update to 1.8.17.
* gnu/packages/maths.scm (hdf5): Update to 1.8.17.
2016-05-12 19:59:52 +00:00
Eric Bavier 528bb46436 gnu: Add HYPRE.
* gnu/packages/maths.scm (hypre, hypre-openmpi): New variables.
* gnu/packages/patches/hypre-doc-tables.patch,
gnu/packages/patches/hypre-ldflags.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
2016-05-12 19:59:52 +00:00
Eric Bavier b4e655e5f1 gnu: Add doc++.
* gnu/packages/documentation.scm (doc++): New variable.
* gnu/packages/patches/doc++-include-directives.patch,
  gnu/packages/patches/doc++-segfault-fix.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
2016-05-12 19:59:52 +00:00
Eric Bavier 0573a923de gnu: Move asciidoc and doxygen to new module.
* gnu/packages/asciidoc.scm (asciidoc): Move this...
* gnu/packages/doxygen.scm (doxygen): ...and this...
* gnu/packages/documentation.scm: ...to here.  New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add accordingly.
2016-05-12 19:04:31 +00:00
Eric Bavier f6292baf92 gnu: claws-mail: Add shared-mime-info input.
* gnu/packages/mail.scm (claws-mail)[inputs]: Add shared-mime-info.
[arguments]: Add 'patch-mime' phase.
2016-05-12 01:09:22 -05:00
Efraim Flashner dbffd7d775 gnu: nmap: Update to 7.12.
* gnu/packages/admin.scm (nmap): Update to 7.12.
2016-05-12 08:51:10 +03:00
Efraim Flashner 7e19194d07 gnu: tinc: Update to 1.0.28. 2016-05-12 06:59:49 +03:00
Efraim Flashner a8cdc49e59 gnu: openvpn: Update to 2.3.9.
* gnu/packages/vpn.scm (openvpn): Update to 2.3.9.
2016-05-12 06:52:18 +03:00
Leo Famulari e7806e6caa gnu: libarchive: Fix CVE-2016-1541.
* gnu/packages/backup.scm (libarchive)[replacement]: New field.
(libarchive/fixed): New variable.
* gnu/packages/patches/libarchive-CVE-2016-1541.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-05-11 21:35:35 -04:00
宋文武 de1d68a295 gnu: aseprite: Fix build.
* gnu/packages/game-development.scm (aseprite)[arguments]: Remove #:phases.
2016-05-12 09:28:14 +08:00
Mark H Weaver 9f5e796753 Merge branch 'master' into gnome-updates 2016-05-11 13:37:47 -04:00
Danny Milosavljevic cf60e76a95 gnu: libxkbcommon: Move to (gnu packages xdisorg).
* gnu/packages/qt.scm (libxkbcommon): Move to...
* gnu/packages/xdisorg.scm (libxkbcommon): ... here.  New variable.
* gnu/packages/wm.scm, gnu/packages/gnome.scm,
gnu/packages/games.scm: Adjust accordingly.
2016-05-11 18:29:39 +02:00
Matthew Jordan 5d38aa0826 gnu: Add entr.
* gnu/packages/entr.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-05-11 18:16:11 +02:00
Nicolas Goaziou 75e56aedf0 gnu: thinkfan: Fix daemon path in init scripts.
* gnu/packages/linux.scm (thinkfan): Fix daemon path in init scripts.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-05-11 17:56:27 +02:00
Mark H Weaver e2b89203db gnu: totem: Fix build on i686.
* gnu/packages/patches/totem-debug-format-fix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gnome.scm (totem)[source]: Add patch.
2016-05-11 10:22:00 -04:00
Roel Janssen 93d2456cfc gnu: graphviz: Build the Guile bindings.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Add SWIG and GUILE-2.0.
[arguments]: Add 'move-guile-bindings' phase.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-05-11 15:58:24 +02:00
Kei Yamashita 22c161d0a8 gnu: libical: Correct zoneinfo search path.
* gnu/packages/calendar.scm (libical)[arguments]: substitute FHS-compliant
zoneinfo folders with location of tzdata's zoneinfo folder.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-05-11 15:46:42 +02:00
Ludovic Courtès 1aaf116d31 doc: Fix typo.
* doc/guix.texi (Base Services): "gpm-service", not "gmp-service-type".
2016-05-11 11:08:49 +02:00
Leo Famulari 424fbe807f gnu: libksba: Upsate to 1.3.4.
* gnu/packages/gnupg.scm (libksba): Update to 1.3.4.
2016-05-10 17:48:57 -04:00
Leo Famulari cf316a5938 gnu: exim: Update to 4.87.
* gnu/packages/mail.scm (exim): Update to 4.87.
2016-05-10 16:44:41 -04:00
Alex Kost f8476e17a7 emacs: Add 'guix-package-from-file' command.
* emacs/guix-main.scm (register-package, packages-from-file): New procedures.
(%patterns-makers): Add 'from-file' search type.
* emacs/guix-messages.el (guix-messages): Add messages for it.
* emacs/guix-ui-package.el (guix-package-from-file): New command.
(guix-package-info-insert-location): Adjust for 'from-file' type.
* doc/emacs.texi (Emacs Commands): Document it.
2016-05-10 12:05:53 +03:00
Alex Kost 3be3328927 emacs: main: Remove top-level package tables.
* emacs/guix-main.scm (%package-vhash, package-vhash, %package-table)
(package-table, name+version->key, key->name+version): Remove.
(package-by-address, packages-by-name+version): Adjust by using delayed
local package tables.
2016-05-10 12:05:53 +03:00
Alex Kost 10b0c31d6b emacs: Simplify 'guix-guile-boolean'.
* emacs/guix-guile.el (guix-guile-boolean): Use straightforward way to
  define true/false value.
2016-05-10 12:05:53 +03:00
Efraim Flashner 26fceae21a Revert "gnu: libva: Update to 1.7.0."
This reverts commit cdda334ec2.
2016-05-10 11:48:12 +03:00
Leo Famulari b6449e6126 gnu: qemu: Update to 2.5.1.1 [fixes CVE-2015-8558, CVE-2016-{3710, 3712}].
* gnu/packages/qemu.scm (qemu): Update to 2.5.1.1.
[arguments]: Disable parallel tests.
2016-05-10 03:34:51 -04:00
Efraim Flashner fa37f21bda gnu: guile-ncurses: Use 'modify-phases'.
* gnu/packages/guile.scm (guile-ncurses)[arguments]: Use 'modify-phases'.
2016-05-10 07:41:27 +03:00
Efraim Flashner 4176eb1918 gnu: guile-ncurses: Update to 1.7.
* gnu/packages/guile.scm (guile-ncurses): Update to 1.7.
[arguments]: Remove work-around for buggy test.

commit fixes http://bugs.gnu.org/21677
2016-05-10 07:40:33 +03:00
Efraim Flashner cc6561e6a1 gnu: qemu: Update to 2.5.1.
* gnu/packages/qemu.scm (qemu): Update to 2.5.1.
[source]: Remove patches.
* gnu/packages/patches/qemu-usb-ehci-oob-read.patch,
gnu/packages/patches/qemu-virtio-9p-use-accessor-to-get-thread-pool.patch,
gnu/packages/patches/qemu-CVE-2015-8558.patch,
gnu/packages/patches/qemu-CVE-2015-8567.patch,
gnu/packages/patches/qemu-CVE-2015-8613.patch,
gnu/packages/patches/qemu-CVE-2015-8619.patch,
gnu/packages/patches/qemu-CVE-2015-8701.patch,
gnu/packages/patches/qemu-CVE-2015-8743.patch,
gnu/packages/patches/qemu-CVE-2016-1568.patch,
gnu/packages/patches/qemu-CVE-2016-1922.patch,
gnu/packages/patches/qemu-CVE-2016-1981.patch,
gnu/packages/patches/qemu-CVE-2016-2197.patch: Remove files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2016-05-09 20:43:35 +03:00
Efraim Flashner f2bca8db37 gnu: connman: Fix url.
* gnu/packages/connman.scm (connman)[source]: Remove extra "/pub" from
the download url.
2016-05-09 17:02:51 +03:00
Efraim Flashner ac10a81ad4 gnu: openntpd: Update to 5.9p1.
* gnu/packages/ntp.scm (openntpd): Update to 5.9p1.
2016-05-09 14:43:52 +03:00
Efraim Flashner e20a94aa88 gnu: youtube-dl: Update to 2016.05.01.
* gnu/packages/video.scm (youtube-dl): Update to 2016.05.01.
2016-05-09 13:49:49 +03:00
Efraim Flashner 702bfbf1ee gnu: ffmpeg: Update to 3.0.2.
* gnu/packages/video.scm (ffmpeg): Update to 3.0.2.
[home-page]: Use https.
2016-05-09 13:43:46 +03:00
Efraim Flashner cdda334ec2 gnu: libva: Update to 1.7.0.
* gnu/packages/video.scm (libva): Update to 1.7.0.
[home-page]: Use https.
2016-05-09 13:43:46 +03:00
Al McElrath 4acbd20621 gnu: Add surf.
* gnu/packages/suckless.scm (surf): New variable.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-05-09 18:11:56 +08:00
Kei Yamashita 9c6b7ef54f gnu: Add wmfire.
* gnu/packages/gnustep.scm (wmfire): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-05-09 11:41:00 +03:00
Alex Kost 19e1d5f7f9 guix: utils: Re-export 'memoize'.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* guix/utils.scm: Re-export 'memoize' to avoid a potential breakage of
  emacs interface.  See
  <http://lists.gnu.org/archive/html/guix-devel/2016-05/msg00146.html>
  for details.
2016-05-09 11:41:00 +03:00
Alex Kost e3dba5ac75 emacs: Add 'guix-version' command.
* emacs/guix-config.el.in (guix-config-name, guix-config-version): New
  constants.
* emacs/guix-about.el (guix-version): New command.  New file.
* emacs/local.mk (ELFILES): Add it.
2016-05-09 11:41:00 +03:00
Efraim Flashner 4c7729dc56 gnu: mlt: Update to 6.2.0.
* gnu/packages/video.scm (mlt): Update to 6.2.0.
[source]: Download from github.
[inputs]: Add pulseaudio.
2016-05-09 02:26:12 +03:00
Efraim Flashner 1d4ac724b8 gnu: v4l-utils: Update to 1.10.0.
* gnu/packages/video.scm (v4l-utils): Update to 1.10.0.
[source]: Use https.
2016-05-09 02:10:32 +03:00
Ludovic Courtès 5a55564217 system: tests: Use 'start-service' to wait for service.
* gnu/tests/base.scm (%test-basic-os): Use 'start-service' instead of a
busy loop to wait for 'term-tty1'.
2016-05-08 23:49:44 +02:00
Ludovic Courtès b8785cb944 doc: Suggest long OpenPGP key ID.
* doc/guix.texi (Binary Installation): Use long OpenPGP key ID.
2016-05-08 23:49:44 +02:00
Efraim Flashner 6cd6d1ad5e gnu: obs: Update to 0.14.1.
* gnu/packages/video.scm (obs): Update to 0.14.1.
2016-05-08 23:51:42 +03:00
David Thompson 738fea3086 gnu: tiled: Update to 0.16.1.
* gnu/packages/game-development.scm (tiled): Update to 0.16.1.
2016-05-08 12:36:12 -04:00
宋文武 4e823eae64 gnu: gnome-klotski: Fix build.
* gnu/packages/gnome.scm (gnome-klotski)[inputs]: Add libgames-support.
2016-05-08 23:00:37 +08:00
宋文武 f09520db01 gnu: Add libgames-support.
* gnu/packages/gnome.scm (libgames-support): New variable.
2016-05-08 23:00:12 +08:00
宋文武 041d0ff880 gnu: poppler: Update to 0.43.0.
* gnu/packages/pdf.scm (poppler): Update to 0.43.0.
2016-05-08 21:20:55 +08:00
宋文武 f8cf897582 gnu: Unregister poppler-CVE-2015-8868.patch.
* gnu/local.mk (dist_patch_DATA): Unregister poppler-CVE-2015-8868.patch.
2016-05-08 18:13:13 +08:00
宋文武 6655a74326 Merge branch 'master' into gnome-updates 2016-05-08 17:54:46 +08:00
Roel Janssen 2d4422d5b5 gnu: Add bash-tap.
* gnu/packages/bash.scm (bash-tap): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-07 14:53:38 -04:00
Roel Janssen b5f13fdb96 gnu: Add r-mvtnorm.
* gnu/packages/statistics.scm (r-mvtnorm): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-07 14:16:18 -04:00
Nicolas Goaziou d17ae8c0c3 gnu: Add thinkfan.
* gnu/packages/linux.scm (thinkfan): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-06 22:46:59 -04:00
Kei Yamashita 13416a10af gnu: Add moc.
* gnu/packages/music.scm (moc): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-06 19:38:50 -04:00
Leo Famulari bdb2d56ee7 gnu: mutt: Update to 1.6.1.
* gnu/packages/mail.scm (mutt): Update to 1.6.1.
2016-05-06 17:01:35 -04:00
Leo Famulari 70dced54ed gnu: msmtp: Update to 1.6.4.
* gnu/packages/mail.scm (msmtp): Update to 1.6.4.
2016-05-06 16:46:35 -04:00
Alex Griffin aa206271cf gnu: wesnoth: Update to 1.12.5.
* gnu/packages/games.scm (wesnoth): Update to 1.12.5.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-06 15:46:54 -04:00
Mark H Weaver 9fab793729 gnu: bind-utils: Update to 9.10.4.
* gnu/packages/dns.scm (bind-utils): Update to 9.10.4.
2016-05-06 15:38:25 -04:00
Mark H Weaver ef3b904770 gnu: isc-dhcp: Update to 4.3.4 [with mitigation for CVE-2016-2774].
* gnu/packages/admin.scm (isc-dhcp): Update to 4.3.4.  Update
bundled 'bind' to 9.9.9.
2016-05-06 15:38:12 -04:00
Leo Famulari 04d1a0dc0c gnu: nginx: Update to 1.10.0.
* gnu/packages/web.scm (nginx): Update to 1.10.0.
2016-05-06 14:13:59 -04:00
David Thompson 218a21069a gnu: redis: Update to 3.2.0. 2016-05-06 09:11:34 -04:00
Ricardo Wurmus e42eb908f6 gnu: r: Update to 3.3.0.
* gnu/packages/statistics.scm (r): Update to 3.3.0.
[inputs]: Add curl and tzdata.
[arguments]: Set TZDIR in "set-timezone" phase.
2016-05-06 14:58:19 +02:00
Ludovic Courtès d33c8b4649 syscalls: Use 'define-c-struct' for 'fcntl-flock'.
* guix/build/syscalls.scm (%struct-flock): Use 'define-c-struct'.
(fcntl-flock): Use 'write-flock!' and 'make-bytevector' instead of
'make-c-struct'.
2016-05-06 13:25:30 +02:00
Ludovic Courtès 4e0ea3eb28 utils: Move 'fcntl-flock' to (guix build syscalls).
* guix/utils.scm (%struct-flock, F_SETLKW, F_SETLK, F_xxLCK)
(fcntl-flock): Move to...
* guix/build/syscalls.scm: ... here.  New variables.
* guix/nar.scm: Adjust imports accordingly.
* tests/utils.scm ("fcntl-flock wait", "fcntl-flock non-blocking"): Move
to...
* tests/syscalls.scm: ... here.  New tests.
(temp-file): New variable.
2016-05-06 13:25:30 +02:00
Alex Griffin ba2613bb4e system: Do not export PS1 in /etc/skel/.bashrc.
* gnu/system/shadow.scm (default-skeletons)[bashrc]: Remove "export"
for 'PS1'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-05-06 13:25:30 +02:00
Al McElrath 766a22fb4d gnu: i3status: Update to 2.10.
Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-06 01:38:27 -04:00
Leo Famulari fdad1f3c42 gnu: i3status: Use https URLs.
* gnu/packages/wm.scm (i3status)[source]: Use https URL.
[home-page]: Use https URL.
2016-05-06 01:35:07 -04:00
Leo Famulari 8658d40350 gnu: i3-wm: Use https URLs.
* gnu/packages/wm.scm (i3-wm)[source]: Use https URL.
[home-page]: Use https URL.
2016-05-06 01:29:56 -04:00
Roel Janssen 52ad9cb60e gnu: Add r-estimability.
* gnu/packages/statistics.scm (r-estimability): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-05 20:42:36 -04:00
Roel Janssen 82047474ea gnu: Add r-coda.
* gnu/packages/statistics.scm (r-coda): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-05 20:23:48 -04:00
Efraim Flashner 76192896e9 services: Add connman-service.
* gnu/services/networking.scm (connman-service): New procedure.
(connman-service-type, %connman-activation): New variables.
(connman-shepherd-service): New procedure.
* doc/guix.texi (Networking Services): Document it.
2016-05-05 23:07:09 +03:00
Efraim Flashner 9478c9d834 gnu: Add connman.
* gnu/packages/connman.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2016-05-05 23:07:09 +03:00
Leo Famulari ddba00cdf0 gnu: ntp: Update to 4.2.8p7 [security fixes].
This fixes CVE-2015-7704 and CVE-2016-{1547,1548,1549,1551,2516,2517,
2518,2519}.

* gnu/packages/ntp.scm (ntp): Update to 4.2.8.p7.
2016-05-05 16:05:04 -04:00
Efraim Flashner 9c61acf2c1 gnu: mercurial: Update to 3.8.1 [fixes CVE-2016-3105].
* gnu/packages/version-control.scm (mercurial): Update to 3.8.1.
2016-05-05 19:43:29 +03:00
Jan Nieuwenhuizen 7309045cd3 gnu: Add libiconv.
* gnu/packages/base.scm (libiconv): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-05-05 16:55:14 +02:00
Mark H Weaver c041dcd133 gnu: linux-libre: Update to 4.5.3.
* gnu/packages/linux.scm (linux-libre): Update to 4.5.3.
2016-05-05 08:48:07 -04:00
Mark H Weaver a6b3c07a7a gnu: linux-libre-4.4: Update to 4.4.9.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.9.
2016-05-05 08:44:52 -04:00
Mark H Weaver a82f322b1c gnu: linux-libre-4.1: Update to 4.1.23.
* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.23.
2016-05-05 07:56:37 -04:00
Alex Kost 86670ca4b7 emacs: main: Use (guix combinators).
Reported by rsiddharth on #guix.
This is a followup to commit 958dd3ce68.

* emacs/guix-main.scm: Use (guix combinators) module as 'memoize' moved there.
2016-05-05 11:33:06 +03:00
Leo Famulari 1a957c21c6 gnu: libressl: Update to 2.3.4 [security fixes].
Fixes CVE-2016-{2105, 2106, 2107, 2108, 2109}.

* gnu/packages/tls.scm (libressl): Update to 2.3.4.
2016-05-05 02:16:17 -04:00
Ludovic Courtès 41c569d9b9 build: Add 'run-system-tests.scm'.
This file was meant to be added as part of
commit e9f693d06f.

* build-aux/run-system-tests.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2016-05-04 23:56:42 +02:00
Ludovic Courtès e9f693d06f tests: Add whole-system test.
* gnu/system/vm.scm (virtualized-operating-system): Export.
* gnu/tests/base.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* Makefile.am (check-system): New target.
2016-05-04 23:35:55 +02:00
Ludovic Courtès 957afcae3c Add (gnu tests) and (gnu build marionette).
* gnu/build/marionette.scm, gnu/tests.scm: New files.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add them.
* gnu/system/vm.scm (common-qemu-options): Remove '-serial stdio'.
2016-05-04 23:35:55 +02:00
Ludovic Courtès b2fef041fc system: Add procedures to access user accounts and service names.
* gnu/system.scm (operating-system-user-accounts)
(operating-system-shepherd-service-names): New procedures.
2016-05-04 23:35:55 +02:00
Ludovic Courtès b13cf17fcf gnu: java-qdox: Escape "@" in description.
* gnu/packages/java.scm (java-qdox-1.12)[description]: Use "@@tag", not
"@tag".
2016-05-04 23:35:55 +02:00
Ludovic Courtès 4d9ed58498 build: Preserve stderr for shell tests.
Fixes a regression introduced in
a9edb211e7 where the .log files of the .sh
tests would not contain stderr.

* build-aux/test-env.in: Redirect stderr only when --quiet-stderr is
passed.
* Makefile.am (SCM_LOG_DRIVER): Add --quiet-stderr.
2016-05-04 23:35:55 +02:00
Ludovic Courtès 958dd3ce68 utils: Move combinators to (guix combinators).
* guix/utils.scm (compile-time-value, memoize, fold2)
(fold-tree, fold-tree-leaves): Move to...
* guix/combinators: ... here.  New file.
* tests/utils.scm ("fold2, 1 list", "fold2, 2 lists")
(fold-tree tests): Move to...
* tests/combinators.scm: ... here.  New file.
* Makefile.am (MODULES, SCM_TESTS): Add them.
* gnu/packages.scm, gnu/packages/bootstrap.scm,
gnu/services/herd.scm, guix/build-system/gnu.scm,
guix/build-system/python.scm, guix/derivations.scm,
guix/gnu-maintenance.scm, guix/import/elpa.scm,
guix/scripts/archive.scm, guix/scripts/build.scm,
guix/scripts/graph.scm, guix/scripts/lint.scm,
guix/scripts/size.scm, guix/scripts/substitute.scm,
guix/serialization.scm, guix/store.scm, guix/ui.scm: Adjust imports
accordingly.
2016-05-04 23:35:55 +02:00
Ludovic Courtès 4b6fa8b339 utils: Remove 'split'.
This procedure was redundant with SRFI-1's 'break'.

* guix/utils.scm (split): Remove.
* tests/utils.scm ("split, element is in list")
("split, element is not in list"): Remove.
2016-05-04 23:35:55 +02:00
Ludovic Courtès 6aaf3ea62d environment: Use 'break' instead of 'split'.
* guix/scripts/environment.scm (parse-args): Use 'break' instead of
'split'.
2016-05-04 23:35:55 +02:00
Ludovic Courtès 8bf92e3904 services: herd: Move UI handling to 'guix system'.
This makes (gnu services herd) independent of (guix ui).

* gnu/services/herd.scm (&shepherd-error, &service-not-found-error)
(&action-not-found-error, &action-exception-error)
(&unknown-shepherd-error): New error condition types.
(report-action-error): Remove.
(raise-shepherd-error): New procedure.
(display-message): Do not use 'info' and '_'.
(invoke-action): Use 'raise-shepherd-error' instead of
'report-action-error'.  Do not use 'warning'.
(current-services): Do not use 'warning'.
* guix/scripts/system.scm (with-shepherd-error-handling): New macro.
(report-shepherd-error, call-with-service-upgrade-info): New
procedures.
(upgrade-shepherd-services): Use it.
2016-05-04 23:35:55 +02:00
Alex Kost af5640d1dd gnu: tvtime: Update to 1.0.10.
* gnu/packages/tv.scm (tvtime): Update to 1.0.10.
[source]: Remove patches.
[inputs]: Add 'alsa-lib'.
* gnu/packages/patches/tvtime-gcc41.patch,
gnu/packages/patches/tvtime-pngoutput.patch,
gnu/packages/patches/tvtime-videodev2.patch,
gnu/packages/patches/tvtime-xmltv.patch: Remove files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2016-05-04 23:08:39 +03:00
Alex Kost 41447b3199 gnu: libcue: Update to 2.1.0.
* gnu/packages/cdrom.scm (libcue): Update to 2.1.0.
[build-system]: Use 'cmake-build-system' (the upstream moved to it).
[native-inputs]: Add 'bison' and 'flex'.
2016-05-04 23:08:39 +03:00
Alex Kost ee5f1e5204 Update .mailmap.
* .mailmap: Add new entries for Danny Milosavljevic, Nils Gillmann and
  Raymond Nicholson.
2016-05-04 23:08:39 +03:00
Efraim Flashner 8c3e9a6a8d gnu: gnupg: Update to 2.1.12.
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.12.
[source]: Remove patch.
* gnu/packages/patches/gnupg-simple-query-ignore-status-messages.patch:
Remove file.
* gnu/local.mk (dist_patch_DATA): Remove reference.
2016-05-04 22:20:45 +03:00
Jelle Licht cbb6239bed gnu: jemalloc: Update to 4.1.0.
* gnu/packages/jemalloc.scm (jemalloc): Upodate to 4.1.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-05-04 21:47:04 +03:00
Mark H Weaver 8c15e084fe gnu: imlib2: Update to 1.4.9 [fixes CVE-2011-5326, CVE-2016-{3993,3994}].
* gnu/packages/image.scm (imlib2): Update to 1.4.9.
[source]: Remove patch.
* gnu/packages/patches/imlib2-CVE-2016-4024.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2016-05-04 13:51:48 -04:00
David Thompson d663e5e600 gnu: imagemagick: Update to 6.9.3-10.
Fixes CVE-2016–3714.

* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.3-10.
[source]: Remove patch.
* gnu/packages/patches/imagemagick-test-segv.patch: Delete.
* gnu/local.mk (dist_patch_DATA): Remove patch file from distribution.
2016-05-04 13:22:52 -04:00
Mark H Weaver 4e9d04a80b Merge branch 'master' into gnome-updates 2016-05-04 11:43:50 -04:00
Andy Wingo 11057c4b58 gnu: bitlbee: Incorporate upstream pre-release patches.
* gnu/packages/messaging.scm (%bitlbee-buddy-nick-change-patch):
(%bitlbee-always-use-nicks-patch): New variables.
(bitlbee): Add new patches.
2016-05-04 17:00:02 +02:00
Andy Wingo ac47ad99a4 gnu: bitlbee: Update to 3.4.2.
* gnu/packages/messaging.scm (bitlbee): Update to 3.4.2.
2016-05-04 17:00:02 +02:00
Ricardo Wurmus 83b84fa812 gnu: edirect: Update to 4.10.
* gnu/packages/bioinformatics.scm (edirect): Update to 4.10.
2016-05-04 16:45:43 +02:00
Efraim Flashner 54df75582f gnu: Add pinentry-qt.
* gnu/packages/gnupg.scm (pinentry-qt): New variable.
2016-05-04 12:57:23 +03:00
Efraim Flashner c607b7011c gnu: Add pinentry-tty.
* gnu/packages/gnupg.scm (pinentry-tty): New variable.
[arguments]: Add pinentry-tty flag.
(pinentry-gtk2): Inherit from pinentry-tty.
[inputs]: Use gtk+-2, glib for pinentry-gtk2 only.
[description]: Modify description based on inputs.
2016-05-04 12:57:23 +03:00
Efraim Flashner 940f8d39a5 gnu: pinentry: Rename to pinentry-gtk2.
* gnu/packages/gnupg.scm (pinentry): Rename to pinentry-gtk2.
Define pinentry as pinentry-gtk2.
2016-05-04 12:57:23 +03:00
Ludovic Courtès 0a0884c991 gnu: cross: Fix typo.
* gnu/packages/cross-base.scm (cross-gcc-arguments): Remove erroneous
'else' introduced in efc4eb1475.
2016-05-03 23:43:49 +02:00
Roel Janssen 1b39a196f8 gnu: Add nlopt.
* gnu/packages/maths.scm (nlopt): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-05-03 21:57:05 +02:00
Andreas Enge 5ef819cc01 gnu: redeclipse: Rename to red-eclipse.
* gnu/packages/games.scm (redeclipse): Rename to...
(red-eclipse): ...this.

This is a follow-up to commit 5b8a85431d,
which changed only the name field of the package.
2016-05-03 21:25:31 +02:00
Kei Yamashita 5b8a85431d gnu: Rename redeclipse package to red-eclipse.
* gnu/packages/games.scm (redeclipse): Rename to...
(red-eclipse): ...this.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2016-05-03 19:48:15 +02:00
Mark H Weaver 3c1d2981ff gnu: openssl: Replace with 1.0.2h [security fixes].
Fixes CVE-2016-{2105,2106,2107,2109,2176}.

* gnu/packages/tls.scm (openssl)[replacement]: New field.
(openssl/fixed): New variable.
2016-05-03 13:31:50 -04:00
Ludovic Courtès e760ec4187 gnu: gcc: Add 6.1.0.
* gnu/packages/gcc.scm (gcc-6): New variable.
* gnu/packages/commencement.scm (gcc-toolchain-6): New variable.
2016-05-03 17:45:29 +02:00
Jan Nieuwenhuizen efc4eb1475 gnu: cross: Use CROSS_*_INCLUDE_PATH for system headers.
* gnu/packages/patches/gcc-cross-environment-variables.patch: Also use CROSS_
variants: CROSS_C_INCLUDE_PATH, CROSS_CPLUS_INCLUDE_PATH,
CROSS_OBJC_INCLUDE_PATH, CROSS_OBJCPLUS_INCLUDE_PATH to be used for system
libraries, see
https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00620.html.
* gnu/packages/cross-base.scm (cross-gcc, cross-gcc-arguments, cross-libc):
Use CROSS_*_INCLUDE_PATH (WAS: CPATH).

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-05-03 17:45:29 +02:00
Ludovic Courtès a8f3424b25 syscalls: Wrap TCSA* constants in 'tcsetattr-action' macro.
* guix/build/syscalls.scm (tcsetattr-action): New macro.
(TCSANOW, TCSADRAIN, TCSAFLUSH): Remove.
(tcsetattr): Adjust docstring accordingly.
* tests/syscalls.scm ("tcsetattr"): Adjust accordingly.
2016-05-03 17:45:29 +02:00
Mark H Weaver 0a17fd7c0b gnu: wpa-supplicant: Add fixes for CVE-2016-{4476,4477}.
* gnu/packages/patches/wpa-supplicant-CVE-2016-4476.patch,
gnu/packages/patches/wpa-supplicant-CVE-2016-4477-pt1.patch,
gnu/packages/patches/wpa-supplicant-CVE-2016-4477-pt2.patch,
gnu/packages/patches/wpa-supplicant-CVE-2016-4477-pt3.patch,
gnu/packages/patches/wpa-supplicant-CVE-2016-4477-pt4.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (wpa-supplicant-minimal)[source]: Add patches.
2016-05-03 09:39:59 -04:00
Roel Janssen 4c6aa73b8f gnu: Add 4store.
* gnu/packages/databases.scm (4store): New variable.
* gnu/packages/patches/4store-fix-buildsystem.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add patch file entry.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-02 14:45:57 -04:00
Leo Famulari 3854f3d7e4 gnu: ocaml: Fix CVE-2015-8869.
* gnu/packages/patches/ocaml-CVE-2015-8869.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ocaml.scm (ocaml): Use it.
2016-05-02 14:30:49 -04:00
Ricardo Wurmus 73124d3422 gnu: bristol: Do not check for JACK with ldd.
* gnu/packages/music.scm (bristol)[arguments]: Add build phase to
  disable runtime check for JACK.
2016-05-02 20:02:20 +02:00
Ricardo Wurmus 6855b34754 gnu: frescobaldi: Add MIDI support.
* gnu/packages/music.scm (frescobaldi)[inputs]: Add portmidi and
  python-pyportmidi.
2016-05-02 20:02:20 +02:00
Ricardo Wurmus f65d59fc8e gnu: Add python-pyportmidi.
* gnu/packages/music.scm (python-pyportmidi): New variable.
2016-05-02 20:02:20 +02:00
Ricardo Wurmus aacb52fb0f gnu: Add portmidi.
* gnu/packages/music.scm (portmidi): New variable.
* gnu/packages/patches/portmidi-modular-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2016-05-02 20:02:20 +02:00
Mathieu Lirzin 62063d8546 gnu: Add reposurgeon.
* gnu/packages/version-control.scm (reposurgeon): New variable.
2016-05-02 17:58:23 +02:00
Mathieu Lirzin 4c48bf5502 gnu: powertop: Patch absolute file names.
* gnu/packages/linux.scm (powertop)[inputs]: Add kmod.
[arguments]: Patch absolute file names.
2016-05-02 17:58:23 +02:00
Ricardo Wurmus d0184f44d3 gnu: Add java-junit.
* gnu/packages/java.scm (java-junit): New variable.
2016-05-02 17:35:51 +02:00
Ricardo Wurmus 87c31a21a5 gnu: Add java-hamcrest-core.
* gnu/packages/java.scm (java-hamcrest-core): New variable.
2016-05-02 17:35:51 +02:00
Ricardo Wurmus e7e28510bb gnu: Add java-jarjar.
* gnu/packages/java.scm (java-jarjar): New variable.
2016-05-02 17:35:50 +02:00
Ricardo Wurmus 04100c3bbb gnu: Add java-qdox-1.12.
* gnu/packages/java.scm (java-qdox-1.12): New variable.
2016-05-02 17:35:50 +02:00
宋文武 ad1b7d8baf gnu: yelp: Add gsettings-desktop-schemas to inputs.
* gnu/packages/gnome.scm (yelp)[inputs]: Add gsettings-desktop-schemas.
2016-05-02 22:06:47 +08:00
宋文武 0510440b4e gnu: gom: Update to 0.3.2.
* gnu/packages/gnome.scm (gom): Update to 0.3.2.
2016-05-02 22:06:47 +08:00
宋文武 d72d783301 profiles: Factor out 'manifest-lookup-package'.
* guix/profiles.scm (manifest-lookup-package): New procedure.
(gtk-icon-themes, xdg-desktop-database, xdg-mime-database): Use it.
2016-05-02 22:06:46 +08:00
宋文武 7236045314 gnu: gnome: Add desktop-file-utils.
* gnu/packages/gnome.scm (gnome)[propagated-inputs]: Add desktop-file-utils.
2016-05-02 22:06:46 +08:00
宋文武 6c06b1fdac profiles: Add xdg-mime-database hook.
* guix/profiles.scm (xdg-mime-database): New function.
(%default-profile-hooks): Add it.
2016-05-02 22:06:46 +08:00
宋文武 842cb82097 profiles: Add xdg-desktop-database hook.
* guix/profiles.scm (xdg-desktop-database): New function.
(%default-profile-hooks): Add it.
2016-05-02 22:06:46 +08:00
宋文武 616fc48f26 gnu: gst-plugins-good: Disable a failing rtprtx test.
* gnu/packages/gstreamer.scm (gst-plugins-good)[arguments]: Disable
'test_rtxreceive_data_reconstruction'.
2016-05-02 22:06:46 +08:00
宋文武 fc185ca65b gnu: udisks: Update to 2.1.7.
* gnu/packages/freedesktop.scm (udisks): Update to 2.1.7.
2016-05-02 22:06:46 +08:00
宋文武 05f651c4e9 gnu: gnome: Add baobab, gnome-backgrounds and gvfs.
* gnu/packages/gnome.scm (gnome)[propagated-inputs]: Add baobab, gnome-backgrounds
and gvfs.
2016-05-02 22:06:46 +08:00
宋文武 a829a053e2 gnu: nautilus: Update to 3.20.1.
* gnu/packages/gnome.scm (nautilus): Update to 3.20.1.
2016-05-02 22:06:45 +08:00
宋文武 924ae80f3d gnu: grilo-plugins: Update to 0.3.1.
* gnu/packages/gnome.scm (grilo-plugins): Update to 0.3.1.
[inputs]: Add nettle.
2016-05-02 22:06:45 +08:00
宋文武 5ed159c5e4 gnu: grilo: Update to 0.3.0.
* gnu/packages/gnome.scm (grilo): Update to 0.3.0.
2016-05-02 22:06:45 +08:00
宋文武 afc25242a1 gnu: gedit: Enable Python Console plugin.
* gnu/packages/gnome.scm (gedit)[arguments]: Wrap with PYTHONPATH.
2016-05-02 22:06:45 +08:00
宋文武 2ed6522ac3 gnu: libpeas: Add inputs.
* gnu/packages/gnome.scm (libpeas)[inputs]: Add glade, libxml2, python
and python-pygobject.
2016-05-02 22:06:45 +08:00
宋文武 142bdcbc04 gnu: network-manager: Update to 1.2.0.
* gnu/packages/gnome.scm (network-manager): Update to 1.2.0.
[inputs]: Add modem-manager.
2016-05-02 22:06:45 +08:00
宋文武 f3045a5ba3 gnu: librsvg: Drop 'loaders.cache' file.
This is a followup to 05c4b7e93.

* gnu/packages/gnome.scm (librsvg)[arguments]: Don't install 'loaders.cache' file.
* gnu/packages/gnome.scm (gnome-themes-standard),
  gnu/packages/key-mon.scm (keymon),
  gnu/packages/music.scm (solfege): Remove wrap phase for SVG support.
2016-05-02 22:06:45 +08:00
宋文武 0ddba70707 gnu: dconf-editor: Update to 3.20.1.
* gnu/packages/gnome.scm (dconf-editor): Update to 3.20.1.
2016-05-02 22:06:44 +08:00
宋文武 758da0fe8e gnu: baobab: Update to 3.20.1.
* gnu/packages/gnome.scm (baobab): Update to 3.20.1.
2016-05-02 22:06:44 +08:00
宋文武 82ab76474d gnu: gnome-shell: Update to 3.20.1.
* gnu/packages/gnome.scm (gnome-shell): Update to 3.20.1.
2016-05-02 22:06:44 +08:00
宋文武 8b6b7c7361 gnu: gnome-control-center: Update to 3.20.1.
* gnu/packages/gnome.scm (gnome-control-center): Update to 3.20.1.
2016-05-02 22:06:44 +08:00
宋文武 906943dfd3 gnu: gdm: Update to 3.20.1.
* gnu/packages/gnome.scm (gdm): Update to 3.20.1.
2016-05-02 22:06:44 +08:00
宋文武 bbbb77e400 gnu: network-manager-applet: Update to 1.2.0.
* gnu/packages/gnome.scm (network-manager-applet): Update to 1.2.0.
2016-05-02 22:06:44 +08:00
宋文武 c1387d3689 gnu: evolution-data-server: Update to 3.20.1, fix build.
* gnu/packages/gnome.scm (evlution-data-server): Update to 3.20.1.
[arguments]: Pass '--disable-google-auth' to configure.
2016-05-02 22:06:44 +08:00
宋文武 223f5d5d0f gnu: gnome-online-accounts: Update to 3.20.1.
* gnu/packages/gnome.scm (gnome-online-accounts): Update to 3.20.1.
2016-05-02 22:06:43 +08:00
宋文武 4a8573ad62 gnu: mutter: Update to 3.20.1.
* gnu/packages/gnome.scm (mutter): Update to 3.20.1.
2016-05-02 22:06:43 +08:00
宋文武 803ab4164d gnu: gnome-session: Update to 3.20.1, fix build.
* gnu/packages/gnome.scm (gnome-session): Update to 3.20.1.
[arguments]: Remove use of systemd in 'gsm-autostart-app.c.'.
2016-05-02 22:06:43 +08:00
宋文武 74cf8f6cf9 gnu: file-roller: Update to 3.20.1.
* gnu/packages/gnome.scm (file-roller): Update to 3.20.1.
2016-05-02 22:06:43 +08:00
宋文武 f8b446caa9 gnu: shotwell: Update to 0.22.1.
* gnu/packages/gnome.scm (shotwell): Update to 0.22.1.
2016-05-02 22:06:43 +08:00
宋文武 b8967d4861 gnu: yelp: Update to 3.20.1.
* gnu/packages/gnome.scm (yelp): Update to 3.20.1.
2016-05-02 22:06:43 +08:00
宋文武 27ad574333 gnu: yelp-xsl: Update to 3.20.1.
* gnu/packages/gnome.scm (yelp-xsl): Update to 3.20.1.
2016-05-02 22:06:43 +08:00
宋文武 c51555f414 gnu: epiphany: Update to 3.20.1.
* gnu/packages/gnome.scm (epiphany): Update to 3.20.1.
2016-05-02 22:06:42 +08:00
宋文武 ddfa9131b8 gnu: gvfs: Update to 1.28.1.
* gnu/packages/gnome.scm (gvfs): Update to 1.28.1.
2016-05-02 22:06:42 +08:00
宋文武 3afeb02c51 gnu: eog: Update to 3.20.1.
* gnu/packages/gnome.scm (eog): Update to 3.20.1.
2016-05-02 22:06:42 +08:00
宋文武 88e88997e5 gnu: totem: Update to 3.20.1.
* gnu/packages/gnome.scm (totem): Update to 3.20.1.
2016-05-02 22:06:42 +08:00
宋文武 41150c7d8a gnu: gnome-klotski: Update to 3.20.1.
* gnu/packages/gnome.scm (gnome-klotski): Update to 3.20.1.
2016-05-02 22:06:42 +08:00
宋文武 35907ce11c gnu: gnome-settings-daemon: Update to 3.20.1.
* gnu/packages/gnome.scm (gnome-settings-daemon): Update to 3.20.1.
2016-05-02 22:06:42 +08:00
宋文武 3ffd46bdaf gnu: geocode-glib: Update to 3.20.1.
* gnu/packages/gnome.scm (geocode-glib): Update to 3.20.1.
2016-05-02 22:06:41 +08:00
宋文武 e3cf0c71f1 gnu: gnome-terminal: Update to 3.20.1.
* gnu/packages/gnome.scm (gnome-terminal): Update to 3.20.1.
2016-05-02 22:06:41 +08:00
宋文武 319549c242 gnu: gnome-sudoku: Update to 3.20.0.
* gnu/packages/gnome.scm (gnome-sudoku): Update to 3.20.0.
2016-05-02 22:06:41 +08:00
宋文武 a28bf6b4fe gnu: libsoup: Update to 2.54.1.
* gnu/packages/gnome.scm (libsoup): Update to 2.54.1.
2016-05-02 22:06:41 +08:00
宋文武 90000d4b94 gnu: rest: Update to 0.8.0.
* gnu/packages/gnome.scm (rest): Update to 0.8.0.
2016-05-02 22:06:41 +08:00
宋文武 7958a55d6f gnu: glib-networking: Update to 2.48.1.
* gnu/packages/gnome.scm (glib-networking): Update to 2.48.1.
2016-05-02 22:06:41 +08:00
宋文武 b8f551d91f gnu: vte: Update to 0.44.1.
* gnu/packages/gnome.scm (vte): Update to 0.44.1.
2016-05-02 22:06:41 +08:00
宋文武 ab740c7f2e gnu: gnome-desktop: Update to 3.20.1.
* gnu/packages/gnome.scm (gnome-desktop): Update to 3.20.1.
2016-05-02 22:06:40 +08:00
宋文武 3f57959caa gnu: gtkmm: Update to 3.20.1.
* gnu/packages/gtk.scm (gtkmm): Update to 3.20.1.
2016-05-02 22:06:40 +08:00
宋文武 96e889b031 gnu: gtksourceview: Update to 3.20.2.
* gnu/packages/gtk.scm (gtksourceview): Update to 3.20.2.
2016-05-02 22:06:40 +08:00
宋文武 ccce435a93 gnu: gtk+: Update to 3.20.3.
* gnu/packages/gtk.scm (gtk+): Update to 3.20.3.
2016-05-02 22:06:40 +08:00
宋文武 f507609eac gnu: at-spi2-atk: Update to 2.20.1.
* gnu/packages/gtk.scm (at-spi2-atk): Update to 2.20.1.
2016-05-02 22:06:40 +08:00
宋文武 b67e35e21b gnu: at-spi2-core: Update to 2.20.1.
* gnu/packages/gtk.scm (at-spi2-core): Update to 2.20.1.
2016-05-02 22:06:40 +08:00
宋文武 d998508227 gnu: pango: Update to 1.40.1.
* gnu/packages/gtk.scm (pango): Update to 1.40.1.
2016-05-02 22:06:40 +08:00
Ludovic Courtès ba470833c2 gnu: gtkmm: Run Xvfb for tests.
* gnu/packages/gtk.scm (gtkmm)[arguments]: New field.
2016-05-02 22:06:39 +08:00
宋文武 33cd9bef2c gnu: gedit: Fix build by passing '--disable-spell'.
* gnu/packages/gnome.scm (gedit)[arguments]: Pass '--disable-spell' to configure.
2016-05-02 22:06:39 +08:00
宋文武 ba666b07ea Revert "Revert "gnu: gjs: Skip test_utf8_inout test.""
This reverts commit c4eefd63fa.
2016-05-02 22:06:39 +08:00
宋文武 54e911bcc2 Revert "Revert "gnu: geoclue: Update to 2.4.3.""
This reverts commit e4a7039e46.
2016-05-02 22:06:39 +08:00
宋文武 8e3593353e Revert "Revert "gnu: inkscape: Fix build with glibmm-2.48.""
This reverts commit 267061ba0b.
2016-05-02 22:06:39 +08:00
宋文武 6983ba5660 Revert "Revert "Merge branch 'gnome-updates'""
This reverts commit e969b140a4.
2016-05-02 22:06:36 +08:00
Ricardo Wurmus 8563258337 gnu: Add r-xnomial.
* gnu/packages/statistics.scm (r-xnomial): New variable.
2016-05-02 22:05:54 +08:00
Ben Woodcroft 555f3586ed gnu: ruby-hashery: Update to 2.1.2.
* gnu/packages/ruby.scm (ruby-hashery): Update to 2.1.2.
[arguments]: Remove test workaround.
2016-05-02 22:05:54 +08:00
Ludovic Courtès 29d457c209 syscalls: Add 'tcgetattr' and 'tcsetattr' bindings.
* guix/build/syscalls.scm (bits->symbols-body, define-bits)
(local-flags): New macros.
(TCSANOW, TCSADRAIN, TCSAFLUSH): New variables.
(<termios>): New record type.
(%termios): New C structure.
(tcgetattr, tcsetattr): New procedures.
* tests/syscalls.scm ("tcgetattr ENOTTY", "tcgetattr")
("tcsetattr"): New tests.
2016-05-02 22:05:54 +08:00
Ludovic Courtès ba369abe58 syscalls: Implement arrays in 'define-c-struct' and use it.
* guix/build/syscalls.scm (sizeof*, alignof*, write-type, read-type):
Add support for (array ...) forms.
* guix/build/syscalls.scm (<file-system>)[spare0, spare1]: Remove.
[spare]: New field.
* guix/build/syscalls.scm (%statfs)[identifier]: Change to (array int 2).
[spare0, spare1]: Remove.
[spare]: New field.
2016-05-02 22:05:54 +08:00
Nicolas Goaziou d20708b6c5 gnu: asymptote: Update to 2.37.
* gnu/packages/plotutils.scm (asymptote): Update to 2.37.
* gnu/packages/patches/asymptote-gsl2.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove reference.
2016-05-02 22:05:54 +08:00
Danny Milosavljevic 7d5920638a gnu: Add python2-shedskin.
* gnu/packages/python.scm (python2-shedskin): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-02 22:05:53 +08:00
Ricardo Wurmus 35518b7545 gnu: guitarix: Update to 0.35.0.
* gnu/packages/audio.scm (guitarix): Update to 0.35.0.
2016-05-02 22:05:53 +08:00
Ricardo Wurmus 457b5eb6d2 gnu: qtractor: Update to 0.7.7.
* gnu/packages/music.scm (qtractor): Update to 0.7.7.
2016-05-02 22:05:53 +08:00
Ricardo Wurmus f03781417b gnu: Add antiword.
* gnu/packages/textutils.scm (antiword): New variable.
2016-05-02 22:05:53 +08:00
Ricardo Wurmus b095e76270 gnu: Add synthv1.
* gnu/packages/music.scm (synthv1): New variable.
2016-05-02 22:05:53 +08:00
John Darrington 8b463616f9 gnu: ao: Replace "itemize" with "enumerate" in description string.
* gnu/packages/xiph.scm (ao): Replace "itemize" with "enumerate" in description string.
  Apparently Guile cannot yet handle "itemize" when creating HTML.
2016-05-02 22:05:53 +08:00
John Darrington 0b63b1625e gnu: ao: Format the description string.
* gnu/packages/xiph.scm (ao): Add markup to description string.
2016-05-02 22:05:52 +08:00
Jan Nieuwenhuizen b8e9c453de gnu: bootstrap: Add case for i686-mingw.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add case for i686-mingw.

Signed-off-by: Manolis Ragkousis <manolis837@gmail.com>
2016-05-02 22:05:52 +08:00
Ludovic Courtès 07857052db syscalls: 'statfs' explicitly binds 'statfs64'.
* guix/build/syscalls.scm (statfs): Explicitly bind "statfs64".
2016-05-02 22:05:52 +08:00
Ludovic Courtès e19eb93b85 syscalls: statfs: Add missing 'mount-flags' field of 'struct statfs'.
* guix/build/syscalls.scm (<file-system>)[mount-flags]: New field.
[spare2]: Remove.
(%statfs): Likewise.
2016-05-02 22:05:52 +08:00
Ricardo Wurmus b74f64a960 gnu: Add r-xnomial.
* gnu/packages/statistics.scm (r-xnomial): New variable.
2016-05-02 11:10:38 +02:00
Ben Woodcroft cba962086d gnu: ruby-hashery: Update to 2.1.2.
* gnu/packages/ruby.scm (ruby-hashery): Update to 2.1.2.
[arguments]: Remove test workaround.
2016-05-02 10:20:17 +10:00
Ludovic Courtès ae4ff9f359 syscalls: Add 'tcgetattr' and 'tcsetattr' bindings.
* guix/build/syscalls.scm (bits->symbols-body, define-bits)
(local-flags): New macros.
(TCSANOW, TCSADRAIN, TCSAFLUSH): New variables.
(<termios>): New record type.
(%termios): New C structure.
(tcgetattr, tcsetattr): New procedures.
* tests/syscalls.scm ("tcgetattr ENOTTY", "tcgetattr")
("tcsetattr"): New tests.
2016-05-02 00:05:36 +02:00
Ludovic Courtès 00cd41974e syscalls: Implement arrays in 'define-c-struct' and use it.
* guix/build/syscalls.scm (sizeof*, alignof*, write-type, read-type):
Add support for (array ...) forms.
* guix/build/syscalls.scm (<file-system>)[spare0, spare1]: Remove.
[spare]: New field.
* guix/build/syscalls.scm (%statfs)[identifier]: Change to (array int 2).
[spare0, spare1]: Remove.
[spare]: New field.
2016-05-02 00:05:36 +02:00
Nicolas Goaziou acb31b5dcd gnu: asymptote: Update to 2.37.
* gnu/packages/plotutils.scm (asymptote): Update to 2.37.
* gnu/packages/patches/asymptote-gsl2.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove reference.
2016-05-01 17:58:39 -04:00
Danny Milosavljevic 63bcec7140 gnu: Add python2-shedskin.
* gnu/packages/python.scm (python2-shedskin): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-01 13:45:57 -04:00
Ricardo Wurmus d706d94335 gnu: guitarix: Update to 0.35.0.
* gnu/packages/audio.scm (guitarix): Update to 0.35.0.
2016-05-01 18:15:59 +02:00
Ricardo Wurmus dfc9d18e88 gnu: qtractor: Update to 0.7.7.
* gnu/packages/music.scm (qtractor): Update to 0.7.7.
2016-05-01 18:15:59 +02:00
Ricardo Wurmus 1b90e57eb7 gnu: Add antiword.
* gnu/packages/textutils.scm (antiword): New variable.
2016-05-01 18:15:59 +02:00
Ricardo Wurmus a66a60f251 gnu: Add synthv1.
* gnu/packages/music.scm (synthv1): New variable.
2016-05-01 18:15:59 +02:00
John Darrington 2df092a93d gnu: ao: Replace "itemize" with "enumerate" in description string.
* gnu/packages/xiph.scm (ao): Replace "itemize" with "enumerate" in description string.
  Apparently Guile cannot yet handle "itemize" when creating HTML.
2016-05-01 18:11:51 +02:00
John Darrington 55f4b4e00f gnu: ao: Format the description string.
* gnu/packages/xiph.scm (ao): Add markup to description string.
2016-05-01 17:00:52 +02:00
Jan Nieuwenhuizen 3135b95fd8 gnu: bootstrap: Add case for i686-mingw.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add case for i686-mingw.

Signed-off-by: Manolis Ragkousis <manolis837@gmail.com>
2016-05-01 13:55:33 +03:00
Ludovic Courtès 96f2a432bf syscalls: 'statfs' explicitly binds 'statfs64'.
* guix/build/syscalls.scm (statfs): Explicitly bind "statfs64".
2016-04-30 23:40:42 +02:00
Ludovic Courtès 200dac0654 syscalls: statfs: Add missing 'mount-flags' field of 'struct statfs'.
* guix/build/syscalls.scm (<file-system>)[mount-flags]: New field.
[spare2]: Remove.
(%statfs): Likewise.
2016-04-30 23:40:42 +02:00
Leo Famulari e411ce1860 gnu: poppler: Fix CVE-2015-8868.
* gnu/packages/pdf.scm (poppler)[replacement]: New field.
(poppler/fixed): New variable.
* gnu/packages/patches/poppler-CVE-2015-8868.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-04-30 16:14:38 -04:00
Leo Famulari c7794307f1 gnu: ncmpcpp: Remove bootstrapping phase.
* gnu/packages/mpd.scm (ncmpcpp)[arguments]: Remove 'autogen' phase.
[native-inputs]: Remove autoconf, automake, and libtool.
2016-04-30 14:38:49 -04:00
Ben Woodcroft 324efb8888 gnu: Add muscle.
* gnu/packages/bioinformatics.scm (muscle): New variable.
2016-04-30 15:46:24 +10:00
Mark H Weaver 6c0e2dbbf3 gnu: subversion: Update to 1.8.16 [fixes CVE-2016-{2167,2168}].
* gnu/packages/version-control.scm (subversion): Update to 1.8.16.
2016-04-30 00:31:08 -04:00
Rene Saavedra 7ffbbea00d gnu: Add uhttpmock.
* gnu/packages/web.scm (uhttpmock): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-04-29 21:56:27 -04:00
Ben Woodcroft 9d17702500 gnu: ruby-hashery: Disable failing test.
* gnu/packages/ruby.scm (ruby-hashery)[arguments]: Remove failing
test.
2016-04-30 08:44:57 +10:00
Rob Syme b0e52f52b7 gnu: ruby: Update to 2.3.1.
* gnu/packages/ruby.scm (ruby): Update to 2.3.1.
[origin] Add symlink patch.
* gnu/packages/patches/ruby-symlinkfix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
2016-04-30 08:39:27 +10:00
Eric Bavier f36a1ebaab gnu: Add Fossil.
* gnu/packages/version-control.scm (fossil): New variable.
* gnu/packages/patches/fossil-test-fixes.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-04-29 16:42:10 -05:00
Ricardo Wurmus 3b13c3c03c gnu: eigen: Update to 3.2.8.
* gnu/packages/algebra.scm (eigen): Update to 3.2.8.
2016-04-29 22:36:23 +02:00
Ludovic Courtès 7062845cdb nls: Add Simplified Chinese translation.
* po/guix/zh_CN.po: New file.
* po/guix/LINGUAS: Add 'zh_CN'.
2016-04-29 18:05:44 +02:00
Danny Milosavljevic 2b56dc019a gnu: Add hplip.
* gnu/packages/cups.scm (hplip): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-04-29 18:05:44 +02:00
Ludovic Courtès 4c0416ae17 guix system: Reduce size of image produced for 'vm' action.
This reduces the size of the image produced by 'guix system vm' from
26 MiB to 9 MiB.

* gnu/system/vm.scm (system-qemu-image/shared-store):
(system-qemu-image/shared-store-script): Change the default
value of #:disk-image-size to 30 MiB when not FULL-BOOT?.
* guix/scripts/system.scm (system-derivation-for-action): Likewise for
the 'vm' action.
2016-04-29 18:05:44 +02:00
Nicolas Goaziou 99a0044614 gnu: giac-xcas: Update to 1.2.2-41.
* gnu/packages/algebra.scm (giac-xcas): Update to 1.2.2-41.
[inputs]: Add libxinerama.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-04-29 02:50:41 -04:00
Mark H Weaver 8faee0fd53 gnu: webkitgtk: Update to 2.12.2.
* gnu/packages/webkit.scm (webkitgtk): Update to 2.12.2.
2016-04-28 15:34:59 -04:00
Efraim Flashner a64cbb6f32 gnu: python-celery: Rearrange inputs.
* gnu/packages/python.scm (python-celery)[propagated-inputs]: Move
python-pytz, python-billiard, python-kombu ...
[inputs]: ... to here. Add python-amqp, python-anyjson.
2016-04-28 19:43:21 +03:00
Efraim Flashner 0848d8d3a6 gnu: python-rauth: Rearrange inputs.
* gnu/packages/python.scm (python-rauth)[native-inputs]: Remove it.
[propagated-inputs]: Move python-requests ...
[inputs]: ... to here.
[properties]: Define python2-variant.
(python2-rauth): Build with 'strip-python2-variant'.
[native-inputs]: Add python2-setuptools.
2016-04-28 19:43:21 +03:00
Ludovic Courtès f28cb89e48 gnu: libtasn1: Replace 4.7 with 4.8 [fixes CVE-2016-4008].
* gnu/packages/tls.scm (libtasn1)[replacement]: New field.
(libtasn1/fixed): New variable.
2016-04-28 18:03:01 +02:00
Ludovic Courtès 5c6a062d48 lint: 'check-vulnerabilities' follows package replacements.
* guix/scripts/lint.scm (check-vulnerabilities): Check the replacement
of PACKAGE.
* tests/lint.scm ("cve: patched vulnerability in replacement"): New test.
2016-04-28 18:03:01 +02:00
Kei Yamashita 158f5734cf gnu: Add Red Eclipse.
* gnu/packages/games.scm (redeclipse): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-04-28 18:44:53 +03:00
Alex Kost a319637e97 gnu: magit: Update to 2.6.2.
* gnu/packages/emacs.scm (magit): Update to 2.6.2.
2016-04-28 18:44:52 +03:00
Mark H Weaver dde2a94c09 gnu: icecat: Add fixes for CVE-2016-{2805,2807,2808,2814} etc.
* gnu/packages/patches/icecat-CVE-2016-2805.patch,
gnu/packages/patches/icecat-CVE-2016-2807-pt1.patch,
gnu/packages/patches/icecat-CVE-2016-2807-pt2.patch,
gnu/packages/patches/icecat-CVE-2016-2807-pt3.patch,
gnu/packages/patches/icecat-CVE-2016-2807-pt4.patch,
gnu/packages/patches/icecat-CVE-2016-2807-pt5.patch,
gnu/packages/patches/icecat-CVE-2016-2808.patch,
gnu/packages/patches/icecat-CVE-2016-2814.patch,
gnu/packages/patches/icecat-update-bundled-graphite2: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patches.

icecat fixup
2016-04-28 10:25:19 -04:00
Mark H Weaver 3161f6a4ec gnu: nss: Update to 3.23.
* gnu/packages/gnuzilla.scm (nss): Update to 3.23.
[arguments]: In the 'install' phase, remove libgtest1.so from the
output.
2016-04-28 10:25:18 -04:00
Mark H Weaver b3107888aa gnu: nspr: Update to 4.12.
* gnu/packages/gnuzilla.scm (nspr): Update to 4.12.
2016-04-28 10:25:18 -04:00
Ricardo Wurmus a39f48b80d gnu: setbfree: Update to 0.8.1.
* gnu/packages/music.scm (setbfree): Update to 0.8.1.
2016-04-28 07:16:55 +02:00
Ricardo Wurmus acf2320b22 gnu: zynaddsubfx: Update to 2.5.4.
* gnu/packages/music.scm (zynaddsubfx): Update to 2.5.4.
2016-04-28 07:16:49 +02:00
宋文武 6fdc73e099 gnu: fltk: Fix undefined symbol `Fl_XFont_On_Demand::value'.
* gnu/packages/patches/fltk-xfont-on-demand.patch: New patch.
* gnu/packages/fltk.scm (fltk)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-04-28 12:23:51 +08:00
Ludovic Courtès 5ca54f41a0 gnu: patches: Update to latest revision.
* gnu/packages/patchutils.scm (patches): Change URL to the repository of
Stefan Hajnoczi, and update to latest revision.
2016-04-27 23:43:36 +02:00
Ludovic Courtès a17417a812 challenge: Use exit code 2 when discrepancies are found.
Suggested by John Darrington <john@darrington.wattle.id.au>.

* guix/scripts/challenge.scm (guix-challenge): Exit with 2 when MISSING
is not empty.
* doc/guix.texi (Invoking guix challenge): Document it.
2016-04-27 23:35:39 +02:00
Efraim Flashner 151065d02a gnu: kde-frameworks: Update to 5.21.0.
* gnu/packages/kde-frameworks.scm (extra-cmake-modules, kwindowsystem,
oxygen-icons): Update to 5.21.0.
2016-04-27 22:08:51 +03:00
Efraim Flashner 957ba69290 gnu: quassel: Update to 0.12.4.
* gnu/packages/irc.scm (quassel): Update to 0.12.4.
2016-04-27 22:08:51 +03:00
David Thompson 34879162bc gnu: node: Update to 6.0.0.
* gnu/packages/node.scm (node): Update to 6.0.0.
2016-04-27 14:12:28 -04:00
David Thompson 5304e6f2c9 gnu: libuv: Update to 1.9.0.
* gnu/packages/libevent.scm (libuv): Update to 1.9.0.
2016-04-27 14:12:21 -04:00
Leo Famulari 38e2104c5d gnu: vdirsyncer: Update to 0.10.0.
* gnu/packages/dav.scm (vdirsyncer): Update to 0.10.0.
[propagated-inputs]: Remove python-lxml.
2016-04-27 14:04:08 -04:00
Leo Famulari 5d88b4f8a8 gnu: mysql: Update to 5.7.12.
Fixes CVE-2016-0639, CVE-2016-0642, CVE-2016-0643, CVE-2016-0647,
CVE-2016-0648, CVE-2016-0655, CVE-2016-0657, CVE-2016-0659, CVE-2016-0662,
CVE-2016-0666, CVE-2016-0667, CVE-2016-0705, CVE-2016-2047.

* gnu/packages/databases.scm (mysql): Update to 5.7.12.
2016-04-27 13:53:56 -04:00
Ludovic Courtès 93cba30ca4 build: 'assert-' targets now depend on the .go files.
* Makefile.am (assert-binaries-available)
(assert-final-inputs-self-contained): Add dependency on $(GOBJECTS).
2016-04-27 15:09:15 +02:00
Ludovic Courtès 82191844cd Merge branch 'gnome-updates' 2016-04-27 15:04:11 +02:00
Ludovic Courtès f1ebeee131 build: 'make assert-binaries-available' shows the list of systems.
* build-aux/check-available-binaries.scm: Display %HYDRA-SUPPORTED-SYSTEMS.
2016-04-27 15:00:49 +02:00
Ludovic Courtès f0b8689884 gnu: blender: Build against ffmpeg 2.8.
Reported by Danny Milosavljevic <dannym@scratchpost.org>.

* gnu/packages/graphics.scm (blender)[inputs]: Use FFMPEG-2.8 instead of
FFMPEG.
2016-04-27 14:17:56 +02:00
Ludovic Courtès 7de1f10363 gnu: Add missing synopses and descriptions.
* gnu/packages/bootstrap.scm (package-from-tarball)
(%bootstrap-glibc, %bootstrap-gcc): Set 'description' field.
* gnu/packages/make-bootstrap.scm (%bootstrap-tarballs): Set 'synopsis'
and 'description'.
2016-04-27 11:57:48 +02:00
Ludovic Courtès 20be23c3b6 lint: Report synopses/descriptions that are not strings.
Suggested by John Darrington.

* guix/scripts/lint.scm (check-description-style): Emit a warning when
DESCRIPTION is not a string.
(check-synopsis-style): Likewise.
(check-gnu-synopsis+description): Likewise.
* tests/lint.scm ("description: not a string", "synopsis: not a
string"): New tests.
2016-04-27 11:57:48 +02:00
Roel Janssen 068e476f68 gnu: Add java-xz.
* gnu/packages/java.scm (java-xz): New variable.
2016-04-27 10:52:34 +02:00
Ricardo Wurmus 5135354f62 gnu: python-ly: Update to 0.9.4.
* gnu/packages/python.scm (python-ly): Update to 0.9.4.
2016-04-27 10:40:23 +02:00
Ben Woodcroft 416381daa2 gnu: ruby-2.2: Update to 2.2.5.
* gnu/packages/ruby.scm (ruby-2.2): Update to 2.2.5.
[origin]: Remove snippet.
2016-04-27 17:39:05 +10:00
Leo Famulari 8e740bca65 gnu: icedtea-8: Update to 3.0.1.
Fixes CVE-2016-0686, CVE-2016-0687, CVE-2016-0695, CVE-2016-3425,
CVE-2016-3426, CVE-2016-3427.

* gnu/packages/java.scm (icedtea-8): Update to 3.0.1.
2016-04-27 01:43:08 -04:00
Leo Famulari 0a0b5ebed2 gnu: icedtea-7: Update to 2.6.6.
Fixes CVE-2016-0686, CVE-2016-0687, CVE-2016-0695, CVE-2016-3425, CVE-2016-3427.

* gnu/packages/java.scm (icedtea-7): Update to 2.6.6.
2016-04-27 00:15:33 -04:00
Ricardo Wurmus 1d6c6af0e2 gnu: Add gimp-fourier.
* gnu/packages/gimp.scm (gimp-fourier): New variable.
2016-04-26 22:18:00 +02:00
Ricardo Wurmus c30a66dedb gnu: Add Aria Maestosa.
* gnu/packages/music.scm (aria-maestosa): New variable.
2016-04-26 22:16:24 +02:00
Ricardo Wurmus fc7c74e43d gnu: wxwidgets: Enable webview support.
* gnu/packages/wxwidgets.scm (wxwidgets)[inputs]: Add webkitgtk-2.4.
[arguments]: Add configure flags to enable webview via the webkitgtk
backend.
2016-04-26 22:15:25 +02:00
Ricardo Wurmus 2729509003 gnu: java-swt: Update to 4.5.
* gnu/packages/java.scm (java-swt): Update to 4.5.
2016-04-26 21:27:15 +02:00
Ricardo Wurmus 4b2eede485 gnu: frescobaldi: Update to 2.19.0.
* gnu/packages/music.scm (frescobaldi): Update to 2.19.0.
2016-04-26 21:12:49 +02:00
Ricardo Wurmus c5ad883b16 gnu: r-rcpparmadillo: Update to 0.6.700.3.0.
* gnu/packages/maths.scm (armadillo-for-rcpparmadillo): Update to 6.700.3.
* gnu/packages/statistics.scm (r-rcpparmadillo): Update to 0.6.700.3.0.
2016-04-26 17:06:18 +02:00
Ricardo Wurmus 2c81794ed9 gnu: r-plotly: Update to 3.4.13.
* gnu/packages/statistics.scm (r-plotly): Update to 3.4.13.
[propagated-inputs]: Add r-hexbin, r-scales, and r-tidyr.
2016-04-26 17:06:18 +02:00
Ricardo Wurmus 59bf9f4e6b gnu: r-httr: Update to 1.1.0.
* gnu/packages/statistics.scm (r-httr): Update to 1.1.0.
[propagated-inputs]: Add r-openssl.
2016-04-26 17:06:18 +02:00
Ricardo Wurmus 44d792c2e9 gnu: r-r6: Update to 2.1.2.
* gnu/packages/statistics.scm (r-r6): Update to 2.1.2.
[propagated-inputs]: Remove.
2016-04-26 17:06:18 +02:00
Ricardo Wurmus 99eca2b18b gnu: r-testthat: Update to 1.0.0.
* gnu/packages/statistics.scm (r-testthat): Update to 1.0.0.
[propagated-inputs]: Add r-magrittr, r-praise, and r-r6.
2016-04-26 17:06:18 +02:00
Ricardo Wurmus 0fc4213642 gnu: r-viridis: Update to 0.3.4.
* gnu/packages/statistics.scm (r-viridis): Update to 0.3.4.
2016-04-26 17:06:18 +02:00
Ricardo Wurmus 3646bf2082 gnu: r-matrixstats: Update to 0.50.1.
* gnu/packages/statistics.scm (r-matrixstats): Update to 0.50.1.
2016-04-26 17:06:18 +02:00
Ricardo Wurmus 799ef55b15 gnu: r-r-rsp: Update to 0.21.0.
* gnu/packages/statistics.scm (r-r-rsp): Update to 0.21.0.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 801e9e7399 gnu: r-r-utils: Update to 2.3.0.
* gnu/packages/statistics.scm (r-r-utils): Update to 2.3.0.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus b2436f6af9 gnu: r-r-oo: Update to 1.20.0.
* gnu/packages/statistics.scm (r-r-oo): Update to 1.20.0.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 887d45d466 gnu: r-r-methodss3: Update to 1.7.1.
* gnu/packages/statistics.scm (r-r-methodss3): Update to 1.7.1.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 1e4abc0fee gnu: r-xml: Update to 3.98-1.4.
* gnu/packages/statistics.scm (r-xml): Update to 3.98-1.4.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 1647e10ebd gnu: r-gridextra: Update to 2.2.1.
* gnu/packages/statistics.scm (r-gridextra): Update to 2.2.1.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 810e4195fd gnu: r-gtable: Update to 0.2.0.
* gnu/packages/statistics.scm (r-gtable): Update to 0.2.0.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 0d1ffadc1d gnu: r-rmarkdown: Update to 0.9.5.
* gnu/packages/statistics.scm (r-rmarkdown): Update to 0.9.5.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 408c2d6937 gnu: r-plotrix: Update to 3.6-1.
* gnu/packages/statistics.scm (r-plotrix): Update to 3.6-1.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus cf3568a05d gnu: r-devtools: Update to 1.11.0.
* gnu/packages/statistics.scm (r-devtools): Update to 1.11.0.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus b5c574c61d gnu: r-rstudioapi: Update to 0.5.
* gnu/packages/statistics.scm (r-rstudioapi): Update to 0.5.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 06a4af1283 gnu: r-git2r: Update to 0.14.0.
* gnu/packages/statistics.scm (r-git2r): Update to 0.14.0.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 904fa49de6 gnu: r-roxygen2: Update to 5.0.1.
* gnu/packages/statistics.scm (r-roxygen2): Update to 5.0.1.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 2448c723b7 gnu: r-cluster: Update to 2.0.4.
* gnu/packages/statistics.scm (r-cluster): Update to 2.0.4.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 618dbdd7c0 gnu: r-memoise: Update to 1.0.0.
* gnu/packages/statistics.scm (r-memoise): Update to 1.0.0.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 8e4edf0802 gnu: r-microbenchmark: Update to 1.4-2.1.
* gnu/packages/statistics.scm (r-microbenchmark): Update to 1.4-2.1.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus bb61b765c0 gnu: r-knitr: Update to 1.12.3.
* gnu/packages/statistics.scm (r-knitr): Update to 1.12.3.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 1cfa88e988 gnu: r-formatr: Update to 1.3.
* gnu/packages/statistics.scm (r-formatr): Update to 1.3.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 49089e06ec gnu: r-evaluate: Update to 0.8.3.
* gnu/packages/statistics.scm (r-evaluate): Update to 0.8.3.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 2c8fa9d702 gnu: r-bh: Update to 1.60.0-1.
* gnu/packages/statistics.scm (r-bh): Update to 1.60.0-1.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus b268e49691 gnu: r-ggplot2: Update to 2.1.0.
* gnu/packages/statistics.scm (r-ggplot2): Update to 2.1.0.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus cf2e19a95a gnu: r-scales: Update to 0.4.0.
* gnu/packages/statistics.scm (r-scales): Update to 0.4.0.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 9ee6d314c4 gnu: r-stringi: Update to 1.0-1.
* gnu/packages/statistics.scm (r-stringi): Update to 1.0-1.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus a99bed8cf3 gnu: r-munsell: Update to 0.4.3.
* gnu/packages/statistics.scm (r-munsell): Update to 0.4.3.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus fe2087ccd8 gnu: r-digest: Update to 0.6.9.
* gnu/packages/statistics.scm (r-digest): Update to 0.6.9.
[arguments]: Disable tests and vignettes.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus bae7953852 gnu: Add r-hexbin.
* gnu/packages/statistics.scm (r-hexbin): New variable.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 94b7e9b7b4 gnu: Add r-tidyr.
* gnu/packages/statistics.scm (r-tidyr): New variable.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus c26c062838 gnu: Add r-openssl.
* gnu/packages/statistics.scm (r-openssl): New variable.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 35b2001a14 gnu: Add r-praise.
* gnu/packages/statistics.scm (r-praise): New variable.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus fb868e3395 gnu: r-acsnminer: Update to 0.16.01.29.
* gnu/packages/bioinformatics.scm (r-acsnminer): Update to 0.16.01.29.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus e1c2ad6777 gnu: r-qtl: Update to 1.39-5.
* gnu/packages/bioinformatics.scm (r-qtl): Update to 1.39-5.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 2ff8212eb9 gnu: r-curl: Update to 0.9.7.
* gnu/packages/web.scm (r-curl): Update to 0.9.7.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus c0bfa472bd gnu: r-htmlwidgets: Update to 0.6.
* gnu/packages/web.scm (r-htmlwidgets): Update to 0.6.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 46a2d1b66f gnu: r-servr: Update to 0.4.
* gnu/packages/web.scm (r-servr): Update to 0.4.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus 73d5d4aa63 gnu: r-jsonlite: Update to 0.9.19.
* gnu/packages/web.scm (r-jsonlite): Update to 0.9.19.
2016-04-26 17:06:17 +02:00
Ricardo Wurmus c587725a69 gnu: r-rcpp: Update to 0.12.4.
* gnu/packages/statistics.scm (r-rcpp): Update to 0.12.4.
2016-04-26 17:06:17 +02:00
Roel Janssen 6b49a37e6b gnu: Add filevercmp.
* gnu/packages/bioinformatics.scm (filevercmp): New variable.
2016-04-26 16:41:15 +02:00
Efraim Flashner 547cb17daf gnu: pinentry: Update to 0.9.7.
* gnu/packages/gnupg.scm (pinentry): Update to 0.9.7.
2016-04-26 15:28:54 +03:00
Alex Kost 82f4414271 gnu: manaplus: Update to 1.6.4.23.
* gnu/packages/games.scm (manaplus): Update to 1.6.4.23.
2016-04-26 12:41:26 +03:00
Alex Kost d1dfa22f9f gnu: git-modes: Update to 1.2.2.
* gnu/packages/emacs.scm (git-modes): Update to 1.2.2.
2016-04-26 12:41:26 +03:00
Alex Kost ffefa3da1a gnu: emacs-with-editor: Update to 2.5.1.
* gnu/packages/emacs.scm (emacs-with-editor): Update to 2.5.1.
2016-04-26 12:41:26 +03:00
Alex Kost edf6015c7d gnu: magit: Update to 2.6.1.
* gnu/packages/emacs.scm (magit): Update to 2.6.1.
2016-04-26 12:41:25 +03:00
Alex Kost 557361e79f emacs: Add "edit" command to a list of licenses.
* emacs/guix-ui-license.el (guix-license-list-edit): New command.
(guix-license-list-mode-map): Bind it to "e" key.
2016-04-26 12:32:56 +03:00
Alex Kost 57748c2756 emacs: Add license definition button to License Info buffer.
* emacs/guix-ui-license.el (guix-license-insert-file): New procedure.
(guix-license-info-format): Use it.
2016-04-26 12:32:56 +03:00
Alex Kost 8472b2fd2d emacs: Add 'guix-find-license-definition' command.
* emacs/guix-license.el (guix-license-file): New procedure.
(guix-find-license-definition): New command.
* doc/emacs.texi (Emacs Licenses): Document it.
2016-04-26 12:32:56 +03:00
Kei Yamashita f674439433 gnu: Add xfce4-taskmanager.
* gnu/packages/xfce.scm (xfce4-taskmanager): Add variable.
2016-04-26 09:25:03 +08:00
Eric Bavier f79ee25f32 gnu: woff2: Fix build parallelism.
* gnu/packages/patches/woff2-libbrotli.patch: Add dependency of
executables on object files.
2016-04-25 18:38:50 -05:00
Eric Bavier b77d17d023 import: cpan: check version bounds on core modules.
Modules may be removed from Perl's core, so we must check for a removal
version.

* guix/import/cpan.scm (cpan-module->sexp)[core-module?]: Also check
version upper bound.
2016-04-25 18:31:45 -05:00
Ludovic Courtès 5cd25aad3c syscalls: 'terminal-columns' catches EINVAL on the TIOCGWINSZ ioctl.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/build/syscalls.scm (terminal-columns): Tolerate EINVAL.
* tests/syscalls.scm ("terminal-window-size ENOTTY"): Likewise.
2016-04-25 23:34:20 +02:00
Ludovic Courtès 0054e47036 guix gc: Add '--free-space'.
* guix/scripts/gc.scm (show-help, %options): Add '--free-space'.
(guix-gc)[ensure-free-space]: New procedure.
Handle '--free-space'.
2016-04-25 23:27:09 +02:00
Ludovic Courtès a1f708787d syscalls: Add 'statfs'.
* guix/build/syscalls.scm (<file-system>): New record type.
(fsword): New macro.
(%statfs): New C struct.
(statfs): New procedure.
2016-04-25 23:27:09 +02:00
Ludovic Courtès 785cfa8791 syscalls: 'define-c-struct' computes the struct size.
* guix/build/syscalls.scm (struct-alignment, struct-size): New macros.
(define-c-struct): Add 'size' parameter and honor it.
(sockaddr-in, sockaddr-in6, ifaddrs, winsize): Adjust accordingly.
(%struct-ifaddrs-type, %sizeof-ifaddrs, winsize-struct): Remove.
(terminal-window-size): Use 'make-bytevector' instead of 'make-c-struct'.
2016-04-25 23:27:09 +02:00
Ludovic Courtès f77863a09e syscalls: Second argument of packed-struct read is now optional.
* guix/build/syscalls.scm (define-c-struct)[read]: OFFSET defaults to 0.
(unfold-interface-list): Remove second argument to 'read-ifaddrs'.
(terminal-window-size): Remove second argument to 'read-winsize'.
2016-04-25 23:27:09 +02:00
Ludovic Courtès 73f38d5ff3 syscalls: Move code around [NFC].
* guix/build/syscalls.scm: Move packed structure handling to the top.
2016-04-25 23:27:09 +02:00
Ludovic Courtès f489ce3c93 Add "TasksMax=1024" in 'guix-daemon.service'.
Suggested by Joram Schrijver <i+guix-devel@joram.io>.

* etc/guix-daemon.service.in (TasksMax): New value.
2016-04-25 23:27:09 +02:00
Efraim Flashner a800018e03 gnu: python2-pysnptools: Update to 0.3.9.
* gnu/packages/python.scm (python2-pysnptools): Update to 0.3.9.
[propagated-inputs]: Add python2-pytz. Move python2-pandas ...
[inputs]: ... to here. Add python2-dateutil-2, python2-six.
2016-04-25 23:35:39 +03:00
Efraim Flashner 783fb0a3a2 gnu: python-terminado: Update to 0.6.
* gnu/packages/python.scm (python-terminado): Update to 0.6.
[inputs]: Remove python-setuptools. Move python-nose ...
[native-inputs]: ... to here.
[properties]: Define python2-variant.
(python2-terminado): Build with 'strip-python2-variant'.
[native-inputs]: Add python2-setuptools.
2016-04-25 17:19:54 +03:00
Efraim Flashner bdb67d846c gnu: python-singledispatch: Rearrange inputs.
* gnu/packages/python.scm (python-singledispatch)[propagated-inputs]:
Move python-six ...
[inputs]: ... to here.
2016-04-25 17:17:51 +03:00
Efraim Flashner b455439bcd gnu: python-tornado: Rearrange inputs.
* gnu/packages/python.scm (python-tornado)[properties]: Define
python2-variant.
[inputs]: Remove python-certifi, move python-backports-abc here from
native-inputs.
[native-inputs]: Remove python-setuptools.
(python2-tornado): Build with 'strip-python2-variant'.
[native-inputs]: Add python2-setuptools.
2016-04-25 15:50:22 +03:00
Efraim Flashner fc899d4f73 gnu: python-seaborn: Update to 0.7.0.
* gnu/packages/python.scm (python-seaborn): Update to 0.7.0.
[native-inputs]: Remove python-setuptools.
(python2-seaborn): Build with 'strip-python2-variant'.
[propagated-inputs]: Add python2-pytz.
[native-inputs]: Add python2-setuptools.
2016-04-25 15:28:00 +03:00
Efraim Flashner 4260372671 gnu: python-pandas: Rearrange inputs.
* gnu/packages/python.scm (python-pandas)[propagated-inputs]: Move
python-pytz, python-dateutil-2 ...
[inputs]: ... to here.
2016-04-25 15:27:59 +03:00
宋文武 85f0945916 gnu: xfce: Add ristretto.
* gnu/packages/xfce.scm (xfce)[propagated-inputs]: Add ristretto.
2016-04-25 08:30:54 +08:00
Kei Yamashita 8e6352870d gnu: Add ristretto.
* gnu/packages/xfce.scm (ristretto): Add variable.
2016-04-25 08:27:53 +08:00
Leo Famulari 763dd00b72 gnu: ncmpcpp: Update to 0.7.4.
* gnu/packages/mpd.scm (ncmpcpp): Update to 0.7.4.
2016-04-24 19:25:29 -04:00
Leo Famulari 74182c4f31 gnu: borg: Update to 1.0.2.
* gnu/packages/backup.scm (borg): Update to 1.0.2.
2016-04-24 18:59:06 -04:00
David Thompson 4960beaa23 gnu: haunt: Update to 0.2.
* gnu/packages/guile.scm (haunt): Update to 0.2.
[native-inputs]: Add pkg-config and texinfo.
[propagated-inputs]: Add guile-reader.
2016-04-24 18:01:33 -04:00
Erik Edrosa 76e6e663f5 gnu: guile-minikanren: Remove extra .scm on files.
* gnu/packages/guile.scm (guile-minikanren): Remove extra .scm appended
to files.
2016-04-24 23:47:21 +02:00
Ludovic Courtès ae20189681 gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to 80627f5.
2016-04-24 23:46:06 +02:00
Leo Famulari 80c1375974 gnu: openldap: Update to 2.4.44 [fixes CVE-2015-6908].
* gnu/packages/openldap.scm (openldap)[replacement]: New field.
(openldap-2.4.44): New variable.
2016-04-24 15:01:41 -04:00
Efraim Flashner f0412aa2bd gnu: python-feedgenerator: Update to 1.8.
* gnu/packages/python.scm (python-feedgenerator): Update to 1.8.
[arguments]: Remove configure flags.
[inputs]: Move python-setuptools, python-pytz, python-six ...
[native-inputs]: ... to here.
[home-page]: Update project's home-page.
2016-04-24 21:49:42 +03:00
Efraim Flashner d9f2dece1f gnu: pelican: Rearrange inputs.
* gnu/packages/python.scm (pelican)[native-inputs]: Remove
python-setuptools.
[propagated-inputs]: Move python-feedgenerator, python-jinja2,
python-pygments, python-docutils, python-pytz, python-blinker,
python-unidecode, python-six, python-dateutil-2 ...
[inputs]: ... to here.
2016-04-24 21:20:42 +03:00
Efraim Flashner 194d0d9843 gnu: python2-itsdangerous: Use 'strip-python2-variant'.
* gnu/packages/python.scm (python2-itsdangerous): Use
'strip-python2-variant'.
[native-inputs]: Add python2-setuptools.
(python-itsdangerous)[inputs]: Remove python-setuptools.
[properties]: Define python2-variant.
2016-04-24 20:41:15 +03:00
Efraim Flashner 59f151ec54 gnu: python2-oauthlib: Use python2-variant.
* gnu/packages/python.scm (python2-oauthlib): Use 'strip-python2-variant'.
[native-inputs]: Add python2-setuptools.
(python-oauthlib)[inputs]: Remove python-setuptools.
[properties]: Define python2-variant for python2-oauthlib.
2016-04-24 20:31:23 +03:00
Ben Woodcroft 79b555edeb gnu: samtools: Update to 1.3.1.
* gnu/packages/bioinformatics.scm (samtools): Update to 1.3.1.
2016-04-24 09:45:07 +10:00
Mark H Weaver e969b140a4 Revert "Merge branch 'gnome-updates'"
This reverts commit 63655d459e, reversing
changes made to 80627f51f0.
2016-04-23 13:13:53 -04:00
Mark H Weaver 267061ba0b Revert "gnu: inkscape: Fix build with glibmm-2.48."
This reverts commit 0118c6ab62.
2016-04-23 13:12:53 -04:00
Mark H Weaver e4a7039e46 Revert "gnu: geoclue: Update to 2.4.3."
This reverts commit 71a8d3b67c.
2016-04-23 13:12:51 -04:00
Mark H Weaver c4eefd63fa Revert "gnu: gjs: Skip test_utf8_inout test."
This reverts commit 63e7796f62.
2016-04-23 13:12:49 -04:00
宋文武 63e7796f62 gnu: gjs: Skip test_utf8_inout test.
* gnu/packages/gnome.scm (gjs)[arguments]: Skip test_utf8_inout test.
2016-04-23 20:15:32 +08:00
宋文武 71a8d3b67c gnu: geoclue: Update to 2.4.3.
* gnu/packages/gnome.scm (geoclue): Update to 2.4.3.
2016-04-23 20:15:32 +08:00
Mark H Weaver 0118c6ab62 gnu: inkscape: Fix build with glibmm-2.48.
* gnu/packages/patches/inkscape-drop-wait-for-targets.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/inkscape.scm (inkscape)[source]: Add patch.
2016-04-23 05:05:18 -04:00
Leo Famulari e993fb8493 gnu: imlib2: Fix CVE-2016-4024.
* gnu/packages/patches/imlib2-CVE-2016-4024.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/image.scm (imlib2): Use it.
2016-04-22 23:59:37 -04:00
Leo Famulari baa8be83e9 gnu: imlib2: Update to 1.4.8.
gnu/packages/image.scm (imlib2): Update to 1.4.8.
2016-04-22 23:58:33 -04:00
宋文武 63655d459e Merge branch 'gnome-updates' 2016-04-23 10:19:32 +08:00
Mark H Weaver 80627f51f0 gnu: webkitgtk-2.4: Update to 2.4.11.
* gnu/packages/webkit.scm (webkitgtk-2.4): Update to 2.4.11.
2016-04-22 22:05:45 -04:00
Mark H Weaver bd2048585a gnu: webkitgtk: Update to 2.12.1.
* gnu/packages/webkit.scm (webkitgtk): Update to 2.12.1.
2016-04-22 22:05:45 -04:00
Mark H Weaver c1ed117941 gnu: linux-libre-4.1: Update to 4.1.22.
* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.22.
2016-04-22 21:50:00 -04:00
Mark H Weaver 01963db007 gnu: linux-libre-4.4: Update to 4.4.8.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.8.
2016-04-22 21:50:00 -04:00
Mark H Weaver a2cc073aa2 gnu: linux-libre: Update to 4.5.2.
* gnu/packages/linux.scm (linux-libre): Update to 4.5.2.
2016-04-22 21:50:00 -04:00
Mathieu Lirzin 03d0e2d2b9 build: Move 'Makefile' fragments to subdirectories.
This follows a convention used by some other GNU packages like Autoconf,
Bison, Coreutils, and Gnulib.

* doc.am: Rename to ...
* doc/local.mk: ... this.
* emacs.am: Rename to ...
* emacs/local.mk: ... this.
* gnu-system.am: Rename to ...
* gnu/local.mk: ... this.
* daemon.am: Rename to ...
* nix/local.mk: ... this.
* Makefile.am: Adapt to them.
* doc/guix.texi (Porting to a New Platform): Adapt documentation.
* guix/config.scm.in (%state-directory, %config-directory): Adapt comments.
* emacs/guix-config.el.in (guix-config-state-directory): Likewise.
2016-04-21 18:47:50 +02:00
Mathieu Lirzin dc9bdb1e27 gnu: Add acpi.
* gnu/packages/linux.scm (acpi): New variable.
2016-04-21 17:49:10 +02:00
Ludovic Courtès 85fc958d9b substitute: Sanitize the client-provided column number.
* guix/scripts/substitute.scm (client-terminal-columns): Sanitize the
client's column number.
2016-04-20 23:21:49 +02:00
Ludovic Courtès 38f50f49f3 substitute: Install the client's locale.
* guix/store.scm (set-build-options): Add #:locale parameter and honor
it.
* guix/scripts/substitute.scm (guix-substitute): Install the client's
locale.
2016-04-20 23:16:47 +02:00
Ludovic Courtès f954c9b5da substitute: Internationalize signature and download messages.
* guix/scripts/substitute.scm (assert-valid-narinfo): Use gettext for
messages.
2016-04-20 23:16:02 +02:00
Ludovic Courtès cf5e58297d substitute: Better abbreviate substitute URL in progress report.
Suggested by Danny Milosavljevic <dannym@scratchpost.org>.

* guix/build/download.scm (nar-uri-abbreviation): New procedure.
* guix/scripts/substitute.scm (process-substitution): Use it instead of
'store-path-abbreviation'.
2016-04-20 23:01:41 +02:00
Ludovic Courtès 3e31ec827a download: 'uri-abbreviation' can abbreviate the URI's basename.
* guix/build/download.scm (uri-abbreviation): Use 'ellipsis' instead of
"...".  Abbreviate the basename of PATH if needed.
2016-04-20 22:52:35 +02:00
Ludovic Courtès b3129f2b76 doc: Add "X.509 Certificates" section under "Application Setup".
Reported by Roel Janssen <roel@gnu.org>.

* doc/guix.texi (Application Setup)[X.509 Certificates]: New section.
(X.509 Certificates): Add an example of certificates in the profile.
2016-04-20 18:54:39 +02:00
Efraim Flashner f8f83e9d21 gnu: python-mox3: Update to 0.14.0.
* gnu/packages/openstack.scm (python-mox3): Update to 0.14.0.
[inputs]: Move python-fixtures, python-pbr, python-setuptools,
python-six, python-testtools ...
[native-inputs]: ... to here.
2016-04-20 16:18:58 +03:00
Efraim Flashner 4b42bd941b gnu: python-stevedore: Update to 1.12.0.
* gnu/packages/openstack.scm (python-stevedore): Update to 1.12.0.
[inputs]: Move python-setuptools, python-docutils, python-mock,
python-oslotest, python-sphinx ...
[native-inputs]: ... to here.
2016-04-20 16:18:58 +03:00
Ricardo Wurmus 458b47e31b gnu: armadillo: Update to 6.700.4.
* gnu/packages/maths.scm (armadillo): Update to 6.700.4.
2016-04-20 14:21:30 +02:00
Ludovic Courtès 967ee481e8 download: Add "%COMPAT" to the priority string.
Fixes <http://bugs.gnu.org/23311>.

* guix/build/download.scm (tls-wrap): Add 'set-session-priorities!' call.
2016-04-20 13:17:52 +02:00
Leo Famulari 083b3a0e25 gnu: git: Update to 2.7.4 [fixes CVE-2016-2315 and CVE-2016-2324].
* gnu/packages/version-control.scm (git): Update to 2.7.4.
(git-manpages)[source]: Update hash.
2016-04-19 20:39:05 -04:00
Efraim Flashner ab39d8cbc1 gnu: aria2: Update to 1.22.0.
* gnu/packages/bittorrent.scm (aria2): Update to 1.22.0.
2016-04-20 02:49:51 +03:00
Efraim Flashner ad25a1fab4 gnu: mpv: Update to 0.17.0.
* gnu/packages/video.scm (mpv): Update to 0.17.0.
2016-04-19 23:52:42 +03:00
Hartmut Goebel 1ad15c1669 gnu: Rename Java packages to match new naming specification.
* gnu/packages/bioinformatics.scm (htsjdk): Rename to...
(java-htsjdk): ...this.
(ngs-java): Rename to...
(java-ngs): ...this.
(ncbi-vdb)[arguments,inputs]: Use new name.
* gnu/packages/java.scm (swt): Rename to...
(java-swt): ...this.
* gnu/packages/music.scm (tuxguitar)[make-flags,inputs,arguments]: Use
new name of package "swt".
2016-04-19 16:55:03 +02:00
Hartmut Goebel e1c963bf0d doc: Add specification for Java packages
* doc/guix.texi (Java Packages): New subsection.
2016-04-19 16:55:03 +02:00
Ricardo Wurmus 4d16cc5133 gnu: python2-plastid: Propagate setuptools.
* gnu/packages/bioinformatics.scm (python2-plastid)[native-inputs]: Move
python2-setuptools from here...
[propagated-inputs]: ...to here.
2016-04-19 16:12:51 +02:00
Ricardo Wurmus 8694dca8f3 gnu: r: Update to 3.2.5.
* gnu/packages/statistics.scm (r): Update to 3.2.5.
2016-04-19 14:44:29 +02:00
Ricardo Wurmus 349a314765 gnu: Add icedtea-8.
* gnu/packages/java.scm (icedtea-8): New variable.
2016-04-19 14:44:29 +02:00
宋文武 a4e885f626 glib: Fix tests.
* gnu/packages/glib.scm (glib)[arguments]: Disable the "/application/local-actions"
test in 'disable-failing-tests' phase.
2016-04-19 20:02:44 +08:00
Ludovic Courtès 31b6cdf8d1 doc: Mention 'mkswap' during installation.
Reported by Thierry Micoud <thierrymicoud@gmail.com>.

* doc/guix.texi (Preparing for Installation): Mention 'mkswap'.
2016-04-19 12:40:11 +02:00
Ricardo Wurmus f94bf1983b gnu: Add python-plastid.
* gnu/packages/bioinformatics.scm (python-plastid, python2-plastid): New
  variables.
2016-04-19 12:16:01 +02:00
Ricardo Wurmus 4db9433aa0 gnu: Add python-twobitreader.
* gnu/packages/bioinformatics.scm (python-twobitreader,
  python2-twobitreader): New variables.
2016-04-19 12:16:01 +02:00
Danny Milosavljevic 3fd4b90d1d gnu: Add cabextract.
* gnu/packages/compression.scm (cabextract): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-04-18 16:02:53 -04:00
Kei Yamashita c21a256272 gnu: Add dillo.
* gnu/packages/dillo.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-04-18 15:45:41 -04:00
Kei Yamashita cf1b55bd32 gnu: fltk: Add Xft support.
* gnu/packages/fltk.scm (fltk)[inputs]: Add libxft.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-04-18 15:39:34 -04:00
Mark H Weaver 4f8cede062 syscalls: If a syscall is not available, defer the error.
* guix/build/syscalls.scm (syscall->procedure): New procedure.
  (mount, umount, swapon, swapoff, clone, pivot-root): Use it.
  (clone): Add case for nonexistent syscall id.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-04-18 19:36:31 +02:00
Ludovic Courtès dd1d09f7e4 utils: 'cache-directory' gracefully deals with unset 'HOME'.
Fixes <http://bugs.gnu.org/23165>.

* guix/utils.scm (cache-directory): Use 'getpwuid' when 'HOME' is unset.
2016-04-18 19:26:34 +02:00
Ludovic Courtès cd76fbde6f gnu: vlc: Make 'plugins.dat' generation reproducible.
Fixes <http://bugs.gnu.org/23307>.

* gnu/packages/video.scm (vlc)[arguments]: Add #:phases.
2016-04-18 15:39:43 +02:00
Ludovic Courtès 4ef2721b52 gnu: vlc: Do not capture the build time.
* gnu/packages/video.scm (vlc)[source]: Add 'snippet'.
2016-04-18 12:08:31 +02:00
Ludovic Courtès b4dff93550 gnu: vlc: Build against ffmpeg 2.8.
Fixes <http://bugs.gnu.org/23256>.
Reported by Christopher Allan Webber <cwebber@dustycloud.org>.

* gnu/packages/video.scm (vlc): Use FFMPEG-2.8 instead of FFMPEG.
2016-04-18 11:58:15 +02:00
Ludovic Courtès 940778c71c gnu: ffmpeg: Re-add 2.8.6.
* gnu/packages/video.scm (ffmpeg-2.8): New variable.
2016-04-18 11:26:30 +02:00
Alex Kost a7c61781df emacs: Display license info on button press in Package Info buffer.
* emacs/guix-ui-package.el (guix-package-license): Adjust button action
  to display license info instead of browsing license URL.
2016-04-18 10:09:02 +03:00
Alex Kost 690c055b08 emacs: Add location "Packages" button to Package Info buffer.
* emacs/guix-ui-package.el (guix-package-info-insert-location): New
procedure.
(guix-package-info-format): Use it.
(guix-output-info-format): Likewise.
2016-04-18 10:09:02 +03:00
Alex Kost b4b9975d4a emacs: Add interface for package locations.
* emacs/guix-main.scm (%package-location-param-alist): New variable.
(package-location->sexp, package-location-entries): New procedures.
* emacs/guix-ui-location.el: New file.
* emacs.am (ELFILES): Add it.
* doc/emacs.texi (Emacs Package Locations): Document 'guix-locations'.
* NEWS: Mention it.
2016-04-18 10:09:02 +03:00
Alex Kost b5e3cbbb24 doc: emacs: Add "Package Source Locations" section.
* doc/emacs.texi (Emacs Commands): Move description of 'guix-edit'
command to...
(Emacs Package Locations): ... here.  Document 'guix-find-location'.
New node.
* doc/guix.texi (Top): Add it.
2016-04-18 10:09:02 +03:00
Alex Kost e81a89d176 emacs: Make 'guix-find-location' interactive.
* emacs/guix-location.el (guix-find-location): Make interactive.  Adjust
  to handle "reduced" locations (without line and column numbers).
2016-04-18 10:09:02 +03:00
Alex Kost 8934c3b60f emacs: Display message if license not found.
* emacs/guix-ui-license.el (guix-license-message): New procedure.
(guix-license-info-message-function): Use it.
(guix-license-list-message-function): Likewise.
2016-04-18 10:09:02 +03:00
Alex Kost 27986d7b19 emacs: Separate package license code.
Move list/info interface code from "guix-license.el" to
"guix-ui-license.el".

* emacs/guix-license.el (guix-license-get-entries, guix-license-get-display)
(guix-license-insert-packages-button, guix-license-insert-comment)
(guix-licenses): Move to...
* emacs/guix-ui-license.el: ... here.  New file.
* emacs.am (ELFILES): Add it.
2016-04-18 10:09:02 +03:00
Alex Kost 79c7a8f214 emacs: Separate package location code.
* emacs/guix-base.el (guix-directory, guix-read-directory)
(guix-set-directory): Move to "guix-backend.el".
(guix-find-location, guix-package-location, guix-edit): Move to...
* emacs/guix-location.el: ... here.  New file.
* emacs/guix-ui-package.el: Use it.
* emacs.am (ELFILES): Add it.
2016-04-18 10:09:02 +03:00
Alex Kost b4ea535a9f emacs: Add 'guix-packages-by-location' command.
* emacs/guix-main.scm (packages-by-location-file, package-location-files):
New procedures.
(%patterns-makers): Add 'location' search type.
* emacs/guix-messages.el (guix-message-packages-by-location): New procedure.
(guix-messages): Use it.
* emacs/guix-read.el (guix-package-locations)
(guix-read-package-location): New procedures.
* emacs/guix-ui-package.el (guix-packages-by-location): New command.
* doc/emacs.texi (Emacs Commands): Document it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-04-18 10:09:01 +03:00
Ben Woodcroft 9bb46c155b gnu: ruby-bio-commandeer: Update to 0.1.3.
* gnu/packages/ruby.scm (ruby-bio-commandeer): Update to 0.1.3.
2016-04-18 14:58:43 +10:00
Ludovic Courtès ffba7d498d mapped-devices: LUKS partitions can be designated by their UUID.
* gnu/system/mapped-devices.scm (device-mapping-service-type): Add
'modules' and 'imported-modules' fields to 'shepherd-service'.
(open-luks-device): Use 'find-partition-by-luks-uuid' to lookup the
partition when SOURCE is a bytevector.
* gnu/system/linux-initrd.scm (base-initrd): Augment 'use-modules'
form.
* doc/guix.texi (Mapped Devices): Give example with a UUID.
2016-04-18 01:24:06 +02:00
Ludovic Courtès 4da8c19e83 mapped-devices: 'mapped-device-service' takes a <mapped-device>.
* gnu/system/mapped-devices.scm (device-mapping-service): Take a
<mapped-device> instead of 3 parameters.
(device-mapping-service-type): Adjust accordingly.
* gnu/system.scm (device-mapping-services): Adjust accordingly.
2016-04-18 01:24:06 +02:00
Ludovic Courtès 1ea507bce2 services: Move 'device-mapping-service' to (gnu system mapped-devices).
* gnu/services/base.scm (device-mapping-service-type)
(device-mapping-service): Move to...
* gnu/system/mapped-devices.scm (device-mapping-service-type):
(device-mapping-service): ... here.  New variables.
2016-04-18 01:24:06 +02:00
Ludovic Courtès 374f14c265 system: Move 'luks-device-mapping' to (gnu system mapped-devices).
* gnu/system.scm (open-luks-device, close-luks-device)
(luks-device-mapping): Move to...
* gnu/system/mapped-devices.scm: ... here.  New file.
2016-04-18 01:24:06 +02:00
Ludovic Courtès 060d62a740 system: Add (gnu system mapped-devices).
* gnu/system/file-systems.scm (<mapped-device>, <mapped-device-type>):
Move to...
* gnu/system/mapped-devices.scm: ... here.  New file.
* gnu/system.scm, gnu/services/base.scm,
gnu/system/linux-initrd.scm: Use it.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu.scm (%public-modules): Add it.
2016-04-18 01:24:06 +02:00
Ricardo Wurmus fac34dfe2a gnu: Add python-pyusb.
* gnu/packages/libusb.scm (python-pyusb, python2-pyusb): New variables.
2016-04-17 21:48:51 +02:00
Leo Famulari d99f6ffb4c gnu: khard: Update to 0.9.0.
* gnu/packages/mail.scm (khard): Update to 0.9.0.
2016-04-17 14:35:11 -04:00
Leo Famulari 9bed9b150d gnu: python-vobject: Update to 0.9.2.
* gnu/packages/python.scm (python-vobject, python2-vobject): Update to 0.9.2.
2016-04-17 14:35:11 -04:00
Leo Famulari 67157996e2 gnu: openssh: Fix CVE-2015-8325.
* gnu/packages/patches/openssh-CVE-2015-8325.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/ssh.scm (openssh): Use it.
2016-04-17 13:48:31 -04:00
Ludovic Courtès a7d94b54c7 gnu: Add recordmydesktop.
* gnu/packages/video.scm (recordmydesktop): New variable.
2016-04-17 17:37:20 +02:00
Ludovic Courtès c82c060d91 install: Use 'beta' instead of 'alpha'.
Suggested by Jelle Licht <jlicht@fsfe.org>.

* gnu/system/install.scm (installation-services): Say 'beta' instead of
'alpha' and make the warning less scary.
2016-04-17 17:37:20 +02:00
Ricardo Wurmus 534db46306 gnu: python-pandas: Fix test failures.
* gnu/packages/patches/python-pandas-fix-tslib-test-failure.patch: New
  file.
* gnu-system.am (dist_patch_DATA): Register it.
* gnu/packages/python.scm (python-pandas)[source]: Add patch.
2016-04-17 11:36:25 +02:00
Ricardo Wurmus b711df02fd gnu: icedtea-7: Update to 2.6.5.
* gnu/packages/java.scm (icedtea-7): Update to 2.6.5.
[inputs]: Add libxcomposite.
2016-04-17 11:15:53 +02:00
Alex Kost b3d05f4870 services: 'console-keymap-service' takes multiple files.
* gnu/services/base.scm (console-keymap-service-type): Type procedure
takes a list of files instead of a single file.
(console-keymap-service): Take 'files' as rest arguments.
* doc/guix.texi (Base Services): Improve documentation of
'console-keymap-service'.
2016-04-17 10:33:08 +03:00
Alex Kost a78daf5e2b gnu: kbd: Update to 2.0.3.
* gnu/packages/linux.scm (kbd): Update to 2.0.3.
2016-04-17 10:33:08 +03:00
Alex Kost 5953d2b7c0 gnu: kbd: Use 'modify-phases'.
* gnu/packages/linux.scm (kbd)[arguments]: Use 'modify-phases'.
2016-04-17 10:33:08 +03:00
Ludovic Courtès a1ccefaa12 file-systems: Add 'find-partition-by-luks-uuid'.
* gnu/build/file-systems.scm (%luks-endianness, %luks-header-size): New
macros.
(%luks-magic): New variable.
(sub-bytevector, read-luks-header, luks-header-uuid): New procedures.
(partition-predicate): Add 'read' parameter; wrap it with 'ENOENT-safe'.
Use it instead of 'read-ext2-superblock*'.
(read-ext2-superblock*): Remove.
(partition-label-predicate, partition-uuid-predicate): Pass
'read-ext2-superblock' as the first argument.
(partition-luks-uuid-predicate): New variable.
(find-partition-by-luks-uuid): New procedure.
2016-04-17 01:23:52 +02:00
Ludovic Courtès 2447335625 file-systems: Separate ENOENT catching from ext2 superblock reads.
* gnu/build/file-systems.scm (ENOENT-safe): New procedure.
(read-ext2-superblock*): Rewrite in terms of it.
2016-04-17 01:23:52 +02:00
Ludovic Courtès e9dffec126 doc: Update 'skeletons' field documentation.
* doc/guix.texi (operating-system Reference): Update documentation of
'skeletons' as a followup to e79467f63a.
2016-04-17 01:23:52 +02:00
Ludovic Courtès d5e5924835 doc: Use new PACKAGE@VERSION syntax in example.
* doc/guix.texi (Using the Configuration System): Use PACKAGE@VERSION
syntax.
2016-04-17 01:23:52 +02:00
John Darrington f6c8cb996b gnu: Add marst.
* gnu/packages/marst.scm: New file.
* gnu-system.am: Add it.
2016-04-16 18:46:17 +02:00
Manolis Ragkousis 503275e94a gnu: linux: Add case for arm64.
* gnu/packages/linux.scm (system->linux-architecture): Add
  "aarch64".
2016-04-16 18:10:36 +03:00
Manolis Ragkousis 19c444f403 gnu: bootstrap: Add the location of ld.so on arm64.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add the dynamic
  linker for aarch64-linux.
2016-04-16 18:10:31 +03:00
宋文武 95742f717b gnu: dconf-editor: Update to 3.20.0.
* gnu/packages/gnome.scm (dconf-editor): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 7929f74a99 gnu: gnome-backgrounds: Update to 3.20.
* gnu/packages/gnome.scm (gnome-backgrounds): Update to 3.20.
2016-04-16 11:46:50 +02:00
宋文武 002835010c gnu: baobab: Update to 3.20.0.
* gnu/packages/gnome.scm (baobab): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 32758e9d75 gnu: nautilus: Update to 3.20.0.
* gnu/packages/gnome.scm (nautilus): Update to 3.20.0.
[arguments]: Pass '--disable-selinux' to configure.
2016-04-16 11:46:50 +02:00
宋文武 133e43db80 gnu: gnome-shell: Update to 3.20.0.
* gnu/packages/gnome.scm (gnome-shell): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 0dc31a81f3 gnu: gnome-control-center: Update to 3.20.0.
* gnu/packages/gnome.scm (gnome-control-center): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 65815d6c91 gnu: gnome-bluetooth: Update to 3.18.3.
* gnu/packages/gnome.scm (gnome-bluetooth): Update to 3.18.3.
2016-04-16 11:46:50 +02:00
宋文武 98d2bc851e gnu: libgtop: Update to 0.34.0.
* gnu/packages/gnome.scm (libgtop): Update to 0.34.0.
2016-04-16 11:46:50 +02:00
宋文武 09c4438aab gnu: gdm: Update to 3.20.0.
* gnu/packages/gnome.scm (gdm): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 a3ae60e8bf gnu: caribou: Update to 0.4.20.
* gnu/packages/gnome.scm (caribou): Update to 0.4.20.
2016-04-16 11:46:50 +02:00
宋文武 ad1a5e52d1 gnu: evolution-data-server: Update to 3.20.0.
* gnu/packages/gnome.scm (evolution-data-server): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 7d393ab0a5 gnu: gnome-online-accounts: Update to 3.20.0.
* gnu/packages/gnome.scm (gnome-online-accounts): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 9588a03744 gnu: mutter: Update to 3.20.0.
* gnu/packages/gnome.scm (mutter): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 9e8660f514 gnu: zenity: Update to 3.20.0.
* gnu/packages/gnome.scm (zenity): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 ea7dc14c5d gnu: gedit: Update to 3.20.1.
* gnu/packages/gnome.scm (gedit): Update to 3.20.1.
2016-04-16 11:46:50 +02:00
宋文武 069c55fbd7 gnu: gnome-session: Update to 3.20.0.
* gnu/packages/gnome.scm (gnome-session): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 350c301ae5 gnu: file-roller: Update to 3.20.0.
* gnu/packages/gnome.scm (file-roller): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 e07573f830 gnu: yelp: Update to 3.20.0.
* gnu/packages/gnome.scm (yelp): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 e479340999 gnu: yelp-xsl: Update to 3.20.0.
* gnu/packages/gnome.scm (yelp-xsl): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 a49433bcaf gnu: epiphany: Update to 3.20.0.
* gnu/packages/gnome.scm (epiphany): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 3aedee7424 gnu: gvfs: Update to 1.28.0.
* gnu/packages/gnome.scm (gvfs): Update to 1.28.0.
2016-04-16 11:46:50 +02:00
宋文武 01f5801ea7 gnu: eog: Update to 3.20.0.
* gnu/packages/gnome.scm (eog): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 bbdae66bf8 gnu: totem: Update to 3.20.0.
* gnu/packages/gnome.scm (totem): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 6dec728d4a gnu: grilo-plugins: Update to 0.2.17.
* gnu/packages/gnome.scm (grilo-plugins): Update to 0.2.17.
2016-04-16 11:46:50 +02:00
宋文武 465edc2e18 gnu: grilo: Update to 0.2.15.
* gnu/packages/gnome.scm (grilo): Update to 0.2.15.
2016-04-16 11:46:50 +02:00
宋文武 57ed8795f3 gnu: gnome-klotski: Update to 3.20.0.
* gnu/packages/gnome.scm (gnome-klotski): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 2eaa2a0c0e gnu: libchamplain: Update to 0.12.13.
* gnu/packages/gnome.scm (libchamplain): Update to 0.12.13.
2016-04-16 11:46:50 +02:00
宋文武 8a5141ecff gnu: clutter-gst: Update to 3.0.18.
* gnu/packages/gnome.scm (clutter-gst): Update to 3.0.18.
2016-04-16 11:46:50 +02:00
宋文武 5befffd596 gnu: clutter-gtk: Update to 1.8.0.
* gnu/packages/gnome.scm (clutter-gtk): Update to 1.8.0.
2016-04-16 11:46:50 +02:00
宋文武 71a5614913 gnu: clutter: Update to 1.26.0.
* gnu/packages/gnome.scm (clutter): Update to 1.26.0.
2016-04-16 11:46:50 +02:00
宋文武 da91424853 gnu: devhelp: Update to 3.20.0.
* gnu/packages/gnome.scm (devhelp): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 f97382a7d6 gnu: aisleriot: Update to 3.20.1.
* gnu/packages/gnome.scm (aisleriot): Update to 3.20.1.
2016-04-16 11:46:50 +02:00
宋文武 e1ab1edc9d gnu: totem-pl-parser: Update to 3.10.6.
* gnu/packages/gnome.scm (totem-pl-parser): Update to 3.10.6.
2016-04-16 11:46:50 +02:00
宋文武 f50f23ca1c gnu: gnome-settings-daemon: Update to 3.20.0.
* gnu/packages/gnome.scm (gnome-settings-daemon): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 2e5369e237 gnu: libgweather: Update to 3.20.0.
* gnu/packages/gnome.scm (libgweather): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 365d5cd0f6 gnu: geocode-glib: Update to 3.20.0.
* gnu/packages/gnome.scm (geocode-glib): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 0fb6c1ceea gnu: gnome-terminal: Update to 3.20.0.
* gnu/packages/gnome.scm (gnome-terminal): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 2c5a18f0bb gnu: gnome-mines: Update to 3.20.0.
* gnu/packages/gnome.scm (gnome-mines): Update to 3.20.0.
[arguments]: Remove 'wrap-pixbuf' phase.
2016-04-16 11:46:50 +02:00
宋文武 00748a038c gnu: libsecret: Update to 0.18.5.
* gnu/packages/gnome.scm (libsecret): Update to 0.18.5.
2016-04-16 11:46:50 +02:00
宋文武 4e31b436a7 gnu: libsoup: Update to 2.54.0.1.
* gnu/packages/gnome.scm (libsoup): Update to 2.54.0.1.
2016-04-16 11:46:50 +02:00
宋文武 653b475894 gnu: glib-networking: Update to 2.48.0.
* gnu/packages/gnome.scm (glib-networking): Update to 2.48.0.
2016-04-16 11:46:50 +02:00
宋文武 272529077c gnu: json-glib: Update to 1.2.0.
* gnu/packages/gnome.scm (json-glib): Update to 1.2.0.
2016-04-16 11:46:50 +02:00
宋文武 eb771d5b9a gnu: dconf: Update to 0.26.0.
* gnu/packages/gnome.scm (dconf): Update to 0.26.0.
2016-04-16 11:46:50 +02:00
宋文武 b384bfcfa4 gnu: vte: Update to 0.44.0.
* gnu/packages/gnome.scm (vte): Update to 0.44.0.
[arguments]: New field.
2016-04-16 11:46:50 +02:00
宋文武 884bb4ef24 gnu: vala: Update to 0.32.0.
* gnu/packages/gnome.scm (vala): Update to 0.32.0.
2016-04-16 11:46:50 +02:00
宋文武 6c2730172f gnu: python-pygobject: Update to 3.20.0.
* gnu/packages/glib.scm (python-pygobject): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 4ec331b2b4 gnu: gnumeric: Fix build.
* gnu/packages/gnome.scm (gnumeric)[native-inputs]: Add bison.
[inputs]: Replace python2-pygobject with python2-pygobject.
2016-04-16 11:46:50 +02:00
宋文武 c14a524ce5 gnu: seahorse: Update to 3.20.0.
* gnu/packages/gnome.scm (seahorse): Update to 3.20.0.
2016-04-16 11:46:50 +02:00
宋文武 b04217cc91 gnu: gnome-themes-standard: Update to 3.20.
* gnu/packages/gnome.scm (gnome-themes-standard): Update to 3.20.
2016-04-16 11:46:50 +02:00
宋文武 b50e65593f gnu: gnumeric: Update to 1.12.28.
* gnu/packages/gnome.scm (gnumeric): Update to 1.12.28.
2016-04-16 11:46:50 +02:00
宋文武 9d0c56e658 gnu: goffice: Update to 0.10.28.
* gnu/packages/gnome.scm (goffice): Update to 0.10.28.
2016-04-16 11:46:50 +02:00
宋文武 aacf6a7f27 gnu: libwnck: Update to 3.14.1.
* gnu/packages/gnome.scm (libwnck): Update to 3.14.1.
2016-04-16 11:46:50 +02:00
宋文武 85a0942cff gnu: libgnomeprint: Fix build.
* gnu/packages/gnome.scm (libgnomeprint)[source]: Remove snippet.
2016-04-16 11:46:50 +02:00
Jookia dbc3860ceb gnu: gtk+-2: Look in system data dirs for themes.
* gnu/packages/patches/gtk2-theme-paths.patch: New patch.
* gnu/packages/gtk.scm (gtk+-2)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-04-16 11:46:50 +02:00
宋文武 2f52438403 gnu: glade: Use 'glib-or-gtk-build-system'.
* gnu/packages/gnome.scm (gladle)[build-system]: Switch to GLIB-OR-GTK-BUILD-SYSTEM.
2016-04-16 11:45:29 +02:00
宋文武 26fa2085c4 gnu: libgsf: Update to 1.14.36.
* gnu/packages/gnome.scm (libgsf): Update to 1.14.36.
2016-04-16 11:45:29 +02:00
宋文武 b291a0dea7 gnu: libcroco: Update to 0.6.11.
* gnu/packages/gnome.scm (libcroco): Update to 0.6.11.
2016-04-16 11:45:29 +02:00
宋文武 7ab947fa4f gnu: glade: Update to 3.20.0.
* gnu/packages/gnome.scm (glade): Update to 3.20.0.
2016-04-16 11:45:29 +02:00
宋文武 5e09179ccd gnu: libpeas: Update to 1.18.0.
* gnu/packages/gnome.scm (libpeas): Update to 1.18.0.
2016-04-16 11:45:29 +02:00
宋文武 20da53dd98 gnu: adwaita-icon-theme: Update to 3.20.
* gnu/packages/gnome.scm (adwaita-icon-theme): Update to 3.20.
2016-04-16 11:45:29 +02:00
宋文武 224276ab44 gnu: gdk-pixbuf: Propagate shared-mime-info.
* gnu/packages/gtk.scm (gdk-pixbuf): Move shared-mime-info to propagated-inputs.
2016-04-16 11:45:29 +02:00
宋文武 bc41fd3499 gnu: gsettings-desktop-schemas: Update to 3.20.0.
* gnu/packages/gnome.scm (gsettings-desktop-schemas): Update to 3.20.0.
2016-04-16 11:45:29 +02:00
宋文武 c1b9cd3ef8 gnu: evince: Update to 3.20.0.
* gnu/packages/gnome.scm (evince): Update to 3.20.0.
2016-04-16 11:45:29 +02:00
宋文武 b94a822eae gnu: gnome-keyring: Update to 3.20.0.
* gnu/packages/gnome.scm (gnome-keyring): Update to 3.20.0.
2016-04-16 11:45:29 +02:00
宋文武 a466a7c788 gnu: gcr: Update 3.20.0.
* gnu/packages/gnome.scm (gcr): Update to 3.20.0.
2016-04-16 11:45:29 +02:00
宋文武 62759c544a gnu: gnome-desktop: Update to 3.20.0.
* gnu/packages/gnome.scm (gnome-desktop): Update to 3.20.0.
2016-04-16 11:45:29 +02:00
宋文武 400f3db267 gnu: gtkmm: Update to 3.20.0.
* gnu/packages/gtk.scm (gtkmm): Update to 3.20.0.
2016-04-16 11:45:29 +02:00
宋文武 8c5531a5b9 gnu: pangomm: Update to 2.40.0.
* gnu/packages/gtk.scm (pangomm): Update to 2.40.0.
2016-04-16 11:45:29 +02:00
宋文武 343eb85899 gnu: gdk-pixbuf: Fix tests.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Add shared-mime-info.
2016-04-16 11:45:29 +02:00
宋文武 07a048f61b gnu: graphite2: Update to 1.3.8.
* gnu/packages/fontutils.scm (graphite2): Update to 1.3.8.
2016-04-16 11:45:29 +02:00
宋文武 dfa9afe076 gnu: gtk+: Update to 3.20.2.
* gnu/packages/gtk.scm (gtk+): Update to 3.20.2.
2016-04-16 11:45:29 +02:00
宋文武 11577957e0 gnu: at-spi2-atk: Update to 2.20.0.
* gnu/packages/gtk.scm (at-spi2-atk): Update to 2.20.0.
2016-04-16 11:45:02 +02:00
宋文武 ba60784f99 gnu: at-spi2-core: Update to 2.20.0.
* gnu/packages/gtk.scm (at-spi2-core): Update to 2.20.0.
2016-04-16 11:45:02 +02:00
宋文武 5c9f085e98 gnu: gtksourceview: Update to 3.20.1.
* gnu/packages/gtk.scm (gtksourceview): Update to 3.20.1.
2016-04-16 11:45:02 +02:00
宋文武 7e53a19b5a gnu: atk: Update to 2.20.0.
* gnu/packages/gtk.scm (atk): Update to 2.20.0.
2016-04-16 11:45:02 +02:00
宋文武 d3e80ec2c5 gnu: glibmm: Update to 2.48.1.
* gnu/packages/glib.scm (glibmm): Update to 2.48.1.
2016-04-16 11:45:02 +02:00
宋文武 bc84c6f1d5 gnu: libsigc++: Update to 2.8.0.
* gnu/packages/glib.scm (libsigc++): Update to 2.8.0.
2016-04-16 11:45:02 +02:00
宋文武 0fc9213814 gnu: pango: Update to 1.40.0.
* gnu/packages/glib.scm (pango): Update to 1.40.0.
2016-04-16 11:45:02 +02:00
宋文武 4f6f76f3f9 gnu: gobject-introspection: Update to 1.48.0.
* gnu/packages/glib.scm (gobject-introspection): Update to 1.48.0.
2016-04-16 11:45:02 +02:00
宋文武 bdc1cb0e86 gnu: librsvg: Update to 2.40.15.
* gnu/packages/gnome.scm (librsvg): Update to 2.40.15.
2016-04-16 11:45:02 +02:00
宋文武 8e8454738b gnu: gdk-pixbuf: Update to 2.34.0.
* gnu/packages/gtk.scm (gdk-pixbuf): Update to 2.34.0.
2016-04-16 11:45:02 +02:00
宋文武 ccbf8ccd32 gnu: shared-mime-info: Update to 1.6.
* gnu/packages/gnome.scm (shared-mime-info): Update to 1.6.
2016-04-16 11:45:02 +02:00
宋文武 1543fe4d1b gnu: harfbuzz: Update to 1.2.4.
* gnu/packages/gtk.scm (harfbuzz): Update to 1.2.4.
2016-04-16 11:45:02 +02:00
宋文武 744befa514 gnu: glib: Update to 2.48.0.
* gnu/packages/glib.scm (glib): Update to 2.48.0.
[propagated-inputs]: New field with pcre.
2016-04-16 11:45:02 +02:00
宋文武 7c951767c0 gnu: glib: Disable tests in build phases instead of patches.
* gnu/packages/glib.scm (glib)[sources]: Remove glib-tests-desktop.patch,
glib-tests-prlimit.patch and glib-tests-gapplicatiotn.patch.
[arguments]: Add 'disable-falling-tests' phase.
* gnu/packages/patches/glib-tests-timer.patch: Adjust accordingly.
* gnu/packages/patches/glib-tests-desktop.patch,
  gnu/packages/patches/glib-tests-gapplication.patch,
  gnu/packages/patches/glib-tests-prlimit.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove them.
2016-04-16 11:44:24 +02:00
宋文武 7dd99e5573 gnu: glib: Drop glib-tests-homedir.patch.
* gnu/packages/glib.scm (glib)[source]: Remove glib-tests-homedir.patch.
[arguments]: Set HOME and disable '/gdbus/codegen-peer-to-peer' test.
* gnu/packages/patches/glib-tests-homedir.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
2016-04-16 11:43:54 +02:00
宋文武 0f795a0a53 gnu: glib: Use modify-phases syntax.
* gnu/packages/glib.scm (glib)[arguments]: Use 'modify-phases'.
2016-04-16 11:43:06 +02:00
宋文武 944504b32d gnu: freetype: Add libpng and zlib to propagated-inputs.
* gnu/packages/fontutils.scm (freetype)[propagated-inputs]: New field.
[native-inputs]: New field.
2016-04-16 11:43:06 +02:00
宋文武 a1713f18d0 gnu: freetype: Update to 2.6.3.
* gnu/packages/fontutils.scm (freetype): Update to 2.6.3.
2016-04-16 11:43:06 +02:00
宋文武 3ede2efd20 gnu: poppler: Update to 0.42.0.
* gnu/packages/pdf.scm (poppler): Update to 0.42.0.
2016-04-16 11:43:06 +02:00
宋文武 dc9f654564 gnu: dbus: Update to 1.10.8.
* gnu/packages/glib.scm (dbus): Update to 1.10.8.
2016-04-16 11:43:06 +02:00
宋文武 c010bae3e0 gnu: poppler: Enable GObject introspection.
* gnu/packages/pdf.scm (poppler)[native-inputs]: Add gobject-introspection.
2016-04-16 11:42:33 +02:00
宋文武 867a62e0c7 gnu: gobject-introspection: Remove cairo from inputs.
It's only for testing and tests are disabled.  Remove it will allow
building poppler with gobject-introspection.

* gnu/packages/glib.scm (gobject-introspection)[inputs]: Remove cairo.
2016-04-16 11:42:33 +02:00
宋文武 33f3b97c38 gnu: cairo: Update to 1.14.6.
* gnu/packages/gtk.scm (cairo): Update to 1.14.6.
2016-04-16 11:42:33 +02:00
宋文武 83d6c2770e gnu: pixman: Update to 0.34.0.
* gnu/packages/xdisorg.scm (pixman): Update to 0.34.0.
2016-04-16 11:42:33 +02:00
宋文武 c9171a3faa gnu: gtk+-2: Update to 2.24.30.
* gnu/packages/gtk.scm (gtk+-2): Update to 2.24.30.
2016-04-16 11:42:33 +02:00
宋文武 05c4b7e930 gnu: gtk+: Enable SVG support.
* gnu/packages/gtk.scm (gtk+, gtk+-2)[propagated-inputs]: Use 'gdk-pixbuf+svg'
instead of 'gdk-pixbuf'.
(gtk+): Remove librsvg from inputs.  Remove 'wrap-gtk-encode-symbolic-svg' phase.
2016-04-16 11:40:15 +02:00
Ludovic Courtès 3a25c63120 doc: Mention --localstatedir for when building from Git.
Reported by Hartmut Goebel <h.goebel@crazy-compilers.com>.

* doc/contributing.texi (Building from Git): Mention --localstatedir.
2016-04-16 00:52:19 +02:00
Ludovic Courtès e0b3f97ecc doc: Fix typos.
* doc/guix.texi (Hardware Considerations): Fix typos.
2016-04-16 00:52:19 +02:00
Ludovic Courtès 6d2b43915f syscalls: 'terminal-columns' ignores non-file ports.
* guix/build/syscalls.scm (terminal-columns): Call
'terminal-window-size' only when PORT is a file port.
* tests/syscalls.scm ("terminal-columns non-file port"): New test.
2016-04-16 00:52:19 +02:00
Ludovic Courtès 9f088725c0 gnu: Add tcc-wrapper.
* gnu/packages/c.scm (tcc-wrapper): New variable.
2016-04-16 00:52:19 +02:00
Ludovic Courtès a5e2c9a9c5 gnu: Add tcc.
* gnu/packages/c.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2016-04-16 00:52:19 +02:00
Ludovic Courtès bf15321a60 doc: Remove mention of GNU release freshness checks.
* doc/guix.texi (Invoking guix package): Remove paragraph about
automatic check for latest GNU releases, which was removed in
6caa4dfa37.
2016-04-16 00:52:19 +02:00
Ricardo Wurmus 770305f4ab gnu: Add Beast.
* gnu/packages/music.scm (beast): New variable.
2016-04-15 22:11:17 +02:00
Ricardo Wurmus 96d15e4841 gnu: Add rapicorn.
* gnu/packages/graphics.scm (rapicorn): New variable.
2016-04-15 22:10:08 +02:00
Ricardo Wurmus 2df831a78a gnu: Add libpng-1.2.
* gnu/packages/image.scm (libpng-1.2): New variable.
2016-04-15 22:10:02 +02:00
Chris Marusich 9e9c71eb60 gnu: Add emacs-ffap-rfc-space.
* gnu/packages/emacs.scm (emacs-ffap-rfc-space): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-04-15 11:32:37 +03:00
Chris Marusich 4670f70a7f gnu: Add emacs-rfcview.
* gnu/packages/emacs.scm (emacs-rfcview): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-04-15 11:32:37 +03:00
Albin Söderqvist e9687748e1 gnu: Add openttd.
* gnu/packages/games.scm (openttd-engine): New variable (private).
(openttd): Inherit it.  New variable (public).

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-04-15 11:32:37 +03:00
Alex Kost 117195c28d emacs: Use full profile name in Guix buffer names.
* emacs/guix-ui.el (guix-ui-buffer-name-default): Rename to...
(guix-ui-buffer-name-short): ... this.
(guix-ui-buffer-name-full): New procedure.
(guix-ui-buffer-name-function): Set it as default.
2016-04-15 11:32:37 +03:00
Alex Kost 6ea80938ae emacs: Factorize code for buffer names.
* emacs/guix-ui.el (guix-ui-buffer-name-default): Extract the code to
  compose buffer name and move to...
* emacs/guix-utils.el (guix-compose-buffer-name): ... here.  New procedure.
2016-04-15 11:32:36 +03:00
Eric Bavier de946028be gnu: fontforge: Swap giflib input for libungif.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Remove giflib, add
libungif.
[arguments]: Adjust 'set-library-path' phase accordingly.
2016-04-15 00:39:31 -05:00
Eric Bavier 17b974f71c gnu: fontforge: Remove 'patch-configure' phase.
* gnu/packages/fontutils.scm (fontforge)[arguments]: Remove
'patch-configure' phase, which became unnecessary in the latest
versions.
2016-04-15 00:39:21 -05:00
Eric Bavier 5f031ed242 gnu: fontforge: Install 'showttf' tool.
* gnu/packages/fontutils.scm (fontforge)[arguments]: Add 'build-contrib'
phase.
2016-04-15 00:39:08 -05:00
Eric Bavier 5ab869f962 gnu: fontforge: Use modify-phases.
* gnu/packages/fontutils.scm (fontforge)[arguments]: Use modify-phases.
2016-04-15 00:35:36 -05:00
Eric Bavier f85cafde81 gnu: Add font-fantasque-sans.
* gnu/packages/fonts.scm (font-fantasque-sans): New variable.
2016-04-15 00:35:36 -05:00
Eric Bavier 5391be116e gnu: fontforge: Make SVG builds reproducible.
* gnu/packages/patches/fontforge-svg-modtime.patch: New file.
* gnu/packages/fontutils.scm (fontforge)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2016-04-15 00:23:29 -05:00
Eric Bavier 579760d06e gnu: Add woff2.
* gnu/packages/fontutils.scm (woff2): New variable.
* gnu/packages/patches/woff2-libbrotli.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
2016-04-15 00:23:29 -05:00
Eric Bavier 69d9792a94 gnu: Add brotli.
* gnu/packages/compression.scm (brotli): New variable.
2016-04-15 00:23:29 -05:00
Eric Bavier 1555aee7d0 gnu: Add ttf2eot.
* gnu/packages/fontutils.scm (ttf2eot): New variable.
* gnu/packages/patches/ttf2eot-cstddef.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
2016-04-15 00:23:29 -05:00
Eric Bavier 508a85dfd6 gnu: Add woff-tools.
* gnu/packages/fontutils.scm (woff-tools): New variable.
2016-04-15 00:23:28 -05:00
Eric Bavier 1e69db8f14 gnu: Add ttfautohint.
* gnu/packages/fontutils.scm (ttfautohint): New variable.
* gnu/packages/patches/ttfautohint-source-date-epoch.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
2016-04-15 00:23:28 -05:00
Mark H Weaver 08fbfa8d21 Revert "gnu: btrfs-progs: Add "static" output."
This reverts commit 5f3f3ac287.
2016-04-14 21:01:09 -04:00
Mathieu Lirzin a1097caa6a build: Move environment '.in' scripts to 'build-aux' directory.
* pre-inst-env.in: Move to ...
* build-aux/pre-inst-env.in: ... here.
* test-env.in: Move to ...
* build-aux/test-env.in: ... here.
* configure.ac (AC_CONFIG_FILES): Adapt to this.  Keep the generated
scripts in their current location which is $(top_builddir).
2016-04-15 00:59:07 +02:00
Mathieu Lirzin e66d1f59ab doc: Add a reference to 'Invoking guix archive'.
* doc/guix.texi (Common Build Options): Add a reference to 'Invoking
guix archive'.
2016-04-15 00:59:07 +02:00
Mathieu Lirzin 1e47d0e245 gnu: Add docbook-xml-4.1.2.
* gnu/packages/docbook.scm (docbook-xml-4.1.2): New variable.
2016-04-15 00:59:07 +02:00
Ludovic Courtès b0a6a97130 substitute: Honor the number of columns of the client terminal.
* guix/store.scm (set-build-options): Add #:terminal-columns parameter
and honor it.
* guix/scripts/substitute.scm (client-terminal-columns): New procedure.
(guix-substitute): Use it to parameterize 'current-terminal-columns'.
2016-04-15 00:32:18 +02:00
Ludovic Courtès cc44fbb8d9 guix download: Honor the number of columns of the terminal.
* guix/scripts/download.scm (guix-download): Parameterize
'current-terminal-columns'.
2016-04-15 00:32:18 +02:00
Ludovic Courtès 9703fef415 ui: Use 'terminal-columns'.
* guix/ui.scm (%text-width): Default to (terminal-columns).
2016-04-15 00:32:18 +02:00
Ludovic Courtès 069d43a765 ui: 'package->recutils' accurately honors the number of columns.
* guix/ui.scm (package->recutils)[width*]: New variable.  Use it instead
of WIDTH.
2016-04-15 00:32:18 +02:00
Ludovic Courtès 29ff6d9fcc syscalls: Add TIOCGWINSZ bindings.
* guix/build/syscalls.scm (TIOCGWINSZ): New macro.
(<window-size>): New record type.
(winsize): New C struct.
(winsize-struct): New variable.
(terminal-window-size, terminal-columns): New procedures.
2016-04-15 00:32:18 +02:00
Ludovic Courtès 4d276c6403 download: Add 'current-terminal-columns' parameter.
* guix/build/download.scm (current-terminal-columns): New variable.
(progress-proc): Use it instead of the hard-coded "80".
2016-04-15 00:32:18 +02:00
Ludovic Courtès 8a2154fefa download: Send an ANSI erase-in-line sequence in addition to CR.
Partly fixes <http://bugs.gnu.org/22536>.
Reported by Danny Milosavljevic <dannym@scratchpost.org>.

* guix/build/download.scm (progress-proc): Send an ANSI erase-in-line
sequence.
2016-04-15 00:32:18 +02:00
Ludovic Courtès 63e8bb12a4 gnu-maintenance: Move FTP directory info to 'properties' fields.
* guix/gnu-maintenance.scm (ftp-server/directory): Rewrite to honor
PACKAGE's properties.  Remove list of quirks.
(releases): Add #:server and #:directory parameters.  Remove call
to 'ftp-server/directory'.
(latest-release): Likewise.
(latest-release*): Add call to 'ftp-server/directory'.  Honor
'upstream-name' property of PACKAGE.
* gnu/packages/fonts.scm (font-gnu-freefont-ttf): Add 'properties'
field.
* gnu/packages/gnupg.scm (libgpg-error, libgcrypt, libassuan):
(libksba, gnupg): Likewise.
* gnu/packages/gnuzilla.scm (icecat): Likewise.
* gnu/packages/package-management.scm (guix-0.10.0): Likewise.
* gnu/packages/pretty-print.scm (source-highlight): Likewise.
* gnu/packages/scheme.scm (mit-scheme): Likewise.
* gnu/packages/telephony.scm (ucommon): Likewise.
* gnu/packages/tls.scm (gnutls): Likewise.
2016-04-15 00:32:18 +02:00
Ludovic Courtès 444bb0d857 gnu-maintenance: Recognize source tarball with "-src" in their name.
* guix/gnu-maintenance.scm (tarball->version): Add special case for
tarball names containing "-src".
2016-04-15 00:32:18 +02:00
Ludovic Courtès 7d27a0259b upstream: Pass a package object to updaters.
* guix/upstream.scm (package-update-path): Pass PACKAGE to
'latest-release'.
* guix/gnu-maintenance.scm (latest-release*)
(latest-gnome-release, latest-xorg-release): Adjust accordingly.
* guix/import/cran.scm (latest-cran-release):
(latest-bioconductor-release): Likewise.
* guix/import/elpa.scm (latest-release): Likewise.
* guix/import/gem.scm (latest-release): Likewise.
* guix/import/github.scm (latest-release): Likewise.
* guix/import/hackage.scm (latest-release): Likewise.
* guix/import/pypi.scm (latest-release): Likewise.
2016-04-15 00:32:18 +02:00
David Thompson 85c7e8e611 Revert "gnu: util-linux: Add "static" output."
This reverts commit df887432be.
2016-04-14 13:24:10 -04:00
Ricardo Wurmus e6f0ca2f05 gnu: r-htmltools: Update to 0.3.5.
* gnu/packages/web.scm (r-htmltools): Update to 0.3.5.
[propagated-inputs]: Add r-rcpp.
2016-04-14 14:54:40 +02:00
Ricardo Wurmus e4785eb816 gnu: Add r-nnet.
* gnu/packages/machine-learning.scm (r-nnet): New variable.
2016-04-14 14:53:31 +02:00
Ricardo Wurmus 07f911bab7 gnu: Add r-igraph.
* gnu/packages/statistics.scm (r-igraph): New variable.
2016-04-14 14:53:31 +02:00
Ricardo Wurmus b783ff7833 gnu: Add r-nmf.
* gnu/packages/statistics.scm (r-nmf): New variable.
2016-04-14 14:53:31 +02:00
Ricardo Wurmus 790034bd23 gnu: Add r-rngtools.
* gnu/packages/statistics.scm (r-rngtools): New variable.
2016-04-14 14:53:31 +02:00
Ricardo Wurmus 2d0f7d80bf gnu: Add r-registry.
* gnu/packages/statistics.scm (r-registry): New variable.
2016-04-14 14:53:31 +02:00
Ricardo Wurmus 3a6607f00b gnu: Add r-pkgmaker.
* gnu/packages/statistics.scm (r-pkgmaker): New variable.
2016-04-14 14:53:31 +02:00
Ricardo Wurmus dada39aaed gnu: Add r-irlba.
* gnu/packages/statistics.scm (r-irlba): New variable.
2016-04-14 14:53:31 +02:00
Ricardo Wurmus b20abbcd74 gnu: Add r-latticeextra.
* gnu/packages/statistics.scm (r-latticeextra): New variable.
2016-04-14 14:53:31 +02:00
Ricardo Wurmus a73f4cd18b gnu: Add r-xtable.
* gnu/packages/statistics.scm (r-xtable): New variable.
2016-04-14 14:53:31 +02:00
Ricardo Wurmus 97ee973daa gnu: Add r-locfit.
* gnu/packages/statistics.scm (r-locfit): New variable.
2016-04-14 14:53:31 +02:00
Ricardo Wurmus b1acb44573 gnu: Add r-formula.
* gnu/packages/statistics.scm (r-formula): New variable.
2016-04-14 14:53:31 +02:00
Ricardo Wurmus 0837dd0737 gnu: Add r-foreign.
* gnu/packages/statistics.scm (r-foreign): New variable.
2016-04-14 14:53:30 +02:00
Ricardo Wurmus 0926b8779f gnu: Add r-cluster.
* gnu/packages/statistics.scm (r-cluster): New variable.
2016-04-14 14:53:30 +02:00
Ricardo Wurmus b4d6f4089f gnu: Add r-acepack.
* gnu/packages/statistics.scm (r-acepack): New variable.
2016-04-14 14:53:30 +02:00
Ludovic Courtès a2d0e2003f gnu: hwloc: Update to 1.11.2.
* gnu/packages/mpi.scm (hwloc): Update to 1.11.2.  Change URLs to https.
2016-04-14 10:20:14 +02:00
Danny Milosavljevic 013c3fb8c7 lint: Emit an ANSI erase-in-line sequence.
* guix/scripts/lint.scm (run-checkers): Add '\x1b[K' to progress
messages and after 'for-each'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-04-14 10:20:14 +02:00
Alex Kost fc1adab148 gnu: packages: Use 'search-patches' everywhere.
* gnu/packages/abiword.scm: Use 'search-patches' for 'patches' field.
* gnu/packages/acl.scm: Likewise.
* gnu/packages/admin.scm: Likewise.
* gnu/packages/algebra.scm: Likewise.
* gnu/packages/animation.scm: Likewise.
* gnu/packages/apr.scm: Likewise.
* gnu/packages/audacity.scm: Likewise.
* gnu/packages/audio.scm: Likewise.
* gnu/packages/autotools.scm: Likewise.
* gnu/packages/avahi.scm: Likewise.
* gnu/packages/backup.scm: Likewise.
* gnu/packages/base.scm: Likewise.
* gnu/packages/bash.scm: Likewise.
* gnu/packages/bioinformatics.scm: Likewise.
* gnu/packages/cdrom.scm: Likewise.
* gnu/packages/ci.scm: Likewise.
* gnu/packages/cmake.scm: Likewise.
* gnu/packages/cpio.scm: Likewise.
* gnu/packages/cross-base.scm: Likewise.
* gnu/packages/dico.scm: Likewise.
* gnu/packages/doxygen.scm: Likewise.
* gnu/packages/ebook.scm: Likewise.
* gnu/packages/elf.scm: Likewise.
* gnu/packages/emacs.scm: Likewise.
* gnu/packages/engineering.scm: Likewise.
* gnu/packages/firmware.scm: Likewise.
* gnu/packages/flashing-tools.scm: Likewise.
* gnu/packages/fltk.scm: Likewise.
* gnu/packages/ftp.scm: Likewise.
* gnu/packages/games.scm: Likewise.
* gnu/packages/gawk.scm: Likewise.
* gnu/packages/gcc.scm: Likewise.
* gnu/packages/gd.scm: Likewise.
* gnu/packages/ghostscript.scm: Likewise.
* gnu/packages/glib.scm: Likewise.
* gnu/packages/gnome.scm: Likewise.
* gnu/packages/gnucash.scm: Likewise.
* gnu/packages/gnunet.scm: Likewise.
* gnu/packages/gnupg.scm: Likewise.
* gnu/packages/gnuzilla.scm: Likewise.
* gnu/packages/graphics.scm: Likewise.
* gnu/packages/grub.scm: Likewise.
* gnu/packages/gtk.scm: Likewise.
* gnu/packages/guile.scm: Likewise.
* gnu/packages/icu4c.scm: Likewise.
* gnu/packages/idutils.scm: Likewise.
* gnu/packages/image.scm: Likewise.
* gnu/packages/imagemagick.scm: Likewise.
* gnu/packages/irc.scm: Likewise.
* gnu/packages/ldc.scm: Likewise.
* gnu/packages/libcanberra.scm: Likewise.
* gnu/packages/libevent.scm: Likewise.
* gnu/packages/libreoffice.scm: Likewise.
* gnu/packages/libunwind.scm: Likewise.
* gnu/packages/libusb.scm: Likewise.
* gnu/packages/linux.scm: Likewise.
* gnu/packages/lirc.scm: Likewise.
* gnu/packages/llvm.scm: Likewise.
* gnu/packages/lsh.scm: Likewise.
* gnu/packages/lua.scm: Likewise.
* gnu/packages/lxqt.scm: Likewise.
* gnu/packages/mail.scm: Likewise.
* gnu/packages/maths.scm: Likewise.
* gnu/packages/mcrypt.scm: Likewise.
* gnu/packages/messaging.scm: Likewise.
* gnu/packages/mit-krb5.scm: Likewise.
* gnu/packages/mp3.scm: Likewise.
* gnu/packages/multiprecision.scm: Likewise.
* gnu/packages/music.scm: Likewise.
* gnu/packages/ninja.scm: Likewise.
* gnu/packages/nvi.scm: Likewise.
* gnu/packages/ocaml.scm: Likewise.
* gnu/packages/orpheus.scm: Likewise.
* gnu/packages/ots.scm: Likewise.
* gnu/packages/parallel.scm: Likewise.
* gnu/packages/patchutils.scm: Likewise.
* gnu/packages/pcre.scm: Likewise.
* gnu/packages/pdf.scm: Likewise.
* gnu/packages/perl.scm: Likewise.
* gnu/packages/plotutils.scm: Likewise.
* gnu/packages/polkit.scm: Likewise.
* gnu/packages/pulseaudio.scm: Likewise.
* gnu/packages/python.scm: Likewise.
* gnu/packages/qemu.scm: Likewise.
* gnu/packages/qt.scm: Likewise.
* gnu/packages/ratpoison.scm: Likewise.
* gnu/packages/rdf.scm: Likewise.
* gnu/packages/readline.scm: Likewise.
* gnu/packages/rush.scm: Likewise.
* gnu/packages/scheme.scm: Likewise.
* gnu/packages/screen.scm: Likewise.
* gnu/packages/sdl.scm: Likewise.
* gnu/packages/slim.scm: Likewise.
* gnu/packages/ssh.scm: Likewise.
* gnu/packages/tcl.scm: Likewise.
* gnu/packages/tcsh.scm: Likewise.
* gnu/packages/texinfo.scm: Likewise.
* gnu/packages/tls.scm: Likewise.
* gnu/packages/tor.scm: Likewise.
* gnu/packages/tv.scm: Likewise.
* gnu/packages/valgrind.scm: Likewise.
* gnu/packages/version-control.scm: Likewise.
* gnu/packages/video.scm: Likewise.
* gnu/packages/vpn.scm: Likewise.
* gnu/packages/vtk.scm: Likewise.
* gnu/packages/w3m.scm: Likewise.
* gnu/packages/web.scm: Likewise.
* gnu/packages/wicd.scm: Likewise.
* gnu/packages/wm.scm: Likewise.
* gnu/packages/xdisorg.scm: Likewise.
* gnu/packages/xfce.scm: Likewise.
* gnu/packages/xiph.scm: Likewise.
* gnu/packages/xml.scm: Likewise.
* gnu/packages/xorg.scm: Likewise.
* gnu/packages/zip.scm: Likewise.
2016-04-14 10:38:21 +03:00
Alex Kost 25897079a2 packages: Add 'search-patches'.
* gnu/packages.scm (search-patches): New macro.
2016-04-14 10:36:11 +03:00
Alex Kost 82fd23b81f download: Follow HTTP 307 "Temporary Redirection".
Fixes <http://bugs.gnu.org/23275>.
Reported by Albin Söderqvist <albin@fripost.org>.

* guix/build/download.scm (http-fetch): Follow redirections upon 307.
  This is what 'binaries.openttd.org' does.
2016-04-14 10:34:37 +03:00
Alex Kost 5c93de7337 gnu: Add maim.
* gnu/packages/xdisorg.scm (maim): New variable.
2016-04-14 10:32:56 +03:00
Alex Kost 9f1d33be33 gnu: Add slop.
* gnu/packages/xdisorg.scm (slop): New variable.
2016-04-14 10:32:56 +03:00
Mark H Weaver 557a2503bc gnu: linux-libre-4.4: Update to 4.4.7.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.7.
2016-04-13 21:01:16 -04:00
Mark H Weaver f7cfd80fc6 gnu: linux-libre: Update to 4.5.1.
* gnu/packages/linux.scm (linux-libre): Update to 4.5.1.
2016-04-13 21:01:16 -04:00
Raymond Nicholson 58f738a1c8 gnu: pcmanfm, libfm: Update to 1.2.4.
* gnu/packages/lxde.scm (pcmanfm): Update to 1.2.4.
* gnu/packages/lxde.scm (libfm): Update to 1.2.4.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-04-13 20:46:14 -04:00
Ricardo Wurmus b0cf3d0fed gnu: qsynth: Update to 0.4.1.
* gnu/packages/audio.scm (qsynth): Update to 0.4.1.
2016-04-13 21:34:41 +02:00
Nicolas Goaziou 57497c5753 gnu: Add giac-xcas.
* gnu/packages/algebra.scm (giac-xcas): New variable.

Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
2016-04-13 19:52:33 +02:00
Nicolas Goaziou 61bb355532 gnu: Add mpfi.
* gnu/packages/multiprecision.scm (mpfi): New variable.

Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
2016-04-13 19:52:33 +02:00
Ludovic Courtès 89cbec89a5 hydra: Add 'hydra-jobs.scm' target to compute the Hydra jobs.
* build-aux/hydra/evaluate.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2016-04-13 19:20:03 +02:00
Ludovic Courtès 9c3bb4c54d hydra: Really completely disable grafting.
This is a followup to 49c4fd2a.

* build-aux/hydra/gnu-system.scm (package->alist): Parameterize %graft?.
(qemu-jobs)[->job]: Likewise.
(tarball-jobs)[->job]: Likewise.
2016-04-13 19:20:03 +02:00
David Thompson 0de9813905 gnu: geda-gaf: Make gsch2pcb work out-of-the-box.
* gnu/packages/engineering.scm (geda-gaf)[inputs]: Add m4 and pcb.
[arguments]: Add configure flags that point to PCB data files.
2016-04-13 12:08:17 -04:00
Andreas Enge 57c9c349b7 gnu: Add GMP-ECM.
* gnu/packages/algebra.scm (gmp-ecm): New variable.
2016-04-13 13:32:05 +02:00
Kei Yamashita dfc407f348 gnu: Add gnome-sudoku.
* gnu/packages/gnome.scm (gnome-sudoku): New variable.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-04-13 14:25:51 +08:00
Kei Yamashita 966dff3b81 gnu: Add qqwing.
* gnu/packages/game-development.scm (qqwing): New variable.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-04-13 14:25:51 +08:00
宋文武 2b8e9d9ed4 gnu-maintenance: update-package-source: Only update the desired package.
Fixes <http://bugs.gnu.org/22693>.
Suggested by Andy Wingo.

* guix/upstream.scm (update-package-source): Rewrite in terms of 'edit-expression'.
2016-04-13 09:17:01 +08:00
宋文武 f7df1e3efb utils: Add 'location->source-properties'.
* guix/utils (location-source->properties): New procedure.
2016-04-13 09:17:01 +08:00
宋文武 50a3d59473 utils: Add 'edit-expression'.
* guix/utils.scm (edit-expression): New procedure.
* tests/utils.scm (edit-expression): New test.
2016-04-13 09:16:54 +08:00
Leo Famulari 645deac326 gnu: samba: Update to 4.3.8.
Fixes CVE-2015-5730, CVE-2016-2110, CVE-2016-2111, CVE-2016-2112,
CVE-2016-2113, CVE-2016-2114, CVE-2016-2115, CVE-2016-2118.

* gnu/packages/samba.scm (samba): Update to 4.3.8.
2016-04-12 19:39:12 -04:00
Roel Janssen ec8c7e4734 gnu: Add r-pracma.
* gnu/packages/maths.scm (r-pracma): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-04-12 14:55:10 -04:00
Christopher Allan Webber b4c400a75c gnu: Add xscreensaver.
* gnu/packages/xdisorg.scm (xscreensaver): New variable.
2016-04-12 10:20:13 -05:00
alírio eyng 927e176d2a gnu: fontforge: Update to 20160404.
* gnu/packages/fontutils.scm (fontforge): Update to 20160404.
  [source](snippet): Remove tottf.c modification.  Update date strings.

Co-authored-by: Eric Bavier <bavier@member.fsf.org>
2016-04-12 09:39:40 -05:00
Leo Famulari 1e7bd1ec6e gnu: abduco: Update to 0.6.
* gnu/packages/abduco.scm (abduco): Update to 0.6.
2016-04-12 04:48:47 -04:00
Tobias Geerinckx-Rice 5f3f3ac287 gnu: btrfs-progs: Add "static" output.
* gnu/packages/linux.scm (btrfs-progs)[outputs]: New field.
[inputs]: Add "static" outputs of util-linux for libuuid and libblkid.
[arguments]: Add 'build-static' and 'install-static' phases.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-04-11 19:46:21 -04:00
Tobias Geerinckx-Rice df887432be gnu: util-linux: Add "static" output.
* gnu/packages/linux.scm: (util-linux)[outputs]: New field.
[arguments]: Remove "--disable-static" from #:configure-flags.
Add 'move-static-libraries' phase.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-04-11 19:45:58 -04:00
Tobias Geerinckx-Rice 916627b484 gnu: btrfs-progs: Update to 4.5.1.
* gnu/packages/linux.scm (btrfs-progs): Update to 4.5.1.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-04-11 19:39:57 -04:00
Leo Famulari 097e012b5a gnu: e2fsprogs: Fix misleading comment.
* gnu/packages/linux.scm (e2fsprogs): Fix misleading comment.
2016-04-11 19:01:38 -04:00
Leo Famulari a94d455f58 gnu: letsencrypt, python-acme: Update to 0.5.0
These packages should be updated together.

* gnu/packages/tls.scm (letsencrypt): Update to 0.5.0.
(python-acme, python2-acme): Update to 0.5.0.
2016-04-11 18:39:55 -04:00
Ricardo Wurmus 6dc6099853 gnu: Add r-bsgenome-dmelanogaster-ucsc-dm3.
* gnu/packages/bioinformatics.scm (r-bsgenome-dmelanogaster-ucsc-dm3):
  New variable.
2016-04-11 15:11:16 +02:00
Ricardo Wurmus 943bd6279f gnu: Add r-bsgenome-celegans-ucsc-ce6.
* gnu/packages/bioinformatics.scm (r-bsgenome-celegans-ucsc-ce6): New
  variable.
2016-04-11 15:11:16 +02:00
Ricardo Wurmus a3e9028770 gnu: Add r-bsgenome-mmusculus-ucsc-mm9.
* gnu/packages/bioinformatics.scm (r-bsgenome-mmusculus-ucsc-mm9): New
  variable.
2016-04-11 15:11:15 +02:00
Ricardo Wurmus ae2462f7dd gnu: Add r-motifrg.
* gnu/packages/bioinformatics.scm (r-motifrg): New variable.
2016-04-11 11:03:27 +02:00
Ricardo Wurmus c90a4baff6 gnu: Add r-bsgenome-hsapiens-ucsc-hg19.
* gnu/packages/bioinformatics.scm (r-bsgenome-hsapiens-ucsc-hg19): New
  variable.
2016-04-11 11:03:27 +02:00
Ricardo Wurmus 936e7d6774 gnu: Add r-seqlogo.
* gnu/packages/bioinformatics.scm (r-seqlogo): New variable.
2016-04-11 11:03:27 +02:00
Leo Famulari ce8eeaf7a4 gnu: borg: Update to 1.0.1.
* gnu/packages/backup.scm (borg): Update to 1.0.1.
2016-04-11 01:38:38 -04:00
Leo Famulari d87fd79953 gnu: vdirsyncer: Update to 0.9.3.
* gnu/packages/dav.scm (vdirsyncer): Update to 0.9.3.
2016-04-10 22:31:32 -04:00
Efraim Flashner 4b47cbfa9a gnu: python-werkzeug: Update to 0.11.5.
* gnu/packages/python.scm (python-werkzeug): Update to 0.11.5.
2016-04-10 23:36:58 +03:00
Efraim Flashner 9ba40f05c8 gnu: python-pytest-localserver: Change inputs.
* gnu/packages/python.scm (python-pytest-localserver)[native-inputs]:
Remove zip.
[proapgated-inputs]: Move python-werkzeug ...
[inputs]: ... to here.
[propagated-inputs]: Move python-pytest, python-requests, python-six ...
[native-inputs]: ... to here.
2016-04-10 22:45:53 +03:00
Efraim Flashner 630d938fbe gnu: python-pytest-cache: Change inputs.
* gnu/packages/python.scm (python-pytest-cache)[propagated-inputs]: Move
python-execnet ...
[inputs]: ... to here. Add python-apipkg, python-py, python-pytest.
2016-04-10 22:38:44 +03:00
Efraim Flashner 584d068f0f gnu: python-execnet: Change inputs.
* gnu/packages/python.scm (python-execnet)[propagated-inputs]: Move
python-apipkg ...
[inputs]: ... to here.
2016-04-10 22:32:39 +03:00
Efraim Flashner b43bab3c2a gnu: python-apipkg: Change inputs.
* gnu/packages/python.scm (python-apipkg)[native-inputs]: Move
python-pytest.
[inputs]: ... to here.
2016-04-10 22:30:19 +03:00
Efraim Flashner fbe9abcce4 gnu: python-pytest-xdist: Change inputs.
* gnu/packages/python.scm (python-pytest-xdist)[native-inputs]: Remove
python-setuptools.
[propagated-inputs]: Move python-execnet, python-py, python-pytest ...
[inputs]: ... to here. Add python-apipkg.
[properties]: Define python2-pytest-xdist.
(python2-pytest-xdist): Build with 'strip-python2-variant'.
[native-inputs]: Add python2-setuptools.
2016-04-10 22:07:45 +03:00
Efraim Flashner 54cd239b35 gnu: python-pytest-runner: Define python2-pytest-runner.
* gnu/packages/python.scm (python-pytest-runner)[properties]: Define
python2-pytest-runner.
[native-inputs]: Remove python-setuptools.
[home-page]: Project has moved to Github.
(python2-pytest-runner)[native-inputs]: Add python2-setuptools.
2016-04-10 21:17:10 +03:00
Efraim Flashner 545f4a1c3c gnu: python-pytest-cov: Update to 2.2.1.
* gnu/packages/python.scm (python-pytest-cov): Update to 2.2.1.
[native-inputs]: Remove python-setuptools. Move python-coverage,
python-pytest ...
[inputs]: ... to here.
[properties]: Define python2-pytest-cov.
(python-pytest-cov): Build with 'strip-python2-variant'.
[inputs]: Add python2-setuptools.
2016-04-10 21:00:42 +03:00
Efraim Flashner eb3d3503f3 gnu: python-parse: Update to 1.6.6.
* gnu/packages/python.scm (python-parse): Update to 1.6.6.
2016-04-10 20:52:04 +03:00
Efraim Flashner ed80839b8c gnu: python-tzlocal: Update to 1.2.2.
* gnu/packages/python.scm (python-tzlocal): Update to 1.2.2.
[native-inputs]: Move python-pytz ...
[inputs]: ... to here.
2016-04-10 20:45:49 +03:00
Efraim Flashner eebf6f01e4 gnu: python-parsedatetime: Update to 2.1.
* gnu/packages/python.scm (parsedatetime): Update to 2.1.
[native-inputs]: Remove python-setuptools, add python-nose, python-pyicu.
[properties]: Define python2-variant.
(python2-parsedatetime): Build with 'strip-python2-variant'.
[native-inputs]: Add python2-setuptools.
2016-04-10 20:07:57 +03:00
Efraim Flashner 394b8060b1 gnu: python-dateutil-2: Update to 2.5.2.
* gnu/packages/python.scm (python-dateutil-2): Update to 2.5.2.
[inputs]: Remove python-setuptools.
[properties]: Define python2-dateutil-2.
(python2-dateutil-2): Build with 'strip-python2-variant'.
[inputs]: Add python2-setuptools.
2016-04-10 19:43:27 +03:00
Efraim Flashner 13f3ff3522 gnu: python-keyring: Update to 8.7.
* gnu/packages/python.scm (python-keyring): Update to 8.7.
[native-inputs]: Remove python-setuptools, python-mock.
[properties]: Define python2-keyring.
(python2-keyring): Build with 'strip-python2-variant'.
[native-inputs]: Add python2-setuptools.
2016-04-10 18:02:32 +03:00
Efraim Flashner fe147c4143 gnu: python-h5py: Update to 2.6.0.
* gnu/packages/python.scm (python-h5py): Update to 2.6.0.
[inputs]: Add python-six.
[native-inputs]: Add python-pkgconfig.
[properties]: Define python2-h5py.
2016-04-10 17:12:31 +03:00
Efraim Flashner 61c9babb6e gnu: python-pytz: Update to 2016.3.
* gnu/packages/python.scm (python-pytz): Update to 2016.3.
2016-04-10 12:43:42 +03:00
Efraim Flashner 3f37db6b0e gnu: python-babel: Update to 2.3.2.
* gnu/packages/python.scm (python-babel): Update to 2.3.2.
2016-04-10 12:21:51 +03:00
Efraim Flashner db5567f753 gnu: python-ccm: Update to 2.1.6.
* gnu/packages/python.scm (python-ccm): Update to 2.1.6.
2016-04-10 12:16:44 +03:00
Efraim Flashner 286f1bac9e gnu: python-httplib2: Update to 0.9.2.
* gnu/packages/python.scm (python-httplib2): Update to 0.9.2.
2016-04-10 12:13:02 +03:00
Efraim Flashner 81b9bbbd57 gnu: python-paramiko: Update to 1.16.0.
* gnu/packages/python.scm (python-paramiko): Update to 1.16.0.
2016-04-10 11:57:11 +03:00
Efraim Flashner 623cd1ab18 gnu: youtube-dl: Update to 2016.04.06.
* gnu/packages/video.scm (youtube-dl): Update to 2016.04.06.
[native-inputs]: Remove python-setuptools.
2016-04-10 11:17:55 +03:00
Efraim Flashner 6a308947b4 gnu: python-requests: Rearrange inputs.
* gnu/packages/python.scm (python-requests)[propagated-inputs]: Move
python-py, python-pytest, python-pytest-cov, python-wheel from here...
[native-inputs]: ... to here.
2016-04-10 10:55:28 +03:00
Efraim Flashner 5b9fe59fbe gnu: livestreamer: Remove extra inputs.
* gnu/packages/video.scm (livestreamer)[native-inputs]: Remove
python-setuptools.
[propagated-inputs]: Remove python-singledispatch.
2016-04-10 10:33:59 +03:00
Efraim Flashner 42aa73b337 gnu: offlineimap: Add sqlite support.
* gnu/packages/mail.scm (offlineimap)[inputs]: Add python2-pysqlite.
[arguments]: Wrap binary with python2-pysqlite's path.
2016-04-10 09:01:00 +03:00
Efraim Flashner 58e87f66ce gnu: icecat: Update to 38.7.1-gnu1.
* gnu/packages/gnuzilla.scm (icecat): Update to 38.7.1-gnu1.
[sources]: Remove numerous patches.
* gnu/packages/patches/icecat-CVE-2015-4477.patch,
gnu/packages/patches/icecat-CVE-2015-7207.patch,
gnu/packages/patches/icecat-CVE-2016-1952-pt01.patch,
gnu/packages/patches/icecat-CVE-2016-1952-pt02.patch,
gnu/packages/patches/icecat-CVE-2016-1952-pt03.patch,
gnu/packages/patches/icecat-CVE-2016-1952-pt04.patch,
gnu/packages/patches/icecat-CVE-2016-1952-pt05.patch,
gnu/packages/patches/icecat-CVE-2016-1952-pt06.patch,
gnu/packages/patches/icecat-CVE-2016-1954.patch,
gnu/packages/patches/icecat-CVE-2016-1960.patch,
gnu/packages/patches/icecat-CVE-2016-1961.patch,
gnu/packages/patches/icecat-CVE-2016-1962.patch,
gnu/packages/patches/icecat-CVE-2016-1964.patch,
gnu/packages/patches/icecat-CVE-2016-1965.patch,
gnu/packages/patches/icecat-CVE-2016-1966.patch,
gnu/packages/patches/icecat-CVE-2016-1974.patch,
gnu/packages/patches/icecat-icecatbug-1248851.patch,
gnu/packages/patches/icecat-update-graphite2.patch,
gnu/packages/patches/icecat-update-graphite2-pt2.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove them.
2016-04-10 08:40:42 +03:00
John Darrington 9c45c51992 gnu: Add c-graph.
* gnu/packages/maths.scm (c-graph): New variable.
2016-04-09 09:16:48 +02:00
Chris Marusich 1c6ae41875 gnu: Add ibus-anthy.
* gnu/packages/ibus.scm (ibus-anthy): New variable.

Co-authored-by: 宋文武 <iyzsong@gmail.com>.
2016-04-09 09:36:29 +08:00
Chris Marusich 4862910d0a gnu: Add anthy.
* gnu/packages/anthy.scm: New file.
* gnu-system.am: Add it.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-04-09 09:34:05 +08:00
Kei Yamashita 2331e5e860 gnu: Add wmclock.
* gnu/packages/gnustep.scm (wmclock): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-04-08 17:50:10 +03:00
McKinley Olsen 1ccc3da8d2 gnu: pcre2: Update to 10.21.
gnu/packages/pcre.scm (pcre2): Update to 10.21.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-04-08 19:28:47 +08:00
Andreas Enge 7d4c6ee878 gnu: singular: Update hash.
* gnu/packages/algebra.scm (singular)[source]: Update upstream hash. See
  http://www.singular.uni-kl.de:8002/trac/ticket/754 .
2016-04-08 11:17:46 +02:00
Mark H Weaver 1a9f5e9ff3 gnu: linux-libre-4.1: Update to 4.1.21.
* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.21.
2016-04-07 21:20:28 -04:00
David Thompson 4da5fe6f88 gnu: redis: Update to 3.0.7.
* gnu/packages/databases.scm (redis): Update to 3.0.7.
2016-04-07 16:44:04 -04:00
Mathieu Lirzin a0c6a36b28 gnu: python-pkgconfig: Add license prefix.
* gnu/packages/python.scm (python-pkgconfig)[license]: Fix prefix.
2016-04-07 20:12:14 +02:00
John Darrington c791efde74 gnu: Add macchanger.
* gnu/packages/networking.scm (macchanger): New variable.
2016-04-07 19:12:28 +02:00
David Thompson c5b5e275a7 gnu: node: Update to 5.10.0.
* gnu/packages/node.scm (node): Update to 5.10.0.
2016-04-07 11:52:02 -04:00
David Thompson 73b8714fb1 gnu: libuv: Update to 1.8.0.
* gnu/packages/libevent.scm (libuv): Update to 1.8.0.
2016-04-07 11:52:02 -04:00
David Thompson fe463dbcf7 environment: container: Work around read-only /etc/resolv.conf issue.
* guix/scripts/environment.scm (launch-environment/container): Mount
/etc/resolv.conf as a writable file.
2016-04-07 11:48:31 -04:00
Efraim Flashner 5eabbc3e90 gnu: abiword: Add epub, goffice support.
* gnu/packages/abiword.scm (abiword.scm)[arguments]: Add "epub" and
"goffice" to "enable-plugins" configure flag.
[inputs]: Add goffice, libchamplain, telepathy-glib.
2016-04-07 11:02:52 +03:00
Andreas Enge 435a0462be gnu: python-cython: Update to 0.24.
* gnu/packages/python.scm (python-cython): Update to 0.24.
2016-04-07 00:45:08 +02:00
Andreas Enge 8e45188525 gnu: Add python-cysignals.
* gnu/packages/python.scm (python-cysignals, python2-cysignals): New
  variables.
2016-04-07 00:45:08 +02:00
Roel Janssen 9e3ba31c53 gnu: Add r-zlibbioc.
* gnu/packages/bioinformatics.scm (r-zlibbioc): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-04-06 17:38:42 -04:00
Roel Janssen b669d9c4c8 gnu: Add r-variantannotation.
* gnu/packages/bioinformatics.scm (r-variantannotation): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-04-06 17:38:42 -04:00
Ludovic Courtès a7681d29dc gnu: pcre: Fix CVE-2016-3191.
* gnu/packages/pcre.scm (pcre)[replacement]: New field.
(pcre-fixed): New variable.
* gnu/packages/patches/pcre-CVE-2016-3191.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2016-04-06 23:27:10 +02:00
Ludovic Courtès a70a50048b doc: Update reproducible-builds.org URL.
* doc/guix.texi (Invoking guix challenge): Update reproducible-builds
URL.
2016-04-06 23:23:56 +02:00
Ludovic Courtès ddbc7f7d81 doc: Use more https URLs.
* doc/guix.texi (Invoking guix challenge): Use https instead of http.
2016-04-06 23:22:49 +02:00
Ludovic Courtès 7cffaeb604 challenge: Really exit with non-zero upon hash mismatch.
Reported by John Darrington.

* guix/scripts/challenge.scm (guix-challenge): Add an explicit 'exit'
call when ISSUES is empty.
* scripts/guix.in: Add comment about 'exit'.
* doc/guix.texi (Invoking guix challenge): Mention the behavior and exit
code.
2016-04-06 23:21:26 +02:00
Ludovic Courtès 7b9a66e519 doc: Update use of old "PACKAGE-VERSION" syntax.
* doc/guix.texi (Invoking guix edit): Use the @ syntax for versions.
2016-04-06 23:16:02 +02:00
Efraim Flashner 0ea4079f34 gnu: abiword: Update to 3.0.1.
* gnu/packages/abiword.scm (abiword): Update to 3.0.1.
[source]: Remove 4 patches.
[arguments]: Disable tests.
[inputs]: Add libxslt, replace gtk+-2 with gtk+.
[native-inputs]: Add libtool.
* gnu/packages/patches/abiword-link-plugins-against-backend.patch,
gnu/packages/patches/abiword-no-include-glib-internal-headers.patch,
gnu/packages/patches/abiword-pass-no-undefined-to-linker.patch,
gnu/packages/patches/abiword-use-proper-png-api.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove them.
2016-04-06 23:15:59 +03:00
Leo Famulari 17946534a4 gnu: hexchat: Update to 2.12.0.
* gnu/packages/messaging.scm (hexchat): Update to 2.12.0.
2016-04-06 16:11:57 -04:00
Kei Yamashita bd688698b6 gnu: Add wmcpuload.
* gnu/packages/gnustep.scm (wmcpuload): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-04-06 14:51:27 -04:00
Andreas Enge 4323a5f0fd gnu: Add python-pkgconfig.
* gnu/packages/python.scm (python-pkgconfig, python2-pkgconfig): New
  variables.
2016-04-06 20:10:41 +02:00
Roel Janssen 4971d5d072 gnu: Add progress.
* gnu/packages/admin.scm (progress): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-04-06 09:16:50 +03:00
Kei Yamashita 7407f7fef6 gnu: Add wmnd.
* gnu/packages/gnustep.scm (wmnd): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-04-06 09:05:37 +03:00
Andreas Enge aae03c484f gnu: Add singular.
* gnu/packages/algebra.scm (singular): New variable.
2016-04-06 01:28:03 +02:00
Tobias Geerinckx-Rice 998afc3608 gnu: Add iodine.
* gnu/packages/networking.scm (iodine): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-04-05 23:24:34 +02:00
Andreas Enge 53696f10c1 gnu: Add cddlib.
* gnu/packages/maths.scm (cddlib): New variable.
2016-04-05 19:22:36 +02:00
Andreas Enge b146763a86 gnu: Add 4ti2.
* gnu/packages/maths.scm (4ti2): New variable.
2016-04-05 18:48:02 +02:00
Andreas Enge 14e6520e2b gnu: Add NTL.
* gnu/packages/algebra.scm (ntl): New variable.
2016-04-05 17:43:50 +02:00
Efraim Flashner 588ad54ed3 gnu: mercurial: Update to 3.7.3 [fixes CVE-2016-{3068,3069,3630}].
* gnu/packages/version-control.scm (mercurial): Update to 3.7.3.
2016-04-05 17:31:34 +03:00
Efraim Flashner 877889f3ca gnu: python-futures: Remove variable.
* gnu/packages/python.scm (python-futures): Remove it.
2016-04-05 15:02:30 +03:00
Efraim Flashner f71d1a08a1 gnu: git-annex-remote-hubic: Change to python2.
* gnu/packages/version-control.scm (git-annex-remote-hubic)
[arguments]: Build with python2.
2016-04-05 15:02:30 +03:00
Kei Yamashita f9ab1da0fa gnu: Add wmbattery.
* gnu/packages/gnustep.scm (wmbattery): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-04-05 11:32:09 +03:00
Roel Janssen 9b36e25607 gnu: vcftools: Update to 0.1.14.
* gnu/packages/bioinformatics.scm (vcftools): Update to 0.1.14.
[arguments]: Do not modify phases as it is not needed anymore.
[native-inputs]: Add 'pkg-config'.
[home-page]: Update to new location.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-04-05 11:29:32 +03:00
Efraim Flashner 17130e3919 gnu: mutt: Update to 1.6.0.
* gnu/packages/mail.scm (mutt): Update to 1.6.0.
2016-04-05 11:28:39 +03:00
Efraim Flashner 7a93feb874 gnu: vim: Use 'modify-phases'.
* gnu/packages/vim.scm (vim)[arguments]: Use 'modify-phases' syntax.
2016-04-05 10:03:07 +03:00
Leo Famulari c613a21ba6 gnu: mpd: Update to 0.19.14.
* gnu/packages/mpd.scm (mpd): Update to 0.19.14.
2016-04-05 00:34:52 -04:00
Mark H Weaver 37b2dba1cc gnu: libextractor: Improve ffmpeg-3 patch.
* gnu/packages/patches/libextractor-ffmpeg-3.patch: Add additional
fixes and harmonize with patches in upstream repository.
2016-04-04 23:49:48 -04:00
Mark H Weaver fd7fd3c167 gnu: libextractor: Add patch to fix build with ffmpeg-3.
* gnu/packages/patches/libextractor-ffmpeg-3.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gnunet.scm (libextractor)[source]: Add patch.
2016-04-04 22:55:52 -04:00
Ludovic Courtès ae05e366be system: Define 'GTK_DATA_PREFIX' globally.
Fixes <http://bugs.gnu.org/23200>.
Reported by Chris Marusich <cmmarusich@gmail.com>.

* gnu/system.scm (operating-system-environment-variables): Add
'GTK_DATA_PREFIX'.
2016-04-04 23:45:57 +02:00
Ludovic Courtès e314ce1bd7 CoC: Clarify which project we're talking about.
* CODE-OF-CONDUCT: Define "project" and "project maintainer" as
suggested by rms.
2016-04-04 23:45:57 +02:00
Raymond Nicholson e71b20e5b5 gnu: mplayer: Update to 1.3.0.
* gnu/packages/video.scm (mplayer): Update to 1.3.0.
2016-04-04 16:33:23 -04:00
Raymond Nicholson 2a972b2fdf gnu: gst-libav: Update to 1.8.0.
* gnu/packages/ffmpeg.scm (gst-libav): Update to 1.8.0.
2016-04-04 16:27:04 -04:00
Efraim Flashner 49c90efb66 gnu: global: Update to 6.5.4.
* gnu/packages/code.scm (global): Update to 6.5.4.
2016-04-04 23:05:30 +03:00
Mark H Weaver 4c95bbba78 gnu: network-manager: Update to 1.0.12.
* gnu/packages/gnome.scm (network-manager): Update to 1.0.12.
2016-04-04 15:14:56 -04:00
Efraim Flashner 5c4d98ab50 gnu: scheme48: Update to 1.9.2.
* gnu/packages/scheme.scm (scheme48): Update to 1.9.2.
2016-04-04 22:01:40 +03:00
Alex Kost 183f42f90f emacs: Speed up starting the REPL.
Delay initializing variables.

* emacs/guix-main.scm: (%packages): Rename to...
(%package-vhash): ... this.  Delay setting the value.
(package-vhash): New procedure (wrapper for '%package-vhash').
(%package-table): Delay setting the value.
(package-table): New procedure (wrapper for '%package-table').
(package-by-address, packages-by-name+version): Use wrappers.
2016-04-04 20:11:22 +03:00
Alex Kost 619ff9066d emacs: Use (guix scripts lint) only when needed.
* emacs/guix-main.scm: Do not use (guix scripts pull) module.
(lint-checker-names): Adjust to use it.
2016-04-04 20:11:22 +03:00
Alex Kost 7d0978f56f emacs: Remove unused module.
This is a followup to commit c67e344f21.

* emacs/guix-main.scm: Do not use (guix scripts pull).
2016-04-04 20:11:22 +03:00
Alex Kost f1f09937a6 emacs: Stylistic improvements in guile code.
* emacs/guix-main.scm (package-unique?): Use 'match' instead of 'cdr'.
(package-by-address): Likewise.
2016-04-04 20:11:22 +03:00
Alex Kost 5f2928456b emacs: Use 'build-and-use-profile' from (guix scripts package).
* guix/scripts/package.scm: Export 'build-and-use-profile'.
* emacs/guix-main.scm (process-package-actions): Use it.
2016-04-04 20:11:22 +03:00
Leo Famulari 2fc629ddc4 gnu: python-pyopenssl: Update to 16.0.0.
* gnu/packages/python.scm (python-pyopenssl, python2-pyopenssl): Update to
16.0.0.
[arguments]: Remove field.
2016-04-04 12:32:59 -04:00
Leo Famulari 4f363e73f8 gnu: python-cryptography, python-cryptography-vectors: Update to 1.3.1.
These packages should be udpated together.

* gnu/packages/python.scm (python-cryptography): Update to 1.3.1.
(python-cryptogprahy-vectors): Update to 1.3.1.
2016-04-04 12:32:59 -04:00
Leo Famulari 61a4332d9e gnu: python-pytest: Update to 2.7.3.
* gnu/packages/python.scm (python-pytest, python2-pytest): Update to 2.7.3.
2016-04-04 12:32:59 -04:00
Efraim Flashner 560c07954c gnu: i3-wm: Update to 4.12.
* gnu/packages/wm.scm (13-wm): Update to 4.12.
2016-04-04 10:24:31 +03:00
John Darrington 0b65f1a013 gnu: Move pspp from maths.scm to statistics.scm
* gnu/packages/maths.scm (pspp): Deleted.
* gnu/packages/statistics.scm (pspp): New variable.
2016-04-04 07:15:14 +02:00
Efraim Flashner 16736e0234 gnu: irssi: Update to 0.8.19.
* gnu/packages/irc.scm (irssi): Update to 0.8.19.
2016-04-04 07:24:31 +03:00
Efraim Flashner 6c277c8999 gnu: libpsl: Update to 0.13.0.
* gnu/packages/web.scm (libpsl): Update to 0.13.0.
[arguments]: Remove bootstrap phase.
[inputs]: Add python-2.
[native-inputs]: Remove autoconf, automake, gettext, which, libtool,
pkg-config.
2016-04-03 23:35:29 +03:00
Leo Famulari 8d9ac92622 gnu: libsrtp: Update to 1.5.4 [fixes CVE-2015-6360].
* gnu/packages/telephony.scm (libsrtp): Update to 1.5.4.
2016-04-03 14:05:12 -04:00
Jochem Raat 0f3449fe3c gnu: check: Update home page URL.
* gnu/packages/check.scm (check)[home-page]: Update to new location.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-04-03 20:16:10 +03:00
Alex Kost 000bc04d52 gnu: magit: Update to 2.6.0.
* gnu/packages/emacs.scm (magit): Update to 2.6.0.
2016-04-03 20:15:33 +03:00
rain1 c5e1fcd0ae gnu: ffmpeg: Update to 3.0.0.
* gnu/packages/video.scm (ffmpeg): Update to 3.0.0.
[inputs]: Remove libquvi.
[arguments]: Remove '--enable-libquvi" configure flag, rename mipsdspri1
flag to mipsdsp.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-04-03 19:39:40 +03:00
Mathieu Lirzin 3cf0dbda97 build: Distribute 'build-aux/test-driver.scm'.
* Makefile.am (EXTRA_DIST): Add 'build-aux/test-driver.scm'.
2016-04-03 16:25:07 +02:00
Mathieu Lirzin a9edb211e7 build: Add a Guile custom test driver using SRFI-64.
Before that '.log' files for scheme tests were fragmented and not
included in test-suite.log.  This unifies the semantics of SRFI-64 API
with Automake test suite.

* build-aux/test-driver.scm: New file.
* Makefile.am (SCM_LOG_DRIVER, AM_SCM_LOG_DRIVER_FLAGS): New variables.
(SCM_LOG_COMPILER, AM_SCM_LOG_FLAGS): Delete variables.
(AM_TESTS_ENVIRONMENT): Set GUILE_AUTO_COMPILE to 0.
* test-env.in: Silence guix-daemon.
* doc/guix.texi (Running the Test Suite): Describe how to display the
detailed results.  Bug reports require only 'test-suite.log' file.
* tests/base32.scm, tests/build-utils.scm, tests/builders.scm,
tests/challenge.scm, tests/cpan.scm, tests/cpio.scm, tests/cran.scm,
tests/cve.scm, tests/derivations.scm, tests/elpa.scm,
tests/file-systems.scm, tests/gem.scm, tests/gexp.scm,
tests/gnu-maintenance.scm, tests/grafts.scm, tests/graph.scm,
tests/gremlin.scm, tests/hackage.scm, tests/hash.scm,
tests/import-utils.scm, tests/lint.scm, tests/monads.scm, tests/nar.scm,
tests/packages.scm, tests/pk-crypto.scm, tests/pki.scm,
tests/profiles.scm, tests/publish.scm, tests/pypi.scm,
tests/records.scm, tests/scripts-build.scm, tests/scripts.scm,
tests/services.scm, tests/sets.scm, tests/size.scm, tests/snix.scm,
tests/store.scm, tests/substitute.scm, tests/syscalls.scm,
tests/system.scm, tests/ui.scm, tests/union.scm, tests/upstream.scm,
tests/utils.scm: Don't exit at the end of test groups.
* tests/containers.scm: Likewise.  Use 'test-skip' instead of exiting
with error code 77.
2016-04-03 14:19:09 +02:00
Ben Woodcroft e25f017422 gnu: Remove duplicate python-pbr.
This is a follow-up to commit 1ef09c0c75.

* gnu/packages/openstack.scm (python-pbr, python2-pbr): Move from here ...
* gnu/packages/python.scm: ... to here.
(python-pbr, python2-pbr): Delete duplicate packages.
2016-04-03 21:09:17 +10:00
Ben Woodcroft 692add53bc gnu: python-lockfile: Update to 0.12.2.
* gnu/packages/python.scm (python-lockfile): Update to 0.12.2.
[native-inputs]: Add python-pbr.
(python2-lockfile): Update to 0.12.2.
[native-inputs]: Add python2-setuptools, python2-pbr.
2016-04-03 16:08:11 +10:00
Ben Woodcroft 1804527ab0 gnu: python-lockfile Use 'python2-variant'.
* gnu/packages/python.scm (python-lockfile): Use 'python2-variant'.
[properties]: New field.
(python2-lockfile): Use 'strip-python2-variant'.
2016-04-03 16:08:11 +10:00
Ben Woodcroft 1ef09c0c75 gnu: Add python-pbr.
* gnu/packages/python.scm (python-pbr, python2-pbr): New variables.
2016-04-03 16:08:11 +10:00
Ben Woodcroft 78c0d323e9 gnu: python-pandas: Update to 0.18.0.
* gnu/packages/python.scm (python-pandas, python2-pandas): Update to 0.18.0.
[arguments]: Enable tests.
2016-04-03 16:08:11 +10:00
Efraim Flashner fd7575d479 gnu: pspp: Update to 0.10.1.
* gnu/packages/maths.scm (pspp): Update to 0.10.1.
2016-04-03 08:47:35 +03:00
Efraim Flashner e94616b996 gnu: iso-codes: Update to 3.67.
* gnu/packages/iso-codes.scm (iso-codes): Update to 3.67.
[inputs]: Replace python-2 with python-wrapper.
[home-page]: Use https.
2016-04-03 07:43:41 +03:00
Ludovic Courtès 0736643424 gnu: transmission: Move '.desktop' file to the "gui" output.
Fixes <http://bugs.gnu.org/23066>.
Reported by Danny Milosavljevic <dannym@scratchpost.org>.

* gnu/packages/bittorrent.scm (transmission)[arguments]: In 'move-gui',
move 'share/applications' to the 'gui' output.
2016-04-02 22:40:18 +02:00
Ludovic Courtès 8463d1345e graph: Edges are colored based on their source node.
* guix/graph.scm (%colors): New variable.
(pop-color): New procedure.
(emit-edge): Use it.
2016-04-02 22:40:18 +02:00
Efraim Flashner 451c1436a3 gnu: mc: Update to 4.8.16.
* gnu/packages/mc.scm (mc): Update to 4.8.16.
[source]: Remove patch.
* gnu/packages/patches/mc-fix-ncurses-build.patch: Remove.
* gnu-system.am (dist_patch_DATA): Remove it.
2016-04-02 23:39:32 +03:00
Efraim Flashner 57818b6e3c gnu: gnucash: Update to 2.6.12.
* gnu/packages/gnucash.scm (gnucash): Update to 2.6.12.
[home-page]: Update to new homepage.
2016-04-02 22:10:29 +03:00
Ben Woodcroft a754eaf16d gnu: ruby-2.1: Update to 2.1.10.
* gnu/packages/ruby.scm (ruby-2.1): Update to 2.1.10.
2016-04-02 09:16:17 +10:00
Efraim Flashner f04433773d gnu: glpk: Update to 4.60.
* gnu/packages/maths.scm (glpk): Update to 4.60.
2016-04-01 16:52:54 +03:00
Ludovic Courtès 915363a3e2 gnu: wicd: Add template for WPA2-TTLS.
* gnu/packages/patches/wicd-wpa2-ttls.patch: New file.
* gnu/packages/wicd.scm (wicd)[source]: Add it.
* gnu-system.am (dist_patch_DATA): Add it.
2016-04-01 13:59:58 +02:00
Ludovic Courtès f5480572d0 gnu: wicd: Update to 1.7.4.
* gnu/packages/wicd.scm (wicd): Update to 1.7.4.
[source]: Remove 'wicd-template-instantiation.patch'.
* gnu/packages/patches/wicd-template-instantiation.patch: Remove.
* gnu-system.am (dist_patch_DATA): Remove it.
2016-04-01 13:59:58 +02:00
Efraim Flashner dbeaf8f203 gnu: postgresql: Update to 9.5.2. [fixes CVE-2016-2193, CVE-2016-3065]
* gnu/packages/databases.scm (postgresql): Update to 9.5.2.
2016-04-01 13:57:21 +03:00
Ricardo Wurmus 6499b70ebf gnu: Add r-ztable.
* gnu/packages/statistics.scm (r-ztable): New variable.
2016-04-01 11:46:19 +02:00
Jelle Licht ec67294611 gnu: Add jq.
* gnu/packages/web.scm: (jq): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-04-01 11:56:30 +03:00
Jelle Licht 2d8cf0b3e7 gnu: Add oniguruma.
* gnu/packages/textutils.scm (oniguruma): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-04-01 11:38:06 +03:00
alírio eyng 52af45adeb gnu: fontforge: Build fonts bit-reproducibly.
* gnu/packages/fontutils.scm (fontforge)[source](snippet): Modify
tottf.c.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-04-01 00:05:42 +02:00
Jan Nieuwenhuizen 2cdeecbe4d gnu: move miscfiles into gnu-doc.scm
* gnu/packages/miscfiles.scm: Remove file.
* gnu-sytem.am: Remove it.
* gnu/packages/gnu-doc.scm (miscfiles): Move here.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-04-01 00:05:42 +02:00
Jan Nieuwenhuizen ec0730cb67 gnu: Add gnu-standards.
* gnu/packages/gnu-doc.scm: New file.
* gnu-system.am: Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-04-01 00:05:42 +02:00
Ludovic Courtès f4033fb5da cvs: Disable compression.
Reported by Jan Nieuwenhuizen <janneke@gnu.org>.

* guix/build/cvs.scm (cvs-fetch): Use -z0.
2016-04-01 00:05:42 +02:00
Jan Nieuwenhuizen ab83105bbe cvs: Allow checkouts when /tmp is a different device.
* guix/build/cvs.scm (cvs-fetch): Use 'copy-recursively' instead of
'rename-file'.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-04-01 00:05:42 +02:00
alírio eyng 47268eec13 gnu: font-gnu-freefont-ttf: Update to 20120503 and build from source.
* gnu/packages/fonts.scm (font-gnu-freefont-ttf): Update to 20120503.
[arguments]: Build from source.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-04-01 00:05:42 +02:00
Ludovic Courtès 97425486ee profiles: Use the right 'package-name->name+version'.
* guix/profiles.scm: Use 'package-name->name+version' from (guix build
utils).  Fixes 'find-among-store-items' in 'gtk-icon-themes'.
2016-04-01 00:05:42 +02:00
Efraim Flashner b5afe6f031 gnu: gnupg-2.0: Update to 2.0.30.
* gnu/packages/gnupg.scm (gnupg-2.0): Update to 2.0.30.
2016-03-31 21:14:25 +03:00
Ricardo Wurmus 9941e0812e ant-build-system: Keep jar manifest.
* guix/build/ant-build-system.scm (default-build.xml): Generate default
manifest.
(strip-jar-timestamps): Repack jar archive with zip.
2016-03-31 15:47:39 +02:00
Ricardo Wurmus ab50bba9f6 build-system/ant: Add zip.
* guix/build-system/ant.scm (default-zip): New variable.
(lower): Add zip to native inputs.
2016-03-31 15:47:32 +02:00
Ricardo Wurmus cb6ce89e21 build-system/r: Support "substitutable?" flag.
* guix/build-system/r.scm (r-build): Support the "substitutable?" flag.
2016-03-31 15:47:19 +02:00
Taylan Ulrich Bayırlı/Kammer d0457553d5 gnu: Add nmap.
* gnu/packages/admin.scm (nmap): New variable.

Co-authored-by: Leo Famulari <leo@famulari.name>
2016-03-31 02:08:56 -04:00
Leo Famulari dcd19c0af8 licenses: Add the nmap license.
* guix/licenses.scm (nmap): New variable.
2016-03-31 01:40:30 -04:00
Eric Bavier 42efe27a30 import: Add Hackage updater.
* guix/import/hackage.scm (guix-package->hackage-name, hackage-package?)
  (latest-release): New procedures.
  (%hackage-updater): New variable.
* guix/scripts/refresh.scm (%updaters): Add it.
* doc/guix.texi (Invoking guix refresh): Mention it.
2016-03-30 23:19:24 -05:00
Eric Bavier 2ae9c63f15 import: hackage: Silence download output.
* guix/import/hackage.scm (hackage-fetch): Use http-fetch to avoid
  progress output from url-fetch.
2016-03-30 23:19:24 -05:00
Eric Bavier f9ea74ad04 import: hackage: Factorize url synthesis.
* guix/import/hackage.scm (hackage-source-url, hackage-cabal-url): New
  procedures.
  (hackage-fetch, hackage-module->sexp): Use them.
2016-03-30 23:19:24 -05:00
Roel Janssen 4827b36d1f doc: Small fixes for typos and missing words.
* doc/guix.texi (The Store Monad): Add a dot at the end of a sentence.
  (The Store Monad): Add "are" to make a complete sentence.
  (G-Expressions): Fix typo.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-03-30 23:39:47 +02:00
Chris Marusich 8a46205b41 doc: Clarify how to use the '#:python' parameter.
* doc/guix.texi (Build Systems): Clearly distinguish between the package that
provides the Python interpreter for the build and the package that is to be
built.  Also, mention why one might want to use a specific Python version.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-03-30 23:39:47 +02:00
Chris Marusich 12af303f47 gnu: Add python2-s3cmd.
* gnu/packages/python.scm (python2-s3cmd): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-03-30 23:39:47 +02:00
Chris Marusich daeeea7154 gnu: Add python-magic.
* gnu/packages/python.scm (python-magic, python2-magic): New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-03-30 23:39:47 +02:00
Ludovic Courtès 3bd9672c85 ui: Add comment on the translation of "current".
* guix/ui.scm (display-generation): Add "TRANSLATORS" comment.
2016-03-30 23:39:47 +02:00
Ludovic Courtès d006e307b9 doc: Fix URL of gnutls-guile one-page-per-node manual.
* doc/htmlxref.cnf: Fix gnutls-guile 'node' URL.
2016-03-30 23:39:47 +02:00
Kei Yamashita 21d1811301 gnu: Add MilkyTracker.
* gnu/packages/music.scm (milkytracker): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-03-30 23:45:44 +03:00
Efraim Flashner ddb8312911 gnu: python2-pbcore: Update to 1.2.8.
* gnu/packages/bioinformatics.scm (python2-pbcore): Update to 1.2.8.
[native-inputs]: Add python2-docutils, python2-nose, python2-sphinx.
2016-03-30 22:45:35 +03:00
rain1 96e9f097ee gnu: linux-libre: Avoid introducing timestamps into the build.
* gnu/packages/linux.scm (linux-libre)[build-phase]: Set the
KCONFIG_NOTIMESTAMP and KBUILD_BUILD_TIMESTAMP environment variables to
avoid introducing timestamps into the build outputs.
2016-03-30 15:22:04 -04:00
David Thompson aa2a0d4bb8 environment: Set a default value for PS1.
* guix/scripts/environment.scm (launch-environment/container): Set PS1
  during container initialization.
2016-03-30 09:09:40 -04:00
Efraim Flashner 8caf80fcf4 gnu: libcue: Fix source url.
* gnu/packages/cdrom.scm (libcue)[source]: Fix url.
[home-page]: Project has moved to Github.
2016-03-30 13:39:42 +03:00
Roel Janssen fa9f0e6c25 gnu: r-devtools: Update to 1.10.0.
* gnu/packages/statistics.scm (r-devtools): Update to 1.10.0.
   (r-devtools)[propagated-inputs]: Add r-withr.
2016-03-30 12:02:40 +02:00
Roel Janssen a080e50c15 gnu: Add r-withr.
* gnu/packages/statistics.scm (r-withr): New variable.
2016-03-30 12:02:28 +02:00
Ricardo Wurmus f315f4fcab gnu: r-genomation: Update to 1.2.2.
* gnu/packages/bioinformatics.scm (r-genomation): Update to 1.2.2.
2016-03-30 11:59:16 +02:00
Ricardo Wurmus 571f0b63d5 gnu: r-genomicfeatures: Update to 1.22.13.
* gnu/packages/bioinformatics.scm (r-genomicfeatures): Update to
  1.22.13.
2016-03-30 11:59:16 +02:00
Ricardo Wurmus ffaf72ad96 gnu: r-rtracklayer: Update to 1.30.4.
* gnu/packages/bioinformatics.scm (r-rtracklayer): Update to 1.30.4.
2016-03-30 11:59:15 +02:00
Ricardo Wurmus ac2d8b0fb8 gnu: r-genomicalignments: Update to 1.6.3.
* gnu/packages/bioinformatics.scm (r-genomicalignments): Update to
  1.6.3.
2016-03-30 11:59:15 +02:00
Ricardo Wurmus 7eade1c5f9 gnu: r-summarizedexperiment: Update to 1.0.2.
* gnu/packages/bioinformatics.scm (r-summarizedexperiment): Update to
  1.0.2.
2016-03-30 11:59:15 +02:00
Ricardo Wurmus 53fd0f5e1d gnu: r-biostrings: Update to 2.38.4.
* gnu/packages/bioinformatics.scm (r-biostrings): Update to 2.38.4.
2016-03-30 11:59:15 +02:00
Ricardo Wurmus 5fe3115415 gnu: r-genomicranges: Update to 1.22.4.
* gnu/packages/bioinformatics.scm (r-genomicranges): Update to 1.22.4.
2016-03-30 11:59:15 +02:00
Ricardo Wurmus 9cc22d28d8 gnu: r-genomeinfodb: Update to 1.6.3.
* gnu/packages/bioinformatics.scm (r-genomeinfodb): Update to 1.6.3.
2016-03-30 11:59:15 +02:00
Efraim Flashner 48fa9312ab gnu: libpaper: Update source url.
Reported by shanemikel_ on irc.

* gnu/packages/ghostscript.scm (libpaper)[source]: Update source url to
download from Fedora.
[home-page]: Use https.
2016-03-30 10:49:03 +03:00
Ludovic Courtès 61cdad351d gnu: guix: Ignore the user's 'GUILE_LOAD_COMPILED_PATH'.
Reported by <rain1@openmailbox.org>.

* gnu/packages/package-management.scm (guix-0.10.0)[arguments]: Use '=
instead of 'prefix in call to 'wrap-program'.
2016-03-29 22:13:20 +02:00
Rene Saavedra 3a9a4c51e8 gnu: Add libzapojit.
* gnu/packages/gnome.scm (libzapojit): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-03-29 22:13:20 +02:00
Leo Famulari b7fbf297c8 gnu: khal: Disable failing tests.
* gnu/packages/calendar.scm (khal)[arguments]: Disable failing tests in
'disable-tests' phase.
2016-03-29 15:35:00 -04:00
Efraim Flashner d1ceedf8b1 gnu: gst-plugins-good: Update to 1.8.0.
* gnu/packages/gstreamer.scm (gst-plugins-good): Update to 1.8.0.
[home-page]: Use https.
[arguments]: Disable tests that fail non-deterministically.
2016-03-29 21:34:52 +03:00
Efraim Flashner 40dad30c5e gnu: gst-plugins-ugly: Update to 1.8.0.
* gnu/packages/gstreamer.scm (gst-plugins-ugly): Update to 1.8.0.
[home-page]: Use https.
2016-03-29 21:34:52 +03:00
Efraim Flashner d2b5dec5b0 gnu: python-gst: Update to 1.8.0.
* gnu/packages/gstreamer.scm (python-gst, python2-gst): Update to 1.8.0.
[home-page]: Use https.
2016-03-29 21:34:52 +03:00
Efraim Flashner 70e863e53e gnu: gst-plugins-base: Update to 1.8.0.
* gnu/packages/gstreamer.scm (gst-plugins-base): Update to 1.8.0.
[home-page]: Use https.
2016-03-29 21:34:52 +03:00
Efraim Flashner ab0a56201d gnu: gstreamer: Update to 1.8.0.
* gnu/packages/gstreamer.scm (gstreamer): Update to 1.8.0.
2016-03-29 21:34:52 +03:00
Ludovic Courtès 50ebd439c7 Merge branch 'version-0.10.0' 2016-03-29 16:13:41 +02:00
Ludovic Courtès f98b48dc51 gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to 7611393.
(guix): Set to GUIX-DEVEL.
2016-03-29 09:35:22 +02:00
宋文武 67c2fc01a0 gnu: Add uwsgi.
* gnu/packages/web.scm (uwsgi): New variable.
2016-03-29 11:50:24 +08:00
宋文武 7ad1fee52e gnu: Add cgit.
* gnu/packages/version-control.scm (cgit): New variable.
2016-03-29 11:50:24 +08:00
Ludovic Courtès 7611393547 gnu: guix: Default to 0.10.0.
This updates 58f0aae.

* gnu/packages/package-management.scm (guix): Set to GUIX-0.10.0.
2016-03-28 23:54:48 +02:00
Ludovic Courtès 58f0aae5cb gnu: guix: Update to 0.10.0.
* gnu/packages/package-management.scm (guix-0.8.3): Rename to...
(guix-0.10.0): ... this.  Adjust users.
(guix): Set to GUIX-0.10.0.
2016-03-28 23:38:00 +02:00
Ludovic Courtès 34bf416e4a Update NEWS. 2016-03-28 22:51:18 +02:00
Ludovic Courtès 7f949db03e guix system: Warn against missing 'guix pull'.
Suggested by Leo Famulari and others.

* guix/scripts/system.scm (maybe-suggest-running-guix-pull): New
procedure.
(perform-action): Call it when ACTION is 'reconfigure.
2016-03-28 22:50:25 +02:00
Ludovic Courtès e2f41133e9 doc: We have even more than 3,000 packages.
Suggested by Chris Marusich <cmmarusich@gmail.com>.

* doc/guix.texi (Limitations): Increase package count.
2016-03-28 22:25:42 +02:00
Ludovic Courtès d70533cbe9 store: Prepend mirror.hydra.gnu.org to %DEFAULT-SUBSTITUTE-URLS.
This allows GuixSD to default to the right list of URLs, with
mirror.hydra.gnu.org coming first.

Reported by Chris Marusich <cmmarusich@gmail.com>.

* guix/store.scm (%default-substitute-urls): Prepend
"mirror.hydra.gnu.org."
2016-03-28 22:25:42 +02:00
Ludovic Courtès efa77c6c92 doc: Explain why the config file should be stored on the target.
Suggested by Chris Marusich <cmmarusich@gmail.com>.

* doc/guix.texi (Proceeding with the Installation): Explain why the
config file should be on the target file system.
2016-03-28 22:25:42 +02:00
Ludovic Courtès 15650ac2a0 doc: Suggest 'dhclient -v'.
Suggested by Chris Marusich <cmmarusich@gmail.com>.

* doc/guix.texi (Preparing for Installation): Add "-v" for dhclient.
2016-03-28 22:25:42 +02:00
Ludovic Courtès 9c18cf9bca doc: Suggest running "info info" during system installation.
Based on a suggestion by Chris Marusich <cmmarusich@gmail.com>.

* doc/guix.texi (System Installation): Suggest running "info info".
2016-03-28 22:25:42 +02:00
Ludovic Courtès b397c0d58a doc: Clarify 'cow-store'.
Suggested by Chris Marusich <cmmarusich@gmail.com>.

* doc/guix.texi (Proceeding with the Installation): Clarify what
'cow-store' is about.
2016-03-28 22:25:42 +02:00
Ludovic Courtès ff925d37e0 doc: Make it clear that networking is needed for GuixSD installation.
Suggested by Jan Nieuwenhuizen <janneke@gnu.org>.

* doc/guix.texi (Preparing for Installation): Make it clear that
networking is required.
2016-03-28 22:25:42 +02:00
Ludovic Courtès 09866b3962 doc: Augment documentation about security updates.
* doc/guix.texi (Security Updates): Add paragraph on the big picture of
security updates.  Cross-reference 'guix lint'.
(Invoking guix lint): Add CVE URLs.
2016-03-28 22:25:42 +02:00
Ludovic Courtès c3cfb7e330 nls: Update 'da' translation. 2016-03-28 22:25:42 +02:00
Ricardo Wurmus e0b90dbf65 gnu: qtractor: Update to 0.7.5.
* gnu/packages/music.scm (qtractor): Update to 0.7.5.
2016-03-28 09:52:16 +02:00
Leo Famulari 36c2c8c826 gnu: beets: Run tests with python-nose.
* gnu/packages/music.scm (nose)[native-inputs]: Add python-nose.
[arguments]: Replace 'check' and use python-nose.
2016-03-27 18:24:19 -04:00
David Thompson 13bc8d5e4f environment: Properly handle SIGINT.
Switching to execlp means that the process spawned in a container is PID
1, which obsoleted one of the 'guix environment --container' tests
because the init process can't be killed in the usual manner.

* guix/scripts/environment.scm (launch-environment/fork): New procedure.
(launch-environment): Switch from system* to execlp.  Add handler for
SIGINT.
(guix-environment): Use launch-environment/fork.
* tests/guix-environment-container.sh: Replace abnormal exit test with
one that works now that the spawned process is PID 1.
2016-03-27 15:09:21 -04:00
Ludovic Courtès c8786834ef Update 'NEWS'. 2016-03-27 19:23:26 +02:00
Leo Famulari d3e3468fb8 gnu: python-pyechonest: Clean up description.
* gnu/packages/music.scm (pyechonest)[description]: Remove "open source" from
the description.
2016-03-26 17:25:13 -04:00
Efraim Flashner e12f047f75 gnu: pspp: Update to 0.10.0.
* gnu/packages/maths.scm (pspp): Update to 0.10.0.
[inputs]: Switch gtk+-2 to gtk+, gtksourceview-2 to gtksourceview.
2016-03-26 22:39:29 +03:00
David Thompson 8d50632373 gnu: sdl2-ttf: Update to 2.0.14.
* gnu/packages/sdl.scm (sdl2-ttf): Update to 2.0.14 and remove bundled
  libraries from source tarball.
2016-03-26 13:35:06 -04:00
David Thompson 64ee72e124 gnu: sdl2-image: Update to 2.0.1.
* gnu/packages/sdl.scm (sdl2-image): Update to 2.0.1.
2016-03-26 13:35:06 -04:00
David Thompson efd75ade17 gnu: sdl2-mixer: Update to 2.0.1.
* gnu/packages/sdl.scm (sdl2-mixer): Update to 2.0.1 and remove bundled
  libraries in source tarball.
2016-03-26 13:35:06 -04:00
David Thompson a313e0850c gnu: sdl-mixer: Add ModPlug support.
* gnu/packages/sdl.scm (sdl-mixer)[inputs]: Add libmodplug.
2016-03-26 13:35:06 -04:00
David Thompson 4c0e59d1a8 gnu: sdl2: Update to 2.0.4.
* gnu/packages/sdl.scm (sdl2): Update to 2.0.4.
2016-03-26 13:35:06 -04:00
Mark H Weaver 641d05188d doc: Fix typo: "wpa_supplication" --> "wpa_supplicant".
* doc/guix.texi (Preparing for Installation): Fix typo.
2016-03-26 13:15:11 -04:00
David Thompson 7c776ddcc0 gnu: crossguid: Set explicit file name for source checkout.
* gnu/packages/kodi.scm (crossguid)[source]: Set explicit file-name to
  satisfy linter.
2016-03-26 09:52:28 -04:00
David Thompson a01ad63893 environment: container: Create dummy home directory and /etc/passwd.
* guix/scripts/environment.scm (launch-environment/container): Change
$HOME to the current user's home directory instead of
/homeless-shelter.  Create a dummy /etc/passwd with a single entry for
the current user.
* doc/guix.texi ("invoking guix environment"): Add a note about the
dummy home directory and /etc/passwd.
2016-03-26 09:38:27 -04:00
Ludovic Courtès bf9eacd2af doc: Mention 'guix challenge' in "Features".
* doc/guix.texi (Features): Mention trust and 'guix challenge'.
2016-03-25 23:54:12 +01:00
Ludovic Courtès 6f77360681 doc: Rephrase introduction to give a better overview.
Suggested by myglc2 <myglc2@gmail.com>.

* doc/guix.texi (Introduction): Rephrase to mention features and use
cases first, and foundations last.
(Features): Mention "GuixSD".
(Utilities): Change intro: not all the tools are for packagers.
2016-03-25 23:54:12 +01:00
Mark H Weaver c7762233fb Revert "gnu: expat: Replace with 2.1.1 [fixes CVE-2015-1283]."
This reverts commit 6458876597.
2016-03-25 17:20:57 -04:00
Leo Famulari 15bdd91cc4 gnu: diffoscope: Update to 51.
* gnu/packages/package-management.scm (diffoscope): Update to 51.
2016-03-25 17:17:06 -04:00
Leo Famulari 54c30ebcb1 gnu: python-atomicwrites: Update to 1.0.0.
* gnu/packages/python.scm (python-atomicwrites, python2-atomicwrites):
Update to 1.0.0.
2016-03-25 17:08:47 -04:00
Mark H Weaver 6458876597 gnu: expat: Replace with 2.1.1 [fixes CVE-2015-1283].
* gnu/packages/xml.scm (expat)[replacement]: New field.
(expat-2.1.1): New variable.
2016-03-25 17:04:28 -04:00
Ludovic Courtès 7adbe85e60 syscalls: 'interface-address' can return #f.
Fixes <http://bugs.gnu.org/22612>.
Reported by Danny Milosavljevic <dannym@scratchpost.org>.

* tests/syscalls.scm ("network-interfaces returns one or more
interfaces"): Accept 'interface-address' value of #f.
2016-03-25 17:29:36 +01:00
Ludovic Courtès 001dae0d74 syscalls: <interface> printer correctly handles lack of sockaddr.
Reported by Danny Milosavljevic <dannym@scratchpost.org>
in <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22612#16>.

* guix/build/syscalls.scm (write-interface): Check whether ADDRESS is
true.
2016-03-25 17:24:47 +01:00
Ludovic Courtès a2da8c173a gnu: guix: Update development snapshot to dd21308.
* gnu/packages/package-management.scm (guix-devel): Update to dd21308.
2016-03-25 10:52:25 +01:00
Ricardo Wurmus 7affb2c1ac gnu: lilypond: Fix check for fontforge version.
* gnu/packages/music.scm (lilypond)[arguments]: Patch configure script
  to find actual fontforge version.
2016-03-25 10:03:11 +01:00
John Darrington dd21308225 gnu: postgresql: Substitute hard coded "/bin/sh".
* gnu/packages/databses.scm (postgresql): substitute /bin/sh
with location of bash binary.
2016-03-25 08:04:56 +01:00
Leo Famulari 43a58615bf gnu: htop: Update to 2.0.1.
* gnu/packages/admin.scm (htop): Update to 2.0.1.
2016-03-24 23:06:09 -04:00
Ludovic Courtès 622b2304ce doc: We now need 1 GiB for the installation USB image.
* doc/guix.texi (Building the Installation Image): Change image size to 1G.
* build-aux/hydra/gnu-system.scm (qemu-jobs): Likewise.
2016-03-24 23:31:56 +01:00
Ludovic Courtès aeaa5ccbf4 build: Bump version number.
* configure.ac: Change version to 0.10.0.
2016-03-24 23:04:37 +01:00
Ludovic Courtès de341e7c3f doc: Update reference to the Info reader's manual.
* doc/guix.texi (System Installation): Refer to 'info-stnd' instead of
'info'.
(Preparing for Installation): Likewise.
2016-03-24 23:00:11 +01:00
Ludovic Courtès 68abb9b04c install: Use 'info-reader' instead of Texinfo 4.
* gnu/system/install.scm (installation-os)[packages]: Remove TEXINFO-4
since %BASE-PACKAGES already provides the Info reader.
(log-to-info): Use INFO-READER instead of TEXINFO-4.
2016-03-24 22:47:15 +01:00
Ludovic Courtès 02683c3331 system: Use 'info-reader' instead of Texinfo to avoid dragging Perl.
* gnu/system.scm (%base-packages): Use INFO-READER instead of TEXINFO.
2016-03-24 22:47:15 +01:00
Ludovic Courtès 7feebd33ae gnu: Add 'info-reader'.
* gnu/packages/texinfo.scm (info-reader): New variable.
2016-03-24 22:47:15 +01:00
Ludovic Courtès 0feefb530f install: Remove cgroup and elogind file systems.
* gnu/system/install.scm (installation-os): Explicitly list three file
systems instead of using %BASE-FILE-SYSTEMS.
2016-03-24 22:47:15 +01:00
Ludovic Courtès 2fa909b27b activation: Copy account skeletons silently.
* gnu/build/activation.scm (copy-account-skeletons): Pass #:log to
'copy-recursively'.
2016-03-24 22:47:15 +01:00
Ludovic Courtès ee03b75dfb install: Add /tmp as a tmpfs.
Fixes <http://bugs.gnu.org/23056>.
Reported by Michael Downey <shaggy814@yandex.com>
and Kei <kei@openmailbox.org>.

* gnu/system/install.scm (installation-os)[file-systems]: Add "/tmp".
2016-03-24 22:47:15 +01:00
Ludovic Courtès cc7234aede services: nscd: Make respawnable.
* gnu/services/base.scm (nscd-shepherd-service): Remove 'respawn?' field.
2016-03-24 22:47:15 +01:00
Leo Famulari 229b36617a gnu: python-llfuse-0.41: Update to 0.41.1.
* gnu/packages/python.scm (python-llfuse-0.41): Update to 0.41.1.
2016-03-24 15:30:51 -04:00
Leo Famulari 6fc5c11b81 gnu: Add borg.
* gnu/packages/backup.scm (borg): New variable.
2016-03-24 15:30:51 -04:00
Leo Famulari 5a39b07f8a gnu: attic: Specify dependency on python-llfuse-0.41.
* gnu/packages/backup.scm (attic)[inputs]: Specify dependency on
python-llfuse-0.41.
2016-03-24 15:30:51 -04:00
Leo Famulari cd0569c498 gnu: python-llfuse: Update to 1.0, keep 0.41 variant.
* gnu/packages/python.scm (python-llfuse, python2-llfuse): Update to 1.0.
(python-llfuse)[properties]: New field.
[license]: Remove 'expat'.
(python2-llfuse): Use 'strip-python2-variant'.
[propagated-inputs]: Add python2-contextlib2.
(python-llfuse-0.41): New variable.
2016-03-24 15:30:51 -04:00
Leo Famulari bd74be7b8c gnu: python-msgpack: Use 'python2-variant'.
* gnu/packages/python.scm (python-msgpack)[native-inputs]: Remove field.
[properties]: New field.
(python2-msgpack): Use 'strip-python2-variant'.
[native-inputs]: Add python2-setuptools.
2016-03-24 15:30:51 -04:00
Leo Famulari ae831df428 gnu: python-msgpack: Update to 0.4.7.
* gnu/packages/python.scm (python-msgpack, python2-msgpack): Update to 0.4.7.
[source]: Use pypi-uri.
2016-03-24 15:30:51 -04:00
Alex Kost 98db8e89ff Update .mailmap.
* .mailmap: Add new entries for Al McElrath, Alírio Eyng, Andreas Enge,
  Ben Woodcroft, David Thompson, Leo Famulari, Mathieu Lirzin, Nils
  Gillmann, Raimon Grau.
2016-03-24 18:50:11 +03:00
Alex Kost 6667af6a97 doc: Clarify installation instructions for "guix.el".
* doc/emacs.texi (Emacs Initial Setup): Mention that "guix package -i
guix" is an easy way.  Warn that "make install" may lead to an outdated
code.
2016-03-24 18:49:59 +03:00
Alex Kost ff4455e6e2 emacs: Deprecate "guix-init.el".
'guix-init' served 2 purposes:

- to autoload guix commands (by requiring 'guix-autoloads');
- and to autoload Emacs packages installed with Guix (by requiring
  'guix-emacs').

The second purpose is not actual anymore, as Emacs package handles this
task now, so there is no need in 'guix-init' anymore.

* emacs/guix-init.el: Do not require 'guix-emacs'.  Add a deprecation
  message.
* doc/emacs.texi (Emacs Initial Setup): Recommend to use
  'guix-autoloads' instead of 'guix-init'.
2016-03-24 18:49:59 +03:00
Alex Kost 453cdf8606 system: Do not create "site-start.el".
After commits 004ea62 and 092dd65, Emacs can find packages in a system
profile, so it autoloads guix code without additional hacks, which can
be removed now.

* gnu/system.scm (emacs-site-file, emacs-site-directory): Remove.
(operating-system-etc-service): Adjust accordingly.
(operating-system-environment-variables): Remove EMACSLOADPATH.
2016-03-24 18:49:59 +03:00
Ricardo Wurmus 1d216b6ec9 gnu: Remove "r-repository" property.
* gnu/packages/bioinformatics.scm (r-biocgenerics, r-s4vectors,
r-iranges, r-genomeinfodb, r-xvector, r-genomicranges)[properties]:
Remove "r-repository" property.
2016-03-24 16:18:01 +01:00
Andreas Enge 08595262db gnu: pari-gp: Syntactic changes.
* gnu/packages/algebra.scm (pari-gp)[arguments]: Use modify-phases syntax.
2016-03-24 14:44:08 +01:00
Ludovic Courtès f2ab925028 services: xorg: Fix ~/.xsession handling.
Fixes a regression introduced in c510cbb4ec.

* gnu/services/xorg.scm (xinitrc)[builder]: Add missing 'apply' when
XSESSION-FILE exists.
2016-03-24 11:01:07 +01:00
Efraim Flashner 473dbe9b19 gnu: modem-manager: Update to 1.4.14.
* gnu/packages/freedesktop.scm (modem-manager): Update to 1.4.14.
2016-03-24 08:37:07 +02:00
Mark H Weaver 385b1be8d0 gnu: webkitgtk: Update to 2.12.0.
* gnu/packages/webkit.scm (webkitgtk): Update to 2.12.0.
2016-03-23 18:47:41 -04:00
Ludovic Courtès ee37e1e501 gnu: shepherd: Update to 0.3.1.
* gnu/packages/admin.scm (shepherd): Update to 0.3.1.
2016-03-23 23:43:50 +01:00
Ludovic Courtès 9a2a20052a guix build: '--with-source' correctly matches versioned file names.
* guix/scripts/build.scm: Use the right 'package-name->name+version'
procedure.  Fixes a regression introduced in
1b846da8c3.
* tests/scripts-build.scm ("options->transformation, with-source, with
version"): New test.
2016-03-23 23:43:50 +01:00
Nils Gillmann 7b150a24fe gnu: libressl: Update to 2.3.3.
* gnu/packages/tls.scm (libressl): Update to 2.3.3.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-23 13:39:17 -04:00
Alex Kost c292a6f304 emacs: Use space to separate package name and version in heading.
Reported by Ludovic Courtès <ludo@gnu.org>.

* emacs/guix-ui-package.el (guix-package-name): Check 'spec' property.
(guix-package-info-insert-heading): Use "name version" for button label,
write name specification to 'spec' property.
2016-03-23 11:24:38 +03:00
Alex Kost 4c68c53804 emacs: Fix converting scheme into elisp expression.
* emacs/guix-geiser.el (guix-geiser-eval-read): Replace #f/#t with nil/t
  only when they follow "(" or " ".
2016-03-23 11:24:38 +03:00
Ricardo Wurmus c1f73569be gnu: Add AIDE.
* gnu/packages/admin.scm (aide): New variable.
2016-03-23 08:08:02 +01:00
Leo Famulari 6139fed563 gnu: icecast: Update to 2.4.3 [fixes CVE-2015-3026].
* gnu/packages/xiph.scm (icecast): Update to 2.4.3.
2016-03-22 23:13:58 -04:00
Ludovic Courtès 9b1cee97a5 services: postgresql: Use syslog.
Fixes <http://bugs.gnu.org/23064>.
Reported by Danny Milosavljevic <dannym@scratchpost.org>.

* gnu/services/databases.scm (%default-postgres-config): Add
'log_destination' line.
(postgresql-shepherd-service): Add requirement on 'syslogd'.
2016-03-23 00:23:12 +01:00
Ludovic Courtès d038b674cf doc: Add "lightweight desktop" OS config example.
* gnu/system/examples/desktop.tmpl (packages): Remove XFCE and
RATPOISON.
(services): Add 'gnome-desktop-service' and 'xfce-desktop-service'.
* gnu/system/examples/lightweight-desktop.tmpl: New file.
* Makefile.am (EXAMPLES): Add it.
* doc.am (OS_CONFIG_EXAMPLES_TEXI): Add
doc/os-config-lightweight-desktop.texi.
* gnu/system/install.scm (/etc/configuration-files)[directory]: Add
lightweight-desktop.tmpl.
2016-03-23 00:23:12 +01:00
Ludovic Courtès d26e19671e derivations: Raise an error when a module file is not found.
Suggested by Jookia.

* guix/derivations.scm (&file-search-error): New error condition.
(search-path*): Raise it when 'search-path' returns #f.
* guix/gexp.scm (search-path*): Remove.
* guix/ui.scm (call-with-error-handling): Add case for
'file-search-error?'.
* tests/derivations.scm ("build-expression->derivation and invalid
module name"): New test.
2016-03-23 00:23:12 +01:00
Ludovic Courtès 6985335faa derivations: Add 'module->source-file-name'.
* guix/derivations.scm (module->source-file-name): New procedure.
(%imported-modules): Use it.
* guix/gexp.scm (imported-modules): Likewise.
2016-03-23 00:23:12 +01:00
Ludovic Courtès 8c321299c5 substitute: Gracefully handle TLS errors.
* guix/scripts/substitute.scm (with-networking): Use 'match-lambda*' and
add case for 'gnutls-error'.
2016-03-23 00:23:12 +01:00
Ricardo Wurmus b98293ebed import: cran: Accept single URL in addition to single URL.
* guix/import/cran.scm (package->upstream-name): Match single URL in
  addition to list of URLs.
2016-03-22 17:57:40 +01:00
Mark H Weaver 58cc369f32 gnu: webkitgtk-2.4: Update to 2.4.10 [fixes many security flaws].
Fixes CVE-2014-1748, CVE-2015-1071, CVE-2015-1076, CVE-2015-1081,
CVE-2015-1083, CVE-2015-1120, CVE-2015-1122, CVE-2015-1127, CVE-2015-1153,
CVE-2015-1155, CVE-2015-3658, CVE-2015-3659, CVE-2015-3727, CVE-2015-3731,
CVE-2015-3741, CVE-2015-3743, CVE-2015-3745, CVE-2015-3747, CVE-2015-3748,
CVE-2015-3749, CVE-2015-3752, CVE-2015-5788, CVE-2015-5794, CVE-2015-5801,
CVE-2015-5809, CVE-2015-5822, and CVE-2015-5928.

* gnu/packages/patches/webkitgtk-2.4-sql-init-string.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/webkit.scm (webkitgtk-2.4): Update to 2.4.10.
[source]: Remove patch.
2016-03-22 07:38:22 -04:00
Mark H Weaver 1020fb6ac7 gnu: linux-libre-4.1: Update to 4.1.20.
* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.20.
2016-03-21 22:53:55 -04:00
Ludovic Courtès cd6cc144e0 Merge branch 'security-updates' 2016-03-22 00:14:03 +01:00
Ricardo Wurmus ffc13e753b gnu: chicken: Build with GCC 4.8.
* gnu/packages/scheme.scm (chicken)[native-inputs]: Add GCC 4.8.
2016-03-21 22:08:24 +01:00
Ricardo Wurmus 416a5a9a51 gnu: chicken: Disable port tests.
* gnu/packages/scheme.scm (chicken)[arguments]: Do not run port tests.
2016-03-21 22:08:24 +01:00
Ricardo Wurmus acb3807079 gnu: chicken: Use "modify-phases" syntax.
* gnu/packages/scheme.scm (chicken)[arguments]: Use "modify-phases"
  syntax.
2016-03-21 22:08:24 +01:00
Ricardo Wurmus d0d9411015 gnu: chicken: Update to 4.10.0.
* gnu/packages/scheme.scm (chicken): Update to 4.10.0.
2016-03-21 22:08:23 +01:00
Leo Famulari b0bb013698 gnu: mutt: Enable header caching.
* gnu/packages/mail.scm (mutt)[inputs]: Add gdbm.
[arguments]: Pass --enable-hcache to #:configure-flags.
2016-03-21 16:48:39 -04:00
Efraim Flashner 506379664a gnu: gmtp: Update to 1.3.10.
* gnu/packages/libusb.scm (gmtp): Update to 1.3.10.
2016-03-21 20:52:26 +02:00
Ricardo Wurmus c84ceace14 gnu: artanis: Update to 0.1.2.
* gnu/packages/guile.scm (artanis): Update to 0.1.2.
[arguments]: Set DESTDIR.
2016-03-21 17:44:39 +01:00
Ricardo Wurmus 71cafa0472 gnu: Add r-doparallel.
* gnu/packages/statistics.scm (r-doparallel): New variable.
2016-03-21 15:54:05 +01:00
Ricardo Wurmus b2cdb0271b gnu: Add r-foreach.
* gnu/packages/statistics.scm (r-foreach): New variable.
2016-03-21 15:54:05 +01:00
Ricardo Wurmus 7a6f5f0323 gnu: Add r-codetools.
* gnu/packages/statistics.scm (r-codetools): New variable.
2016-03-21 15:54:05 +01:00
Ricardo Wurmus 264df1a49d gnu: Add r-iterators.
* gnu/packages/statistics.scm (r-iterators): New variable.
2016-03-21 15:54:05 +01:00
Ricardo Wurmus 9128db2178 gnu: Add ustr.
* gnu/packages/textutils.scm (ustr): New variable.
2016-03-21 15:53:40 +01:00
Efraim Flashner ce16d1dc94 gnu: ddrescue: Update to 1.21.
* gnu/packages/disk.scm (ddrescue): Update to 1.21.
2016-03-21 15:22:31 +02:00
Mathieu Lirzin 39118b5eed build: Rewrite comments for man pages.
* doc.am <Man pages>: Rewrite comments to describe the build process and
the meaning of the noticeable idiosyncrasies in a more general way.
2016-03-20 23:47:59 +01:00
Mathieu Lirzin b33d3a5a94 build: Build man pages in $(srcdir).
Before that the doc/guix.1 rule was always triggered when doing a VPATH
build from a tarball.

* doc.am (sub_commands_mans, dist_man1_MANS): man pages are now
generated in $(srcdir) like the info manual.
(doc/guix.1, doc/guix-%.1): Prepend $(srcdir) to target name.
[BUILD_DAEMON] (doc/guix-daemon.1): Likewise.
2016-03-20 23:47:59 +01:00
Mathieu Lirzin 83e79a134d build: Make 'guix' man page depend on scripts/guix.in.
* doc.am (doc/guix.1): Add scripts/guix.in prerequisite.
2016-03-20 23:47:59 +01:00
Mathieu Lirzin 92d40a68f4 Revert "build: Do not remake doc/guix.1."
This reverts commit 97966e6d65.
2016-03-20 23:47:59 +01:00
Ludovic Courtès c035145968 gnu: udisks: Enforce non-reference of the "doc" output.
* gnu/packages/freedesktop.scm (udisks)[arguments]: Add
  #:disallowed-references.
2016-03-20 22:52:33 +01:00
Ludovic Courtès 55e1f25d89 build-system/gnu: Add #:disallowed-references.
* guix/build-system/gnu.scm (gnu-build): Add #:disallowed-references and
honor it.
(gnu-cross-build): Likewise.
2016-03-20 22:46:45 +01:00
Ludovic Courtès 3f4ecf3229 gexp: Add #:disallowed-references.
* guix/gexp.scm (gexp->derivation): Add #:disallowed-references and
honor it.
* tests/gexp.scm ("gexp->derivation #:disallowed-references, allowed")
("gexp->derivation #:disallowed-references"): New tests.
* doc/guix.texi (G-Expressions): Adjust accordingly.
2016-03-20 22:46:14 +01:00
Ludovic Courtès 35b5ca7869 derivations: Add #:disallowed-references.
* guix/derivations.scm (derivation): Add #:disallowed-references.
[user+system-env-vars]: Honor it.
(build-expression->derivation): Likewise.
* tests/derivations.scm ("derivation #:disallowed-references, ok")
("derivation #:disallowed-references, not ok"): New tests.
* doc/guix.texi (Derivations): Adjust accordingly.
2016-03-20 22:45:35 +01:00
Ludovic Courtès e71ef7adae system: Make sure fonts are searched for in the system profile.
This fixes a bug whereby fonts in /run/current-system/profile would be
invisible to Fontconfig.

* gnu/packages/fontutils.scm (fontconfig): Add comment about system
profile not being searched.
* gnu/system/shadow.scm (default-skeletons)[fonts.conf-content,
fonts.conf]: New variable.
Add FONTS.CONF to the skeletons.
2016-03-20 15:27:44 +01:00
Ludovic Courtès 0bd3597bbe gnu: gnome: Add dependency on font-abattis-cantarell.
* gnu/packages/gnome.scm (gnome)[propagated-inputs]: Add
FONT-CANTARELL.
2016-03-20 15:05:12 +01:00
Ludovic Courtès 4e8b7502e3 system: Allow account skeletons to be directories.
* gnu/system/shadow.scm (skeleton-directory): Use 'copy-recursively'
instead of 'copy-file'.
* gnu/build/activation.scm (copy-account-skeletons): Likewise.
2016-03-20 15:02:38 +01:00
Ludovic Courtès 71be99b8b6 gnu: Add font-abattis-cantarell.
* gnu/packages/fonts.scm (font-cantarell): New variable.
2016-03-20 01:07:37 +01:00
Ludovic Courtès 522773b700 import: pypi: Emit 'pypi-uri' only when it yields the right URL.
Fixes <http://bugs.gnu.org/23062>.
Reported by Danny Milosavljevic <dannym@scratchpost.org>.

* guix/import/pypi.scm (make-pypi-sexp): Check whether 'pypi-uri'
returns SOURCE-URL and fall back to the full URL otherwise.
* tests/pypi.scm ("pypi->guix-package"): Adjust expected URI
accordingly.

Co-authored-by: Danny Milosavljevic <dannym@scratchpost.org>
2016-03-19 23:54:19 +01:00
Ludovic Courtès 329a702634 gnu: fontforge: Make builds bit-reproducible.
* gnu/packages/fontutils.scm (fontforge)[source](snippet, modules): New
fields.
2016-03-19 15:57:07 +01:00
alírio eyng 56586557dd gnu: fontforge: Update to 20150824.
* gnu/packages/fontutils.scm (fontforge): Update to 20150824.
[inputs]: Add libltdl, libxft, python.
[native-inputs]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-03-19 15:36:26 +01:00
Ludovic Courtès ef5f5c8659 build: Protect against misconfiguration of localstatedir.
Suggested by Jookia <166291@gmail.com>.

* m4/guix.m4 (GUIX_CURRENT_LOCALSTATEDIR, GUIX_CHECK_LOCALSTATEDIR): New
macros.
* config-daemon.ac: Use 'GUIX_CHECK_LOCALSTATEDIR'.
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Add --localstatedir.
* doc/guix.texi (Requirements): Mention --localstatedir.
(The Store): Mention LOCALSTATEDIR as such.
2016-03-19 15:07:46 +01:00
Ludovic Courtès 7c49ab5b1c gnu: kodi: Remove @acronym from description.
This works around <http://bugs.gnu.org/21772>.

* gnu/packages/kodi.scm (crossguid): Remove @acronym.
2016-03-19 14:41:56 +01:00
Ludovic Courtès 5697fdc366 gnu: r-dnacopy: Fix home page URL.
* gnu/packages/bioinformatics.scm (r-dnacopy)[home-page]: Add missing
URI scheme.
2016-03-18 23:00:04 +01:00
Ludovic Courtès 6cbc8d5766 gnu: gnome: Disable hardware acceleration check via 'gnome.desktop'.
* gnu/packages/gnome.scm (gnome-session)[arguments]: Add
'disable-hardware-acceleration-check' phase.
2016-03-18 19:42:00 +01:00
Ludovic Courtès c510cbb4ec services: xorg: Accept session commands with arguments.
Before that, a session command with several items, such as
'gnome-session --disable-acceleration-check', would trigger the fallback
session.

* gnu/services/xorg.scm (xinitrc)[builder]: Accept command lines with
more than one arguments.
2016-03-18 19:42:00 +01:00
Ludovic Courtès a0d7baaf48 gnu: gnome-session: Make sure 'gsettings' is found.
* gnu/packages/gnome.scm (gnome-session)[arguments]: Add
'wrap-gnome-session' phase.
2016-03-18 19:42:00 +01:00
Leo Famulari 3bf429af2f gnu: Add beets.
* gnu/packages/music.scm (beets): New variable.
2016-03-18 14:27:16 -04:00
Leo Famulari 064503aaa2 gnu: Add python-rarfile.
* gnu/packages/python.scm (python-rarfile, python2-rarfile): New
variables.
* gnu/packages/patches/python-rarfile-fix-tests.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2016-03-18 14:27:16 -04:00
Leo Famulari 13edb0e5c3 gnu: Add python2-unicodecsv.
* gnu/packages/python.scm (python2-unicodecsv): New variable.
2016-03-18 14:27:16 -04:00
Leo Famulari 25a7db0ad3 gnu: Add python-jellyfish.
* gnu/packages/python.scm (python-jellyfish, python2-jellyfish): New variables.
2016-03-18 14:27:16 -04:00
Leo Famulari efe0b14369 gnu: Add python-mpd2.
* gnu/packages/mpd.scm (python-mpd2, python2-mpd2): New variables.
2016-03-18 14:27:16 -04:00
Leo Famulari 76b9488534 gnu: Add python2-pathlib.
* gnu/packages/python.scm (python-pathlib, python2-pathlib): New variables.
2016-03-18 14:27:16 -04:00
Leo Famulari 0efde7d6d6 gnu: Add python-responses.
* gnu/packages/python.scm (python-responses, python2-responses): New variables.
2016-03-18 14:27:16 -04:00
Leo Famulari 603d665bc3 gnu: Add python-cookies.
* gnu/packages/python.scm (python-cookies, python2-cookies): New variable.
2016-03-18 14:27:16 -04:00
Leo Famulari acd7351ff6 gnu: Add python-pylast.
* gnu/packages/music.scm (python-pylast, python2-pylast): New variables.
2016-03-18 14:27:16 -04:00
Leo Famulari e8fee6486f gnu: Add python-pyechonest.
* gnu/packages/music.scm (python-pyechonest, python2-pyechonest): New variables.
2016-03-18 14:27:16 -04:00
Leo Famulari f3b3d78fbc gnu: Add python-flask.
* gnu/packages/python.scm (python-flask, python2-flask): New variables.
2016-03-18 14:27:16 -04:00
Leo Famulari 8975de8821 gnu: Add python-musicbrainzngs.
* gnu/packages/music.scm (python-musicbrainzngs, python2-musicbrainzngs): New
variables.
2016-03-18 14:27:16 -04:00
Leo Famulari cedac813a5 gnu: Add python-munkres.
* gnu/packages/python.scm (python-munkres, python2-munkres): New variables.
2016-03-18 14:27:16 -04:00
Leo Famulari 3f7a182d25 gnu: Add python-mutagen.
* gnu/packages/music.scm (python-mutagen, python2-mutagen): New variables.
2016-03-18 14:27:16 -04:00
Mark H Weaver 0e0fd3ef10 gnu: linux-libre-4.4: Update to 4.4.6.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.6.
2016-03-18 11:03:16 -04:00
David Thompson 8961b4d362 gnu: bundler: Update to 1.11.2.
* gnu/packages/ruby.scm (bundler): Update to 1.11.2.
2016-03-18 08:48:40 -04:00
Andreas Enge 019b38758c gnu: vigra: Update to 1.11.0.
* gnu/packages/image.scm (vigra)[source]: Update to 1.11.0.
  [arguments]: Disable parallel builds.
2016-03-18 09:01:02 +01:00
Efraim Flashner c5e2b69d59 gnu: aria2: Update to 1.21.0.
* gnu/packages/bittorrent.scm (aria2): Update to 1.21.0.
2016-03-18 08:29:30 +02:00
Mark H Weaver e3d3546eda gnu: libotr: Fix tests on mips64el.
* gnu/packages/patches/libotr-test-auth-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/messaging.scm (libotr)[source]: Add patch.
2016-03-17 19:05:08 -04:00
Ludovic Courtès b879b3e848 substitute: Do not leak file descriptors for TLS connections.
Partially fixes <http://bugs.gnu.org/20145>.

* guix/scripts/substitute.scm (fetch, download-cache-info):
(http-multiple-get, fetch-narinfos, progress-report-port): Use
'close-connection' instead of 'close-port'.
2016-03-17 23:53:53 +01:00
Ludovic Courtès 958fb14cdb substitute: Cache transient HTTP errors for 10mn.
* guix/scripts/substitute.scm (fetch-narinfos)[handle-narinfo-response]:
Cache transient errors for 10mn.
(%narinfo-transient-error-ttl): New variable.
2016-03-17 23:53:53 +01:00
Ludovic Courtès 14d6ca3e4d lint: Do not leak file descriptors for TLS connections.
Partially fixes <http://bugs.gnu.org/20145>.

* guix/scripts/lint.scm (probe-uri): Use 'close-connection' instead of
'close-port'.
2016-03-17 23:53:53 +01:00
Ludovic Courtès 097a951e96 download: Add 'close-connection'.
Partially fixes <http://bugs.gnu.org/20145>.

* guix/build/download.scm (add-weak-reference): Remove.
(%tls-ports): New variable.
(register-tls-record-port): New procedure.
(tls-wrap): Use it instead of 'add-weak-reference'.
(close-connection): New procedure.
2016-03-17 23:53:53 +01:00
Ludovic Courtès fc3ea24bf4 substitute: Update progress for responses different from 200/404.
* guix/scripts/substitute.scm (fetch-narinfos)[handle-narinfo-response]:
Add missing call to 'update-progress!'.
2016-03-17 23:53:53 +01:00
Efraim Flashner f1723b8be6 gnu: postgresql: Update to 9.5.1.
* gnu/packages/databases.scm (postgresql): Update to 9.5.1.
2016-03-17 21:59:32 +02:00
Efraim Flashner 23bbd7dd60 gnu: mysql: Update to 5.7.11.
* gnu/packages/databases.scm (mysql): Update to 5.7.11.
[source]: Add archives as alternate download location.
[arguments]: Remove custom phase 'strip-extra-references. Add
substitution to target boost-1.60.
2016-03-17 21:59:32 +02:00
Andy Wingo 2914af3c96 gnu: gnome-session: Add elogind input.
* gnu/packages/gnome.scm (gnome-session): Add elogind input, while
  disabling the use of systemd's journal.
2016-03-17 18:11:42 +01:00
Ricardo Wurmus 953c12232f gnu: bless: Remove bundled sources for sparsehash.
* gnu/packages/bioinformatics.scm (bless)[source]: Delete
"google-sparsehash" sources.
[inputs]: Add "sparsehash".
2016-03-17 13:01:31 +01:00
Ricardo Wurmus 6c1305f9ec gnu: Add CD-HIT.
* gnu/packages/bioinformatics.scm (cd-hit): New variable.
2016-03-17 13:01:31 +01:00
Ludovic Courtès b53daad064 doc: Add missing comma after @xref.
Reported by Alex Kost <alezost@gmail.com>.

* doc/guix.texi (Service Reference): Add comma after @xref.
2016-03-17 09:49:05 +01:00
Ludovic Courtès 5fe01c2d9b doc: GNOME is now available.
* doc/guix.texi (Limitations): Rephrase item about GNOME and KDE.
2016-03-17 09:49:05 +01:00
Andy Wingo fa4b8badf0 gnu: elogind: Update to 219.14.
* gnu/packages/freedesktop.scm (elogind): Update to 219.14.
2016-03-17 09:44:32 +01:00
Alex Kost e6527d643e gnu: emacs-pdf-tools: Add missing input.
This is a followup to commit eccd0b57a1.

* gnu/packages/emacs.scm (emacs-pdf-tools)[propagated-inputs]: Add
'let-alist'.
2016-03-17 10:49:45 +03:00
Alex Kost 1bcae5c5c5 gnu: emacs-pdf-tools: Use emacs-build-system for elisp side.
* gnu/packages/emacs.scm (emacs-pdf-tools)[arguments]: Add phases from
emacs-build-system to build elisp side.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-03-17 10:49:45 +03:00
Ricardo Wurmus 5e3161d38e gnu: Add WAH plugins.
* gnu/packages/audio.scm (wah-plugins): New variable.
2016-03-17 08:25:21 +01:00
Ricardo Wurmus c04b4e7aea gnu: Add STE plugins.
* gnu/packages/audio.scm (ste-plugins): New variable.
2016-03-17 08:25:21 +01:00
Ricardo Wurmus 75f45d16d4 gnu: Add FIL plugins.
* gnu/packages/audio.scm (fil-plugins): New variable.
2016-03-17 08:25:21 +01:00
Ricardo Wurmus dffb6c3be6 gnu: Add REV plugins.
* gnu/packages/audio.scm (rev-plugins): New variable.
2016-03-17 08:25:21 +01:00
Ricardo Wurmus 8ba62f92ec gnu: Add AMB plugins.
* gnu/packages/audio.scm (amb-plugins): New variable.
2016-03-17 08:25:21 +01:00
Ricardo Wurmus ed17465d3d gnu: Add g2reverb.
* gnu/packages/audio.scm (g2reverb): New variable.
2016-03-17 08:25:21 +01:00
Ricardo Wurmus eb4fca7ebf gnu: Add vco-plugins.
* gnu/packages/audio.scm (vco-plugins): New variable.
2016-03-17 08:25:21 +01:00
Ricardo Wurmus fb2e072cec gnu: Add mcp-plugins.
* gnu/packages/audio.scm (mcp-plugins): New variable.
2016-03-17 08:25:21 +01:00
Roel Janssen f88ce395e6 licenses: Add Apache Software License 1.1.
* guix/licenses.scm (asl1.1): New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-17 00:49:30 -04:00
Jochem Raat 65829fec47 gnu: Add perl-text-neattemplate.
* gnu/packages/perl.scm (perl-text-neattemplate): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-17 00:39:33 -04:00
Tobias Geerinckx-Rice 08e9daf505 gnu: Add freefall.
* gnu/packages/linux.scm (freefall): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-17 00:25:41 -04:00
Efraim Flashner e3bf5d2cb2 gnu: mariadb: Update to 10.1.12.
* gnu/packages/databases.scm (mariadb): Update to 10.1.12.
2016-03-17 02:17:04 +02:00
Eric Bavier 97966e6d65 build: Do not remake doc/guix.1.
* doc.am (doc/guix.1): Do not depend on $(sub_commands_mans) which will
  always appear out-of-date.
2016-03-16 18:32:25 -05:00
Eric Bavier dfdf571688 gnu: petsc: Fix compiler configuration references.
* gnu/packages/maths.scm (petsc)[arguments]: When patching compiler
  driver paths, do not assume they come from fortran input.
2016-03-16 18:32:25 -05:00
Eric Bavier d588422e13 gnu: slepc: Set origin file-name.
* gnu/packages/maths.scm (slepc)[source]: Add file-name.
2016-03-16 18:32:25 -05:00
Mark H Weaver ce362de86e gnu: Fix definitions of gcc-toolchain-4.8 and gcc-toolchain-4.9.
* gnu/packages/commencement.scm (gcc-toolchain-4.8): Use gcc-4.8,
not gcc-final.
(gcc-toolchain-4.9): Use gcc-final, not gcc-4.9.
* gnu/packages/gcc.scm (gcc): Add reminder comment for the future.
2016-03-16 18:06:52 -04:00
Ludovic Courtès 092dd6541f gnu: guix: Update development snapshot to 71e2065.
* gnu/packages/package-management.scm (guix-devel): Update to 71e2065.
2016-03-16 19:03:12 +01:00
Efraim Flashner 87f7625bf5 gnu: offlineimap: Update to 6.7.0.
* gnu/packages/mail.scm (offlineimap): Update to 6.7.0.
2016-03-16 19:52:40 +02:00
Ludovic Courtès 71e2065a38 substitute: Honor client-provided empty URL list.
Before that, 'guix build --substitute-urls=""' would lead to using the
daemon's own URL list instead of the empty list.  The 'or*' hack, which
is to blame, had become unnecessary since commit
fb4bf72be3.

Reported by Mark H Weaver <mhw@netris.org>.

* guix/scripts/substitute.scm (or*): Remove.
(%cache-urls): Use 'or' instead of 'or*'.
* tests/store.scm ("substitute query, alternating URLs"): Add test with
empty URL list.
* doc/guix.texi (Common Build Options): Mention the empty string.
2016-03-16 18:34:53 +01:00
Ludovic Courtès 1ac94ae166 build: Write emacs-autoloads.el to $(builddir).
* emacs.am ($(AUTOLOADS)): Write to $(builddir), not $(srcdir).
2016-03-16 17:02:53 +01:00
Ludovic Courtès 23d60ba65c substitute: Honor the 'max-age' of 'Cache-Control' headers.
This allows substitute servers to tell 'guix substitute' how long they
can cache narinfo lookups.

* guix/scripts/substitute.scm (cache-narinfo!): Add 'ttl' parameter.
[cache-entry]: Honor it.
(fetch-narinfos)[handle-narinfo-response]: Check the 'Cache-Control'
header of RESPONSE and pass its 'max-age' value to 'cache-narinfo!'.
2016-03-16 15:57:47 +01:00
Ludovic Courtès 1cf7e31898 substitute: Make room for a 'ttl' field in cached entries.
* guix/scripts/substitute.scm (cached-narinfo): Expect 'narinfo' sexp
version 2 with a 'ttl' field.
(cache-narinfo!)[cache-entry]: Produce 'narinfo' sexp version 2 with a
'ttl' field.
(remove-expired-cached-narinfos)[expired?]: Read 'narinfo' sexp version 2.
2016-03-16 15:57:47 +01:00
Andreas Enge 81b55bf7a9 gnu: cm: Update to 0.3.
* gnu/packages/algebra.scm (cm): Update to 0.3.
  [license]: Change to gpl3+.
2016-03-16 14:29:36 +01:00
Ludovic Courtès df061d079b build: Default to "https://mirror.hydra.gnu.org/" for substitutes.
* config-daemon.ac: Check for (gnutls) and define 'GUIX_SUBSTITUTE_URLS'.
* nix/nix-daemon/guix-daemon.cc (main): Use GUIX_SUBSTITUTE_URLS.
* guix/store.scm (%default-substitute-urls): Use 'https' when (gnutls)
is available.
* doc/guix.texi (Binary Installation): Mention mirrors
(Invoking guix-daemon): Mention mirror.hydra.gnu.org.
(Substitutes): Mention mirrors.
(Invoking guix archive): Show https URLs.
2016-03-16 11:27:37 +01:00
Ludovic Courtès 409e4ac6e3 http-client: No 'setvbuf' for non-file ports.
* guix/http-client.scm (http-fetch): Do not call 'setvbuf' on non-file
ports.
2016-03-16 11:27:37 +01:00
Roel Janssen 247d498aaa gnu: Add r-dnacopy.
* gnu/packages/bioinformatics.scm (r-dnacopy): New variable.
2016-03-16 11:23:27 +01:00
Rob Syme 6a35566df7 gnu: Add codingquarry.
* gnu/packages/bioinformatics.scm (codingquarry): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-16 04:49:27 -04:00
Tobias Geerinckx-Rice 8e14e059c4 gnu: Add idle3-tools.
* gnu/packages/disk.scm (idle3-tools): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-16 02:35:06 -04:00
Efraim Flashner 892f92b7aa gnu: neon: Update to 0.30.1.
* gnu/packages/version-control.scm (neon): Update to 0.30.1.
2016-03-16 05:46:50 +02:00
Efraim Flashner 5575917d13 gnu: mercurial: Update to 3.7.2.
* gnu/packages/version-control.scm (mercurial): Update to 3.7.2.
[source]: Update to mercurial-scm.org.
[home-page]: Same.
2016-03-16 05:46:50 +02:00
宋文武 34dc3907ac gnu: Add gdk-pixbuf+svg.
* gnu/packages/gtk.scm (gdk-pixbuf+svg): New variable.
2016-03-16 09:07:00 +08:00
Leo Famulari 1714e2c39c gnu: git: Update to 2.7.3 [unspecified security fixes].
* gnu/packages/version-control.scm (git): Update to 2.7.3.
(git-manpages)[source]: Update hash.
2016-03-15 19:41:23 -04:00
Andy Wingo 7a2413e46d gnu: services: Add GNOME and XFCE desktop services.
* gnu/services/desktop.scm (package-direct-input-selector): New
  function.
  (<gnome-desktop-configuration>, gnome-desktop-service-type)
  (<xfce-desktop-configuration>, xfce-desktop-service-type): New
  variables.
  (gnome-desktop-service, xfce-desktop-service): New public variables.

* doc/guix.texi (Desktop Services): Document new variables.
2016-03-15 21:03:27 +01:00
Mark H Weaver a3b84f70d8 Merge branch 'master' into security-updates 2016-03-15 12:40:53 -04:00
Leo Famulari 20095cc513 gnu: xfce: Add xfce4-power-manager.
* gnu/packages/xfce.scm (xfce)[propagated-inputs]: Add xfce4-power-manager.
2016-03-15 11:57:40 -04:00
Florian Paul Schmidt c29e5fda3e gnu: Add xfce4-power-manager.
* gnu/packages/xfce.scm (xfce4-power-manager): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-15 11:57:40 -04:00
Mark H Weaver 75b314a615 gnu: linux-libre: Update to 4.5, while preserving linux-libre-4.4.
* gnu/packages/linux-libre-x86_64.conf: Rename to ...
* gnu/packages/linux-libre-4.4-x86_64.conf: ... this.
* gnu/packages/linux-libre-i686.conf: Rename to ...
* gnu/packages/linux-libre-4.4-i686.conf: ... this.
* gnu/packages/linux-libre-4.5-i686.conf,
gnu/packages/linux-libre-4.5-x86_64.conf: New files.
* Makefile.am (KCONFIGS): Update accordingly.
* gnu/packages/linux.scm (linux-libre): Update to 4.5.
(linux-libre-4.4): New variable.
2016-03-15 11:09:00 -04:00
Chris Marusich 4d343a141b doc: Clarify and consolidate modify-services documentation.
* doc/guix.texi ("Using the Configuration System"): Move the example...
("Service Reference"): ...to here, and clarify more.
* gnu/services.scm (modify-services): Update docstring to mention the
return type.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-03-15 15:54:02 +01:00
Ludovic Courtès e3009f6000 doc: Add "Hardware Considerations" node.
Suggested by Nils Gillmann <niasterisk@grrlz.net>.

* doc/guix.texi (Hardware Considerations): New node.
(operating-system Reference): Mention it.
2016-03-15 10:34:29 +01:00
Efraim Flashner 20109e07bd gnu: gitolite: Update to 3.6.5.
* gnu/packages/version-control.scm (gitolite): Update to 3.6.5.
[source]: Remove patch.
* gnu/packages/patches/gitolite-openssh-6.8-compat.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
2016-03-15 07:10:35 +02:00
Efraim Flashner b65195c2cc gnu: shflags: Update to 1.2.0.
* gnu/packages/version-control.scm (shflags): Update to 1.2.0.
[source]: Switch to github.
[home-page]: Project moved to github.
2016-03-15 07:10:35 +02:00
Efraim Flashner 3a099d179a gnu: libgit2: Update to 0.24.0.
* gnu/packages/version-control.scm (libgit2): Update to 0.24.0.
[inputs]: Switch python to python-wrapper.
2016-03-15 07:10:35 +02:00
Ludovic Courtès 264fdedb40 grafts: Update the narinfo cache before building a derivation.
* guix/grafts.scm (references-oracle)[references*]: Add call to
'substitution-oracle'.
2016-03-14 23:34:33 +01:00
Ludovic Courtès 026ca50fa4 substitute: Keep the initial connection alive.
The connection used to fetch /nix-cache-info is now reused for the
subsequent narinfo requests.

* guix/scripts/substitute.scm (download-cache-info)[download]: Remove.
[uri, read-cache-info]: New variables.
Rewrite in terms of 'http-fetch' instead of 'fetch'.  Return an open
port in addition to a <cache-info>.
* guix/scripts/substitute.scm (http-multiple-get): Add #:port parameter
and honor it.
(fetch-narinfos)[do-fetch]: Add 'port' parameter.
Adjust to new 'download-cache-info' and 'do-fetch' signatures.
2016-03-14 23:34:33 +01:00
Ludovic Courtès d262a0f36b http-client: Add #:keep-alive? parameter.
* guix/http-client.scm (http-fetch): Add #:keep-alive? parameter and
pass it to 'http-get' or 'http-get*'.
2016-03-14 23:34:33 +01:00
Ludovic Courtès cc27dbcf4a substitute: Remove dead code.
This parameter became unused with the switch to HTTP pipelining in
commit d3a652037e.

* guix/scripts/substitute.scm (fetch): Remove #:quiet-404? and adjust
accordingly.
2016-03-14 23:34:33 +01:00
Ludovic Courtès f09aea1b58 store: 'references/substitutes' caches its results.
* guix/store.scm (%reference-cache): New variable.
(references/substitutes): Use it.
2016-03-14 23:34:33 +01:00
Ludovic Courtès 3667bb6cb0 size: Disable grafts.
* guix/scripts/size.scm (guix-size): Parametrize '%graft?'.
2016-03-14 23:34:33 +01:00
Andreas Enge 6e6a04016d doc: Fix incorrect use of @xref.
This is a follow-up to commit 1068f26b79.
Reported by Alex Kost <alezost@gmail.com>.

* doc/guix.texi (Building the Installation Image): Replace @xref by @ref.
2016-03-14 20:54:28 +01:00
David Thompson 9ced12de01 gnu: kodi: Update to 16.0.
* gnu/packages/kodi.scm (kodi): Update to 16.0.
[inputs]: Add crossguid, dcadec, and util-linux.
2016-03-14 13:33:01 -04:00
David Thompson 680b54c5ce gnu: Add dcadec.
* gnu/packages/audio.scm (dcadec): New variable.
2016-03-14 13:33:01 -04:00
David Thompson 1e3fbf3c6d gnu: Add crossguid.
* gnu/packages/kodi.scm (crossguid): New variable.
2016-03-14 13:33:01 -04:00
Ricardo Wurmus 10b4a969be gnu: htsjdk: Use ant-build-system.
* gnu/packages/bioinformatics.scm (htsjdk)[build-system]: Use
ant-build-system.
[arguments]: Adapt for ant-build-system.
2016-03-14 14:30:03 +01:00
Ricardo Wurmus 5f7a1a4def build: Add Ant build system.
* guix/build-system/ant.scm: New file.
* guix/build/ant-build-system: New file.
* Makefile.am (MODULES): Add new files.
* doc/guix.texi (Build Systems): Document ant-build-system.
2016-03-14 12:36:49 +01:00
Ricardo Wurmus 535e2a2fee gnu: ant: Update source URL.
* gnu/packages/java.scm (ant)[source]: Use Apache mirror instead of
  plain URL.
2016-03-14 12:36:49 +01:00
Ricardo Wurmus e1a5615875 build: reset-timestamps: Include directories.
* guix/build/install.scm (reset-timestamps): Reset timestamps of
  directories as well.
2016-03-14 12:36:49 +01:00
Ricardo Wurmus 846e340954 gnu: Add pyicoteo.
* gnu/packages/bioinformatics.scm (pyicoteo): New variable.
2016-03-14 12:36:49 +01:00
Efraim Flashner 388e05ee16 gnu: enlightenment: Update to 0.20.6.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.20.6.
2016-03-14 12:12:53 +02:00
Leo Famulari 61c30e9d23 gnu: Add khard.
* gnu/packages/mail.scm (khard): New variable.
2016-03-13 18:52:30 -04:00
Leo Famulari eed1a61fbb gnu: Add python-vobject.
* gnu/packages/python.scm (python-vobject, python2-vobject): New variables.
2016-03-13 18:52:30 -04:00
Leo Famulari ed07b08d93 gnu: Split python2-pyicu into python-pyicu and python2-pyicu.
* gnu/packages/python.scm (python2-pyicu): Split variable into...
(python-pyicu, python2-pyicu): ...both Python variants.
(python-pyicu)[arguments]: Enable tests.
2016-03-13 18:52:30 -04:00
Leo Famulari d3b29319b1 gnu: python2-pyicu: Update to 1.9.2.
* gnu/packages/python.scm (python2-pyicu): Update to 1.9.2.
2016-03-13 18:52:30 -04:00
Leo Famulari 9bb6d18482 gnu: Add python2-atomicwrites.
* gnu/packages/python.scm (python2-atomicwrites): New variable.
2016-03-13 18:52:30 -04:00
Nils Gillmann aae6b4b9a9 gnu: Add font-un.
* gnu/packages/fonts.scm (font-un): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-03-13 23:39:26 +01:00
Jochem Raat 467c498bdc gnu: Add Dutch Aspell dictionary.
* gnu/packages/aspell.scm (aspell-dict-nl): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-03-13 23:39:26 +01:00
Jookia b6ecac93d6 gnu: Add Google Noto font.
* gnu/packages/fonts.scm (font-google-noto): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-03-13 23:39:26 +01:00
Leo Famulari 36455a9672 gnu: vdirsyncer: Update 0.9.2.
* gnu/packages/dav.scm (vdirsyncer): Update to 0.9.2.
[arguments]: Run the test suite after installation. Use DETERMINISTIC_TESTS.
Run tests with `make` instead of "py.test".
[native-inputs]: Remove python-pytest-xprocess and python-oauthlib.
2016-03-13 18:26:48 -04:00
Leo Famulari bea6d94d24 gnu: python-hypothesis: Update to 3.1.0.
* gnu/packages/python.scm (python-hypothesis, python2-hypothesis): Update to
3.1.0.
2016-03-13 18:26:48 -04:00
Efraim Flashner 03aef4a795 gnu: libcddb: Update to 1.3.2.
* gnu/packages/cdrom.scm (libcddb): Update to 1.3.2.
2016-03-13 21:29:51 +02:00
Efraim Flashner 036fd4f27f gnu: dvdisaster: Update to 0.79.5.
* gnu/packages/cdrom.scm (dvdisaster): Update to 0.79.5.
2016-03-13 21:29:51 +02:00
Efraim Flashner 7df85799b1 gnu: abcde: Use 'modify-phases'.
* gnu/packages/cdrom.scm (adcde)[arguments]: Use 'modify-phases'.
2016-03-13 21:29:51 +02:00
Efraim Flashner 1bb4005fbd gnu: abcde: Update to 2.7.1.
* gnu/packages/cdrom.scm (abcde): Update to 2.7.1.
[home-page]: Use https.
2016-03-13 21:29:51 +02:00
Leo Famulari 03422bf834 gnu: libmbim: Use HTTPS URL.
* gnu/packages/freedesktop.scm (libmbim)[source]: Use HTTPS URL.
2016-03-13 14:28:38 -04:00
Efraim Flashner 7ff165da48 gnu: frescobaldi: Update to 2.18.2.
* gnu/packages/music.scm (frescobaldi): Update to 2.18.2.
2016-03-13 14:31:46 +02:00
Efraim Flashner 5c85c7265a gnu: libuninameslist: Update to 0.5.20150701.
* gnu/packages/fontutils.scm (libuninameslist): Update to 0.5.20150701.
2016-03-13 14:31:46 +02:00
Efraim Flashner edca4cbeba gnu: jrnl: Update to 1.9.7.
* gnu/packages/jrnl.scm (jrnl): Update to 1.9.7.
[native-inputs]: Remove python-setuptools.
2016-03-13 14:31:46 +02:00
Alex Kost 29f9abb4ca gnu: font-ubuntu: Update to 0.83.
* gnu/packages/fonts.scm (font-ubuntu): Update to 0.83.
2016-03-13 13:16:40 +03:00
Alex Kost e2a3d69003 gnu: manaplus: Update to 1.6.3.12.
* gnu/packages/games.scm (manaplus): Update to 1.6.3.12.
2016-03-13 13:16:23 +03:00
Alex Kost acd62175e2 gnu: git-modes: Update to 1.2.1.
* gnu/packages/emacs.scm (git-modes): Update to 1.2.1.
2016-03-13 12:54:12 +03:00
Efraim Flashner eb4f2cd7e3 gnu: glpk: Update to 4.59.
* gnu/packages/maths.scm (glpk): Update to 4.59.
2016-03-12 23:07:09 +02:00
Mark H Weaver 2c9f0b0770 Merge branch 'master' into security-updates 2016-03-12 15:07:41 -05:00
Efraim Flashner 9591e11a4c gnu: samba: Update to 4.3.6 [fixes CVE-2015-7560, CVE-2016-0771].
* gnu/packages/samba.scm (samba): Update to 4.3.6.
2016-03-12 21:53:03 +02:00
Leo Famulari e1c644a044 gnu: accountsservice: Use HTTPS URL.
* gnu/packages/freedesktop.scm (accountsservice)[source]: Use HTTPS URL.
2016-03-12 12:20:18 -05:00
Andreas Enge dfbe56c36d gnu: mupdf: Update to 1.8.
* gnu/packages/pdf.scm (mupdf): Update to 1.8.
2016-03-12 10:03:38 +01:00
Andreas Enge 8e755b1bcd gnu: mupdf: Simplify package.
* gnu/packages/pdf.scm (mupdf)[source]: Drop patch and part of snippet
  modifying permissions of files added by the patch.
  [arguments]: Use #:make-flags instead of modified build and install phases.
  Drop superfluous module inclusion. Use modify-phases syntax.
* gnu/packages/patches/mupdf-buildsystem-fix.patch: Remove patch.
* gnu-system.am (dist_patch_DATA): Unregister patch.
2016-03-12 09:56:27 +01:00
Danny Milosavljevic 0ede252b66 gnu: Add fluxbox.
* gnu/packages/wm.scm (fluxbox): New variable.

Co-authored-by: Eric Bavier <bavier@member.fsf.org>
2016-03-11 20:43:51 -06:00
Mark H Weaver 81a9653983 gnu: webkitgtk: Update to 2.10.8 [fixes CVE-2016-1726].
* gnu/packages/webkit.scm (webkitgtk): Update to 2.10.8.
2016-03-11 17:59:05 -05:00
Leo Famulari bce6f7ce63 gnu: openexr: Disable broken test to fix build on i686.
* gnu/packages/graphics.scm (openexr)[arguments]: New field.
2016-03-11 15:08:32 -05:00
Christopher Allan Webber b5f990a680 doc: Add footnote about pointing ~/.config/guix/latest at user's checkout
* doc/contributing.texi (Running Guix Before It Is Installed): New footnote.
2016-03-11 08:41:07 -08:00
Ludovic Courtès 66a30a3ea4 gnu: libevent: Update to 2.0.22 [fixes CVE-2015-6525].
* gnu/packages/libevent.scm (libevent): Update to 2.0.22.
2016-03-11 16:33:50 +01:00
Ludovic Courtès 6a25e59514 cve: Read entire CVE databases for the current year and the past year.
The "Modified" database that we were reading is much smaller, but it
only shows CVEs modified over the past week.

* guix/cve.scm (%now, %current-year, %past-year): New variables.
(yearly-feed-uri): New procedure.
(%cve-feed-uri, %ttl): Remove.
(%current-year-ttl, %past-year-ttl): New variables.
(call-with-cve-port): Add 'uri' and 'ttl' parameters and honor them.
Add 'setvbuf' call.
(current-vulnerabilities)[read-vulnerabilities]: New procedure.
Read from both %LAST-YEAR and %CURRENT-YEAR.
2016-03-11 16:33:50 +01:00
Ludovic Courtès ef0f0d5f97 gnu: vorbis-tools: Patch buffer overflow [fixes CVE-2015-6749].
* gnu/packages/patches/vorbis-tools-CVE-2015-6749.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xiph.scm (vorbis-tools)[source]: Use it.
2016-03-11 16:33:50 +01:00
Jan Nieuwenhuizen baacf042fd doc: Suggest `guix.scm' for upstream maintainers.
* doc/guix.texi (Invoking guix package): Suggest `guix.scm'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-03-11 16:33:50 +01:00
Ludovic Courtès cf557afa2e cve: Make CPE patch level part of the version string.
* guix/cve.scm (%cpe-package-rx): Adjust to account for :PATCH-LEVEL.
(cpe->package-name): Likewise.
2016-03-11 16:33:50 +01:00
Nils Gillmann d381962f35 gnu: Add powwow.
* gnu/packages/games.scm (powwow): New variable.
2016-03-11 08:37:11 +08:00
Roel Janssen a0a71439fa gnu: Add bioawk.
* gnu/packages/bioinformatics.scm (bioawk): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-10 18:37:25 -05:00
Mark H Weaver 7bf4bd0991 gnu: linux-libre: Update to 4.4.5.
* gnu/packages/linux.scm (linux-libre): Update to 4.4.5.
2016-03-10 18:17:31 -05:00
Raimon Grau 9514662322 gnu: Add nload.
* gnu/packages/networking.scm (nload): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-10 16:48:16 -05:00
Leo Famulari ff22f01d67 gnu: dropbear: Update to 2016.72 [fixes CVE-2016-3116].
* gnu/packages/ssh.scm (dropbear): Update to 2016.72.
2016-03-10 15:34:05 -05:00
Leo Famulari efa3752964 gnu: openssh: Update to 7.2p2 [fixes CVE-2016-3115].
* gnu/packages/ssh.scm (openssh): Update to 7.2p2.
2016-03-10 15:34:05 -05:00
Efraim Flashner a232ce429e gnu: catch: Update to 1.3.5.
* gnu/packages/check.scm (catch): Update to 1.3.5.
2016-03-10 21:41:24 +02:00
Efraim Flashner 34a6f4dcf9 gnu: cppunit: Update to 1.13.2.
* gnu/packages/check.scm (cppunit): Update to 1.13.2.
[source]: Change to libreoffice's hosted release tarballs.
[home-page]: Change to freedesktop.
2016-03-10 21:25:31 +02:00
Efraim Flashner 591f1d3e4c gnu: lcov: Update to 1.12.
* gnu/packages/code.scm (lcov): Update to 1.12.
2016-03-10 20:20:26 +02:00
Efraim Flashner 1d116171a0 gnu: the-silver-searcher: Update to 0.31.0.
* gnu/packages/code.scm (the-silver-searcher): Update to 0.31.0.
2016-03-10 20:17:50 +02:00
Efraim Flashner 1e42d8b8ba gnu: complexity: Update to 1.10.
* gnu/packages/code.scm (complexity): Update to 1.10.
2016-03-10 20:15:15 +02:00
Efraim Flashner 9720651942 gnu: libass: Update to 0.13.2.
* gnu/packages/video.scm (libass): Update to 0.13.2.
2016-03-10 18:23:40 +02:00
Efraim Flashner 83820c0f10 gnu: obs: Update to 0.13.2.
* gnu/packages/video.scm (obs): Update to 0.13.2.
2016-03-10 18:23:40 +02:00
Mark H Weaver c3499ad6b8 gnu: icecat: Add several security fixes.
* gnu/packages/patches/icecat-CVE-2015-4477.patch,
gnu/packages/patches/icecat-CVE-2015-7207.patch,
gnu/packages/patches/icecat-CVE-2016-1952-pt01.patch,
gnu/packages/patches/icecat-CVE-2016-1952-pt02.patch,
gnu/packages/patches/icecat-CVE-2016-1952-pt03.patch,
gnu/packages/patches/icecat-CVE-2016-1952-pt04.patch,
gnu/packages/patches/icecat-CVE-2016-1952-pt05.patch,
gnu/packages/patches/icecat-CVE-2016-1952-pt06.patch,
gnu/packages/patches/icecat-CVE-2016-1954.patch,
gnu/packages/patches/icecat-CVE-2016-1960.patch,
gnu/packages/patches/icecat-CVE-2016-1961.patch,
gnu/packages/patches/icecat-CVE-2016-1962.patch,
gnu/packages/patches/icecat-CVE-2016-1964.patch,
gnu/packages/patches/icecat-CVE-2016-1965.patch,
gnu/packages/patches/icecat-CVE-2016-1966.patch,
gnu/packages/patches/icecat-CVE-2016-1974.patch,
gnu/packages/patches/icecat-bug-1248851.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patches.
2016-03-10 10:52:41 -05:00
Ludovic Courtès ec278439f3 substitute: Optimize HTTP pipelining over TLS.
* guix/scripts/substitute.scm (http-multiple-get): Write the requests
to a bytevector output port before sending them.
2016-03-10 13:55:30 +01:00
Ludovic Courtès 9b7bd1b160 substitute: Add HTTPS support.
Fixes <http://bugs.gnu.org/22937>.
Reported by Chris Marusich <cmmarusich@gmail.com>.

* guix/scripts/substitute.scm (fetch): Add 'https' alongside 'http'.
Use 'open-connection-for-uri' instead of 'open-socket-for-uri'.  Call
'setvbuf' only when PORT matches 'file-port?'.
(http-multiple-get): Likewise.  Change 'base-url' parameter to
'base-uri'.
(fetch-narinfos)[do-fetch]: Add 'https' case alongside 'http'.  Pass URI
instead of URL to 'http-multiple-get'.
* doc/guix.texi (Requirements): Move GnuTLS one level higher and mention
HTTPS substitutes.
(Substitutes): Mention HTTPS and recommend it.  Explain why servers
are not authenticated.  Add "On Trusting Binaries" subsection.
2016-03-10 13:55:30 +01:00
Efraim Flashner 2f9862ffd0 gnu: isc-dhcp: Update bundled bind to 9.9.8-P4 [fixes CVE-2016-1285, CVE-2016-1286].
* gnu/packages/admin.scm (isc-dhcp): Update bundled bind to 9.9.8-P4.
2016-03-10 09:49:04 +02:00
Efraim Flashner 0d88031c2f gnu: bind-utils: Update to 9.10.3-P4 [fixes CVE-2016-1285, CVE-2016-1286].
* gnu/packages/dns.scm (bind-utils): Update to 9.10.3-P4.
2016-03-10 09:29:55 +02:00
Ricardo Wurmus 82f145ef7a gnu: custom-gcc: Delete broken or conflicting executables.
* gnu/packages/gcc.scm (custom-gcc)[arguments]: Add phase to remove
executables that are non-functional or conflict with the executables of
"gcc".
2016-03-10 07:12:27 +01:00
宋文武 ce6027bf43 gnu: nautilus: Don't propagate gtk+.
* gnu/packages/gnome.scm (nautilus): Move gtk+ from propagated-inputs to inputs.
2016-03-10 08:27:53 +08:00
Ludovic Courtès 204d34ff96 substitute: Error out on unsupported URL schemes.
Reported in <http://bugs.gnu.org/22937>
by Chris Marusich <cmmarusich@gmail.com>.

* guix/scripts/substitute.scm (fetch): Add 'else' case and call 'leave'.
2016-03-09 23:47:49 +01:00
Ludovic Courtès bec7f35214 ui: Do not call 'port-filename' on closed file ports.
* guix/ui.scm (call-with-error-handling)[port-filename*]: New
procedure.
Use it in the 'nar-error?' case.
2016-03-09 23:47:49 +01:00
Andreas Enge 8bcdc23fd0 gnu: texlive: Make texlive-bin and texlive-texmf private.
* gnu/packages/texlive.scm (texlive-bin, texlive-texmf): Define the variables
  as non-public; they should not be installed into a profile.
2016-03-09 22:36:45 +01:00
Andreas Enge fde6060347 gnu: po4a: Use texlive-minimal instead of texlive-bin.
* gnu/packages/gettext.scm (po4a)[inputs]: Replace texlive-bin by
  texlive-minimal.
2016-03-09 22:36:45 +01:00
Andreas Enge aad375c9bc gnu: statistics: Remove import of unused texlive module.
* gnu/packages/statistics.scm: Do not import (gnu packages texlive).
2016-03-09 22:36:45 +01:00
Andreas Enge 289adba7a3 gnu: gnuplot: Use texlive-minimal instead of texlive-bin.
* gnu/packages/maths.scm (gnuplot)[inputs]: Replace texlive-bin by
  texlive-minimal.
2016-03-09 22:36:45 +01:00
Tobias Geerinckx-Rice fb9ca51130 gnu: simple-scan: Update to 3.19.91.
* gnu/packages/gnome.scm (simple-scan): Update to 3.19.91.
[arguments]: Add 'clean' phase.
2016-03-09 15:55:33 -05:00
Mark H Weaver f97334220c gnu: pidgin-otr: Update to 4.0.2.
* gnu/packages/messaging.scm (pidgin-otr): Update to 4.0.2.
2016-03-09 15:51:16 -05:00
Andreas Enge 5adb3a4db4 gnu: libotr: Remove version 3.2.1.
* gnu/packages/messaging.scm (libotr-3): Remove variable.
2016-03-09 21:31:18 +01:00
Leo Famulari 89e58e8e8c libotr: Update to 4.1.1 [fixes CVE-2016-2851].
* gnu/packages/messaging.scm (libotr): Update to 4.1.1.
[native-inputs]: New field.
2016-03-09 15:19:50 -05:00
Ludovic Courtès f5a9103991 gnu: dbus: Incorporate "dbus-helper-search-path.patch".
* gnu/packages/glib.scm (dbus)[source]: Apply
"dbus-helper-search-path.patch".
(dbus/activation): Remove.
* gnu/services/dbus.scm (<dbus-configuration>)[dbus]: Default to DBUS.
(dbus-service): Likewise.
2016-03-09 15:31:23 +01:00
Ludovic Courtès 255f730879 gnu: eudev: Add dependency on blkid.
* gnu/packages/linux.scm (eudev)[inputs]: Add UTIL-LINUX.
(eudev-with-blkid): Remove.
* gnu/services/base.scm (udev-service): Use EUDEV instead of
EUDEV-WITH-BLKID.
* gnu/system.scm (%base-packages): Likewise.
2016-03-09 15:26:09 +01:00
Ludovic Courtès 297a36abfc gnu: graphite2: Update to 1.3.6.
* gnu/packages/fontutils.scm (graphite2)[replacement]: Remove.
[version, source]: Update to 1.3.6.
(graphite2-1.3.6): Remove.
2016-03-09 15:23:12 +01:00
Ludovic Courtès 4cff124bbf gnu: openssl: Update to 1.0.2g.
* gnu/packages/tls.scm (openssl)[replacement]: Remove.
[version, source]: Bump to 1.0.2g.  Use "openssl-c-rehash-in.patch"
instead of "openssl-c-rehash.patch".
(openssl-1.0.2g): Remove.
* gnu-system.am (dist_patch_DATA): Remove "openssl-c-rehash.patch".
2016-03-09 15:20:34 +01:00
Ludovic Courtès 4d1a35fabc gnu: perl: Incorporate patch for CVE-2016-2381.
* gnu/packages/perl.scm (perl)[source]: Add "perl-CVE-2016-2381.patch".
[replacement]: Remove.
(perl-fixed): Remove.
2016-03-09 15:17:12 +01:00
Ludovic Courtès 6da23c0429 gnu: complexity: Update to 1.9.
* gnu/packages/code.scm (complexity): Update to 1.9.
2016-03-09 15:10:20 +01:00
Ludovic Courtès f1eacbafc4 upstream: Fix 'signature-urls' coalescing.
Previously, the resulting 'signature-urls' would contain N times the
same URL.

* guix/upstream.scm (coalesce-sources): Fix TWO in 'signature-urls'.
* tests/upstream.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
2016-03-09 15:08:00 +01:00
Ludovic Courtès 1ddee42472 doc: Add note on store immutability.
* doc/guix.texi (The Store): Mention "store items" and the database
location.  Add note on the store's immutability.
2016-03-09 14:49:28 +01:00
Efraim Flashner 00eb9fa3e2 gnu: Add liblangtag.
* gnu/packages/libreoffice.scm (liblangtag): New variable.

Co-authored-by: Andreas Enge <andreas@enge.fr>
2016-03-09 14:27:19 +01:00
Andreas Enge ebc816311c gnu: libreoffice: Enable parallel build.
* gnu/packages/libreoffice.scm (libreoffice)[arguments]: Enable parallel
  build.
2016-03-09 14:27:19 +01:00
Ludovic Courtès 112024826d system: Explicitly set umask to 022 in /etc/profile.
Fixes <http://bugs.gnu.org/22650>.
Reported by myglc2 <myglc2@gmail.com>.

* gnu/system.scm (operating-system-etc-service)[profile]: Invoke
'umask'.
2016-03-08 23:30:53 +01:00
Ludovic Courtès 5284339d9d guix build: Add '--quiet'.
Fixes <http://bugs.gnu.org/19772>.
Reported by Andrei Osipov <andrspv@gmail.com>.

* guix/scripts/build.scm (show-help, %options): Add --quiet.
(guix-build): Parameterize 'current-build-output-port' accordingly.
* doc/guix.texi (Invoking guix build): Use it in example.
(Additional Build Options): Document it.
2016-03-08 22:00:17 +01:00
Ludovic Courtès efb107e0cd packages: Gracefully report packages not found.
Fixes a thinko introduced in 1b846da8c3
that would lead to a backtrace when looking for an unknown package.

* gnu/packages.scm (%find-package): Correct logic when checking for
FALLBACK?.
2016-03-08 11:48:21 +01:00
Ludovic Courtès 95cd4971d0 packages: Support the deprecated "NAME-VERSION" syntax.
Fixes a typo introduced in 1b846da8c3 that
would lead to a backtrace when using the deprecated syntax.

* gnu/packages.scm (%find-package): Turn the first argument to
'call-with-values' into a thunk.  Use #:select instead of '@' to select
the right 'package-name->name+version' procedure.
2016-03-08 11:38:46 +01:00
Ludovic Courtès 7befee308b packages: Clarify NAME-VERSION deprecation message.
* gnu/packages.scm (%find-package): Clarify message; remove trailing
period.
2016-03-08 11:36:16 +01:00
Ludovic Courtès 16210486e6 guix system: Write the GC root on the target file system.
Fixes <http://bugs.gnu.org/22802>.
Reported by Jookia <166291@gmail.com>.

* guix/scripts/system.scm (install-grub*): Prepend TARGET to GC-ROOT.
2016-03-08 11:11:28 +01:00
Ludovic Courtès 16f4acbddb emacs: Gracefully handle wrong package names passed to 'guix-edit'.
Fixes <http://bugs.gnu.org/22933>.

* emacs/guix-main.scm (package-location-string): Rewrite to handle the
case where 'packages-by-name' returns the empty list.

Co-authored-by: Mathieu Lirzin <mthl@gnu.org>
2016-03-08 11:11:28 +01:00
Efraim Flashner e224495ce1 gnu: jasper: Add fixes for CVE-2016-1577, CVE-2016-2089, CVE-2016-2116.
* gnu/packages/patches/jasper-CVE-2016-1557.patch,
gnu/packages/patches/jasper-CVE-2016-2089.patch,
gnu/packages/patches/jasper-CVE-2016-2116.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/image.scm (jasper)[source]: Add patches.
2016-03-08 11:54:58 +02:00
Leo Famulari 165e0382b3 gnu: libreoffice: Update to 5.0.5.2 [fixes CVE-2016-{0794, 0795}].
* gnu/packages/libreoffice.scm (libreoffice): Update to 5.0.5.2.
2016-03-07 22:55:45 -05:00
Mark H Weaver a90d24715b gnu: linux-libre: Update to 4.1.19.
* gnu/packages/linux.scm (linux-libre): Update to 4.1.19.
2016-03-07 19:17:39 -05:00
Mark H Weaver ac00a3d897 gnu: linux-libre: Update to 4.4.4.
* gnu/packages/linux.scm (linux-libre): Update to 4.4.4.
2016-03-07 19:17:39 -05:00
Ludovic Courtès ced71ac7a7 packages: Cache the result of 'input-grafts'.
This reduces the wall-clock time of

  guix environment gnutls --pure -E true

by ~35%.

* guix/packages.scm (%graft-cache): New variable.
(input-graft): Use 'cached' to cache to %GRAFT-CACHE.
2016-03-08 00:01:13 +01:00
Ludovic Courtès 9775412ee0 packages: Cache the result of 'package->bag'.
This reduces the wall-clock time of

  guix environment gnutls --pure -E true

by ~25%.

* guix/packages.scm (%bag-cache): New variable.
(package->bag): Use 'cached' to cache things to %BAG-CACHE.
2016-03-08 00:01:13 +01:00
Ludovic Courtès 198d84b70b packages: Generalize the 'cached' macro.
* guix/packages.scm (cache): Rename to...
  (cache!): ... this.  Add 'cache' parameter, and use it.
  (cached): Add a rule to allow the cache to be specified.
2016-03-08 00:01:13 +01:00
Andy Wingo ef7516aa04 gnu: network-manager: Update to 1.0.10.
* gnu/packages/gnome.scm (network-manager): Update to 1.0.10.
  (network-manager-applet): Likewise.
  (%network-manager-glib-duplicate-test-patch): Remove.
2016-03-07 21:15:37 +01:00
Andy Wingo b4f59d87a6 gnu: network-manager: Disable failing tests.
* gnu/packages/gnome.scm (network-manager): Add pre-configure phase.
2016-03-07 21:14:23 +01:00
Andy Wingo c42602b5cb gnu: elogind: Update to 219.13.
* gnu/packages/freedesktop.scm (elogind): Update to 219.13.  Remove
  build fix that is no longer needed.  Update home page.
2016-03-07 21:10:00 +01:00
Andy Wingo a7e50a2a03 gnu: system: Add elogind cgroup mount.
* gnu/system/file-systems.scm (%elogind-file-systems): Add elogind
  cgroup mount.
2016-03-07 21:10:00 +01:00
Ricardo Wurmus 0e2f2aebed gnu: Add Blender.
* gnu/packages/graphics.scm (blender): New variable.
2016-03-07 20:58:25 +01:00
宋文武 201cfb81d1 gnu: Add gst-python.
* gnu/packages/gstreamer.scm (python-gst, python2-gst): New variables.
2016-03-07 09:57:20 +08:00
宋文武 fa7cf82ebe gnu: python-pygobject: Propagate glib and libffi.
* gnu/packages/glib.scm (python-pygobject): Move glib and libffi to propagated-inputs.
(python2-pygobject)[inputs]: Remove glib and libffi.
2016-03-07 09:57:20 +08:00
宋文武 e28f95a963 gnu: python-pygobject: Add search path for GI_TYPELIB_PATH.
* gnu/packages/glib.scm (python-pygobject)[native-search-paths]: Use the
same search paths as gobject-introspection.
2016-03-07 09:57:20 +08:00
宋文武 b3585d9bda gnu: orc: Update to 0.4.25.
* gnu/packages/gstreamer.scm (orc): Update to 0.4.25.
2016-03-07 09:57:20 +08:00
宋文武 60a0886d72 services: Use 'packages->manifest' in 'packages->profile-entry'.
This allows using (PACKAGE OUTPUT) in the packages field.
Reported by Jan Nieuwenhuizen <janneke@gnu.org>.

* gnu/services.scm (packages->profile-entry): Use 'packages->manifest'.
2016-03-07 09:57:20 +08:00
Ludovic Courtès 956ad60cad services: elogind: Rely on D-Bus activation.
Previously elogind was explicitly spawned by the Shepherd.  Now it is
activated by dbus-daemon on demand.

* gnu/packages/freedesktop.scm (elogind)[arguments]: Add
'fix-service-file' phase.
* gnu/services/desktop.scm (elogind-shepherd-service): Remove.
(elogind-dbus-service): New procedure.
(elogind-service-type): Do not extend SHEPHERD-ROOT-SERVICE-TYPE.  Use
'elogind-dbus-service' for DBUS-ROOT-SERVICE-TYPE.
2016-03-07 00:01:03 +01:00
Ludovic Courtès ef8de9852e tests: Disable grafting by default for most tests.
This allows tests to run as expected even in the presence of
replacements among the bootstrap packages, such as Perl (commit
d8173f21f7).

* tests/cpan.scm: Add (%graft? #f).
* tests/derivations.scm: Likewise.
* tests/graph.scm: Likewise.
* tests/monads.scm: Likewise.
* tests/profiles.scm: Likewise.
* tests/gexp.scm: Likewise.
("gexp->derivation vs. grafts"): Explicitly reenable grafting before,
and disable it after, using 'set-grafting'.
2016-03-06 23:16:35 +01:00
Ludovic Courtès 322bb53c7a import: snix: Use the right 'package-name->name+version'.
Fixes a regression introduced in
1b846da8c3.

* guix/import/snix.scm: Use 'package-name->name+version' from (guix
build utils).
2016-03-06 23:16:35 +01:00
Ricardo Wurmus afadb05e58 gnu: alsa-modular-synth: Insert space to separate linker flags.
* gnu/packages/audio.scm (alsa-modular-synth)[arguments]: Add build
phase to separate linker flags.
2016-03-06 21:17:05 +01:00
Ricardo Wurmus ee6a88b118 gnu: alsa-modular-synth: Drop Qt 4.
* gnu/packages/audio.scm (alsa-modular-synth)[inputs]: Replace "qt-4"
with "qt".
[arguments]: Add configure flag to build with Qt 5.
2016-03-06 21:17:05 +01:00
Ludovic Courtès 59a4dd509b doc: Explain how to check whether security updates are used.
Based on
<https://lists.gnu.org/archive/html/guix-devel/2016-03/msg00009.html>.

* doc/guix.texi (Security Updates): Explain how to check whether we're
using a grafted version.
2016-03-05 22:53:40 +01:00
Ludovic Courtès dd78e90a4d store: 'references/substitutes' correctly handles the order of substitutes.
Before that, 'references/substitutes' would assume that
'substitutable-path-info' would return things in the same order as its
arguments, which is not the case.  Thus, it would sometimes provide
incorrect reference information, occasionally leading to infinite
loop (because dependency information would denote cycles.)

Fixes <http://bugs.gnu.org/22914>.
Reported by Eric Bavier <ericbavier@openmailbox.org>.

* guix/store.scm (references/substitutes): Make ITEMS the first argument
of the loop; match on it.  Use 'any' to find a matching substitute.
(substitutable-path-info): Clarify docstring about ordering.
2016-03-05 22:53:40 +01:00
Andreas Enge 451b5c5dc6 gnu: vigra: Update to a development snapshot.
* gnu/packages/image.scm (vigra): Update to a git snapshot to fix build
  problems with the current python-numpy.
2016-03-05 19:09:42 +01:00
Andreas Enge d7c4619bd1 gnu: Add einstein.
* gnu/packages/games.scm (einstein): New variable.
* gnu/packages/patches/einstein-build.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
2016-03-05 18:44:43 +01:00
Andreas Enge 1068f26b79 doc: Typos and small stylistic changes.
* guix.texi: Correct typos and make minor changes.
2016-03-05 16:27:35 +01:00
Andreas Enge 03d55eeca7 gnu: jalv: Drop Qt-4 support.
* gnu/packages/audio.scm (jalv)[inputs]: Drop qt-4. It does not receive any
  upstream security updates, and Qt-4 support is marked as experimental in
  the jalv documentation.
2016-03-05 12:20:09 +01:00
Ludovic Courtès b4c42a4b07 tests: Disable tests that would rebuild the world due to grafting.
The Perl replacement added in d8173f2 leads some tests to involve
grafting, which in turn triggers derivation builds that rebuild the
world.  Work around that.

* tests/packages.scm: Add call to '%graft?'.
("package-derivation, direct graft")
("package-cross-derivation, direct graft"): Comment out.
2016-03-05 00:19:10 +01:00
Ludovic Courtès d4da602e4c grafts: Memoize intermediate results in 'cumulative-grafts'.
The time for:

  guix build inkscape -n --no-substitutes

goes down by 30% (in the presence of 3 replacements among all the
packages.)

* guix/grafts.scm (cumulative-grafts): Turn into a monadic procedure in
%STATE-MONAD.  Use the current state as a derivation-to-graft cache.
(graft-derivation): Call 'cumulative-grafts' within 'run-with-state'.
2016-03-05 00:19:10 +01:00
Ludovic Courtès fcadd9ff9d packages: The result of 'bag-grafts' does not contain duplicates.
* guix/packages.scm (bag-grafts): Add call to 'delete-duplicates'.
2016-03-05 00:19:10 +01:00
Ludovic Courtès c90cb5c9d8 grafts: Use dependency information from substitutes when possible.
This avoids starting derivation builds just for the sake of knowing the
references of their outputs, thereby restoring the expected behavior of
--dry-run when substitutes are available.

* guix/grafts.scm (non-self-references): Remove 'store' parameter, and
add 'references'.  Use it.  Update caller.
(references-oracle): New variable.
(cumulative-grafts): Add 'references' parameter and use it.  Update
callers.
(graft-derivation): Remove 'build-derivations' call.  Add call to
'references-oracle'.
2016-03-05 00:19:10 +01:00
Ludovic Courtès 6581ec9ab9 store: Add 'references/substitutes'.
* guix/store.scm (references/substitutes): New procedure.
* tests/store.scm ("references/substitutes missing reference info")
("references/substitutes with substitute info"): New tests.
2016-03-05 00:19:10 +01:00
Ludovic Courtès 7bfeb9df20 tests: Narinfos can specify an non-empty reference list.
* guix/tests.scm (derivation-narinfo): Add #:references and honor it.
(call-with-derivation-narinfo, call-with-derivation-substitute):
Likewise.
(with-derivation-narinfo, with-derivation-substitute): Add 'references'
keyword.
2016-03-05 00:19:10 +01:00
Ludovic Courtès c8f9f24776 guix build: Set the build options early.
This fixes a bug whereby, with grafts leading to builds very early,
build options such as --substitute-urls would not be taken into account
yet.

Reported by Andreas Enge <andreas@enge.fr>.

* guix/scripts/build.scm (guix-build): Move 'opts' to the beginning.
Use 'with-store' instead of 'open-connection'.  Call
'set-build-options-from-command-line' right after 'with-store'.
2016-03-05 00:19:10 +01:00
Leo Famulari eda0522aab gnu: letsencrypt, python-acme: Update to 0.4.2.
These packages should be updated together.

* gnu/packages/tls.scm (letsencrypt): Update to 0.4.2.
(python-acme, python2-acme): Update to 0.4.2.
2016-03-04 18:10:00 -05:00
Leo Famulari 65f1b8a591 gnu: python-cryptography, python-cryptography-vectors: Update to 1.2.3.
These packages should be updated together.

* gnu/packages/python.scm (python-cryptography): Update to 1.2.3.
(python-cryptography-vectors): Update to 1.2.3.
2016-03-04 18:09:20 -05:00
Ludovic Courtès 44abcb2868 doc: Mention syslogd configuration.
* gnu/services/base.scm (syslog-service): Add xref to Inetutils in the
docstring.
(%default-syslog.conf): Export.
* doc/guix.texi (Base Services): Update accordingly.
2016-03-04 11:48:52 +01:00
Ludovic Courtès 4ce783a2f9 lint: cve: Gracefully handle HTTP errors.
* guix/scripts/lint.scm (current-vulnerabilities*): New procedure.
(package-vulnerabilities): Use it.
2016-03-04 11:48:52 +01:00
Ludovic Courtès fe4e698d77 gnu: gnome: Sync description and synopsis.
* gnu/packages/gnome.scm (gnome)[synopsis, description]: Use official
GNU blurb.
2016-03-04 11:48:52 +01:00
Ludovic Courtès ffaf83dfb1 gnu: nano: Update to 2.5.3.
* gnu/packages/nano.scm (nano): Update to 2.5.3.
2016-03-04 11:48:52 +01:00
Ludovic Courtès 4978ffcfc2 gnu: libgit2: Update to 0.23.4.
* gnu/packages/version-control.scm (libgit2): Update to 0.23.4.
2016-03-04 11:48:52 +01:00
Ludovic Courtès 9c7e7eadfa gnu: findnewest: Update to 0.3.
* gnu/packages/version-control.scm (findnewest): Update to 0.3.
2016-03-04 11:48:52 +01:00
Alex Kost db0c709b9a emacs: Use '@' to separate package names and version numbers.
This is a followup to commit 1b846da8c3.

* emacs/guix-base.el (guix-package-name-specification): Use "@" instead
of "-".
* emacs/guix-main.scm (name+version->full-name): Likewise.
(package-inputs-names): Use 'make-package-specification' instead of
'package-full-name'.
(full-name->name+version): Update the docstring.
* emacs/guix-ui-package.el (guix-packages-by-name): Likewise.
2016-03-04 13:17:36 +03:00
Alex Kost b8fa5a2ae8 emacs: hydra: Use '-' to separate job names and version numbers.
* emacs/guix-hydra.el (guix-hydra-job-name-specification): New procedure.
* emacs/guix-ui-package.el (guix-package-info-insert-systems)
(guix-package-list-latest-builds): Use it.
2016-03-04 13:17:36 +03:00
Leo Famulari c7658f8f2c gnu: exim: Update to 4.86.2 [fixes CVE-2016-1531].
* gnu/packages/mail.scm (exim): Update to 4.86.2.
2016-03-03 20:38:47 -05:00
David Thompson 4a52671131 gnu: Add byzanz.
* gnu/packages/gnome.scm (byzanz): New variable.
2016-03-03 20:23:07 -05:00
Ludovic Courtès abd678565e doc: Improve Info categories.
* doc/guix.texi: Change main category to "System administration".  Fix
syntax of subnodes.  Add entries for 'guix pull' and 'guix gc'.  Add
"Emacs" category.
2016-03-03 23:54:36 +01:00
Ludovic Courtès 5c7e1a3270 build: Use (guix grafts) as needed.
This is a followup to 7adf9b8.

* build-aux/check-final-inputs-self-contained.scm: Use (guix grafts).
* build-aux/check-available-binaries.scm: Likewise.
2016-03-03 23:54:36 +01:00
Efraim Flashner 50b66bf1b0 gnu: youtube-dl: Update to 2016.03.01.
* gnu/packages/video.scm (youtube-dl): Update to 2016.03.01.
2016-03-03 22:55:46 +02:00
Efraim Flashner 581873b55d gnu: mpv: Update to 0.16.0.
* gnu/packages/video.scm (mpv): Update to 0.16.0.
2016-03-03 22:53:37 +02:00
Leo Famulari d8173f21f7 gnu: perl: Replace with patched version [fixes CVE-2016-2381].
* gnu/packages/patches/perl-CVE-2016-2381.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/perl.scm (perl)[replacement]: New field.
(perl-fixed): New variable.
* gnu/packages/commencement.scm (perl-boot0)[replacement]: New field.
2016-03-03 14:56:23 -05:00
Efraim Flashner 7b3f2682de gnu: irssi: Support proxy, socks, bot.
* gnu/packages/irc.scm (irssi)[arguments]: Add configure flags to
support proxy, socks and bot.
2016-03-03 19:04:31 +02:00
Efraim Flashner fd41741bdc gnu: irssi: Update to 0.8.18.
* gnu/packages/irc.scm (irssi): Update to 0.8.18.
[source]: Update uri.
2016-03-03 19:04:31 +02:00
Ludovic Courtès 7016184245 build: Build (guix import github) only when Guile-JSON is available.
Reported by Justus Winter <justus@gnupg.org>.

* Makefile.am (MODULES): Add guix/import/github.scm only when
HAVE_GUILE_JSON.
2016-03-03 17:46:58 +01:00
Justus Winter 8a56a3d7a3 po: Drop removed file 'weechat.scm'.
Fixes <http://bugs.gnu.org/22888>.
weechat has been merged into 'irc.scm' in e288f007.

* po/packages/POTFILES.in: Drop removed file 'weechat.scm'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-03-03 17:42:47 +01:00
Petter d0a65256a3 system: GRUB menu entry says "beta" instead of "alpha"
* gnu/system.scm (kernel->grub-label): Change "alpha" to "beta'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-03-03 17:42:47 +01:00
Ludovic Courtès 16cc99610d system: Add rfkill to '%base-packages'.
* gnu/system.scm (%base-packages): Add RFKILL.
2016-03-03 17:42:47 +01:00
Ricardo Wurmus 649e9b3b47 gnu: python-pysam: Move cython and setuptools to native inputs.
* gnu/packages/bioinformatics.scm (python-pysam)[inputs]: Move
"python-cython" and "python-setuptools" from here...
[native-inputs]: ... to here.
2016-03-03 13:47:19 +01:00
Ricardo Wurmus 3acb8c857c gnu: deeptools: Update to 2.1.1.
* gnu/packages/bioinformatics.scm (deeptools): Update to 2.1.1.
[inputs]: Add "python2-numpydoc" and "python2-pybigwig".
2016-03-03 13:47:12 +01:00
Ricardo Wurmus 14bda1ff49 gnu: deeptools: Change "propagated-inputs" to "inputs".
* gnu/packages/bioinformatics.scm (deeptools)[propagated-inputs]: Move
all inputs from here...
[inputs]: ...to here.
2016-03-03 13:47:02 +01:00
Ricardo Wurmus 69e0e03c36 gnu: Add python-pybigwig.
* gnu/packages/bioinformatics.scm (python-pybigwig, python2-pybigwig):
  New variables.
2016-03-03 13:46:52 +01:00
Ricardo Wurmus d454640c38 gnu: python-pysam: Update to 0.8.4.
* gnu/packages/bioinformatics.scm (python-pysam): Update to 0.8.4.
2016-03-03 13:46:39 +01:00
Ricardo Wurmus 55a9a8c2b9 gnu: python-pysam, python2-pysam: Move to bioinformatics.scm.
* gnu/packages/python.scm (python-pysam, python2-pysam): Move to...
* gnu/packages/bioinformatics.scm (python-pysam, python2-pysam):
  ...here.
2016-03-03 13:46:26 +01:00
Ludovic Courtès 937690f909 lint: derivation: Disable grafts, but check replacements.
* guix/scripts/lint.scm (check-derivation): Pass #:graft? #f.  When
'package-replacement' exists, compute its derivation.
2016-03-03 09:46:17 +01:00
Lukas Gradl e90819c40a gnu: Add procmail.
* gnu/packages/patches/procmail-ambiguous-getline-debian.patch: New file.
 * gnu-system.am (dist_patch_DATA): Add it.
 * gnu/packages/mail.scm (procmail): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-02 20:44:18 -05:00
Ludovic Courtès 94d609aba8 guix build: -S returns the replacement's source.
Reported by Mark H Weaver.

* guix/scripts/build.scm (options->derivations): When SRC and GRAFT? are
true, use the source of P's replacement.
* tests/guix-build.sh: Add test.
2016-03-03 00:18:30 +01:00
Ludovic Courtès 49c4fd2aab hydra: Completely disable grafting.
* build-aux/hydra/gnu-system.scm (hydra-jobs): Parameterize '%graft?'.
Build package replacements when they are available.
2016-03-03 00:18:30 +01:00
Ludovic Courtès f8187bde7f hydra: Improve readability.
* build-aux/hydra/gnu-system.scm (hydra-jobs): Use 'filter-map' instead
of directly 'fold-packages'.
2016-03-03 00:18:30 +01:00
Mathieu Lirzin 1b846da8c3 utils: Use '@' for separating package names and version numbers.
This provides the ability to use numbers in package names.

Fixes <http://bugs.gnu.org/19219>.

* guix/utils.scm (package-name->name+version): New procedure.
* gnu/packages.scm (%find-package): Add a FALLBACK? keyword argument.
Use the previous method when no package is found.
(specification->package+output, specification->package): Adapt
documentation to new syntax.
* doc/guix.texi (Invoking guix package, Invoking guix import): Likewise.
* guix/ui.scm (package-specification->name+version+output): Likewise.
* guix/scripts/import/hackage.scm (show-help): Likewise.
* tests/guix-build.sh: Adapt to new syntax.
* tests/guix-lint.sh: Likewise.
* tests/guix-package.sh: Likewise.
* tests/ui.scm ("package-specification->name+version+output"): Likewise.
* tests/utils.scm ("package-name->name+version"): Likewise.
* NEWS: Mention new syntax.
2016-03-02 21:41:41 +01:00
Mathieu Lirzin fad155d47e packages: Factorize package specification search.
* gnu/packages.scm (%find-package): New procedure.
(specification->package, specification->package+output): Use it.
2016-03-02 21:41:41 +01:00
Mark H Weaver b134a80c36 gnu: icecat: Update bundled graphite2 to 1.3.6 [unspecified security fixes].
* gnu/packages/patches/icecat-update-graphite2-pt2.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patch.
2016-03-02 15:13:15 -05:00
Mark H Weaver bd009cd95d gnu: nss: Update to 3.21.1.
* gnu/packages/gnuzilla.scm (nss): Update to 3.21.1.
2016-03-02 15:13:14 -05:00
Mark H Weaver d47ad0890c gnu: graphite2: Replace with 1.3.6 [unspecified security fixes].
See <https://bodhi.fedoraproject.org/updates/FEDORA-2016-dec1faadc5>

* gnu/packages/fontutils.scm (graphite2)[replacement]: New field.
(graphite2-1.3.6): New variable.
2016-03-02 15:12:18 -05:00
Jessica Tallon c285a400a2 gnu: Add password-store.
* gnu/packages/password-utils.scm (password-store): New variable.

Co-authored-by: Andreas Enge <andreas@enge.fr>
Co-authored-by: Leo Famulari <leo@famulari.name>
2016-03-02 14:18:51 -05:00
Roel Janssen dd6e70f920 gnu: Add cppcheck.
* gnu/packages/check.scm (cppcheck): New variable.
2016-03-02 15:17:56 +01:00
Ludovic Courtès 442a6ff5ea tests: Disable grafts by default.
Fixes <http://bugs.gnu.org/22872>.
Reported by myglc2 <myglc2@gmail.com>.

* test-env.in: Define and export 'GUIX_BUILD_OPTIONS'.
* tests/guix-build.sh: When setting 'GUIX_BUILD_OPTIONS', make sure it
contains '--no-grafts'.
* tests/guix-package.sh: Likewise.
* tests/guix-daemon.sh: Add (%graft? #f) in Scheme snippets.
2016-03-02 14:47:07 +01:00
Ludovic Courtès 637cd12543 graph: Ignore 'GUIX_BUILD_OPTIONS'.
Previously 'GUIX_BUILD_OPTIONS' would be honored, but 'guix graph' does
not support the common build options.

* guix/scripts/graph.scm (guix-graph): Use 'args-fold*' instead of
'parse-command-line'.
2016-03-02 14:47:07 +01:00
Ludovic Courtès 7573d30ff8 guix build: Move '--no-grafts' to the common build options.
* guix/scripts/build.scm (%options): Move --no-grafts to...
(%standard-build-options): ... here.
(show-help, show-build-options-help): Adjust accordingly.
* guix/scripts/archive.scm (%default-options): Add 'graft?'.
(guix-archive): Parametrize '%graft?'.
* guix/scripts/environment.scm (%default-options): Add 'graft?'.
(guix-environment): Parametrize '%graft?'.
* guix/scripts/package.scm (%default-options): Add 'graft?'.
(guix-package): Parametrize '%graft?'.
* guix/scripts/system.scm (%default-options): Add 'graft?'.
(guix-system): Parametrize 'graft?'.
* doc/guix.texi (Additional Build Options): Move --no-grafts to...
(Common Build Options): ... here.
2016-03-02 14:47:07 +01:00
Ludovic Courtès 1cbdf82d3b guix archive: Use 'with-store'.
* guix/scripts/archive.scm (guix-archive): Use 'with-store' instead of
an explicit 'open-connection'.
2016-03-02 14:47:07 +01:00
Mark H Weaver ed742bc4b4 gnu: openssl: Enable ssl2 at build time to ensure ABI compatible graft.
Fixes <https://debbugs.gnu.org/22876>
Reported by Christopher Allan Webber <cwebber@dustycloud.org>.

* gnu/packages/tls.scm (openssl-1.0.2g)[arguments]: Override the inherited
  'configure' phase to add "enable-ssl2" as an argument to ./config.
2016-03-02 01:58:42 -05:00
Leo Famulari eb8065cd27 gnu: ilmbase: Fix typo in adding a patch.
* gnu-system.am (dist_patch_DATA): Fix typo.
5e8276dcf4
2016-03-01 20:47:11 -05:00
宋文武 6150b5c780 gnu: xfce: Don't wrap 'startxfce4'.
The necessary environment variables are set by 'etc/profile' now.

* gnu/packages/xfce.scm (xfce)[build-system]: Use 'trivial-build-system'.
[arguments]: Simplify.
2016-03-02 08:32:47 +08:00
Leo Famulari 5e8276dcf4 gnu: ilmbase: Add patch to fix build on i686.
Fixes <http://bugs.gnu.org/22049>.

* gnu/packages/patches/ilmbase-fix-tests.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/graphics.scm (ilmbase)[source]: Add patch.
2016-03-01 19:08:31 -05:00
Leo Famulari 88ccca45f6 gnu: openssh: Update to 7.2p1.
* gnu/packages/ssh.scm (openssh): Update to 7.2p1.
2016-03-01 16:32:41 -05:00
Leo Famulari 599860d2b9 gnu: libressl: Update to 2.2.6.
* gnu/packages/tls.scm (libressl): Update to 2.2.6.
2016-03-01 16:30:13 -05:00
Leo Famulari 043c3f0bed gnu: parallel: Update to 20160222.
* gnu/packages/parallel.scm (parallel): Update to 20160222.
2016-03-01 15:15:38 -05:00
Pjotr Prins f82c8c3cba gnu: r-go-db: Bioconductor changed URL for data downloads.
* gnu/packages/bioinformatics.scm (r-go-db)[source]: Update data URL.
2016-03-01 19:47:26 +02:00
Pjotr Prins 27acfaea4c gnu: r-iranges: Update to 2.4.8.
* gnu/packages/bioinformatics.scm (r-iranges): Update to 2.4.8.
2016-03-01 19:47:26 +02:00
Pjotr Prins 8921841da8 gnu: r-s4vectors: Update to 0.8.11.
* gnu/packages/bioinformatics.scm (r-s4vectors): Update to 0.8.11.
2016-03-01 19:47:25 +02:00
Pjotr Prins b70fa3c7f7 gnu: r-ggplot2: Update to 2.0.0.
* gnu/packages/statistics.scm (r-ggplot2): Update to 2.0.0.
2016-03-01 19:47:24 +02:00
Ludovic Courtès caeadfddb0 gnu: openssl: Replace with 1.0.2g [fixes CVE-2016-{0800,0705,0798,0797,0799,0702,0703,0704}].
See <http://openssl.org/news/secadv/20160301.txt>.
Also fixes <http://bugs.gnu.org/22831>.

* gnu/packages/patches/openssl-c-rehash-in.patch: New file.
* gnu/packages/tls.scm (openssl)[replacement]: New field.
(openssl-1.0.2g): New variable.
2016-03-01 16:00:46 +01:00
Ludovic Courtès c22a1324e6 grafts: Graft recursively.
Fixes <http://bugs.gnu.org/22139>.

* guix/grafts.scm (graft-derivation): Rename to...
(graft-derivation/shallow): ... this.
(graft-origin-file-name, item->deriver, non-self-references)
(cumulative-grafts, graft-derivation): New procedures
* tests/grafts.scm ("graft-derivation, grafted item is a direct
dependency"): Clarify title.  Use 'grafted' instead of 'graft' to refer
to the grafted derivation.
("graft-derivation, grafted item is an indirect dependency")
("graft-derivation, no dependencies on grafted output"): New tests.
* guix/packages.scm (input-graft): Change to take a package instead of
an input.
(input-cross-graft): Likewise.
(fold-bag-dependencies): New procedure.
(bag-grafts): Rewrite in terms of 'fold-bag-dependencies'.
* tests/packages.scm ("package-derivation, indirect grafts"): Comment out.
* doc/guix.texi (Security Updates): Mention run-time dependencies and
recursive grafting.
2016-03-01 16:00:46 +01:00
Efraim Flashner d06fc008bd gnu: tiled: Use 'modify-phases'.
* gnu/packages/game-development.scm (tiled)[arguments]: Use 'modify-phases'.
2016-03-01 14:55:55 +02:00
Efraim Flashner e8ea01d902 gnu: tiled: Update to 0.15.1.
* gnu/packages/game-development.scm (tiled): Update to 0.15.1.
2016-03-01 14:55:55 +02:00
Ricardo Wurmus d1e32822b4 gnu: Add PePr.
* gnu/packages/bioinformatics.scm (pepr): New variable.
2016-03-01 11:51:24 +01:00
Ricardo Wurmus d29150b55d gnu: Add bwa-pssm.
* gnu/packages/bioinformatics.scm (bwa-pssm): New variable.
2016-03-01 10:31:04 +01:00
Ricardo Wurmus b4464d384c gnu: Add gdsl.
* gnu/packages/datastructures.scm (gdsl): New variable.
2016-03-01 10:30:04 +01:00
Efraim Flashner e288f0075c gnu: weechat: Move to irc.scm.
* gnu/packages/weechat.scm (weechat): Move from here ...
* gnu/packages/irc.scm (weechat): ... to here.
* gnu/packages/weechat.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove weechat.scm.
2016-03-01 11:09:32 +02:00
Efraim Flashner a61bd6a5e3 gnu: irssi: Use 'modify-phases'.
* gnu/packages/irc.scm (irssi)[arguments]: Use 'modify-phases'.
2016-03-01 11:09:32 +02:00
Efraim Flashner 27930f853d gnu: irssi: Move to irc.scm.
* gnu/packages/irssi.scm (irssi): Move from here ...
* gnu/packages/irc.scm (irssi): ... to here.
* gnu/packages/irssi.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove irssi.scm.
2016-03-01 11:09:32 +02:00
Efraim Flashner 980f058d92 gnu: Add quassel.
* gnu/packages/irc.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Register it.
2016-03-01 11:09:32 +02:00
Efraim Flashner 550791b8f1 gnu: Add snorenotify.
* gnu/packages/kde.scm (snorenotify): New variable.
2016-03-01 11:09:32 +02:00
Efraim Flashner d34c594aeb gnu: Add qca.
* gnu/packages/kde.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Register it.
2016-03-01 11:09:32 +02:00
Efraim Flashner d8ea278204 gnu: Add oxygen-icons.
* gnu/packages/kde-frameworks.scm (oxygen-icons): New variable.
2016-03-01 11:09:32 +02:00
Manolis Ragkousis fea1f275bc gnu: Add desmume.
* gnu/packages/games.scm (desmume): New variable.
2016-02-29 22:04:53 -05:00
Mark H Weaver 8d5ceb120d gnu: curl: Use updated libssh2 [fixes CVE-2016-7087].
* gnu/packages/curl.scm (curl)[inputs]: Use libssh2.
* gnu/packages/ssh.scm (libssh2-1.4): Remove variable.
2016-02-29 20:09:29 -05:00
Christopher Allan Webber aa5946edb2 gnu: Remove python2-pil.
python2-pil is vulnerable to several security issues (CVE-2016-0740,
CVE-2016-0775, and CVE-2016-2533).  Fortunately, python2-pillow provides
equivalent functionality, so this package can be cleanly removed.

* gnu/packages/python.scm (python2-pil): Remove variable.
2016-02-29 15:01:20 -08:00
Ricardo Wurmus daeb61f7a9 gnu: guile-for-guile-emacs: Use guile-2.0 search paths.
* gnu/packages/guile.scm (guile-for-guile-emacs)[native-search-paths]:
  Use the same search paths as guile-2.0.
2016-02-29 07:10:40 +01:00
Leo Famulari 823e2ed4b3 gnu: msmtp: Install msmtpq.
* gnu/packages/mail.scm (msmtp)[arguments]: Install msmtpq scripts.
2016-02-28 22:06:24 -05:00
Ludovic Courtès 1a59b6d014 gnu: git: Install symlinks instead of hard links.
This reduces nar size by a factor of 10.
Fixes <http://bugs.gnu.org/21949>.

* gnu/packages/version-control.scm (git)[arguments]: Pass
NO_INSTALL_HARDLINKS as #:make-flags.
2016-02-28 16:41:53 +01:00
Andreas Enge dbb7a08175 gnu: libwnck: Rename variable for GTK+ 2 variant.
* gnu/packages/gnome.scm (libwnck-1): Rename this...
  (libwnck-2): ...to this.
* gnu/packages/xfce.scm (xfce4-panel, xfce4-xkb-plugin, xfce4-session,
  xfwm4, xfdesktop)[inputs]: Adapt.
2016-02-28 15:59:56 +01:00
Efraim Flashner 2236da6e97 gnu: xrandr: Update to 1.5.0.
* gnu/packages/xorg.scm (xrandr): Update to 1.5.0.
2016-02-28 14:13:30 +02:00
Efraim Flashner 97a0859593 gnu: libqmi: Update to 1.12.8.
* gnu/packages/freedesktop.scm (libqmi): Update to 1.12.8.
2016-02-28 13:42:34 +02:00
Efraim Flashner 9012e118ff gnu: wayland: Update to 1.10.0.
* gnu/packages/freedesktop.scm (wayland): Update to 1.10.0.
[arguments]: Disable parallel tests.
2016-02-28 13:32:52 +02:00
Efraim Flashner d3e3d7f02a gnu: libinput: Update to 1.2.0.
* gnu/packages/freedesktop.scm (libinput): Update to 1.2.0.
2016-02-28 13:08:08 +02:00
Efraim Flashner a724924beb gnu: python-tornado: Update to 4.3.
* gnu/packages/python.scm (python-tornado): Update to 4.3.
[native-inputs]: Add python-backports-abc.
(python2-tornado)[inputs]: Add python2-singledispatch.
2016-02-28 10:53:42 +02:00
Efraim Flashner 6b59fc1020 gnu: Add python-backports-abc.
* gnu/packages/python.scm (python-backports-abc): New variable.
2016-02-28 10:53:35 +02:00
Mark H Weaver 9579118922 gnu: bitlbee: Update to 3.4.1.
* gnu/packages/patches/bitlbee-configure-doc-fix.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/messaging.scm (bitlbee): Update to 3.4.1.
[source]: Remove patch.
2016-02-27 21:10:56 -05:00
Ludovic Courtès f376dc3acb grafts: Consider all the outputs in the graft mapping.
Before that, outputs of a derivation could be left referring to the
ungrafted version of the derivation.

* guix/grafts.scm (graft-derivation)[outputs]: Change to a list of
name/file pairs.
* guix/grafts.scm (graft-derivation)[build]: Add 'old-outputs' variable
and use it when computing 'mapping'.  Use 'mapping' directly.
* tests/grafts.scm ("graft-derivation, multiple outputs"): New test.
2016-02-27 23:31:52 +01:00
Ludovic Courtès cd05d38812 grafts: Slight simplification.
* guix/grafts.scm (graft-derivation)[output-names]: Use
'derivation-output-names'.
2016-02-27 23:31:52 +01:00
Ludovic Courtès 82f5186650 grafts: Make sure files are not created world-writable.
* guix/build/graft.scm (rewrite-directory): Add 'umask' call.
2016-02-27 23:31:52 +01:00
Tobias Geerinckx-Rice 9c7f7e2da9 gnu: btrfs-progs: Update to 4.4.1.
* gnu/packages/linux.scm (btrfs-progs): Update to 4.4.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-02-27 22:39:51 +02:00
Ricardo Wurmus a003b5b650 gnu: scribus: Update to 1.5.1.
* gnu/packages/scribus.scm (scribus): Update to 1.5.1.
[source]: Remove patch.
* gnu/packages/patches/scribus-qobject.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Remove it.
2016-02-27 16:34:20 +01:00
Ricardo Wurmus b951e26fe5 gnu: arandr: Add "xrandr" to inputs.
* gnu/packages/xdisorg.scm (arandr)[inputs]: Add "xrandr".
[arguments]: Add build phase "make-xrandr-available" to ensure "xrandr"
executable is found at runtime.
2016-02-27 16:25:26 +01:00
Mark H Weaver b35461748b gnu: Fix misplaced commas (unquote).
Fix many occurrences of comma (unquote) being placed immediately after the
previous list item, e.g. ("ncurses", ncurses) in the inputs.

* gnu/packages/base.scm (patch, gnu-make),
  gnu/packages/bioinformatics.scm (hmmer),
  gnu/packages/bittorrent.scm (aria2),
  gnu/packages/compression.scm (pbzip2),
  gnu/packages/databases.scm (recutils),
  gnu/packages/fonts.scm (font-terminus),
  gnu/packages/freedesktop.scm (xdg-utils, elogind),
  gnu/packages/games.scm (gnujump),
  gnu/packages/gnome.scm (libidl, gnumeric, eog, gedit),
  gnu/packages/gnunet.scm (gnunet),
  gnu/packages/gnuzilla.scm (mozjs, nspr),
  gnu/packages/gtk.scm (gtksourceview, gdk-pixbuf),
  gnu/packages/lua.scm (lua),
  gnu/packages/openstack.scm (python-swiftclient),
  gnu/packages/perl.scm (perl-json-any),
  gnu/packages/polkit.scm (polkit-qt),
  gnu/packages/python.scm (wrap-python3, python-oauthlib)
  (python-mccabe-0.2.1, python-contextlib2, python2-rauth),
  gnu/packages/qt.scm (qtkeychain),
  gnu/packages/ruby.scm (ruby-nokogiri),
  gnu/packages/screen.scm (screen),
  gnu/packages/ssh.scm (libssh),
  gnu/packages/video.scm (ffmpeg, mplayer),
  gnu/packages/vim.scm (vim),
  gnu/packages/xdisorg.scm (redshift),
  gnu/packages/xfce.scm (xfce4-panel, xfce4-settings),
  gnu/packages/xnee.scm (xnee),
  gnu/packages/xorg.scm (font-adobe100dpi, font-adobe75dpi),
  gnu/packages/zsh.scm (zsh): Fix misplaced commas (unquote).
2016-02-27 08:49:26 -05:00
Ricardo Wurmus 48766ea85f gnu: Add emacs-god-mode.
* gnu/packages/emacs.scm (emacs-god-mode): New variable.
2016-02-27 13:50:18 +01:00
Ricardo Wurmus 048bfba163 gnu: Add gtklick.
* gnu/packages/music.scm (gtklick): New variable.
2016-02-27 12:27:21 +01:00
Ricardo Wurmus 6ab4712d6e gnu: python2-pygtk: Add libglade to inputs.
* gnu/packages/gtk.scm (python2-pygtk)[inputs]: Add "libglade".
2016-02-27 12:27:21 +01:00
Ricardo Wurmus a91d72e23a gnu: Add pyliblo.
* gnu/packages/audio.scm (python-pyliblo, python2-pyliblo): New
  variables.
2016-02-27 12:27:21 +01:00
Mark H Weaver b460a99890 gnu: linux-libre-4.1: Update to 4.1.18.
* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.18.
2016-02-27 02:36:16 -05:00
Mark H Weaver 3dad786b64 gnu: linux-libre: Update to 4.4.3.
* gnu/packages/linux.scm (linux-libre): Update to 4.4.3.
2016-02-27 02:36:10 -05:00
Ben Woodcroft 917a2a58ec import: Add github-updater.
* guix/import/github.scm: New file.
* guix/scripts/refresh.scm (%updaters): Add %GITHUB-UPDATER.
* doc/guix.texi (Invoking guix refresh): Mention it.
* Makefile.am (MODULES): Add gnu/import/github.scm.
2016-02-26 22:06:34 -05:00
Ludovic Courtès 22572d56cb store: 'path-info-deriver' is #f when there is no deriver.
* guix/store.scm (read-path-info): Use #f when we get the empty string
for DERIVER.
* guix/scripts/publish.scm (narinfo-string): Adjust accordingly.
* tests/store.scm ("path-info-deriver"): New test.
2016-02-26 23:35:29 +01:00
Ludovic Courtès acb01e3746 grafts: Add record type printer.
* guix/grafts.scm (write-graft): New procedure.  Register it as a
printer for <graft>.
2016-02-26 23:35:29 +01:00
Ludovic Courtès 70ac09a552 doc: Capitalize section title.
* doc/guix.texi (Running GuixSD in a VM): Capitalize section title.
2016-02-26 23:35:29 +01:00
Mark H Weaver 4ed737b2ab gnu: gtk-doc: Improve fix-docbook phase.
* gnu/packages/gtk.scm (gtk-doc)[arguments]: In the 'fix-docbook' phase,
avoid hard-coding the docbook-xsl version number, and return #t.
2016-02-25 22:24:32 -05:00
Danny Milosavljevic b31fbea566 gnu: Add python-psycopg2.
* gnu/packages/python.scm (python-psycopg2, python2-psycopg2): New variables.
2016-02-25 14:35:28 -08:00
Leo Famulari 7dd21101a3 gnu: diffoscope: Update to 49.
* gnu/packages/package-management.scm (diffoscope): Update to 49.
[source]: Use pypi-uri.
[arguments]: Use python-3. Enable tests. Add 'dependency-on-python-magic' phase
and remove 'dependency-on-rpm' phase.
[native-inputs]: Remove python2-setuptools.
[inputs]: Replace python2-file, python2-debian, python2-libarchive-c,
python2-tlsh, python2-pytest, python2-chardet with python-3 variants.
2016-02-25 17:06:25 -05:00
Rene Saavedra 66d59111e3 gnu: Add dconf-editor.
* gnu/packages/gnome.scm (dconf-editor): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-02-25 16:36:10 -05:00
Andy Wingo 735e84c7bd gnu: libx264: Change source URL to HTTP.
* gnu/packages/video.scm (libx264): Download via HTTP.  The videolan ftp
  server does not work with IPv6.
2016-02-25 22:33:40 +01:00
Andy Wingo b4787e71ac gnu: gtk-doc: Fix build.
* gnu/packages/gtk.scm (gtk-doc): Fix build.
2016-02-25 22:33:20 +01:00
Efraim Flashner 2865c81c71 gnu: youtube-dl: Update to 2016.02.22.
* gnu/packages/video.scm (youtube-dl): Update to 2016.02.22.
2016-02-25 22:54:03 +02:00
Efraim Flashner eb6e2e812a gnu: python-decorator: Update to 4.0.9.
* gnu/packages/python.scm (python-decorator): Update to 4.0.9.
2016-02-25 21:05:37 +02:00
Efraim Flashner cc0c4fdedd gnu: python-traitlets: Update to 4.1.0.
* gnu/packages/python.scm (python-traitlets): Update to 4.1.0.
[native-inputs]: Add python-mock.
2016-02-25 21:05:37 +02:00
Efraim Flashner c6ebd40da1 gnu: python-mccabe: Update to 0.4.0.
* gnu/packages/python.scm (python-mccabe): Update to 0.4.0.
[inputs]: Add python-pytest, python-pytest-runner.
(python-mccabe-0.2.1)[inputs]: Only use python-setuptools.
2016-02-25 21:05:37 +02:00
Efraim Flashner 43789136d2 gnu: python-flake8: Update to 2.5.4.
* gnu/packages/python.scm (python-flake8): Update to 2.5.4.
[inputs]: Use recent python-pep8, python-pyflakes.
2016-02-25 21:05:37 +02:00
Efraim Flashner db251311cf gnu: python-pep8: Update to 1.7.0.
* gnu/packages/python.scm (python-pep8): Update to 1.7.0.
2016-02-25 21:05:37 +02:00
Efraim Flashner a4d9609c98 gnu: python-networkx: Update to 1.11.
* gnu/packages/python.scm (python-networkx): Update to 1.11.
2016-02-25 21:05:37 +02:00
Efraim Flashner 6f068e081b gnu: python-hypothesis: Update to 3.0.4.
* gnu/packages/python.scm (python-hypothesis): Update to 3.0.4.
[native-inputs]: Remove python-setuptools.
(python2-hypothesis): Use 'strip-python2-variant'.
[native-inputs]: Add python2-enum34, python2-setuptools.
2016-02-25 21:05:37 +02:00
Efraim Flashner fee04c198c gnu: python-html5lib: Update to 1.0b8.
* gnu/packages/python.scm (python-html5lib): Update to 1.0b8.
2016-02-25 21:05:37 +02:00
Efraim Flashner b6785c2e3a gnu: python-isodate: Update to 0.5.4.
* gnu/packages/python.scm (python-isodate): Update to 0.5.4.
2016-02-25 21:05:37 +02:00
Efraim Flashner 9d813ec147 gnu: python-wsgi-intercept: Update to 1.1.2.
* gnu/packages/python.scm (python-wsgi-intercept): Update to 1.1.2.
[native-inputs]: Add python-six.
2016-02-25 21:05:37 +02:00
Efraim Flashner 29f20168cf gnu: python-pytest-localserver: Update to 0.3.5.
* gnu/packages/python.scm (python-pytest-localserver): Update to 0.3.5.
2016-02-25 21:05:37 +02:00
Efraim Flashner da8b011d2a gnu: python-requests-toolbelt: Update to 0.6.0.
* gnu/packages/python.scm (python-requests-toolbelt): Update to 0.6.0.
2016-02-25 21:05:37 +02:00
Efraim Flashner 74a066f9a0 gnu: python-requests: Update to 2.9.1.
* gnu/packages/python.scm (python-requests): Update to 2.9.1.
2016-02-25 21:05:37 +02:00
Efraim Flashner 40981b5c18 gnu: python-wheel: Update to 0.29.0.
* gnu/packages/python.scm (python-wheel): Update to 0.29.0.
2016-02-25 21:05:37 +02:00
Christopher Allan Webber a8f20f63dc gnu: Add python-pastescript.
* gnu/packages/python.scm (python-pastescript, python2-pastescript):
  New variables.
2016-02-25 11:01:56 -08:00
Christopher Allan Webber c4a7904c21 gnu: Add python-paste.
* gnu/packages/python.scm (python-paste, python2-paste): New variables.
* gnu/packages/patches/python-paste-remove-timing-test.patch: New file.
* gnu/packages/patches/python-paste-remove-website-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add them.
2016-02-25 11:01:45 -08:00
Mark H Weaver e62b5c6903 Merge branch 'media-updates' 2016-02-25 13:50:19 -05:00
Ludovic Courtès 0767f6a69e doc: Clarify the form of UUIDs we expect.
Fixes <http://bugs.gnu.org/22797>.
Reported by Alex Kost <alezost@gmail.com>.

* doc/guix.texi (File Systems): Clarify which UUIDs we're talking
about.
2016-02-25 19:29:21 +01:00
Ludovic Courtès a4e7083da3 http-client: 'http-client/cached' uses unique cache file names.
* guix/http-client.scm (cache-file-for-uri): New procedure.
(http-fetch/cached): Use it.  Remove 'directory' variable.
[update-cache]: Make the 'dirname' of FILE.
2016-02-25 17:23:29 +01:00
Ludovic Courtès e72f50a787 http-client: 'http-fetch/cached' updates the cache atomically.
* guix/http-client.scm (http-fetch/cached)[update-cache]: Use
'with-atomic-file-output' instead of 'call-with-output-file'.
2016-02-25 16:49:11 +01:00
Ludovic Courtès 736f9ffce2 gnu: Add missing import in bioinformatics.scm.
This is a followup to 1baee94.

* gnu/packages/bioinformatics.scm: Add missing import.
2016-02-25 12:48:08 +01:00
Ludovic Courtès cfd503205e guix system: Restore load path after running the activation script.
Fixes <http://bugs.gnu.org/22753>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/scripts/system.scm (save-load-path-excursion): New variable.
(upgrade-shepherd-services): Add comment about the issue.
(switch-to-system): Use 'save-load-path-excursion' around
'primitive-load' call.
2016-02-25 12:44:41 +01:00
Ludovic Courtès 06b76acceb store: Clarify documentation of 'valid-path?'.
* guix/store.scm (valid-path?): Improve docstring.
* doc/guix.texi (The Store): Update accordingly.
2016-02-25 12:44:41 +01:00
Ludovic Courtès 0043558082 publish: Do not publish nars for invalid store items.
Before that, /nar requests could succeed if the requested store item
exists but is invalid (although such requests were unlikely because the
corresponding narinfo request would have failed.)

* guix/scripts/publish.scm (render-nar): Add 'store' parameter.  Use
'valid-path?' instead of 'file-exists?'.
(make-request-handler): Adjust 'render-nar' call accordingly.
* tests/publish.scm ("/nar/invalid"): New test.
2016-02-25 12:44:41 +01:00
Nils Gillmann a65e2a02fc gnu: Add kyotocabinet.
* gnu/packages/databases.scm (kyotocabinet): New variable.
2016-02-25 11:56:00 +01:00
Ricardo Wurmus 1baee943ca gnu: Add libBigWig.
* gnu/packages/bioinformatics.scm (libbigwig): New variable.
2016-02-25 11:43:44 +01:00
Jan Nieuwenhuizen 1644f0cd87 gnu: guile-json: Update to 0.5.0.
* gnu/packages/guile.scm (guile-json): Update to 0.5.0.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2016-02-25 09:19:30 +01:00
Ricardo Wurmus b16043a361 gnu: ardour: Update to 4.7.
* gnu/packages/audio.scm (ardour): Update to 4.7.
2016-02-25 09:17:35 +01:00
宋文武 f072e9adf5 gnu: xdg-utils: Propagate xprop and xset.
Fixes <http://bugs.gnu.org/22755>.

* gnu/packages/freedesktop.scm (xdg-utils): Propagate xprop and xset.
2016-02-25 08:54:42 +08:00
Ludovic Courtès bf98aea9b2 doc: Improve recent changes in "Binary Installation".
This amends part of c8e2688.

* doc/guix.texi (Binary Installation): Improve wording of some parts.
Fix Upstart example.  Remove incorrect paragraph about locales.
Reinstate bit about reproducing the binary tarball.
2016-02-24 23:24:33 +01:00
Ludovic Courtès cb05108a5d doc: Clarify who can run 'guix pull'.
Suggested by Chris Marusich <cmmarusich@gmail.com>.

* doc/guix.texi (Invoking guix pull): Add paragraph explaining that any
user can run 'guix pull'.
2016-02-24 23:24:33 +01:00
Leo Famulari 85267efb2a gnu: libssh: Update to 0.7.3 [fixes CVE-2016-0739].
* gnu/packages/patches/libssh-CVE-2014-0017.patch: Delete file.
* gnu/packages/patches/libssh-0.6.5-CVE-2016-0739.patch: New file.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/ssh.scm (libssh): Update to 0.7.3.
  (libssh-0.5): Rename to...
  (libssh-0.6): ... this.  Update to 0.6.5.
  [source]: Add patch for CVE-2016-0739.
  (guile-ssh)[inputs]: Use libssh-0.6.

Modified-By: Mark H Weaver <mhw@netris.org>
2016-02-24 16:32:09 -05:00
Leo Famulari 78d80c5c6a gnu: libssh2: Update to 1.7.0 [fixes CVE-2016-0787].
* gnu/packages/ssh.scm (libssh2): Update to 1.7.0.
  (libssh2-1.4): New variable.
* gnu/packages/curl.scm (curl)[inputs]: Use libssh4-1.4.

Modified-By: Mark H Weaver <mhw@netris.org>
2016-02-24 16:32:08 -05:00
George Clemmer c8e26887ed doc: Add details for binary installation.
* doc/guix.texi (Binary Installation): Provide some more details for binary
  installation, in particular automatic starting of the daemon.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2016-02-24 22:00:07 +01:00
Chris Marusich a40424bd11 doc: Fix minor typos and add missing words.
* doc/guix.texi (Shepherd Services): Add missing words.
  (Invoking guix system): Fix typo.
  (Service Types and Services): Fix typo.
* doc/contributing.texi (Submitting Patches): Fix typo.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2016-02-24 21:34:30 +01:00
Mark H Weaver bf6996c9cf gnu: xf86-video-intel: Update to 2.99.917-1-d167280.
* gnu/packages/xorg.scm (xf86-video-intel): Update to 2.99.917-1-d167280.
2016-02-24 13:56:57 -05:00
Efraim Flashner a49332a0c0 gnu: gdb: Update to 7.11.
* gnu/packages/gdb.scm (gdb): Update to 7.11.
2016-02-24 20:52:12 +02:00
Efraim Flashner c73210d7a9 gnu: kde-frameworks: Update to 5.19.0.
* gnu/packages/kde-frameworks.scm (kwindowsystem): Update to 5.19.0.
(extra-cmake-modules): Update to 5.19.0.
2016-02-24 20:25:25 +02:00
Andy Wingo 79fd74facd gnu: services: Start X with -configdir.
* gnu/services/xorg.scm (%default-xorg-modules): New public variable.
(xorg-configuration-directory): New function.
(xorg-start-command): Add #:modules keyword argument, defaulting to
%default-xorg-modules.  Build an xorg.conf.d directory from those
modules, and pass it to X via the -configdir parameter.
2016-02-24 11:49:57 -05:00
Andy Wingo d0a6437f7d gnu: libxaw: Update to 1.0.13.
* gnu/packages/xorg.scm (libxaw): Update to 1.0.13.
2016-02-24 11:49:57 -05:00
Andy Wingo ea9763dae0 gnu: libxt: Update to 1.1.5.
* gnu/packages/xorg.scm (libxt): Update to 1.1.5.
2016-02-24 11:49:57 -05:00
Andy Wingo f1aeae762d gnu: libx11: Update to 1.6.3.
* gnu/packages/xorg.scm (libx11): Update to 1.6.3.
2016-02-24 11:49:57 -05:00
Andy Wingo 0eae6b2d91 gnu: xorg-server: Update to 1.18.1.
* gnu/packages/xorg.scm (xorg-server): Update to 1.18.1.
2016-02-24 11:49:57 -05:00
Andy Wingo 7606baa8f9 gnu: libxxf86vm: Update to 1.1.4.
* gnu/packages/xorg.scm (libxxf86vm): Update to 1.1.4.
2016-02-24 11:49:57 -05:00
Andy Wingo 9a5f739ef8 gnu: libxvmc: Update to 1.0.9.
* gnu/packages/xorg.scm (libxvmc): Update to 1.0.9.
2016-02-24 11:49:57 -05:00
Andy Wingo 61f29af1db gnu: libxrandr: Update to 1.5.0.
* gnu/packages/xorg.scm (libxrandr): Update to 1.5.0.
2016-02-24 11:49:57 -05:00
Andy Wingo d51b8529e6 gnu: libxi: Update to 1.7.6.
* gnu/packages/xorg.scm (libxi): Update to 1.7.6.
2016-02-24 11:49:57 -05:00
Andy Wingo 10d85db449 gnu: xproto: Update to 7.0.28.
* gnu/packages/xorg.scm (xproto): Update to 7.0.28.
2016-02-24 11:49:57 -05:00
Andy Wingo 6fad350498 gnu: libxrender: Update to 0.9.9.
* gnu/packages/xorg.scm (libxrender): Update to 0.9.9.
2016-02-24 11:49:57 -05:00
Andy Wingo 42ca6c8528 gnu: libxp: Update to 1.0.3.
* gnu/packages/xorg.scm (libxp): Update to 1.0.3.
2016-02-24 11:49:57 -05:00
Andy Wingo 97b6f9632e gnu: xvinfo: Update to 1.1.3.
* gnu/packages/xorg.scm (xvinfo): Update to 1.1.3.
2016-02-24 11:49:57 -05:00
Andy Wingo 625f4cae0a gnu: xmodmap: Update to 1.0.9.
* gnu/packages/xorg.scm (xmodmap): Update to 1.0.9.
2016-02-24 11:49:57 -05:00
Andy Wingo 85c64cb200 gnu: xlsatoms: Update to 1.1.2.
* gnu/packages/xorg.scm (xlsatoms): Update to 1.1.2.
2016-02-24 11:49:57 -05:00
Andy Wingo 379e1d875b gnu: xkeyboard-config: Update to 2.17.
* gnu/packages/xorg.scm (xkeyboard-config): Update to 2.17.
2016-02-24 11:49:57 -05:00
Andy Wingo ed7abe52e0 gnu: xkbevd: Update to 1.1.4.
* gnu/packages/xorg.scm (xkbevd): Update to 1.1.4.
2016-02-24 11:49:57 -05:00
Andy Wingo ab2d710cc2 gnu: xinput: Update to 1.6.2.
* gnu/packages/xorg.scm (xinput): Update to 1.6.2.
2016-02-24 11:49:57 -05:00
Andy Wingo 2e5a0b7850 gnu: xhost: Update to 1.0.7.
* gnu/packages/xorg.scm (xhost): Update to 1.0.7.
2016-02-24 11:49:57 -05:00
Andy Wingo 033a1ba373 gnu: xgamma: Update to 1.0.6.
* gnu/packages/xorg.scm (xgamma): Update to 1.0.6.
2016-02-24 11:49:57 -05:00
Andy Wingo 9177dbeb5f gnu: xf86-video-voodoo: Fix build.
* gnu/packages/xorg.scm (xf86-video-voodoo): Add patch from upstream git
  to fix the build.
2016-02-24 11:49:57 -05:00
Andy Wingo 2ae7a55062 gnu: xf86-video-vmware: Update to 13.1.0.
* gnu/packages/patches/xf86-video-vmware-glibc-2.20.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/xorg.scm (xf86-video-vmware): Update to 13.1.0.
  [source]: Remove patch.
2016-02-24 11:49:57 -05:00
Andy Wingo 937c13f220 gnu: xf86-video-vesa: Update to 2.3.4.
* gnu/packages/xorg.scm (xf86-video-vesa): Update to 2.3.4.
2016-02-24 11:49:57 -05:00
Andy Wingo bcd4a74039 gnu: xf86-video-trident: Update to 1.3.7.
* gnu/packages/patches/xf86-video-trident-remove-mibstore.patch: Delete
  file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/xorg.scm (xf86-video-trident): Update to 1.3.7.
  [source]: Remove patch.
2016-02-24 11:49:57 -05:00
Andy Wingo 816decebf2 gnu: xf86-video-tdfx: Update to 1.4.6.
* gnu/packages/patches/xf86-video-tdfx-remove-mibstore.patch: Delete
  file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/xorg.scm (xf86-video-tdfx): Update to 1.4.6.
  [source]: Remove patch.
2016-02-24 11:49:57 -05:00
Andy Wingo 5f59f5103a gnu: xf86-video-sis: Update to 0.10.8.
* gnu/packages/patches/xf86-video-sis-fix-exa-crash.patch,
  gnu/packages/patches/xf86-video-sis-update-api.patch: Delete files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/xorg.scm (xf86-video-sis): Update to 0.10.8.
  [source]: Remove patches.
2016-02-24 11:49:57 -05:00
Andy Wingo fc1172f787 gnu: xf86-video-siliconmotion: Update to 1.7.8.
* gnu/packages/patches/xf86-video-siliconmotion-remove-mibstore.patch:
  Delete file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/xorg.scm (xf86-video-siliconmotion): Update to 1.7.8.
  [source]: Remove patch.
2016-02-24 11:49:57 -05:00
Andy Wingo bfc0d8395e gnu: xf86-video-savage: Update to 2.3.8.
* gnu/packages/xorg.scm (xf86-video-savage): Update to 2.3.8.
2016-02-24 11:49:57 -05:00
Andy Wingo bfe27469b4 gnu: xf86-video-r128: Update to 6.10.1.
* gnu/packages/patches/xf86-video-r128-glibc-2.20.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/xorg.scm (xf86-video-r128): Update to 6.10.1.
  [source]: Remove patch.
2016-02-24 11:49:57 -05:00
Andy Wingo 9f9b89bcf2 gnu: xf86-video-nouveau: Update to 1.0.12.
* gnu/packages/xorg.scm (xf86-video-nouveau): Update to 1.0.12.
2016-02-24 11:49:57 -05:00
Andy Wingo bd714f8509 gnu: xf86-video-neomagic: Update to 1.2.9.
* gnu/packages/xorg.scm (xf86-video-neomagic): Update to 1.2.9.
2016-02-24 11:49:57 -05:00
Andy Wingo ea192db119 gnu: xf86-video-mga: Update to 1.6.4.
* gnu/packages/patches/xf86-video-mga-glibc-2.20.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/xorg.scm (xf86-video-mga): Update to 1.6.4.
  [source]: Remove patch.
2016-02-24 11:49:57 -05:00
Andy Wingo 2a26eb96d3 gnu: xf86-video-mach64: Update to 6.9.5.
* gnu/packages/xorg.scm (xf86-video-mach64): Update to 6.9.5.
2016-02-24 11:49:57 -05:00
Andy Wingo 6cc328b43b gnu: xf86-video-intel: Update to git snapshot e41040f.
* gnu/packages/xorg.scm (xf86-video-intel): Update to git snapshot
  e41040f.  Upstream isn't making releases.

Modified-By: Mark H Weaver <mhw@netris.org>
2016-02-24 11:49:57 -05:00
Andy Wingo 315a0ecc0d gnu: xf86-video-geode: Update to 2.11.18.
* gnu/packages/xorg.scm (xf86-video-geode): Update to 2.11.18.
2016-02-24 11:49:57 -05:00
Andy Wingo 6bc2fa7c5e gnu: xf86-video-cirrus: Update to 1.5.3.
* gnu/packages/xorg.scm (xf86-video-cirrus): Update to 1.5.3.
2016-02-24 11:49:57 -05:00
Andy Wingo 83696ce1c2 gnu: xf86-video-ati: Update to 7.6.1.
* gnu/packages/xorg.scm (xf86-video-ati): Update to 7.6.1.
2016-02-24 11:49:57 -05:00
Andy Wingo 746e671007 gnu: xf86-input-void: Update to 1.4.1.
* gnu/packages/xorg.scm (xf86-input-void): Update to 1.4.1.
2016-02-24 11:49:57 -05:00
Andy Wingo eec4e906ce gnu: xf86-input-synaptics: Update to 1.8.3.
* gnu/packages/xorg.scm (xf86-input-synaptics): Update to 1.8.3.
2016-02-24 11:49:57 -05:00
Andy Wingo 5be72cd395 gnu: xf86-input-keyboard: Update to 1.8.1.
* gnu/packages/xorg.scm (xf86-input-keyboard): Update to 1.8.1.
2016-02-24 11:49:57 -05:00
Andy Wingo 049a02128d gnu: xf86-input-libinput: Update to 0.16.0.
* gnu/packages/xorg.scm (xf86-input-libinput): Update to 0.16.0.
2016-02-24 11:49:57 -05:00
Andy Wingo d44d724966 gnu: xf86-input-evdev: Update to 2.10.1.
* gnu/packages/xorg.scm (xf86-input-evdev): Update to 2.10.1.  Add mtdev
  input.
2016-02-24 11:49:57 -05:00
Andy Wingo 9502179d62 gnu: xev: Update to 1.2.2.
* gnu/packages/xorg.scm (xev): Update to 1.2.2.
2016-02-24 11:49:57 -05:00
Andy Wingo 380af498e3 gnu: xdriinfo: Update to 1.0.5.
* gnu/packages/xorg.scm (xdriinfo): Update to 1.0.5.
2016-02-24 11:49:57 -05:00
Andy Wingo c6be2454c1 gnu: xdpyinfo: Update to 1.3.2.
* gnu/packages/xorg.scm (xdpyinfo): Update to 1.3.2.
2016-02-24 11:49:57 -05:00
Andy Wingo b1b3ab34b4 gnu: xcmsdb: Update to 1.0.5.
* gnu/packages/xorg.scm (xcmsdb): Update to 1.0.5.
2016-02-24 11:49:57 -05:00
Andy Wingo 9fab5cc9b5 gnu: x11perf: Update to 1.6.0.
* gnu/packages/xorg.scm (x11perf): Update to 1.6.0.
2016-02-24 11:49:57 -05:00
Andy Wingo 10814b66cc gnu: smproxy: Update to 1.0.6.
* gnu/packages/xorg.scm (smproxy): Update to 1.0.6.
2016-02-24 11:49:57 -05:00
Andy Wingo 350843a5be gnu: setxkbmap: Update to 1.3.1.
* gnu/packages/xorg.scm (setxkbmap): Update to 1.3.1.
2016-02-24 11:49:57 -05:00
Andy Wingo 849f01df4a gnu: sessreg: Update to 1.1.0.
* gnu/packages/xorg.scm (sessreg): Update to 1.1.0.
2016-02-24 11:49:57 -05:00
Andy Wingo 2c26245b39 gnu: randrproto: Update to 1.5.0.
* gnu/packages/xorg.scm (randrproto): Update to 1.5.0.
2016-02-24 11:49:57 -05:00
Andy Wingo 042777cee5 gnu: mkfontscale: Update to 1.1.2.
* gnu/packages/xorg.scm (mkfontscale): Update to 1.1.2.
2016-02-24 11:49:57 -05:00
Andy Wingo c8012b798e gnu: libxkbfile: Update to 1.0.9.
* gnu/packages/xorg.scm (libxkbfile): Update to 1.0.9.
2016-02-24 11:49:57 -05:00
Andy Wingo ccca0efe13 gnu: libxdmcp: Update to 1.1.2.
* gnu/packages/xorg.scm (libxdmcp): Update to 1.1.2.
2016-02-24 11:49:57 -05:00
Andy Wingo 34a9b4e5a1 gnu: libfs: Update to 1.0.7.
* gnu/packages/xorg.scm (libfs): Update to 1.0.7.
2016-02-24 11:49:57 -05:00
Andy Wingo 203593ddde gnu: libfontenc: Update to 1.1.3.
* gnu/packages/xorg.scm (libfontenc): Update to 1.1.3.
2016-02-24 11:49:57 -05:00
Andy Wingo f98e2a3ff2 gnu: libxshmfence: Update to 1.2.
* gnu/packages/xorg.scm (libxshmfence): Update to 1.2.
2016-02-24 11:49:57 -05:00
Andy Wingo d6c6dde8f5 gnu: kbproto: Update to 1.0.7.
* gnu/packages/xorg.scm (kbproto): Update to 1.0.7.
2016-02-24 11:49:57 -05:00
Andy Wingo 247ef1f52d gnu: iceauth: Update to 1.0.7.
* gnu/packages/xorg.scm (iceauth): Update to 1.0.7.
2016-02-24 11:49:57 -05:00
Andy Wingo 201bd16530 gnu: font-util: Update to 1.3.1.
* gnu/packages/xorg.scm (font-util): Update to 1.3.1.
2016-02-24 11:49:57 -05:00
Andy Wingo 235d701972 gnu: bdftopcf: Update to 1.0.5.
* gnu/packages/xorg.scm (bdftopcf): Update to 1.0.5.
2016-02-24 11:49:57 -05:00
Andy Wingo 521b1d888b gnu: libinput: Update to 1.1.902.
* gnu/packages/freedesktop.scm (libinput): Update to 1.1.902.
2016-02-24 11:49:57 -05:00
Andy Wingo 34efce4ff4 gnu: libwacom: Propagate glib input.
* gnu/packages/xdisorg.scm (libwacom): Propagate glib input.
2016-02-24 11:49:57 -05:00
Andy Wingo ffc959939f gnu: mesa: Update to 11.0.9.
* gnu/packages/gl.scm (mesa): Update to 11.0.9.
2016-02-24 11:49:57 -05:00
Andy Wingo 62061d6be3 gnu-maintenance: Add X.org updater.
* guix/gnu-maintenance.scm (xorg-package?, latest-xorg-release): New
  private functions.
  (%xorg-updater): New public variable.

* guix/scripts/refresh.scm (%updaters): Add %xorg-updater.

* doc/guix.texi (Invoking guix refresh): Mention the new updater.
2016-02-24 11:49:57 -05:00
Efraim Flashner 0e47b4e769 gnu: libvpx: Use 'modify-phases'.
* gnu/packages/video.scm (libvpx)[arguments]: Use 'modify-phases'.
2016-02-24 11:49:57 -05:00
Efraim Flashner fb197c0da4 gnu: libvpx: Update to 1.5.0.
* gnu/packages/video.scm (libvpx): Update to 1.5.0.
2016-02-24 11:49:57 -05:00
Efraim Flashner cda6aaf079 gnu: gst-plugins-base: Use 'modify-phases'.
* gnu/packages/gstreamer.scm (gst-plugins-base)[arguments]: Use
'modify-phases'.
2016-02-24 11:49:57 -05:00
宋文武 db12dac05c gnu: Add gst-plugins-bad.
* gnu/packages/gstreamer.scm (gst-plugins-bad): New variable.
2016-02-24 11:49:57 -05:00
宋文武 3673dace40 gnu: gst-libav: Update to 1.6.3.
* gnu/packages/gstreamer.scm (gst-libav): Update to 1.6.3.
2016-02-24 11:49:57 -05:00
宋文武 30d34785b8 gnu: gst-plugins-ugly: Update to 1.6.3.
* gnu/packages/gstreamer.scm (gst-plugins-ugly): Update to 1.6.3.
2016-02-24 11:49:57 -05:00
宋文武 48caecb7f7 gnu: gst-plugins-good: Update to 1.6.3.
* gnu/packages/gstreamer.scm (gst-plugins-good): Update to 1.6.3.
2016-02-24 11:49:57 -05:00
宋文武 8cf39f7f33 gnu: gst-plugins-base: Update to 1.6.3.
* gnu/packages/gstreamer.scm (gst-plugins-base): Update to 1.6.3.
2016-02-24 11:49:57 -05:00
宋文武 120469d2fc gnu: gstreamer: Update to 1.6.3.
* gnu/packages/gstreamer.scm (gstreamer): Update to 1.6.3.
2016-02-24 11:49:57 -05:00
Efraim Flashner 9dd61217c3 gnu: pulseaudio: Update to 8.0.
* gnu/packages/pulseaudio.scm (pulseaudio): Update to 8.0.
2016-02-24 11:49:57 -05:00
Ricardo Wurmus 6d415db23d gnu: r-topgo: Add missing input.
* gnu/packages/bioinformatics.scm (r-topgo)[propagated-inputs]: Add
  "r-graph".
2016-02-24 17:36:55 +01:00
Ricardo Wurmus d1dbde6ac1 gnu: Add r-graph.
* gnu/packages/bioinformatics.scm (r-graph): New variable.
2016-02-24 17:36:55 +01:00
Ricardo Wurmus e761beb9a9 gnu: Add r-org-mm-eg-db.
* gnu/packages/bioinformatics.scm (r-org-mm-eg-db): New variable.
2016-02-24 17:26:39 +01:00
Ricardo Wurmus 16c53a1e26 gnu: Add r-org-dm-eg-db.
* gnu/packages/bioinformatics.scm (r-org-dm-eg-db): New variable.
2016-02-24 17:26:39 +01:00
Ricardo Wurmus fefedf98cb gnu: Add r-org-ce-eg-db.
* gnu/packages/bioinformatics.scm (r-org-ce-eg-db): New variable.
2016-02-24 17:26:39 +01:00
Ricardo Wurmus 486da49143 gnu: Add r-org-hs-eg-db.
* gnu/packages/bioinformatics.scm (r-org-hs-eg-db): New variable.
2016-02-24 17:26:39 +01:00
Alex Kost 6caa4dfa37 Do not check package freshness during upgrade.
Fixes <http://bugs.gnu.org/22740>.
Reported by Andreas Enge <andreas@enge.fr>.

* gnu/packages.scm (waiting, ftp-open*, check-package-freshness): Remove.
* guix/scripts/package.scm (options->installable): Adjust accordingly.
* emacs/guix-main.scm (package->manifest-entry*): Likewise.
2016-02-24 18:24:16 +03:00
Ludovic Courtès 4d459d8734 publish: Move 'query-path-info' call where it belongs.
* guix/scripts/publish.scm (narinfo-string): Remove 'path-info'
parameter and add 'store' parameter.  Call 'query-path-info'.
(render-narinfo): Adjust accordingly.
2016-02-24 13:11:50 +01:00
Ludovic Courtès da35acf91d gnu: lsh: lshd now supports X11 forwarding.
Reported by myglc2 <myglc2@gmail.com>.

* gnu/packages/lsh.scm (lsh)[inputs]: Add XAUTH.
[arguments]: Modify 'XAUTH_PROGRAM' macro in 'server_x11.c'.
2016-02-24 13:11:50 +01:00
Ludovic Courtès 03b93ed70e gnu: lsh: Use 'modify-phases'.
* gnu/packages/lsh.scm (lsh)[arguments]: Use 'modify-phases' instead of
'alist-cons-before'.
2016-02-24 13:11:50 +01:00
Andy Wingo ea84bd88da gnu: services: Install policies for polkit service.
* gnu/services/desktop.scm (polkit-etc-files): Add the polkit package
  itself to the list of packages to scan for .policy files.  This add
  support for pkexec.
2016-02-24 10:16:54 +01:00
Efraim Flashner ebde7c7a9b mplayer: Use 'modify-phases'.
* gnu/packages/video.scm (mplayer)[arguments]: Use 'modify-phases'.
[source]: Use https.
[home-page]: Use https.
2016-02-24 10:33:05 +02:00
Efraim Flashner 778a6a8bf0 gnu: mplayer: Add codecs.
* gnu/packages/video.scm (mplayer)[inputs]: Add libass, libmpeg2,
  libvdpau, libx264, opus.
2016-02-24 09:43:51 +02:00
Efraim Flashner dec3e015eb gnu: dropbear: Update to 2015.71.
* gnu/packages/ssh.scm (dropbear): Update to 2015.71.
2016-02-24 09:18:14 +02:00
David Thompson dd90ed892a gnu: guile-next: Set correct native search paths.
* gnu/packages/guile.scm (guile-next): Use the "2.2" directory for the
  load paths.
2016-02-23 19:39:56 -05:00
Ludovic Courtès f2d8faff04 services: herd: Add missing newlines in error messages.
* gnu/services/herd.scm (report-action-error): Add missing newlines in
messages.
2016-02-23 13:03:23 +01:00
Ludovic Courtès 305b58c05c refresh: Remove unneeded import.
Reported by Leo Famulari <leo@famulari.name>
and Ben Woodcroft <b.woodcroft@uq.edu.au>
at <http://bugs.gnu.org/22752>.

* guix/scripts/refresh.scm: Remove unneeded and harmful import of (guix
import gem).
2016-02-23 12:58:25 +01:00
Ludovic Courtès 561360a589 doc: Add example of VCS-snapshot version numbers.
* doc/guix.texi (Version Numbers): Add example for VCS version numbers.
2016-02-23 12:45:25 +01:00
Andreas Enge 5a179844e7 gnu: Add xfce4-xkb-plugin.
* gnu/packages/xfce.scm (xfce4-xkb-plugin): New variable.
  (xfce)[propagated-inputs]: Add it.
2016-02-23 11:53:03 +01:00
Leo Famulari 8758efe0b0 gnu: telepathy-logger: Disable parallel tests.
* gnu/packages/freedesktop.scm (telepathy-logger)[arguments]: Disable parallel
tests.
2016-02-23 01:53:47 -05:00
Roel Janssen c1fc7a67e4 gnu: Add rdmd.
* gnu/packages/ldc.scm (rdmd): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-02-23 01:27:19 -05:00
Leo Famulari e9f68a647d gnu: modem-manager: Use HTTPS URL.
* gnu/packages/freedesktop.scm (modem-manager)[source]: Use HTTPS URL.
2016-02-23 00:15:05 -05:00
Leo Famulari fae58fe1d1 gnu: mpd: Update to 0.19.12.
* gnu/packages/mpd.scm (mpd): Update t0 0.19.12.
2016-02-22 20:16:25 -05:00
Leo Famulari a4c7c57c2c gnu: ncmpcpp: Udate to 0.7.3.
* gnu/packages/mpd.scm (ncmpcpp): Update to 0.7.3.
[inputs]: Add icu4c.
2016-02-22 20:16:25 -05:00
Leo Famulari 9913c78a09 gnu: ncmpcpp: Use 'modify-phases'.
* gnu/packages/mpd.scm (ncmpcpp)[arguments]: Use 'modify-phases'.
2016-02-22 20:16:25 -05:00
Christopher Allan Webber 944d2b17b5 vm: Only pass "-enable-kvm" to qemu if /dev/kvm is present.
Fixes <http://bugs.gnu.org/22633>.

* gnu/build/vm.scm (load-in-linux-vm): Only pass "-enable-kvm" flag to qemu
  if "/dev/kvm" is present.
* gnu/system/vm.scm (common-kvm-options): Same as above.
2016-02-22 13:28:58 -08:00
Ludovic Courtès 8b16a5e199 gnu: pkg-config: Add non-HTTPS alternate URL.
* gnu/packages/pkg-config.scm (%pkg-config)[source]: Add non-HTTPS URL.
2016-02-22 22:11:37 +01:00
Ludovic Courtès b0fef4d660 grafts: 'name' parameter of 'graft-derivation' is now optional.
* guix/grafts.scm (graft-derivation): Name 'name' a keyword parameter.
* guix/packages.scm (package-derivation, package-cross-derivation):
Adjust accordingly.
* tests/grafts.scm ("graft-derivation"): Likewise.
* tests/packages.scm ("package-derivation, indirect grafts"): Likewise.
2016-02-22 22:11:37 +01:00
Ludovic Courtès 7adf9b8469 derivations: Move grafts to (guix grafts).
* guix/derivations.scm (<graft>, graft-derivation, %graft?)
(set-grafting): Move to...
* guix/grafts.scm: ... here.  New file.
* guix/gexp.scm, guix/packages.scm, tests/packages.scm,
guix/scripts/build.scm: Use it.
* Makefile.am (MODULES): Add it.
(SCM_TESTS): Add tests/grafts.scm.
* tests/derivations.scm ("graft-derivation"): Move to...
* tests/grafts.scm: ... here.  New file.
2016-02-22 22:11:37 +01:00
Andreas Enge 3297deedd1 gnu: Remove python2-pyqt-4.
* gnu/packages/qt.scm (python2-pyqt-4): Delete variable. It depends on Qt 4,
  which does not receive security updates any more.
2016-02-22 21:33:29 +01:00
Andreas Enge dbbb45dd73 gnu: Remove KDE 4.
* gnu/packages/kde.scm (qjson): Move from here...
* gnu/packages/qt.scm (qjson): ...to here.
* gnu/packages/pumpio.scm: Drop inclusion of (gnu packages kde).
* gnu/packages/kde.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister it.
* gnu/packages/rdf.scm (soprano): Delete variable.

KDE 4 relies on Qt 4, which does not receive security updates any more.
2016-02-22 21:30:56 +01:00
Efraim Flashner 5ad87e5bb5 gnu: python-patsy: Define 'python2-variant'.
* gnu/packages/statistics.scm (python-patsy)[properties]: New field.
(python2-patsy): Use 'strip-python2-variant'.
2016-02-22 21:59:02 +02:00
Efraim Flashner f4cd2ceabd gnu: python-patsy: Update to 0.4.1.
* gnu/packages/statistics.scm (python-patsy, python2-patsy): Update to 0.4.1.
2016-02-22 21:59:02 +02:00
Alex Kost 260795b736 emacs: Do not allow a user to modify system profiles.
Fixes <http://bugs.gnu.org/22607>.
Reported by myglc2 <myglc2@gmail.com>.

Remove possibilities to install/delete packages to/from a system profile
both for "Package List" and "Package Info" buffers.

* emacs/guix-profiles.el (guix-system-profile-regexp): New variable.
(guix-system-profile?): New procedure.
* emacs/guix-ui-package.el (guix-package-info-insert-output): Do not
display "Install"/"Delete" button for a system profile.
(guix-package-assert-non-system-profile): New procedure.
(guix-package-execute-actions): Use it.
2016-02-22 22:36:35 +03:00
Alex Kost 0338132e65 emacs: Set 'guix-buffer-item' before displaying entries.
* emacs/guix-buffer.el (guix-buffer-set): Set 'guix-buffer-item' early,
  so that it can be used during displaying entries.  For example, this
  allows us to use a value of the current guix profile when package
  entries are inserted in a "List" or "Info" buffer.
2016-02-22 22:29:56 +03:00
Alex Kost cfb1c62aa9 emacs: Add 'M-x guix-installed-{user/system}-packages'.
* emacs/guix-ui-package.el (guix-installed-user-packages)
(guix-installed-system-packages): New commands.
* doc/emacs.texi (Emacs Commands): Document them.
2016-02-22 22:17:16 +03:00
Mark H Weaver 5879f0d649 gnu: qemu: Add fixes for CVE-2015-8619, CVE-2016-1981, CVE-2016-2197.
* gnu/packages/patches/qemu-CVE-2015-8619.patch,
  gnu/packages/patches/qemu-CVE-2016-1981.patch,
  gnu/packages/patches/qemu-CVE-2016-2197.patch,
  gnu/packages/patches/qemu-usb-ehci-oob-read.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/qemu.scm (qemu)[source]: Add patches.
2016-02-22 10:26:22 -05:00
Rene Saavedra b784b1a9ea gnu: Add gnome-screenshot.
* gnu/packages/gnome.scm (gnome-screenshot): New variable.
2016-02-22 19:57:35 +08:00
Roel Janssen 8b15f42c73 gnu: libotf: Use mirror:// URL.
* gnu/packages/fontutils.scm (libotf): Use mirror://savannah URL.
2016-02-22 19:57:35 +08:00
Efraim Flashner 066651d412 gnu: c-ares: Update to 1.11.0.
* gnu/packages/adns.scm (c-ares): Update to 1.11.0.
2016-02-22 10:43:17 +02:00
Leo Famulari 1034331a11 gnu: parallel: Update to 20160122.
* gnu/packages/parallel.scm (parallel): Update to 20160122.
2016-02-22 02:31:38 -05:00
Leo Famulari 50a7963aeb gnu: python-acme: Generate and install documentation.
* gnu/packages/tls.scm (acme)[arguments]: Add 'docs' phase.
[native-inputs]: Add python-sphinx, python-sphinxcontrib-programoutput,
python-sphinx-rtd-theme, python-setuptools, texinfo.
2016-02-22 00:40:25 -05:00
Leo Famulari f9263d9a90 gnu: letsencrypt: Generate and install documentation.
* gnu/packages/tls.scm (letsencrypt)[arguments]: Add 'docs' phase.
[native-inputs]: Add python2-sphinx, python2-sphinx-rtd-theme,
python2-sphinx-repoze-autointerface,
python2-sphinxcontrib-programoutput, texinfo.
2016-02-22 00:40:25 -05:00
Leo Famulari 548d716539 gnu: Add python-sphinx-repoze-autointerface.
* gnu/packages/python.scm (python-sphinx-repoze-autointerface,
python2-sphinx-repoze-autointerface): New variables.
2016-02-22 00:40:25 -05:00
Leo Famulari 0db71dd2d1 licenses: Add repoze license.
* guix/licenses.scm (repoze): New variable.
2016-02-22 00:40:25 -05:00
Leo Famulari 3276517cdc gnu: Add python-sphinxcontrib-programoutput.
* gnu/packages/python.scm (python-sphinxcontrib-programoutput,
python2-sphinxcontrib-programoutput): New variables.
2016-02-22 00:40:25 -05:00
Christopher Allan Webber 2de98febb3 gnu: python-apipkg: Remove unzip dependency.
Unzip was never used for this package.

* gnu/packages/python.scm (python-apipkg): Remove unzip dependency.
2016-02-21 19:02:26 -08:00
Christopher Allan Webber 0c3b90d478 gnu: Add python-editor.
* gnu/packages/python.scm (python-editor, python2-editor): New variables.
2016-02-21 19:01:16 -08:00
Christopher Allan Webber 97e32948ea gnu: Add python-translitcodec.
* gnu/packages/python.scm (python-translitcodec, python2-translitcodec):
  New variables.
2016-02-21 19:01:16 -08:00
Christopher Allan Webber 22df6419f8 gnu: Add python-celery.
* gnu/packages/python.scm (python-celery, python2-celery): New variables.
2016-02-21 19:01:16 -08:00
Christopher Allan Webber b6f0b9fb68 gnu: Add python-billiard.
* gnu/packages/python.scm (python-billiard, python2-billiard):
  New variables.
2016-02-21 19:01:16 -08:00
Christopher Allan Webber 7d38730507 gnu: Add python-kombu.
* gnu/packages/python.scm (python-kombu, python2-kombu): New variables.
2016-02-21 19:01:16 -08:00
Christopher Allan Webber 8dfceab779 gnu: Add python-amqp.
* gnu/packages/python.scm (python-amqp, python2-amqp): New variables.
2016-02-21 19:01:13 -08:00
Christopher Allan Webber 4cb122cd8d gnu: Add python-anyjson.
* gnu/packages/python.scm (python-anyjson, python2-anyjson): New variables.
2016-02-21 19:00:32 -08:00
Christopher Allan Webber aa6313d699 gnu: Add python-webtest.
* gnu/packages/python.scm (python-webtest, python2-webtest):
  New variables.
2016-02-21 18:59:39 -08:00
Christopher Allan Webber 1cf536521d gnu: Add python-pyquery.
* gnu/packages/python.scm (python-pyquery, python2-pyquery): New variables.
2016-02-21 18:59:39 -08:00
Christopher Allan Webber bb7518b1e8 gnu: Add python-pastedeploy.
* gnu/packages/python.scm (python-pastedeploy, python2-pastedeploy):
  New variables.
2016-02-21 18:59:39 -08:00
Christopher Allan Webber 778a284be5 gnu: Add python-wsgiproxy2.
* gnu/packages/python.scm (python-wsgiproxy2, python2-wsgiproxy2):
  New variables.
2016-02-21 18:59:39 -08:00
Christopher Allan Webber ae00a41feb gnu: Add python-waitress.
* gnu/packages/python.scm (python-waitress, python2-waitress): New variables.
2016-02-21 18:59:39 -08:00
Christopher Allan Webber b32a1e47a9 gnu: Add python-beautifulsoup4.
* gnu/packages/python.scm (python-beautifulsoup4, python2-beautifulsoup4):
  New variables.
2016-02-21 18:59:34 -08:00
Christopher Allan Webber 8fa58fc9a1 gnu: Add python-pytest-xdist.
* gnu/packages/python.scm (python-pytest-xdist, python2-pytest-xdist):
  New variables.
2016-02-21 18:59:30 -08:00
Christopher Allan Webber 16c84f9031 gnu: Add python2-execnet.
* gnu/packages/python.scm (python2-execnet): New variable.
2016-02-21 18:59:30 -08:00
Christopher Allan Webber e08739c3c6 gnu: Add python2-apipkg.
* gnu/packages/python.scm (python2-apipkg): New variable.
2016-02-21 18:59:30 -08:00
Christopher Allan Webber af5a460222 gnu: Add python-alembic.
* gnu/packages/python.scm (python-alembic, python2-alembic): New variables.
2016-02-21 18:59:29 -08:00
Ludovic Courtès 95001d4b46 download: Add 'url-fetch/tarbomb'.
Suggested by Federico Beffa.
Fixes <http://bugs.gnu.org/22676>.
Reported by Danny Milosavljevic <dannym@scratchpost.org>.

* gnu/packages/engineering.scm (broken-tarball-fetch): Remove.
(fastcap)[source](method): Use URL-FETCH/TARBOMB instead.
* gnu/packages/scheme.scm (broken-tarball-fetch): Remove.
(scmutils)[source](method): Use URL-FETCH/TARBOMB instead.
* guix/download.scm (url-fetch/tarbomb): New procedure, renamed from
'broken-tarball-fetch'.
2016-02-22 00:36:24 +01:00
Ludovic Courtès 49e0ca90bc doc: Add Texinfo HTML cross-reference file.
Fixes <http://bugs.gnu.org/22543>.

* doc/htmlxref.cnf: New file.
* doc.am (EXTRA_DIST): Add it.
2016-02-21 22:28:20 +01:00
Andy Wingo d5df6fc755 gnu: icu4c: Fetch from sourceforge.
* gnu/packages/icu4c.scm (icu4c): Download via sourceforge mirrors.  The
  previous URL,
  http://download.icu-project.org/files/icu4c/55.1/icu4c-55_1-src.tgz,
  redirects to sourceforge, which then fails because that redirects to
  https and as the original URL didn't start with HTTPS, gnutls wasn't
  included in the downloader.
2016-02-21 21:21:09 +01:00
Andy Wingo 5cc3096c73 Update all sources from freedesktop.org to use https
* gnu/packages/xorg.scm:
* gnu/packages/xdisorg.scm:
* gnu/packages/video.scm:
* gnu/packages/tls.scm:
* gnu/packages/python.scm:
* gnu/packages/pulseaudio.scm:
* gnu/packages/polkit.scm:
* gnu/packages/pdf.scm:
* gnu/packages/libcanberra.scm:
* gnu/packages/gtk.scm:
* gnu/packages/gstreamer.scm:
* gnu/packages/gnome.scm:
* gnu/packages/glib.scm:
* gnu/packages/ghostscript.scm:
* gnu/packages/freedesktop.scm:
* gnu/packages/fontutils.scm: Update all sources hosted on freedesktop
  to fetch tarballs via https.  freedesktop.org appears to have updated
  recently to redirect all http to https.  As an exception, we leave
  pkg-config like it is, because pkg-config is needed to build gnutls,
  and without gnutls we can't download https URLs.
2016-02-21 21:11:49 +01:00
Andreas Enge f2fadbc1ff Revert "doc: Drop documentation of deprecated procedures."
This reverts commit f5c6e77a7f.
2016-02-21 20:02:24 +01:00
Efraim Flashner 466a7d706d gnu: libx264: Update to 20160220-2245.
* gnu/packages/video.scm (libx264): Update to 20160220-2245.
2016-02-21 16:16:54 +02:00
Efraim Flashner 62fe2d4752 gnu: xvid: Use 'modify-phases'.
* gnu/packages/video.scm (xvid)[arguments]: Use 'modify-phases'.
2016-02-21 16:16:54 +02:00
Efraim Flashner e05035c70d gnu: xvid: Update to 1.3.4.
* gnu/packages/video.scm (xvid): Update to 1.3.4.
2016-02-21 16:16:54 +02:00
Ludovic Courtès 5c7dd5ac3a linux-modules: Use normalized module names for 'modprobe.blacklist'.
* gnu/build/linux-modules.scm (normalize-module-name): New procedure.
(file-name->module-name): Use it.
(module-black-list): Expound docstring.
2016-02-21 13:04:10 +01:00
Mark H Weaver 57a41bfb3c gnu: linux-libre: Update to 4.4.2.
* gnu/packages/linux.scm (linux-libre): Update to 4.4.2.
2016-02-21 03:05:24 -05:00
Leo Famulari 9eb05bc381 gnu: python-enum34: Remove python-setuptools from inputs.
* gnu/packages/python.scm (python-enum34)[inputs]: Remove
python-setuptools.
2016-02-21 02:46:23 -05:00
Leo Famulari 68f1cdecf1 gnu: Don't use python-enum34 when building with python-3.4.
* gnu/packages/docker.scm (docker-compose)[inputs]: Remove python-enum34.
* gnu/packages/python.scm (python-parse-type)[inputs]: Likewise.
(behave)[inputs]: Likewise.
(python-cryptography)[propagated-inputs]: Likewise.
(python2-cryptography)[propagated-inputs]: Add python2-enum34.
2016-02-21 02:46:23 -05:00
Leo Famulari 820acd1bc3 gnu: Add python2-enum34.
* gnu/packages/python.scm (python2-enum34): New variable.
2016-02-21 02:46:23 -05:00
Leo Famulari d39ae1e5c6 gnu: python-enum34: Update to 1.1.0.
* gnu/packages/python.scm (python-enum34): Update to 1.1.0.
[source]: Use pypi-uri.
2016-02-21 02:46:23 -05:00
Leo Famulari 7bac09f45a gnu: dvtm: Update to 0.15.
* gnu/packages/dvtm.scm (dvtm): Update to 0.15.
2016-02-21 02:04:59 -05:00
Leo Famulari b860bbd9ee gnu: abduco: Update to 0.5.
* gnu/packages/abduco.scm (abduco): Update to 0.5.
2016-02-21 02:04:10 -05:00
Mark H Weaver 065932966f Revert "gnu: coreutils: Update URI for tail-inotify-race.patch."
This reverts commit 1a51cbc825.
2016-02-20 19:58:19 -05:00
Mark H Weaver 1f7309a6d1 gnu: dmd: Update URI of dmd-user-group.patch.
* gnu/packages/admin.scm (dmd)[source]: Update URI of patch.
2016-02-20 18:41:34 -05:00
Mark H Weaver 1a51cbc825 gnu: coreutils: Update URI for tail-inotify-race.patch.
* gnu/packages/base.scm (coreutils)[source]: Update URI of patch.
2016-02-20 18:41:34 -05:00
Ricardo Wurmus eeabe5a186 gnu: wine: Update to 1.9.4.
* gnu/packages/wine.scm (wine): Update to 1.9.4.
[origin]: Remove snippet.
[arguments]: Set SHELL with make-flags.
2016-02-20 22:38:33 +01:00
Ben Woodcroft fbc5b815cc import: gem: Add updater.
* guix/import/gem.scm (guix-package->gem-name,
  gem-package?, latest-release): New procedures.
  (%gem-updater): New variable.
  (rubygems-fetch): Wrap body in
  'call-with-output-file' and 'with-error-to-port'.
* guix/scripts/refresh.scm (%updaters): Add %GEM-UPDATER.
* doc/guix.texi (Invoking guix refresh): Mention RubyGems.
2016-02-20 20:46:10 +10:00
宋文武 56f5f921b4 gnu: nix: Update to 1.11.2.
* gnu/packages/package-management.scm (nix): Update to 1.11.2.
2016-02-20 18:22:26 +08:00
Roel Janssen 6ef0ec7600 gnu: Add libotf.
* gnu/packages/fontutils.scm (libotf): New variable.
2016-02-20 08:41:51 +08:00
Leo Famulari 4e58a402ff gnu: cpio: Add fix for CVE-2016-2037.
* gnu/packages/patches/cpio-CVE-2016-2037.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/cpio.scm (cpio)[source]: Add patch.
2016-02-19 18:04:15 -05:00
Leo Famulari 6399941555 gnu: rxvt-unicode: Update source URL.
* gnu/packages/xdisorg.scm (rxvt-unicode)[source]: Update URL.
2016-02-19 01:49:30 -05:00
Mark H Weaver 3729ff4183 gnu: glibc: Add fix for CVE-2015-7547.
* gnu/packages/patches/glibc-CVE-2015-7547.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc)[source]: Add patch.
2016-02-19 00:42:10 -05:00
Christopher Baines 1c7f1fb133 gnu: Add perl-shell-command.
* gnu/packages/perl.scm (perl-shell-command): New variable.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2016-02-18 21:16:25 +01:00
Alex Sassmannshausen 3c98acb79b gnu: guile-config: Update to 0.1.1.
* gnu/packages/guile.scm (guile-config): Update to 0.1.1.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2016-02-18 20:40:12 +01:00
Efraim Flashner c8732e192e gnu: gccgo: Update to 4.9.
* gnu/packages/gcc.scm (gccgo): Update to 4.9.
2016-02-18 20:52:02 +02:00
Efraim Flashner 2a817081e2 gnu: aria2: Update to 1.20.0.
* gnu/packages/bittorrent.scm (aria2): Update to 1.20.0.
2016-02-18 19:47:49 +02:00
Efraim Flashner 723a6910ca gnu: glpk: Update to 4.58.
* gnu/packages/maths.scm (glpk): Update to 4.58.
2016-02-18 15:35:28 +02:00
Efraim Flashner f6b1a8f7be gnu: ykclient: Update to 2.15.
* gnu/packages/yubico.scm (ykclient): Update to 2.15.
2016-02-18 11:47:19 +02:00
Efraim Flashner 58c5fb76f5 gnu: libyubikey: Update to 1.13.
* gnu/packages/yubico.scm (libyubikey): Update to 1.13.
2016-02-18 11:47:19 +02:00
Efraim Flashner e095be68dd gnu: yasm: Update to 1.3.0.
* gnu/packages/yasm.scm (yasm): Update to 1.3.0.
2016-02-18 11:47:19 +02:00
宋文武 83f64925ae gnu: retroarch: Update to 1.3.1.
* gnu/packages/games.scm (retroarch): Update to 1.3.1.
2016-02-18 17:32:51 +08:00
Nils Gillmann e11d14fe55 gnu: Add emacs-popup.
* gnu/packages/emacs.scm (emacs-popup): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-02-18 11:59:03 +03:00
Rene Saavedra fdba447c62 gnu: Add gnome-backgrounds.
* gnu/packages/gnome.scm (gnome-backgrounds): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-02-18 11:59:03 +03:00
Rene Saavedra a10bf13915 licenses: Add CC-BY-SA and CC-BY.
* guix/licenses.scm (cc-by-sa2.0, cc-by2.0): New variables.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-02-18 11:59:03 +03:00
Alex Kost 19a9c6f47c emacs: Autoload hooks instead of putting them in 'guix-init'.
* emacs/guix-init.el: Move adding hooks to...
* emacs/guix-build-log.el: ... here.
* emacs/guix-devel.el: ... and here.
2016-02-18 11:59:03 +03:00
Alex Kost 5dccaffe64 system: Add iproute to '%base-packages'.
* gnu/system.scm (%base-packages): Add iproute.
2016-02-18 11:59:03 +03:00
Leo Famulari 42e92e069a gnu: letsencrypt and python-acme: Update to 0.4.0.
These packages should be updated together.

* gnu/packages/tls.scm (letsencrypt): Update to 0.4.0.
(python-acme, python2-acme): Update to 0.4.0.
2016-02-17 22:43:08 -05:00
David Thompson 50aaec25ca gnu: Add python-mako.
* gnu/packages/python.scm (python-mako, python2-mako): New variables.
2016-02-17 21:21:47 -05:00
Efraim Flashner 373dfe64a3 gnu: moe: Update to 1.8.
* gnu/packages/moe.scm (moe): Update to 1.8.
2016-02-17 16:25:46 +02:00
宋文武 972f4e5082 gnu: gnunet: Install NSS module.
* gnu/packages/gnunet.scm (gnunet)[arguments]: Pass '--with-nssdir'.
2016-02-17 20:57:55 +08:00
宋文武 dc05025165 gnu: Add gnome.
* gnu/packages/gnome.scm (gnome): New variable.
2016-02-17 20:57:55 +08:00
Fabian Harfert 7af1ca29f4 gnu: Add mate-menus.
* gnu/packages/mate.scm (mate-menus): New variable.
2016-02-17 13:39:41 +02:00
Fabian Harfert f2c7369abc gnu: Add libmateweather.
* gnu/packages/mate.scm (libmateweather): New variable.
2016-02-17 13:39:41 +02:00
Fabian Harfert 4b48a9fee0 gnu: Add mate-desktop.
* gnu/packages/mate.scm (mate-desktop): New variable.
2016-02-17 13:39:40 +02:00
Fabian Harfert cbfe494dd7 gnu: Add mate-themes.
* gnu/packages/mate.scm (mate-themes): New variable.
2016-02-17 12:14:02 +02:00
Fabian Harfert bb2fe79e6e gnu: Add mate-icon-theme.
* gnu/packages/mate.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/mate.scm (mate-icon-theme): New variable.
2016-02-17 12:14:02 +02:00
Alex Sassmannshausen 44a2bdf8e7 gnu: Add guile-config.
* gnu/packages/guile.scm (guile-config): New variable.
2016-02-16 11:24:08 -08:00
Efraim Flashner 1486d67ee8 gnu: qrencode: Update to 3.4.4.
* gnu/packages/aidc.scm (qrencode): Update to 3.4.4.
2016-02-16 19:28:00 +02:00
Andreas Enge 9bd9486df4 gnu: pari-gp: Build documentation.
* gnu/packages/algebra.scm (pari-gp)[native-inputs]: Add texlive-minimal.
  [arguments]: Modify make-flags to build documentation.
2016-02-16 17:11:28 +01:00
Andreas Enge 6b5eb8406c gnu: Add texlive-minimal.
* gnu/packages/texlive.scm (texlive-texmf-minimal, texlive-minimal):
  New variables.
2016-02-16 16:44:36 +01:00
Andreas Enge 3c192e4e1b doc: Add footnote on Guile-JSON.
* doc/guix.texi ("invoking guix import"): Add a footnote to the CPAN importer
  on the need for Guile-JSON.
2016-02-16 16:37:37 +01:00
Andreas Enge f5c6e77a7f doc: Drop documentation of deprecated procedures.
* doc/guix.texi ("build systems"): Drop documentation of
  BUILD-EXPRESSION->DERIVATION.
2016-02-16 16:37:37 +01:00
Andreas Enge c2c5dc79f1 doc: Use modify-phases syntax in example.
* doc/guix.texi ("build systems"): Use modify-phases syntax instead of
  alist-delete in example.
2016-02-16 16:37:37 +01:00
Andreas Enge 4d4c481601 doc: Move paragraphs in description of guix archive.
* doc/guix.texi ("invoking guix archive"): Move paragraph describing basic
  invocation from the end to the beginning of the section.
2016-02-16 16:37:37 +01:00
Efraim Flashner b736776255 gnu: hydrogen: Update to 0.9.6.1.
* gnu/packages/music.scm (hydrogen): Update to 0.9.6.1.
[build-system]: Switch to cmake-build-system.
[arguments]: Enable configure and tests, remove custom phases.
[native-inputs]: Remove python-2, scons. Add cppunit.
[inputs]: Add libarchive, lrdf.
2016-02-16 17:24:45 +02:00
Ricardo Wurmus 578b05d99e gnu: htseq: Add PySam to inputs.
* gnu/packages/bioinformatics.scm (htseq)[inputs]: Add "python2-pysam".
2016-02-16 15:32:15 +01:00
Ricardo Wurmus d15d981ea2 gnu: Add StringTie.
* gnu/packages/bioinformatics.scm (stringtie): New variable.
2016-02-16 14:51:10 +01:00
Ricardo Wurmus 469d6589e3 gnu: Add Augeas.
* gnu/packages/augeas.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2016-02-16 14:41:25 +01:00
Efraim Flashner c5a6e33b56 gnu: gpsbabel: Use 'modify-phases'.
* gnu/packages/gps.scm (gpsbabel)[arguments]: Use 'modify-phases'.
2016-02-16 12:13:01 +02:00
Efraim Flashner 6f1c3b806a gnu: gpsbabel: Update to 1.5.2.
* gnu/packages/gps.scm (gpsbabel): Update to 1.5.2.
[inputs]: Remove qt-4, add qt.
2016-02-16 11:10:45 +02:00
Efraim Flashner d694230abe gnu: librecad: Use 'modify-phases'.
* gnu/packages/engineering.scm (librecad)[arguments]: Use 'modify-phases'.
2016-02-16 09:30:40 +02:00
Efraim Flashner d8a4b93253 gnu: librecad: Update to 2.0.9.
* gnu/packages/engineering.scm (librecad): Update to 2.0.9.
[inputs]: Use qt instead of qt-4.
2016-02-16 08:53:18 +02:00
Leo Famulari d4e21fbbe0 gnu: iftop: Fix license.
* gnu/packages/admin.scm (iftop)[license]: Correct 'gpl3' to 'gpl2+'.
2016-02-15 21:37:07 -05:00
Leo Famulari 6ac2af78e0 gnu: shntool: Fix license.
* gnu/packages/audio.scm (shntool)[license]: Correct 'gpl3+' to 'gpl2+'
and add 'x11'.
2016-02-15 21:36:46 -05:00
Leo Famulari 8763fdf8a5 gnu: pioneers: Fix license.
* gnu/packages/games.scm (pioneers)[license]: Correct 'gpl3+' to 'gpl2+'.
2016-02-15 21:14:18 -05:00
Rodger Fox 7e2e115501 gnu: Add pioneers.
* gnu/packages/games.scm (pioneers): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-02-15 20:12:08 -05:00
Leo Famulari be6f30047e gnu: vdirsyncer: Update to 0.9.0.
* gnu/packages/dav.scm (vdirsyncer): Update to 0.9.0.
2016-02-15 18:48:36 -05:00
Leo Famulari a9da8fec62 gnu: python-click-log: Update to 0.1.3.
* gnu/packages/python.scm (python-click-log): Update to 0.1.3.
2016-02-15 18:48:36 -05:00
Leo Famulari c834cf82b6 gnu: python-atomicwrites: Update to 0.1.9.
* gnu/packages/python.scm (python-atomicwrites): Update to 0.1.9.
2016-02-15 18:48:36 -05:00
Leo Famulari 97bbc48023 gnu: python-lxml: Update to 3.5.0.
* gnu/packages/python.scm (python-lxml, python2-lxml): Update to 3.5.0.
[source]: Use pypi-uri.
2016-02-15 18:48:36 -05:00
Tobias Geerinckx-Rice 85a94d296e gnu: redshift: Update to 1.11.
* gnu/packages/xdisorg.scm (redshift): Update to 1.11.
2016-02-15 23:37:21 +01:00
Christopher Allan Webber a4ba286baf gnu: python-sqlalchemy: Update to 1.0.12.
* gnu/packages/python.scm (python-sqlalchemy): Update to 1.0.12.
2016-02-15 14:02:06 -08:00
Pjotr Prins 552f5c009e gnu: Add slurm.
* gnu/packages/parallel.scm (slurm): New variable.
* gnu/packages/patches/slurm-configure-remove-nonfree-contribs.patch:
  New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/parallel.scm: Introduce license name space.

Co-authored-by: Andreas Enge <andreas@enge.fr>
2016-02-15 22:47:47 +01:00
Ben Woodcroft e70f7a2306 gnu: prodigal: Update to 2.6.3.
* gnu/packages/bioinformatics.scm (prodigal): Update to 2.6.3.
2016-02-16 07:18:59 +10:00
Efraim Flashner 7fe8ad7616 gnu: polkit-qt: Build with qt-5.
*gnu/packages/polkit.scm (polkit-qt)[propagated-inputs]: Use qt.
2016-02-15 20:22:28 +02:00
Efraim Flashner d1cba090a8 gnu: bazaar: Update to 2.7.0.
* gnu/packages/version-control.scm (bazaar): Update to 2.7.0.
2016-02-15 19:53:27 +02:00
Ricardo Wurmus 258c0a365e gnu: r-annotationdbi: Update to 1.32.3.
* gnu/packages/bioinformatics.scm (r-annotationdbi): Update to 1.32.3.
2016-02-15 16:11:22 +01:00
Ricardo Wurmus 3d7a157c62 gnu: Add audit.
* gnu/packages/admin.scm (audit): New variable.
2016-02-15 16:06:09 +01:00
Efraim Flashner fdc1b2fd65 gnu: vera: Update to 1.23.
* gnu/packages/dictionaries.scm (vera): Update to 1.23.
2016-02-15 15:49:13 +02:00
Efraim Flashner e0ef3708f7 gnu: nano: Update to 2.5.2.
* gnu/packages/nano.scm (nano): Update to 2.5.2.
2016-02-15 15:49:13 +02:00
Efraim Flashner 4bc0c634b3 gnu: bitcoin-core: Update to 0.11.2.
* gnu/packages/finance.scm (bitcoin-core): Update to 0.11.2.
[native-inputs]: Use python-2 instead of python-wrapper.
2016-02-15 15:46:00 +02:00
Efraim Flashner 87062f75e4 gnu: owncloud-client: Update to 2.1.1.
* gnu/packages/owncloud.scm (owncloud-client): Update to 2.1.1.
2016-02-15 15:46:00 +02:00
Ben Woodcroft cf6edaba74 gnu: vsearch: Update to 1.10.0.
* gnu/packages/bioinformatics.scm (vsearch): Update to 1.10.0.
[origin]: Adapt to changes in bundling of cityhash.
2016-02-15 22:54:25 +10:00
Ben Woodcroft a64a8c465d gnu: cityhash: Install citycrc.h.
* gnu/packages/textutils.scm (cityhash)[arguments]: Install citycrc.h.
[version]: Use standardised format, increment to 1.1-2.
2016-02-15 22:54:12 +10:00
Mark H Weaver e86409c566 gnu: graphite2: Update to 1.3.5. Update home-page and source URI.
* gnu/packages/fontutils.scm (graphite2): Update to 1.3.5.
  [source, home-page]: Update to reflect upstream move to github.
2016-02-15 02:51:35 -05:00
Mark H Weaver 4373278ea5 gnu: libsndfile: Update to 1.0.26 [with follow-up fix CVE-2015-7805].
Note: The previous fix for CVE-2015-7805 was incomplete.

* gnu/packages/patches/libsndfile-CVE-2014-9496.patch,
  gnu/packages/patches/libsndfile-CVE-2015-7805.patch: Delete files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/pulseaudio.scm (libsndfile): Update to 1.0.26.
  [source]: Remove patches.
2016-02-15 02:51:35 -05:00
Christopher Allan Webber ea79dbb240 gnu: libgcrypt: Update to 1.6.5 [fixes CVE-2015-7511].
* gnu/packages/gnupg.scm (libgcrypt): Update to 1.6.5.
2016-02-15 02:51:35 -05:00
Leo Famulari 68bcac6b62 gnu: btrfs-progs: Fix license.
Reported by Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>

* gnu/packages/linux.scm (btrfs-progs)[license]: Add GPL2 to list of licenses.
2016-02-14 21:04:05 -05:00
Nils Gillmann acb381566c gnu: font-terminus: Update to 4.40
* gnu/packages/fonts.scm (font-terminus): Update to 4.40.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-02-14 20:46:49 -05:00
Andreas Enge b6b07d9de3 gnu: python-ly: Update to 0.9.3.
* gnu/packages/python.scm (python-ly): Update to 0.9.3.
2016-02-14 21:49:56 +01:00
Mark H Weaver b042bdc8fd gnu: lxqt: Update source URLs to use HTTPS.
* gnu/packages/lxqt.scm (libqtxdg, liblxqt, lxqt-common)
  (lxqt-session)[source]: Use HTTPS URLs.
2016-02-14 08:48:13 -05:00
Efraim Flashner 38b209110e gnu: openbox: Update to 3.6.1.
* gnu/packages/openbox.scm (openbox): Update to 3.6.1.
2016-02-14 09:51:47 +02:00
Efraim Flashner 8826fb241e gnu: postgresql: Update to 9.3.11. [fixes CVE-2015-{5288,5289},CVE-2016-{0766,0773}]
* gnu/packages/databases.scm (postgresql): Update to 9.3.11.
2016-02-14 09:34:27 +02:00
Jochem Raat 3c697ffda3 gnu: Add baobab.
* gnu/packages/gnome.scm (baobab): New variable.
2016-02-13 21:09:42 -05:00
Al McElrath aa0edd3f5b gnu: Add pianobar.
* gnu/packages/music.scm (pianobar): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-02-13 18:40:04 -05:00
Christopher Allan Webber cb34dc6c3e gnu: Add python-wtforms
* gnu/packages/python.scm (python-wtforms, python2-wtforms): New variables.
2016-02-13 15:03:10 -08:00
Andreas Enge f97c91757d doc: Correct typos.
* doc/guix.texi: Correct typos, grammar and stylistic points.
2016-02-13 19:58:22 +01:00
Alex Kost 75cd4b053e gnu: iproute: Update to 4.4.0.
* gnu/packages/linux.scm (iproute): Update to 4.4.0.
2016-02-13 20:39:34 +03:00
Alex Kost b53e44fb4e gnu: iproute: Use 'modify-phases'.
* gnu/packages/linux.scm (iproute)[arguments]: Use 'modify-phases'.
2016-02-13 20:39:34 +03:00
Andreas Enge a42d99f284 gnu: calibre: Update to 2.51.0.
* gnu/packages/ebook.scm (calibre): Update to 2.51.0.
2016-02-13 14:34:50 +01:00
Andreas Enge ec4130b7e7 gnu: gnuplot: Update to 5.0.2.
* gnu/packages/maths.scm (gnuplot): Update to 5.0.2.
2016-02-13 13:37:49 +01:00
Jan Nieuwenhuizen 8c1088bb0f gnu: lablgtk: Build cmxa libraries.
* gnu/packages/ocaml.scm (lablgtk)[arguments]: Add the make target "opt"
  to also build *.cmxa files.
2016-02-13 09:23:20 +01:00
Jan Nieuwenhuizen 6372e336a2 gnu: ocaml: Set search path.
* gnu/packages/ocaml.scm (ocaml): Register OCAMLPATH as a search path.
2016-02-13 09:21:58 +01:00
Jan Nieuwenhuizen a747baba00 gnu: Add ocaml-findlib.
* gnu/packages/ocaml.scm (ocaml-findlib): New variable.
* gnu/packages/patches/ocaml-findlib-make-install.patch: New file.
* gnu-system.am (dist_patch_DATA): Register it.
2016-02-13 09:15:55 +01:00
Mark H Weaver 3a7261bf96 gnu: gnupg: Add upstream fix for test failures on x86_64.
Fixes <https://debbugs.gnu.org/22558>.

* gnu/packages/patches/gnupg-simple-query-ignore-status-messages.patch: New
  file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gnupg.scm (gnupg)[source]: Add patch.
2016-02-12 21:02:24 -05:00
Jan Nieuwenhuizen 511539ae81 gnu: Add tclxml.
* gnu/packages/patches/tclxml-3.2-install.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/tcl.scm (tclxml): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-02-12 19:13:05 -05:00
Leo Famulari 6cefd53d3e gnu: Split acme into python-acme and python2-acme.
* gnu/packages/tls.scm (acme): Split variable into...
(python-acme, python2-acme): ...both Python variants.
(letsencrypt)[propagated-inputs]: Update user of renamed variable.
2016-02-12 18:50:32 -05:00
Leo Famulari 8ad4ae204f gnu: python-wheel: Define 'python2-variant'.
* gnu/packages/python.scm (python-wheel)[properties]: New field.
(python2-wheel): Use 'strip-python2-variant'.
(python2-requests): Take the result of 'package-with-python2' directly.
* gnu/packages/openstack.scm (python2-requests-mock): Likewise.
(python2-oslosphinx): Likewise.
2016-02-12 18:50:32 -05:00
Leo Famulari a14600ecfa gnu: python-jsonschema: Define 'python2-variant'.
* gnu/packages/python.scm (python-jsonschema)[properties]: New field.
(python2-jsonschema): Use 'strip-python2-variant'.
* gnu/packages/openstack.scm (python2-tempest-lib): Take the result of
'package-with-python2' directly.
2016-02-12 18:50:32 -05:00
Leo Famulari 519e2f4fde gnu: python-cryptography: Define 'python2-variant'.
* gnu/packages/python.scm (python-cryptography)[properties]: New field.
(python2-cryptography): Use 'strip-python2-variant'.
(python2-pyopenssl): Take the result of 'package-with-python2' directly.
2016-02-12 18:50:32 -05:00
Jan Nieuwenhuizen 50fe318c3c gnu: Add tcllib.
* gnu/packages/tcl.scm (tcllib): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-02-12 18:01:05 -05:00
Jan Nieuwenhuizen e4c38581f3 gnu: tcl: Use tcl/tk license.
* gnu/packages/tcl.scm (tcl)[license]: Use the tcl/tk license variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-02-12 18:01:05 -05:00
Jan Nieuwenhuizen d29f647077 licenses: Add tcl/tk license.
* guix/licenses.scm (tcl/tk): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-02-12 17:25:39 -05:00
David Thompson 779aa003fb scripts: environment: Build environments as profiles.
Fixes <http://bugs.gnu.org/19816>.

* guix/scripts/environment.scm (evaluate-input-search-paths)
(build-inputs): Delete.
(evaluate-profile-search-paths, strip-input-name)
(package-or-package+output?, package-environment-inputs)
(build-environment, inputs->profile-derivations): New procedures.
(create-environment, show-search-paths, launch-environment)
(launch-environment/container): Replace 'inputs' argument
with 'profile' argument.
(package+propagated-inputs): Strip off names off of input tuples.
(options/resolve-packages): Handle input tuples that specify an output
in expressions.
(guix-environment): Convert inputs into a profile to use in the
environment.  Remove non-package inputs such as origins from
environment inputs.
* doc/guix.texi ("invoking guix environment"): Document package+output
tuples for --expression option.
* tests/guix-environment.sh: Update tests.
* tests/guix-environment-container.sh: Likewise.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-02-12 22:02:06 +01:00
Ludovic Courtès e5f04c2dde profiles: Add #:system argument to profile-derivation.
Suggested by David Thompson <davet@gnu.org>.

* guix/profiles.scm (profile-derivation): Add #:system parameter and
honor it.
2016-02-12 21:54:25 +01:00
Ludovic Courtès 98a7b528d6 store: Add monadic access to '%current-system'.
* guix/store.scm (current-system, set-current-system): New procedures.
* tests/store.scm ("current-system"): New test.
2016-02-12 21:54:25 +01:00
Ricardo Wurmus 0d0bcaa08e gnu: macs: Update to 2.1.0.20151222.
* gnu/packages/bioinformatics.scm (macs): Update to 2.1.0.20151222.
2016-02-12 18:16:16 +01:00
Ricardo Wurmus 43ec07f17c gnu: macs: Use "pypi-uri".
* gnu/packages/bioinformatics.scm (macs)[source]: Use "pypi-uri" to
  build source URI.
2016-02-12 18:16:16 +01:00
Ricardo Wurmus b074e7d486 gnu: python2-fastlmm: Update to 0.2.21.
* gnu/packages/python.scm (python2-fastlmm): Update to 0.2.21.
2016-02-12 10:58:46 +01:00
Ricardo Wurmus 3f2e9675fb gnu: python2-pysnptools: Update to 0.3.5.
* gnu/packages/python.scm (python2-pysnptools): Update to 0.3.5.
2016-02-12 10:58:46 +01:00
Ricardo Wurmus ef9b4c04a4 gnu: python-numpy-bootstrap: Update to 1.10.4.
* gnu/packages/python.scm (python-numpy-bootstrap): Update to 1.10.4.
2016-02-12 10:58:46 +01:00
Ricardo Wurmus 1b96f069e6 gnu: python-pandas: Update to 0.16.2.
* gnu/packages/python.scm (python-pandas): Update to 0.16.2.
2016-02-12 10:58:46 +01:00
Ni* Gillmann 3ccdd4305e gnu: Add gnunet-gtk.
* gnu/packages/gnunet.scm (gnunet-gtk): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2016-02-12 10:17:05 +01:00
Ricardo Wurmus 1eb6bbd8c0 gnu: gnunet: Add gstreamer and plugins to inputs.
* gnu/packages/gnunet.scm (gnunet)[inputs]: Add "gstreamer" and
  "gst-plugins-base".
2016-02-12 08:09:19 +01:00
Tobias Geerinckx-Rice 3a9cfba879 install: Add btrfs-progs to the image.
* gnu/system/install.scm (installation-os)[packages]: Add BTRFS-PROGS.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-02-11 21:39:30 -05:00
Tobias Geerinckx-Rice fc686f9a19 gnu: Add btrfs-progs.
* gnu/packages/linux.scm (btrfs-progs): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-02-11 21:02:06 -05:00
Mark H Weaver e57127fbe1 Revert "gnu: nginx: Update to 1.9.11. [fixes CVE-2016-{0742, 0746, 0747}]"
This reverts commit 759246ad48.
2016-02-11 16:31:19 -05:00
Mark H Weaver 59d4cf1c58 gnu: icecat: Update bundled graphite2 to 1.3.5 for security fixes.
* gnu/packages/patches/icecat-update-graphite2.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patch.  Add TODO
  comment about using the system graphite2 in the future.
2016-02-11 14:59:16 -05:00
Efraim Flashner 759246ad48 gnu: nginx: Update to 1.9.11. [fixes CVE-2016-{0742, 0746, 0747}]
* gnu/packages/web.scm (nginx): Update to 1.9.11.
2016-02-11 21:36:43 +02:00
Efraim Flashner d2ca99ccbd gnu: feh: Update to 2.14.1.
* gnu/packages/feh.scm (feh): Update to 2.14.1.
2016-02-11 12:46:55 +02:00
Efraim Flashner 9b719875be gnu: obs: Update to 0.13.1.
* gnu/packages/video.scm (obs): Update to 0.13.1.
2016-02-11 11:11:44 +02:00
Efraim Flashner 50beb63b7a gnu: fribidi: Update to 0.19.7.
* gnu/packages/fribidi.scm (fribidi): Update to 0.19.7.
2016-02-11 11:00:36 +02:00
Efraim Flashner 992b527d52 gnu: alsa-utils: Update to 1.1.0.
* gnu/packages/linux.scm (alsa-utils): Update to 1.1.0.
2016-02-11 09:26:55 +02:00
Ricardo Wurmus 138e76972a gnu: zynaddsubfx: Update to 2.5.3.
* gnu/packages/music.scm (zynaddsubfx): Update to 2.5.3.
2016-02-11 08:25:03 +01:00
Leo Famulari a2a06c51ab gnu: htop: Update to 2.0.0.
* gnu/packages/admin.scm (htop): Update to 2.0.0.
2016-02-11 00:31:10 -05:00
Al McElrath 8a75c589aa gnu: Add notmuch-addrlookup-c.
* gnu/packages/mail.scm (notmuch-addrlookup-c): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-02-10 17:08:24 -05:00
Ludovic Courtès dedb8d5ece doc: Provide more details about system installation.
* doc/guix.texi (System Installation): Turn all subsections into
individual nodes.
(Limitations): Update the number of packages.
(Preparing for Installation)[Keyboard Layout, Networking, Disk
Partitionning]: New subsections.  Move the 'cow-store' thing to...
(Proceeding with the Installation): ... here.  Describe things in more
detail.
(Base Services): Add index entry for "keyboard layout".

Co-authored-by: Petter <petter@mykolab.ch>.
2016-02-10 21:47:31 +01:00
Ludovic Courtès c96ba2cf5e install: Do not cache lookup failures.
Possibly fixes <http://bugs.gnu.org/22209>.

* gnu/system/install.scm (%nscd-minimal-caches)[negative-time-to-live]:
Set to zero.
2016-02-10 21:47:31 +01:00
Leo Famulari 8823ed4e12 gnu: Fix syntax error in postgresql-service.
Fixes <http://bugs.gnu.org/22618>.
Reported by Danny Milosavljevic <dannym@scratchpost.org>.

* gnu/services/databases.scm (%default-postgres-config): Add missing
quote in default configuration.
2016-02-10 15:34:11 -05:00
Mark H Weaver 16114c3494 gnu: mit-krb5: Update to 1.13.3; add fixes for CVE-2015-{8629,8630,8631}.
* gnu/packages/patches/mit-krb5-CVE-2015-2695-pt1.patch,
  gnu/packages/patches/mit-krb5-CVE-2015-2695-pt2.patch,
  gnu/packages/patches/mit-krb5-CVE-2015-2696.patch,
  gnu/packages/patches/mit-krb5-CVE-2015-2697.patch,
  gnu/packages/patches/mit-krb5-CVE-2015-2698-pt1.patch,
  gnu/packages/patches/mit-krb5-CVE-2015-2698-pt2.patch: Delete files.
* gnu/packages/patches/mit-krb5-CVE-2015-8629.patch,
  gnu/packages/patches/mit-krb5-CVE-2015-8630.patch,
  gnu/packages/patches/mit-krb5-CVE-2015-8631.patch,
  gnu/packages/patches/mit-krb5-init-context-null-spnego.patch: New files.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/mit-krb5.scm (mit-krb5): Update to 1.13.3.
  [source]: Update URI to download conventional .tar.gz file.  Add patches.
  [native-inputs]: Remove old patches-as-inputs.
  [arguments]: Remove hacks needed to cope with the older unconventional
  tarball that contained an inner source tarball and signature: Remove
  #:modules argument, and the custom 'unpack' and 'apply-patches' phases.
2016-02-10 10:41:11 -05:00
Mark H Weaver 42395bf514 gnu: nettle: Update to 3.2 [fixes CVE-2015-{8803,8804,8805}].
* gnu/packages/nettle.scm (nettle): Update to 3.2.
2016-02-10 10:41:11 -05:00
Ludovic Courtès 4ecbf6d282 gnu: haunt: Wrap 'haunt' command so that it finds its modules.
* gnu/packages/guile.scm (haunt)[arguments]: New field.
2016-02-10 15:15:17 +01:00
Ludovic Courtès f5582b2c1d system: Selected locale is automatically built.
Fixes <http://bugs.gnu.org/22572>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/system/locale.scm (%not-dot): New variable.
(denormalize-codeset, locale-name->definition): New procedures.
* gnu/system.scm (locale-name->definition*): New procedure.
(operating-system-locale-directory): Instead of raising an error, add
the missing locale.
* doc/guix.texi (Locales): Adjust accordingly.
2016-02-10 15:15:17 +01:00
Alex Kost 32e1611206 gnu: emacs-debbugs: Update to 0.9.
* gnu/packages/emacs.scm (emacs-debbugs): Update to 0.9.
[propagated-inputs]: Add 'emacs-async'.
2016-02-10 01:34:17 +03:00
Alex Kost b654de6da1 gnu: Add emacs-async.
* gnu/packages/emacs.scm (emacs-async): New variable.
2016-02-10 01:34:17 +03:00
Alex Kost 3db5ed11da gnu: magit: Update to 2.5.0.
* gnu/packages/emacs.scm (magit): Update to 2.5.0.
[propagated-inputs]: Add 'emacs-with-editor'.
[arguments]: Make with WITH_EDITOR_DIR.
2016-02-10 01:34:17 +03:00
Alex Kost 2b0e43003c gnu: Add emacs-with-editor.
* gnu/packages/emacs.scm (emacs-with-editor): New variable.
2016-02-10 01:34:17 +03:00
Alex Kost 2c04e2eec8 emacs: 'C-u M-x guix-edit' prompts for directory.
* emacs/guix-base.el (guix-read-directory): New procedure.
(guix-find-location, guix-edit): Add optional 'directory' argument.
* emacs/guix-ui-package.el (guix-package-list-edit)
(guix-output-list-edit): Likewise.
* doc/emacs.texi (Emacs Commands): Mention "C-u".
2016-02-10 01:31:19 +03:00
Pjotr Prins f1957fc145 gnu: Add munge.
* gnu/packages/admin.scm (munge): New variable.
2016-02-09 20:43:32 +01:00
Leo Famulari 9bee9d87dc gnu: acme: Disable egg compression.
* gnu/packages/python.scm (acme)[arguments]: Add
'disable-egg-compression' phase.
2016-02-08 23:45:06 -05:00
Leo Famulari 0c7320dc89 gnu: letsencrypt and acme: Update to 0.3.0.
These packages should be updated together.

* gnu/packages/tls.scm (letsencrypt): Update to 0.3.0.
(acme): Update to 0.3.0.
2016-02-08 23:04:07 -05:00
David Thompson fe65ef54c5 youtube-dl: Update to 2016.02.05.1.
* gnu/packages/video.scm (youtube-dl): Update to 2016.02.05.1.
2016-02-08 21:47:51 -05:00
Ludovic Courtès 939c5c31d6 system: Add Texinfo to '%base-packages'.
Fixes <http://bugs.gnu.org/22598>.
Reported by myglc2 <myglc2@gmail.com>.

* gnu/system.scm (%base-packages): Add TEXINFO.
2016-02-08 23:46:46 +01:00
Ludovic Courtès 1f1ff6a0e7 linux-container: Accept file systems with a UUID 'source'.
* gnu/system/linux-container.scm (containerized-operating-system)[user-file-systems]:
Check whether SOURCE is a string before calling 'string-prefix?'.
2016-02-08 23:46:46 +01:00
Ludovic Courtès 6eb439070a file-systems: Spawn a Bournish REPL upon fsck failure.
Fixes <http://bugs.gnu.org/22588>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/build/file-systems.scm (check-file-system): Pass
%BOURNISH-LANGUAGE as the argument to 'start-repl'.
* gnu/services.scm (activation-script): Add (guix build bournish).
* gnu/services/base.scm (file-system-shepherd-service)[imported-modules]:
Likewise.
* gnu/system/linux-container.scm (container-script): Likewise.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
2016-02-08 23:46:46 +01:00
Ludovic Courtès f2e4805b7e Add (guix build bournish) and use it in the initrd.
* guix/build/bournish.scm: New file.
* Makefile.am (MODULES): Add it.
* gnu/system/linux-initrd.scm (base-initrd): Add (guix build bournish)
and use it.
2016-02-08 23:46:46 +01:00
Nils Gillmann 423eef362b gnu: add lispf4
* gnu/packages/lisp.scm (lispf4): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-02-08 15:09:34 -05:00
Mark H Weaver 7fb51d9742 gnu: dbus: Use https source URL.
* gnu/packages/glib.scm (dbus)[source]: Use https URL.
2016-02-08 08:59:00 -05:00
Rene Saavedra 8b8775454b gnu: Add nautilus.
* gnu/packages/gnome.scm (nautilus): New variable.

Co-authored-by: 宋文武 <iyzsong@gmail.com>
2016-02-08 13:48:16 +08:00
Leo Famulari 16095d2729 gnu: python-pillow: Update to 3.1.1 [fixes CVE-2016-{0740, 0775}].
* gnu/packages/python.scm (python-pillow, python2-pillow): Update to 3.1.1.
2016-02-08 00:25:40 -05:00
Christopher Allan Webber 3d4f9d5cde gnu: Add assword.
* gnu/packages/password-utils.scm (assword): New variable.
2016-02-07 14:57:52 -08:00
Christopher Allan Webber 0bdc1671e4 gnu: Add python2-xdo.
* gnu/packages/python.scm (python2-xdo): New variable.
2016-02-07 14:57:52 -08:00
Ludovic Courtès 57b7b8cd60 gnu: python-matplotlib: Define 'python2-variant'.
* gnu/packages/python.scm (python2-numpy): Take the result of
'package-with-python2' directly.
(python2-scipy): Likewise.
(python-matplotlib)[properties]: New field.
(python2-matplotlib): Call 'strip-python2-variant'.
2016-02-07 23:46:01 +01:00
Ludovic Courtès 48b311b1b3 gnu: python-cython: Define 'python2-variant'.
* gnu/packages/python.scm (python-cython)[properties]: New field.
(python2-cython): Use 'strip-python2-variant'.
2016-02-07 23:46:01 +01:00
Ludovic Courtès 7ec42f1d8a gnu: python-pycairo: Define 'python2-variant'.
* gnu/packages/gtk.scm (python-pycairo)[properties]: New field.
(python2-pycairo): Use 'strip-python2-variant'.
2016-02-07 23:46:01 +01:00
Ludovic Courtès 00f2bf3433 gnu: python-pygobject: Define 'python2-variant'.
* gnu/packages/glib.scm (python-pygobject)[properties]: New field.
(python2-pygobject): Use 'strip-python2-variant'.
2016-02-07 23:46:01 +01:00
Ludovic Courtès 1be83341f6 build-system/python: Honor the 'python2-variant' property of packages.
Fixes <http://bugs.gnu.org/22437>.
Reported by Leo Famulari <leo@famulari.name> and others.

* guix/build-system/python.scm (package-with-explicit-python): Add
  #:variant-property and honor it.
(strip-python2-variant): New procedure.
2016-02-07 23:46:01 +01:00
Ludovic Courtès 5540929500 gnu: upower: Install man pages.
* gnu/packages/gnome.scm (upower)[native-inputs]: Add LIBXML2, LIBXSLT,
and DOCBOOK-XSL.
2016-02-07 23:46:01 +01:00
Efraim Flashner 17d2e86d49 gnu: keepassx: Update to 2.0.2.
* gnu/packages/password-utils.scm (keepassx): Update to 2.0.2.
2016-02-07 21:37:00 +02:00
Fabian Harfert 6366cef38d gnu: Add libcanberra-gtk2.
* gnu/packages/libcanberra.scm (libcanberra/gtk+-2): New variable.
2016-02-07 16:49:51 +01:00
Efraim Flashner fe476868df gnu: python2-pysqlite: Update to 2.8.1.
* gnu/packages/python.scm (python2-pysqlite): Update to 2.8.1.
[source]: Change to `pypi uri` syntax.
[home-page]: Update to new homepage.
2016-02-07 15:59:54 +02:00
Efraim Flashner f2d06d4697 gnu: python2-backport-ssl-match-hostname: Update to 3.5.0.1.
* gnu/packages/python.scm (python2-backport-ssl-match-hostname):
Update to 3.5.0.1.
[arguments]: Skip tests.
[synopsis]: Update for python version 3.5.x.
2016-02-07 15:24:43 +02:00
Efraim Flashner ce6c13ee8c gnu: python-cryptography: Update to 1.2.2.
* gnu/packages/python.scm (python-cryptography): Update to 1.2.2.
[source]: Change to `pypi uri` syntax.
[native-inputs]: Add python-pyasn1, python-pyasn1-modules,
python-hypothesis.
(python2-cryptography)[propagated-inputs]: Add
python2-backport-ssl-match-hostname
2016-02-07 14:26:57 +02:00
Efraim Flashner b39b33e8c8 gnu: python-cryptography-vectors: Update to 1.2.2.
* gnu/packages/python.scm (python-cryptography-vectors): Update to 1.2.2.
2016-02-07 13:57:44 +02:00
Efraim Flashner 6fb54e3bd4 gnu: python-pip: Update to 8.0.2.
* gnu/packages/python.scm (python-pip): Update to 8.0.2.
[source]: Change to `pypi uri` syntax.
2016-02-07 13:38:16 +02:00
Efraim Flashner 5b669ba1e3 gnu: python-gnupg: Update to 0.3.8.
* gnu/packages/gnupg.scm (python-gnupg): Update to 0.3.8.
[source]: Change to 'pypi uri` syntax.
2016-02-07 12:58:54 +02:00
Alex Kost 7c1b1ae24a doc: Document 'guix-edit' Emacs command.
* doc/emacs.texi (Emacs Commands): Document "M-x guix-edit".
* doc/guix.texi (Invoking guix edit): Mention it.
2016-02-07 11:24:35 +03:00
Alex Kost b3fee145df system: Fix EMACSLOADPATH.
After commit 13fe4891fa, Emacs package
includes "site-start.el", and it has a priority over
"/etc/emacs/site-start.el" on GuixSD because "/etc/emacs" is added to
the end of 'load-path'.

* gnu/system.scm (operating-system-environment-variables): Change
  EMACSLOADPATH to prepend "/etc/emacs" to 'load-path' instead of
  appending.
2016-02-07 11:24:35 +03:00
Alex Kost 004ea62955 emacs: Find Emacs packages in a system profile.
Fixes <http://bugs.gnu.org/22550>.
Reported by myglc2 <myglc2@gmail.com>.

* emacs/guix-emacs.el (guix-emacs-autoload-packages): Autoload Emacs
  packages installed in a system profile.
2016-02-07 11:24:35 +03:00
Alex Kost 09b634565d emacs: Move the code to load Emacs packages after installing.
This code should belong to "guix-backend" as it is run after a REPL
operation to check if new Emacs packages have been installed and to
autoload them if needed.

* emacs/guix-emacs.el (guix-emacs-activate-after-operation)
(guix-emacs-load-autoloads-maybe): Move and rename to...
* emacs/guix-backend.el (guix-emacs-activate-after-operation)
(guix-repl-autoload-emacs-packages-maybe): ... this.
(guix-after-repl-operation-hook): Adjust for the renaming.
2016-02-07 11:24:35 +03:00
Alex Kost abea77e3f0 emacs: Factorize searching for Emacs packages.
* emacs/guix-emacs.el: (guix-emacs-directories): New procedure.
(guix-emacs-find-autoloads-in-directory): Rename to...
(guix-emacs-find-autoloads): ... this.
(guix-emacs-load-autoloads): Remove.  Replace with...
(guix-emacs-autoload-packages): ... this.  New procedure.  At first,
find a list of directories with Emacs packages, then add them to
'load-path' and finally, load autoloads.
* doc/emacs.texi (Emacs Initial Setup): Adjust accordingly.
2016-02-07 11:24:35 +03:00
宋文武 6588c2834a gnu: curl: Use 'https' URL.
Reported by marusich on #guix.

* gnu/packages/curl.scm (curl)[source]: Use 'https' URL.
2016-02-07 10:41:40 +08:00
Christopher Allan Webber 6f74aecdb3 gnu: xdotools: Update to 3.20150503.1
* gnu/packages/xdisorg.scm (xdotools): Upgrade to 3.20150503.1.
* gnu/packages/patches/xdotool-fix-makefile.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2016-02-06 15:39:51 -08:00
Ludovic Courtès d9f0788ad2 gnu: guile-next: Update to 2.1.2.
* gnu/packages/guile.scm (guile-next): Update to 2.1.2.  Add 'snippet'.
2016-02-06 21:46:25 +01:00
Ludovic Courtès 8c4c2a983e gnu: Add Texinfo 6.1.
* gnu/packages/texinfo.scm (texinfo-6.1): New variable.
* gnu/packages/emacs.scm (emacs): Add comment about 'info.info'.
2016-02-06 21:46:25 +01:00
Christopher Allan Webber a05d1d82c0 gnu: Add python-pygpgme
* gnu/packages/gnupg.scm (python-pygpgme, python2-pygpgme): New variables.
* gnu/packages/patches/pygpgme-disable-problematic-tests.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2016-02-06 11:30:35 -08:00
Mark H Weaver 08cb746f08 gnu: icecat: Re-enable the Ephemeral Diffie-Hellman cipher suites.
* gnu/packages/patches/icecat-re-enable-DHE-cipher-suites.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patch.
2016-02-06 08:48:20 -05:00
Ludovic Courtès e7ad0d5862 services: elogind: Extend PAM to use 'pam_elogind.so'.
Thanks to Andy Wingo <wingo@igalia.com> for explaining this at
<https://lists.gnu.org/archive/html/guix-devel/2015-08/msg00439.html>.

* gnu/services/desktop.scm (pam-extension-procedure): New procedure.
(elogind-service-type): Extend PAM-ROOT-SERVICE-TYPE.
2016-02-06 12:01:42 +01:00
Ludovic Courtès 12c00bca92 system: pam: 'pam-root-service-type' can be extended with transformations.
* gnu/system/pam.scm (<pam-configuration>): New record type.
(/etc-entry): Change 'services' parameter' to 'config'.  Honor the
'transform' field of CONFIG.
(extend-configuration): New procedure.
(pam-root-service-type): Use EXTEND-CONFIGURATION as the 'extend'
field.
(pam-root-service): Add #:transform parameter.  Service value is a
<pam-configuration>.
2016-02-06 12:01:42 +01:00
Ludovic Courtès d7bce31c36 system: pam: Export accessors.
* gnu/system/pam.scm: Export <pam-service> and <pam-entry> accessors.
2016-02-06 12:01:42 +01:00
Fabian Harfert b7807bb2fa gnu: Add murrine.
* gnu/packages/gtk.scm (murrine): New variable.
2016-02-06 13:35:29 +08:00
Fabian Harfert 9ba5198c4c gnu: Add gtk-engines.
* gnu/packages/gtk.scm (gtk-engines): New variable.
2016-02-06 13:32:59 +08:00
Andreas Enge eb2afd000c gnu: r: Drop input lapack.
* gnu/packages/statistics.scm (r)[inputs]: Drop lapack, which is
  recommended by the manual.
  [arguments]: Adapt configure flags.
2016-02-05 23:20:43 +01:00
Ludovic Courtès 05c5b16585 services: elogind: Add elogind to the global profile.
* gnu/services/desktop.scm (elogind-service-type): Extend
PROFILE-SERVICE-TYPE.
2016-02-05 22:10:42 +01:00
Ludovic Courtès edc891fa76 services: upower: Add upower to the global profile.
* gnu/services/desktop.scm (upower-service-type): Extend
PROFILE-SERVICE-TYPE.
2016-02-05 22:10:42 +01:00
Ludovic Courtès 42c97811c9 gnu: vpnc: Make sure 'vpnc-script' finds the commands it needs.
* gnu/packages/vpn.scm (vpnc)[inputs]: Add NET-TOOLS and IPROUTE.
[arguments]: Use 'modify-phases'.  Wrap 'vpnc-script'.
2016-02-05 22:10:42 +01:00
Mark H Weaver a7d8c466db gnu: icecat: Update to 38.6.0-gnu1.
* gnu/packages/patches/icecat-bug-1146335-pt1.patch,
  gnu/packages/patches/icecat-bug-1146335-pt2.patch,
  gnu/packages/patches/icecat-limit-max-buffers-size-for-ANGLE.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt01.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt02.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt03.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt04.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt05.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt06.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt07.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt08.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt09.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt10.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt11.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt12.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt13.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt14.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt15.patch,
  gnu/packages/patches/icecat-CVE-2016-1935.patch: Delete files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/gnuzilla.scm (icecat): Update to 38.6.0-gnu1.
  [source]: Remove patches.
2016-02-05 16:00:25 -05:00
Andreas Enge 95b754a17a gnu: r: Drop input openblas.
* gnu/packages/statistics.scm (r)[inputs]: Drop openblas.
  [arguments]: Adapt configure flags. This makes the build succeed
  on armhf-linux.
2016-02-05 20:51:39 +01:00
Efraim Flashner 22b0caa3ed gnu: glibmm: Update to 2.46.3.
* gnu/packages/glib.scm (glibmm): Update to 2.46.3.
2016-02-05 16:02:26 +02:00
Efraim Flashner 93e3be9abd gnu: gedit: Update to 3.18.3.
* gnu/packages/gnome.scm (gedit): Update to 3.18.3.
2016-02-05 16:02:26 +02:00
Efraim Flashner 7965a94a67 gnu: gtksourceview: Update to 3.18.2.
* gnu/packages/gtk.scm (gtksourceview): Update to 3.18.2.
2016-02-05 16:02:26 +02:00
Efraim Flashner 5b00397279 gnu: atkmm: Update to 2.24.2.
* gnu/packages/gtk.scm (atkmm): Update to 2.24.2.
2016-02-05 16:02:26 +02:00
Efraim Flashner f58219569c gnu: libxml++: Update to 3.0.0.
* gnu/packages/gnome.scm (libxml++): Update to 3.0.0.
2016-02-05 16:02:26 +02:00
Efraim Flashner 73836c7de8 gnu: ffmpeg: Update to 2.8.6.
* gnu/packages/video.scm (ffmpeg): Update to 2.8.6.
2016-02-05 16:02:26 +02:00
Efraim Flashner e267435787 gnu: vte: Update to 0.42.3.
* gnu/packages/gnome.scm (vte): Update to 0.42.3.
2016-02-05 16:02:26 +02:00
Andreas Enge 71ee51a057 gnu: libbluray: Drop unused inputs.
* gnu/packages/video.scm (libbluray)[inputs]: Remove doxygen, perl and
  texlive. The first one is checked during the configure phase, but no
  documentation is actually built anyway.
2016-02-05 14:42:13 +01:00
Ludovic Courtès 234ea8a71c service: shepherd: All of the config file is in 'call-with-error-handling'.
* gnu/services/shepherd.scm (shepherd-configuration-file)[config]: Wrap
all the body in 'call-with-error-handling'.
2016-02-05 14:01:46 +01:00
Ludovic Courtès 081bd3bd29 service: shepherd: Guard against exceptions raised by 'start'.
Fixes <http://bugs.gnu.org/22548>.
Reported by Albin <albin@fripost.org>, Mark H Weaver, and Alex Kost.

* gnu/services/shepherd.scm (shepherd-configuration-file)[config]: Guard
against 'service-error?'.
2016-02-05 14:01:46 +01:00
Ludovic Courtès 1d6b7d5847 guix system: Simply warn if we cannot talk to the shepherd.
Before that 'open-connection' would return #f, and thus
'current-services' would return a single #f value when its continuation
expects two.

Reported by calher on #guix.

* gnu/services/herd.scm (open-connection): Rethrow system-error
exceptions.
(with-shepherd): Expect CONNECTION to always be true; remove useless
'dynamic-wind'.
* guix/scripts/system.scm (warn-on-system-error): New macro.
(upgrade-shepherd-services): Wrap body in 'warn-on-system-error'.
2016-02-05 14:01:46 +01:00
Ludovic Courtès 6b55ee8889 gnu: net-tools: Update URLs.
Reported by Jookia <166291@gmail.com> and Leo Famulari <leo@famulari.name>.

* gnu/packages/linux.scm (net-tools)[home-page]: Switch to SourceForge.
[source]: Add SourceForge and ibiblio.org URLs.
2016-02-05 14:01:46 +01:00
Tobias Geerinckx-Rice 0f860464bd gnu: Add sdparm.
* gnu/packages/disk.scm (sdparm): New variable.
2016-02-05 09:30:29 +01:00
Mark H Weaver b9da375999 gnu: mplayer: Update to 1.2.1.
* gnu/packages/video.scm (mplayer): Update to 1.2.1.
2016-02-04 22:06:01 -05:00
Fabian Harfert ca9eb4898b licenses: Add the fdl1.1+.
* guix/licenses.scm (fdl1.1+): New variable.
2016-02-04 18:31:17 -05:00
Leo Famulari 90bcecc568 gnu: jasper: Add fixes for several security flaws.
* gnu/packages/patches/jasper-CVE-2007-2721.patch,
gnu/packages/patches/jasper-CVE-2008-3520.patch,
gnu/packages/patches/jasper-CVE-2011-4516-and-CVE-2011-4517.patch,
gnu/packages/patches/jasper-CVE-2014-8137.patch,
gnu/packages/patches/jasper-CVE-2014-8138.patch,
gnu/packages/patches/jasper-CVE-2014-8157.patch,
gnu/packages/patches/jasper-CVE-2014-8158.patch,
gnu/packages/patches/jasper-CVE-2014-9029.patch,
gnu/packages/patches/jasper-CVE-2016-1867.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/image.scm (jasper)[source]: Add patches.
2016-02-04 15:09:41 -05:00
Alex Kost e20f051ec4 emacs: Add missing (require 'guix-profiles).
Reported by Christopher Allan Webber <cwebber@dustycloud.org> on #guix.

Several modules use the code from 'guix-profiles' without requiring it.  It
was never noticed before commits e4e2154644
and 13fe4891fa, because 'guix-emacs' required
this module.  But now, when 'site-start.el' loads 'guix-emacs',
'guix-profiles' may not exist yet, so it may not be required.  This will
lead to an error when some of "M-x guix-..." commands will be used.  See
<https://gnunet.org/bot/log/guix/2016-02-03#T898859>.

* emacs/guix-base.el: Require 'guix-profiles'.
* emacs/guix-ui.el: Likewise.
* emacs/guix-ui-generation.el: Likewise.
* emacs/guix-ui-package.el: Likewise.
2016-02-04 15:31:43 +03:00
Ludovic Courtès 17c20385fb doc: Mention 'tzselect'.
* doc/guix.texi (operating-system Reference): Mention 'tzselect' and
invalid timezone strings.
2016-02-04 12:21:34 +01:00
Ludovic Courtès a6312f1dd0 install: Add glibc to the global profile.
Suggested by petter on #guix.

* gnu/system/install.scm (installation-os)[packages]: Add glibc.
2016-02-04 12:21:34 +01:00
Leo Famulari 202e2e412a gnu: harfbuzz: Update to 1.0.6 [fixes CVE-2016-2052].
* gnu/packages/gtk.scm (harfbuzz): Update to 1.0.6.
2016-02-04 00:15:21 -05:00
Mark H Weaver 5fb205c638 gnu: perl-io-socket-ssl: Add workaround for OpenSSL-1.0.2f.
* gnu/packages/patches/perl-io-socket-ssl-openssl-1.0.2f-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/web.scm (perl-io-socket-ssl)[source]: Add patch.
2016-02-04 00:15:21 -05:00
Mark H Weaver 19f339526f gnu: openssl: Update to 1.0.2f [fixes CVE-2015-3197 and CVE-2016-0701].
* gnu/packages/tls.scm (openssl): Update to 1.0.2f.
  [arguments]: Remove the 'fix-broken-symlinks' phase.
2016-02-04 00:15:21 -05:00
Leo Famulari bdbb7c1852 gnu: curl: Update to 7.47.0 [fixes CVE-2016-0755].
* gnu/packages/curl.scm (curl): Update to 7.47.0.
2016-02-04 00:15:21 -05:00
Mark H Weaver dfb9001ad8 linux-initrd: Add serpent_generic and wp512 to the default set of modules.
Adds modules needed for encrypted root partitions using the Serpent cipher or
Whirlpool digest algorithms.

* gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Add
  "serpent_generic" and "wp512".
2016-02-03 16:48:06 -05:00
Mark H Weaver cc023e320e linux-initrd: Add hid-generic and hid-apple to the default set of modules.
Fixes keyboard of MacBook2,1 during early boot, e.g. for typing a password to
mount an encrypted root partition.

* gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Add "hid-generic"
  and "hid-apple".
2016-02-03 16:43:42 -05:00
Ludovic Courtès 37dd1e6a34 services: 'file-union' makes sure each source file exists.
Before that, specifying an invalid timezone in 'operating-system' would
lead to a dangling symlink in the 'etc' directory, which in turn would
lead to a kernel panic at boot time.

Reported by pizzaiolo on #guix.

* gnu/services.scm (file-union): Add 'stat' call for SOURCE.
2016-02-03 22:28:28 +01:00
Ludovic Courtès 240b57f0ca guix system: 'reconfigure' loads and starts new services.
Partly fixes <http://bugs.gnu.org/22039>.

* gnu/services/herd.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/services/shepherd.scm (shepherd-service-canonical-name): New
procedure.
(shepherd-service-file): Export.
* guix/scripts/system.scm (upgrade-shepherd-services): New procedure.
(switch-to-system): Use it.
* guix/ui.scm (info): New procedure.
* doc/guix.texi (Invoking guix system): Mention system services.
2016-02-03 22:28:28 +01:00
Efraim Flashner 98416109d5 gnu: libdvdcss: Update to 1.4.0.
* gnu/packages/video.scm (libdvdcss): Update to 1.4.0.
[source]: Change source url.
2016-02-03 22:20:56 +02:00
Efraim Flashner 321a0299a7 gnu: youtube-dl: Update to 2016.02.01.
* gnu/packages/video.scm (youtube-dl): Update to 2016.02.01.
2016-02-03 22:20:56 +02:00
Efraim Flashner dabd7c9b68 gnu: enlightenment: Update to 0.20.5.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.20.5.
2016-02-03 22:20:56 +02:00
Efraim Flashner e11e76b68e gnu: emotion-generic-players: Update to 1.17.0.
* gnu/packages/enlightenment.scm (emotion-generic-players): Update to 1.17.0.
2016-02-03 22:20:56 +02:00
Efraim Flashner da5e7616a0 gnu: evas-generic-loaders: Update to 1.17.0.
* gnu/packages/enlightenment.scm (evas-generic-loaders): Update to 1.17.0.
2016-02-03 22:20:56 +02:00
Efraim Flashner 58fc31670a gnu: elementary: Update to 1.17.0.
* gnu/packages/enlightenment.scm (elementary): Update to 1.17.0.
2016-02-03 22:20:56 +02:00
Efraim Flashner 7b2f2fbf08 gnu: efl: Update to 1.17.0.
* gnu/package/enlightenment.scm (efl): Update to 1.17.0.
2016-02-03 22:20:56 +02:00
Andreas Enge 37d6b0978c gnu: hwloc: Build without numactl support on armhf.
* gnu/packages/mpi.scm (hwloc)[inputs]: Drop numactl on armhf, where the
  package is not available.
2016-02-03 21:05:51 +01:00
Andreas Enge 35dfcdd753 gnu: numactl: Remove unsupported system armhf-linux.
* gnu/packages/linux.scm (numactl)[supported-systems]: Remove armhf.
2016-02-03 21:03:46 +01:00
Mark H Weaver d120b1d433 gnu: Remove linux-libre-4.2.5.
This series is no longer supported upstream.

* gnu/packages/linux.scm (linux-libre-4.2.5): Remove variable.
2016-02-03 14:26:57 -05:00
Andreas Enge 11b953a1b1 gnu: pius: Update to 2.2.2.
* gnu/packages/gnupg.scm (pius): Update to 2.2.2.
2016-02-03 15:49:07 +01:00
Andreas Enge cea18ab00b gnu: gnupg: Update to 2.1.11.
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.11.
2016-02-03 15:49:07 +01:00
Efraim Flashner 35f6c4972e gnu: ao: Update to 1.2.0.
* gnu/packages/xiph.scm (ao): Update to 1.2.0.
2016-02-03 13:10:37 +02:00
Ludovic Courtès a220b262db syscalls: 'all-network-interface-names' accepts non-alphanumeric characters.
This fixes interfaces with a dash or other characters being ignored.
Suggested by Jookia <166291@gmail.com>.

* guix/build/syscalls.scm (%interface-line): Use [[:graph:]] instead
of [[:alnum:]].
2016-02-03 11:21:11 +01:00
Ludovic Courtès 2a5f0db4c4 system: /etc/profile reads /etc/environment for the sake of lshd.
Fixes <http://bugs.gnu.org/22175>.

* gnu/system.scm (operating-system-etc-service)[profile]: Add hack to
define variables from /etc/environment.
2016-02-03 11:21:11 +01:00
Federico Beffa 3a6a0f6013 gnu: Add Italian Aspell dictionary.
* gnu/packages/aspell.scm (aspell-dict-it): New variable.
2016-02-03 10:48:36 +01:00
Federico Beffa 05f5ce0c39 gnu: sbcl: Generate and install documentation.
* gnu/packages/lisp.scm (sbcl): Add 'doc' output.
  [arguments]: Add 'build-doc' and 'install-doc' phases.
  [native-inputs]: Add 'texlive' and 'texinfo'.
2016-02-03 10:48:36 +01:00
Federico Beffa 1ee131df42 gnu: sbcl: Convert to the 'modify-phases' syntax.
* gnu/packages/lisp.scm (sbcl): Do it.
2016-02-03 10:48:36 +01:00
Federico Beffa 85960693e4 gnu: Add emacs-slime.
* gnu/packages/emacs.scm (emacs-slime): New variable.
2016-02-03 10:48:36 +01:00
Federico Beffa f163c290f1 gnu: mit-scheme: Generate and install documentation.
* gnu/packages/scheme.scm (mit-scheme): Add 'doc' output.
  [arguments]: Add phases 'configure-doc, 'build-doc and 'install-doc.
  [native-inputs]: Add 'texlive'. Move 'texinfo' and 'm4' from inputs.
2016-02-03 10:48:36 +01:00
Federico Beffa af00e63352 gnu: mit-scheme: Convert to the 'modify-phases' syntax.
* gnu/packages/scheme.scm (mit-scheme): Do it.
2016-02-03 10:48:36 +01:00
Federico Beffa e5045f303a gnu: Add emacs-constants.
* gnu/packages/emacs.scm (emacs-constants): New variable.
* gnu/packages/patches/emacs-constants-lisp-like.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
2016-02-03 10:48:36 +01:00
Federico Beffa 58a7dc1340 gnu: Add emacs-mit-scheme-doc.
* gnu/packages/emacs.scm (emacs-mit-scheme-doc): New variable.
2016-02-03 10:47:21 +01:00
Federico Beffa aad4a48ab4 gnu: scmutils: Generate 'scmutils-autoloads.el' file.
* gnu/packages/scheme.scm (scmutils): Do it.
2016-02-03 10:47:21 +01:00
Federico Beffa e037a09f1d gnu: Add emacs-scheme-complete.
* gnu/packages/emacs.scm (emacs-scheme-complete): New variable.
* gnu/packages/patches/emacs-scheme-complete-scheme-r5rs-info.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add the new patch.
2016-02-03 10:47:21 +01:00
Mark H Weaver fd9a5b0fc3 gnu: qemu: Update to 2.5.0; add fixes for security flaws.
* gnu/packages/patches/qemu-CVE-2015-6855.patch: Delete file.
* gnu/packages/patches/qemu-virtio-9p-use-accessor-to-get-thread-pool.patch,
  gnu/packages/patches/qemu-CVE-2015-8558.patch,
  gnu/packages/patches/qemu-CVE-2015-8567.patch,
  gnu/packages/patches/qemu-CVE-2015-8613.patch,
  gnu/packages/patches/qemu-CVE-2015-8701.patch,
  gnu/packages/patches/qemu-CVE-2015-8743.patch,
  gnu/packages/patches/qemu-CVE-2016-1568.patch,
  gnu/packages/patches/qemu-CVE-2016-1922.patch: New files.
* gnu-system.am (dist_patch_DATA): Remove 'qemu-CVE-2015-6855.patch'; add the
  new patches.
* gnu/packages/qemu.scm (qemu): Update to 2.5.0.
  [source]: Remove old patches and add new ones.
  [arguments]: Add 'disable-test-qga' phase.
  (%glib-memory-vtable-patch, %glib-duplicate-test-patch): Remove variables.
2016-02-03 00:05:22 -05:00
Mark H Weaver 80cc3a0a4a gnu: openssl: When computing URI, use 'string-trim-right' not 'string-take'.
* gnu/packages/tls.scm (openssl)[source]: When computing URI, use
  'string-trim-right' instead of 'string-take'.
2016-02-02 21:16:44 -05:00
宋文武 4c28ca1df4 gnu: yelp: Update to 3.18.1.
* gnu/packages/gnome.scm (yelp): Update to 3.18.1.
2016-02-03 09:54:14 +08:00
宋文武 6a203844c5 gnu: webkitgtk: Update to 2.10.7.
* gnu/packages/webkit.scm (webkitgtk): Update to 2.10.7.
2016-02-03 09:37:47 +08:00
Efraim Flashner e81e5fa507 gnu: openssl: Add alternate url.
* gnu/packages/tls.scm (openssl)[source]: Add alternate url.
2016-02-02 23:23:24 +02:00
Ludovic Courtès 400ed6acdd gnu: eudev: Add variant that depends on libblkid.
This fixes a bug whereby /dev/disk/by-{label,id} would be missing on
GuixSD (/dev/disk/by-id would still contain device-mapped partitions
though.)

Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/linux.scm (eudev-with-blkid): New variable.
* gnu/services/base.scm (udev-service): #:udev defaults to
EUDEV-WITH-BLKID.
* gnu/system.scm (%base-packages): Replace EUDEV with EUDEV-WITH-BLKID.
2016-02-02 21:16:59 +01:00
Federico Beffa 81fc64da7e gnu: aspell: Wrap binary to find dictionaries.
* gnu/packages/aspell.scm (aspell): Add 'wrap-aspell' phase.
* gnu/system.scm (operating-system-etc-service): Remove 'ASPELL_CONF'
definition.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-02-02 21:16:59 +01:00
Leo Famulari 8c44dabc5a gnu: vdirsyncer: Update to 0.8.1.
* gnu/packages/dav.scm (vdirsyncer): Update to 0.8.1.
[native-inputs]: Add python-hypothesis, python-pytest-subtesthack.
2016-02-02 14:49:26 -05:00
Leo Famulari 7517e73c75 gnu: Add python-pytest-subtesthack.
* gnu/packages/python.scm (python-pytest-subtesthack,
python2-pytest-subtesthack): New variables.
2016-02-02 14:49:26 -05:00
Leo Famulari aaa49e8c21 licenses: Add the Unlicense.
* guix/licenses.scm (unlicense): New variable.
2016-02-02 14:49:26 -05:00
Leo Famulari 6a44697d01 gnu: Add python-hypothesis.
* gnu/packages/python.scm (python-hypothesis, python2-hypothesis): New
variables.
2016-02-02 14:49:26 -05:00
David Thompson f861b8b8e0 gnu: Add awscli.
* gnu/packages/python.scm (awscli): New variable.
2016-02-02 09:24:17 -05:00
David Thompson 935fcd5cf6 gnu: Add python-botocore.
* gnu/packages/python.scm (python-botocore): New variable.
2016-02-02 09:23:00 -05:00
David Thompson ba9da248a6 gnu: Add python-jmespath.
* gnu/packages/python.scm (python-jmespath): New variable.
2016-02-02 09:23:00 -05:00
David Thompson a4af21ca6d gnu: Add python-tox.
* gnu/packages/python.scm (python-tox): New variable.
2016-02-02 09:23:00 -05:00
David Thompson c0aacfa5b9 gnu: Add python-pluggy.
* gnu/packages/python.scm (python-pluggy): New variable.
2016-02-02 09:23:00 -05:00
David Thompson f5bcec6e7d gnu: Add python-rsa.
* gnu/packages/python.scm (python-rsa, python2-rsa): New variables.
2016-02-02 09:23:00 -05:00
David Thompson 2b2f2fc179 gnu: Add python-colorama.
* gnu/packages/python.scm (python-colorama, python2-colorama): New
  variables.
2016-02-02 09:23:00 -05:00
Ben J. Woodcroft ce294c0445 gnu: Update sortmerna to 2.1.
* gnu/packages/bioinformatics.scm (sortmerna): Update to 2.1.
2016-02-02 22:42:38 +10:00
Leo Famulari 0889321b5e gnu: ntp: Update to 4.2.8p6.
Fixes CVE-2015-{7973, 7974, 7975, 7976, 7977, 7978, 7979, 8138, 8158}.

* gnu/packages/ntp.scm (ntp): Update to 4.2.8p6.
2016-02-02 03:14:41 -05:00
Mark H Weaver adddd5ba3b gnu: Add linux-libre-4.1.
* gnu/packages/linux-libre-4.1-i686.conf,
  gnu/packages/linux-libre-4.1-x86_64.conf: New files.
* Makefile.am (KCONFIGS): Add them.
* gnu/packages/linux.scm (linux-libre-4.1): New variable.
2016-02-02 03:12:29 -05:00
Mark H Weaver 17db07061f gnu: linux-libre: Generalize 'kernel-config' to support variants.
* gnu/packages/linux.scm (kernel-config): Rewrite to support optional
  #:variant keyword argument.
2016-02-02 03:12:29 -05:00
Mark H Weaver 5e764e2b6f gnu: linux-libre: Update to 4.4.1.
* gnu/packages/patches/linux-libre-CVE-2016-0728.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/linux.scm (linux-libre): Update to 4.4.1.
  [source]: Remove patch.
2016-02-01 23:47:35 -05:00
Leo Famulari 4efc8eb275 gnu: Update socat to 1.7.3.1.
* gnu/packages/networking.scm (socat): Update to 1.7.3.1.
2016-02-01 19:00:39 -05:00
Leo Famulari 2c5e497672 gnu: keepassx: Update to 2.0.1.
* gnu/packages/password-utils.scm (keepassx): Update to 2.0.1.
2016-02-01 18:26:41 -05:00
Eric Bavier 6009df6391 gnu: ccache: Update to 3.2.4.
* gnu/packages/ccache.scm (ccache): Update to 3.2.4.
2016-02-01 15:01:20 -06:00
Alex Kost 70fd33ea75 emacs: command: Disambiguate "w" key in build options.
This is a followup to commit 47c0f92c37.

* emacs/guix-command.el (guix-command-improve-common-build-argument):
  Use "W" key for '--with-input' option (leave "w" for '--with-source').
2016-02-01 21:23:38 +03:00
Ludovic Courtès 47c0f92c37 guix build: Add '--with-input'.
* guix/scripts/build.scm (transform-package-inputs): New procedure.
(%transformations): Add it.
(%transformation-options, show-transformation-options-help): Add
--with-input.
* tests/scripts-build.scm ("options->transformation, with-input"):
("options->transformation, with-input, no matches"): New tests.
* tests/guix-build.sh: Add tests.
* doc/guix.texi (Package Transformation Options): Document it.
2016-02-01 08:59:13 +01:00
Ludovic Courtès f0907d97d4 build-system/python: Use 'ensure-keyword-arguments'.
* guix/build-system/python.scm (package-with-explicit-python): Use
'ensure-keyword-arguments'.
2016-02-01 08:59:13 +01:00
Ludovic Courtès a4db2dd99f build: Remove semicolons from Guile warnings.
* build-aux/compile-all.scm (compile-file*):
Clear *CURRENT-WARNING-PREFIX*.
2016-02-01 08:59:13 +01:00
Ludovic Courtès 689b658db8 build: Really enable Guile warnings.
* build-aux/compile-all.scm (compile-options): Rename to...
(warnings): ... this.  Add 'unsupported-warning'.
(compile-file*): Pass '(#:warnings ...) as #:opts.
2016-02-01 08:59:13 +01:00
Ludovic Courtès b8638f0347 guix package: Support package transformation options.
* guix/scripts/package.scm (show-help): Call
'show-transformation-options-help'.
(%options): Append %TRANSFORMATION-OPTIONS.
(process-actions)[transform, transform-entry]: New procedures.
* doc/guix.texi (Invoking guix package): Mention package
transformations.
(Package Transformation Options): Mention 'guix package'.
2016-02-01 08:59:13 +01:00
Ludovic Courtès 88ad6deda6 guix build: Separate transformation options.
* guix/scripts/build.scm (%transformation-options): New variable.
(show-transformation-options-help): New procedure.
(show-help): Remove '--with-source' documentation and add
'show-transformation-options-help' call.
(%options): Remove "with-source" and append %TRANSFORMATION-OPTIONS.
* doc/guix.texi (Package Transformation Options): New node.  Document
'--with-source', moved from...
(Additional Build Options): ... here.
2016-02-01 08:59:13 +01:00
Ludovic Courtès ccd7158d2a doc: Add subsections to 'Invoking guix build'.
* doc/guix.texi (Invoking guix build): Add example.  Shuffle options in
the new subsections below.
(Common Build Options, Additional Build Options): New nodes.
(Invoking guix archive): Refer to "Common Build Options".
(Invoking guix environment): Likewise.
(Invoking guix system): Likewise.

fixlet
2016-02-01 08:59:13 +01:00
Ludovic Courtès 629a064f32 guix build: Transformations operate on single objects.
* guix/scripts/build.scm (transform-package-source): Return a procedure
that expects a single object rather than a list of packages.
(options->transformation): Rewrite to precompute the list of applicable
transformations and to return a procedure that expects a single object
rather than a list of objects.
(options->derivations): Adjust accordingly.
* tests/scripts-build.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
2016-02-01 08:59:13 +01:00
Ludovic Courtès efdcb6f29c install: Make it clear that we refer to the root by label.
* gnu/system/install.scm (installation-os): Use (title 'label) for the
root file system.
2016-02-01 08:59:13 +01:00
Ludovic Courtès ff853a2a06 build: Use the right section and source for man pages.
* doc.am (HELP2MANFLAGS): New variable.
(gen_man): Use it.
2016-02-01 08:59:13 +01:00
Eric Bavier e3f755f44c gnu: Add pinball.
* gnu/packages/games.scm (pinball): New variable.
* gnu/packages/patches/pinball-const-fix.patch,
  gnu/packages/patches/pinball-cstddef.patch,
  gnu/packages/patches/pinball-missing-separators.patch,
  gnu/packages/patches/pinball-src-deps.patch,
  gnu/packages/patches/pinball-system-ltdl.patch: New patches.
* gnu-system.am (dist_patch_DATA): Add them.
2016-01-31 23:46:30 -06:00
Efraim Flashner 917708c276 gnu: python-apsw: Update to 3.9.2-r1.
* gnu/packages/python.scm (python-apsw): Update to 3.9.2-r1.
[source]: Change to pypi uri syntax.
2016-02-01 06:18:58 +02:00
Efraim Flashner 55ba649dfb gnu: wayland: Build documentation.
* gnu/packages/freedesktop.scm (wayland)[native-inputs]: Add graphviz.
2016-02-01 06:18:58 +02:00
Efraim Flashner f1d9231d9a gnu: python-pillow: Update to 3.1.0.
* gnu/packages/python.scm (python-pillow): Update to 3.1.0.
[source]: Change to pypi uri syntax.
2016-02-01 06:18:58 +02:00
David Thompson 2a068aecbf gnu: Add aseprite.
* gnu/packages/game-development.scm (aseprite): New variable.
2016-01-31 15:44:20 -05:00
David Thompson 154f6156c0 gnu: Add allegro-4.
* gnu/packages/game-development.scm (allegro-4): New variable.
2016-01-31 15:44:19 -05:00
David Thompson 921d9dc7f4 license: Add giftware.
* guix/licenses.scm (giftware): New variable.
2016-01-31 15:34:58 -05:00
David Thompson d1a0bba029 gnu: obs: Update to 0.13.0.
* gnu/packages/video.scm (obs): Upgrade to 0.13.0.
2016-01-31 15:32:18 -05:00
Efraim Flashner e5a2edeba0 gnu: perl-tk: Update to 804.033.
* gnu/packages/tcl.scm (perl-tk): Update to 804.033.
[source]: Remove patch.
* gnu/packages/patches/perl-tk-x11-discover.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove patch.
2016-01-31 14:36:08 +02:00
宋文武 39eefcee97 gnu: weechat: Update to 1.4.
* gnu/packages/weechat.scm (weechat): Update to 1.4.
2016-01-31 17:12:46 +08:00
Efraim Flashner 692bb77da9 gnu: pumpa: Update to 0.9.2.
* gnu/packages/pumpio.scm (pumpa): Update to 0.9.2.
[source]: Add 'file-name' field.
2016-01-30 22:39:05 +02:00
Eric Bavier 3662909752 build: Generate man pages after compiling Guile objects.
This reduces compilation time since scripts are not compiled twice.
When building with 'make -j4' from a clean repository on an Intel
i5-2540M, compilation time gets from:

real	4m48.708s
user	17m29.892s
sys	0m9.596s

down to:

real	2m23.399s
user	6m48.604s
sys	0m6.420s

* doc.am (subcommand-manual-target): Delete function.
(SUBCOMMANDS): Delete variable.
(sub_command_mans, gen_man): New variables.
(dist_man1_MANS): Add $(sub_commands_mans).
(doc/guix-%.1): New target for sub-commands man pages.  It ensures that
man pages are built only after compiling Guile objects.
(doc/guix-daemon.1): Use $(gen_man).  Build only if BUILD_DAEMON.
(doc/guix.1): Use $(gen_man).  Add $(sub_command_mans) prerequisite.

Co-authored-by: Mathieu Lirzin <mthl@gnu.org>
2016-01-29 23:45:34 +01:00
Alex Kost 171a0a13a4 Rename 'dmd' to 'shepherd' in comments and strings.
* build-aux/hydra/demo-os.scm (operating-system)[issue]: Point to
  shepherd instead of dmd.
* ROADMAP: Likewise.
* gnu/build/install.scm (directives): Adjust comment.
2016-01-29 20:21:54 +03:00
Alex Kost 710fa231f0 guix system: Rename 'dmd-graph' to 'shepherd-graph'.
* doc/images/dmd-graph.dot: Rename to...
* doc/images/shepherd-graph.dot: ... this.
* doc.am (DOT_FILES): Adjust accordingly.
* guix/scripts/system.scm (dmd-service-node-label)
  (dmd-service-node-type, export-dmd-graph): Rename to...
  (shepherd-service-node-label, shepherd-service-node-type)
  (export-shepherd-graph): ... this.
  (show-help, process-action, process-command): Rename 'dmd-graph' to
  'shepherd-graph'.
* emacs/guix-command.el (guix-command-additional-execute-arguments)
  (guix-command-special-executors): Likewise.
* doc/guix.texi: Likewise.
* doc/emacs.texi (Emacs Popup Interface): Likewise.
2016-01-29 20:21:54 +03:00
Alex Kost d4053c710b services: Rename 'dmd' services to 'shepherd'.
* gnu/services/shepherd.scm (dmd-root-service-type, %dmd-root-service)
  (dmd-service-type, <dmd-service>, dmd-service, dmd-service?)
  (make-dmd-service, dmd-service-documentation, dmd-service-provision)
  (dmd-service-requirement, dmd-service-respawn, dmd-service-start)
  (dmd-service-stop, dmd-service-auto-start?, dmd-service-modules)
  (dmd-service-imported-modules, dmd-service-file-name, dmd-service-file)
  (dmd-service-back-edges): Rename to...
  (shepherd-root-service-type, %shepherd-root-service, shepherd-service-type)
  (<shepherd-service>, shepherd-service, shepherd-service?)
  (make-shepherd-service, shepherd-service-documentation)
  (shepherd-service-provision, shepherd-service-requirement)
  (shepherd-service-respawn, shepherd-service-start)
  (shepherd-service-stop, shepherd-service-auto-start?)
  (shepherd-service-modules, shepherd-service-imported-modules)
  (shepherd-service-file-name, shepherd-service-file)
  (shepherd-service-back-edges): ...this
* gnu/services.scm: Adjust comments.
* gnu/services/avahi.scm (avahi-dmd-service): Rename to...
  (avahi-shepherd-service): ... this.
* gnu/services/base.scm (%root-file-system-dmd-service)
  (file-system->dmd-service-name, mapped-device->dmd-service-name)
  (dependency->dmd-service-name, file-system-dmd-service)
  (mingetty-dmd-service, nscd-dmd-service, guix-dmd-service)
  (guix-publish-dmd-service, udev-dmd-service, gpm-dmd-service): Rename to...
  (%root-file-system-shepherd-service)
  (file-system->shepherd-service-name, mapped-device->shepherd-service-name)
  (dependency->shepherd-service-name, file-system-shepherd-service)
  (mingetty-shepherd-service, nscd-shepherd-service, guix-shepherd-service)
  (guix-publish-shepherd-service, udev-shepherd-service)
  (gpm-shepherd-service): ... this.
* gnu/services/databases.scm (postgresql-dmd-service): Rename to...
  (postgresql-shepherd-service): ... this.
* gnu/services/desktop.scm (upower-dmd-service, elogind-dmd-service):
  Rename to...
  (upower-shepherd-service, elogind-shepherd-service): ... this.
* gnu/services/dbus.scm (dbus-dmd-service): Rename to...
  (dbus-shepherd-service): ... this.
* gnu/services/lirc.scm (lirc-dmd-service): Rename to...
  (lirc-shepherd-service): ... this.
* gnu/services/mail.scm (dovecot-dmd-service): Rename to...
  (dovecot-shepherd-service): ... this.
* gnu/services/networking.scm (ntp-dmd-service, tor-dmd-service)
  (bitlbee-dmd-service, wicd-dmd-service, network-manager-dmd-service): Rename to...
  (dbus-shepherd-service): ... this.
* gnu/services/ssh.scm (lsh-dmd-service): Rename to...
  (lsh-shepherd-service): ... this.
* gnu/services/web.scm (nginx-dmd-service): Rename to...
  (nginx-shepherd-service): ... this.
* gnu/services/xorg.scm (slim-dmd-service): Rename to...
  (slim-shepherd-service): ... this.
* gnu/system.scm (essential-services): Use '%shepherd-root-service'.
* gnu/system/install.scm (cow-store-service-type): Adjust accordingly.
* guix/scripts/system.scm (dmd-service-node-label, dmd-service-node-type)
  (export-dmd-graph): Likewise.
* tests/guix-system.sh: Likewise.
* tests/services.scm ("dmd-service-back-edges"): Rename to...
  ("shepherd-service-back-edges"): Adjust accordingly.
* doc/guix.texi: Likewise.
* doc/images/service-graph.dot: Use 'shepherd' service name.
2016-01-29 20:21:53 +03:00
Alex Kost 26b94866ad services: xorg: Use 'shepherd' instead of 'dmd'.
* gnu/services/xorg.scm (slim-configuration-dmd): Rename to...
  (slim-configuration-shepherd): ... this.
  (slim-shepherd-service): Adjust accordingly.
  (slim-service): Take 'shepherd' keyword argument.
2016-01-29 20:21:53 +03:00
Alex Kost fe1ad5f5db services: shepherd: Rename shepherd configuration file.
* gnu/services/shepherd.scm (dmd-configuration-file): Rename to...
  (shepherd-configuration-file): ... this.  Use "shepherd.conf" name.
  (dmd-boot-gexp): Use it.
2016-01-29 20:21:53 +03:00
Alex Kost 0190c1c02f Rename (gnu services dmd) to (gnu services shepherd).
* gnu/services/dmd.scm: Rename to...
* gnu/services/shepherd.scm: ... this.
* gnu/system.scm: Use it.
* gnu/system/install.scm: Likewise.
* gnu/services/xorg.scm: Likewise.
* gnu/services/web.scm: Likewise.
* gnu/services/ssh.scm: Likewise.
* gnu/services/networking.scm: Likewise.
* gnu/services/mail.scm: Likewise.
* gnu/services/lirc.scm: Likewise.
* gnu/services/desktop.scm: Likewise.
* gnu/services/dbus.scm: Likewise.
* gnu/services/databases.scm: Likewise.
* gnu/services/base.scm: Likewise.
* gnu/services/avahi.scm: Likewise.
* guix/scripts/system.scm: Likewise.
* tests/services.scm: Likewise.
* tests/guix-system.sh: Likewise.
* doc/guix.texi (Shepherd Services): Adjust accordingly.
* gnu-system.am (GNU_SYSTEM_MODULES): Likewise.
* po/guix/POTFILES.in: Likewise.
2016-01-29 20:21:53 +03:00
Alex Kost dd17bc3821 doc: Replace references to 'dmd' with 'shepherd'.
* doc/guix.texi: Use 'shepherd'/'herd' instead of 'dmd'/'deco'.  Fix
  info references.
2016-01-29 20:21:53 +03:00
Alex Kost b8c02c18b4 Rename '/root/etc/dmd' directory and 'do-not-kill' file.
* gnu/services/base.scm (%do-not-kill-file): Rename to
  "/etc/shepherd/do-not-kill".
* gnu/build/linux-boot.scm (mount-root-file-system): Rename
  "/root/etc/dmd" to "/root/etc/shepherd".
2016-01-29 20:20:19 +03:00
Alex Kost 34044d551f Use 'shepherd' instead of 'dmd' as init system.
* gnu/services/dmd.scm (dmd-boot-gexp): Use binary from 'shepherd' package.
  (dmd-root-service-type): Use 'shepherd' package.
  (%default-modules): Use (shepherd service) module.
* gnu/services/base.scm (%root-file-system-dmd-service): Use
  'stop-logging' procedure to close shepherd log.
2016-01-29 12:07:32 +03:00
Alex Kost d312a8328d gnu: elogind: Use 'shepherd' input.
* gnu/packages/freedesktop.scm (elogind)[inputs]: Replace 'dmd' with
  'shepherd'.
2016-01-29 12:07:32 +03:00
Alex Kost 6d97319c53 doc: Describe how Emacs packages are found.
* doc/guix.texi (Application Setup)[Emacs Packages]: New subsection.
2016-01-29 11:13:15 +03:00
Federico Beffa 13fe4891fa gnu: emacs: Find packages in "~/.guix-profile".
* gnu/packages/emacs.scm (emacs)[inputs]: Add 'guix-src' input.
  [arguments]: Add 'install-site-start' phase.

Co-authored-by: Alex Kost <alezost@gmail.com>
2016-01-29 11:13:15 +03:00
Alex Kost 2c776157ad gnu: guix: Update development snapshot to c3f29bc.
* gnu/packages/package-management.scm (guix-devel): Update to c3f29bc.
2016-01-29 11:13:15 +03:00
Rene Saavedra c3f29bc928 gnu: Add gtk-vnc.
* gnu/packages/gnome.scm (gtk-vnc): New variable.

Co-authored-by: 宋文武 <iyzsong@gmail.com>
2016-01-29 08:36:07 +08:00
Efraim Flashner f88f0d20e4 gnu: ffmpeg: Add hardware acceleration, opengl support.
* gnu/packages/video.scm (ffmpeg)[inputs]: Add libvdpau, libx11, mesa.
[arguments]: Add configure-flags '--enable-opengl' '--enable-x11grab'.
2016-01-28 18:14:58 +02:00
Mathieu Lirzin 8a76e5fff2 Update .gitignore.
* .gitignore: Sort lines.  Use globbing for "*.{eps,pdf,png,tar.xz}"
files.
2016-01-28 16:31:38 +01:00
Mathieu Lirzin e71ad29ddb build: Use 'GEN' and 'at' silent rules.
* daemon.am (nix/libstore/schema.sql.hh, etc/guix-daemon.service)
(etc/guix-daemon.conf): Use $(AM_V_GEN).
* doc.am (doc/os-config-%.texi, .png.eps): Likewise.
* Makefile.am (guix-binary.%.tar.xz, gen-ChangeLog, gen-AUTHORS):
Likewise.
(assert-binaries-available, assert-final-inputs-self-contained)
(assert-no-store-file-names, sync-descriptions): Use $(AM_V_at).
2016-01-28 16:31:38 +01:00
Mathieu Lirzin 5452374835 build: Remove guix-autoloads.el from the distribution.
* emacs.am [HAVE_EMACS] (dist_lisp_DATA): Move $(AUTOLOADS) to ...
[HAVE_EMACS] (nodist_lisp_DATA): ... here.
(CLEANFILES) [HAVE_EMACS]: Add $(AUTOLOADS).
2016-01-28 16:31:38 +01:00
Mathieu Lirzin 8dddedf778 build: Add 'HELP2MAN' silent rule.
* Makefile.am (AM_V_HELP2MAN, AM_V_HELP2MAN_, AM_V_HELP2MAN_0): New
variables.
* doc.am (subcommand-manual-target, doc/guix.1, doc/guix-daemon.1): Use
$(AM_V_HELP2MAN).
2016-01-28 16:31:38 +01:00
Mathieu Lirzin 71ed439b68 build: Add 'EMACS' silent rule.
* Makefile.am (AM_V_EMACS, AM_V_EMACS_, AM_V_EMACS_0): New variables.
* emacs.am [HAVE_EMACS] ($(AUTOLOADS)): Use $(AM_V_EMACS).
2016-01-28 16:31:38 +01:00
Mathieu Lirzin 4c48878de8 build: Add 'DOT' silent rule.
* Makefile.am (AM_V_DOT, AM_V_DOT_, AM_V_DOT_0): New variables.
* doc.am (.dot.png, .dot.pdf, .dot.eps): Use $(AM_V_DOT).
2016-01-28 16:31:38 +01:00
Mathieu Lirzin 8c3d889456 build: Add 'DL' silent rule.
* Makefile.am (AM_V_DL, AM_V_DL_, AM_V_DL_0): New variables.
* gnu-system.am (gnu/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz)
(gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz)
(gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz)
(gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz): Use $(AM_V_DL).
* build-aux/download.scm: Print a line break between target and origin.
2016-01-28 16:31:38 +01:00
Mathieu Lirzin 74e667d149 packages: Use '@' in package record printers.
* guix/packages.scm <package>: Use '@' in record printer.
* guix/import/cabal.scm <cabal-package>: Likewise
* guix/import/elpa.scm <elpa-package>: Likewise.
* tests/packages.scm: Adapt to it.
2016-01-28 16:31:38 +01:00
Mathieu Lirzin f3044a4b7b lint: Rewrite 'check-patch-file-names'.
* guix/scripts/lint.scm (check-patch-file-names): Improve clarity by
reversing the logic.
2016-01-28 16:31:38 +01:00
Mathieu Lirzin 90ca918668 lint: Remove an unneeded clause in 'check-patch-file-names'.
* guix/scripts/lint.scm (check-patch-file-names): Don't check if patches
start with the package full name since matching the package name (which
is a prefix of the full name) is sufficient.
2016-01-28 16:31:38 +01:00
Mathieu Lirzin 052d53df1f tests: Use 'dummy-origin' for lint tests when possible.
* guix/tests/lint.scm ("patches: file names", "patches: not found"): Use
'dummy-origin'.  'sha256' field was wrongly set to a string instead of a
bytevector.
2016-01-28 16:31:38 +01:00
Leo Famulari 03675cad53 gnu: icedtea-7: Update to 2.6.4.
Fixes CVE-2015-{7575, 8126, 8472} and CVE-2016-{0402, 0448, 0466, 0483,
0494}.

* gnu/packages/java.scm (icedtea-7): Update to 2.6.4.
2016-01-28 08:48:35 -05:00
Leo Famulari 559239af7a gnu: icedtea-6: Update to 1.13.10.
Fixes CVE-2015-{8126, 8472} and CVE-2016-{0402, 0448, 0466, 0483, 0494}.

* gnu/packages/java.scm (icedtea-6): Update to 1.13.10.
2016-01-28 08:48:35 -05:00
Mark H Weaver 593c366bde Merge branch 'core-updates' 2016-01-28 07:29:13 -05:00
Ludovic Courtès 133056bd74 gnu: shepherd: Update to 0.3.
* gnu/packages/admin.scm (shepherd): Update to 0.3.
2016-01-28 11:45:03 +01:00
Mark H Weaver 29a780147d gnu: icecat: Add fixes for CVE-2016-{1930,1935} and other bugs.
* gnu/packages/patches/icecat-CVE-2016-1930-pt01.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt02.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt03.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt04.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt05.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt06.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt07.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt08.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt09.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt10.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt11.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt12.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt13.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt14.patch,
  gnu/packages/patches/icecat-CVE-2016-1930-pt15.patch,
  gnu/packages/patches/icecat-CVE-2016-1935.patch,
  gnu/packages/patches/icecat-bug-1146335-pt1.patch,
  gnu/packages/patches/icecat-bug-1146335-pt2.patch,
  gnu/packages/patches/icecat-limit-max-buffers-size-for-ANGLE.patch: New
  files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patches.
2016-01-28 00:34:20 -05:00
Ludovic Courtès 9a8b9eb8de services: guix: Provide Guix via 'profile-service-type'.
* gnu/services/base.scm (guix-service-type): Extend
PROFILE-SERVICE-TYPE.
* gnu/system.scm (%base-packages): Remove GUIX.
2016-01-27 15:48:35 +01:00
Ludovic Courtès c273d81bfa services: dmd: Provide dmd via 'profile-service-type'.
* gnu/services/dmd.scm (dmd-root-service-type): Extend
PROFILE-SERVICE-TYPE.
* gnu/system.scm (%base-packages): Remove dmd.
2016-01-27 15:48:35 +01:00
Ludovic Courtès e932d371e5 gnu: Add snapshot of the GNU Shepherd.
* gnu/packages/admin.scm (shepherd): New variable.
2016-01-27 15:48:35 +01:00
Ben Woodcroft d114ceebac gnu: Add ruby-http-cookie.
* gnu/packages/ruby.scm (ruby-http-cookie): New variable.
2016-01-28 00:08:32 +10:00
Ben Woodcroft 5799aadde4 gnu: Add ruby-domain-name.
* gnu/packages/ruby.scm (ruby-domain-name): New variable.
2016-01-28 00:08:32 +10:00
Ben Woodcroft 3b44bcdfcd gnu: Add ruby-unf.
* gnu/packages/ruby.scm (ruby-unf): New variable.
2016-01-28 00:08:32 +10:00
Ben Woodcroft 6f390716b6 gnu: Add ruby-shoulda.
* gnu/packages/ruby.scm (ruby-shoulda): New variable.
2016-01-28 00:08:32 +10:00
Ben Woodcroft 3885c58b25 gnu: Add ruby-shoulda-matchers-2.
* gnu/packages/ruby.scm (ruby-shoulda-matchers-2): New variable.
2016-01-28 00:08:32 +10:00
Ben Woodcroft e4fea00896 gnu: Add ruby-shoulda-matchers.
* gnu/packages/ruby.scm (ruby-shoulda-matchers): New variable.
2016-01-28 00:08:32 +10:00
Ben Woodcroft 4dfa39cc67 gnu: Add ruby-shoulda-context.
* gnu/packages/ruby.scm (ruby-shoulda-context): New variable.
2016-01-28 00:08:32 +10:00
Ben Woodcroft 4fea500bb1 gnu: Add ruby-sqlite3.
* gnu/packages/ruby.scm (ruby-sqlite3): New variable.
2016-01-28 00:08:32 +10:00
Ben Woodcroft d39b606c88 gnu: Add ruby-mime-types.
* gnu/packages/ruby.scm (ruby-mime-types): New variable.
2016-01-28 00:08:32 +10:00
Ben Woodcroft eb5e0bd96e gnu: Add ruby-fivemat.
* gnu/packages/ruby.scm (ruby-fivemat): New variable.
2016-01-28 00:08:32 +10:00
Ben Woodcroft 32d1c06ffa gnu: Add ruby-mime-types-data.
* gnu/packages/ruby.scm (ruby-mime-types-data): New variable.
2016-01-28 00:08:32 +10:00
Ben Woodcroft e582fa93a8 gnu: Add ruby-minitest-rg.
* gnu/packages/ruby.scm (ruby-minitest-rg): New variable.
2016-01-28 00:08:32 +10:00
Ben Woodcroft e07ef1d625 gnu: Add ruby-minitest-bonus-assertions.
* gnu/packages/ruby.scm (ruby-minitest-bonus-assertions): New variable.
2016-01-28 00:08:32 +10:00
Ben Woodcroft 685d0d2fbe gnu: Add ruby-minitest-moar.
* gnu/packages/ruby.scm (ruby-minitest-moar): New variable.
2016-01-28 00:08:32 +10:00
Ben Woodcroft 99fc5cd577 gnu: Add ruby-minitest-pretty-diff.
* gnu/packages/ruby.scm (ruby-minitest-pretty-diff): New variable.
2016-01-28 00:08:32 +10:00
Ben Woodcroft 39dc0eb502 gnu: Add ruby-minitest-focus.
* gnu/packages/ruby.scm (ruby-minitest-focus): New variable.
2016-01-28 00:08:32 +10:00
Ben Woodcroft 8092e33376 gnu: Add ruby-turn.
* gnu/packages/ruby.scm (ruby-turn): New variable.
2016-01-28 00:08:32 +10:00
Efraim Flashner f66842dccc gnu: Add aria2.
* gnu/packages/bittorrent.scm (aria2): New variable.
2016-01-27 14:39:31 +02:00
Efraim Flashner cd44f1c1b0 gnu: c-ares: Move to adns.scm.
* gnu/packages/aria2.scm (c-ares): Move to...
* gnu/packages/adns.scm (c-ares): ... here.
* gnu/packages/aria2.scm: Remove file.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove aria2.scm.
2016-01-27 14:13:45 +02:00
Andreas Enge bb2120cd1d gnu: libressl: Update to 2.2.5.
* gnu/packages/tls.scm (libressl): Update to 2.2.5.
2016-01-26 21:40:35 +01:00
Leo Famulari 7432386adb gnu: nginx: Update to 1.8.1 [fixes CVE-2016-{0742,0746,0747}].
* gnu/packages/web.scm (nginx): Update to 1.8.1.
2016-01-26 15:27:58 -05:00
Leo Famulari 97d76250e1 doc: Show how to boot result of 'vm-image'.
* doc/guix.texi (Running GuixSD in a VM): New node.
(Invoking guix system): Add reference to 'Running GuixSD in a VM'.
2016-01-26 14:23:39 -05:00
Ricardo Wurmus 61eecd71cc gnu: alsa-modular-synth: Update to 2.1.2.
* gnu/packages/audio.scm (alsa-modular-synth): Update to 2.1.2.
2016-01-26 18:46:54 +01:00
Andreas Enge a394c60aa3 gnu: hop: Add input avahi.
gnu/packages/scheme.scm (hop)[inputs]: Add avahi.
2016-01-26 15:10:23 +01:00
Ben Woodcroft edf8caae6d gnu: Add ruby-ttfunk.
* gnu/packages/ruby.scm (ruby-ttfunk): New variable.
2016-01-26 16:27:40 +10:00
Ben Woodcroft acb6be4298 gnu: Add ruby-ascii85.
* gnu/packages/ruby.scm (ruby-ascii85): New variable.
2016-01-26 16:25:11 +10:00
Ben Woodcroft f3e085a8d5 gnu: Add ruby-afm.
* gnu/packages/ruby.scm (ruby-afm): New variable.
2016-01-26 16:22:17 +10:00
Ben Woodcroft 1f1d71e09f gnu: Add ruby-rc4.
* gnu/packages/ruby.scm (ruby-rc4): New variable.
2016-01-26 16:21:05 +10:00
Ben Woodcroft 72ccbfe314 gnu: Add ruby-hashery.
* gnu/packages/ruby.scm (ruby-hashery): New variable.
2016-01-26 16:19:41 +10:00
Ben Woodcroft 0832804ed5 gnu: Add ruby-rubytest-cli.
* gnu/packages/ruby.scm (ruby-rubytest-cli): New variable.
2016-01-26 16:17:01 +10:00
Ben Woodcroft 78bb471f37 gnu: Add ruby-lemon.
* gnu/packages/ruby.scm (ruby-lemon): New variable.
2016-01-26 16:15:24 +10:00
Ben Woodcroft 9273ee8f44 gnu: Add ruby-ae.
* gnu/packages/ruby.scm (ruby-ae): New variable.
2016-01-26 16:11:49 +10:00
Ben Woodcroft 120fc74b21 gnu: Add ruby-qed.
* gnu/packages/ruby.scm (ruby-qed): New variable.
2016-01-26 16:06:10 +10:00
Ben Woodcroft 90fcedf220 gnu: Add ruby-brass.
* gnu/packages/ruby.scm (ruby-brass): New variable.
2016-01-26 16:02:15 +10:00
Ben Woodcroft 7c8131c76b gnu: Add ruby-rubytest.
* gnu/packages/ruby.scm (ruby-rubytest): New variable.
2016-01-26 15:59:39 +10:00
Ben Woodcroft a78d62f432 gnu: sra-tools: Update to 2.5.7.
* gnu/packages/bioinformatics.scm (sra-tools): Update to 2.5.7.
2016-01-26 10:59:13 +10:00
Ben Woodcroft fe91666b79 gnu: ncbi-vdb: Update to 2.5.7.
gnu/packages/bioinformatics.scm (ncbi-vdb): Update to 2.5.7.
2016-01-26 10:59:13 +10:00
Ben Woodcroft d3b39bc231 gnu: ngs-sdk: Update to 1.2.3.
gnu/packages/bioinformatics.scm (ngs-sdk): Update to 1.2.3.
2016-01-26 10:59:13 +10:00
Andreas Enge 46854e99ca gnu: webkitgtk-2.4, webkitgtk/gtk+-2, qt: Disable parallel builds.
* gnu/packages/webkit.scm (webkitgtk-2.4, webkitgtk/gtk+-2):
  Disable parallel builds as suggested in
  https://lists.gnu.org/archive/html/guix-devel/2016-01/msg00837.html .
* gnu/packages/qt.scm (qt): Likewise.
2016-01-25 23:33:54 +01:00
Alex Kost 0833d0c025 gnu: aspell-dict-en: Update to 2016.01.19-0.
* gnu/packages/aspell.scm (aspell-dict-en): Update to 2016.01.19-0.
2016-01-25 22:11:47 +03:00
Alex Kost 687c9bc023 emacs: Add interface for licenses.
* emacs/guix-main.scm (%license-param-alist): New variable.
  (license->sexp, find-licenses, license-entries): New procedures.
* emacs/guix-license.el (guix-license-get-entries)
  (guix-license-get-display, guix-license-insert-packages-button)
  (guix-license-insert-comment, guix-license-list-describe)
  (guix-license-list-show-packages): New procedures.
  (guix-licenses): New command.
* doc/emacs.texi (Emacs Licenses): New node.
  (Emacs Interface): Add it.
* doc/guix.texi (Top): Add it.
* NEWS: Mention new interface.
2016-01-25 22:11:47 +03:00
Alex Kost 6dd460c856 emacs: list: Support displaying URL links.
* emacs/guix-list.el (guix-list-url): New face.
  (guix-list-get-url): New procedure.
2016-01-25 22:11:47 +03:00
Alex Kost 83aab70b2d emacs: Add 'guix-packages-by-license' command.
* emacs/guix-main.scm (packages-by-license): New procedure.
(%patterns-makers): Add 'license' search type.
* emacs/guix-messages.el (guix-message-packages-by-license): New procedure.
(guix-messages): Use it.
* emacs/guix-ui-package.el (guix-packages-by-license): New command.
* doc/emacs.texi (Emacs Commands): Document it.
2016-01-25 22:11:47 +03:00
Alex Kost cefb7aea9d emacs: Buttonize licenses in "Package Info".
* emacs/guix-ui-package.el (guix-package-license): New button type.
  (guix-package-info-format, guix-output-info-format): Use it.
* doc/emacs.texi (Emacs Info buffer): Mention it.
2016-01-25 22:11:47 +03:00
Alex Kost 71310ccc56 emacs: Add 'guix-browse-license-url' command.
* emacs/guix-main.scm (%licenses): New variable.
(licenses, license-names, lookup-license, lookup-license-uri): New
procedures.
* emacs/guix-read.el (guix-license-names, guix-read-license-name): New
procedures.
* emacs/guix-license.el: New file.
(guix-lookup-license-url): New procedure.
(guix-browse-license-url): New command.
* emacs.am (ELFILES): Add new file.
2016-01-25 22:11:47 +03:00
Alex Kost 0a2a2b3387 emacs: Rename 'file-path' to 'file-name'.
* emacs/guix-info.el (guix-info-file-path): Rename to...
  (guix-info-file-name): ... this.
* emacs/guix-list.el (guix-list-file-path): Rename to...
  (guix-list-file-name): ... this.
  (guix-list-get-file-path): Rename to...
  (guix-list-get-file-name): ... this.
* emacs/guix-ui-generation.el (guix-generation-list-format): Adjust
  accordingly.
* emacs/guix-ui-system-generation.el (guix-system-generation-list-format):
  Likewise.
* NEWS: Mention faces renaming.
2016-01-25 22:11:47 +03:00
Efraim Flashner 8581f4c195 gnu: Add python-efl.
* gnu/packages/enlightenment.scm (python-efl, python2-efl): New variables.
2016-01-25 11:41:23 +02:00
Efraim Flashner 2259442b15 gnu: cmocka: New variable.
* gnu/packages/check.scm (cmocka): New variable.
2016-01-25 11:39:42 +02:00
Ben Woodcroft 23f3cbb8de gnu: Add pixz.
* gnu/packages/compression.scm (pixz): New variable.
2016-01-25 18:45:33 +10:00
Mark H Weaver 412bee5e29 Merge branch 'master' into core-updates 2016-01-24 21:04:54 -05:00
Ludovic Courtès 880d647d0f doc: Add policy about version numbers for VCS snapshots.
* doc/guix.texi (Version Numbers): Add paragraphs about VCS snapshot
version numbers.
2016-01-25 00:11:22 +01:00
Ludovic Courtès 24a8ef3ba1 doc: Remove unneeded backslashes.
* doc/guix.texi (Networking Services): Remove unneeded backslashes.
2016-01-25 00:11:22 +01:00
Ludovic Courtès f6afc48008 gnu: grue-hunter: Use 'https' URL.
* gnu/packages/grue-hunter.scm (grue-hunter): Use 'https' URL.
2016-01-25 00:11:22 +01:00
Ludovic Courtès 9059b97dc3 doc: 'base-initrd' has #:virtio? default to #t.
This is a followup to e26d507.

* doc/guix.texi (Initial RAM Disk): #:virtio? defaults to #t.
2016-01-25 00:11:22 +01:00
Ben Woodcroft bcadaf0050 gnu: Add sortmerna.
* gnu/packages/bioinformatics.scm (sortmerna): New variable.
2016-01-25 08:35:11 +10:00
Andreas Enge 74273b6f2d doc: Fix typo in section on offloading.
* doc/guix.texi (Daemon Offload Setup): Fix quoting typo in command.
2016-01-24 23:25:38 +01:00
Andreas Enge 447f3ae7c1 gnu: calibre: Update to 2.49.0.
* gnu/packages/ebook.scm (calibre): Update to 2.49.0.
2016-01-24 20:12:05 +01:00
Ricardo Wurmus 541ed7b030 gnu: cross-gcc-arguments: Enable C++, disable building of libstdc++-v3.
* gnu/packages/cross-base.scm (cross-gcc-arguments)[arguments]: Disable
  building libstdc++-v3 and enable building C++ compiler.
2016-01-24 14:25:20 +01:00
Ricardo Wurmus a763ce7da9 gnu: Add Qtractor.
* gnu/packages/music.scm (qtractor): New variable.
2016-01-24 14:20:52 +01:00
Ricardo Wurmus 8ddc5d5723 gnu: yoshimi: Update to 1.3.8.2.
* gnu/packages/music.scm (yoshimi): Update to 1.3.8.2.
2016-01-24 14:19:29 +01:00
Efraim Flashner 6b6a62dd05 gnu: privoxy: Update to 3.0.24.
* gnu/packages/tor.scm (privoxy): Update to 3.0.24.
2016-01-24 09:20:55 +02:00
Efraim Flashner be866fb13e gnu: tor: Update to 0.2.7.6.
* gnu/packages/tor.scm (tor): Update to 0.2.7.6.
2016-01-24 07:21:33 +02:00
Efraim Flashner 17206f72ed gnu: myrepos: Update to 1.20160123.
* gnu/packages/version-control.scm (myrepos): Update to 1.20160123.
2016-01-24 07:04:05 +02:00
Efraim Flashner 4c73302739 gnu: nano: Update to 2.5.1.
* gnu/packages/nano.scm (nano): Update to 2.5.1.
2016-01-24 06:46:01 +02:00
Mark H Weaver c5184468f5 build: container: Make 'unprivileged-user-namespace-supported?' more robust.
* gnu/build/linux-container.scm (unprivileged-user-namespace-supported?): Only
  read and check the first character, to cope with a possible newline in the
  (pseudo-)file.
2016-01-23 18:44:03 -05:00
Leo Famulari fe17fb4a2c gnu: letsencrypt and acme: Update to 0.2.0.
These packages should be updated together.

* gnu/packages/tls.scm (letsencrypt): Update to 0.2.0.
(acme): Update to 0.2.0.
2016-01-23 17:39:08 -05:00
Efraim Flashner 21565719e5 gnu: claws-mail: Update to 3.13.2.
* gnu/packages/mail.scm (claws-mail): Update to 3.13.2.
2016-01-23 20:13:31 +02:00
Ricardo Wurmus 3a40a92c73 gnu: Add cufflinks.
* gnu/packages/bioinformatics.scm (cufflinks): New variable.
2016-01-23 09:15:11 +01:00
Ricardo Wurmus 94ce537eac gnu: Add TopHat.
* gnu/packages/bioinformatics.scm (tophat): New variable.
* gnu/packages/patches/tophat-build-with-later-seqan.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2016-01-23 08:53:10 +01:00
Ricardo Wurmus 3062d750b4 gnu: star: Update to 2.5.1b.
* gnu/packages/bioinformatics.scm (star): Update to 2.5.1b.
[source]: Remove bundled htslib sources and pre-built binaries.
[arguments]: Add phase "do-not-use-bundled-htslib".
[inputs]: Add "htslib".
2016-01-23 08:40:14 +01:00
Ricardo Wurmus c0266e8d03 gnu: star: Use "modify-phases" syntax.
* gnu/packages/bioinformatics.scm (star)[arguments]: Use "modify-phases"
  syntax.
2016-01-23 08:40:14 +01:00
Efraim Flashner ebf89f134c gnu: fuse: Update to 2.9.5 [fixes CVE-2016-1233].
* gnu/packages/linux.scm (fuse): Update to 2.9.5.
2016-01-22 09:00:34 +02:00
宋文武 6871628999 gnu: mozjs: Make milestone.pl compatible with Perl 5.22+.
* gnu/packages/gnuzilla.scm (mozjs, mozjs-24)[source]: Add snippet.
2016-01-22 14:42:10 +08:00
Eric Bavier b6d937d99e gnu: american-fuzzy-lop: Update to 1.96b.
* gnu/packages/debug.scm (american-fuzzy-lop): Update to 1.96b.
  [arguments]: Create symbolic link to custom qemu, rather than copying.
2016-01-21 23:54:48 -06:00
Eric Bavier 2d8211ab30 gnu: american-fuzzy-lop: Fix qemu configure flags.
Fixes regression introduced in 06da1a6.

* gnu/packages/debug.scm (american-fuzzy-lop)[qemu]: Override inherited
  #:configure-flags.
2016-01-21 23:54:48 -06:00
Eric Bavier 1022da10e1 gnu: texi2html: Disable tests.
* gnu/packages/texinfo.scm (texi2html): New 'arguments' field.
2016-01-21 22:09:42 -06:00
Leo Famulari 765973cd65 gnu: Add iftop.
* gnu/packages/admin.scm (iftop): New variable.
2016-01-21 20:21:19 -05:00
Leo Famulari c2af02602a Revert "gnu: Add iftop."
This reverts commit 45da8c6dd1.
2016-01-21 20:11:21 -05:00
Leo Famulari 45da8c6dd1 gnu: Add iftop.
* gnu/packages/admin.scm (iftop): New variable.
2016-01-21 18:11:12 -05:00
Ludovic Courtès c74f0cb2b8 tests: Prevent 'http_proxy' from breaking Web server tests.
* tests/lint.scm: Add call to 'unsetenv' to remove 'http_proxy'.
* tests/publish.scm: Likewise.
2016-01-22 00:02:52 +01:00
Ludovic Courtès c4847f49b3 doc: Fix typo in "Locales".
* doc/guix.texi (Locales): Add missing 's'.
2016-01-22 00:02:52 +01:00
Ludovic Courtès 6b779207ee system: grub: Search root device by label or UUID if possible.
Fixes <http://bugs.gnu.org/22281>.
Reported by Christopher Allan Webber <cwebber@dustycloud.org>.

* gnu/system/grub.scm (eye-candy): Add 'root-fs' parameter.  Replace
'search --file' command in the output with whatever 'grub-root-search'
returns.
(grub-root-search): New procedure.
(grub-configuration-file): Add 'store-fs' parameter.  Use
'grub-root-search' instead of hard-coded 'search --file' commands.
* gnu/system.scm (store-file-system,
operating-system-store-file-system): New procedures.
(operating-system-grub.cfg): Use it, and adjust call to
'grub-configuration-file'.
* tests/system.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
2016-01-22 00:02:52 +01:00
Mark H Weaver 3738d8700f gnu: ffmpeg: Update to 2.8.5.
* gnu/packages/video.scm (ffmpeg): Update to 2.8.5.
2016-01-21 10:30:21 -05:00
Mark H Weaver 0c0207a93b gnu: gajim: Update to 0.16.5 [fixes CVE-2015-8688].
* gnu/packages/messaging.scm (gajim): Update to 0.16.5.
  [arguments]: Disable tests.
2016-01-21 10:24:44 -05:00
Ricardo Wurmus 6c92d8dd35 gnu: bind-utils: Build and install "nsupdate".
* gnu/packages/dns.scm (bind-utils)[arguments]: Build and install
  "nsupdate" executable.
2016-01-21 15:53:35 +01:00
Ricardo Wurmus bd0eb6672b gnu: bind-utils: Generalize "build" and "install" phases.
* gnu/packages/dns.scm (bind-utils)[arguments]: Generalize "build" and
  "install" phases.
2016-01-21 15:53:35 +01:00
Ricardo Wurmus b2844d8f14 gnu: bind-utils: Use "modify-phases" syntax.
* gnu/packages/dns.scm (bind-utils): Use "modify-phases" syntax.
2016-01-21 15:53:35 +01:00
Pjotr Prins 897092875e gnu: r-qtl: Update to 1.38-4.
* gnu/packages/bioinformatics.scm (r-qtl): Update to 1.38-4.
2016-01-21 11:16:12 +01:00
Mark H Weaver 1207a0c33e gnu: libxmp: Update to 4.3.10.
* gnu/packages/audio.scm (libxmp): Update to 4.3.10.
2016-01-21 00:44:46 -05:00
Mark H Weaver 86fa2ea92f gnu: libtiff: Update to 4.0.6. Add fixes for CVE-2015-{8665,8683}.
* gnu/packages/patches/libtiff-CVE-2015-8665+CVE-2015-8683.patch,
  gnu/packages/patches/libtiff-oob-accesses-in-decode.patch,
  gnu/packages/patches/libtiff-oob-write-in-nextdecode.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/image.scm (libtiff): Update to 4.0.6.
  [source]: Add patches.
2016-01-21 00:30:15 -05:00
Eric Bavier 7ed0145712 gnu: Add NQC.
* gnu/packages/lego.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2016-01-20 22:06:27 -06:00
Eric Bavier ea4a0e81cb gnu: licenses: Add Mozilla Public License 1.0.
* guix/licenses.scm (mpl1.0): New variable.
2016-01-20 22:06:27 -06:00
Leo Famulari feb767b23c gnu: Add transmission-remote-cli.
* gnu/packages/bittorrent.scm (transmission-remote-cli): New variable.
2016-01-20 20:19:46 -05:00
Eric Bavier a2190cccc2 gnu: Add dependencies on Perl modules as needed.
This is a follow-on to bb8afbf5.

* gnu/packages/language.scm (perl-lingua-en-inflect, perl-lingua-stem)
  (perl-snowball-norwegian, perl-snowball-swedish): Add 'native-inputs'
  field.
* gnu/packages/perl.scm (perl-aliased, perl-class-accessor-chained)
  (perl-datetime-set, perl-datetime-format-ical, perl-datetime-locale)
  (perl-error, perl-module-runtime, perl-module-runtime-conflicts)
  (perl-path-class, perl-posix-strftime-compiler, perl-readonly)
  (perl-test-differences, perl-test-pod, perl-test-trap)
  (perl-text-aligner, perl-text-glob, perl-text-table, perl-tie-ixhash)
  (perl-time-mock): Ditto.
  (perl-config-any): Add 'propagated-inputs' field.
  (perl-data-page, perl-datetime, perl-datetime-format-natural)
  (perl-moosex-getopt, perl-moosex-role-parameterized)
  (perl-moosex-types, perl-namespace-autoclean, perl-params-validate)
  (perl-tree-simple-visitorfactory)[native-inputs]: Add PERL-MODULE-BUILD.
  (perl-file-changenotify)[native-inputs]: Ditto.
  [propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
  (perl-datetime-format-flexible, perl-test-writevariants)
  [propagated-inputs]: Ditto.
  (perl-test-mockobject): Add 'arguments' field.
* gnu/packages/mail.scm (perl-email-abstract)[propagated-inputs]: Ditto.
* gnu/packages/web.scm (perl-datetime-format-http, perl-io-socket-ip)
  (perl-plack-middleware-methodoverride, perl-uri-find)
  (perl-www-mechanize): Add 'native-inputs' field.
  (perl-html-template, perl-http-server-simple): Add 'propagated-inputs'
  field.
  (perl-apache-logformat-compiler, perl-html-tree)[native-inputs]:
  Add PERL-MODULE-BUILD.
  (perl-catalyst-runtime)[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
  (perl-finance-quote)[propagated-inputs]: Add PERL-CGI.
2016-01-20 17:45:31 -06:00
Eric Bavier 97b07aaa41 gnu: Add perl-module-pluggable.
This Perl module was moved out of Perl core in v5.19.0.

* gnu/packages/perl.scm (perl-module-pluggable): New variable.
* gnu/packages/patches/perl-module-pluggable-search.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
2016-01-20 17:45:31 -06:00
Eric Bavier 7b158c4ee2 gnu: Add perl-cgi.
The CGI module was removed from Perl core in v5.21.0.

* gnu/packages/web.scm (perl-cgi): New variable.
2016-01-20 17:45:31 -06:00
Ludovic Courtès aca738f3c6 doc: Explain how to make the Info manual visible.
Suggested by David Thompson <dthompson2@worcester.edu>
at <http://bugs.gnu.org/22402>.

* doc/guix.texi (Binary Installation): Explain how to make the Info
manual visible.
2016-01-21 00:22:34 +01:00
Ludovic Courtès 5d94ac5192 doc: Explain how to remove services from a list.
Suggested by <swedebugia@riseup.net>.

* doc/guix.texi (Using the Configuration System): Add
@unnumberedsubsubsec.  Explain how to remove services from a list.
Mention (gnu system).
2016-01-21 00:22:34 +01:00
Ludovic Courtès 893106cbbf services: avahi: Export service type.
* gnu/services/avahi.scm: Export 'avahi-service-type'.
2016-01-21 00:22:34 +01:00
Mark H Weaver 80b64ee2d8 gnu: isc-dhcp: Update bundled bind to 9.9.8-P3 [fixes CVE-2015-8704].
* gnu/packages/admin.scm (isc-dhcp): Update bundled bind to 9.9.8-P3.
2016-01-20 14:58:40 -05:00
Mark H Weaver d912db5bc0 gnu: bind-utils: Update to 9.10.3-P3 [fixes CVE-2015-8704].
* gnu/packages/dns.scm (bind-utils): Update to 9.10.3-P3.
2016-01-20 14:57:06 -05:00
Mark H Weaver beed3af565 gnu: linux-libre: Add fix for CVE-2016-0728.
* gnu/packages/patches/linux-libre-CVE-2016-0728.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (linux-libre)[source]: Add patch.
2016-01-20 13:23:42 -05:00
David Thompson d4df203292 gnu: obs: Add support for webcams.
* gnu/packages/video.scm (obs)[inputs]: Add v4l-utils.
2016-01-20 11:46:45 -05:00
David Thompson 945d985aab gnu: Add v4l-utils.
* gnu/packages/video.scm (v4l-utils): New variable.
2016-01-20 11:46:45 -05:00
Andreas Enge f32ee38fcd gnu: arb: Correct patch.
* gnu/packages/patches/arb-ldconfig.patch: Correct erroneously committed file.

This is a follow-up to commit ffc8f34511.
2016-01-20 16:57:17 +01:00
Andreas Enge ffc8f34511 gnu: arb: Update to 2.8.1.
* gnu/packages/algebra.scm (arb)[source]: Update to 2.8.1. Add patch.
* gnu/packages/patches/arb-ldconfig.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
2016-01-20 16:33:34 +01:00
Andreas Enge 05944b3aa6 gnu: doxygen: Drop propagated input graphviz.
* gnu/packages/doxygen.scm (doxygen)[propagated-inputs]: Drop graphviz.
2016-01-20 13:23:25 +01:00
Andreas Enge 7c853c02b8 gnu: doxygen: Update to 1.8.11.
* gnu/packages/doxygen.scm (doxygen)[source]: Update to 1.8.11.
  Drop one patch.
  [build-system]: Switch to cmake-build-system, since gnu-build-system
  is not supported any more.
  [arguments]: Adapt.
  [native-inputs]: Drop unused perl.
* gnu/packages/patches/doxygen-tmake.patch: Remove file.
* gnu/packages/patches/doxygen-test.patch: Adapt.
* gnu-system.am (dist_patch_DATA): Unregister patch.
2016-01-20 13:19:48 +01:00
Ben Woodcroft a132f7d68f tests: Move beatify-description tests to import-tests.
Fixes <http://bugs.gnu.org/22391>.

* tests/cran.scm (beautify-description: use double spacing,
beautify-description: transform fragment into sentence). Move
from here ...
* tests/import-utils.scm: ... to here. New file.
* Makefile.am (SCM_TESTS): Add import-utils.
2016-01-20 22:06:25 +10:00
Ben Woodcroft e88d5fa9eb import: gem: Beautify only the description, not the synopsis.
* guix/import/gem.scm (make-gem-sexp): Add synopsis argument.
(gem->guix-package): Pass unbeautified synopsis to make-gem-sexp.
* tests/gem.scm: Adapt it.
2016-01-20 21:52:52 +10:00
Ricardo Wurmus d0bd632f89 import: Add Bioconductor importer and updater.
* guix/import/cran.scm (%bioconductor-updater,
latest-bioconductor-release, bioconductor-package?): New procedures.
(cran->guix-package): Support repositories other than CRAN.
(%bioconductor-url, %bioconductor-svn-url): New variables.
(description->package): Update signature to distinguish between packages
from different repositories.
(latest-release): Rename procedure ...
(latest-cran-release): ... to this.
(cran-package?): Do not assume all R packages are available on CRAN.
* tests/cran.scm: Update tests.
* guix/scripts/import/cran.scm: Add "--archive" option and default to
CRAN.
* guix/scripts/refresh.scm (%updaters): Add "%bioconductor-updater".
* doc/guix.texi: Document Bioconductor importer and updater.
2016-01-20 12:41:28 +01:00
Efraim Flashner 4c3d2b2a8f gnu: enlightenment: Update to 0.20.3.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.20.3.
2016-01-20 12:37:21 +02:00
Efraim Flashner 0568dbabe0 gnu: libshout: Update to 2.4.1.
* gnu/packages/xiph.scm (libshout): Update to 2.4.1.
2016-01-20 02:12:23 +02:00
Efraim Flashner 1c3d37e648 gnu: opusfile: Update to 0.7.
* gnu/packages/xiph.scm (opusfile): Update to 0.7.
2016-01-20 02:12:23 +02:00
Efraim Flashner 275cc09280 gnu: opus: Update to 1.1.2.
* gnu/packages/xiph.scm (opus): Update to 1.1.2.
2016-01-20 02:12:23 +02:00
Eric Bavier 252ddedd4b build-system/haskell: Fix package.conf parsing.
* guix/build/haskell-build-system.scm (register)[conf-depends]: Properly
  react to EOF while reading GHC package conf files.
2016-01-19 18:01:07 -06:00
Ludovic Courtès 55ca5e8095 gnu: lilypond: Double 'max-silent-time'.
Suggested by Mark H Weaver <mhw@netris.org>.

* gnu/packages/music.scm (lilypond)[properties]: New field.
2016-01-19 22:14:15 +01:00
Ludovic Courtès af46761302 hydra: Honor the 'max-silent-time' package property.
Suggested by Mark H Weaver <mhw@netris.org>.

* build-aux/hydra/gnu-system.scm (package->alist): Add
'max-silent-time' pair.
2016-01-19 22:12:11 +01:00
Ludovic Courtès f495301902 guix build: Add '--keep-going'.
* guix/scripts/build.scm (show-build-options-help)
(%standard-build-options): Add --keep-going.
* guix/scripts/build.scm (set-build-options-from-command-line): Honor
it.
* doc/guix.texi (Invoking guix build): Document it.
2016-01-19 21:59:58 +01:00
Ludovic Courtès 0e510971c3 derivations: Add test in keep-going mode.
* tests/derivations.scm ("derivation fails but keep going"): New test.
2016-01-19 21:59:58 +01:00
Christopher Allan Webber 16966d5b4d gnu: fdm: Adjust license link to point to web-accessible copy of command.c
* gnu/packages/mail.scm (fdm): Adjusted license field
2016-01-19 07:54:18 -08:00
Christopher Allan Webber 34dd26af49 gnu: Add fdm.
* gnu/packages/mail.scm (fdm): New variable.
2016-01-18 21:51:45 -08:00
Mark H Weaver afe9f40949 Merge branch 'master' into core-updates 2016-01-19 00:18:37 -05:00
Christopher Allan Webber 1348185ac2 gnu: Add linux-libre-4.2.5
* gnu/packages/linux.scm (linux-libre-4.2.5): New variable.
2016-01-18 15:10:38 -08:00
Ludovic Courtès aac783cac5 build: Remove traces of 'NIX_SETUID_HELPER'.
This is a followup to 0919f5f4.

* test-env.in: Remove occurrences of 'NIX_SETUID_HELPER'.
2016-01-18 23:52:13 +01:00
Efraim Flashner 26da7c2606 gnu: mpv: Update to 0.15.0.
* gnu/packages/video.scm (mpv): Update to 0.15.0.
2016-01-18 22:26:56 +02:00
Alex Kost 60edbe2297 gnu: magit: Update to 2.4.0.
* gnu/packages/emacs.scm (magit): Update to 2.4.0.
2016-01-18 22:40:33 +03:00
Alex Kost d44d60d211 gnu: sxiv: Update to 1.3.2.
* gnu/packages/sxiv.scm (sxiv): Update to 1.3.2.
2016-01-18 22:40:33 +03:00
Alex Kost 4c896c9195 gnu: manaplus: Update to 1.6.1.16.
* gnu/packages/games.scm (manaplus): Update to 1.6.1.16.
2016-01-18 22:40:33 +03:00
Ludovic Courtès e0c941fefa doc: Document 'http_proxy'.
* doc/guix.texi (Build Environment Setup, Substitutes): Document
'http_proxy'.
2016-01-18 17:41:16 +01:00
Ludovic Courtès 44ad33843a derivations: Add test for #:leaked-env-vars.
* tests/derivations.scm ("derivation #:leaked-env-vars"): New test.
2016-01-18 17:41:16 +01:00
Ludovic Courtès a887fd8d48 doc: Explain how to run a subset of the tests.
* doc/guix.texi (Running the Test Suite): Explain 'TESTS'.
2016-01-18 17:41:16 +01:00
Alex Kost 27a2e48337 emacs: Add 'guix-search-by-name'.
* emacs/guix-ui-package.el (guix-search-by-name): New command.
* doc/emacs.texi (Emacs Commands): Document it.
2016-01-18 19:11:46 +03:00
Alex Kost e119ba9008 emacs: Rename 'guix-search-by-name' to 'guix-packages-by-name'.
* emacs/guix-ui-package.el (guix-search-by-name): Rename to...
  (guix-packages-by-name): ... this.  Complete package name.
* doc/emacs.texi (Emacs Commands): Likewise.
2016-01-18 19:11:46 +03:00
Efraim Flashner 264ae686fa python2-jsonschema: Add python2-functools32 to inputs.
* gnu/packages/python.scm (python2-jsonschema)[inputs]: Add
python2-functools32.
(python2-wheel)[native-inputs]: Specify python2-jsonschema. Add
python2-functools32.
(python2-requests)[propagated-inputs]: Specify python2-wheel.
(python2-ipython)[inputs]: Specify python2-jsonschema, python2-requests.
(python2-rauth)[propagated-inputs]: Specify python2-requests.
* gnu/packages/openstack.scm (python2-requests-mock)[propagated-inputs]:
Specify python2-requests.
(python2-tempest-lib)[propagated-inputs]: Specify python2-jsonschema.
(python2-oslosphinx)[propagated-inputs]: Specify python2-requests.
(python2-keystoneclient)[porpagated-inputs]: Specify python2-requests.
[native-inputs]: Specify python2-oslosphinx, python2-requests-mock,
python2-tempest-lib.
(python2-swiftclient)[propagated-inputs]: Specify python2-requests,
python2-oslosphinx.
2016-01-18 17:23:37 +02:00
Efraim Flashner 058247efff gnu: datamash: Update to 1.1.0.
* gnu/packages/datamash.scm (datamash): Update to 1.1.0.
2016-01-18 12:14:20 +02:00
Taylan Ulrich Bayırlı/Kammer de6af32783 build: Speed up .go compilation.
* build-aux/compile-all.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
(%.go, make-go): New rules.
2016-01-18 08:57:55 +01:00
Mark H Weaver 8047d13dcf gnu: mariadb: Update to 10.0.23.
* gnu/packages/databases.scm (mariadb): Update to 10.0.23.
2016-01-18 01:43:07 -05:00
Mark H Weaver 51a277d8e8 gnu: rsync: Update to 3.1.2.
* gnu/packages/rsync.scm (rsync): Update to 3.1.2.
2016-01-17 21:44:31 -05:00
Ricardo Wurmus e8309291a7 gnu: solfege: Build scores with Lilypond.
* gnu/packages/music.scm (solfege)[inputs]: Add "lilypond".
2016-01-17 22:57:58 +01:00
Ricardo Wurmus 18ef998bfc gnu: bristol: Remove SSE flags on platforms other than x86_64 and i686.
* gnu/packages/music.scm (bristol)[arguments]: Add phase
"remove-sse-flags" to remove unsupported optimizations on platforms
other than x86_64 and i686.
2016-01-17 22:57:58 +01:00
Ludovic Courtès b153f9f0a9 linux-initrd: Remove "usbkbd" from the default set of modules.
Reported by Ricardo Wurmus <rekado@elephly.net>
at <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20433#39>.

* gnu/system/linux-initrd.scm (base-initrd): Remove "usbkbd".
2016-01-17 22:01:47 +01:00
Efraim Flashner e8d2168c27 gnu: Add git-annex-remote-hubic.
* gnu/packages/version-control.scm (git-annex-remote-hubic): New variable.
2016-01-17 22:37:04 +02:00
Efraim Flashner c18f636823 gnu: Add python-urllib3.
* gnu/packages/python.scm (python-urllib3, python2-urllib3): New variables.
2016-01-17 22:37:04 +02:00
Efraim Flashner e1ba074999 gnu: python-wheel: Clarify description.
* gnu/packages/python.scm (python-wheel): Do it.
2016-01-17 22:37:04 +02:00
Efraim Flashner 10468636ff gnu: python-pytest-cov: Clarify description.
* gnu/packages/python.scm (python-pytest-cov): Do it.
2016-01-17 22:37:04 +02:00
Efraim Flashner 1abe448d56 gnu: Add python2-functools32.
* gnu/packages/python.scm (python2-functools32): New variable.
2016-01-17 22:37:04 +02:00
Efraim Flashner 5988c299c4 gnu: Add python-pyasn1-modules.
* gnu/packages/python.scm (python-pyasn1-modules)
(python2-pyasn1-modules): New variables.
2016-01-17 22:37:04 +02:00
Efraim Flashner 81f7f29752 gnu: Add python-rauth.
* gnu/packages/python.scm (python-rauth, python2-rauth): New variables.
2016-01-17 22:37:04 +02:00
Efraim Flashner 8f0cc2ffce gnu: Add python-swiftclient.
* gnu/packages/openstack.scm (python-swiftclient, python2-swiftclient):
New variables.
2016-01-17 22:37:04 +02:00
Efraim Flashner 7a5b944eb5 gnu: Add python-futures.
* gnu/packages/python.scm (python-futures, python2-futures): New variables.
2016-01-17 22:37:04 +02:00
Efraim Flashner c9e330d001 gnu: Add python-keystoneclient.
* gnu/packages/openstack.scm (python-keystoneclient)
(python2-keystoneclient): New variables.
2016-01-17 22:37:04 +02:00
Ricardo Wurmus fb492b9a64 gnu: vmpk: Update to 0.6.2a.
* gnu/packages/music.scm (vmpk): Update to 0.6.2a.
2016-01-17 19:57:07 +01:00
Ricardo Wurmus cfac12723a gnu: drumstick: Update to 1.0.2.
* gnu/packages/music.scm (drumstick): Update to 1.0.2.
2016-01-17 19:57:00 +01:00
Efraim Flashner 81c29cccaa gnu: mpv: Add features.
* gnu/packages/video.scm (mpv)[inputs]: Add libvdpau.
[arguments]: Add gpl3 and zsh completion flags.
2016-01-17 20:43:51 +02:00
Efraim Flashner 3161d32d37 gnu: Add vdpauinfo.
* gnu/packages/video.scm (vdpauinfo): New variable.
2016-01-17 20:43:51 +02:00
Efraim Flashner d5650f86a7 gnu: Add libvdpau.
* gnu/packages/video.scm (libvdpau): New variable.
2016-01-17 20:43:51 +02:00
Ludovic Courtès bb8afbf5a1 gnu: Add dependency on Perl's 'Module::Build' as needed.
'Module::Build' was deprecated in Perl 5.20 and removed in 5.22.
Some packages need to explicitly depend on it now.

* gnu/packages/perl.scm (perl-class-factory-util):
(perl-date-manip, perl-devel-checkbin): Add 'native-inputs' field.
(perl-module-build)[description]: Mention that it used to be in Perl.
* gnu/packages/web.scm (perl-cgi-simple)[native-inputs]: Add
PERL-MODULE-BUILD.
2016-01-17 18:41:20 +01:00
Eric Bavier 2328b47c64 gnu: Add autojump.
* gnu/packages/admin.scm (autojump): New variable.
2016-01-17 01:44:15 -06:00
Eric Bavier f5a8491b69 gnu: hevea: Update to 2.28.
* gnu/packages/ocaml.scm (hevea): Update to 2.28.
  [arguments]: Add 'patch-/bin/sh phase.
2016-01-17 01:04:43 -06:00
Eric Bavier 90907a22bc gnu: unison: Add "doc" output.
* gnu/packages/ocaml.scm (unison)[source]: Use svn-fetch with snippet.
  [outputs]: New field.
  [native-inputs]: Add ghostscript, texlive, hevea, and lynx.
  [arguments]: Add 'install-doc phase.
2016-01-17 01:04:43 -06:00
Ricardo Wurmus 2309ed6862 gnu: samtools-0.1: Adapt to changes in "samtools" variable.
* gnu/packages/bioinformatics.scm (samtools-0.1)[arguments]: Add
  "LIBCURSES" make flag; delete "configure" phase; disable tests outside
  of "substitute-keyword-arguments".
2016-01-16 15:50:51 +01:00
Ludovic Courtès e90cf6c14a doc: Document command-line options honored by the initrd.
* doc/guix.texi (Initial RAM Disk): Document kernel command-line
options.
2016-01-16 14:45:47 +01:00
Ludovic Courtès 7ba903b6db linux-modules: Support 'modprobe.blacklist' on the command line.
* gnu/build/linux-modules.scm (file-name->module-name)
(module-black-list): New procedure.
* gnu/build/linux-modules.scm (load-linux-module*): Add #:black-list
parameter.
[black-listed?, load-dependencies]: New procedures.
Use them.
2016-01-16 14:45:47 +01:00
Alex Kost 67cedc4ba6 emacs: Add interface for system generations.
* emacs/guix-main.scm (system-generation-boot-parameters)
(system-generation-param-alist, system-generation-sexps): New procedures.
(entries): Add 'system-generation' entry type.
* emacs/guix-messages.el (guix-result-message): Use the same messages
  for 'generation' and 'system-generation' entry types.
* emacs/guix-ui-system-generation.el: New file.
* emacs.am (ELFILES): Add it.
* doc/emacs.texi (Emacs Commands): Document new commands.
* NEWS: Mention new interface.
2016-01-16 13:02:21 +03:00
Alex Kost 5672866848 emacs: Remove 'generation' search type.
Use 'installed' search type instead.

* emacs/guix-main.scm (%patterns-makers): Remove 'generation'.
  (package/output-sexps): Adjust accordingly.
* emacs/guix-ui-generation.el (guix-generation-info-insert-number):
  Replace 'generation' search with 'installed'.
  (guix-generation-list-show-packages): Likewise.
* emacs/guix-messages.el (guix-messages): Remove 'generation'.
2016-01-16 13:02:21 +03:00
Alex Kost 54c3c284d7 emacs: Replace 'generation-diff' search with 'profile-diff'.
* emacs/guix-main.scm (generation-package-specifications): Rename to...
  (profile-package-specifications): ... this.  Take a single 'profile'
  argument.
  (generation-difference): Rename to...
  (profile-difference): ... this.  Take profiles as arguments.
  (package/output-sexps): Adjust accordingly.
* emacs/guix-ui-generation.el (guix-generation-list-profiles-to-compare):
  New procedure.
  (guix-generation-list-show-added-packages)
  (guix-generation-list-show-removed-packages): Use it.
* emacs/guix-messages.el (guix-messages): Replace 'generation-diff' with
  'profile-diff'.
  (guix-message-outputs-by-diff): Adjust accordingly.
2016-01-16 13:02:21 +03:00
Alex Kost 2df17bd0ee emacs: Find packages in system profiles.
For a usual profile, packages are placed in a profile directory itself,
but for a system profile, packages are placed in 'profile'
sub-directory.  So we need to do some special cases for system profiles
to find packages there as well.

* emacs/guix-base.el (guix-packages-profile): New procedure.
  (guix-manifest-file): Use it.  Add optional 'system?' argument.
* emacs/guix-ui-generation.el (guix-system-generation?)
  (guix-generation-current-packages-profile):  New procedures.
  (guix-generation-packages, guix-generation-insert-packages): Remove
  'generation' argument.
  (guix-generation-packages-buffer): Add optional 'system?' argument.
  (guix-profile-generation-manifest-file)
  (guix-profile-generation-packages-buffer): Adjust accordingly.
* emacs/guix-main.scm (generation-package-specifications+paths): Rename to...
  (profile->specifications+paths): ... this.  Use a single 'profile' argument.
2016-01-16 13:02:21 +03:00
Alex Kost a0ad8ab01e emacs: profiles: Add 'guix-system-profile'.
* emacs/guix-profiles.el (guix-system-profile): New variable.
2016-01-16 13:02:21 +03:00
Alex Kost b8300494c0 Move <boot-parameters> to (gnu system).
* guix/scripts/system.scm (previous-grub-entries)
  (display-system-generation): Use accessors instead of matching
  <boot-parameters>.
  (boot-parameters, boot-parameters?, boot-parameters-label)
  (boot-parameters-root-device, boot-parameters-kernel)
  (boot-parameters-kernel-arguments, read-boot-parameters): Move to...
* gnu/system.scm: ... here. Export them.
2016-01-16 13:02:21 +03:00
宋文武 c3e919d7a0 gnu: Add python-hy.
* gnu/packages/python.scm (python-hy, python2-hy): New variables.
2016-01-16 08:18:37 +08:00
宋文武 e224b7d0bd gnu: Add python-rply.
* gnu/packages/python.scm (python-rply, python2-rply): New variables.
2016-01-16 08:18:37 +08:00
宋文武 4ecdeef8ae gnu: Add python-astor.
* gnu/packages/python.scm (python-astor, python2-astor): New variables.
2016-01-16 08:18:37 +08:00
宋文武 c06a3de93a gnu: Add python-clint.
* gnu/packages/python.scm (python-clint, python2-clint): New variables.
2016-01-16 08:17:04 +08:00
宋文武 2216e15cc3 gnu: Add python-args.
* gnu/packages.scm (python-args, python2-args): New variables.
2016-01-16 08:16:51 +08:00
Mark H Weaver ca3f9952d7 gnu: ffmpeg: Update to 2.8.5.
* gnu/packages/video.scm (ffmpeg): Update to 2.8.5.
2016-01-15 18:20:21 -05:00
Mark H Weaver 8d9bae4ed7 gnu: librsvg: Update to 2.40.13 [fixes CVE-2015-7558].
* gnu/packages/patches/librsvg-tests.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/gnome.scm (librsvg): Update to 2.40.13.
  [source]: Remove patch.
2016-01-15 18:03:02 -05:00
Leo Famulari 78e6c4a862 gnu: Add khal.
* gnu/packages/calendar.scm (khal): New variable.
2016-01-15 16:45:24 -05:00
Leo Famulari b97c1bfd56 gnu: python-urwid: Disable failing test test_remove_watch_file.
* gnu/packages/python.scm (python-urwid)[arguments]: Add
'disable-failing-test' phase.
[source]: Use pypi-uri.
2016-01-15 16:45:24 -05:00
Leo Famulari 226d333103 gnu: Update python-tzlocal to 1.2.
* gnu/packages/python.scm (python-tzlocal): Update to 1.2.
[source]: Use pypi-uri.
[arguments]: Remove the custom 'unpack phase.
[native-inputs]: Remove unzip, python-setuptools.
[propagated-inputs]: Add python-pytz.
2016-01-15 16:45:24 -05:00
Leo Famulari 6bbbb53eeb gnu: Add python-sphinxcontrib-newsfeed.
* gnu/packages/python.scm (python-sphinxcontrib-newsfeed): New variable.
2016-01-15 16:45:24 -05:00
Leo Famulari 5c299bf016 gnu: Add python-icalendar.
* gnu/packages/python.scm (python-icalendar): New variable.
2016-01-15 16:45:24 -05:00
Leo Famulari a2f6a3d502 gnu: Add vdirsyncer.
* gnu/packages/dav.scm (vdirsyncer): New variable.
2016-01-15 16:45:24 -05:00
Leo Famulari f75bbb028a gnu: Add radicale.
* gnu/packages/dav.scm (radicale): New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2016-01-15 16:45:24 -05:00
Leo Famulari 89b8a5516f gnu: Add python-pytest-xprocess.
* gnu/packages/python.scm (python-pytest-xprocess): New variable.
2016-01-15 16:45:24 -05:00
Leo Famulari 28cecbb7cc gnu: Add python-wsgi-intercept.
* gnu/packages/python.scm (python-wsgi-intercept): New variable.
2016-01-15 16:45:24 -05:00
Leo Famulari d7e729fe08 gnu: Add python-pytest-localserver.
* gnu/packages/python.scm (python-pytest-localserver): New variable.
2016-01-15 16:45:24 -05:00
Leo Famulari 6720dbb49f gnu: Add python-pytest-cache.
* gnu/packages/python.scm (python-pytest-cache): New variable.
2016-01-15 16:45:24 -05:00
Leo Famulari 848964fe11 gnu: Add python-execnet.
* gnu/packages/python.scm (python-execnet): New variable.
2016-01-15 16:45:24 -05:00
Leo Famulari 7b3a4ee4c3 gnu: Add python-apipkg.
* gnu/packages/python.scm (python-apipkg): New variable.
2016-01-15 16:45:24 -05:00
Leo Famulari 7b17cab902 gnu: Add python-click-log.
* gnu/packages/python.scm (python-click-log): New variable.
2016-01-15 16:45:24 -05:00
Leo Famulari d1deb90b3f gnu: Add python-click-threading.
* gnu/packages/python.scm (python-click-threading): New variable.
2016-01-15 16:45:24 -05:00
Leo Famulari 561bb3cb1a gnu: Add python-requests-toolbelt.
* gnu/packages/python.scm (python-requests-toolbelt): New variable.
2016-01-15 16:45:24 -05:00
Leo Famulari 5c6eea2ad1 gnu: Add python-atomicwrites.
* gnu/packages/python.scm (python-atomicwrites): New variable.
2016-01-15 16:45:24 -05:00
Ricardo Wurmus f5ca44b86e gnu: glade: Update to 3.18.5.
* gnu/packages/gnome.scm (glade): Update to 3.18.5.
[arguments]: Disable tests; add "fix-docbook" phase.
[inputs]: Replace "gtk+-2" with "gtk+".
[native-inputs]: Add "itstool", "libxslt", "docbook-xml", "docbook-xsl";
replace "python" with "python-2".
2016-01-15 22:29:37 +01:00
Ludovic Courtès 89b48232f8 gnu: automake: Adjust to deal with Perl 5.22.
Fixes <http://bugs.gnu.org/22375>.

* gnu/packages/patches/automake-regexp-syntax.patch: New file.
* gnu/packages/autotools.scm (automake)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2016-01-15 14:23:46 +01:00
Mark H Weaver 45f2ffb48c gnu: openssh: Update to 7.1p2.
* gnu/packages/ssh.scm (openssh): Update to 7.1p2.
2016-01-15 02:46:12 -05:00
Mark H Weaver 1beec63ac8 Revert "gnu: openssh: Update to 7.1p2 [fixes CVE-0216-0778]."
This reverts commit 6d139e53b5.
2016-01-15 02:45:58 -05:00
Mark H Weaver 6d139e53b5 gnu: openssh: Update to 7.1p2 [fixes CVE-0216-0778].
* gnu/packages/ssh.scm (openssh): Update to 7.1p2.
2016-01-14 10:39:00 -05:00
David Thompson df1f1d6936 gnu: Add docker-compose.
* gnu/packages/docker.scm (docker-compose): New variable.
2016-01-14 09:17:12 -05:00
David Thompson b42c9c8124 gnu: Add python-dockerpty.
* gnu/packages/docker.scm (python-dockerpty): New variable.
2016-01-14 09:16:22 -05:00
David Thompson d020bfc2df gnu: Add python-docker-py.
* gnu/packages/docker.scm: New file.
* Makefile.am (GNU_SYSTEM_MODULES): Add it.
2016-01-14 09:16:22 -05:00
David Thompson 67c52bb3e7 gnu: Add python-websocket-client.
* gnu/packages/python.scm (python-websocket-client): New variable.
2016-01-14 09:12:23 -05:00
David Thompson 210bf49754 gnu: Add python-texttable.
* gnu/packages/python.scm (python-texttable, python2-texttable): New
variables.
2016-01-14 09:12:23 -05:00
David Thompson b3667afbd2 gnu: Update python-jsonschema to 2.5.1.
* gnu/packages/python.scm (python-jsonschema): Update to 2.5.1.
[inputs]: Add python-vcversioner.
2016-01-14 09:12:06 -05:00
David Thompson ea521b42c2 gnu: Add python-vcversioner.
* gnu/packages/python.scm (python-vcversioner, python2-vcversioner): New
variables.
2016-01-14 09:05:19 -05:00
David Thompson e90051808b gnu: Add version 2.7 variant of python-requests.
* gnu/packages/python.scm (python-requests-2.7): New variable.
2016-01-14 09:05:19 -05:00
Ricardo Wurmus 3141b83d4d gnu: r-go-db: Add missing input.
* gnu/packages/bioinformatics.scm (r-go-db)[propagated-inputs]: Add
  "r-annotationdbi".
2016-01-14 14:43:59 +01:00
Ricardo Wurmus d7786ce9b0 gnu: r-sparsem: Add missing "gfortran" input.
* gnu/packages/statistics.scm (r-sparsem)[inputs]: Add "gfortran".
2016-01-14 14:43:59 +01:00
Ricardo Wurmus 0047d26a22 gnu: bowtie: Update to 2.2.6.
* gnu/packages/bioinformatics.scm (bowtie): Update to 2.2.6.
[source]: Remove patch; do not set CC and CPP variables.
[inputs]: Add "tbb".
[arguments]: Pass "prefix" and "WITH_TBB" make flags; remove custom
"install" phase.
* gnu/packages/patches/bowtie-fix-makefile.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove patch file.
2016-01-14 14:43:25 +01:00
Efraim Flashner 2d12284d38 gnu: gnupg: Add TOFU support.
* gnu/packages/gnupg.scm (gnupg)[inputs]: Add sqlite.
2016-01-14 15:05:36 +02:00
Ben Woodcroft 869cda545d import: gem: Beautify description field.
* guix/import/gem.scm (gem->guix-package): Use 'beautify-description'.
2016-01-14 19:44:40 +10:00
Ben Woodcroft 2028a2c960 import: cran: Move beautify-description to utils module.
* guix/import/cran.scm (beautify-description): Move from here...
* guix/import/utils.scm: ... to here.
2016-01-14 19:44:36 +10:00
Ludovic Courtès 76002e54f2 gnu: gawk: Protect against random failures of the 'fts' test.
* gnu/packages/patches/gawk-fts-test.patch: New file.
* gnu/packages/gawk.scm (gawk)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2016-01-14 10:43:08 +01:00
Alex Kost 6b3a1ce8d7 emacs: Fix heading face in "Package Info".
Reported by Ludovic Courtès <ludo@gnu.org> on #guix.
This fixes a regression introduced in commit 7171d824.

'insert-text-button' procedure does not allow to override a button face,
so a specialized button type should be used instead.

* emacs/guix-ui-package.el (guix-package-heading): New button type.
  (guix-package-info-insert-heading): Use it.
2016-01-14 01:12:24 +03:00
Ben Woodcroft 6b6f7d6a0e gnu: orfm: Update to 0.5.3.
* gnu/packages/bioinformatics.scm (orfm): Update to 0.5.3.
[native-inputs]: Add inputs required for tests.
[description]: Add commas.
2016-01-14 08:00:10 +10:00
Ben Woodcroft 3d84a99e73 gnu: Add ruby-bio-commandeer.
* gnu/packages/ruby.scm (ruby-bio-commandeer): New variable.
2016-01-14 08:00:02 +10:00
Ben Woodcroft 7c033c4627 gnu: Add ruby-systemu.
* gnu/packages/ruby.scm (ruby-systemu): New variable.
2016-01-14 07:51:44 +10:00
Ricardo Wurmus ca7ef4d418 gnu: cross-gcc-arguments: Enable C++, disable building of libstdc++-v3.
* gnu/packages/cross-base.scm (cross-gcc-arguments)[arguments]: Disable
  building libstdc++-v3 and enable building C++ compiler.
2016-01-13 22:32:37 +01:00
Ludovic Courtès 724eaef1b2 tests: Use sed instead of grep as a package with no dependencies.
* tests/graph.scm ("node-edges"): Choose SED instead of GREP as the
example.
2016-01-13 18:19:01 +01:00
Ludovic Courtès 8c986ab120 Merge branch 'master' into core-updates 2016-01-13 18:18:48 +01:00
Ludovic Courtès 7a2eed3aac hydra: Add missing phase and inputs for 'make dist' job.
* build-aux/hydra/guix.scm (tarball-package): Inherit from 'guix-devel'
rather than 'guix'.  Pass #:phases to 'dist-package'.
2016-01-13 17:43:21 +01:00
Ludovic Courtès b8a35309f8 build-system/gnu: 'dist-package' can be passed the phases.
* guix/build-system/gnu.scm (dist-package): Add #:phases parameter and
honor it.
2016-01-13 17:43:21 +01:00
Ludovic Courtès 8c9ef2c3a2 monad-repl: Close connection when leaving the monad REPL.
* guix/monad-repl.scm (store-monad-language): Add 'store' parameter and
use it.  Remove call to 'open-connection'.
(enter-store-monad): Use 'with-store' and pass the store to
'store-monad-language.
2016-01-13 17:43:21 +01:00
Ricardo Wurmus e5a19fed19 gnu: julia: Update to 0.4.3.
* gnu/packages/julia.scm (julia): Update to 0.4.3.
(libuv-julia): Update to 07730c4bd595.
2016-01-13 17:05:38 +01:00
Alex Kost 6d268e5281 emacs: Move loading packages to "guix-emacs.el".
* emacs/guix-init.el: Move the code for auto-loading Emacs packages to...
  (guix-package-enable-at-startup): Move to...
* emacs/guix-emacs.el (guix-package-enable-at-startup): ... here.
2016-01-13 17:56:14 +03:00
Alex Kost e4e2154644 emacs: Make "guix-emacs.el" independent.
"guix-emacs.el" may be used just for "instructing" Emacs where to find
Emacs packages installed with Guix, so it should have as few
dependencies as possible.

See <http://lists.gnu.org/archive/html/guix-devel/2016-01/msg00022.html>.

* emacs/guix-emacs.el: Require 'guix-profiles' optionally.
  (guix-emacs-load-autoloads): Use 'guix-profile-prompt' only if it is
  available.
2016-01-13 17:56:14 +03:00
Alex Kost 08207339aa emacs: Complete --file in 'guix build' popup.
* emacs/guix-command.el (guix-command-improve-build-argument): Use
  'guix-read-file-name' to complete --file option.
2016-01-13 17:55:47 +03:00
Alex Kost 883fc5ed42 emacs: Add missing shell completions.
* emacs/guix-pcomplete.el (guix-pcomplete-complete-option-arg): Complete
  file name for '--install-from-file' option of 'guix package' command,
  and for '--file' and '--with-source' options of 'guix build' command.
2016-01-13 17:55:47 +03:00
Mark H Weaver 75418ae0fd gnu: isc-dhcp: Update to 4.3.3-P1 [fixes CVE-2015-8605].
* gnu/packages/admin.scm (isc-dhcp): Update to 4.3.3-P1.
2016-01-13 09:38:57 -05:00
Ricardo Wurmus c44734115a gnu: samtools: Update to 1.3.
* gnu/packages/bioinformatics.scm (samtools): Update to 1.3.
[arguments]: Enable tests for all architectures; set ncurses in
configure-flags instead of make-flags; simplify "patch-tests" phase;
restore "configure" phase.
2016-01-13 15:12:22 +01:00
Ludovic Courtès 93ce8a8e00 build: Use 127 as the Linux hash-bang limit.
Reported by taylanbayirli@gmail.com (Taylan Ulrich Bayırlı/Kammer).

* m4/guix.m4 (LINUX_HASH_BANG_LIMIT): Set to 127.
2016-01-13 11:13:34 +01:00
Ludovic Courtès 98f2339189 gnu: skribilo: Update to 0.9.3.
* gnu/packages/skribilo.scm (skribilo): Update to 0.9.3.
[native-inputs]: New field.
2016-01-13 11:13:34 +01:00
Leo Famulari 0917e80ea8 doc: Fix typo in "Build Systems".
* doc/guix.texi (Build Systems): Remove extra 's'.
2016-01-12 17:55:59 -05:00
Eric Bavier c91d3fb7f4 gnu: boost: Update to 1.60.0.
* gnu/packages/boost.scm (boost): Update to 1.60.0.
  [source]: Remove patch.
* gnu/packages/patches/boost-mips-avoid-m32.patch: Delete patch
* gnu-system.am (dist_patch_DATA): Remove patch.

Also fix dependent packages:

* gnu/packages/patches/csound-header-ordering.patch: New patch.
* gnu/packages/audio.scm (csound)[source]: Use it.
  [arguments]: Add 'set-flags phase.
* gnu/packages/patches/libcmis-fix-test-onedrive.patch: New patch.
* gnu/packages/libreoffice.scm (libcmis)[source]: Use it.
  (libreoffice)[arguments]: Add LDFLAGS to #:configure-flags.
  (librevenge)[inputs]: Move boost from here...
  [propogated-inputs]: to here.
  [arguments]: Add LDFLAGS to #:configure-flags.
* gnu/packages/patches/openimageio-boost-1.60.patch: New patch.
* gnu/packages/graphics.scm (openimageio): Use it.
* gnu-system.am (dist_patch_DATA): Add patches.
2016-01-12 21:07:53 +01:00
Eric Bavier 3abe8136fd gnu: boost: Use modify-phases.
* gnu/packages/boost.scm (boost)[arguments]: Use modify-phases.
2016-01-12 20:53:14 +01:00
Mark H Weaver 203795acea gnu: perl: Add fix for CVE-2015-8607.
* gnu/packages/patches/perl-CVE-2015-8607.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/perl.scm (perl)[source]: Add patch.
2016-01-12 13:12:07 -05:00
Mark H Weaver ce3ac6670c gnu: perl: Update to 5.22.1.
* gnu/packages/perl.scm (perl): Update to 5.22.1.
2016-01-12 13:10:05 -05:00
Ludovic Courtès bb25130764 build: 'make check' errors out if file name limits would be hit.
* Makefile.am (SCM_TESTS, SH_TESTS, TESTS, AM_TESTS_ENVIRONMENT)
(SCM_LOG_COMPILER, SH_LOG_COMPILER, AM_SCM_LOG_FLAGS)
(AM_SH_LOG_FLAGS): Move within 'if CAN_RUN_TESTS'.
(check-local) [!CAN_RUN_TESTS]: New target.
* daemon.am (AM_TESTS_ENVIRONMENT, TESTS): Ditto.
* m4/guix.m4 (GUIX_CHECK_FILE_NAME_LIMITS): Add parameter and set it.
2016-01-12 17:47:36 +01:00
Ludovic Courtès 27ab3cee75 build: Warn against long hash bang lines for tests.
* m4/guix.m4 (GUIX_TEST_HASH_BANG_LENGTH): New macro.
(GUIX_CHECK_FILE_NAME_LIMITS): Use it.  Warn against long hash bang
lines in tests.
2016-01-12 17:47:36 +01:00
Ludovic Courtès d33fa0c714 doc: Show bootstrapping at the package level.
* doc/images/bootstrap-packages.dot: New file.
* doc.am (DOT_FILES): Add it.
* doc/guix.texi (Bootstrapping): Show 'guix graph' commands.  Includes
'images/bootstrap-packages' and comment it.
2016-01-12 17:47:36 +01:00
Mark H Weaver 16aa649117 gnu: sudo: Add fix for CVE-2015-5602.
* gnu/packages/patches/sudo-CVE-2015-5602.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (sudo)[source]: Add patch.
2016-01-12 11:23:06 -05:00
Efraim Flashner 9d9951d6a6 gnu: global: Use modify-phases syntax.
* gnu/packages/code.scm (global)[arguments]: Use modify-phases syntax.
2016-01-12 14:47:10 +02:00
Efraim Flashner 94c3a6f1a6 gnu: global: Update to 6.5.2.
* gnu/packages/code.scm (global): Update to 6.5.2.
2016-01-12 14:39:15 +02:00
Ricardo Wurmus 9f40b1171b gnu: icedtea-6: Fix directory name in "unpack" phase.
* gnu/packages/java.scm (icedtea-6)[arguments]: Change the directory
  prefix in the "unpack" phase to "icedtea6-".
2016-01-12 11:39:21 +01:00
Mark H Weaver 6b0d24b17c gnu: linux-libre: Update to 4.4.
* gnu/packages/linux.scm (linux-libre): Update to 4.4.
* gnu/packages/linux-libre-i686.conf,
  gnu/packages/linux-libre-x86_64.conf: Update from
  <https://jxself.org/git/kernel-configs.git>.
2016-01-11 19:13:37 -05:00
Ben Woodcroft 81f3e0c1f3 gnu: Add fxtract.
* gnu/packages/bioinformatics.scm (fxtract): New variable.
2016-01-12 07:49:19 +10:00
Ben Woodcroft 65e84e3176 gnu: ruby: Update to 2.3.0.
* gnu/packages/ruby.scm (ruby): Update to 2.3.0.
[source]: Remove bundled libffi.
[arguments]: Use parallel tests.
(ruby-2.2): New variable.
2016-01-11 21:59:06 +10:00
Ben Woodcroft 9656b8bec5 gnu: ruby: Use modify-phases.
* gnu/packages/ruby.scm (ruby)[arguments]: Use modify-phases.
2016-01-11 21:59:06 +10:00
Ben Woodcroft 761e7042f6 ruby: Abstract out path to GEM_HOME.
Previously paths to the GEM_HOME of certain Ruby packages were
hard-coded, so packages failed to build when Ruby was updated to 2.3.0.

* guix/build/ruby-build-system.scm (gem-home): New procedure.
* gnu/packages/ruby.scm (ruby-metaclass, ruby-instantiator,
ruby-introspection, ruby-mocha, ruby-minitest-tu-shim): Use it.
2016-01-11 21:58:55 +10:00
Efraim Flashner ec70fec559 gnu: youtube-dl: Update to 2016.01.09.
* gnu/packages/video.scm (youtube-dl): Update to 2016.01.09.
2016-01-11 13:30:50 +02:00
Andreas Enge 4879d2ff66 gnu: gp2c: Update to 0.0.9pl5.
* gnu/packages/algebra.scm (gp2c): Update to 0.0.9pl5.
2016-01-11 11:24:52 +01:00
Andreas Enge 4a6635f353 gnu: texlive: Use modify-phases syntax.
* gnu/packages/texlive.scm (texlive-bin, texlive-texmf): Use modify-phases
  syntax.
2016-01-11 10:59:29 +01:00
Efraim Flashner a916c82649 gnu: man-pages: Update to 4.04.
* gnu/packages/man.scm (man-pages): Update to 4.04.
[source]: Add alternate location.
2016-01-11 09:37:50 +02:00
Taylan Ulrich Bayırlı/Kammer ce9a304251 build: Fix out-of-tree building of documentation.
* doc.am (.dot.png, .dot.pdf, .dot.eps): Put the generated files into
  $(srcdir).
2016-01-10 22:30:29 +01:00
Ben Woodcroft 9b9b7ffd8e gnu: bedtools: Update to 2.25.0.
* gnu/packages/bioinformatics.scm (bedtools): Update to 0.25.0.
[source]: Remove patch merged upstream.
[arguments]: Use 'modify-phases'.  Remove
'patch-makefile-SHELL-definition' phase.
* gnu/packages/patches/bedtools-32bit-compilation.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
2016-01-11 00:36:13 +10:00
Ben Woodcroft 6573ac82ad gnu: bedtools: Use modify-phases.
* gnu/packages/bioinformatics.scm (bedtools)[arguments]: Use modify-phases.
2016-01-11 00:36:13 +10:00
Ben Woodcroft 048036aee5 gnu: ruby-yard: Disable failing test.
* gnu/packages/ruby.scm (ruby-yard)[arguments]: Disable test which fails on
Ruby 2.3.0.
2016-01-10 21:10:29 +10:00
Ben Woodcroft 3918146b61 gnu: ruby-power-assert: Update to 0.2.7.
* gnu/packages/ruby.scm (ruby-power-assert): Update to 0.2.7.
2016-01-10 21:09:37 +10:00
Andreas Enge 695bea9803 gnu: r: Update to 3.2.3.
* gnu/packages/statistics.scm (r): Update to 3.2.3.
2016-01-09 23:18:28 +01:00
Andreas Enge 13035f5a03 gnu: icecat: Update to 38.5.2-gnu1.
* gnu/packages/gnuzilla.scm (icecat): Update to 38.5.2-gnu1.
2016-01-09 22:51:28 +01:00
Ben Woodcroft 4c40fa0229 gnu: ruby-2.1: Update to 2.1.8.
* gnu/packages/ruby.scm (ruby-2.1): Update to 2.1.8.
2016-01-09 14:53:58 +10:00
Leo Famulari f32274a71e gnu: i2c-tools: Update source and home-page URLs.
* gnu/packages/linux.scm (i2c-tools)[source]: Update URL.
[home-page]: Update URL.
2016-01-08 16:42:27 -05:00
Leo Famulari 3a04d5d4e4 gnu: lm-sensors: Update source and home-page URLs.
* gnu/packages/linux.scm (lm-sensors)[source]: Update URL.
[home-page]: Update URL.
2016-01-08 16:42:27 -05:00
Mark H Weaver bea25ae83c gnu: nss: Update to 3.21 [fixes CVE-2015-7575].
* gnu/packages/gnuzilla.scm (nss): Update to 3.21.
  [arguments]: In configure phase, setenv CC=gcc.
* gnu/packages/patches/nss-pkgconfig.patch: Adapt to NSS 3.21.
2016-01-08 15:29:50 -05:00
Ludovic Courtès 17ad0a2714 build-system/python: 'pypi-uri' takes an optional file name extension.
Suggested by swedebugia <swedebugia@riseup.net>.

* guix/build-system/python.scm (pypi-uri): Add 'extension' parameter and
use it.
2016-01-08 19:06:26 +01:00
Ludovic Courtès 195f557ed5 gnu: attr: Update to 2.4.47.
* gnu/packages/attr.scm (attr): Update to 2.4.47.
2016-01-08 16:45:32 +01:00
Ludovic Courtès 20c620d0a4 gnu: attr: Use 'modify-phases'.
* gnu/packages/attr.scm (attr)[arguments]: Use 'modify-phases'.
2016-01-08 16:45:28 +01:00
Mathieu Lirzin 2409f37f28 gnu: Add missing (gnu packages gcc) import.
* gnu/packages/bioinformatics.scm: Use (gnu packages gcc). This is
required by 'r-impute' for 'gfortran'.
2016-01-08 14:18:46 +01:00
Mathieu Lirzin 9ef824c10e gnu: xterm: Update to 322.
* gnu/packages/xorg.scm (xterm): Update to 322.
2016-01-08 14:12:29 +01:00
宋文武 a65e26f091 gnu: epiphany: Update to 3.18.2.
* gnu/packages/gnome.scm (epiphany): Update to 3.18.2.
2016-01-08 17:34:08 +08:00
宋文武 19e5258d84 gnu: webkitgtk: Update to 2.10.4.
* gnu/packages/webkit.scm (webkitgtk): Update to 2.10.4.
2016-01-08 17:34:08 +08:00
Efraim Flashner 209e09fa10 gnu: zlib: Update to 1.2.8.
* gnu/packages/compression.scm (zlib): Update to 1.2.8.
2016-01-08 06:39:12 +02:00
宋文武 c0a9589da2 doc: Document network-manager-service.
* doc/guix.texi (Networking Services): Document network-manager-service.
2016-01-08 08:06:40 +08:00
Ludovic Courtès b110869dd3 doc: Add elaborate package search example.
* doc/guix.texi (Invoking guix package): Add elaborate --search example
using recsel and sexes.
2016-01-08 00:09:50 +01:00
Pjotr Prins c8d969b58f gnu: Add Pfff.
* gnu/packages/textutils.scm (pfff): New variable.
2016-01-07 21:13:35 +01:00
Alex Kost fbbaa4dde8 gnu: mpv: Remove 'samba' input.
This is a heavy-weight and uncommon feature.  See
<http://lists.gnu.org/archive/html/guix-devel/2015-12/msg00701.html>.

* gnu/packages/video.scm (mpv)[inputs]: Remove 'samba'.
2016-01-07 22:30:18 +03:00
Alex Kost 0a5ec7092d emacs: Display supported systems in "Package Info".
* emacs/guix-main.scm (%package-param-alist): Add 'systems'.
* emacs/guix-ui-package.el (guix-package-info-insert-systems): New
  procedure.
  (guix-package-info-format): Add it.
  (guix-output-info-format): Likewise.
  (guix-package-info-titles): Add "Supported systems" title.
2016-01-07 22:30:18 +03:00
Ricardo Wurmus cb933df6da gnu: Add genomation.
* gnu/packages/bioinformatics.scm (r-genomation): New variable.
2016-01-07 17:18:17 +01:00
Ricardo Wurmus 03ea5a357e gnu: Add seqPattern.
* gnu/packages/bioinformatics.scm (r-seqpattern): New variable.
2016-01-07 17:18:17 +01:00
Ricardo Wurmus c43a011de3 gnu: Add impute.
* gnu/packages/bioinformatics.scm (r-impute): New variable.
2016-01-07 17:18:17 +01:00
Ricardo Wurmus c63cef6699 gnu: Add BSgenome.
* gnu/packages/bioinformatics.scm (r-bsgenome): New variable.
2016-01-07 17:18:17 +01:00
Ricardo Wurmus fbf6045e33 gnu: Add plotly.
* gnu/packages/statistics.scm (r-plotly): New variable.
2016-01-07 17:18:17 +01:00
Ricardo Wurmus a28d646b63 gnu: Add viridis.
* gnu/packages/statistics.scm (r-viridis): New variable.
2016-01-07 17:18:17 +01:00
Ricardo Wurmus d547ce5e70 gnu: Add topGO.
* gnu/packages/bioinformatics.scm (r-topgo): New variable.
2016-01-07 17:18:17 +01:00
Ricardo Wurmus e05c37da4a gnu: Add matrixStats.
* gnu/packages/statistics.scm (r-matrixstats): New variable.
2016-01-07 17:18:17 +01:00
Ricardo Wurmus 3703ffb41f gnu: Add R.rsp.
* gnu/packages/statistics.scm (r-r-rsp): New variable.
2016-01-07 17:18:17 +01:00
Ricardo Wurmus a63efbb453 gnu: Add R.cache.
* gnu/packages/statistics.scm (r-r-cache): New variable.
2016-01-07 17:18:17 +01:00
Ricardo Wurmus 9c94b53b5b gnu: Add R.utils.
* gnu/packages/statistics.scm (r-r-utils): New variable.
2016-01-07 17:18:17 +01:00
Ricardo Wurmus c8c75a8d88 gnu: Add R.oo.
* gnu/packages/statistics.scm (r-r-oo): New variable.
2016-01-07 17:18:17 +01:00
Ricardo Wurmus 8bfe007c9c gnu: Add R.methodsS3.
* gnu/packages/statistics.scm (r-r-methodss3): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus a69a593595 gnu: Add base64enc.
* gnu/packages/statistics.scm (r-base64enc): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus a8227e4ae9 gnu: Add DT.
* gnu/packages/statistics.scm (r-dt): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus d706257b5b gnu: Add SparseM.
* gnu/packages/statistics.scm (r-sparsem): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus fb25d8803f gnu: Add GO.db.
* gnu/packages/bioinformatics.scm (r-go-db): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus 2fd7c04984 gnu: Add GenomicFeatures.
* gnu/packages/bioinformatics.scm (r-genomicfeatures): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus 317755ff0f gnu: Add rtracklayer.
* gnu/packages/bioinformatics.scm (r-rtracklayer): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus d8a828af78 gnu: Add GenomicAlignments.
* gnu/packages/bioinformatics.scm (r-genomicalignments): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus 6e76dda2d0 gnu: Add SummarizedExperiment.
* gnu/packages/bioinformatics.scm (r-summarizedexperiment): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus f8d74f7018 gnu: Add Rsamtools.
* gnu/packages/bioinformatics.scm (r-rsamtools): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus bf15935337 gnu: Add Biostrings.
* gnu/packages/bioinformatics.scm (r-biostrings): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus e91d362e48 gnu: Add BiocParallel.
* gnu/packages/bioinformatics.scm (r-biocparallel): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus c465fa72ed gnu: Add biomaRt.
* gnu/packages/bioinformatics.scm (r-biomart): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus 8b7bce740d gnu: Add AnnotationDbi.
* gnu/packages/bioinformatics.scm (r-annotationdbi): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus 555e3399dc gnu: Add Biobase.
* gnu/packages/bioinformatics.scm (r-biobase): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus bc899123e7 gnu: Add snow.
* gnu/packages/statistics.scm (r-snow): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus 6b82f56cf9 gnu: Add futile.logger.
* gnu/packages/statistics.scm (r-futile-logger): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus b9ff33b50e gnu: Add futile.options.
* gnu/packages/statistics.scm (r-futile-options): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus ca65d387fd gnu: Add lambda.r.
* gnu/packages/statistics.scm (r-lambda-r): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus 543ded3619 gnu: Add r-xml.
* gnu/packages/statistics.scm (r-xml): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus cefaa79c9e gnu: Add RCurl.
* gnu/packages/statistics.scm (r-rcurl): New variable.
2016-01-07 17:18:16 +01:00
Ricardo Wurmus 21e4d6a9cf gnu: Add RSQLite.
* gnu/packages/statistics.scm (r-rsqlite): New variable.
2016-01-07 17:18:15 +01:00
Ricardo Wurmus 34a75d35bb import: Rename "cran-fetch" to "fetch-description".
* guix/import/cran.scm (cran-fetch): Rename procedure ...
(fetch-description): ... to this.
2016-01-07 17:18:04 +01:00
Ricardo Wurmus d1c116089b import: Add package->upstream-name procedure.
* guix/import/cran.scm (package->upstream-name): New procedure.
2016-01-07 17:18:02 +01:00
Raimon Grau fe9451c50a gnu: Add xmlstarlet.
* gnu/packages/xml.scm (xmlstarlet): New variable.
2016-01-07 16:00:00 +01:00
宋文武 29e255ca83 gnu: zita-convolver: Drop the '-march=native' optimization.
* gnu/packages/audio.scm (zita-convolver)[source]: Add snippet.
2016-01-07 22:47:32 +08:00
宋文武 6dff495580 gnu: zita-resampler: Drop the '-march=native' optimization.
* gnu/packages/audio.scm (zita-resampler)[source]: Add snippet.
2016-01-07 22:47:32 +08:00
Ben Woodcroft 7d3a1a2dd2 gnu: Add ruby-ansi.
* gnu/packages/ruby.scm (ruby-ansi): New variable.
2016-01-07 15:36:05 +01:00
Efraim Flashner b24765139c gnu: sqlite: Update to 3.10.0.
* gnu/packages/databases.scm (sqlite): Update to 3.10.0.
2016-01-07 12:37:37 +02:00
Ricardo Wurmus 5dfd276602 gnu: edirect: Update to 3.50.
* gnu/packages/bioinformatics.scm (edirect): Update to 3.50.
[native-inputs]: Remove "unzip".
2016-01-07 11:25:24 +01:00
Leo Famulari 62339e2d49 gnu: w3m: Enable SSL, disable broken protocols and ciphers.
Fixes <http://bugs.gnu.org/16791>.

* gnu/packages/patches/w3m-force-ssl_verify_server-on.patch: New file.
* gnu/packages/patches/w3m-disable-sslv2-and-sslv3.patch: New file.
* gnu/packages/patches/w3m-disable-weak-ciphers.patch: New file.
* gnu/packages/w3m.scm (w3m)[source]: Add patches.
* gnu-system.am (dist_patch_DATA): Add the new files.
2016-01-07 02:35:38 -05:00
Leo Famulari e6352001c4 gnu: w3m: Update patch to use '-p1'.
* gnu/packages/patches/w3m-fix-compile.patch: Rename this file...
* gnu/packages/patches/w3m-libgc.patch: ...to this, and adjust patch
prefix level to '-p1'.
* gnu-system.am (dist_patch_DATA): Update patch name.
* gnu/packages/w3m.scm (w3m)[source]: Update patch name.
[source]: Drop patch flag -p0.
2016-01-07 02:35:38 -05:00
Efraim Flashner 93b3a8b0ee gnu: flex: Update to 2.6.0.
* gnu/packages/flex.scm (flex): Update to 2.6.0.
[source]: Remove flex-bison-tests.patch.
* gnu-system.am (dist_patch_DATA): Remove flex-bison-tests.patch.
* gnu/packages/patches/flex-bison-tests.patch: Remove it.
2016-01-07 08:42:15 +02:00
Ludovic Courtès d4aaf95401 build-system/gnu: Make 'package-with-explicit-inputs' idempotent.
* guix/build-system/gnu.scm (package-with-explicit-inputs): Use
  'ensure-keyword-arguments' instead of appending to ARGS.
* gnu/packages/commencement.scm (static-bash-for-glibc): Add missing
  #:guile argument.
2016-01-06 23:08:22 +01:00
Ludovic Courtès 6071122b71 utils: Add 'ensure-keyword-arguments'.
* guix/utils.scm (delkw, ensure-keyword-arguments): New procedures.
* tests/utils.scm ("ensure-keyword-arguments"): New test.
2016-01-06 23:08:22 +01:00
Ludovic Courtès 793a43f409 http-client: Work around <http://bugs.gnu.org/22273>.
* guix/http-client.scm (read-header-line): New procedure.  Use it.
2016-01-06 23:08:22 +01:00
Ludovic Courtès dff9141c5e gnu: guix: Update development snapshot to f888c0b.
* gnu/packages/package-management.scm (guix-devel): Update to f888c0b.
2016-01-06 23:08:22 +01:00
Ludovic Courtès 1c63dafce6 http-client: Fix erroneous comment.
* guix/http-client.scm: Fix Guile version number in comment for Guile
commit 5a10e41.
2016-01-06 23:08:22 +01:00
Efraim Flashner bfcb7bcb73 gnu: libffi: Update to 3.2.1.
* gnu/packages/libffi.scm (libffi): Update to 3.2.1.
2016-01-06 20:28:57 +02:00
Eric Bavier c7b08410de gnu: gmsh: Update to 2.11.0.
* gnu/packages/maths.scm (gmsh): Update to 2.11.0.
  [arguments]: Replace 'check phase.
2016-01-06 10:49:23 -06:00
Ludovic Courtès f888c0b120 lint: cve: Catch host name lookup errors.
* guix/scripts/lint.scm (package-vulnerabilities): Catch
'getaddrinfo-error'.
2016-01-06 15:54:12 +01:00
Ludovic Courtès 7b78f359d1 gnu: sudo: Use /var/run/sudo instead of /run/sudo.
* gnu/packages/admin.scm (sudo)[arguments]: Pass
--with-rundir=/var/run/sudo since /var/run is cleaned up at boot time on
GuixSD whereas /run is not.
2016-01-06 15:51:31 +01:00
Ludovic Courtès 3c4c8c3e06 services: cleanup-service: Catch 'system-error' instead of everything.
This makes sure that critical errors such as unbound-variable do not go
undetected.

* gnu/services.scm (cleanup-gexp): Introduce local 'fail-safe' macro and
use it.  Remove uses of 'false-if-exception'.
2016-01-06 14:49:48 +01:00
Ludovic Courtès 341ae58213 gnu: ldc: Fix license.
* gnu/packages/ldc.scm (ldc)[license]: Replace invalid use of
'license:x11-style' by LICENSE:BOOST1.0.
2016-01-06 14:21:53 +01:00
Ben Woodcroft 7266848ace build: ruby: Remove cached gem after install.
The .gem file stored in GEM_HOME after install is both redundant and an
archive that stores timestamped files which makes builds
non-deterministic, so delete it after 'gem install'.

* guix/build/ruby-build-system.scm (install): Remove cached gem after
  install.
2016-01-06 12:42:41 +01:00
Ricardo Wurmus a243e12aba gnu: icedtea7: Rename to icedtea-7.
* gnu/packages/java.scm (icedtea7): Rename variable to...
(icedtea-7): ...this.
(icedtea): Refer to "icedtea-7".
2016-01-06 11:38:50 +01:00
Ricardo Wurmus d028740622 gnu: icedtea6: Rename to icedtea-6.
* gnu/packages/java.scm (icedtea6): Rename variable to...
(icedtea-6): ...this.
2016-01-06 11:38:50 +01:00
Ricardo Wurmus 5452588c1a gnu: icedtea6, icedtea7: Rename package to "icedtea".
* gnu/packages/java.scm (icedtea6): Change package name to "icedtea".
(icedtea7): Inherit package name.
2016-01-06 11:38:50 +01:00
Ricardo Wurmus d2540f80c2 gnu: Add and use default IcedTea.
* gnu/packages/java.scm (icedtea): New variable.
(swt)[native-inputs]: Replace "icedtea6" with "icedtea".
* gnu/packages/bioinformatics.scm (htsjdk)[native-inputs]: Likewise.
(ngs-java)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[native-inputs]: Replace "icedtea7" with
"icedtea".
* gnu/packages/ruby.scm (ruby-rjb)[native-inputs]: Replace "icedtea7"
with "icedtea".
2016-01-06 11:38:50 +01:00
Ricardo Wurmus d91488908b gnu: icedtea6, icedtea7: Unpack to "openjdk.src".
* gnu/packages/java.scm (icedtea6)[arguments]: Unpack OpenJDK sources to
"openjdk.src".
(icedtea7)[arguments]: Inherit "--with-openjdk-src-dir" flag; refer to
"openjdk.src" in build phases; simplify "unpack" phase.
[native-inputs]: Rename "openjdk-drop" to "openjdk-src".
2016-01-06 11:38:50 +01:00
Ricardo Wurmus 43c565d2e7 gnu: Add Jellyfish.
* gnu/packages/bioinformatics.scm (jellyfish): New variable.
2016-01-06 11:10:46 +01:00
Ludovic Courtès 03cea32031 build: Bump version number.
* configure.ac: Change version to 0.9.1.
2016-01-05 23:55:26 +01:00
Michael Vetter f9b9a0330d doc: Remove double occurrence of words.
* doc/guix.texi: substitute 'the the' with 'the'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-01-05 23:55:26 +01:00
Taylan Ulrich Bayırlı/Kammer f07041f7d2 build: pull: Compile .scm files in one process.
* guix/build/pull.scm (call-with-process, report-build-progress)
(p-for-each): Remove.
(build-guix): Load and compile files in one process.
2016-01-05 23:30:30 +01:00
Andreas Enge 7d1f8d4f52 gnu: calibre: Update to 2.48.0.
* gnu/packages/ebook.scm (calibre): Update to 2.48.0.
2016-01-05 22:46:54 +01:00
Efraim Flashner e5f037624e gnu: gettext: Use "modify-phases" syntax.
* gnu/packages/gettext.scm (gettext)[arguments]: Use "modify-phases" syntax.
2016-01-05 21:13:57 +02:00
Efraim Flashner d99861d39d gnu: gettext: Update to 0.19.7.
* gnu/packages/gettext.scm (gettext): Update to 0.19.7.
2016-01-05 21:06:59 +02:00
Efraim Flashner 5a75865f9d gnu: gnutls: Update to 3.4.7.
* gnu/packages/tls.scm (gnutls): Update to 3.4.7.
[source]: Remove gnutls-doc-fix.patch.
[arguments]: Remove delete-prebuilt-unfixed-info-file phase.
[native-inputs]: Remove texinfo.
* gnu-system.am (dist_patch_DATA): Remove gnutls-doc-fix.patch
2016-01-05 21:06:59 +02:00
Efraim Flashner 3ea110b704 gnu: libtasn1: Update to 4.7.
* gnu/packages/tls.scm (libtan1): Update to 4.7.
[native-inputs]: Remove texinfo.
2016-01-05 21:06:59 +02:00
Roel Janssen a7ec569c98 gnu: Add LDC.
* gnu/packages/ldc.scm: New file.
* gnu/packages/patches/ldc-disable-tests.patch: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add ldc.scm.
  (dist_patch_DATA): Add patch file.
2016-01-05 16:24:57 +01:00
Ludovic Courtès 0beb65b450 build-system/gnu: Add 'set-SOURCE-DATE-EPOCH' phase.
This phase is inherited by other build systems, which ensures
'SOURCE_DATE_EPOCH' is always set in practice.

* guix/build/python-build-system.scm (set-SOURCE-DATE-EPOCH): Remove.
(%standard-phases): Don't add it.
* guix/build/gnu-build-system.scm (set-SOURCE-DATE-EPOCH): New
procedure.
(%standard-phases): Add it.
(gnu-build): Remove 'setenv' call for "SOURCE_DATE_EPOCH".
2016-01-05 15:52:42 +01:00
Ludovic Courtès e8e2e18b84 gnu: Read 'C_INCLUDE_PATH' instead of 'CPATH'.
This is a followup to 009b53fd.

* gnu/packages/cmake.scm (cmake)[arguments]: Use (getenv
"C_INCLUDE_PATH") instead of (getenv "CPATH").
* gnu/packages/package-management.scm (rpm)[arguments]: Likewise.
* gnu/packages/video.scm (avidemux)[arguments]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[arguments]: Likewise.
* gnu/packages/cross-base.scm (cross-gcc-arguments): Likewise, and unset
'C_INCLUDE_PATH' and 'CPLUS_INCLUDE_PATH'.
2016-01-05 14:11:54 +01:00
Ludovic Courtès a2ab82db9a gnu: python: Honor 'C_INCLUDE_PATH'.
This is a followup to 009b53fd.

* gnu/packages/patches/python-3-search-paths.patch: Check
'C_INCLUDE_PATH' instead of 'CPATH'.
* gnu/packages/patches/python-2.7-search-paths.patch: Likewise.
2016-01-05 13:13:17 +01:00
Dmitry Bogatov 1075b43737 gnu: Add emacs-undo-tree.
* gnu/packages/emacs.scm (emacs-undo-tree): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-01-05 00:28:42 +01:00
Ludovic Courtès fe542b9762 gnu: emacs: Remove 'info.info'.
* gnu/packages/emacs.scm (emacs)[arguments]: Use 'modify-phases'.  Add
'remove-info.info' phase.
2016-01-05 00:28:42 +01:00
Ludovic Courtès fb74174958 linux-boot: Remove verbose output for module loads.
* gnu/build/linux-boot.scm (boot-system): Leave
'current-module-debugging-port' unchanged.
* gnu/build/linux-modules.scm (load-linux-module*): Update comment about
'mmap'.
2016-01-05 00:28:42 +01:00
Ludovic Courtès be7be9e8dd services: Move /tmp cleanup to a separate service.
* gnu/services.scm (compute-boot-script): Remove /tmp and /var/run
deletion code from here.
(cleanup-gexp): New procedure with /tmp and /var/run deletion code
formerly in 'compute-boot-script'.
(cleanup-service-type): New variable.
* gnu/system.scm (essential-services): Add an instance of
CLEANUP-SERVICE-TYPE.
2016-01-05 00:28:42 +01:00
Ludovic Courtès 94af9daa73 services: boot: Reinstate /tmp and /var/run deletion.
For some time /tmp and /var/run were not being deleted because
'delete-file-recursively' was unbound.

* gnu/services.scm (compute-boot-script)[%modules, modules, compiled]:
New variables.  Use them to augment the module search path.
2016-01-05 00:28:42 +01:00
Ludovic Courtès db5a94445f guix package: Allow multiple '--search' flags.
* guix/scripts/package.scm (find-packages-by-description): Change 'rx'
parameter to 'regexps'.
[matches-all?, matches-one?]: New procedures.
Use them.
(process-query): Collect regexps from all 'search' queries, and pass
them to 'find-packages-by-description'.
* tests/guix-package.sh: Add tests.
* doc/guix.texi (Invoking guix package): Document it.
2016-01-05 00:28:42 +01:00
Ludovic Courtès d28ef43937 ui: Update copyright year in '--version' output.
* guix/ui.scm (show-version-and-exit): Increment copyright year.
2016-01-05 00:28:42 +01:00
Ludovic Courtès 35a6dabcf1 git-download: Correctly implement recursive checkouts.
Previously, the 'git checkout' invocation would remove sub-modules that
had been initialized by 'git clone --recursive'.

* guix/build/git.scm (git-fetch): Never use "git clone --recursive".
Invoke "git submodule update --init --recursive" after "git checkout".
Remove '.git' directories as the last step.
2016-01-05 00:28:42 +01:00
Ricardo Wurmus 4828ff91ff gnu: gtk+: Add patch to support GUIX_GTK3_PATH.
* gnu/packages/patches/gtk3-respect-GUIX_GTK3_PATH: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gtk.scm (gtk+) [source]: Add patch.
[native-search-paths]: Add search path for GUIX_GTK3_PATH.
2016-01-04 16:11:10 -05:00
Ricardo Wurmus 2a6afac905 gnu: gtk+-2: Add patch to support GUIX_GTK2_PATH.
* gnu/packages/patches/gtk2-respect-GUIX_GTK2_PATH: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gtk.scm (gtk+-2) [source]: Add patch.
[native-search-paths]: Add search path for GUIX_GTK2_PATH.
2016-01-04 16:11:10 -05:00
Efraim Flashner 4f2ca23493 gnu: libgcrypt: Update to 1.6.4.
* gnu/packages/gnupg.scm (libgcrypt): Update to 1.6.4.
2016-01-04 22:29:08 +02:00
Manolis Ragkousis 4478dbd58c gnu: libgpg-error: Update to 1.21.
* gnu/packages/gnupg.scm (libgpg-error): Update to 1.21.
2016-01-04 18:23:29 +02:00
Efraim Flashner 82cb8519bc gnu: tzdata: Update to 2015g.
* gnu/packages/base.scm (tzdata): Update to 2015g.
2016-01-04 16:59:13 +02:00
Ricardo Wurmus c2e87caaa6 gnu: julia: Update to 0.4.2.
* gnu/packages/patches/julia-0.3.10-fix-empty-array.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/julia.scm (julia): Update to 0.4.2.
[arguments]: Remove phase "fix-building-with-mcjit-llvm"; replace phase
"patch-include-path" with "fix-include-and-link-paths"; add phase
"hardcode-paths"; add missing make-flags.
[inputs]: Replace "pcre" with "pcre2"; replace "git" with "libgit2"; add
"coreutils"; add "libuv-julia"; add "wget"; add "which".
[native-inputs]: Remove "which".
2016-01-04 11:35:57 +01:00
Ricardo Wurmus 50b40d0709 gnu: Add libuv-julia.
* gnu/packages/julia.scm (libuv-julia): New variable.
2016-01-04 11:35:57 +01:00
Ricardo Wurmus f1e3a8aed2 gnu: utf8proc: Update to 1.3.1.
* gnu/packages/textutils.scm (utf8proc): Update to 1.3.1.
[arguments]: Remove custom "install" phase.
2016-01-04 11:35:57 +01:00
Leo Famulari 77553dff86 gnu: samba: Update to 4.3.3.
Fixes CVE-2015-{3223,5252,5299,5296,8467,5330}.

* gnu/packages/samba.scm (samba): Update to 4.3.3.
2016-01-03 14:59:49 -05:00
Leo Famulari f6cddbefcc gnu: ldb: Update to 1.1.24.
Required for samba-4.3.3 in order to fix CVE-2015-5330 and
CVE-2015-3223.

* gnu/packages/samba.scm (ldb): Update to 1.2.24.
2016-01-03 14:59:49 -05:00
Ludovic Courtès 53334dd6e9 Merge branch 'master' into core-updates 2016-01-03 14:53:03 +01:00
Ludovic Courtès 1575dcd134 gnu: grep: Skip timing-sensitive test.
This avoids failures on loaded machines as seen
at <http://hydra.gnu.org/build/906900/log/raw>.

* gnu/packages/patches/grep-timing-sensitive-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (grep): Use it.
2016-01-03 14:50:29 +01:00
Ludovic Courtès dd1937d75d gnu: pkg-config: Update to 0.29.
* gnu/packages/pkg-config.scm (%pkg-config): Update to 0.29.
2016-01-03 14:44:22 +01:00
Eric Bavier 8d0801ab23 gnu: libgc: Enable C++ support.
* gnu/packages/bdw-gc.scm (libgc-7.2, libgc)[arguments]: Add
  --enable-cplusplus to #:configure-flags.
2016-01-02 16:06:11 -06:00
Eric Bavier 209778717a gnu: Add Asymptote.
* gnu/packages/bdw-gc.scm (libgc-for-c++): New variable.
* gnu/packages/plotutils.scm (asymptote): New variable.
* gnu/packages/patches/asymptote-gsl2.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2016-01-02 16:04:55 -06:00
Ludovic Courtès 51385362f7 graph: %BAG-WITH-ORIGINS-NODE-TYPE includes the origin's guile.
Before that it would include #f for most origins since that the default
value of 'origin-patch-guile'.

* guix/scripts/graph.scm (bag-node-edges): When 'origin-patch-guile'
returns #f, use (default-guile).
* tests/graph.scm ("bag DAG, including origins"): Check for an edge from
O to (default-guile).
2016-01-02 22:25:41 +01:00
Ludovic Courtès f88282af38 graph: %BAG-EMERGED-NODE-TYPE filters out origins.
Fixes <http://bugs.gnu.org/22280>.
Reported by Leo Famulari <leo@famulari.name>.

* guix/scripts/graph.scm (%bag-emerged-node-type)[edges]: Mimic
%BAG-NODE-TYPE.  This is a followup to 38b92da.
2016-01-02 22:25:41 +01:00
Alex Kost 1ae858f333 Update NEWS.
* NEWS: Mention Emacs interface for Hydra and changes in variables.
2016-01-02 17:25:35 +03:00
Alex Kost 5c8994d9d9 emacs: Use "B" key in "Package List" to display latest builds.
* emacs/guix-ui-package.el (guix-package-list-latest-builds): New
  procedure.
  (guix-package-list-mode-map): Bind "B" key to it.
  (guix-output-list-mode-map): Likewise.
* doc/emacs.texi (Emacs List buffer): Document it.
2016-01-02 17:25:35 +03:00
Alex Kost 32950fc846 emacs: Add Hydra interface.
* emacs/guix-utils.el (guix-hexify, guix-number->bool): New procedures.
  (guix-while-null): New macro.
* emacs/guix-hydra.el: New file.
* emacs/guix-hydra-build.el: New file.
* emacs/guix-hydra-jobset.el: New file.
* emacs.am (ELFILES): Add them.
* doc/emacs.texi (Emacs Hydra): New node.
  (Emacs Interface): Add it.
* doc/guix.texi (Top): Add it.
  (Substitutes): Mention Emacs interface.
2016-01-02 17:25:35 +03:00
Alex Kost 494a62f215 emacs: Add 'guix-ui-read-profile'.
* emacs/guix-ui.el (guix-ui-read-profile): New procedure.
* emacs/guix-ui-package.el (guix-search-by-name)
  (guix-search-by-regexp, guix-installed-packages)
  (guix-obsolete-packages, guix-all-available-packages)
  (guix-newest-available-packages): Use it.
* emacs/guix-ui-generation.el (guix-generations)
  (guix-last-generations, guix-generations-by-time): Use it.
2016-01-02 17:25:35 +03:00
Alex Kost 8ed2c92eb1 emacs: Add hierarchy of customization groups.
* emacs/guix-buffer.el (guix-define-groups, guix-define-entry-type)
  (guix-define-buffer-type): New macros.
  (guix-buffer-define-interface): Add parent groups for the generated
  custom groups.
* emacs/guix-info.el: Use 'guix-define-buffer-type' to generate custom
  groups.
* emacs/guix-list.el: Likewise.
* emacs/guix-ui.el: Use 'guix-define-groups' to generate custom groups.
  (guix-ui-define-entry-type): New macro.
* emacs/guix-ui-package.el: Use it.
* emacs/guix-ui-generation.el: Use it.
2016-01-02 17:25:35 +03:00
Alex Kost dc690c445e emacs: Return nil instead of "" in completing readers.
* emacs/guix-utils.el (guix-completing-read): New procedure.
  (guix-define-readers): Use it.
2016-01-02 17:25:35 +03:00
Alex Kost ddf6948b22 emacs: Add 'guix-list-get-display-entries'.
* emacs/guix-list.el (guix-list-get-display-entries): New procedure.
* emacs/guix-ui-generation.el (guix-generation-get-display): Use it.
2016-01-02 17:25:35 +03:00
Alex Kost e29d192484 emacs: Add 'list-single' variables.
* emacs/guix-list.el (guix-list-single-entry?): New procedure.
  (guix-list-define-interface): Add ':list-single?' key and generate
  'guix-ENTRY-TYPE-list-single' variables.
* emacs/guix-ui-package.el (guix-package-list-single): Remove.
2016-01-02 17:25:35 +03:00
Alex Kost c80ce104be emacs: Reorganize package/generation UI code.
Move the code for packages/generations interface from "guix-info.el",
"guix-list.el", "guix-base.el" and "guix.el" to "guix-ui-package.el" and
"guix-ui-generation.el".

* emacs/guix-base.el (guix-package-entry->name-specification)
  (guix-package-entries->name-specifications)
  (guix-package-id-and-output-by-output-id)
  (guix-package-installed-outputs, guix-process-package-actions)
  (guix-package-list-type, guix-package-info-type)
  (guix-continue-package-operation-p, guix-get-package-strings)
  (guix-insert-package-strings): Move to "guix-ui-package.el".
  (guix-generation-packages-buffer-name-function, guix-output-name-width)
  (guix-generation-packages-update-buffer, guix-generation-packages)
  (guix-generation-packages-buffer-name-default)
  (guix-generation-packages-buffer-name-long)
  (guix-generation-packages-buffer-name, guix-generation-packages-buffer)
  (guix-generation-insert-packages, guix-generation-insert-package)
  (guix-profile-generation-manifest-file, guix-delete-generations)
  (guix-profile-generation-packages-buffer, guix-switch-to-generation):
  Move to "guix-ui-generation.el".
* emacs/guix-info.el (guix-package-location, guix-package-name)
  (guix-package-source, guix-package-info-source)
  (guix-package-info-heading, guix-package-info-license)
  (guix-package-info-name, guix-package-info-name-button)
  (guix-package-info-version, guix-package-info-location)
  (guix-package-info-synopsis, guix-package-info-description)
  (guix-package-info-obsolete, guix-package-info-installed-outputs)
  (guix-package-info-uninstalled-outputs)
  (guix-package-info-insert-heading)
  (guix-package-info-define-insert-inputs)
  (guix-package-info-obsolete-string)
  (guix-package-info-insert-obsolete-text)
  (guix-package-info-insert-non-unique-text)
  (guix-package-info-insert-outputs, guix-package-info-insert-output)
  (guix-package-info-insert-action-button)
  (guix-package-info-auto-find-source)
  (guix-package-info-auto-download-source)
  (guix-package-info-download-buffer, guix-package-info-show-source)
  (guix-package-info-download-source, guix-package-info-insert-source)
  (guix-package-info-redisplay-after-download)
  (guix-output-info-insert-version, guix-output-info-insert-output):
  Move to "guix-ui-package.el".
  (guix-generation-info-number, guix-generation-info-current)
  (guix-generation-not-current, guix-generation-info-insert-number)
  (guix-generation-info-insert-current): Move to "guix-ui-generation.el".
* emacs/guix-list.el (guix-package-list-generation-marking-enabled)
  (guix-package-list-installed, guix-package-list-obsolete)
  (guix-package-list-get-name, guix-package-list-get-installed-outputs)
  (guix-package-list-marking-check, guix-package-list-mark-outputs)
  (guix-package-list-mark-install, guix-package-list-mark-delete)
  (guix-package-list-mark-upgrade, guix-package-list-mark-upgrades)
  (guix-list-mark-package-upgrades, guix-list-execute-package-actions)
  (guix-package-list-execute, guix-package-list-make-action)
  (guix-package-list-edit, guix-output-list-mark-install)
  (guix-output-list-mark-delete, guix-output-list-mark-upgrade)
  (guix-output-list-mark-upgrades, guix-output-list-make-action)
  (guix-output-list-describe, guix-output-list-edit): Move to
  "guix-ui-package.el".
  (guix-generation-list-get-current, guix-generation-list-switch)
  (guix-generation-list-generations-to-compare)
  (guix-generation-list-compare, guix-generation-list-show-packages)
  (guix-generation-list-show-added-packages)
  (guix-generation-list-show-removed-packages)
  (guix-generation-list-diff, guix-generation-list-diff-manifests)
  (guix-generation-list-ediff, guix-generation-list-ediff-manifests)
  (guix-generation-list-diff-packages)
  (guix-generation-list-ediff-packages)
  (guix-generation-list-mark-delete, guix-generation-list-execute): Move
  to "guix-ui-generation.el".
* emacs/guix.el: Remove.
  (guix, guix-faces, guix-edit): Move to "guix-base.el".
  (guix-list-single-package, guix-search-params, guix-search-history)
  (guix-get-show-packages, guix-search-by-name, guix-search-by-regexp)
  (guix-installed-packages, guix-obsolete-packages)
  (guix-all-available-packages, guix-newest-available-packages): Move
  to "guix-ui-package.el".
  (guix-get-show-generations, guix-generations, guix-last-generations)
  (guix-generations-by-time): Move to "guix-ui-generation.el".
* emacs.am (ELFILES): Remove "guix.el".  Add "guix-ui-package.el" and
  "guix-ui-generation.el".
* doc/emacs.texi (Emacs Appearance): Adjust accordingly.
2016-01-02 17:25:35 +03:00
Alex Kost b1990426fd emacs: Reorganize 'readers' code.
* emacs/guix-base.el (guix-graph-type-names, guix-refresh-updater-names)
  (guix-lint-checker-names, guix-package-names): Move to...
* emacs/guix-read.el: ... here.
  (guix-read-file-name, guix-define-reader, guix-define-readers): Move to...
* emacs/guix-utils.el: ... here.
2016-01-02 17:25:35 +03:00
Alex Kost 6c40b7b703 emacs: Generalize buffer interface.
Extract the code for defining buffer interface from "guix-base.el",
generalize it and move to "guix-buffer.el".

* emacs.am (ELFILES): Add "emacs/guix-buffer.el".
* emacs/guix-base.el (guix-profile, guix-entries, guix-buffer-type)
  (guix-entry-type, guix-search-type, guix-search-vals, guix-set-vars)
  (guix-get-symbol, guix-show-entries, guix-get-show-entries)
  (guix-set-buffer, guix-history-call, guix-make-history-item)
  (guix-get-params-for-receiving): Remove.
  (guix-switch-to-buffer): Rename to 'guix-buffer-display' and move to
  "guix-buffer.el".
  (guix-get-entries): Rename to 'guix-ui-get-entries' and move to
  "guix-ui.el".
  (guix-buffer-data, guix-buffer-value, guix-buffer-param-title)
  (guix-buffer-name, guix-buffer-history-size)
  (guix-buffer-revert-confirm?, guix-buffer-map, guix-buffer-revert)
  (guix-buffer-after-redisplay-hook, guix-buffer-redisplay)
  (guix-buffer-redisplay-goto-button): Move to...
* emacs/guix-buffer.el: ... here.  New file.
  (guix-buffer-item): New variable.
  (guix-buffer-with-item, guix-buffer-with-current-item)
  (guix-buffer-define-current-item-accessor)
  (guix-buffer-define-current-item-accessors)
  (guix-buffer-define-current-args-accessor)
  (guix-buffer-define-current-args-accessors): New macros.
  (guix-buffer-get-entries, guix-buffer-mode-enable)
  (guix-buffer-mode-initialize, guix-buffer-insert-entries)
  (guix-buffer-show-entries-default, guix-buffer-show-entries)
  (guix-buffer-message, guix-buffer-history-item, guix-buffer-set)
  (guix-buffer-display-entries-current)
  (guix-buffer-get-display-entries-current)
  (guix-buffer-display-entries, guix-buffer-get-display-entries): New
  procedures.
* emacs/guix-info.el: Adjust for the procedures renaming.
  (guix-info-define-interface): Add ':show-entries-function' keyword.
* emacs/guix-list.el: Likewise.
* emacs/guix-ui.el (guix-ui-define-interface): Generate
  'guix-ENTRY-TYPE-BUFFER-TYPE-get-entries' procedure based on
  'guix-ui-get-entries'.
* emacs/guix.el (guix-get-show-packages, guix-get-show-generations):
  Adjust for the procedures renaming.
2016-01-02 17:25:35 +03:00
Alex Kost 8103c22fea emacs: info: Get rid of syntactic fontification.
* emacs/guix-info.el (guix-info-mode-initialize): New procedure.  Set
  'font-lock-defaults' to avoid syntactic fontification.
  (guix-info-define-interface): Use it.
2016-01-02 17:25:35 +03:00
Alex Kost 8bff0c796e emacs: Generalize buffer naming.
* emacs/guix-base.el (guix-buffer-name): New procedure.
  (guix-buffer-define-interface): Make ':buffer-name' a required keyword.
  (guix-update-after-operation, guix-buffer-name-function)
  (guix-buffer-name-simple, guix-buffer-name-default, guix-buffer-name)
  (guix-buffer-p, guix-buffers, guix-update-buffer)
  (guix-update-buffers-maybe-after-operation): Adjust, move and rename to...
* emacs/guix-ui.el (guix-ui-update-after-operation)
  (guix-ui-buffer-name-function, guix-ui-buffer-name-simple)
  (guix-ui-buffer-name-default, guix-ui-buffer-name)
  (guix-ui-buffer?, guix-ui-buffers, guix-ui-update-buffer)
  (guix-ui-update-buffers-after-operation): ... this.
  (guix-ui-define-interface): Generate
  'guix-ENTRY-TYPE-BUFFER-TYPE-buffer-name' procedure and pass it as
  ':buffer-name' argument.
  (guix-ui): New custom group.
* emacs/guix-info.el: Specify ':buffer-name' for the defined interfaces.
* emacs/guix-list.el: Likewise.
* doc/emacs.texi (Emacs Appearance): Adjust accordingly.
2016-01-02 17:25:35 +03:00
Alex Kost 7171d824d7 emacs: info: Buttonize package name heading.
* emacs/guix-info.el (guix-package-info-insert-heading): Insert
  buttonized name specification.
2016-01-02 17:25:35 +03:00
Alex Kost fc7a28897c emacs: Improve messages for packages found by ID.
* emacs/guix-messages.el (guix-message-packages-by-id): New procedure.
  (guix-messages): Use it.
2016-01-02 17:25:35 +03:00
Alex Kost 87fe9ecae5 emacs: Generalize buffer reverting.
This is a partial revert of commit d2b299a91f.

* emacs/guix-base.el (guix-revert-buffer): Make it more general by
  removing the code specific to a particular search (a search for
  packages/outputs by ID).  Rename to...
  (guix-buffer-revert): ... this.
2016-01-02 17:25:35 +03:00
Alex Kost 819518d15a emacs: Generalize buffer redisplaying.
* emacs/guix-base.el (guix-buffer-after-redisplay-hook): New variable.
  (guix-redisplay-buffer): Use it.  Remove all arguments and the code
  for moving point to the next button.  Rename to...
  (guix-buffer-redisplay): ... this.
  (guix-buffer-redisplay-goto-button): New procedure.
* emacs/guix-info.el (guix-package-info-show-source): Use it.  Adjust
  accordingly.
  (guix-package-info-redisplay-after-download): Likewise.
2016-01-02 17:25:35 +03:00
Alex Kost e40b3c33f4 emacs: Split 'guix-root-map' keymap.
* emacs/guix-base.el: (guix-root-map): Split into...
  (guix-buffer-map): ... this and...
* emacs/guix-ui.el (guix-ui-map): ... this.
  (guix-ui-define-interface): Generate
  'guix-ENTRY-TYPE-BUFFER-TYPE-mode-map' keymaps inheriting them from
  'guix-ui-map' and 'guix-BUFFER-TYPE-mode-map'.
* emacs/guix-info.el (guix-info-mode-map): Use 'guix-buffer-map'.
* emacs/guix-list.el (guix-list-mode-map): Likewise.
* doc/emacs.texi (Emacs Keymaps): Document new keymaps.
2016-01-02 17:25:35 +03:00
Alex Kost c8e2666a8a emacs: Add wrappers for 'history-size' and 'revert-confirm'.
* emacs/guix-base.el (guix-buffer-history-size): New procedure.
  (guix-buffer-define-interface): Use it in the mode definition.
  (guix-buffer-revert-confirm?): New procedure.
  (guix-revert-buffer): Use it.
2016-01-02 17:25:35 +03:00
Alex Kost 574f6727b0 emacs: Split 'guix-param-titles' variable.
Generate 'guix-ENTRY-TYPE-BUFFER-TYPE-titles' variables for each
ENTRY-TYPE and BUFFER-TYPE instead.

* emacs/guix-base.el (guix-param-titles): Remove.
  (guix-buffer-data): New variable.
  (guix-buffer-value, guix-buffer-param-title): New procedures.
  (guix-buffer-define-interface): Add ':titles' keyword.
* emacs/guix-info.el (guix-info-param-title): Adjust accordingly.
* emacs/guix-list.el (guix-list-param-title): Likewise.
  (guix-list-column-titles): Remove.
* doc/emacs.texi (Emacs Appearance): Adjust accordingly.
2016-01-02 17:25:35 +03:00
Alex Kost 9193fb7c1d emacs: info: Split 'guix-info-format' variable.
* emacs/guix-info.el: Generate 'guix-ENTRY-TYPE-info-format' variables
  for 'package', 'installed-output', 'output' and 'generation' entry
  types.
  (guix-info-format): Remove.
  (guix-info-data): New variable.
  (guix-info-value): New procedure.
  (guix-info-define-interface): Add ':format' keyword.
* emacs/guix-base.el (guix-buffer-define-interface): Add ':reduced?'
  keyword.
* doc/emacs.texi (Emacs Appearance): Adjust accordingly.
2016-01-02 17:25:35 +03:00
Alex Kost 7735c503b5 emacs: Factorize macros for defining interfaces.
Make a root 'guix-buffer-define-interface' macro.  It should generate a
common code for any type of interface.  Inherit 'guix-info-define-interface'
and 'guix-list-define-interface' from it.  They should provide a general
'info'/'list' interface for any data.  Finally, make
'guix-ui-define-interface' for the common code for interfaces to Guix
packages and generations, and inherit 'guix-ui-info-define-interface' and
'guix-ui-list-define-interface' from it.

* emacs/guix-base.el (guix-define-buffer-type): Rename to...
  (guix-buffer-define-interface): ... this.  Rename internal
  variables ('buf-' -> 'buffer-').  Move ':required' keyword to
  'guix-ui-define-interface'.
* emacs/guix-info.el (guix-info-define-interface): New macro.
  (guix-info-font-lock-keywords): New variable.
* emacs/guix-list.el (guix-list-define-entry-type): Rename to...
  (guix-list-define-interface): ... this.
  (guix-list-font-lock-keywords): New variable.
  (guix-list-describe-ids): Move and rename to...
* emacs/guix-ui.el: New file.
  (guix-ui-list-describe): ... this.
  (guix-ui-define-interface, guix-ui-info-define-interface)
  (guix-ui-list-define-interface): New macros.
  (guix-ui-font-lock-keywords): New variable.
* emacs.am (ELFILES): Add "emacs/guix-ui.el"
2016-01-02 17:25:35 +03:00
Alex Kost 2c7ed388cf emacs: info: Generalize inserting and formatting.
* emacs/guix-info.el: Use a more flexible format for inserting any data.
  (guix-info-ignore-empty-vals): Rename to...
  (guix-info-ignore-empty-values): ... this.
  (guix-info-insert-methods): Merge this and...
  (guix-info-displayed-params): ... this into...
  (guix-info-format): ... this.  Change format specifications.
  (guix-info-title-aliases, guix-info-value-aliases): New variables.
  (guix-info-displayed-params): Adjust for the new format.
  (guix-info-insert-entry): Likewise.
  (guix-package-info-fill-heading): Replace with...
  (guix-info-fill): ... this.
  (guix-info-insert-param): Replace with...
  (guix-info-insert-entry-unit): ... this.
  (guix-info-insert-title-default): Replace with...
  (guix-info-insert-title-format): ... this.
  (guix-info-insert-val-default): Replace with...
  (guix-info-insert-value-format): ... this.
  (guix-info-insert-val-simple): Replace with...
  (guix-info-insert-value-indent): ... this.
  (guix-package-info-insert-source): Adjust accordingly.
  (guix-package-info-insert-heading): Insert only name and version.
  (guix-package-info-define-insert-inputs): Do not generate
  'guix-package-info-insert-ENTRY-TYPE-inputs' procedures.
  (guix-info-fill-column, guix-info-insert-entry-default)
  (guix-info-method-funcall, guix-info-insert-file-path)
  (guix-info-insert-url, guix-info-insert-package-function)
  (guix-info-insert-installed-function)
  (guix-info-insert-output-function)
  (guix-info-insert-generation-function)
  (guix-package-info-heading-params)
  (guix-package-info-insert-with-heading)
  (guix-package-info-insert-description)
  (guix-package-info-insert-location)
  (guix-package-info-insert-full-names)
  (guix-package-info-insert-source-url): Remove.
  (guix-info-fill-column, guix-info-param-title)
  (guix-info-title-function, guix-info-value-function)
  (guix-info-title-method->function)
  (guix-info-value-method->function)
  (guix-info-insert-value-simple): New procedures.
* emacs/guix-utils.el (guix-buttonize, guix-button-type?): New
  procedures.
  (guix-split-string): Split multi-line strings and ignore empty lines.
* doc/emacs.texi (Emacs Appearance): Adjust accordingly.
2016-01-02 17:25:35 +03:00
Alex Kost 25d2fe8bef emacs: list: Factorize "edit package" commands.
* emacs/guix-list.el: Use separate edit commands instead of a single one.
  (guix-list-for-each-line, guix-list-edit-package): Remove.
  (guix-package-list-edit, guix-output-list-edit): New procedures.
  (guix-package-list-mode-map, guix-output-list-mode-map): Use them.
2016-01-02 17:25:35 +03:00
Alex Kost cf910ceffc emacs: list: Split 'guix-list-format' variable.
* emacs/guix-list.el: Generate 'guix-ENTRY-TYPE-list-format' variables
  for 'package', 'output' and 'generation' entry types.
  (guix-list-format): Remove.
  (guix-list-define-entry-type): Add ':format' keyword.
* doc/emacs.texi (Emacs Appearance): Adjust accordingly.
2016-01-02 17:25:35 +03:00
Alex Kost 78fdbdc033 emacs: list: Add 'guix-list-mode-initialize'.
* emacs/guix-list.el (guix-list-mode-initialize): New procedure.
  (guix-list-define-entry-type): Use it.
2016-01-02 17:25:35 +03:00
Alex Kost 649df66705 emacs: list: Generalize 'sort-key' code.
* emacs/guix-list.el (guix-list-sort-key): New procedure.
  (guix-list-tabulated-sort-key): Use it.
  (guix-list-define-entry-type): Generate
  'guix-ENTRY-TYPE-list-sort-key' variables.
2016-01-02 17:25:35 +03:00
Alex Kost 7b31510f26 emacs: list: Generalize 'describe' code.
* emacs/guix-list.el (guix-list-describe-warning-count): Remove variable.
  (guix-list-define-entry-type): Generate
  'guix-ENTRY-TYPE-list-describe-warning-count' and
  'guix-ENTRY-TYPE-list-describe-function' variables.
  (guix-list-describe-maybe): Remove.  Move the code...
  (guix-list-describe): ... here.
  (guix-list-describe-warning-count, guix-list-describe-entries)
  (guix-list-describe-ids): New procedures.
  (guix-output-list-describe): Adjust accordingly.
  (guix-list-mode-map): Bind "i" key to 'guix-list-describe'.
  (guix-generation-list-mode-map): Remove "i" key.
2016-01-02 17:25:35 +03:00
Alex Kost f768e4b387 emacs: list: Generalize 'marks' code.
* emacs/guix-list.el (guix-list-mark-alist): Rename to...
  (guix-list-marks): ... this
  (guix-list-data, guix-list-default-marks): New variables.
  (guix-list-value, guix-list-additional-marks, guix-list-marks): New
  procedures.
  (guix-list-define-entry-type): Adjust accordingly.
2016-01-02 17:25:35 +03:00
Alex Kost d9c9f9a515 emacs: Add 'guix-alist-put'.
* emacs/guix-utils.el (guix-alist-put, guix-alist-put-1)
  (guix-alist-put!): New procedures.
2016-01-02 17:25:35 +03:00
Alex Kost 4ba476f949 emacs: Add 'guix-keyword-args-let'.
* emacs/guix-utils.el (guix-keyword-args-let): New macro.
  (guix-utils-font-lock-keywords): Add it.
* emacs/guix-base.el (guix-define-buffer-type): Use it.
* emacs/guix-list.el (guix-list-define-entry-type): Use it.
* emacs/guix-read.el (guix-define-readers): Use it.
2016-01-02 17:25:35 +03:00
Alex Kost 376af769f9 emacs: list: Configure format in one place.
* emacs/guix-list.el: (guix-list-column-format): Merge this and...
  (guix-list-column-value-methods): ... this into...
  (guix-list-format): ... this.  New variable.
  (guix-list-tabulated-vector): Adjust accordingly.
  (guix-list-tabulated-format): Likewise.
  (guix-list-tabulated-entry): Likewise.
* doc/emacs.texi (Emacs Appearance): Likewise.
2016-01-02 17:25:35 +03:00
Alex Kost 0b9cd3206a emacs: Rename internal procedures.
* emacs/guix-list.el (guix-list-get-param-title): Rename to...
  (guix-list-param-title): ... this.
  (guix-list-get-column-format): Rename to...
  (guix-list-format): ... this.
  (guix-list-get-displayed-params): Rename to...
  (guix-list-displayed-params): ... this.
  (guix-list-get-sort-key): Rename to...
  (guix-list-tabulated-sort-key): ... this.
  (guix-list-make-tabulated-vector): Rename to...
  (guix-list-tabulated-vector): ... this.
  (guix-list-get-list-format): Rename to...
  (guix-list-tabulated-format): ... this.
  (guix-list-get-tabulated-entries): Rename to...
  (guix-list-tabulated-entries): ... this.
  (guix-list-get-tabulated-entry): Rename to...
  (guix-list-tabulated-entry): ... this.
* emacs/guix-info.el (guix-info-get-displayed-params): Rename to...
  (guix-info-displayed-params): ... this.
* emacs/guix-base.el (guix-get-params-for-receiving): Adjust
  accordingly.
  (guix-get-name-spec): Rename to...
  (guix-package-name-specification): ... this.
  (guix-get-full-name): Merge this and...
  (guix-entry-to-specification): ... this into...
  (guix-package-entry->name-specification): ... this.
  (guix-get-installed-outputs): Rename to...
  (guix-package-installed-outputs): ... this.
  (guix-get-package-id-and-output-by-output-id): Rename to...
  (guix-package-id-and-output-by-output-id): ... this.
2016-01-02 17:25:35 +03:00
Alex Kost e86a43d471 emacs: list: Generate numerical sort predicates.
* emacs/guix-list.el: Generate predicates to sort tabulated list
  columns numerically.
  (guix-list-define-numerical-sorter)
  (guix-list-define-numerical-sorters): New macros
  (guix-list-column-format): Use 'guix-list-sort-numerically-0' for
  generation "Number" column.
2016-01-02 17:25:35 +03:00
Alex Kost ceea647c72 emacs: Simplify defining parameter titles.
* emacs/guix-utils.el (guix-symbol-title): New procedure.
* emacs/guix-base.el (guix-get-param-title): Use it.
  (guix-param-titles): Remove most titles as they are automatically
  defined by 'guix-symbol-title'.
2016-01-02 17:25:35 +03:00
Alex Kost 73ce3c19c4 emacs: Add API for 'guix-entry'.
* emacs/guix-info.el: Use new entry procedures.
* emacs/guix-list.el: Likewise.
* emacs/guix-base.el: Likewise.
  (guix-get-entry-by-id): Move and rename to ...
* emacs/guix-entry.el (guix-entry-by-id): ...this.  New file.
  (guix-entry-value, guix-entry-id, guix-entries-by-ids)
  (guix-replace-entry): New procedures.
* emacs.am (ELFILES): Add new file.
2016-01-02 17:25:35 +03:00
Alex Kost 36c00c61fa emacs: Add 'guix-with-indent'.
* emacs/guix-utils.el (guix-with-indent): New macro.
  (guix-memoized-font-lock-keywords): Rename to...
  (guix-utils-font-lock-keywords): ... this.  Add it.
* emacs/guix-info.el (guix-info-insert-entry-default): Use it.
2016-01-02 17:25:35 +03:00
Alex Kost 778437ed9f emacs: Use "cl-list*" instead of "apply #'list".
* emacs/guix-command.el (guix-run-view-build-log): Use cl-list*.
  (guix-run-view-size-map): Likewise.
* emacs/guix-external.el (guix-dot-arguments): Likewise.
2016-01-02 17:25:35 +03:00
Erik Edrosa b989390889 gnu: Add python-markdown.
* gnu/packages/python.scm (python-markdown, python2-markdown): New
variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-01-02 00:07:29 -05:00
宋文武 05d48c5243 gnu: love: Update to 0.10.0.
* gnu/packages/game-development.scm (love): Update to 0.10.0.
2016-01-02 10:31:53 +08:00
Ludovic Courtès 319007c507 gnu: guile-ssh: Update to 0.9.0.
* gnu/packages/ssh.scm (guile-ssh): Update to 0.9.0.
2016-01-01 22:59:20 +01:00
Ludovic Courtès f453f637d5 system: Allow the root file system to be named by UUID.
* gnu/build/file-systems.scm (canonicalize-device-spec)[canonical-title]:
Use 'string->uuid' to check whether SPEC is a UUID.
When SPEC is a string and CANONICAL-TITLE is 'uuid, call 'string->uuid'.
* gnu/system.scm (operating-system-grub.cfg): Add 'root-device'
variable and use it for the "--root=" argument.
2016-01-01 22:50:26 +01:00
Ludovic Courtès f8865db6a0 file-systems: Move 'string->uuid' to the build side.
* gnu/system/file-systems.scm (%uuid-rx, string->uuid): Move to...
* gnu/build/file-systems.scm (%uuid-rx, string->uuid): ... here.  New
variables.
2016-01-01 22:41:35 +01:00
Ludovic Courtès 29824d80ec system: Allow the root file system to have a UUID.
This is a followup to ab64483.

* gnu/system.scm (mapped-device-user): Check whether the title of FS is
'device before calling 'string=?'.
* gnu/system/vm.scm (virtualized-operating-system)[user-file-systems]:
Likewise.
2016-01-01 22:34:13 +01:00
Ludovic Courtès daa8922abc doc: Mention how to verify signatures.
* doc/guix.texi (Binary Installation): Be more precise about signature
verification.  Suggested by Carl Hansen <carlhansen1234@gmail.com>.
2016-01-01 19:01:05 +01:00
Ludovic Courtès e80d2555f5 gnu: findutils: Update to 4.6.0.
* gnu/packages/patches/findutils-absolute-paths.patch: Remove.
* gnu/packages/patches/findutils-test-xargs.patch: New file.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/base.scm (findutils): Update to 4.6.0.  Remove
'findutils-absolute-paths.patch' and add 'findutils-test-xargs.patch'.
2016-01-01 01:05:06 +01:00
Ludovic Courtès 7165a91c7d build-system/gnu: Use the long option name for deterministic archives.
This is a followup to 3eb34c6.

* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Use
"--enable-deterministic-archives" instead of "-D" to work around
Binutils bug <https://sourceware.org/bugzilla/show_bug.cgi?id=17671>.
* guix/build/gnu-build-system.scm (strip): Likewise.
2016-01-01 00:49:05 +01:00
Fabian Harfert 45147b0caa gnu: Add xaos.
* gnu/packages/maths.scm (xaos): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-12-31 11:29:43 +03:00
Leo Famulari 658212ebf7 gnu: Move cursynth to (gnu packages music).
* gnu/packages/cursynth.scm: Remove.
* gnu/packages/music.scm (cursynth): New variable, from cursynth.scm.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove cursynth.scm.
2015-12-30 21:26:05 -05:00
Leo Famulari 2ef8bbc3ae gnu: libcue: Update source URL.
* gnu/packages/cdrom.scm (libcue)[source]: Update URL.
2015-12-30 19:59:58 -05:00
Efraim Flashner 34da7af4c1 gnu: python-mox3: Update to 0.13.0.
* gnu/packages/openstack.scm (python-mox3): Update to 0.13.0.
2015-12-30 23:16:09 +02:00
Efraim Flashner 13fcc6df37 gnu: python-fixtures: Update to 1.4.0.
* gnu/packages/python.scm (python-fixtures): Update to 1.4.0.
2015-12-30 23:16:09 +02:00
Efraim Flashner af1ab77312 gnu: python-pyld: Update to 0.6.8.
* gnu/packages/python.scm (python-pyld): Update to 0.6.8.
2015-12-30 23:16:09 +02:00
Efraim Flashner 1780424035 gnu: python-virtualenv: Update to 13.1.2.
* gnu/packages/python.scm (python-virtualenv): Update to 13.1.2.
[arguments]: Custom test command.
[inputs]: Remove python-nose, add python-pytest.
2015-12-30 23:16:09 +02:00
Efraim Flashner ec89a25cad gnu: python-oslosphinx: Update to 4.2.0.
* gnu/packages/openstack.scm (python-oslosphinx): Update to 4.2.0.
2015-12-30 23:16:09 +02:00
Efraim Flashner f66bb273de gnu: python-oslo.serialization: Update to 2.2.0.
* gnu/packages/openstack.scm (python-oslo.serialization): Update to 2.2.0.
2015-12-30 23:16:09 +02:00
Efraim Flashner 4768988887 gnu: python-os-testr: Update to 0.5.0.
* gnu/packages/openstack.scm (python-os-testr): Update to 0.5.0.
2015-12-30 23:16:09 +02:00
Efraim Flashner 45f4c28d80 gnu: python-stevedore: Update to 1.10.0.
* gnu/packages/openstack.scm (python-stevedore): Update to 1.10.0.
2015-12-30 23:16:09 +02:00
Efraim Flashner 622d21bba9 gnu: python-tempest-lib: Update to 0.12.0.
* gnu/packages/openstack.scm (python-tempest-lib): Update to 0.12.0.
2015-12-30 23:16:09 +02:00
Efraim Flashner 690e8c6637 gnu: python-passlib: Update to 1.6.5.
* gnu/packages/python.scm (python-passlib): Update to 1.6.5.
2015-12-30 23:16:09 +02:00
Efraim Flashner 03fd001cef gnu: python-libarchive-c: Update to 2.2.
* gnu/packages/python.scm (python-libarchive-c): Update to 2.2.
2015-12-30 23:16:09 +02:00
Efraim Flashner 99b00dc796 gnu: python-tlsh: Update to 3.4.4.
* gnu/packages/python.scm (python-tlsh): Update to 3.4.4.
2015-12-30 23:16:09 +02:00
Efraim Flashner b8834c219e gnu: python-webob: Update to 1.5.1.
* gnu/packages/python.scm (python-webob): Update to 1.5.1.
2015-12-30 23:16:09 +02:00
Efraim Flashner 1b99553317 gnu: python-flake8: Update to 2.5.1.
* gnu/packages/python.scm (python-flake8): Update to 2.5.1.
2015-12-30 23:16:09 +02:00
Efraim Flashner 2abc397225 gnu: python-pyflakes: Update to 1.0.0.
* gnu/packages/python.scm (python-pyflakes): Update to 1.0.0.
2015-12-30 23:16:09 +02:00
Efraim Flashner 3655ee76a6 gnu: python-pyzmq: Update to 15.1.0.
* gnu/packages/python.scm (python-pyzmq): Update to 15.1.0.
2015-12-30 23:16:09 +02:00
Efraim Flashner f56777be0a gnu: python-psutil: Update to 3.3.0.
* gnu/packages/python.scm (python-psutil): Update to 3.3.0.
2015-12-30 23:16:09 +02:00
Efraim Flashner 38eb6919e1 gnu: python-pycparser: Update to 2.14.
* gnu/packages/python.scm (python-pycparser): Update to 2.14.
2015-12-30 23:16:09 +02:00
Efraim Flashner d9aa097b96 gnu: python-pyrfc3339: Update to 1.0.
* gnu/packages/python.scm (python-pyrfc3339): Update to 1.0.
2015-12-30 23:16:09 +02:00
Efraim Flashner f7cb984133 gnu: python-nose: Update to 1.3.7.
* gnu/packages/python.scm (python-nose): Update to 1.3.7.
2015-12-30 23:16:09 +02:00
Efraim Flashner ec3bcbc7e4 gnu: python-rpy2: Update to 2.7.6.
* gnu/packages/python.scm (python-rpy2): Update to 2.7.6.
2015-12-30 23:16:09 +02:00
Efraim Flashner 11f97c27bc gnu: pelican: Update to 3.6.3.
* gnu/packages/python.scm (pelican): Update to 3.6.3.
2015-12-30 23:16:09 +02:00
Efraim Flashner e98149b3a4 gnu: python-jinja2: Update to 2.8.
* gnu/packages/python.scm (python-jinja2): Update to 2.8.
2015-12-30 23:16:09 +02:00
Efraim Flashner 8925d4f345 gnu: python-unidecode: Update to 0.04.18.
* gnu/packages/python.scm (python-unidecode): Update to 0.04.18.
2015-12-30 23:16:09 +02:00
Efraim Flashner 7fb9ff4dea gnu: python-blinker: Update to 1.4.
* gnu/packages/python.scm (python-blinker): Update to 1.4.
2015-12-30 23:16:09 +02:00
Efraim Flashner c2a9c1c0bc gnu: python-dateutil: Update to 2.4.2.
* gnu/packages/python.scm (python-dateutil): Update to 2.4.2.
2015-12-30 23:16:09 +02:00
Efraim Flashner 2c3d13fe1b gnu: isync: Update to 1.2.1.
* gnu/packages/mail.scm (isync): Update to 1.2.1.
2015-12-30 23:16:09 +02:00
Efraim Flashner aadf46253a gnu: getmail: Update to 4.48.0.
* gnu/packages/mail.scm (getmail): Update to 4.48.0.
2015-12-30 23:16:09 +02:00
Efraim Flashner 866fade9e5 gnu: notmuch: Update to 0.21.
* gnu/packages/mail.scm (notmuch): Update to 0.21.
2015-12-30 23:16:09 +02:00
Efraim Flashner 70e9d258c4 gnu: youtube-dl: Update to 2015.12.29.
* gnu/packages/video.scm (youtube-dl): Update to 2015.12.29.
2015-12-30 23:16:09 +02:00
Efraim Flashner 31e98ca63f gnu: offlineimap: Update to 6.6.1.
* gnu/packages/mail.scm (offlineimap): Update to 6.6.1.
2015-12-30 23:16:09 +02:00
Ricardo Wurmus 3d5fd24090 gnu: Add Fritzing.
* gnu/packages/engineering.scm (fritzing): New variable.
2015-12-30 20:41:33 +01:00
Ricardo Wurmus b7fa2f9321 licenses: Add CC BY SA 3.0.
* guix/licenses.scm (cc-by-sa3.0): New variable.
2015-12-30 20:41:33 +01:00
Ludovic Courtès 0084aaf3d4 gnu: Add lcov.
* gnu/packages/code.scm (lcov): New variable.
2015-12-30 19:14:04 +01:00
Alex Vong 0c1910ed03 gnu: ladspa: Update URLs.
* gnu/packages/audio.scm (ladspa): Update source and home page url.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-12-30 18:18:38 +01:00
Ludovic Courtès 223d793903 guix build: Augment %PATCH-PATH when -L is passed.
Fixes <http://bugs.gnu.org/22259>.
Reported by Nikolay Merinov <nikolay.merinov@member.fsf.org>.

* guix/scripts/build.scm (%standard-build-options) <-L>: Augment
%PATCH-PATH.
* tests/guix-package.sh: Add test.
2015-12-30 18:15:54 +01:00
Ludovic Courtès 7a57c96a10 daemon: Build in /tmp/guix-build-*.
* nix/libstore/build.cc (DerivationGoal::startBuilder): Use "guix-build"
instead of "nix-build" for TMPDIR.
* doc/guix.texi (Build Environment Setup): Adjust accordingly.
2015-12-30 18:01:01 +01:00
Andreas Enge f95dad899b gnu: texlive: Patch texmfcnf.lua.
* gnu/packages/texlive.scm (texlive): Patch texmfcnf.lua to point to the
  absolute texlive-texmf tree.
2015-12-30 11:24:26 +01:00
Mark H Weaver 826244f01a gnu: fuse: Fix source URI.
This is a followup to commit b7e7d1b9d3.

* gnu/packages/linux.scm (fuse)[source]: Fix source URI.
2015-12-29 22:25:02 -05:00
Ben Woodcroft 19f4554c94 gnu: Add fraggenescan.
* gnu/packages/bioinformatics.scm (fraggenescan): New variable.
2015-12-29 20:14:03 -05:00
Leo Famulari 6819a8ddd6 gnu: Add shntool.
* gnu/packages/audio.scm (shntool): New variable.
2015-12-29 19:55:21 -05:00
Leo Famulari 6da16993eb gnu: Add cuetools.
* gnu/packages/audio.scm (cuetools): New variable.
2015-12-29 19:55:21 -05:00
Ludovic Courtès 20b978192e daemon: Remove unused 'RemoteStore' class.
* nix/libstore/remote-store.cc, nix/libstore/remote-store.hh: Remove.
* nix/libstore/store-api.cc (readStorePath, readStorePaths): New
functions, formerly in remote-store.cc.
(openStore): Remove reference to 'RemoteStore'.
* daemon.am (libstore_a_SOURCES): Remove remote-store.cc.
(libstore_headers): Remote remote-store.hh.
2015-12-30 01:20:41 +01:00
Efraim Flashner 11afbbc651 gnu: enlightenment: Update to 0.20.2.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.20.2.
2015-12-29 22:52:20 +02:00
Leo Famulari 6959a13271 gnu: sshfs-fuse: Update source URL.
* gnu/packages/linux.scm (sshfs-fuse)[source]: Update URL.
2015-12-29 14:20:55 -05:00
Leo Famulari b7e7d1b9d3 gnu: fuse: Update to 2.9.4.
* gnu/packages/patches/fuse-CVE-2015-3202.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/linux.scm (fuse): Update to 2.9.4.
  [source]: Remove patch.
2015-12-29 14:20:55 -05:00
Efraim Flashner c7d0bf0071 gnu: youtube-dl: Update to 2015.12.23.
* gnu/packages/video.scm (youtube-dl): Update to 2015.12.23.
2015-12-29 09:33:10 +02:00
Ricardo Wurmus 6da2e99e2e gnu: tuxguitar: Set missing GCJFLAGS.
* gnu/packages/music.scm (tuxguitar)[arguments]: Set compiler flags
  "-fsource=1.4" and "-fPIC".
2015-12-29 07:52:19 +01:00
Ricardo Wurmus 5f1c949866 gnu: tuxguitar: Use "modify-phases" syntax.
* gnu/packages/music.scm (tuxguitar)[arguments]: Use "modify-phases"
  syntax.
2015-12-29 07:52:19 +01:00
Leo Famulari c1ff0f2fed gnu: irssi: Update source URL.
* gnu/packages/irssi.scm (irssi)[source]: Update URL.
2015-12-27 17:39:03 -05:00
Efraim Flashner 85d42329b3 gnu: elementary: Update to 1.16.1.
* gnu/packages/enlightenment.scm (elementary): Update to 1.16.1.
2015-12-27 15:33:20 +02:00
Efraim Flashner c1a064c96e gnu: efl: Update to 1.16.1.
* gnu/packages/enlightenment.scm (efl): Update to 1.16.1.
2015-12-27 14:44:29 +02:00
Efraim Flashner e21338bec5 gnu: python-decorator: Update to 4.0.6.
* gnu/packages/python.scm (python-decorator): Update to 4.0.6.
2015-12-26 23:10:53 +02:00
Efraim Flashner 2a2d098195 gnu: python-exif-read: Update to 2.1.2.
* gnu/packages/python.scm (python-exif-read): Update to 2.1.2.
2015-12-26 23:10:53 +02:00
Efraim Flashner 82a3c582a3 gnu: python-coverage: Update to 4.0.3.
* gnu/packages/python.scm (python-coverage): Update to 4.0.3.
2015-12-26 23:10:53 +02:00
Efraim Flashner 9f44228512 gnu: python-pygments: Update to 2.0.2.
* gnu/packages/python.scm (python-pygments): Update to 2.0.2.
2015-12-26 23:10:53 +02:00
Efraim Flashner 2d3a437c79 gnu: python-cffi: Update to 1.4.2.
* gnu/packages/python.scm (python-cffi): Update to 1.4.2.
2015-12-26 23:10:53 +02:00
Efraim Flashner 71c8a804b9 gnu: python-py: Update to 1.4.31.
* gnu/packages/python.scm (python-py): Update to 1.4.31.
2015-12-26 23:10:53 +02:00
Leo Famulari b8ae816b0e gnu: tinyproxy: Update source URL.
* gnu/packages/web.scm (tinyproxy)[source]: Update URL.
2015-12-26 11:47:42 -05:00
Leo Famulari 4beb9f3a3b gnu: zsh: Add alternate source URL.
* gnu/packages/zsh.scm (zsh)[source]: Add alternate URL.
2015-12-26 11:26:57 -05:00
Leo Famulari 7b10135386 gnu: znc: Update to 1.6.2.
* gnu/packages/messaging.scm (znc): Update to 1.6.2.
2015-12-26 11:24:55 -05:00
Leo Famulari eb2371bcdd gnu: znc: Update source URL.
* gnu/packages/messaging.scm (znc)[source]: Update URL.
2015-12-26 11:24:55 -05:00
Mark H Weaver ce755b609d gnu: libpng: Update to 1.5.26 [fixes CVE-2015-8472 and CVE-2015-8540].
* gnu/packages/image.scm (libpng): Update to 1.5.26.
2015-12-26 11:01:01 -05:00
Efraim Flashner fe08b6e1eb gnu: gdk-pixbuf: Update to 2.32.3. (fixes CVE-2015-4491)
* gnu/packages/gtk.scm (gdk-pixbuf): Update to 2.32.3.
2015-12-26 11:01:01 -05:00
Efraim Flashner 4d6b8da717 gnu: cups-filters: Update to 1.4.0. (fixes CVE-2015-8560)
* gnu/packages/cups.scm (cups-filters): Update to 1.4.0.
2015-12-26 11:01:01 -05:00
Leo Famulari 75bae747cc gnu: xlockmore: Update to 5.46.
* gnu/packages/xdisorg.scm (xlockmore): Update to 5.46.
2015-12-26 02:22:20 -05:00
Leo Famulari 20c043587a gnu: xlockmore: Add alternate URL.
* gnu/packages/xdisorg.scm (xlockmore)[source]: Add alternate URL.
2015-12-26 02:17:46 -05:00
Leo Famulari d642053386 gnu: wmctrl: Update source URL.
* gnu/packages/xdisorg.scm (wmctrl)[source]: Update URL.
2015-12-26 01:55:14 -05:00
Leo Famulari 3759bfad32 gnu: colordiff: Update to 1.0.16.
* gnu/packages/patchutils.scm (colordiff): Update to 1.0.16.
2015-12-26 00:10:32 -05:00
Leo Famulari 8d479d27ca gnu: colordiff: Update source URL.
* gnu/packages/patchutils.scm (colordiff)[source]: Update URL.
2015-12-26 00:10:09 -05:00
Leo Famulari 97a79b19d1 gnu: opus-tools: Update source URL.
* gnu/packages/xiph.sch (opus-tools)[source]: Update URL.
2015-12-26 00:00:21 -05:00
Leo Famulari 5b0bcecdd1 gnu: moreutils: Update to 0.57.
* gnu/packages/moreutils.scm (moreutils): Update to 0.57.
2015-12-25 23:59:26 -05:00
Leo Famulari d4ec43392b gnu: lynx: Update source URL.
* gnu/packages/lynx.scm (lynx)[source]: Update URL.
2015-12-25 23:58:33 -05:00
Leo Famulari 4150ac88bc gnu: libsodium: Add alternate URL.
* gnu/packages/crypto.scm (libsodium)[source]: Add alternate URL.
2015-12-25 23:56:15 -05:00
Leo Famulari 8fa16f63e7 gnu: libev: Update source URL.
* gnu/packages/libevent.scm (libev)[source]: Update URL.
2015-12-25 23:51:08 -05:00
Leo Famulari 8f26f23926 gnu: hevea: Update URL.
* gnu/packages/ocaml.scm (hevea)[source]: Update URL.
2015-12-25 23:46:55 -05:00
Leo Famulari 513f8ab4f3 gnu: exim: Update to 4.86.
* gnu/packages/mail.scm (exim): Update to 4.86.
2015-12-25 23:42:17 -05:00
Leo Famulari fc6fdc05cb gnu: exim: Add alternate URL.
* gnu/packages/mail.scm (exim)[source]: Add alternate URL.
2015-12-25 23:42:17 -05:00
Leo Famulari e1921a384c gnu: eudev: Update home-page URL.
* gnu/packages/linux.scm (eudev)[home-page]: Add up-to-date URL.
2015-12-25 23:40:32 -05:00
Leo Famulari 38fa30eb95 guix package: Fix typo in comment.
* guix/scripts/package.scm: Fix typo.
2015-12-25 23:36:42 -05:00
Ricardo Wurmus 9625029401 gnu: Add Bristol.
* gnu/packages/music.scm (bristol): New variable.
2015-12-24 19:39:17 +01:00
Ricardo Wurmus 398abcf81a gnu: lilypond: Update to 2.19.33.
* gnu/packages/music.scm (lilypond): Update to 2.19.33.
2015-12-24 10:10:40 +01:00
Ricardo Wurmus 409be57b09 gnu: lilypond: Build info pages with images.
* gnu/packages/music.scm (lilypond)[arguments]: Set "conf" and "out" to
  "www"; rename phase "hardcode-path-to-gs" to "fix-path-references";
  fix reference to "/bin/sh"; add phase "install-info".
2015-12-24 10:10:40 +01:00
Ricardo Wurmus c493679f9a gnu: Add Yoshimi.
* gnu/packages/music.scm (yoshimi): New variable.
2015-12-24 10:10:40 +01:00
Ricardo Wurmus 6a91494898 gnu: Add XML::Compile::WSDL11.
* gnu/packages/xml.scm (perl-xml-compile-wsdl11): New variable.
2015-12-24 10:10:40 +01:00
Ricardo Wurmus baeab9b8b9 gnu: Add XML::Compile::SOAP.
* gnu/packages/xml.scm (perl-xml-compile-soap): New variable.
2015-12-24 10:10:40 +01:00
Ricardo Wurmus c1d41b5df3 gnu: Add XML::Compile::Cache.
* gnu/packages/xml.scm (perl-xml-compile-cache): New variable.
2015-12-24 10:10:40 +01:00
Ricardo Wurmus f7c4dc2f55 gnu: Add XML::LibXML::Simple.
* gnu/packages/xml.scm (perl-xml-libxml-simple): New variable.
2015-12-24 10:10:40 +01:00
Ricardo Wurmus 8aad646637 gnu: Add File::Slurp::Tiny.
* gnu/packages/perl.scm (perl-file-slurp-tiny): New variable.
2015-12-24 10:10:40 +01:00
Ricardo Wurmus a05996e000 gnu: Add HTML::Template.
* gnu/packages/web.scm (perl-html-template): New variable.
2015-12-24 10:10:40 +01:00
Ricardo Wurmus b494a5f1bd gnu: Add XML::Compile.
* gnu/packages/xml.scm (perl-xml-compile): New variable.
2015-12-24 10:10:40 +01:00
Ricardo Wurmus 649e1676bc gnu: Add XML::Compile::Tester.
* gnu/packages/xml.scm (perl-xml-compile-tester): New variable.
2015-12-24 10:10:40 +01:00
Ricardo Wurmus dd686c0838 gnu: Add Log::Report.
* gnu/packages/perl.scm (perl-log-report): New variable.
2015-12-24 10:10:39 +01:00
Ricardo Wurmus fc2448bf89 gnu: Add Log::Report::Optional.
* gnu/packages/perl.scm (perl-log-report-optional): New variable.
2015-12-24 10:10:39 +01:00
Ricardo Wurmus c47b85de0c gnu: Add String::Print.
* gnu/packages/perl.scm (perl-string-print): New variable.
2015-12-24 10:10:39 +01:00
Ricardo Wurmus e92468d803 gnu: Add Unicode::LineBreak.
* gnu/packages/perl.scm (perl-unicode-linebreak): New variable.
2015-12-24 10:10:39 +01:00
Ricardo Wurmus 55932aeee1 gnu: Add MIME::Charset.
* gnu/packages/perl.scm (perl-mime-charset): New variable.
2015-12-24 10:10:39 +01:00
Leo Famulari 8f1640ed8f gnu: gusb: Update home-page.
* gnu/packages/gnome.scm (gusb)[home-page]: Update home-page.
2015-12-24 02:16:57 -05:00
Mark H Weaver 097190417f gnu: icecat: Update to 38.5.0-gnu1.
* gnu/packages/patches/icecat-CVE-2015-7201-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-7201-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-7201-pt3.patch,
  gnu/packages/patches/icecat-CVE-2015-7205.patch,
  gnu/packages/patches/icecat-CVE-2015-7210.patch,
  gnu/packages/patches/icecat-CVE-2015-7212.patch,
  gnu/packages/patches/icecat-CVE-2015-7213-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-7213-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-7214.patch,
  gnu/packages/patches/icecat-CVE-2015-7222-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-7222-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-7222-pt3.patch,
  gnu/packages/patches/icecat-freetype-2.6.patch: Delete files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/gnuzilla.scm (icecat): Update to 38.5.0-gnu1.
  [source]: Remove patches.
2015-12-23 18:19:59 -05:00
Mark H Weaver bba5de0e43 gnu: nss: Update to 3.20.2.
* gnu/packages/gnuzilla.scm (nss): Update to 3.20.2.
2015-12-23 18:19:59 -05:00
Ben Woodcroft 1b9d4e2e20 gnu: ruby-nokogiri: Upgrade to 1.6.7.1.
* gnu/packages/ruby.scm (ruby-nokogiri): Upgrade to 1.6.7.1.
2015-12-23 14:02:10 -05:00
Ben Woodcroft d000fc92b1 gnu: Add ruby-mini-portile-2.
* gnu/packages/ruby.scm (ruby-mini-portile-2): New variable.
2015-12-23 14:02:06 -05:00
Ricardo Wurmus 4de7aede50 gnu: icedtea7: Update to 2.6.3.
* gnu/packages/java.scm (icedtea7): Update to 2.6.3.
2015-12-23 14:57:58 +01:00
Ricardo Wurmus e7173df87a gnu: icedtea6: Update to 1.13.9.
* gnu/packages/java.scm (icedtea6): Update to 1.13.9.
2015-12-23 14:57:58 +01:00
Ludovic Courtès 05f1e95638 gnu: guile-2.0: Add "lib/guile/2.0/ccache" to the search path.
* gnu/packages/guile.scm (guile-2.0)[native-search-paths]: Add
"lib/guile/2.0/ccache" to GUILE_LOAD_COMPILED_PATH.
2015-12-22 22:29:34 +01:00
Ludovic Courtès 64cb064c0c gnu: python-wrapper: Append "-wrapper" to the underlying package name.
Reported by Federico Beffa <beffa@ieee.org>.

* gnu/packages/python.scm (wrap-python3): Change the default value of
'name' to include the name of PYTHON.  This disambiguates between
'python-minimal-wrapper' and 'python-wrapper'.
2015-12-22 22:24:41 +01:00
Efraim Flashner a9257a873f gnu: libmicrohttpd: Update to 0.9.48.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.48.
2015-12-22 22:50:58 +02:00
Efraim Flashner 0877ef4342 gnu: parallel: Update to 20151222.
* gnu/packages/parallel.scm (parallel): Update to 20151222.
2015-12-22 22:47:44 +02:00
Efraim Flashner 419fa59b17 gnu: sipwitch: Update to 1.9.15.
* gnu/packages/telephony.scm (sipwitch): Update to 1.9.15.
2015-12-22 22:45:41 +02:00
Efraim Flashner 99e6f9c828 gnu: ucommon: Update to 7.0.0.
* gnu/packages/telephony.scm (ucommon): Update to 7.0.0.
[inputs]: Add gnutls.
2015-12-22 22:39:48 +02:00
Mark H Weaver e54465ff85 gnu: isc-dhcp: Disable parallel build.
* gnu/packages/admin.scm (isc-dhcp)[arguments]: Disable parallel build.
2015-12-22 10:45:13 -05:00
Mark H Weaver 6548b1e122 gnu: isc-dhcp: Update to 4.3.3; update bundled bind to 9.9.8-P2.
Fixes CVE-2015-8000 and CVE-2015-8461.

* gnu/packages/admin.scm (isc-dhcp): Update to 4.3.3.
  [inputs]: Add 'bind-source-tarball'.
  [arguments]: Use modify-phases.  Add 'replace-bundled-bind' phase.
  In 'post-configure' phase, avoid hard-coding version numbers of
  bundled bind.
2015-12-21 19:47:27 -05:00
Mark H Weaver f9a5b18897 gnu: bind-utils: Update to 9.10.3-P2.
* gnu/packages/dns.scm (bind-utils): Update to 9.10.3-P2.
  [source]: Use HTTP URI instead of FTP.
2015-12-21 19:47:26 -05:00
Ludovic Courtès ab64483f64 file-systems: The 'device' field can be a UUID (bytevector).
Previously a wrong-type-arg error would be raised when a file system
with a UUID (bytevector) field was encountered.

* gnu/system.scm (other-file-system-services)[device-mappings]: Check
whether FS's device is a string.
2015-12-22 00:29:43 +01:00
Ludovic Courtès be21979d85 file-systems: Add a 'mount?' field.
Fixes <http://bugs.gnu.org/22176>.
Reported by Florian Paul Schmidt <mista.tapas@gmx.net>.

* gnu/system/file-systems.scm (<file-system>)[mount?]: New field.
(file-system->spec): Adjust accordingly.
* gnu/services/base.scm (file-system-dmd-service): Return the empty list
when FILE-SYSTEM has 'mount?' set to false.
(user-processes-service): Select the subset of FILE-SYSTEMS that matches
'file-system-mount?'.
* doc/guix.texi (File Systems): Document it.
2015-12-22 00:29:21 +01:00
Ludovic Courtès e43e84ba7a services: Add 'fstab-service-type'.
* gnu/services/base.scm (file-system->fstab-entry)
(file-systems->fstab): New procedures.
(fstab-service-type): New variable.
* gnu/services/base.scm (file-system-dmd-service): New procedure, taken
from...
(file-system-service-type): ... here.
* gnu/system.scm (essential-services): Add FSTAB-SERVICE-TYPE instance.
2015-12-22 00:04:36 +01:00
Ricardo Wurmus 12d38e8d43 build: Add bioconductor-uri procedure.
* guix/build-system/r.scm (bioconductor-uri): New procedure.
2015-12-21 22:32:01 +01:00
Ricardo Wurmus 8e92cfb101 gnu: Add vmpk.
* gnu/packages/music.scm (vmpk): New variable.
2015-12-21 22:09:47 +01:00
Ricardo Wurmus bf76d7802c gnu: Add drumstick.
* gnu/packages/music.scm (drumstick): New variable.
2015-12-21 22:09:47 +01:00
Leo Famulari ef9006451f gnu: letsencrypt and acme: Update to 0.1.1.
These packages should be updated together.

* gnu/packages/tls.scm (letsencrypt): Update to 0.1.1.
[source]: Use pypi-uri.
* gnu/packages/tls.scm (acme): Update to 0.1.1.
[source]: Use pypi-uri.
2015-12-21 14:35:58 -05:00
Efraim Flashner 704989660f gnu: ffmpeg: Update to 2.8.4.
* gnu/packages/video.scm (ffmpeg): Update to 2.8.4.
2015-12-21 21:30:46 +02:00
Leo Famulari d12717cba0 doc: Be more explicit in example of file-systems configuration.
* gnu/system/examples/bare-bones.tmpl (file-systems): Change device
label.
* gnu/system/examples/desktop.tmpl (file-systems): Likewise.
2015-12-21 13:12:07 -05:00
Leo Famulari dd81635571 doc: Explain significance of partition labels.
* doc/guix.texi (Preparing for Installation): Point out relationship
between partition labels and the file-system configuration.
2015-12-21 12:53:12 -05:00
Leo Famulari f0150f8724 gnu: grub: Add fix for CVE-2015-8730.
* gnu/packages/patches/grub-CVE-2015-8370.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
* gnu/packages/grub.scm: Apply patch.
2015-12-21 12:33:55 -05:00
Ricardo Wurmus e2cd1d0fb9 gnu: Add GenomicRanges.
* gnu/packages/bioinformatics.scm (r-genomicranges): New variable.
2015-12-21 17:22:16 +01:00
Ricardo Wurmus 0e7d5560de gnu: Add XVector.
* gnu/packages/bioinformatics.scm (r-xvector): New variable.
2015-12-21 17:22:16 +01:00
Ricardo Wurmus bf7764b74f gnu: Add GenomeInfoDb.
* gnu/packages/bioinformatics.scm (r-genomeinfodb): New variable.
2015-12-21 17:22:16 +01:00
Ricardo Wurmus 78addcb0eb gnu: Add IRanges.
* gnu/packages/bioinformatics.scm (r-iranges): New variable.
2015-12-21 17:22:16 +01:00
Ricardo Wurmus 7485129e4f gnu: Add S4Vectors.
* gnu/packages/bioinformatics.scm (r-s4vectors): New variable.
2015-12-21 17:22:16 +01:00
Ricardo Wurmus d29b25c490 gnu: Add BiocGenerics.
* gnu/packages/bioinformatics.scm (r-biocgenerics): New variable.
2015-12-21 17:22:16 +01:00
Ricardo Wurmus 9fba89e829 gnu: Add r-acsnminer.
* gnu/packages/bioinformatics.scm (r-acsnminer): New variable.
2015-12-21 17:21:26 +01:00
Ricardo Wurmus 9e47f30b08 gnu: Add r-gridextra.
* gnu/packages/statistics.scm (r-gridextra): New variable.
2015-12-21 17:21:26 +01:00
Ricardo Wurmus b73751c8ff gnu: Add r-gtable.
* gnu/packages/statistics.scm (r-gtable): New variable.
2015-12-21 17:21:26 +01:00
Ricardo Wurmus 77bdb276e9 gnu: Add r-rmarkdown.
* gnu/packages/statistics.scm (r-rmarkdown): New variable.
* gnu/packages/haskell.scm: Do not select libxml2 from the xml module to
  prevent circular package module imports.
2015-12-21 17:13:44 +01:00
Ricardo Wurmus 4c1f2705b5 gnu: Add r-catools.
* gnu/packages/statistics.scm (r-catools): New variable.
2015-12-21 17:13:44 +01:00
Ricardo Wurmus bb6d2dadf7 gnu: Add r-bitops.
* gnu/packages/statistics.scm (r-bitops): New variable.
2015-12-21 17:13:44 +01:00
Ricardo Wurmus 8406138b72 gnu: Add AdaptiveSparsity.
* gnu/packages/machine-learning.scm (r-adaptivesparsity): New variable.
2015-12-21 16:05:38 +01:00
Ricardo Wurmus e22d4ca4c4 gnu: Add r-rcpparmadillo.
* gnu/packages/maths.scm (armadillo-for-rcpparmadillo): New variable.
* gnu/packages/statistics.scm (r-rcpparmadillo): New variable.
2015-12-21 16:05:37 +01:00
Ricardo Wurmus b15e47f9e6 gnu: Add armadillo.
* gnu/packages/maths.scm (armadillo): New variable.
2015-12-21 15:47:40 +01:00
Ricardo Wurmus b1186502a4 doc: Fix outdated claim about CRAN importer.
* doc/guix.texi: The CRAN importer no longer extracts information from
  the HTML package description but from the package's DESCRIPTION file.
2015-12-21 15:25:10 +01:00
Ricardo Wurmus be036757bd import: Drop empty list items.
* guix/import/cran.scm (listify): Remove empty strings from result list.
2015-12-21 15:24:54 +01:00
Ricardo Wurmus 0cb5bc2cff http-client: Support basic authentication.
* guix/http-client.scm (http-fetch): Add Authorization header to request
  when the URI contains userinfo.
2015-12-21 15:24:44 +01:00
Ricardo Wurmus 086e498bcf gnu: Add libgit2.
* gnu/packages/version-control.scm (libgit2): New variable.
2015-12-21 15:22:14 +01:00
Ben Woodcroft 02f35bb5a7 gnu: mafft: Update to 7.267.
* gnu/packages/bioinformatics.scm (mafft): Update to 7.267.
[arguments]: Don't include mafft-homologs manpage.
[inputs]: Add gawk and grep.
[propagated-inputs]: Add coreutils.
2015-12-21 15:16:01 +01:00
Mathieu Lirzin 1ef3f91a70 gnu: rxvt-unicode: Install the terminal capability data.
This provides the necessary terminal capability data, which are required
by ncurses-based applications.

* gnu/packages/xdisorg.scm (rxvt-unicode)[native-inputs]: Add ncurses.
[arguments]: Set the destination of the terminfo files.
[native-search-path]: New field.  Make them automatically available to
the user.
2015-12-21 13:35:34 +01:00
Efraim Flashner 72d8b5baf4 gnu: msmtp: Update to 1.6.3.
* gnu/packages/mail.scm (msmtp): Update to 1.6.3.
[inputs]: Add libsecret.
2015-12-21 09:36:15 +02:00
Efraim Flashner ec92806ae5 gnu: claws-mail: Update to 3.13.1.
* gnu/packages/mail.scm (claws-mail): Update to 3.13.1.
2015-12-21 09:17:47 +02:00
Efraim Flashner 56918e26cf gnu: python-cython: Update to 0.23.4.
* gnu/packages/python.scm (python-cython): Update to 0.23.4.
2015-12-21 06:55:13 +02:00
David Thompson e99711af22 gnu: ruby: Update to 2.2.4.
This version fixes CVE-2015-7551.

* gnu/packages/ruby.scm (ruby): Update to 2.2.4.
2015-12-20 22:40:53 -05:00
Ludovic Courtès c5b303c57f lint: The CPE name of GRUB is "grub2".
Reported by Leo Famulari.

* guix/scripts/lint.scm (package-name->cpe-name): Add "grub".
2015-12-20 22:34:22 +01:00
Ludovic Courtès 724a7d9c74 packages: Remove now redundant graph procedures.
These procedures are now redundant with those in (guix graph) and are no
longer used since commit a51cbecb.

* gnu/packages.scm (vhash-refq, package-dependencies)
(package-direct-dependents, package-transitive-dependents)
(package-covering-dependents): Remove.
2015-12-20 22:34:22 +01:00
Ludovic Courtès ccda8f7d7f profiles: Honor search paths of propagated inputs.
Fixes <http://bugs.gnu.org/22073>.
Reported by Federico Beffa <beffa@ieee.org>.

* guix/profiles.scm (package->manifest-entry): Use
'package-transitive-native-search-paths' when computing
'search-paths' field.
* tests/profiles.scm ("package->manifest-entry, search paths"): New test.
2015-12-20 22:34:22 +01:00
Ludovic Courtès aa8e051532 packages: Add 'package-transitive-native-search-paths'.
* guix/packages.scm (package-transitive-native-search-paths): New
procedure.
* tests/packages.scm ("package-transitive-native-search-paths"): New
test.
2015-12-20 22:34:22 +01:00
Efraim Flashner 54b7f63a72 gnu: offlineimap: Update to 6.6.0.
* gnu/packages/mail.scm (offlineimap): Update to 6.6.0.
2015-12-20 21:39:18 +02:00
Efraim Flashner b5d47a5a53 gnu: gnupg: Update to 1.4.20.
* gnu/packages/gnupg.scm (gnupg-1): Update to 1.4.20.
2015-12-20 20:07:31 +02:00
宋文武 a4df575631 gnu: Add gnome-shell.
* gnu/packages/gnome.scm (gnome-shell): New variable.
2015-12-20 18:59:22 +08:00
宋文武 b645146f00 gnu: Add gnome-control-center.
* gnu/packages/gnome.scm (gnome-control-center): New variable.
2015-12-20 18:59:22 +08:00
宋文武 b96c42605b gnu: Add gnome-bluetooth.
* gnu/packages/gnome.scm (gnome-bluetooth): New variable.
2015-12-20 18:59:22 +08:00
宋文武 8e1dd04f45 gnu: Add libgtop.
* gnu/packages/gnome.scm (libgtop): New variable.
2015-12-20 18:59:21 +08:00
宋文武 e682327976 gnu: Add colord-gtk.
* gnu/packages/freedesktop.scm (colord-gtk): New variable.
2015-12-20 18:59:21 +08:00
宋文武 6976e7d2ff gnu: Add telepathy-logger.
* gnu/packages/freedesktop.scm (telepathy-logger): New variable.
2015-12-20 18:59:21 +08:00
Efraim Flashner ff80b96378 gnu: tilda: Update to 1.3.1.
* gnu/packages/terminals.scm (tilda): Update to 1.3.1.
2015-12-20 09:40:56 +02:00
Ludovic Courtès 604d20a251 gnu: Add tlsdate.
* gnu/packages/ntp.scm (tlsdate): New variable.
2015-12-19 23:16:18 +01:00
宋文武 04dc6c9992 gnu: mpv: Update to 0.14.0.
* gnu/packages/video.scm (mpv): Update to 0.14.0.
2015-12-19 12:21:59 +08:00
宋文武 599fd84227 gnu: mpv: Fix build by using pkg-config for smbclient.
This is a followup to commit 710964d.

* gnu/packages/video.scm (mpv)[arguments]: Remove 'patch-wscript' phase.
2015-12-19 12:15:59 +08:00
Ludovic Courtès 7db0799dc9 gnu: agg: Update URLs.
* gnu/packages/graphics.scm (agg)[source, home-page]: Add up-to-date
URLs.
2015-12-19 00:42:10 +01:00
Ludovic Courtès 3ac732715d gnu: Use #:prefix when importing (guix licenses).
This works around a problem with #:hide, whereby Guile would report
'zlib', 'openssl', and/or 'expat as colliding bindings at run time
despite the #:hide.

* gnu/packages/linux.scm: Use #:prefix license for (guix licenses).
* gnu/packages/haskell.scm: Likewise.
2015-12-19 00:34:00 +01:00
Ludovic Courtès 793bcc1933 gnu: Do not #:select from (gnu packages …) modules.
This is to avoid <http://bugs.gnu.org/15540>.

* gnu/packages/bittorrent.scm: Do not #:select from (gnu packages
compression).
* gnu/packages/dictionaries.scm: Likewise.
* gnu/packages/disk.scm: Likewise.
* gnu/packages/gimp.scm: Likewise.
* gnu/packages/haskell.scm: Likewise.
2015-12-19 00:22:42 +01:00
Ludovic Courtès 53088d0045 gnu: commencement: Build Bison deterministically.
Before that entries in liby.a would contain the build time.

* gnu/packages/commencement.scm (bison-boot1): Add #:make-flags.
2015-12-19 00:02:37 +01:00
Ludovic Courtès 3eb34c631a build-system/gnu: Always pass "-D" to strip/objcopy.
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Add "-D" to
  #:strip-flags.
* guix/build/gnu-build-system.scm (strip): Likewise.  Also pass "-D" to
  OBJCOPY-COMMAND.
2015-12-18 23:58:51 +01:00
Ludovic Courtès f1e0c85ad2 gnu: commencement: Build the final Bash with "bison-boot1".
This removes a round of Bison + Flex + M4 + Perl rebuild.

* gnu/packages/commencement.scm (bash-final): Add 'native-inputs'
field pointing to BISON-BOOT1.
2015-12-18 23:57:11 +01:00
Ludovic Courtès 32243bfb57 gnu: commencement: Avoid redundant Perl rebuild.
This removes a redundant (yet different) "perl-boot0" node from the
early derivation graph.

* gnu/packages/commencement.scm (bison-boot1): Move 'native-inputs'
field to the final package.  Previously PERL-BOOT0 got rebuilt with
%BOOT0-INPUTS, leading to a different derivation.
(static-bash-for-glibc): Likewise.
2015-12-18 23:53:00 +01:00
Ludovic Courtès 09964b4fc6 gnu: commencement: Add "-boot0" to early packages.
* gnu/packages/commencement.scm (diffutils-boot0)[name]: New field.
* gnu/packages/commencement.scm (findutils-boot0, file-boot0,
perl-boot0): Change 'name' field to include "-boot0".
2015-12-18 22:19:07 +01:00
Ludovic Courtès 009b53fd1c gnu: gcc: Prefer language-specific variables over 'CPATH'.
Suggested by Andy Wingo <wingo@igalia.com>.
Fixes <http://bugs.gnu.org/22186>.

* gnu/packages/gcc.scm (gcc-4.7)[native-search-paths]: Remove 'CPATH';
add 'C_INCLUDE_PATH' and 'CPLUS_INCLUDE_PATH' instead.
* gnu/packages/gcc.scm (custom-gcc): Add 'search-paths' parameter and
honor it.
(%generic-search-paths): New variable.
(gfortran-4.8, gfortran-4.9, gfortran, gfortran-5, gccgo-4.8): Pass
%GENERIC-SEARCH-PATHS to 'custom-gcc'.
(gcj)[native-search-paths]: New field.
(gcc-objc-4.8, gcc-objc++-4.8): Use 'OBJC_INCLUDE_PATH' and
'OBJCPLUS_INCLUDE_PATH', respectively.
2015-12-18 21:38:49 +01:00
Ludovic Courtès 8309c3899a gnu: commencement: Use GMP 6.0.0a for bootstrapping.
* gnu/packages/multiprecision.scm (gmp-6.0): New variable.
* gnu/packages/commencement.scm (gcc-boot0, gcc-final): Use it.
* gnu/packages/patches/gmp-arm-asm-nothumb.patch: New file, reinstated
from before e414a7d.
* gnu-system.am (dist_patch_DATA): Add it.
2015-12-18 18:38:22 +01:00
Ludovic Courtès bf46f74160 gnu: key-mon: Remove unnecessary propagated inputs.
* gnu/packages/key-mon.scm (key-mon)[propagated-inputs]: Rename to...
[inputs]: ... this.  Propagated was unnecessary since the 'key-mon'
program is wrapped.
2015-12-18 11:04:22 +01:00
Ludovic Courtès 594e7b479a gnu: python2-pygtk: Add "doc" output.
* gnu/packages/gtk.scm (python2-pygtk)[outputs]: New field.
[arguments]: Add 'set-gtk-doc-directory' phase.
2015-12-18 11:04:22 +01:00
Ludovic Courtès ae115bc75a gnu: python2-pygtk: Use 'modify-phases'.
* gnu/packages/gtk.scm (python2-pygtk)[arguments]: Use 'modify-phases'.
2015-12-18 11:04:22 +01:00
Ludovic Courtès be4fbbe01b gnu: gimp: Add "doc" output.
* gnu/packages/gimp.scm (gimp)[outputs, arguments]: New fields.
2015-12-18 11:04:22 +01:00
Ludovic Courtès 72a06d3e32 gnu: goffice: Add "doc" output.
* gnu/packages/gnome.scm (goffice)[outputs, arguments]: New fields.
(goffice-0.8)[arguments]: Append arguments from GOFFICE.
2015-12-18 11:04:22 +01:00
Andy Wingo d8c18af834 gnu: Add dovecot service
* gnu/services/mail.scm: New file.
(&dovecot-configuration-error, dovecot-configuration-error?)
(dovecot-service, dovecot-configuration, dict-configuration)
(passdb-configuration, userdb-configuration)
(unix-listener-configuration, fifo-listener-configuration)
(inet-listener-configuration, service-configuration)
(protocol-configuration, plugin-configuration, mailbox-configuration)
(namespace-configuration, opaque-dovecot-configuration): New public
variables.

* gnu-system.am (GNU_SYSTEM_MODULES): Add (gnu services mail).

* doc/guix.texi (Mail Services): New node.
2015-12-18 09:24:27 +01:00
Andy Wingo fd5c70f867 gnu: dovecot: Add linux-pam to inputs.
* gnu/packages/mail.scm (dovecot): Add linux-pam to inputs, enabling the
  PAM auth driver.
2015-12-18 09:24:27 +01:00
David Thompson 6a51e95b66 gnu: sdl-image: Add libwebp input.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Add libwebp.
2015-12-17 22:32:05 -05:00
David Thompson d3f6a1defb gnu: Add sdl2-ttf.
* gnu/packages/sdl.scm (sdl2-ttf): New variable.
2015-12-17 22:01:49 -05:00
David Thompson 855e293981 gnu: Add sdl2-mixer.
* gnu/packages/sdl.scm (sdl2-mixer): New variable.
2015-12-17 22:01:49 -05:00
David Thompson 6813f70a5c gnu: Add sdl2-image.
* gnu/packages/sdl.scm (propagated-inputs-with-sdl2): New procedure.
(sdl2-image): New variable.
2015-12-17 22:01:48 -05:00
宋文武 710964d179 gnu: samba: Update to 4.3.2.
* gnu/packages/samba.scm (samba): Update to 4.3.2.  Add more inputs.
[arguments]: Remove #:modules and #:imported-modules.  Remove 'chdir'
and 'add-lib-to-runpath' from #:phases.  Use 'modify-phases' syntax.
2015-12-18 10:30:17 +08:00
宋文武 52513595ad gnu: Add ldb.
* gnu/packages/samba.scm (ldb): New variable.
2015-12-18 10:30:17 +08:00
宋文武 0674b3c96d gnu: Add tevent.
* gnu/packages/samba.scm (tevent): New variable.
2015-12-18 10:30:17 +08:00
宋文武 095da02342 gnu: talloc: Update to 2.1.5.
* gnu/packages/samba.scm (talloc): Update to 2.1.5.
[arguments]: Modify wscript to skip the 'magic_differs' test.
2015-12-18 10:30:17 +08:00
宋文武 960ae0cde4 gnu: talloc: Use 'modify-phases' syntax.
* gnu/packages/samba.scm (talloc)[arguments]: Use 'modify-phases' syntax.
2015-12-18 10:30:17 +08:00
宋文武 c2fb20761a gnu: Add libpwquality.
* gnu/packages/password-utils.scm (libpwquality): New variable.
2015-12-18 10:30:16 +08:00
宋文武 72029c8bf1 gnu: Add cracklib.
* gnu/packages/password-utils.scm (cracklib): New variable.
2015-12-18 10:30:16 +08:00
David Thompson f464016d60 gnu: Add obs.
* gnu/packages/video.scm (obs): New variable.
2015-12-17 15:01:08 -05:00
Mark H Weaver 3faf214a0b gnu: icecat: Add fixes for several security flaws.
* gnu/packages/patches/icecat-CVE-2015-7201-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-7201-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-7201-pt3.patch,
  gnu/packages/patches/icecat-CVE-2015-7205.patch,
  gnu/packages/patches/icecat-CVE-2015-7210.patch,
  gnu/packages/patches/icecat-CVE-2015-7212.patch,
  gnu/packages/patches/icecat-CVE-2015-7213-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-7213-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-7214.patch,
  gnu/packages/patches/icecat-CVE-2015-7222-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-7222-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-7222-pt3.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patches.
2015-12-17 14:12:06 -05:00
Mark H Weaver cbbe1a1c2c gnu: subversion: Update to 1.8.15 [fixes CVE-2015-5343].
* gnu/packages/version-control.scm (subversion): Update to 1.8.15.
2015-12-17 14:12:06 -05:00
Ricardo Wurmus b809cc9add gnu: ruby-unf-ext: Build extension.
* gnu/packages/ruby.scm (ruby-unf-ext)[arguments]: Add phase "build-ext"
  to build "unf_ext.so".
2015-12-17 14:26:21 +01:00
Eric Bavier 44157e9f3c gnu: Add cpulimit.
* gnu/packages/admin.scm (cpulimit): New variable.
2015-12-16 20:57:51 -06:00
Ludovic Courtès c5b65f7e2b gnu: glibc: Remove timestamp from 'nscd' binary.
This makes libc bit-for-bit reproducible per '--rounds=2'.

* gnu/packages/base.scm (glibc)[arguments] <pre-configure>: Remove
__DATE__ and __TIME__ from nscd_stat.c.
2015-12-16 22:05:30 +01:00
Mark H Weaver 8ae95578a7 gnu: linux-libre: Update to 4.3.3.
* gnu/packages/linux.scm (linux-libre): Update to 4.3.3.
2015-12-16 10:47:15 -05:00
Ludovic Courtès 6042f40bfa gnu: pcre: Add "doc" output.
* gnu/packages/pcre.scm (pcre)[outputs]: New field.
2015-12-15 23:35:09 +01:00
Ludovic Courtès 0573bb5e61 gnu: util-linux: Do not build static libraries.
* gnu/packages/linux.scm (util-linux)[arguments]: Pass --disable-static.
2015-12-15 23:28:29 +01:00
Ludovic Courtès d7170f449c gnu: gettext: Add "doc" output.
* gnu/packages/gettext.scm (gnu-gettext)[outputs]: New field.
2015-12-15 23:12:20 +01:00
Ludovic Courtès 27ec9624ca gnu: ncurses: Add "doc" output.
* gnu/packages/ncurses.scm (ncurses)[outputs]: New field.
[arguments] <configure>: Replace standard 'configure' phase.
<remove-shebang-phase>: Remove "mandir=" line from 'ncursesw6-config'.
2015-12-15 23:02:51 +01:00
Ludovic Courtès de6d9f4553 gnu: ncurses: Add 'TERMINFO_DIRS' search path variable.
* gnu/packages/ncurses.scm (ncurses)[native-search-paths]: New field.
2015-12-15 22:27:31 +01:00
Ludovic Courtès 4d28b97c46 gnu: bash: Add "doc" output.
* gnu/packages/bash.scm (bash)[outputs]: Add "doc" output.
2015-12-15 22:22:59 +01:00
Alex Kost 1ccdc7f0be emacs: Use socket instead of port.
Suggested by Florian Paul Schmidt.

* emacs/guix-backend.el (guix-default-port): Remove.
  (guix-repl-socket-file-name-function, guix-repl-current-socket): New
  variables.
  (guix-repl-socket-file-name, guix-repl-delete-socket-maybe): New
  procedures.
  (guix-get-guile-program): Take socket as an optional argument.
  (guix-start-repl-maybe): Adjust accordingly.
2015-12-15 21:35:35 +03:00
Alex Kost 7ccb3ad3c1 emacs: 'node-type' is in (guix graph) now.
This is a followup to commit 8fb583714f.

* emacs/guix-main.scm (graph-type-names): Use 'node-type-name'
  from (guix graph) module.
2015-12-15 21:35:35 +03:00
Federico Beffa fceac88039 gnu: python-ipython: Patch 'ctypes' bug.
* gnu/packages/patches/python-ipython-inputhook-ctype.patch: New patch.
* gnu/packages/python.scm (python-ipython): Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-12-15 18:05:42 +01:00
Ludovic Courtès 304e4f5135 gnu: grep: Add missing dependency on Perl.
* gnu/packages/base.scm (grep)[native-inputs]: New field.
* gnu/packages/commencement.scm (grep-final): Likewise.
2015-12-15 18:04:28 +01:00
Ludovic Courtès a2a9bba43c gnu: bash: Update to patch level 42.
* gnu/packages/bash.scm (%patch-series-4.3): Add patches 40 to 42.
2015-12-15 17:59:49 +01:00
Efraim Flashner 5bd88cf1e3 gnu: python-click: Update to 6.2.
* gnu/packages/python.scm (python-click): Update to 6.2.
[source]: Change to pypi syntax.
2015-12-15 18:31:13 +02:00
Efraim Flashner 664e6c3a95 gnu: python-keyring: Update to 5.7.1.
* gnu/packages/python.scm (python-keyring): Update to 5.7.1.
[source]: Change to pypi syntax.
[native-inputs]: Add python-setuptools-scm.
[arguments]: Remove argument to replace unpack with unzip.
2015-12-15 18:31:13 +02:00
宋文武 ba3cb5ab5c gnu: gnome-session: Add input gsettings-desktop-schemas.
* gnu/packages/gnome.scm (gnome-session)[build-system]: Switch to
  GLIB-OR-GTK-BUILD-SYSTEM.
[inputs]: Add gsettings-desktop-schemas.
2015-12-15 21:44:03 +08:00
宋文武 9a3a8b8edd gnu: clutter-gtk: Propagate inputs.
* gnu/packages/gnome.scm (clutter-gtk): Move clutter and gtk+ to 'propagated-inputs'.
2015-12-15 21:42:02 +08:00
宋文武 ca473fc21d gnu: tdb: Update to 1.3.8.
* gnu/packages/databases.scm (tdb): Update to 1.3.8.
[source]: Switch to https URI.
2015-12-15 21:16:42 +08:00
Alex Vong 2ad9515c50 gnu: youtube-dl: Install man pages and completion files.
* gnu/packages/video.scm (youtube-dl) [arguments]: Add
fix-the-data-directories phase.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-12-15 13:45:20 +01:00
Ludovic Courtès e0508b6bf7 doc: Give another example use of 'propagated-inputs'.
Suggested by Leo Famulari <leo@famulari.name>.

* doc/guix.texi (package Reference): Explain 'propagated-inputs' for
non-C languages.
2015-12-15 13:43:27 +01:00
Efraim Flashner 75f52fca95 gnu: enlightenment: Update to 0.20.1.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.20.1.
2015-12-15 11:45:44 +02:00
Leo Famulari a036e59da7 gnu: tmux: Update to 2.1.
* gnu/packages/tmux.scm (tmux): Update to 2.1.
2015-12-14 23:23:00 -05:00
Ludovic Courtès 9d3994f700 gexp: 'local-file' resolves relative file names.
* guix/gexp.scm (<local-file>): Rename constructor to '%%local-file'.
Add 'absolute' field.
(%local-file, extract-directory, absolute-file-name): New procedures.
(current-source-directory): New macro.
(local-file): Adjust call to '%local-file'.
(local-file-absolute-file-name): New procedure.
(local-file-compiler): Force the 'absolute' field.
* tests/guix-system.sh: Test whether 'local-file' canonicalization
works.
* doc/guix.texi (G-Expressions): Adjust.
2015-12-14 19:57:42 +01:00
Ludovic Courtès 4fef1e850e profiles: Silence Info installation.
* guix/profiles.scm (info-dir-file)[build]: Pass --silent to
'install-info'.
2015-12-14 19:57:42 +01:00
Ricardo Wurmus 0c4e762570 gnu: Add ruby-redcloth.
* gnu/packages/ruby.scm (ruby-redcloth): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus d56ff88b6c gnu: Add ruby-sanitize.
* gnu/packages/ruby.scm (ruby-sanitize): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus ac09beba84 gnu: Add ruby-pygmentize.
* gnu/packages/ruby.scm (ruby-pygmentize): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 0c80451e81 gnu: Add ruby-cutest.
* gnu/packages/ruby.scm (ruby-cutest): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus ad686ef3fc gnu: Add ruby-clap.
* gnu/packages/ruby.scm (ruby-clap): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus c2c4e5b2ee gnu: Add ruby-nokogumbo.
* gnu/packages/ruby.scm (ruby-nokogumbo): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus e1c63590ef gnu: Add Gumbo Parser.
* gnu/packages/web.scm (gumbo-parser): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 3996f0aadc gnu: Add ruby-crass.
* gnu/packages/ruby.scm (ruby-crass): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus f60f500222 gnu: Add ruby-nokogiri-diff.
* gnu/packages/ruby.scm (ruby-nokogiri-diff): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 2632a06712 gnu: Add ruby-tdiff.
* gnu/packages/ruby.scm (ruby-tdiff): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 3a6989ce3a gnu: Add ruby-unf-ext.
* gnu/packages/ruby.scm (ruby-unf-ext): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 5799bc2b1f gnu: Add ruby-netrc.
* gnu/packages/ruby.scm (ruby-netrc): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 051deeb79d gnu: Add ruby-guard.
* gnu/packages/ruby.scm (ruby-guard): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus cf1a01f48c gnu: ruby-listen: Add rb-fsevent to inputs.
* gnu/packages/ruby.scm (ruby-listen)[propagated-inputs]: Add
  "ruby-rb-fsevent".
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 16b324cdf4 gnu: Add ruby-rb-fsevent.
* gnu/packages/ruby.scm (ruby-rb-fsevent): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus b004fb6a8a gnu: Add ruby-saikuro-treemap.
* gnu/packages/ruby.scm (ruby-saikuro-treemap): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 763624f566 gnu: Add ruby-json-pure.
* gnu/packages/ruby.scm (ruby-json-pure): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 53239b5f96 gnu: Add ruby-utils.
* gnu/packages/ruby.scm (ruby-utils): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 6e376ca46a gnu: Add ruby-pstree.
* gnu/packages/ruby.scm (ruby-pstree): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus fd83a212bc gnu: Add ruby-term-ansicolor.
* gnu/packages/ruby.scm (ruby-term-ansicolor): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus d8cafe29df gnu: Add ruby-minitest-tu-shim.
* gnu/packages/ruby.scm (ruby-minitest-tu-shim): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus bc8277e458 gnu: Add ruby-gem-hadar.
* gnu/packages/ruby.scm (ruby-gem-hadar): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 1db6e09fa9 gnu: Add ruby-minitest-4.
* gnu/packages/ruby.scm (ruby-minitest-4): New variable.
2015-12-14 14:06:29 +01:00
Efraim Flashner 9c1c2a7f8d gnu: bluez: Update to 5.36.
* gnu/packages/linux.scm (bluez): Update to 5.36.
[source]: Remove patch.
* gnu/packages/patches/bluez-tests.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
2015-12-14 11:06:20 +02:00
Efraim Flashner ebacb0de4c gnu: powertop: Update to 2.8.
* gnu/packages/linux.scm (powertop): Update to 2.8.
2015-12-14 11:06:20 +02:00
Chris Marusich 03f964a511 gnu: Add python-contextlib2.
* gnu/packages/python.scm (python-contextlib2, python2-contextlib2):
  New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-12-14 09:43:24 +01:00
Efraim Flashner b431e3a08d gnu: gcc-5: Update to 5.3.0.
* gnu/packages/gcc.scm (gcc-5): Update to 5.3.0.
2015-12-14 07:32:01 +02:00
Florian Paul Schmidt 6645753b46 gnu: Add redshift.
* gnu/packages/xdisorg.scm (redshift): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-12-14 00:31:36 +01:00
Ludovic Courtès 88d5858f55 graph: Add synthetic test.
* tests/graph.scm ("node-transitive-edges, no duplicates"): New test.
2015-12-13 21:41:52 +01:00
Ludovic Courtès 20464dde13 guix build: Gracefully handle type errors in -e and -f.
* guix/scripts/build.scm (options->things-to-build)[validate-type]: New
procedure.
[ensure-list]: Use it.
2015-12-13 21:13:16 +01:00
Ludovic Courtès ee2a7e3fd2 guix build: Remove dead code.
* guix/scripts/build.scm (options->things-to-build): Remove unused
'match' clause.
2015-12-13 21:04:56 +01:00
Ludovic Courtès ecf84b7c48 daemon: Add '--rounds'.
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_BUILD_ROUNDS): New macro.
(options): Add --rounds.
(parse_opt): Honor it.
* doc/guix.texi (Invoking guix-daemon): Document it.
2015-12-13 19:20:01 +01:00
Eelco Dolstra f3ff1da424 daemon: Better distinguish build statuses.
In Nix itself, the new 'BuildResult' type is returned by the new
'buildDerivation' method, which we don't have and need.

* nix/libstore/build.cc (Goal)[cancel]: Remove.
[timeOut]: New pure virtual method.
(DerivationGoal)[result]: New field.
[cancel]: Remove.
[timedOut, getResult, done]: New methods.
(DerivationGoal::cancel): Remove.
(DerivationGoal::timedOut): New method.
(DerivationGoal::haveDerivation): Call 'done' instead of 'amDone'.
(DerivationGoal::outputsSubstituted): Ditto.
(DerivationGoal::inputsRealised): Ditto.
(DerivationGoal::buildDone): Ditto.
(DerivationGoal::handleChildOutput): Call 'timedOut' instead of
'cancel'.
(DerivationGoal::done): New method.
(SubstitutionGoal)[cancel]: Remove.
[timedOut]: New method.
(SubstitutionGoal::cancel): Remove.
(SubstitutionGoal::timedOut): New method.
(Worker::waitForInput): Use it.
* nix/libstore/store-api.hh (BuildResult): New struct.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-12-13 19:20:01 +01:00
宋文武 1509a1dc82 gnu: Add modem-manager.
* gnu/packages/freedesktop.scm (modem-manager): New variable.
2015-12-13 23:26:28 +08:00
宋文武 5302c5ffd1 gnu: Add libqmi.
* gnu/packages/freedesktop.scm (libqmi): New variable.
2015-12-13 23:26:28 +08:00
宋文武 f3ad149057 gnu: Add libmbim.
* gnu/packages/freedesktop.scm (libmbim): New variable.
2015-12-13 23:26:28 +08:00
宋文武 df12f04a0c gnu: Add gdm.
* gnu/packages/gnome.scm (gdm): New variable.
2015-12-13 23:26:28 +08:00
Amirouche BOUBEKKI dec1e2b352 gnu: Add g-wrap.
* gnu/packages/guile.scm (g-wrap): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-12-13 15:20:44 +01:00
Ludovic Courtès 5568151f5b gnu: wireless-regdb: Build sequentially.
Fixes <http://bugs.gnu.org/22126>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/linux.scm (wireless-regdb)[source]: Add 'snippet'.
[arguments]: Add #:parallel-build?.
2015-12-13 15:20:44 +01:00
Ludovic Courtès 70650c684a doc: Reword description of 'inputs' & co.
* doc/guix.texi (package Reference): Reword explanation of 'inputs',
'native-inputs', and 'propagated-inputs'.  Add example.
2015-12-13 15:20:44 +01:00
Ludovic Courtès f7e4ae7f45 doc: Fix typo in "Setuid Programs".
* doc/guix.texi (Setuid Programs): Remove extra 's'.
2015-12-13 15:20:44 +01:00
Efraim Flashner b1b9ca8e01 gnu: adwaita-icon-theme: Update to 3.18.0.
* gnu/packages/gnome.scm (adwaita-icon-theme): Update to 3.18.0.
2015-12-13 14:19:06 +02:00
Efraim Flashner 5d73ac0688 gnu: eog: Update to 3.18.1.
* gnu/packages/gnome.scm (eog): Update to 3.18.1.
2015-12-13 13:51:13 +02:00
Efraim Flashner 3acae17019 gnu: devhelp: Update to 3.18.1.
* gnu/packages/gnome.scm (devhelp): Update to 3.18.1.
2015-12-13 13:40:30 +02:00
Efraim Flashner bcff53e03f gnu: aisleriot: Update to 3.18.2.
* gnu/packages/gnome.scm (aisleriot): Update to 3.18.2.
2015-12-13 13:35:11 +02:00
Efraim Flashner daee4191e1 gnu: gnome-mines: Update to 3.18.2.
* gnu/packages/gnome.scm (gnome-mines): Update to 3.18.2.
2015-12-13 13:18:57 +02:00
Efraim Flashner 34b979b903 gnu: seahorse: Add support for keyservers, gnupg2 and ldap.
* gnu/packages/gnome.scm (seahorse): Do it.
[inputs]: Remove gnupg-1, add gnupg, openldap, libsoup.
2015-12-13 13:02:14 +02:00
Efraim Flashner 017d779c22 gnu: seahorse: Update to 3.18.0.
* gnu/packages/gnome.scm (seahorse): Update to 3.18.0.
2015-12-13 13:00:08 +02:00
Efraim Flashner 2e221beed5 gnu: gnome-terminal: Update to 3.18.2.
* gnu/packages/gnome.scm (gnome-terminal): Update to 3.18.2.
2015-12-13 12:40:04 +02:00
Ludovic Courtès 775e6fe456 gnu: commencement: Initial Texinfo uses initial Perl.
* gnu/packages/commencement.scm (texinfo-boot0)[inputs]: Use
PERL-BOOT0.
2015-12-13 11:35:53 +01:00
Efraim Flashner 1a0b2d8241 gnu: gnome-keyring: Update to 3.18.3.
* gnu/packages/gnome.scm (gnome-keyring): Update to 3.18.3.
[inputs]: Add linux-pam.
2015-12-13 12:34:29 +02:00
Ludovic Courtès 4187fe750f gnu: perl: Build deterministically, and make byproducts deterministic.
With this, a --rounds=2 build passes, and timestamps in POD files can be
controlled with 'SOURCE_DATE_EPOCH'.

* gnu/packages/patches/perl-deterministic-ordering.patch,
gnu/packages/patches/perl-no-build-time.patch,
gnu/packages/patches/perl-source-date-epoch.patch: New files.
* gnu/packages/perl.scm (perl)[source]: Use them.
* gnu-system.am (dist_patch_DATA): Add them.
2015-12-13 11:28:54 +01:00
Ludovic Courtès 4de3507483 gnu: perl: Update to 5.22.0.
* gnu/packages/perl.scm (perl)[source]: Update to 5.22.0.  Remove
"perl-module-pluggable-search.patch" since Module::Pluggable appears to
be gone.
[arguments] <configure-phase>: Adjust Cwd.pm file name.  Replace
-std=c89 with -std=gnu89.
* gnu/packages/commencement.scm (perl-boot0): Add 'disable-pthreads'
phase.
* gnu/packages/patches/perl-no-sys-dirs.patch: Update.
* gnu/packages/patches/perl-module-pluggable-search.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
2015-12-13 11:28:54 +01:00
Efraim Flashner e0b6e26403 gnu: gnome-klotski: Update to 3.18.2.
* gnu/packages/gnome.scm (gnome-klotski): Update to 3.18.2.
2015-12-13 12:24:47 +02:00
Efraim Flashner af83490d7e gnu: gnome-common: Update to 3.18.0.
* gnu/packages/gnome.scm (gnome-common): Update to 3.18.0.
2015-12-13 12:21:15 +02:00
Efraim Flashner 506959552f gnu: yelp-tools: Update to 3.18.0.
* gnu/packages/gnome.scm (yelp-tools): Update to 3.18.0.
2015-12-13 12:16:38 +02:00
Efraim Flashner ccdb0181c1 gnu: yelp-xsl: Update to 3.18.1.
* gnu/packages/gnome.scm (yelp-xsl): Update to 3.18.1.
2015-12-13 12:12:46 +02:00
Efraim Flashner 9bffc630cf gnu: file-roller: Update to 3.16.4.
* gnu/packages/gnome.scm (file-roller): Update to 3.16.4.
2015-12-13 12:03:03 +02:00
Efraim Flashner d45d35288e gnu: gnome-settings-daemon: Update to 3.18.2.
* gnu/packages/gnome.scm (gnome-settings-daemon): Update to 3.18.2.
2015-12-13 10:58:35 +02:00
Efraim Flashner 6d320ca693 gnu: geocode-glib: Update to 3.18.0.
* gnu/packages/gnome.scm (geocode-glib): Update to 3.18.0.
2015-12-13 10:38:34 +02:00
Efraim Flashner f05c809f8f gnu: dconf: Update to 0.24.0.
* gnu/packages/gnome.scm (dconf): Update to 0.24.0.
2015-12-13 10:24:16 +02:00
Efraim Flashner c0925c7a29 gnu: totem: Update to 3.18.1.
* gnu/packages/gnome.scm (totem): Update to 3.18.1.
2015-12-13 10:10:10 +02:00
Efraim Flashner 47b7d7bf98 gnu: grilo-plugins: Update to 0.2.16.
* gnu/packages/gnome.scm (grilo-plugins): Update to 0.2.16.
2015-12-13 08:06:42 +02:00
Efraim Flashner c725dc4da1 gnu: grilo: Update to 0.2.14.
* gnu/packages/gnome.scm (grilo): Update to 0.2.14.
2015-12-13 07:38:31 +02:00
Efraim Flashner c79595178c gnu: clutter-gst: Update to 3.0.14.
* gnu/packages/gnome.scm (clutter-gst): Update to 3.0.14.
2015-12-13 07:21:03 +02:00
Efraim Flashner b6b53a874d gnu: libchamplain: Update to 0.12.12.
* gnu/packages/gnome.scm (libchamplain): Update to 0.12.12.
2015-12-13 06:58:50 +02:00
Efraim Flashner f0b0a5de87 gnu: clutter-gtk: Update to 1.6.6.
* gnu/packages/gnome.scm (clutter-gtk): Update to 1.6.6.
2015-12-12 23:22:03 +02:00
Efraim Flashner 5021f9d340 gnu: owncloud-client: Update to 2.1.0.
* gnu/packages/owncloud.scm (owncloud-client): Update to 2.1.0.
2015-12-12 22:52:48 +02:00
Andreas Enge 4165fda29d gnu: gmp: Disable parallel tests.
* gnu/packages/multiprecision.scm (gmp)[arguments]: Disable parallel tests.
2015-12-12 14:40:37 +01:00
Ludovic Courtès 7dda44a6b9 build: Add missing patches to the distribution.
* gnu-system.am (dist_patch_DATA): Add glibc-hurd-extern-inline.patch
and plink-1.07-unclobber-i.patch.
2015-12-12 11:50:59 +01:00
Ludovic Courtès e82e55e58c Merge branch 'master' into core-updates 2015-12-12 11:48:46 +01:00
Andreas Enge e35dff9733 gnu: numactl: Update to 2.0.11.
* gnu/packages/linux.scm (numactl)[source]: Update to 2.0.11.
  [native-inputs]: Drop autotools.
  [arguments]: Drop phase calling autogen.sh.
2015-12-12 10:20:30 +01:00
Mark H Weaver 798697f673 gnu: wget: Update to 1.17.1.
* gnu/packages/wget.scm (wget): Update to 1.17.1.
2015-12-11 18:31:50 -05:00
Ludovic Courtès 98bd851ee8 gnu: gcc: Use the system zlib.
* gnu/packages/gcc.scm (gcc-4.7) <configure-flags>: Pass
'--with-system-zlib'.
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Remove
'--with-system-zlib' from the configure flags.
* gnu/packages/commencement.scm (zlib-final): New variable.
(gcc-final)[arguments]: Add ZLIB-FINAL to #:allowed-references.
Pass -L and -Wl,-rpath for zlib in LDFLAGS, as a configure flag.
[inputs]: Add LD-WRAPPER-BOOT3 and ZLIB-FINAL.
2015-12-11 23:49:10 +01:00
Ludovic Courtès 52cfd8cb54 gnu: gcc-final: Remove unnecessary CPPFLAGS.
* gnu/packages/commencement.scm (gcc-final)[arguments]: Remove
unnecessary CPPFLAGS from #:make-flags.
2015-12-11 23:42:39 +01:00
Ricardo Wurmus f7f55db8f6 gnu: Move sparsehash to datastructures module.
* gnu/packages/crypto.scm (sparsehash): Move variable to...
* gnu/packages/datastructures.scm: ...new file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-12-11 15:59:20 +01:00
Ricardo Wurmus ca3476cd6c gnu: Add r-lattice.
* gnu/packages/statistics.scm (r-lattice): New variable.
2015-12-11 15:44:07 +01:00
Ricardo Wurmus 2a40f76389 gnu: Add r-gridbase.
* gnu/packages/statistics.scm (r-gridbase): New variable.
2015-12-11 15:44:07 +01:00
Ricardo Wurmus 60a9d3d0ac gnu: Add r-plotrix.
* gnu/packages/statistics.scm (r-plotrix): New variable.
2015-12-11 15:44:07 +01:00
Ricardo Wurmus 03af370f6e gnu: Add r-readr.
* gnu/packages/statistics.scm (r-readr): New variable.
2015-12-11 15:44:07 +01:00
Ricardo Wurmus 62141c07f7 gnu: Rename r-data.table to r-data-table.
* gnu/packages/statistics.scm (r-data.table): Rename variable ...
(r-data-table): ... to this.
[description]: Clarify relation to data.frame.
[license]: Use correct license.
2015-12-11 15:44:07 +01:00
Ricardo Wurmus 0f6b9e9828 import: cran: Parse DESCRIPTION instead of HTML.
* guix/import/cran.scm (description->alist, listify,
  beautify-description, description->package): New procedures.
(table-datum, downloads->url, nodes->text, cran-sxml->sexp): Remove
proceduces.
(latest-release): Use parsed DESCRIPTION instead of SXML.
* tests/cran.scm: Rewrite to match importer.
2015-12-11 15:35:07 +01:00
Ricardo Wurmus b6a222757b import: cran: Match more license strings.
* guix/import/cran.scm (string->license): Match more license strings to
  license symbols.
2015-12-11 15:35:07 +01:00
Ben Woodcroft 5f7e17bef7 gnu: Add snap-aligner.
* gnu/packages/bioinformatics.scm (snap-aligner): New variable.
2015-12-11 14:34:51 +01:00
Efraim Flashner 9a41f4439d gnu: python-certifi: Update to 2015.11.20.1.
* gnu/packages/python.scm (python-certifi): Update to 2015.11.20.1.
[source]: Change to pypi syntax.
2015-12-11 15:12:39 +02:00
Efraim Flashner 2e4c54573f gnu: gnumeric: Add python scripting support.
* gnu/packages/gnome.scm (gnumeric): Do it.
[inputs]: Add python2, python2-pygobject-2.
2015-12-11 14:18:10 +02:00
Efraim Flashner 7bcbd40dc8 gnu: gnumeric: Update to 1.12.24.
* gnu/packages/gnome.scm (gnumeric): Update to 1.12.24.
[inputs]: Add librsvg, libxslt.
[arguments]: Use "modify-phases" syntax.
2015-12-11 14:18:10 +02:00
Efraim Flashner 8cabd349b4 gnu: goffice: Update to 0.10.24.
* gnu/packages/gnome.scm (goffice): Update to 0.10.24.
2015-12-11 14:18:10 +02:00
Efraim Flashner 24a78aa600 gnu: gvfs: Update to 1.26.2.
* gnu/packages/gnome.scm (gvfs): Update to 1.26.2.
[inputs]: Add gcr.
2015-12-11 14:18:10 +02:00
Alex Kost 98f4a9004b emacs: Handle compiled autoloads.
* emacs/guix-emacs.el (guix-emacs-autoloads-regexp): New variable.
  (guix-emacs-find-autoloads-in-directory): Return a list of autoloads
  without extensions.
2015-12-11 14:34:03 +03:00
Mark H Weaver 7534370435 gnu: linux-libre: Update to 4.3.2.
* gnu/packages/linux.scm (linux-libre): Update to 4.3.2.
  [native-inputs]: Add openssl.
* gnu/packages/linux-libre-x86_64.conf,
  gnu/packages/linux-libre-i686.conf: Update for 4.3.x,
  based on <https://jxself.org/git/kernel-configs.git>.
2015-12-11 00:30:38 -05:00
Efraim Flashner 5d69165797 gnu: python-requests: Update to 2.8.1.
* gnu/packages/python.scm (python-requests): Update to 2.8.1.
[native-inputs]: Move python-setuptools here.
[inputs]: Remove python-certifi.
[propagated-inputs]: Add python-py, python-pytest, python-pytest-cov,
python-wheel.
[arguments]: Enable tests.
2015-12-10 20:24:11 +02:00
Efraim Flashner addc808ddc gnu: Add python-wheel.
* gnu/packages/python.scm (python-wheel, python2-wheel): New variables.
2015-12-10 20:24:11 +02:00
Efraim Flashner 358c3d612b gnu: Add python-pytest-cov.
* gnu/packages/python.scm (python-pytest-cov, python2-pytest-cov): New
variables.
2015-12-10 20:24:11 +02:00
Roel Janssen e522d84035 gnu: Add libconfig.
* gnu/packages/textutils.scm (libconfig): New variable.
2015-12-10 16:27:50 +01:00
Efraim Flashner b01bbbcf3d gnu: python-pytz: Update to 2015.7.
* gnu/packages/python.scm (python-pytz): Update to 2015.7.
[source]: Change uri to pypi's location.
[home-page]: Change to new website.
[license]: Change to expat.
2015-12-10 16:09:16 +02:00
Ricardo Wurmus 16414017f3 gnu: ghc-cryptonite: Update description.
* gnu/packages/haskell.scm (ghc-cryptonite)[description]: Shorten overly
  technical package description.
2015-12-10 14:40:18 +01:00
Ben Woodcroft e815c094f7 gnu: python-biopython, python2-biopython: Update to 1.66.
* gnu/packages/bioinformatics.scm (python-biopython, python2-biopython): Update to 1.66.
[source]: Use PyPi instead of biopython.org.
2015-12-10 14:35:56 +01:00
Ricardo Wurmus 85538709f1 gnu: Add ghc-pandoc.
* gnu/packages/haskell.scm (ghc-pandoc): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus ac2607a0ce gnu: Add ghc-http-client-tls.
* gnu/packages/haskell.scm (ghc-http-client-tls): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 86dd2ce0b2 gnu: Add ghc-connection.
* gnu/packages/haskell.scm (ghc-connection): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus dcc5cf1d41 gnu: Add ghc-socks.
* gnu/packages/haskell.scm (ghc-socks): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 4f7f06e1a2 gnu: Add ghc-tls.
* gnu/packages/haskell.scm (ghc-tls): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus f664cbb3bf gnu: Add ghc-x509-system.
* gnu/packages/haskell.scm (ghc-x509-system): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 1c649948c9 gnu: Add ghc-x509-validation.
* gnu/packages/haskell.scm (ghc-x509-validation): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 282f11420b gnu: Add ghc-x509-store.
* gnu/packages/haskell.scm (ghc-x509-store): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus e24e053eda gnu: Add ghc-x509.
* gnu/packages/haskell.scm (ghc-x509): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 4dc2deb920 gnu: Add ghc-memory.
* gnu/packages/haskell.scm (ghc-memory): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 2763952b9c gnu: Add ghc-cryptonite.
* gnu/packages/haskell.scm (ghc-cryptonite): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 76e2fa7529 gnu: Add ghc-tasty-kat.
* gnu/packages/haskell.scm (ghc-tasty-kat): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 9d3c5d3859 gnu: Add ghc-asn1-parse.
* gnu/packages/haskell.scm (ghc-asn1-parse): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 8078327341 gnu: Add ghc-asn1-encoding.
* gnu/packages/haskell.scm (ghc-asn1-encoding): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus d4ce416a5c gnu: Add ghc-asn1-types.
* gnu/packages/haskell.scm (ghc-asn1-types): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus ed8924c0d7 gnu: Add ghc-pem.
* gnu/packages/haskell.scm (ghc-pem): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 45813e67e0 gnu: Add ghc-hourglass.
* gnu/packages/haskell.scm (ghc-hourglass): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 51c05fcf20 gnu: Add ghc-byteable.
* gnu/packages/haskell.scm (ghc-byteable): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus c3cb9fa67c gnu: Add ghc-http-client.
* gnu/packages/haskell.scm (ghc-http-client): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus b12d4f23e0 gnu: Add ghc-mime-types.
* gnu/packages/haskell.scm (ghc-mime-types): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus ac5d633a96 gnu: Add ghc-hslua.
* gnu/packages/haskell.scm (ghc-hslua): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 27f3949086 gnu: Add ghc-sha.
* gnu/packages/haskell.scm (ghc-sha): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 12676ce8be gnu: Add ghc-juicypixels.
* gnu/packages/haskell.scm (ghc-juicypixels): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 348519e1bf gnu: Add ghc-mmap.
* gnu/packages/haskell.scm (ghc-mmap): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus fcacbec34e gnu: Add ghc-filemanip.
* gnu/packages/haskell.scm (ghc-filemanip): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 132133c1ae gnu: Add ghc-yaml.
* gnu/packages/haskell.scm (ghc-yaml): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 9efdbb72af gnu: Add ghc-mockery.
* gnu/packages/haskell.scm (ghc-mockery): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 1c17529fd5 gnu: Add ghc-logging-facade.
* gnu/packages/haskell.scm (ghc-logging-facade): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus b55630a3a8 gnu: Add ghc-conduit.
* gnu/packages/haskell.scm (ghc-conduit): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 1300634bf1 gnu: Add ghc-hspec-contrib.
* gnu/packages/haskell.scm (ghc-hspec-contrib): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus cb31771f84 gnu: Add ghc-aeson-qq.
* gnu/packages/haskell.scm (ghc-aeson-qq): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 3611fc7bff gnu: Add ghc-haskell-src-meta.
* gnu/packages/haskell.scm (ghc-haskell-src-meta): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 2e67725150 gnu: Add ghc-th-orphans.
* gnu/packages/haskell.scm (ghc-th-orphans): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 536b84a832 gnu: Add ghc-th-reify-many.
* gnu/packages/haskell.scm (ghc-th-reify-many): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 25101be9dc gnu: Add ghc-th-expand-syns.
* gnu/packages/haskell.scm (ghc-th-expand-syns): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 1777e1f2cb gnu: Add ghc-th-lift.
* gnu/packages/haskell.scm (ghc-th-lift): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 74d9f72e02 gnu: Add ghc-packedstring.
* gnu/packages/haskell.scm (ghc-packedstring): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 5de6eedc60 gnu: Add ghc-enclosed-exceptions.
* gnu/packages/haskell.scm (ghc-enclosed-exceptions): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 25b20a9c7a gnu: Add ghc-executable-path.
* gnu/packages/haskell.scm (ghc-executable-path): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 31be270b93 gnu: Add ghc-cmark.
* gnu/packages/haskell.scm (ghc-cmark): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 66c480b6c8 gnu: Add ghc-highlighting-kate.
* gnu/packages/haskell.scm (ghc-highlighting-kate): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 05245dc9ff gnu: Add ghc-diff.
* gnu/packages/haskell.scm (ghc-diff): Add variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus a54d11b58f gnu: Add ghc-regex-pcre-builtin.
* gnu/packages/haskell.scm (ghc-regex-pcre-builtin): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus ef2861b1d9 gnu: Add ghc-texmath.
* gnu/packages/haskell.scm (ghc-texmath): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 8164d58ec7 gnu: Add ghc-pandoc-types.
* gnu/packages/haskell.scm (ghc-pandoc-types): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 4cbd9f5993 gnu: Add ghc-deepseq-generics.
* gnu/packages/haskell.scm (ghc-deepseq-generics): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 6ff4a50d75 gnu: ghc-aeson: Propagate input.
* gnu/packages/haskell.scm (ghc-aeson)[inputs]: Move
  "ghc-unordered-containers" from here ...
[propagated-inputs]: ... to here.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 172bb3b86d gnu: ghc-haskell-src-exts: Propagate some inputs.
* gnu/packages/haskell.scm (ghc-haskell-src-exts)[inputs]: Remove field.
[propagated-inputs]: Move "cpphs", "ghc-mtl", "ghc-happy", and "ghc-syb"
from inputs field here.
[native-inputs]: Move "ghc-smallcheck", "ghc-tasty",
"ghc-tasty-smallcheck", and "ghc-tasty-golden" from inputs field here.
2015-12-10 14:34:50 +01:00
Ludovic Courtès 557b5557d8 gnu: commencement: Restrict allowed references for libstdc++.
* gnu/packages/commencement.scm (libstdc++)[arguments]: Add
  #:allowed-references.
2015-12-10 11:54:57 +01:00
Alex Kost 2e74b9f4cf gnu: emacs-w3m: Update to 1.4.538+0.20141022.
* gnu/packages/emacs.scm (emacs-w3m): Update to 1.4.538+0.20141022.
  [arguments]: Use '--without-compress-install' configure flag.
2015-12-10 13:24:49 +03:00
Alex Kost 932ece6553 gnu: emacs-w3m: Use 'modify-syntax'.
* gnu/packages/emacs.scm (emacs-w3m)[arguments]: Use 'modify-syntax'.
2015-12-10 13:23:50 +03:00
Ludovic Courtès 135065853f gnu: texinfo: Remove unneeded dependency on xz.
The impetus for this is that XZ 5.2.2 requires pthreads.  However, when
using the bootstrap GCC, using '-pthread' doesn't work because it tries
to refer to /nix/store/eeeeee-glibc-2.18.  XZ eventually fails to build
with undefined references to pthread symbols.

* gnu/packages/texinfo.scm (texinfo)[inputs]: Remove XZ, which was
unneeded.
2015-12-10 11:02:09 +01:00
Ludovic Courtès 6a4db3f361 gnu: libarchive: Fix test failure on SELinux systems.
Reported by Jan Synáček <jan.synacek@gmail.com>
at <https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00522.html>.

* gnu/packages/patches/libarchive-bsdtar-test.patch: New file.
* gnu/packages/backup.scm (libarchive)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-12-09 23:10:10 +01:00
Alex Sassmannshausen dcb7119a6d doc: rephrase code of conduct.
* doc/contributing.texi (Contributing): Rephrase 'code of conduct'
  section.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-12-09 22:18:47 +01:00
Ludovic Courtès 873d0ff2cd gnu-maintenance: Really find the latest GNOME releases.
Reported by Efraim Flashner <efraim@flashner.co.il>
at <https://lists.gnu.org/archive/html/guix-devel/2015-12/msg00202.html>.

* guix/gnu-maintenance.scm (latest-ftp-release): Call KEEP-FILE? on
directories too.
(latest-gnome-release)[even-minor-version?]: Protect again MINOR being
false; change pattern to match VERSION with two or more numbers.  Remove
use of 'version-major+minor'.
[even-numbered-tarball?]: Rename to...
[even-numbered?]: ... this.  Use 'package-name->name+version'.  When
VERSION is #f, check NAME.
2015-12-09 22:18:47 +01:00
Ludovic Courtès cd48eae560 build: Always check for gzip/bzip2/xz.
This allows (guix config) to contain valid values of %GZIP et al. even
when configured with --disable-daemon.

* config-daemon.ac: Move 'AC_PATH_PROG' invocations for
gzip & co. to...
* configure.ac: ... here.
2015-12-09 22:18:47 +01:00
Efraim Flashner 6b6a0b143d gnu: youtube-dl: Update to 2015.12.09.
* gnu/packages/video.scm (youtube-dl): Update to 2015.12.09.
[native-inputs]: Move python-setuptools here.
2015-12-09 23:05:54 +02:00
Efraim Flashner fa09215342 gnu: vte: Update to 0.42.1.
* gnu/packages/gnome.scm (vte): Update to 0.42.1.
2015-12-09 22:57:57 +02:00
Efraim Flashner 896dcbc77c gnu: libsecret: Update to 0.18.3.
* gnu/packages/gnome.scm (libsecret): Update to 0.18.3.
2015-12-09 22:48:39 +02:00
Efraim Flashner 5e8aec2cf3 gnu: libgnome-keyring: Update to 3.12.0.
* gnu/packages/gnome.scm (libgnome-keyring): Update to 3.12.0.
2015-12-09 22:48:39 +02:00
Alex Kost 1ae15c3646 emacs: Fix '--rounds' option in command popups.
* emacs/guix-command.el (guix-command-improve-common-build-argument):
  Use "R" key for '--rounds' option to avoid conflicts with "r" key in
  'build' popup (--root) and 'package' popup (--remove).
2015-12-09 19:55:04 +03:00
Alex Kost dcb00c0ad5 emacs: Add 'guix-build-log-find-file'.
* emacs/guix-build-log.el (guix-build-log-find-file): New procedure.
* emacs/guix-command.el (guix-run-view-build-log): Use it.
2015-12-09 19:54:19 +03:00
Alex Kost d7a58c60d6 emacs: list: Fontify time stamps.
* emacs/guix-list.el (guix-list-time): New face.
  (guix-list-get-time): Use it.
2015-12-09 19:54:19 +03:00
Alex Kost d84018b5b1 emacs: info: Add 'guix-info-heading' face.
* emacs/guix-info.el (guix-info-heading): New face.
  (guix-package-info-heading): Inherit it.
2015-12-09 19:54:19 +03:00
Ludovic Courtès e15fcdd149 Add "Contributor Covenant".
* CODE-OF-CONDUCT: New file, adapted from
  <http://contributor-covenant.org/version/1/3/0/code_of_conduct.txt>.
* doc/contributing.texi (Contributing): Mention it.
* Makefile.am (EXTRA_DIST): Add it.
2015-12-09 14:29:41 +01:00
Eelco Dolstra cb9601029e daemon: Use deterministic $TMPDIR in chroot.
Rather than using $<host-TMPDIR>/nix-build-<drvname>-<number>, the
temporary directory is now always /tmp/nix-build-<drvname>-0. This
improves bitwise-exact reproducibility for builds that store $TMPDIR
in their build output. (Of course, those should still be fixed...)

* nix/libstore/build.cc (DerivationGoal)[tmpDirInSandbox]: New field.
(DerivationGoal::startBuilder): Initialize 'useChroot' earlier.  Compute
'tmpDirInSandbox', and use it when populating 'dirsInChroot'.
* doc/guix.texi (Build Environment Setup): Document it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-12-09 14:29:41 +01:00
Ludovic Courtès a8d65643fb guix build: Add '--check'.
* guix/derivations.scm (build-derivations): Add optional 'mode'
parameter.
* guix/scripts/build.scm (%default-options): Add 'build-mode'.
(show-help, %options): Add '--check'.
(guix-build): Honor 'build-mode' key of OPTS.  Pass it to
'show-what-to-build' and 'build-derivations'.
* doc/guix.texi (Invoking guix build): Document it.
(Substitutes): Mention it.
2015-12-09 14:29:41 +01:00
Ludovic Courtès 58c08df054 derivations: Determine what's built in 'check' mode.
* guix/derivations.scm (substitution-oracle): Add #:mode parameter and
honor it.
(derivation-prerequisites-to-build): Likewise.
[derivation-built?]: Take it into account.
* guix/ui.scm (show-what-to-build): Add #:mode parameter.  Pass it to
'substitute-oracle' and 'derivations-prerequisites-to-build'.
* tests/derivations.scm ("derivation-prerequisites-to-build in 'check'
mode"): New test.
2015-12-09 14:29:41 +01:00
Efraim Flashner cc9553562c gnu: gmime: Update to 2.6.20.
* gnu/packages/mail.scm (gmime): Update to 2.6.20.
[arguments]: Use modify-phases syntax.
2015-12-09 15:21:34 +02:00
Ludovic Courtès 8d5e7ad29a gnu: guile-sly: Use HTTPS URL.
* gnu/packages/guile.scm (guile-sly)[source]: Use 'https'.  Failing to
do that, we get redirected to 'https', which fails because GnuTLS is
missing.
2015-12-08 23:58:12 +01:00
Ludovic Courtès 5b74fe065b guix build: Add '--rounds'.
* guix/scripts/build.scm (show-build-options-help)
(%standard-build-options): Add --rounds.
(set-build-options-from-command-line): Honor it.
* doc/guix.texi (Invoking guix build): Document it.
* doc/contributing.texi (Submitting Patches): Mention it.
2015-12-08 23:58:12 +01:00
Ludovic Courtès 2fba87ac7c store: Allow clients to request multiple builds.
* guix/store.scm (set-build-options): Add #:rounds parameter and honor it.
* tests/store.scm ("build multiple times"): New test.
2015-12-08 23:58:12 +01:00
Eelco Dolstra b23b4d394a daemon: Allow builds to be repeated.
This makes it easy to detect non-deterministic builds.

* nix/libstore/build.cc (DerivationGoal): Remove 'InodesSeen'; add
'curRound', 'nrRound', and 'prevInfos'.
(DerivationGoal::inputsRealised): Initialize 'nrRound'.
(NotDeterministic): New error type.
(DerivationGoal::buildDone): Check whether we need to repeat.
(DerivationGoal::startBuilder): Adjust message.
(DerivationGoal::registerOutputs): Check whether we get the same result.
* nix/libstore/globals.cc (Settings::get(const string & name, int def)):
New method.
* nix/libstore/globals.hh (Settings): Add it.
* nix/libstore/store-api.hh (ValidPathInfo): Add operator ==.
* nix/nix-daemon/nix-daemon.cc (performOp): Allow "build-repeat" for
"untrusted" users.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-12-08 23:58:12 +01:00
Andreas Enge 7fbee931a5 gnu: python-pillow: Update to 3.0.0.
* gnu/packages/python.scm (python-pillow, python2-pillow): Update to 3.0.0.
2015-12-08 23:16:37 +01:00
Andreas Enge b00150641a gnu: numactl: Update to 2.0.10.
* gnu/packages/linux.scm (numactl)[source]: Update to 2.0.10.
  [arguments]: Adapt phases to use the autotools machinery.
  [native-inputs]: Add autotools packages.
2015-12-08 23:09:59 +01:00
Ludovic Courtès c499125704 gnu-maintenance: Exclude development releases from GNOME update candidates.
Suggested by Efraim Flashner <efraim@flashner.co.il>.

* guix/gnu-maintenance.scm (latest-ftp-release): Add #:keep-file?
parameter and honor it.
(latest-gnome-release)[%not-dot]: New variable.
[even-minor-version?, even-numbered-tarball?]: New procedures.
Pass EVEN-NUMBERED-TARBALL? as #:keep-file? argument.
2015-12-08 16:09:33 +01:00
Efraim Flashner f714d9fe04 gnu: glade3: Update to 3.8.5.
* gnu/packages/gnome.scm (glade3): Update to 3.8.5.
2015-12-08 15:05:25 +02:00
Efraim Flashner 20a1a4c322 gnu: autogen: Update to 5.18.7.
* gnu/packages/autogen.scm (autogen): Update to 5.18.7.
2015-12-08 14:30:29 +02:00
Ludovic Courtès 6efa6f7645 gnu-maintenance: ftp.gnome.org does not provide signatures.
* guix/gnu-maintenance.scm (latest-ftp-release): Add #:file->signature
parameter.  Honor it.
(latest-gnome-release): Pass #:file->signature.
* guix/upstream.scm (coalesce-sources): Keep 'signature-urls' as #f
unless both sources provide it.
2015-12-07 23:57:20 +01:00
Ludovic Courtès e80c0f85ba gnu-maintenance: Add GNOME updater.
* guix/gnu-maintenance.scm (ftp-server/directory)[quirks]: Remove glib.
(false-if-ftp-error): New macro.
(latest-release*): Use it.
(non-emacs-gnu-package?): Rename to...
(pure-gnu-package?): ... this.  Add call to 'gnome-package?'.
(%gnu-updater): Adjust accordingly.
(gnome-package?, latest-gnome-release): New procedures.
(%gnome-updater): New variable.
* guix/scripts/refresh.scm (%updaters): Add %GNOME-UPDATER.
* doc/guix.texi (Invoking guix refresh): Mention it.
2015-12-07 23:32:01 +01:00
Ludovic Courtès e946f2ec92 gnu-maintenance: Generalize 'latest-ftp-release'.
* guix/gnu-maintenance.scm (latest-release): Rename to...
(latest-ftp-release): ... this.  Add #:server and #:directory
parameters.
(latest-release): New procedure.
2015-12-07 23:32:01 +01:00
Ludovic Courtès fba607b129 refresh: Bail out when asked for a nonexistent updater.
* guix/scripts/refresh.scm (lookup-updater): Call 'leave' when 'find'
returns #f.
2015-12-07 23:32:01 +01:00
Ludovic Courtès e3cc793e7c gnu-maintenance: Do not look for releases in "w32" sub-directories.
* guix/gnu-maintenance.scm (latest-release): Filter out "w32"
directories.
2015-12-07 23:32:01 +01:00
Ludovic Courtès 202440e07a gnu-maintenance: Add tests for 'release-file?'.
* tests/gnu-maintenance.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* guix/gnu-maintenance.scm (release-file?): Export.
2015-12-07 23:32:01 +01:00
Ludovic Courtès fa04a04f18 gnu-maintenance: Properly handle TeXmacs.
* guix/gnu-maintenance.scm (ftp-server/directory): Add comment.
(release-file?): Use 'string-ci=?' instead of 'equal?' when comparing
project names.
2015-12-07 23:32:01 +01:00
Ludovic Courtès f00dccf441 gnu-maintenance: Adjust tarball regexp for IceCat tarballs.
* guix/gnu-maintenance.scm (%tarball-rx): Tweak to match IceCat tarball
patterns.
2015-12-07 23:32:01 +01:00
Ludovic Courtès b6124f00b8 gnu-maintenance: Fix URLs returned by 'latest-release' for deep trees.
With this, (latest-release "gcc") returns an <upstream-source> with URL:

  ftp://ftp.gnu.org/gnu/gcc/gcc-5.3.0/gcc-5.3.0.tar.gz

Previous it would omit "gcc-5.3.0/" from the URL.

Fixes a regression introduced in 0a7c5a0.

* guix/gnu-maintenance.scm (latest-release)[file->url, file->source]:
Add 'directory' parameter.  Update users.
2015-12-07 23:32:01 +01:00
Ludovic Courtès 56b6befb50 doc: 'guix environment --container' does not create '/env'.
* doc/guix.texi (Invoking guix environment): Remove outdated mention of
'/env' for '--container'.
2015-12-07 23:32:01 +01:00
David Thompson 1eca745b44 gnu: node: Do not use bundled dependencies.
The Node build system was previously building its own copies of
OpenSSL (yikes!), libuv, and zlib.

* gnu/packages/node.scm (node)[inputs]: Add openssl, libuv, and zlib.
  [arguments]: Add configure flags for using system libraries.  Use
  'modify-phases' syntax.
2015-12-07 17:05:34 -05:00
Leo Famulari 437d728632 gnu: util-linux: Make description more descriptive.
* gnu/packages/linux.scm (util-linux)[description]: Give some more
  information about the package.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2015-12-07 21:11:21 +01:00
Mark H Weaver dae36ca558 gnu: pcre: Update to 8.38.
* gnu/packages/pcre.scm (pcre): Update to 8.38.  Add source URI for
  main FTP site.
2015-12-07 09:54:01 -05:00
Mark H Weaver 821060f3f6 gnu: libxml2: Update to 2.9.3.
* gnu/packages/patches/libxml2-CVE-2015-1819.patch,
  gnu/packages/patches/libxml2-CVE-2015-7941-pt1.patch,
  gnu/packages/patches/libxml2-CVE-2015-7941-pt2.patch,
  gnu/packages/patches/libxml2-CVE-2015-7942-pt1.patch,
  gnu/packages/patches/libxml2-CVE-2015-7942-pt2.patch,
  gnu/packages/patches/libxml2-CVE-2015-8035.patch,
  gnu/packages/patches/libxml2-bug-737840.patch,
  gnu/packages/patches/libxml2-bug-738805.patch,
  gnu/packages/patches/libxml2-bug-746048.patch,
  gnu/packages/patches/libxml2-bug-747437.patch,
  gnu/packages/patches/libxml2-bug-751603.patch,
  gnu/packages/patches/libxml2-bug-751631.patch,
  gnu/packages/patches/libxml2-bug-754946.patch,
  gnu/packages/patches/libxml2-bug-754947.patch,
  gnu/packages/patches/libxml2-bug-755857.patch,
  gnu/packages/patches/libxml2-fix-catalog-corruption.patch,
  gnu/packages/patches/libxml2-id-attrs-in-xmlSetTreeDoc.patch,
  gnu/packages/patches/libxml2-node-sort-order-pt1.patch,
  gnu/packages/patches/libxml2-node-sort-order-pt2.patch: Delete files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/xml.scm (libxml2): Update to 2.9.3.  Remove patches.
2015-12-07 09:54:01 -05:00
Mark H Weaver 86c8f1daf8 gnu: openssl: Update to 1.0.2e [fixes CVE-2015-{3193,3194,3195}].
* gnu/packages/tls.scm (openssl): Update to 1.0.2e.
  [arguments]: Rename 'fix-man-dir' phase to 'patch-Makefile.org',
  and patch SHELL in Makefile.org.  Add 'fix-broken-symlinks' phase.
  Return #t from 'patch-tests' phase.
2015-12-07 09:54:01 -05:00
Efraim Flashner e5be0e01f2 gnu: keepassx: Update to 2.0.
* gnu/packages/password-utils.scm (keepassx): Update to 2.0.
[source]: Change to official release location.
2015-12-07 13:07:18 +02:00
Efraim Flashner 044176621e gnu: python2-zope-security: Use python2-zope-testrunner.
* gnu/packages/python.scm (python2-zope-security): Do it.
2015-12-07 12:31:56 +02:00
Efraim Flashner b847618f65 gnu: help2man: Update to 1.47.3.
* gnu/packages/man.scm (help2man): Update to 1.47.3.
2015-12-07 10:59:54 +02:00
Efraim Flashner 5f47e71343 gnu: libmicrohttpd: Update to 0.9.47.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.47.
2015-12-07 10:40:05 +02:00
Alex Vong f8f8897f7e gnu: mp3info: Update URL.
* gnu/packages/mp3.scm (mp3info): Update source URL.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-12-06 23:12:12 +01:00
Ludovic Courtès 91726b6a3b nls: Add Polish translation. 2015-12-06 23:02:32 +01:00
Kyle Meyer e92b8599f7 gnu: Add myrepos.
* gnu/packages/version-control.scm (myrepos): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-12-06 22:44:17 +01:00
Kyle Meyer 1872f1bb79 gnu: Add python-docopt.
* gnu/packages/python.scm (python-docopt, python2-docopt): New
  variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-12-06 22:38:32 +01:00
Efraim Flashner 07ab3b8ecc gnu: gajim: Update to 0.16.4.
* gnu/packages/messaging.scm (gajim): Update to 0.16.4.
2015-12-06 22:18:01 +02:00
Efraim Flashner d1d75c6a67 gnu: pinentry: Update to 0.9.6.
* gnu/packages/gnupg.scm (pinentry): Update to 0.9.6.
[inputs]: Add libsecret.
2015-12-06 22:18:01 +02:00
Efraim Flashner 231dd02337 gnu: gpgme: Update to 1.6.0.
* gnu/packages/gnupg.scm (gpgme): Update to 1.6.0.
2015-12-06 22:18:01 +02:00
Efraim Flashner b65249cc2b gnu: gnupg: Update to 2.1.10.
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.10.
[inputs]: Add adns.
2015-12-06 22:18:01 +02:00
Efraim Flashner 7b40296fc0 gnu: gnupg-2.0: Update to 2.0.29.
* gnu/packages/gnupg.scm (gnupg-2.0): Update to 2.0.29.
[inputs]: Add adns.
2015-12-06 22:18:01 +02:00
Efraim Flashner b682a77669 gnu: libassuan: Update to 2.4.2.
* gnu/packages/gnupg.scm (libassuan): Update to 2.4.2.
2015-12-06 22:18:01 +02:00
Mathieu Lirzin d7e92b8752 gnu: Move pkg-config to native inputs.
* gnu/packages/glib.scm (gobject-introspection)[native-inputs]: Move
pkg-config from inputs.
* gnu/packages/pulseaudio.scm (libsndfile, libsamplerate)
(pulseaudio)[native-inputs]: Likewise.
2015-12-06 17:25:13 +01:00
Mathieu Lirzin d4fe27fe2c gnu: Move pkg-config to native inputs.
* gnu/packages/xiph.scm (ao)[native-inputs]: Move pkg-config from
inputs.
* gnu/packages/xorg.scm (xf86-video-geode)[native-inputs]: Likewise.
2015-12-06 17:23:26 +01:00
Mathieu Lirzin cd08fe4259 edit: Don't assume that an emacs daemon is running.
* guix/scripts/edit.scm (%editor): Use Emacs as a default value.
2015-12-06 17:23:25 +01:00
Mathieu Lirzin b16dbd1311 edit: Allow command line arguments in $VISUAL and $EDITOR.
* guix/scripts/edit.scm (guix-edit): Fix the assumption that %editor is
a one word command.
2015-12-06 17:23:21 +01:00
Efraim Flashner 2f52ad7413 gnu: nano: Update to 2.5.0.
* gnu/packages/nano.scm (nano): Update to 2.5.0.
2015-12-06 16:49:41 +02:00
Efraim Flashner ff21fa8b63 gnu: gdb: Update to 7.10.1.
* gnu/packages/gdb.scm (gdb): Update to 7.10.1.
2015-12-06 15:57:33 +02:00
Alex Kost 7edf242967 gnu: manaplus: Update to 1.5.12.5.
* gnu/packages/games.scm (manaplus): Update to 1.5.12.5.
2015-12-06 12:46:10 +03:00
Alex Kost f5688801b2 emacs: info: Show a message after copying button label.
* emacs/guix-info.el (guix-info-button-copy-label): Use
  'guix-copy-as-kill' to display a message with what was killed.
2015-12-06 12:46:10 +03:00
Alex Kost 9ff175655c emacs: Complete --profile in 'guix package' popup.
* emacs/guix-command.el (guix-command-improve-package-argument): Use
  'guix-read-file-name' to complete --profile option.
2015-12-06 12:46:10 +03:00
Alex Kost a65f007524 emacs: 'guix-emacs-load-autoloads' takes a profile.
* emacs/guix-emacs.el (guix-emacs-load-autoloads): Use 'profile'
  as an optional argument.
  (guix-emacs-load-autoloads-maybe): Adjust accordingly.
* emacs/guix-init.el: Likewise.
2015-12-06 12:46:10 +03:00
Alex Kost c67e344f21 emacs: Fix 'guix-pull'.
* emacs/guix-base.el (guix-pull): Handle prefix argument when it is run
  interactively.  Use 'guix-command' instead of 'guix-pull' to prevent
  REPL exit if 'leave' happens.
2015-12-06 12:46:10 +03:00
Alex Kost 957b73382b emacs: Fix 'guix-apply-manifest'.
* emacs/guix-base.el (guix-apply-manifest): Use 'guix-command' instead
  of 'guix-package' to prevent REPL exit if 'leave' happens.  Expand
  profile and manifest file names, as relative file names lead to an
  error.
2015-12-06 12:46:10 +03:00
Ludovic Courtès e2e3600fe8 gnu: pius: Update to 2.2.1.
* gnu/packages/gnupg.scm (pius): Update to 2.2.1.  Change URL to
github.com.
[arguments]: Update pattern for 'gpg' command.
2015-12-05 23:38:02 +01:00
David Thompson 9fd0838b28 gnu: Add letsencrypt.
* gnu/packages/tls.scm (letsencrypt): New variable.
2015-12-05 09:44:38 -05:00
Leo Famulari 7890e3baf3 gnu: Add acme.
* gnu/packages/tls.scm (acme): New variable.
2015-12-05 09:44:38 -05:00
Leo Famulari 38b8f9b21b gnu: Add python2-parsedatetime.
* gnu/packages/python.scm (python2-parsedatetime): New variable.
2015-12-05 09:44:38 -05:00
Leo Famulari 4df1e30da8 gnu: python-parsedatetime: Update to 1.5.
* gnu/packages/python.scm (python-parsedatetime): Update to 1.5.
  [arguments]: Enable tests.
2015-12-05 09:44:38 -05:00
Leo Famulari ab41f9799f gnu: Add python-ndg-httpsclient.
* gnu/packages/python.scm (python-ndg-httpsclient,
  python2-ndg-httpsclient): New variables.
2015-12-05 09:44:38 -05:00
Leo Famulari 79e8a2916d gnu: Add python-configargparse.
* gnu/packages/python.scm (python-configargparse,
  python2-configargparse): New variables.
2015-12-05 09:44:37 -05:00
Leo Famulari b5f218be26 gnu: Add python2-pythondialog.
* gnu/packages/python.scm (python2-pythondialog): New variable.
2015-12-05 09:44:37 -05:00
Leo Famulari 44298269ba gnu: Add dialog.
* gnu/packages/python.scm (dialog): New variable.
2015-12-05 09:44:37 -05:00
Leo Famulari 99fffa8ae0 gnu: Add python-configobj.
* gnu/packages/python.scm (python-configobj, python2-configobj): New
  variables.
* gnu/packages/patches/python-configobj-setuptools.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-12-05 09:44:37 -05:00
Leo Famulari 5eea200518 gnu: Add python-werkzeug.
* gnu/packages/python.scm (python-werkzeug, python2-werkzeug): New
  variables.
2015-12-05 09:44:37 -05:00
Leo Famulari 3859ac12d6 gnu: Add python-pyrfc3339.
* gnu/packages/python.scm (python-pyrfc3339, python2-pyrfc3339): New variables.
2015-12-05 09:44:37 -05:00
Leo Famulari a6b61b271b gnu: Add python-zope-component.
* gnu/packages/python.scm (python-zope-component,
  python2-zope-component): New variables.
2015-12-05 09:44:37 -05:00
Leo Famulari d4b77f3662 gnu: Add python-zope-security.
* gnu/packages/python.scm (python-zope-security,
  python2-zope-security): New variables.
2015-12-05 09:44:37 -05:00
Leo Famulari f404b5ea6e gnu: Add python-zope-location.
* gnu/packages/python.scm (python-zope-location, python2-zope-location):
  New variables.
2015-12-05 09:44:37 -05:00
Leo Famulari 2ad520866f gnu: Add python-zope-proxy.
* gnu/packages/python.scm (python-zope-proxy, python2-zope-proxy): New
  variables.
2015-12-05 09:44:37 -05:00
Leo Famulari fbac9b178e gnu: Add python-zope-configuration.
* gnu/packages/python.scm (python-zope-configuration,
  python2-zope-configuration): New variables.
2015-12-05 09:44:36 -05:00
Leo Famulari 71fb09f326 gnu: Add python-zope-schema.
* gnu/packages/python.scm (python-zope-schema, python2-zope-schema): New variables.
2015-12-05 09:44:36 -05:00
Leo Famulari 6a5c710c40 gnu: Add python-zope-i18nmessageid.
* gnu/packages/python.scm (python-zope-i18nmessageid,
  python2-zope-i18nmessageid): New variables.
2015-12-05 09:44:36 -05:00
Leo Famulari 01614c4fea gnu: Add python-zope-testrunner.
* gnu/packages/python.scm (python-zope-testrunner,
  python2-zope-testrunner): New variables.
2015-12-05 09:44:36 -05:00
Leo Famulari 900e3c0e0e gnu: Add python-zope-testing.
* gnu/packages/python.scm (python-zope-testing, python2-zope-testing):
  New variables.
2015-12-05 09:44:36 -05:00
Leo Famulari 81f2373cd4 gnu: Add python-zope-exceptions.
* gnu/packages/python.scm (python-zope-exceptions,
  python2-zope-exceptions): New variables.
2015-12-05 09:44:36 -05:00
Leo Famulari 97abe268ab gnu: Add python-zope-interface.
* gnu/packages/python.scm (python-zope-interface,
  python2-zope-interface): New variables.
2015-12-05 09:44:36 -05:00
Leo Famulari 2fc5f18680 gnu: Add python-zope-event.
* gnu/packages/python.scm (python-zope-event, python2-zope-event): New
  variables.
2015-12-05 09:44:36 -05:00
宋文武 6bad7524a6 system: Add /etc/environment.
* gnu/system.scm: (operating-system-environment-variables): New procedure.
Adapted and moved environment variables from /etc/profile.
(operating-system-etc-service): Adjust accordingly.
(essential-services): Add an instance of SESSION-ENVIRONMENT-SERVICE-TYPE.
2015-12-05 10:51:49 +08:00
宋文武 af9908ff56 system: pam: Honor /etc/environment.
* gnu/system/pam.scm (unix-pam-service): Add pam_env module to the session group.
2015-12-05 10:51:49 +08:00
宋文武 e10964efd2 services: Add 'session-environment-service'.
* gnu/services/base.scm (session-environment-service): New procedure.
(session-environment-service-type): New variable.
(environment-variables->environment-file): New procedure.
2015-12-05 10:51:49 +08:00
Ludovic Courtès 2aacd9179c profiles: Silence GTK+ icon cache creation.
Suggested by Ricardo Wurmus <rekado@elephly.net>.

* guix/profiles.scm (gtk-icon-themes)[build]: Pass --quiet to
'gtk-update-icon-cache'.
2015-12-04 23:12:02 +01:00
Ludovic Courtès 4bddf74ef2 profiles: Silence GTK+ icon theme union.
Suggested by Ricardo Wurmus <rekado@elephly.net>.

* guix/profiles.scm (gtk-icon-themes)[build]: Pass 'union-build' a
  #:log-port argument.
2015-12-04 23:12:02 +01:00
Mark H Weaver b9fa245fcd gnu: icecat: Update to 38.4.0-gnu1.
* gnu/packages/patches/icecat-CVE-2015-4513-pt01.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt02.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt03.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt04.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt05.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt06.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt07.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt08.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt09.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt10.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt11.patch,
  gnu/packages/patches/icecat-CVE-2015-7188.patch,
  gnu/packages/patches/icecat-CVE-2015-7189.patch,
  gnu/packages/patches/icecat-CVE-2015-7193.patch,
  gnu/packages/patches/icecat-CVE-2015-7194.patch,
  gnu/packages/patches/icecat-CVE-2015-7196.patch,
  gnu/packages/patches/icecat-CVE-2015-7197.patch,
  gnu/packages/patches/icecat-CVE-2015-7198.patch,
  gnu/packages/patches/icecat-CVE-2015-7199.patch: Delete files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/gnuzilla.scm (icecat): Update to 38.4.0-gnu1.  Remove the
  obsolete patches.
2015-12-04 15:52:16 -05:00
Ludovic Courtès 2734cbb895 store: 'build-things' now supports older daemon protocols.
This is a followup to d203d3d.

* guix/store.scm (build-things): Add 'build/old'.  Use it when STORE's
minor version is less than 15.
2015-12-04 11:34:18 +02:00
Ludovic Courtès 07e70f4846 store: Add mode parameter to 'build-paths'.
* guix/store.scm (%protocol-version): Set minor to 15.
(build-mode): New enumerate type.
(build-things): Add 'mode' parameter; pass it to the RPC.
* tests/store.scm ("build-things, check mode"): New check.
2015-12-03 19:09:53 +02:00
Ludovic Courtès d203d3d4cb store: Update to the new daemon protocol.
* guix/store.scm (%protocol-version): Set minor to 14.
(open-connection): Add 'cpu-affinity' parameter and honor it.
2015-12-03 19:09:53 +02:00
Ludovic Courtès df7393b93c gnu: Add findnewest.
* gnu/packages/version-control.scm (findnewest): New variable.
2015-12-03 19:09:53 +02:00
Federico Beffa dab8ebd925 gnu: python2-seaborn: Use custom 'python2-' packages.
* gnu/packages/python.scm (python2-seaborn): Use customized 'python2-'
  versions of 'matplotlib', 'pandas' and 'scipy'.
2015-12-03 12:49:32 +01:00
Efraim Flashner d1e08856e0 gnu: openssh: Update to 7.1p1.
* gnu/packages/ssh.scm (openssh): Update to 7.1p1.
2015-12-03 13:14:11 +02:00
Alex Kost c181b870f1 gnu: paredit: Update to 24.
* gnu/packages/emacs.scm (paredit): Update to 24.
2015-12-03 13:39:26 +03:00
Alex Kost 509a0c2700 gnu: magit: Update to 2.3.1.
* gnu/packages/emacs.scm (magit): Update to 2.3.1.
2015-12-03 13:39:26 +03:00
Alex Kost fae2a30f13 gnu: emacs-dash: Update to 2.12.1.
* gnu/packages/emacs.scm (emacs-dash): Update to 2.12.1.
2015-12-03 13:39:26 +03:00
Alex Kost eccd0b57a1 gnu: emacs-pdf-tools: Update to 0.70.
* gnu/packages/emacs.scm (emacs-pdf-tools): Update to 0.70.
2015-12-03 13:39:26 +03:00
Efraim Flashner dfbddf81be gnu: libass: Update to 0.13.1.
* gnu/packages/video.scm (libass): Update to 0.13.1.
2015-12-03 11:37:28 +02:00
Efraim Flashner 877a6466a6 gnu: xmlto: Update to 0.0.28.
* gnu/packages/xml.scm (xmlto): Update to 0.0.28.
2015-12-03 11:37:28 +02:00
Efraim Flashner f673552c13 gnu: vapoursynth: Update to 28.
* gnu/packages/video.scm (vapoursynth): Update to 28.
2015-12-03 11:37:28 +02:00
Federico Beffa d9bc0bf8fa gnu: python2-scikit-image: Use custom 'python2-' packages.
* gnu/packages/python.scm (python2-scikit-image): Use customized 'python2-'
  versions of 'matplotlib', 'numpy' and 'scipy'.
2015-12-03 09:22:30 +01:00
Federico Beffa 3cbe7d5e52 gnu: python2-pandas: Use custom 'python2-numpy'.
* gnu/packages/python.scm (python2-pandas): Do it.
2015-12-03 09:22:30 +01:00
Federico Beffa 5587253a87 gnu: python2-ipython: Use custom 'python2-numpy'.
* gnu/packages/python.scm (python2-ipython): Do it.
2015-12-03 09:22:30 +01:00
Mark H Weaver 084e41c1ac gnu: ffmpeg: Update to 2.8.3 [fixes CVE-2015-{8216,8217,8218,8219}].
* gnu/packages/video.scm (ffmpeg): Update to 2.8.3.
2015-12-02 22:39:12 -05:00
Andreas Enge e414a7dec3 gnu: gmp: Drop patch included in release 6.1.0.
* gnu/packages/multiprecision.scm (gmp)[source]: Drop patch.
* gnu/packages/patches/gmp-arm-asm-nothumb.patch: Remove patch.
* gnu-system.am (dist_patch_DATA): Unregister patch.
2015-12-02 20:03:51 +01:00
Efraim Flashner 7e006b6899 gnu: freeipmpi: Update to 1.5.1.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.5.1.
2015-12-02 20:32:30 +02:00
Ludovic Courtès 708d907000 daemon: Add 'buildMode' parameter to 'buildPaths' RPC.
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0x10f.
* nix/libstore/remote-store.cc (RemoteStore::buildPaths): Send the
BUILDMODE when the daemon supports it.  Reject invalid values of
BUILDMODE for old daemons.
* nix/nix-daemon/nix-daemon.cc (performOp) <wopBuildPaths>: Read the
build mode when the client supports it.
2015-12-02 19:37:59 +02:00
Eelco Dolstra e134baae77 daemon: optimizePath: Detect some .links corruptions.
If automatic store optimisation is enabled, and a hard-linked file in
the store gets corrupted, then the corresponding .links entry will
also be corrupted. In that case, trying to repair with --repair or
--repair-path won't work, because the new "good" file will be replaced
by a hard link to the corrupted file. We can catch most of these cases
by doing a sanity-check on the file sizes.
2015-12-02 19:37:59 +02:00
Eelco Dolstra 14fb686a21 daemon: Fix namespace issue. 2015-12-02 19:37:59 +02:00
Eelco Dolstra 29d3242e5c daemon: Support SHA-512 hashes.
Fixes #679.

Note: on x86_64, SHA-512 is considerably faster than SHA-256 (198 MB/s
versus 131 MB/s).

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-12-02 19:37:59 +02:00
Eelco Dolstra 79aa1a8305 daemon: int2String -> std::to_string. 2015-12-02 19:37:59 +02:00
Eelco Dolstra 60c7c364f8 daemon: Filter build-chroot-dirs entries that conflict with derivation outputs.
Fixes https://github.com/NixOS/nixpkgs/issues/9504.

Note that this means we may have a non-functional /bin/sh in the
chroot while rebuilding Bash or one of its dependencies. Ideally those
packages don't rely on /bin/sh though.
2015-12-02 19:37:59 +02:00
Eelco Dolstra 538684d0c4 daemon: Prevent .chroot from being GC'ed when using LocalStore::buildDerivation()
Fixes #616.
2015-12-02 19:37:59 +02:00
Federico Beffa 18b3151613 gnu: python-matplotlib: Adjust path to figures in 'info' file.
* gnu/packages/python.scm (python-matplotlib): Do it.
2015-12-02 18:21:14 +01:00
Federico Beffa 5d26e542ee gnu: python-ipython: Don't use the bootstrap version of 'python-numpy'.
* gnu/packages/python.scm (python-ipython): Do it.
2015-12-02 18:21:13 +01:00
Federico Beffa 1bbc659fd2 gnu: python-matplotlib: Add 'TkAgg' backend and update to version '1.4.3'.
* gnu/packages/python.scm (python-matplotlib, python2-matplotlib): Do it.
* gnu/packages/patches/matplotlib-setupext-tk.patch: New file.
* gnu-system.am (dist_patch_DATA): Add the new patch.
2015-12-02 18:21:13 +01:00
Efraim Flashner 214ed6a39b gnu: opus: Update to 1.1.1.
* gnu/packages/xiph.scm (opus): Update to 1.1.1.
2015-12-02 13:31:06 +02:00
Efraim Flashner 59eef6f284 gnu: libbluray: Update to 0.9.2.
* gnu/packages/video.scm (libbluray): Update to 0.9.2.
2015-12-02 13:27:53 +02:00
Ludovic Courtès 85dce718cb import: pypi: Updater silently ignores packages without source.
Reported by Andreas Enge <andreas@enge.fr>
at <https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00764.html>.

* guix/import/pypi.scm (&missing-source-error): New error type.
(latest-source-release): Raise it instead of using 'error'.
(pypi->guix-package): Guard against it and use 'leave' to report the
error.
(latest-release): Guard against it and return #f when caught.
2015-12-01 23:18:48 +01:00
Efraim Flashner b6ab89efb2 gnu: python-six: Update to 1.10.0.
* gnu/packages/python.scm (python-six): Update to 1.10.0.
[source]: Change uri to pypi format.
2015-12-01 21:10:55 +02:00
Efraim Flashner b850a6d82d gnu: python-babel: Update to 2.1.1.
* gnu/packages/python.scm (python-babel): Update to 2.1.1.
[source]: Change uri to pypi format.
2015-12-01 20:55:06 +02:00
Efraim Flashner 94ce6b4959 gnu: python-oslo.utils: Update to 3.0.0.
* gnu/packages/openstack.scm (python-oslo.utils): Update to 3.0.0.
[source]: Change uri to pypi format.
2015-12-01 19:52:08 +02:00
Efraim Flashner 278c0efd0a gnu: python-oslo.serialization: Update to 2.0.0.
* gnu/packages/openstack.scm (python-oslo.serialization): Update to 2.0.0.
[source]: Change uri to pypi format.
2015-12-01 19:13:25 +02:00
Efraim Flashner 5788b4b6d1 gnu: python-oslo.i18n: Update to 3.0.0.
* gnu/packages/openstack.scm (python-oslo.i18n): Update to 3.0.0.
[source]: Change uri to pypi format.
2015-12-01 18:14:56 +02:00
Efraim Flashner e9af5adfd5 gnu: python-oslo.context: Update to 1.0.0.
* gnu/packages/openstack.scm (python-oslo.context): Update to 1.0.0.
[source]: Change uri to pypi format.
2015-12-01 17:33:29 +02:00
Efraim Flashner 3bc810a89b gnu: python-tempest-lib: Update to 0.11.0.
* gnu/packages/openstack.scm (python-tempest-lib): Update to 0.11.0.
2015-12-01 16:19:58 +02:00
Efraim Flashner 2d531d4efd gnu: python-stevedore: Update to 1.9.0.
* gnu/packages/openstack.scm (python-stevedore): Update to 1.9.0.
[source]: Change uri to pypi format.
2015-12-01 16:19:58 +02:00
Efraim Flashner bd52842d3d gnu: python-requests-mock: Update to 0.7.0.
* gnu/packages/openstack.scm (python-requests-mock): Update to 0.7.0.
[source]: Change uri to pypi format.
2015-12-01 16:19:58 +02:00
Efraim Flashner a5ff52f8a6 gnu: python-os-client-config: Update to 1.12.0.
* gnu/packages/openstack.scm (python-os-client-config): Update to 1.12.0.
[source]: Change uri to pypi format.
2015-12-01 16:19:53 +02:00
Efraim Flashner 56c7ead2f8 gnu: python-debtcollector: Update to 1.0.0.
* gnu/packages/openstack.scm (python-debtcollector): Update to 1.0.0.
[source]: Change uri to pypi format.
2015-12-01 16:19:22 +02:00
Efraim Flashner d4e817b1db gnu: python-mox3: Update to 0.12.0.
* gnu/packages/openstack.scm (python-mox3): Update to 0.12.0.
[source]: Change uri to pypi format.
2015-12-01 16:19:16 +02:00
Efraim Flashner df372f96a3 gnu: enlightenment: Update to 0.20.0.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.20.0.
[arguments]: Add '--enable-mount-eeze' to configure-flags.
2015-12-01 10:26:06 +02:00
Ludovic Courtès 64ec0e2912 guix build: Modularize transformation handling.
* guix/scripts/build.scm (options/resolve-packages): Remove.
(options->things-to-build, transform-package-source): New procedure.
(%transformations): New variable.
(options->transformation): New procedure.
(options->derivations): Rewrite to use 'options->things-to-build' and
'options->transformation'.
2015-12-01 00:02:54 +02:00
Ludovic Courtès 27b91d7851 guix package: Refactor 'options->installable'.
* guix/scripts/package.scm (options->upgrade-predicate)
(store-item->manifest-entry): New procedures.
* guix/scripts/package.scm (options->installable): Use them.  Remove the
'packages-to-upgrade' and 'packages-to-install' variables by getting rid
of a level of indirection.
2015-12-01 00:02:54 +02:00
Ludovic Courtès 6e37017506 guix package: Move 'process-actions' out of sight.
* guix/scripts/package.scm (process-actions): New procedure, moved
from...
(guix-package): ... here.  Adjust accordingly.
2015-12-01 00:02:54 +02:00
Ludovic Courtès dfdb15d9c2 build: Fix detection of ARM systems.
Reported by Andreas Enge <andreas@enge.fr>.
This fixes a regression introduced in 968ae903.

* m4/guix.m4 (GUIX_SYSTEM_TYPE): Add extra square braquets around
armv[7-9] pattern.
2015-12-01 00:02:54 +02:00
Ludovic Courtès 590558953b guix package: Formalize the list of actions.
* guix/scripts/package.scm (roll-back-action, switch-generation-action)
(delete-generations-action, manifest-action): New procedures.
(%actions): New variable.
* guix/scripts/package.scm (guix-package)[process-action]: Rewrite to
traverse %ACTIONS.
2015-12-01 00:02:54 +02:00
Ludovic Courtès 50dc193e27 nls: Update 'de' translation. 2015-12-01 00:02:54 +02:00
Ludovic Courtès d1ac5c0775 guix package: Move 'build-and-use-profile' out of sight.
* guix/scripts/package.scm (build-and-use-profile): New procedure.
Adapted and moved from...
(guix-package)[process-actions]: ... here.  Adjust call sites.
2015-12-01 00:02:54 +02:00
Ludovic Courtès 2cc10077f3 guix package: Move a couple of procedures out of sight.
* guix/scripts/package.scm (ensure-default-profile, process-query): New
procedures, moved from...
(guix-package): ... here.
2015-12-01 00:02:54 +02:00
Ludovic Courtès 0993f94267 guix package: Remove unnecessary use of (%store).
* guix/scripts/package.scm (delete-matching-generations): Use STORE
instead of (%store).
2015-12-01 00:02:54 +02:00
Efraim Flashner ccd20fcb7d gnu: python-pbr: Update to 1.8.1.
* gnu/packages/openstack.scm (python-pbr): Update to 1.8.1.
2015-11-30 23:20:35 +02:00
Efraim Flashner 5466700fa2 gnu: parallel: Update to 20151122.
* gnu/packages/parallel.scm (parallel): Update to 20151122.
2015-11-30 23:11:35 +02:00
Efraim Flashner 44e30a7647 gnu: python2-keyring: Use python2-pycrypto.
* gnu/packages/python.scm (python2-keyring)[inputs]: Force building
with python2-pycrypto.
2015-11-30 20:09:12 +02:00
Efraim Flashner 1c0059da41 gnu: python2-pycrypto: Use python2.
* gnu/packages/python.scm (python2-pycrypto)[inputs]: Force building
with python2.
2015-11-30 19:06:13 +02:00
Ricardo Wurmus 36f26211bb gnu: openssh: Install ssh-copy-id.
* gnu/packages/ssh.scm (openssh)[arguments]: Install "ssh-copy-id" and
  documentation.

Fixes <http://bugs.gnu.org/22024>.
Reported by Florian Paul Schmidt <mista.tapas@gmx.net>.
2015-11-30 14:58:44 +01:00
Ricardo Wurmus a9ee11d5ab gnu: openssh: Use modify-phases syntax.
* gnu/packages/ssh.scm (openssh)[arguments]: Use modify-phases syntax.
2015-11-30 14:58:43 +01:00
Ricardo Wurmus 70b002aa1d gnu: Add ruby-tins.
* gnu/packages/ruby.scm (ruby-tins): New variable.
2015-11-30 14:41:48 +01:00
Ricardo Wurmus d3b20a02c8 gnu: Add ruby-sdoc.
* gnu/packages/ruby.scm (ruby-sdoc): New variable.
2015-11-30 14:41:48 +01:00
Ricardo Wurmus a75bdfcec3 gnu: Add ruby-pry-editline.
* gnu/packages/ruby.scm (ruby-pry-editline): New variable.
2015-11-30 14:41:48 +01:00
Ricardo Wurmus 2f9e0b68e1 gnu: Add ruby-ci-reporter.
* gnu/packages/ruby.scm (ruby-ci-reporter): New variable.
2015-11-30 14:41:48 +01:00
Ricardo Wurmus fe1ddad54a gnu: Add ruby-atoulme-saikuro.
* gnu/packages/ruby.scm (ruby-atoulme-saikuro): New variable.
2015-11-30 14:41:48 +01:00
Ricardo Wurmus a84fa2ad42 gnu: Add ruby-simplecov.
* gnu/packages/ruby.scm (ruby-simplecov): New variable.
2015-11-30 14:41:48 +01:00
Ricardo Wurmus b0cf606f75 gnu: Add sparsehash.
* gnu/packages/crypto.scm (sparsehash): New variable.
2015-11-30 14:41:48 +01:00
Ricardo Wurmus 0149354d21 gnu: Add cereal.
* gnu/packages/serialization.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-11-30 14:41:48 +01:00
Efraim Flashner dbd3a91f54 gnu: xorriso: Update to 1.4.2.
* gnu/packages/cdrom.scm (xorriso): Update to 1.4.2.
2015-11-30 10:41:19 +02:00
Ludovic Courtès 02f0c3b28e gnu: python: Move tkinter to "tk" output.
* gnu/packages/python.scm (python-2)[outputs]: New field.
[arguments]: Add 'move-tk-inter' phase.
(python2-minimal, python-minimal, wrap-python3)[outputs]: New field.
2015-11-29 22:59:28 +01:00
Ludovic Courtès d2cc9c7cfd gnu: python: Clarify and shorten the list of built-time modules.
* gnu/packages/python.scm (python-2)[arguments]: Make the #:modules list
  shorter.
2015-11-29 22:59:28 +01:00
Ludovic Courtès 5b4e2791ef gnu: python: Do not record configure flags.
This reduces the number of run-time dependencies of python-2 from 25 to
15, corresponding only to ~4 MiB.

* gnu/packages/python.scm (python-2)[arguments]: Add
  'do-not-record-configure-flags' phase.
2015-11-29 22:59:28 +01:00
Ludovic Courtès c5a05e3143 gnu: python: Factorize configure flags with minimal variants.
* gnu/packages/python.scm (python2-minimal, python-minimal)[arguments]:
  Reuse the inherited configure flags, and just add
  --without-system-ffi.
2015-11-29 22:59:28 +01:00
Ludovic Courtès 9820a6d4a0 gnu: python: Make 'sys.version' deterministic.
* gnu/packages/patches/python-2-deterministic-build-info.patch,
  gnu/packages/patches/python-3-deterministic-build-info.patch: New
  files.
* gnu/packages/python.scm (python-2, python): Use them.
* gnu-system.am (dist_patch_DATA): Add them.
2015-11-29 22:59:28 +01:00
Ludovic Courtès a665996f58 gnu: python: Set SOURCE_DATE_EPOCH to 1 instead of 0.
* gnu/packages/python.scm (python-2)[arguments]: Set SOURCE_DATE_EPOCH
  to 1 to match what the daemon does.
* guix/build/python-build-system.scm (set-SOURCE-DATE-EPOCH): Likewise.
2015-11-29 22:59:28 +01:00
Ludovic Courtès dedc832070 gnu: python-2: Honor 'SOURCE_DATE_EPOCH'.
* gnu/packages/patches/python-2.7-source-date-epoch.patch: New file.
* gnu/packages/python.scm (python-2)[source]: Use it.
  [arguments]: Set SOURCE_DATE_EPOCH in 'patch-lib-shells' phase.
* guix/build/python-build-system.scm (set-SOURCE-DATE-EPOCH): New
  procedure.
  (%standard-phases): Add it.
* gnu-system.am (dist_patch_DATA): Add patch.
2015-11-29 22:59:28 +01:00
Ludovic Courtès f8e7fdc416 gnu: tcl: Produce 'tclIndex' files deterministically.
* gnu/packages/patches/tcl-mkindex-deterministic.patch: New patch.
* gnu/packages/tcl.scm (tcl)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-11-29 22:59:28 +01:00
宋文武 79c8a071e7 tk: Hardcode path to TK_LIBRARY.
Fixes <http://bugs.gnu.org/20889>.

* gnu/packages/patches/tk-find-library.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/tcl.scm (tk)[source]: Add patch.
2015-11-29 22:59:28 +01:00
Ludovic Courtès 26059753ae refresh: Check updater availability at run time.
This is a followup to b68d2db, which added a check for updaters at
macro-expansion time.  The problem is that, when running 'guix pull',
Guile-JSON is found, so the PyPi updater (say) is added to %UPDATERS,
but then at run time Guile-JSON might be missing.

Reported by orbea on #guix.

* guix/scripts/refresh.scm (maybe-updater): Rewrite as 'syntax-rules'.
Produce code that checks conditions at run time.
(list-updaters): Update docstring.
2015-11-29 22:56:29 +01:00
Ricardo Wurmus 4b7857a48b gnu: Add perl-dbd-mysql.
* gnu/packages/databases.scm (perl-dbd-mysql): New variable.
2015-11-29 20:52:10 +01:00
Ricardo Wurmus 11d4800aa2 gnu: Add Rakarrack.
* gnu/packages/audio.scm (rakarrack): New variable.
2015-11-29 20:45:06 +01:00
Ricardo Wurmus eac26c3b09 services: Add pkexec to setuid programs.
* gnu/services/desktop.scm (polkit-setuid-programs): Add pkexec to
  list of setuid programs.
2015-11-29 20:33:35 +01:00
Ricardo Wurmus 25a21c7ff6 gnu: xfce-session: Enable shutdown/reboot menu entries.
* gnu/packages/xfce.scm (xfce-session)[inputs]: Add upower and polkit.
[source]: Replace paths to "shutdown" with "halt" and "restart".
2015-11-29 20:33:35 +01:00
Ludovic Courtès cb7bd0cff5 gnu: weechat: Dynamically link against libpython2.7.so.
* gnu/packages/patches/weechat-python.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/weechat.scm (weechat)[source]: Use it.
2015-11-29 19:17:33 +01:00
Ludovic Courtès 25d188ce12 http-client: 'http-fetch' converts strings to URIs.
* guix/http-client.scm (http-fetch): Use 'string->uri' if URI is a
string.  Fixes a regression introduced in 8a5063f.
2015-11-29 17:46:11 +01:00
Ludovic Courtès 841cb43c6b guix build: Factorize build log query.
* guix/scripts/build.scm (show-build-log): New procedure.
(guix-build): New variable 'items'.  Use it and 'show-build-log'.
2015-11-29 17:42:01 +01:00
Ludovic Courtès 4eae798075 gnu: guile-next: Update to 2.1.1.
* gnu/packages/guile.scm (guile-next)[source]: Update to 2.1.1.
[arguments, native-inputs]: Move to...
(guile-for-guile-emacs): ... here.  New fields.
2015-11-29 17:37:00 +01:00
Ludovic Courtès e946b609b2 ld-wrapper: Compute the library search path globally.
Fixes <http://bugs.gnu.org/21941>.

* gnu/packages/ld-wrapper.in (library-search-path): New procedure.
(library-files-linked): Add 'library-path' parameter.  Use it.  Do not
thread it in 'fold'.
(ld-wrapper): Add call to 'library-search-path' and pass the result to
'library-files-linked'.  When debugging, print the value of PATH.
2015-11-28 22:11:12 +01:00
Ludovic Courtès 471cdfdb19 environment: Set build options early on.
This fixes a bug whereby some options, such as #:substitute-urls, would
be passed to the daemon too late to have an effect.

* guix/scripts/environment.scm (build-inputs): Remove call to
'set-build-options-from-command-line*'.
(guix-environment): Add call to 'set-build-options-from-command-line' as
early as possible.
2015-11-28 21:53:51 +01:00
Ludovic Courtès f79a576e77 gnu: jasper: Patch CVE-2008-3522.
* gnu/packages/patches/jasper-CVE-2008-3522.patch: New file.
* gnu/packages/image.scm (jasper)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-11-28 16:29:11 +01:00
Ludovic Courtès 4e70fe4d0e lint: Do not report already-patched vulnerabilities.
* guix/scripts/lint.scm (patch-file-name): New procedure.
(check-vulnerabilities): Use it to filter out patched vulnerabilities.
* tests/lint.scm ("cve: one patched vulnerability"): New test.
2015-11-28 16:15:31 +01:00
Ludovic Courtès f6c9fb1b38 doc: Mention 'specification->package'.
Suggested by Florian Paul Schmidt <mista.tapas@gmx.net>.

* doc/guix.texi (Using the Configuration System): Mention
'specification->package'.
2015-11-28 15:28:44 +01:00
Ludovic Courtès ae4427e3f3 substitute: Warn upon store prefix mismatches.
Suggested by Hynek Urban <hynek.urban@gmail.com>.

* guix/scripts/substitute.scm (fetch-narinfos): Move body to...
[do-fetch]: ... here.  New procedure.
Emit a warning when CACHE-INFO's prefix does not match.
2015-11-28 00:02:23 +01:00
Ludovic Courtès 6629099a63 services: tor: Store private data under /var/lib/tor.
* gnu/services/networking.scm (tor-configuration->torrc): Add
'DataDirectory' clause.  Change 'HiddenServiceDir' to
/var/lib/tor/hidden-services/NAME.
(tor-hidden-service-activation): Create /var/lib/tor.
(tor-hidden-service): Adjust docstring.
* doc/guix.texi (Networking Services): Adjust accordingly.
2015-11-27 23:29:51 +01:00
Ludovic Courtès 5ee35eb747 services: tor: Write to syslog.
* gnu/services/networking.scm (tor-configuration->torrc): Add "Log
notice syslog".
(tor-dmd-service): Add 'syslogd' to 'requirement'.
2015-11-27 23:08:00 +01:00
Ludovic Courtès 6331bde73f services: Add 'tor-hidden-service'.
* gnu/services/networking.scm (<tor-configuration>, <hidden-service>):
New record types.
(tor-configuration->torrc): New procedure.
(tor-dmd-service): Use it.
(tor-hidden-service-activation): New procedure.
(tor-service-type)[extensions]: Extend ACTIVATION-SERVICE-TYPE.
[compose, extend]: New fields.
(tor-service): Use 'tor-configuration'.
(tor-hidden-service-type): New variable.
(tor-hidden-service): New procedure.
2015-11-27 23:04:49 +01:00
Ludovic Courtès fde40c98f9 services: lsh: Correctly handle #:interfaces option.
* gnu/services/ssh.scm (lsh-dmd-service)[lsh-command]: Pass a series of
--interface flags instead of the nonexistent --interfaces option.
2015-11-27 22:46:27 +01:00
Ludovic Courtès 4331f558d7 gnu: tor: Update to 0.2.7.5.
* gnu/packages/tor.scm (tor): Update to 0.2.7.5.
2015-11-27 15:06:15 +01:00
Ludovic Courtès ef8742ea69 gnu: eigen: Really run tests in verbose mode.
Suggested by Gaël Guennebaud <gael.guennebaud@inria.fr>.

* gnu/packages/algebra.scm (eigen)[arguments]: Remove #:test-target.
Rename 'build-tests' phase to 'check', and have it run 'ctest -V'.
2015-11-27 11:04:17 +01:00
Andreas Enge 08c28b6d5a gnu: gp2c: Update to 0.0.9pl4.
* gnu/packages/algebra.scm (gp2c): Update to 0.0.9pl4.
2015-11-27 02:44:21 +01:00
Mario Daniel Ruiz Saavedra ad227484c3 Add 'guix-daemon.conf' job for Upstart.
* etc/guix-daemon.conf.in: New file.
* daemon.am (CLEANFILES): Add etc/guix-daemon.conf.
  (upstartjobdir, nodist_upstartjob_DATA): New variables.
  (EXTRA_DIST): Add etc/guix-daemon.conf.in.
* doc/guix.texi (Binary Installation, Build Environment Setup): Mention
  'guix-daemon.conf'.

Signed-off-by: Mario Daniel Ruiz Saavedra <desiderantes@rocketmail.com>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-11-26 23:21:09 +01:00
Ludovic Courtès 5432734b00 lint: Add "cve" checker.
Fixes <http://bugs.gnu.org/21289>.

* guix/scripts/lint.scm (package-name->cpe-name, package-vulnerabilities)
(check-vulnerabilities): New procedures.
* guix/scripts/lint.scm (%checkers): Add "cve" checker.
* tests/lint.scm ("cve", "cve: one vulnerability"): New tests.
* doc/guix.texi (Invoking guix lint): Mention it.
2015-11-26 23:04:19 +01:00
Ludovic Courtès 0eef755130 Add (guix cve).
* guix/cve.scm, tests/cve-sample.xml, tests/cve.scm: New files.
* Makefile.am (MODULES): Add guix/cve.scm.
(SCM_TESTS): Add tests/cve.scm.
(EXTRA_DIST): Add tests/cve-sample.scm.
2015-11-26 22:35:01 +01:00
Ludovic Courtès 8a5063f777 http-client: 'http-fetch' and 'http-fetch/cached' support HTTPS.
* guix/http-client.scm (http-fetch): Use 'open-connection-for-uri', to
support HTTPS.
2015-11-26 21:07:25 +01:00
Federico Beffa d8c66da7c1 import: hackage: Assume current 'ghc' package version.
* guix/scripts/import/hackage.scm (%default-options): Do it.
  (ghc-default-version): New variable.
2015-11-26 18:17:23 +01:00
Federico Beffa d3c827e419 import: hackage: Add new tests.
* tests/hackage.scm (eval-test-with-cabal): Add optional argument.
  (test-cabal-3): New variable and test.
  (test-read-cabal-1): Exercise more parsing variants.
2015-11-26 18:17:23 +01:00
Federico Beffa 96018e21e7 import: hackage: Handle CRLF end of line style.
* guix/import/hackage.scm (hackage-fetch, hackage->guix-package): Use
  'canonical-newline-port'.
2015-11-26 18:17:23 +01:00
Federico Beffa c8be6f0d4a utils: Add 'canonical-newline-port'.
* guix/utils.scm (canonical-newline-port): New procedure.
* tests/utils.scm ("canonical-newline-port"): New test.
2015-11-26 18:17:23 +01:00
Federico Beffa 94abc84887 import: hackage: Make parsing of tests and fields more flexible.
* guix/import/cabal.scm (is-test): Allow spaces between keyword and
  parentheses.
  (is-id): Add argument 'port'.  Allow spaces between keyword and column.
  (lex-word): Adjust call to 'is-id'.
2015-11-26 18:17:23 +01:00
Federico Beffa 876fd23ab6 import: hackage: Make it resilient to missing final newline.
* guix/import/cabal.scm (peek-next-line-indent): Check for missing final
  newline.
2015-11-26 18:17:23 +01:00
Federico Beffa 9be54eb1b1 import: hackage: Imporve parsing of tests.
* guix/import/cabal.scm (lex-word): Add support for tests with no spaces.
  (impl): Rewrite.
2015-11-26 18:17:23 +01:00
Federico Beffa 7716f55c83 import: hackage: Add recognition of 'true' and 'false' symbols.
* guix/import/cabal.scm (is-true, is-false, lex-true, lex-false): New procedures.
  (lex-word): Use them.
  (make-cabal-parser): Add TRUE and FALSE tokens.
  (eval): Add entries for 'true and 'false symbols.
2015-11-26 18:17:22 +01:00
Efraim Flashner b72a44100e gnu: python-pickleshare: Add python-setuptools to native-inputs.
* gnu/packages/python.scm (python-pickleshare)[native-inputs]: Add
python-setuptools.
2015-11-26 15:28:31 +02:00
Efraim Flashner 553b709ba1 gnu: python-pathpy: Add python-setuptools to native-inputs.
* gnu/packages/python.scm (python-pathpy)[native-inputs]: Add
python-setuptools.
2015-11-26 15:26:18 +02:00
Efraim Flashner 0066de6f3a gnu: python2-oauthlib: Override python2-cryptography in inputs.
* gnu/packages/python.scm (python2-oauthlib)[inputs]: Override inherited
"python2-cryptography" in inputs.
2015-11-26 12:03:45 +02:00
宋文武 7234ad4f54 services: Add network-manager-service.
* gnu/services/networking.scm (network-manager-service): New procedure.
(network-manager-service-type, %network-manager-activation): New variables.
(network-manager-dmd-service): New procedure.
2015-11-26 13:50:13 +08:00
Efraim Flashner bde2171d4d gnu: python-oauthlib: Update to 1.0.3.
* gnu/packages/python.scm (python-oauthlib): Update to 1.0.3.
[native-inputs]: Move python-setuptools, python-nose, python mock here.
Add python-coverage.
[inputs]: Add python-blinker, python-cryptography, python-pyjwt.
2015-11-25 20:42:06 +02:00
Efraim Flashner 7957fe6c10 gnu: python2-unittest2: Use python2-setuptools.
* gnu/packages/python.scm (python2-unittest2)[inputs]: Switch from
python-setuptools to python2-setuptools.
2015-11-25 20:42:05 +02:00
David Thompson 4b7513e043 services: xorg: Export additional symbols.
'slim-configuration' and 'slim-service-type' are needed if one wishes to
use 'modify-services' on a service list that includes the slim service.

* gnu/services/xorg.scm: Export 'slim-configuration' and
  'slim-service-type'.
2015-11-25 12:47:58 -05:00
David Thompson 34f5618bca gnu: Add kodi.
* gnu/packages/kodi.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-11-25 11:44:11 -05:00
David Thompson b0b23e52a3 gnu: Add jasper.
* gnu/packages/image.scm (jasper): New variable.
2015-11-25 11:44:11 -05:00
David Thompson 33ae9107d8 gnu: Add tinyxml.
* gnu/packages/xml.scm (tinyxml): New variable.
* gnu/packages/patches/tinyxml-use-stl.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-11-25 11:44:11 -05:00
Ludovic Courtès 968ae90318 build: Reject ARMv6 systems.
Fixes <http://bugs.gnu.org/21987>.
Reported by Martin Vahi <martin.vahi@softf1.com>.

* m4/guix.m4 (GUIX_SYSTEM_TYPE): Restrict ARM systems to arm|armv[7-9].
2015-11-25 17:01:02 +01:00
Leo Famulari 13ef3e997b gnu: Add eyeD3.
* gnu/packages/mp3.scm (eyed3): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-11-25 17:01:02 +01:00
Ricardo Wurmus 1c207a7658 gnu: Add Ragel.
* gnu/packages/ragel.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-11-25 15:21:47 +01:00
Ludovic Courtès b9c7ed71b1 services: dmd: Spawn a REPL upon failure to load a service definition.
Fixes <http://bugs.gnu.org/19779>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/services/dmd.scm (dmd-configuration-file)[config]: Wrap
'primitive-load' calls in 'call-with-error-handling'.
2015-11-25 11:59:54 +01:00
Ludovic Courtès 3177149797 doc: Remove mention of monadic services.
* doc/guix.texi (Base Services): Remove mention of a list of monadic
services.
2015-11-25 11:59:54 +01:00
Ludovic Courtès 479b417b54 services: dmd: Strip the default list of modules.
* gnu/services/dmd.scm (%default-imported-modules): Remove (gnu build
file-systems).
(%default-modules): Likewise, and remove (ice-9 ftw).
* gnu/services/base.scm (file-system-service-type): Add 'modules' and
'imported-modules' fields.
2015-11-25 11:59:54 +01:00
Ludovic Courtès fae685b9cc services: dmd: Add 'modules' and 'imported-modules' fields.
* gnu/services/dmd.scm (%default-imported-modules, %default-modules):
New variables.
* gnu/services/dmd.scm (<dmd-service>)[modules, imported-modules]: New
field.
* gnu/services/dmd.scm (dmd-service-file-name, dmd-service-file): New
procedures.
(dmd-configuration-file)[modules]: Compute based on the
'imported-modules' field of SERVICES.
(dmd-configuration-file): Remove 'use-modules' form.  Use
'dmd-service-file', and call 'primitive-load' on each file.
* doc/guix.texi (dmd Services): Document the new fields.
2015-11-25 11:59:54 +01:00
Ludovic Courtès 851b6f6283 gexp: Build text derivations locally.
* guix/gexp.scm (gexp->file): Pass #:substitutable? #f.
(text-file*): Likewise, and #:local-build? #t.
2015-11-25 11:59:54 +01:00
Ludovic Courtès b6094b1f0a gnu: dico: Sort entries in .a files deterministically.
* gnu/packages/patches/dico-libtool-deterministic.patch: New file.
* gnu/packages/dico.scm (dico)[source]: Use it.
[arguments]: Add #:make-flags.
* gnu-system.am (dist_patch_DATA): Add the patch.
2015-11-25 11:59:54 +01:00
Andreas Enge 90c59e970e gnu: gmp: Update to 6.1.0.
* gnu/packages/multiprecision.scm (gmp): Update to 6.1.0.
2015-11-25 04:20:56 +01:00
Leo Famulari 39570137e5 gnu: libreoffice: Update to 5.0.3.2 [fixes CVE-2015-5214].
* gnu/packages/libreoffice.scm (libreoffice): Update to 5.0.3.2
2015-11-24 22:00:34 -05:00
Ludovic Courtès c9e34a6a77 gnu: Add GNU Dico.
* gnu/packages/dico.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-11-24 23:54:30 +01:00
Ludovic Courtès 2d2651e781 services: dmd: Error out upon unmet dmd requirements.
* gnu/services/dmd.scm (assert-no-duplicates): Rename to...
(assert-valid-graph): ... this.
[provisions]: New variable.
[assert-satisfied-requirements]: New procedure.
Use it.
* tests/guix-system.sh: Add test with unmet dmd requirements.
2015-11-24 23:54:30 +01:00
Efraim Flashner eb31d4b4f1 gnu: python-pyjwt: Update to 1.4.0.
* gnu/packages/python.scm (python-pyjwt): Update to 1.4.0.
[native-inputs]: Move python-setuptools here, add python-pytest-runner.
2015-11-24 22:30:09 +02:00
Efraim Flashner d50d097d58 gnu: python-pytest-runner: Add python-setuptools as native-input.
* gnu/packages/python.scm (python-pytest-runner)[native-input]: Add
  python-setuptools.
2015-11-24 21:44:58 +02:00
Efraim Flashner 383af6b096 gnu: python-setuptools-scm: Update to 1.9.0.
* gnu/packages/python.scm (python-setuptools-scm): Update to 1.9.0.
[native-inputs]: Add python-setuptools.
2015-11-24 20:08:14 +02:00
Eric Bavier 97003b5ccc gnu: gnuplot: Update to 5.0.1.
* gnu/packages/maths.scm (gnuplot): Update to 5.0.1.
  (native-inputs): 'texlive' -> 'texlive-bin'.
2015-11-24 11:41:46 -06:00
Ludovic Courtès cc3de1da41 guix package: Reduce startup time by ~50%.
As measured with:

  time sh -c 'for i in `seq 1 10` ; do guix package --search-paths ; done'

On my machine, when running:

  strace -o ,,s guix package --search-paths

the number returned by:

  grep -E '^(open|l?stat).*\.go' ,,s | wc -l

drops from 1610 to 837.

* guix/scripts/package.scm: Remove two unnecessary #:use-module forms.
Autoload (gnu packages ...) modules.
2015-11-24 18:19:25 +01:00
Ricardo Wurmus 8b749cf3cb gnu: ruby-simplecov-html: Fix hash and disable tests.
* gnu/packages/ruby.scm (ruby-simplecov-html)[source]: Replace incorrect
  hash.
[arguments]: Disable tests.
2015-11-24 16:39:30 +01:00
Ludovic Courtès 5ca2b3c245 build: Add rsem patch to the distribution.
This file was added in commit 66e3eff1.

* gnu-system.am (dist_patch_DATA): Add rsem-makefile.patch.
2015-11-24 13:15:38 +01:00
Ludovic Courtès 38b92daa81 graph: Add '%bag-with-origins-node-type'.
* guix/scripts/graph.scm (bag-node-edges): Remove 'filter' call.  Add
case for 'origin'.
(%bag-node-type)[edges]: Add filtering here.
(%bag-with-origins-node-type): New variable.
(%node-types): Add it.
* tests/graph.scm ("bag DAG, including origins"): New test.
* tests/guix-graph.sh: Add 'bag-with-origins'.
* doc/guix.texi (Invoking guix graph): Document it.
2015-11-23 23:34:15 +01:00
Ludovic Courtès 961d0d2d22 doc: Mention the 'NIX_REMOTE' variable for 'guix import nix'.
Suggested by rgrau on #guix.

* doc/guix.texi (Invoking guix import): Document 'NIX_REMOTE'.
2015-11-23 23:20:41 +01:00
Ludovic Courtès 2d7fc7daf1 refresh: Add '--expression'.
* guix/scripts/refresh.scm (%options, show-help): Add --expression.
(guix-refresh): Honor it.
* doc/guix.texi (Invoking guix refresh): Document it.
2015-11-23 17:48:35 +01:00
Ludovic Courtès 160b0ef3fd Thank Jan. 2015-11-23 17:48:35 +01:00
Ludovic Courtès 86cdfc451b guix download: Fail when more than one URL is passed.
* guix/scripts/download.scm (guix-download)[parse-option]: Call 'leave'
when passed an extra argument.
* tests/guix-download.sh: Add test.
2015-11-23 17:48:35 +01:00
Ludovic Courtès 71ae18ee52 guix download: Gracefully handle missing arguments.
Fixes <http://bugs.gnu.org/21991>.
Reported by Jan Synáček <jan.synacek@gmail.com>.

* guix/scripts/download.scm (guix-download): Call 'leave' when OPTS does
not contain an 'argument' key.
2015-11-23 17:48:35 +01:00
Taylan Ulrich Bayırlı/Kammer bbee7bd765 gnu: enca: Add file-name field to source.
* gnu/packages/textutils.scm (enca): Add file-name field to source.
2015-11-23 13:46:31 +01:00
Taylan Ulrich Bayırlı/Kammer 6f323b0773 gnu: recode: Add file-name field to source.
* gnu/packages/textutils.scm (recode): Add file-name field to source.
2015-11-23 12:05:55 +01:00
Ludovic Courtès 821f4dc287 gnu: Fix a few 'source-file-name' lint warnings.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[source](file-name): New
field.
* gnu/packages/gnunet.scm (guile-gnunet)[source](file-name): New field.
* gnu/packages/guile.scm (guile-next)[source](file-name): New field.
(guile-minikanren)[source](file-name): New field
(guile-gdbm-ffi)[source](file-name): New field.
* gnu/packages/ssh.scm (guile-ssh)[source](file-name): New field.
2015-11-23 10:52:32 +01:00
Alex Kost 59dc56390d emacs: Expand 'guix-load-path'.
Reported by Mathieu Lirzin <mthl@gnu.org> at
<http://lists.gnu.org/archive/html/guix-devel/2015-11/msg00585.html>.

* emacs/guix-backend.el (guix-start-repl): Expand 'guix-load-path' to
  avoid a potentially relative directory name in Guile %load-path.
2015-11-23 11:33:55 +03:00
Ludovic Courtès 862d2479f6 ftp-client: Default port for 'ftp-open' is now "ftp".
* guix/ftp-client.scm (ftp-open): Change default #:port to "ftp".
* guix/scripts/lint.scm (probe-uri): Remove 'port' parameter to
'ftp-open'.
2015-11-22 14:35:28 +01:00
Ludovic Courtès d6d33984df ftp-client: Fix off-by-one when trying addresses in 'ftp-open'.
* guix/ftp-client.scm (ftp-open): Change to use 'match' instead of
car/cdr, and fix off-by-one (was '(null? addresses)' instead of
'(null? (cdr addresses))'.)
2015-11-22 14:16:36 +01:00
Ludovic Courtès 5fb95cc592 doc: Mention 'guix environment guix'.
* doc/contributing.texi (Building from Git): Mention 'guix environment
guix'.  Remove outdated description of ./bootstrap.  Clarify a few
things.
2015-11-22 14:14:25 +01:00
Ludovic Courtès 82e64fc14e environment: Correctly handle abnormal exits.
Fixes <http://bugs.gnu.org/21958>.

* guix/scripts/environment.scm (status->exit-code): New procedure.
(exit/status, primitive-exit/status): Use it.
* tests/guix-environment-container.sh: Add test.
2015-11-21 22:26:13 +01:00
Ludovic Courtès 6493fd0458 tests: Skip 'guix-container-environment.sh' when support is missing.
Fixes <http://bugs.gnu.org/21410>.
Reported by Alex Vong <alexvong1995@gmail.com>.

* tests/guix-environment-container.sh: Exit with 77 when
'((@@ (guix scripts environment) assert-container-features))' fails.
2015-11-21 22:26:13 +01:00
Ludovic Courtès aabe6d3801 doc: Remove extraneous "See."
* doc/contributing.texi (Building from Git): Remove extra "See" and use
@xref instead of @pxref.
2015-11-21 22:26:13 +01:00
Efraim Flashner 92d9a36e97 gnu: tig: Update to 2.1.1.
* gnu/packages/version-control.scm (tig): Update to 2.1.1.
2015-11-21 23:03:11 +02:00
Efraim Flashner 7fbbd3e7a0 gnu: cvs: Use external zlib.
* gnu/packages/version-control.scm (cvs)[arguments]: add configure flag
  --with-exernal-zlib.
2015-11-21 21:43:11 +02:00
Efraim Flashner f94f481988 gnu: nano: Update to 2.4.3.
* gnu/packages/nano.scm (nano): Update to 2.4.3.
2015-11-21 20:56:08 +02:00
Ludovic Courtès a51cbecb44 refresh: Rewrite '--list-dependent' in terms of (guix graph).
* guix/scripts/refresh.scm (all-packages, list-dependents): New
procedures.
(guix-refresh): Use it.
2015-11-21 16:27:34 +01:00
Ludovic Courtès 923d846c4d graph: Add procedures to query a node's edges.
* guix/graph.scm (%node-edges, node-edges, node-back-edges)
(node-transitive-edges): New procedures.
* tests/graph.scm ("node-edges")
("node-transitive-edges + node-back-edges"): New tests.
2015-11-21 16:26:43 +01:00
Ludovic Courtès 8fb583714f Add (guix graph).
* guix/scripts/graph.scm (<node-type>, <graph-backend>, emit-prologue)
(emit-epilogue, emit-node, emit-edge, %graphviz-backend, export-graph):
Move to...
* guix/graph.scm: ... here.  New file.
* guix/scripts/system.scm, tests/graph.scm: Use it.
* Makefile.am (MODULES): Add it.
2015-11-21 16:26:43 +01:00
Mathieu Lirzin 1b933e62dc gnu: parted: Update to 3.2.
* gnu/packages/disk.scm (parted): Update to 3.2.
[inputs]: Add lvm2 and remove check.  Replace readline-6.2 with its
latest version.
[native-inputs]: Add perl and python for the tests.
[arguments]: Use `modify-phases' and adapt to the new tests.
[home-page]: Use https.
2015-11-21 13:10:27 +01:00
Ludovic Courtès 06da1a6b4f gnu: Add qemu-minimal.
* gnu/packages/qemu.scm (qemu): Exchange with former QEMU-HEADLESS.
(qemu-headless): Rename to...
(qemu-minimal): ... this.  New variable.  Pass --target-list.
* gnu/packages/debug.scm (qemu-2.3.0): Inherit from QEMU-MINIMAL.
* gnu/packages/grub.scm (qemu-for-tests): Likewise.
* gnu/system/vm.scm (expression->derivation-in-linux-vm, qemu-image):
Update to name change.
2015-11-21 00:36:23 +01:00
Alex Kost bb38ece458 doc: Fix 'geiser-guile-load-path' example.
Reported by marusich on #guix.

* doc/contributing.texi (The Perfect Setup): Wrap modifying
  'geiser-guile-load-path' into 'with-eval-after-load'.
2015-11-21 02:19:04 +03:00
Ricardo Wurmus 56215e4154 gnu: Add Synfig Studio.
* gnu/packages/animation.scm (synfigstudio): New variable.
2015-11-20 20:23:03 +01:00
Ricardo Wurmus 7775a18690 gnu: Add Synfig.
* gnu/packages/animation.scm (synfig): New variable.
* gnu/packages/patches/synfig-build-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-11-20 20:23:03 +01:00
Ricardo Wurmus c1fbc66a77 gnu: Add ETL.
* gnu/packages/animation.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-11-20 20:23:03 +01:00
Ricardo Wurmus 307ad140db gnu: Add MLT.
* gnu/packages/video.scm (mlt): New variable.
2015-11-20 20:23:03 +01:00
Ricardo Wurmus 561965941c gnu: Add libxml++.
* gnu/packages/gnome.scm (libxml++): New variable.
2015-11-20 20:23:03 +01:00
Eric Bavier 9cf5245497 gnu: slepc: Update to 3.6.2.
* gnu/packages/maths.scm (slepc): Update to 3.6.2.
  [arguments]: Append "/lib" to arpack configure flag.  Use 'inputs'
  rather than '%build-inputs' in 'configure phase.
2015-11-20 11:58:40 -06:00
Eric Bavier 32187d99bb gnu: petsc: Update to 3.6.2.
* gnu/packages/maths.scm (petsc): Update to 3.6.2.
2015-11-20 11:58:40 -06:00
Eric Bavier c69fa4380a gnu: mumps: Update to 5.0.1.
* gnu/packages/maths.scm (mumps): Update to 5.0.1.
2015-11-20 11:58:40 -06:00
Eric Bavier ac356fd6ab gnu: openmpi: Update to 1.10.1.
* gnu/packages/mpi.scm (openmpi): Update to 1.10.1.
  [arguments]: Remove now-unsupported configure flags.  Add
  --enable-builtin-atomics.  Remove development-oriented
  --enable-debug.
2015-11-20 11:58:40 -06:00
Eric Bavier 2f5b6a1f18 gnu: hwloc: Update to 1.11.1.
* gnu/packages/mpi.scm (hwloc): Update to 1.11.1.
  [source]: Remove patch.
* gnu/packages/patches/hwloc-gather-topology-lstopo.patch: Delete it.
* gnu-system.am (dist_patch_DATA): Remove it.
2015-11-20 11:58:40 -06:00
Ricardo Wurmus 0297966495 gnu: guitarix: Update to 0.34.0.
* gnu/packages/audio.scm (guitarix): Update to 0.34.0.
[source]: Remove patch.
[inputs]: Add webkitgtk/gtk+-2.
* gnu/packages/patches/guitarix-c++11: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
2015-11-20 18:19:30 +01:00
David Thompson a907d9973a gnu: services: Fix typo in gpm-dmd-service.
* gnu/services/base.scm (gpm-dmd-service): s/dmd/gpm/
2015-11-20 09:56:41 -05:00
David Thompson 3307c7877e gnu: Add emulation-station.
* gnu/packages/games.scm (emulation-station): New variable.
2015-11-20 09:27:15 -05:00
Ricardo Wurmus b49c5a58dc gnu: preseq: Update to 2.0.
* gnu/packages/bioinformatics.scm (preseq): Update to 2.0.
[source]: Add file-name field, remove patches.
[arguments]: Remove unused build phases, add make flags.
[inputs]: Add smithlab-cpp.
* gnu/packages/patches/preseq-1.0.2-link-with-libbam.patch: Remove file.
* gnu/packages/patches/preseq-1.0.2-install-to-PREFIX.patch: Remove
  file.
* gnu-system.am (dist_patch_DATA): Remove them.
2015-11-20 15:22:06 +01:00
Ricardo Wurmus c6a24d6e92 gnu: Add smithlab-cpp.
* gnu/packages/bioinformatics.scm (smithlab-cpp): New variable.
2015-11-20 15:22:06 +01:00
Ricardo Wurmus 3d51ec919e gnu: edirect: Update home page.
* gnu/packages/bioinformatics.scm (edirect)[home-page]: Append trailing
  slash to home page.
2015-11-20 15:21:24 +01:00
Ricardo Wurmus c52a382c4a gnu: sra-tools: Update to 2.5.4.
* gnu/packages/bioinformatics.scm (sra-tools): Update to 2.5.4.
2015-11-20 15:21:24 +01:00
Ricardo Wurmus 9e5ef614aa gnu: ncbi-vdb: Update to 2.5.4.
* gnu/packages/bioinformatics.scm (ncbi-vdb): Update to 2.5.4.
2015-11-20 15:21:24 +01:00
Ricardo Wurmus 614a8977cb gnu: ngs-java: Update to 1.2.2.
* gnu/packages/bioinformatics.scm (ngs-java): Update to 1.2.2.
[arguments]: Remove build phase "fix-java-symlink-installation".
2015-11-20 15:21:24 +01:00
Ricardo Wurmus d6a1cd7cae gnu: ngs-sdk: Update to 1.2.2.
* gnu/packages/bioinformatics.scm (ngs-sdk): Update to 1.2.2.
2015-11-20 15:21:24 +01:00
Ricardo Wurmus 2c84ba7e11 gnu: Add ruby-net-ssh.
* gnu/packages/ruby.scm (ruby-net-ssh): New variable.
2015-11-20 15:21:24 +01:00
Ricardo Wurmus 4f2a52aeb5 gnu: Add ruby-mocha.
* gnu/packages/ruby.scm (ruby-mocha): New variable.
2015-11-20 15:21:24 +01:00
Ricardo Wurmus d93062fd5c gnu: Add ruby-redcarpet.
* gnu/packages/ruby.scm (ruby-redcarpet): New variable.
2015-11-20 15:21:24 +01:00
Ricardo Wurmus 97aee8d3eb gnu: Add ruby-introspection.
* gnu/packages/ruby.scm (ruby-introspection): New variable.
2015-11-20 15:21:24 +01:00
Ricardo Wurmus 4016ba3fd0 gnu: Add ruby-instantiator.
* gnu/packages/ruby.scm (ruby-instantiator): New variable.
2015-11-20 15:21:24 +01:00
Ricardo Wurmus 21f7b7bd80 gnu: Add ruby-blankslate.
* gnu/packages/ruby.scm (ruby-blankslate): New variable.
2015-11-20 15:21:24 +01:00
Ricardo Wurmus 25d6d49b3e gnu: Add ruby-metaclass.
* gnu/packages/ruby.scm (ruby-metaclass): New variable.
2015-11-20 15:21:24 +01:00
Ricardo Wurmus 3383f5bdab gnu: Add ruby-test-unit.
* gnu/packages/ruby.scm (ruby-test-unit): New variable.
2015-11-20 15:21:24 +01:00
Ricardo Wurmus cc5aeb8c7d gnu: Add ruby-packnga.
* gnu/packages/ruby.scm (ruby-packnga): New variable.
2015-11-20 15:21:24 +01:00
Ricardo Wurmus c1f52261e2 gnu: Add ruby-gettext.
* gnu/packages/ruby.scm (ruby-gettext): New variable.
2015-11-20 15:21:24 +01:00
Ricardo Wurmus e2333ea391 gnu: Add ruby-text.
* gnu/packages/ruby.scm (ruby-text): New variable.
2015-11-20 15:21:24 +01:00
Ricardo Wurmus 347eb21e1d gnu: Add ruby-locale.
* gnu/packages/ruby.scm (ruby-locale): New variable.
2015-11-20 15:21:24 +01:00
Ricardo Wurmus f88bacaf6f gnu: Add ruby-power-assert.
* gnu/packages/ruby.scm (ruby-power-assert): New variable.
2015-11-20 15:21:24 +01:00
Ricardo Wurmus 9641a89957 gnu: bless: Build only for x86_64.
* gnu/packages/bioinformatics.scm (bless): Add supported-systems field.
2015-11-20 11:32:32 +01:00
Ricardo Wurmus 0536727efe gnu: htseq: Propagate numpy.
* gnu/packages/bioinformatics.scm (htseq)[inputs]: Move python2-numpy
  from here ...
[propagated-inputs]: ... to here.
2015-11-20 11:32:32 +01:00
Ricardo Wurmus dffdef0f0f gnu: ant: Update to 1.9.6.
* gnu/packages/java.scm (ant): Update to 1.9.6.
2015-11-20 11:32:32 +01:00
Ludovic Courtès b2a72238b9 gnu: guix: Update development snapshot to 5c36edc.
* gnu/packages/package-management.scm (guix-devel): Update to 5c36edc.
2015-11-19 22:33:01 +01:00
Ludovic Courtès 5c36edc818 doc: Mention fonts for Asian languages.
Suggested by Alex Vong <alexvong1995@gmail.com>.

* doc/guix.texi (Application Setup): Explain how to install X11 fonts
  for Asian languages.
2015-11-19 17:39:48 +01:00
Ludovic Courtès 28d939af0e doc: Update documentation of the 'services' field.
* doc/guix.texi (operating-system Reference): The 'services' field now
  contains a list of service objects.
2015-11-19 17:39:48 +01:00
Ricardo Wurmus bc8bf605fc gnu: jack-2: Fix jack_control script.
* gnu/packages/audio.scm (jack-2)[inputs]: Add python2-dbus.
[arguments]: Use python-2 and add build phase to wrap jack_control
Python script.
2015-11-19 16:10:52 +01:00
Ricardo Wurmus 80e6f37e30 services: Add udev-rule procedure.
* gnu/services/base.scm (udev-rule): New procedure.
(kvm-udev-rule): Rewrite as variable in terms of udev-rule.
2015-11-19 16:10:52 +01:00
Eric Bavier c3c61a781c gnu: ghc-unordered-containers: Enable tests.
* gnu/packages/haskell.scm (ghc-unordered-containers)
  [arguments]: Remove.
  [inputs]: Add ghc-chasingbottoms, ghc-test-framework,
  ghc-test-framework-hunit, and ghc-test-framework-quickcheck2.
2015-11-19 03:13:20 -06:00
Eric Bavier 4eca62be49 gnu: Add ghc-chasingbottoms.
* gnu/packages/haskell.scm (ghc-chasingbottoms): New variable.
2015-11-19 03:13:20 -06:00
Eric Bavier 19206f5eb8 gnu: ghc-attoparsec: Enable tests.
* gnu/packages/haskell.scm (ghc-attoparsec)[arguments]: Remove.
  [inputs]: Add ghc-quickcheck, ghc-quickcheck-unicode,
  ghc-test-framework, and ghc-test-framework-quickcheck2.
2015-11-19 03:13:19 -06:00
Eric Bavier ab715ec9ae gnu: Add ghc-test-framework-quickcheck2.
* gnu/packages/haskell.scm (ghc-test-framework-quickcheck2): New
  variable.
2015-11-19 03:13:19 -06:00
Eric Bavier e1c1b71c38 gnu: ghc-async: Enable tests.
* gnu/packages/haskell.scm (ghc-async)[arguments]: Remove.
  [inputs]: Add ghc-hunit, ghc-test-framework, and
  ghc-test-framework-hunit.
2015-11-19 03:13:19 -06:00
Eric Bavier 0eeaa169a0 gnu: ghc-regex-posix: Propagate inputs.
* gnu/packages/haskell.scm (ghc-regex-posix): Propagate ghc-regex-base
  input.
2015-11-19 03:13:19 -06:00
Eric Bavier 1fe25c573a gnu: Add ghc-test-framework-hunit.
* gnu/packages/haskell.scm (ghc-test-framework-hunit): New variable.
2015-11-19 03:13:19 -06:00
Eric Bavier 09655c676b gnu: Add ghc-test-framework.
* gnu/packages/haskell.scm (ghc-test-framework): New variable.
2015-11-19 03:13:19 -06:00
Eric Bavier 1472ba2546 gnu: Add ghc-libxml.
* gnu/packages/haskell.scm (ghc-libxml): New variable.
2015-11-19 03:13:19 -06:00
Eric Bavier ccd7b30872 gnu: Add ghc-hostname.
* gnu/packages/haskell.scm (ghc-hostname): New variable.
2015-11-19 03:13:19 -06:00
Efraim Flashner d2a5210844 gnu: tilda: Update to 1.3.0.
* gnu/packages/terminals.scm (tilda): Update to 1.3.0.
[inputs]: Switch vte from 0.36 to 0.40, remove zip.
2015-11-19 14:45:45 +02:00
Efraim Flashner e30be98653 gnu: youtube-dl: Update to 2015.11.18.
* gnu/packages/video.scm (youtube-dl): Update to 2015.11.18.
2015-11-19 09:48:41 +02:00
Mark H Weaver 3470fe002c gnu: libsndfile: Add fixes for CVE-2014-9496 and CVE-2015-7805.
* gnu/packages/patches/libsndfile-CVE-2014-9496.patch,
  gnu/packages/patches/libsndfile-CVE-2015-7805.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/pulseaudio.scm (libsndfile)[source]: Add patches.
2015-11-18 17:47:40 -05:00
Mark H Weaver b4a88dc25f gnu: libxslt: Add fix for CVE-2015-7995.
* gnu/packages/patches/libxslt-CVE-2015-7995.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xml.scm (libxslt)[source]: Add patch.
2015-11-18 17:47:40 -05:00
Mark H Weaver ee6bb0cc76 gnu: libxml2: Add fixes for CVE-2015-{1819,7941,7942,8035} and other bugs.
* gnu/packages/patches/libxml2-CVE-2015-1819.patch,
  gnu/packages/patches/libxml2-CVE-2015-7941-pt1.patch,
  gnu/packages/patches/libxml2-CVE-2015-7941-pt2.patch,
  gnu/packages/patches/libxml2-CVE-2015-7942-pt1.patch,
  gnu/packages/patches/libxml2-CVE-2015-7942-pt2.patch,
  gnu/packages/patches/libxml2-CVE-2015-8035.patch,
  gnu/packages/patches/libxml2-bug-737840.patch,
  gnu/packages/patches/libxml2-bug-738805.patch,
  gnu/packages/patches/libxml2-bug-746048.patch,
  gnu/packages/patches/libxml2-bug-747437.patch,
  gnu/packages/patches/libxml2-bug-751603.patch,
  gnu/packages/patches/libxml2-bug-751631.patch,
  gnu/packages/patches/libxml2-bug-754946.patch,
  gnu/packages/patches/libxml2-bug-754947.patch,
  gnu/packages/patches/libxml2-bug-755857.patch,
  gnu/packages/patches/libxml2-fix-catalog-corruption.patch,
  gnu/packages/patches/libxml2-id-attrs-in-xmlSetTreeDoc.patch,
  gnu/packages/patches/libxml2-node-sort-order-pt1.patch,
  gnu/packages/patches/libxml2-node-sort-order-pt2.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/xml.scm (libxml2)[source]: Add patches.
2015-11-18 17:47:40 -05:00
Mark H Weaver 328a14e869 gnu: libpng: Update to 1.5.24 [fixes CVE-2015-8126].
* gnu/packages/image.scm (libpng): Update to 1.5.24.
2015-11-18 17:47:40 -05:00
Mark H Weaver 21ef9843e4 Revert "gnu: libpng: Use 1.5.24 as a replacement [fixes CVE-2015-8126]."
This reverts commit 1b076e630f.
2015-11-18 17:47:17 -05:00
Ricardo Wurmus c797fabe79 services: Export udev-configuration procedures.
* gnu/services/base.scm (udev-configuration, udev-configuration?,
  udev-configuration-rules): Export.
2015-11-18 22:04:48 +01:00
Ludovic Courtès 7be4a4b0ae gnu: weechat: Fix patching of assignments to 'python2_bin'.
Fixes a regression introduced in a9346fa.

* gnu/packages/weechat.scm (weechat)[arguments]: Make sure PYTHON2_BIN
  can be freed with 'free'.
2015-11-18 18:01:50 +01:00
Ludovic Courtès b567abcf1a gnu: weechat: Encode as UTF-8.
* gnu/packages/weechat.scm: Reencode as UTF-8.
2015-11-18 18:01:30 +01:00
Ludovic Courtès a9346faee6 gnu: weechat: Record the absolute file name of 'python'.
Fixes <http://bugs.gnu.org/21879>.
Reported by Luis Felipe López Acevedo <felipe.lopez@openmailbox.org>.

* gnu/packages/weechat.scm (weechat)[arguments]: Add
  'set-python-file-name' phase.
2015-11-18 17:47:09 +01:00
Ludovic Courtès e33cf9a69a gnu: weechat: Use 'modify-phases'.
* gnu/packages/weechat.scm (weechat)[arguments]: Use 'modify-phases'.
  Remove 'fix-file' phase.
2015-11-18 17:47:09 +01:00
Mark H Weaver f4a4a71885 gnu: python-tornado: Use the preferred home-page.
* gnu/packages/python.scm (python-tornado)[home-page]: Use the preferred
  one.
2015-11-18 09:45:47 -05:00
Mark H Weaver 7f51b663b0 gnu: python-cryptography: Update to 1.0.2.
* gnu/packages/python.scm (python-cryptography): Update to 1.0.2.
2015-11-18 09:30:01 -05:00
Mark H Weaver 3698a77588 gnu: python-cryptography-vectors: Update to 1.0.2.
* gnu/packages/python.scm (python-cryptography-vectors): Update to 1.0.2.
2015-11-18 09:30:01 -05:00
Ricardo Wurmus f836fb8d0c gnu: zynaddsubfx: Update to 2.5.2.
* gnu/packages/music.scm (zynaddsubfx): Update to 2.5.2.
2015-11-18 14:07:14 +01:00
Erik Edrosa f7d17ac756 gnu: Add python-pystache.
* gnu/packages/python.scm (python-pystache, python2-pystache): New
  variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-11-18 12:21:45 +01:00
Efraim Flashner 49846012f0 Revert "gnu: wget: Update to 1.17."
This reverts commit 4ca0234069.
2015-11-18 08:36:27 +02:00
宋文武 4d62a9d304 gnu: Add network-manager-applet.
* gnu/packages/gnome.scm (network-manager-applet): New variable.
2015-11-18 09:16:31 +08:00
宋文武 ba5dd1055f gnu: Add network-manager.
* gnu/packages/gnome.scm (%network-manager-glib-duplicate-test-patch)
(network-manager): New variables.
2015-11-18 09:16:31 +08:00
Efraim Flashner b494d198cd gnu: youtube-dl: Update to 2015.11.15.
* gnu/packages/video.scm (youtube-dl): Update to 2015.11.15.
2015-11-17 21:32:58 +02:00
Ludovic Courtès 87450b1274 Thank Chris. 2015-11-17 09:44:52 +01:00
Ludovic Courtès b7f4677999 ftp-client: Restrict to TCP/IP connections.
Fixes <http://bugs.gnu.org/21925>.
Regression introduced in 279ec1d.
Reported by Chris Marusich <cmmarusich@gmail.com>.

* guix/ftp-client.scm (ftp-open): Restrict sockets to
  SOCK_STREAM/IPPROTO_IP.
2015-11-17 09:44:52 +01:00
Ricardo Wurmus 3279b7ec47 gnu: Add Scribus.
* gnu/packages/scribus.scm: New file
* gnu/packages/patches/scribus-qobject.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES, dist_patch_DATA): Add them.
2015-11-17 08:43:32 +01:00
Ricardo Wurmus ac838d0f8e gnu: Add GraphicsMagick.
* gnu/packages/imagemagick.scm (graphicsmagick): New variable.
2015-11-17 08:43:32 +01:00
Ricardo Wurmus bf50f7b587 gnu: Add prefix to license imports in (gnu packages imagemagick).
* gnu/packages/imagemagick.scm: Import (guix licenses) with prefix
  "license:".
2015-11-17 08:43:32 +01:00
宋文武 ae916e02cb gnu: Add ppp.
* gnu/packages/samba.scm (ppp): New variable.
2015-11-17 10:01:00 +08:00
Efraim Flashner 4ca0234069 gnu: wget: Update to 1.17.
* gnu/packages/wget.scm (wget): Update to 1.17.
2015-11-17 00:46:21 +02:00
Mark H Weaver 9832ecf09a gnu: dovecot: Update to 2.2.19.
* gnu/packages/mail.scm (dovecot): Update to 2.2.19.
2015-11-16 13:57:09 -05:00
Ludovic Courtès d3a33fe28d gnu: eigen: Run 'ctest' in verbose mode.
* gnu/packages/algebra.scm (eigen)[arguments]: Add "-V" in
  'EIGEN_CTEST_ARGS'.
2015-11-16 16:44:39 +01:00
Ludovic Courtès 354f4fe292 gnu: eigen: Use 'modify-phases'.
* gnu/packages/algebra.scm (eigen)[arguments]: Use 'modify-phases'
  instead of 'alist-cons-before'.
2015-11-16 16:44:39 +01:00
Ludovic Courtès a4eb83b709 gnu: eigen: Fix 'Cflags' value in 'eigen3.pc'.
* gnu/packages/algebra.scm (eigen)[source]: Augment snippet to address
  <http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1114>.
2015-11-16 16:44:39 +01:00
David Thompson 83a4a70b50 gnu: Add love.
* gnu/packages/game-development.scm (love): New variable.
2015-11-16 08:47:23 -05:00
David Thompson 3aab2c839f gnu: Add devil.
* gnu/packages/image.scm (devil): New variable.
* gnu/packages/patches/devil-fix-libpng.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-11-16 08:47:23 -05:00
Ludovic Courtès 333c376c45 graft: Graft files in parallel.
* guix/build/graft.scm (rewrite-directory): Use 'n-par-for-each' instead
  of 'for-each'.
2015-11-16 14:22:58 +01:00
Ludovic Courtès 9c88f655e6 graft: Graft files in a deterministic order.
* guix/build/graft.scm (rewrite-directory)[rewrite-leaf]: Change to take
  a single parameter.  Add call to 'lstat'.  Factorize result of
  'destination'.
  Use 'find-files' instead of 'file-system-fold'.
2015-11-16 14:22:58 +01:00
Efraim Flashner 6a7e1a180b gnu: Add tilda.
* gnu/packages/terminals.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-11-16 15:22:37 +02:00
Efraim Flashner 2776d72c7c gnu: vte: Provide 0.36.5.
* gnu/packages/gnome.scm (vte): Add version 0.36.5.
2015-11-16 15:22:37 +02:00
Efraim Flashner 782770d1c2 gnu: mpv: Remove lua configure hack.
* gnu/packages/video.scm (mpv)[arguments]: Remove obsolete code that
  helped configure find lua.
2015-11-16 15:18:30 +02:00
Efraim Flashner 54567afa13 gnu: mpv: Update to 0.13.0.
* gnu/packages/video.scm (mpv): Update to 0.13.0.
2015-11-16 15:04:34 +02:00
Ricardo Wurmus d6e21589af gnu: Add r-devtools.
* gnu/packages/statistics.scm (r-devtools): New variable.
2015-11-16 11:09:49 +01:00
Ricardo Wurmus 81a4228b18 gnu: Add r-rstudioapi.
* gnu/packages/statistics.scm (r-rstudioapi): New variable.
2015-11-16 11:09:49 +01:00
Ricardo Wurmus 035711f1f5 gnu: Add r-git2r.
* gnu/packages/statistics.scm (r-git2r): New variable.
2015-11-16 11:09:49 +01:00
Ricardo Wurmus 681e03c12d gnu: Add r-httr.
* gnu/packages/statistics.scm (r-httr): New variable.
2015-11-16 11:09:49 +01:00
Ricardo Wurmus 167c988263 gnu: Add r-roxygen2.
* gnu/packages/statistics.scm (r-roxygen2): New variable.
2015-11-16 11:09:49 +01:00
Ricardo Wurmus 13d083af59 gnu: Add r-brew.
* gnu/packages/statistics.scm (r-brew): New variable.
2015-11-16 11:09:49 +01:00
Ricardo Wurmus 1a77eccd0e gnu: Add r-whisker.
* gnu/packages/statistics.scm (r-whisker): New variable.
2015-11-16 11:09:49 +01:00
Ricardo Wurmus 6140747f06 gnu: Add r-rversions.
* gnu/packages/statistics.scm (r-rversions): New variable.
2015-11-16 11:09:49 +01:00
Ricardo Wurmus 67a167fdf7 gnu: Add r-xml2.
* gnu/packages/statistics.scm (r-xml2): New variable.
2015-11-16 11:09:49 +01:00
Ricardo Wurmus 5f4621de1f gnu: Add r-curl.
* gnu/packages/web.scm (r-curl): New variable.
2015-11-16 11:09:49 +01:00
Ludovic Courtès f106b0e970 emacs: 'display-search-paths' now takes a list of profiles.
Fixes a regression introduced in fc2d233.

* emacs/guix-main.scm (process-package-actions): Make second argument to
  'display-search-paths' a list.
2015-11-16 10:54:23 +01:00
Amirouche Boubekki fcc43c1f7b gnu: images: Add jpegoptim 1.4.3
* gnu/packages/images.scm (jpegoptim): New variable jpegoptim

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-11-16 10:03:49 +01:00
Ludovic Courtès 1b076e630f gnu: libpng: Use 1.5.24 as a replacement [fixes CVE-2015-8126].
Reported by Leo Famulari <leo@famulari.name>.

* gnu/packages/image.scm (libpng-urls): New procedure.
  (libpng)[source]: Use it.
  [replacement]: New field.
  (libpng-1.5.24): New variable.
2015-11-16 09:51:44 +01:00
宋文武 0cc2284819 gnu: procps: Update to 3.3.11.
procps-ng is the new upstream.

* gnu/packages/procps.scm (procps): Update to 3.3.11.
  [source]: Adjust formatting.  Remove patches.
  [home-page]: Update URL.
* gnu/packages/patches/procps-make-3.82.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
2015-11-16 16:06:49 +08:00
宋文武 b85d098410 gnu: file: Update to 5.25.
* gnu/packages/file.scm (file): Update to 5.25.
2015-11-16 16:06:49 +08:00
Andreas Enge b6bbebbcab gnu: gnucash: Update to 2.6.9.
* gnu/packages/gnucash.scm (gnucash): Update to 2.6.9.
  [home-page]: Update.
2015-11-16 04:15:02 +01:00
Andreas Enge 000e36f2ee gnu: pari-gp: Update to 2.7.5.
* gnu/packages/algebra.scm (pari-gp): Update to 2.7.5.
2015-11-16 03:51:34 +01:00
Efraim Flashner 5de56b611c gnu: enlightenment: Update to 0.19.13.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.19.13.
2015-11-15 11:03:03 +02:00
Efraim Flashner 90b5741869 gnu: evas-generic-loaders: Update to 1.16.0.
* gnu/packages/enlightenment.scm (evas-generic-loaders): Update to
  1.16.0.
2015-11-15 10:25:16 +02:00
Efraim Flashner 96479cf10d gnu: emotion-generic-players: Update to 1.16.0.
* gnu/packages/enlightenment.scm (emotion-generic-players): Update to
  1.16.0.
2015-11-15 10:22:11 +02:00
Efraim Flashner 5fbf590a90 gnu: elementary: Update to 1.16.0.
* gnu/packages/enlightenment.scm (elementary): Update to 1.16.0.
2015-11-15 09:46:50 +02:00
Efraim Flashner 1c8a70a350 gnu: efl: Update to 1.16.0.
* gnu/packages/enlightenment.scm (efl): Update to 1.16.0.
2015-11-15 09:27:46 +02:00
Efraim Flashner 19a696ed72 gnu: youtube-dl: Update to 2015.11.13.
* gnu/packages/video.scm (youtube-dl): Update to 2015.11.13.
2015-11-15 00:07:38 +02:00
Alex Kost 6f4b23e674 gnu: emacs: Honor 'SOURCE_DATE_EPOCH'.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* gnu/packages/patches/emacs-source-date-epoch.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/emacs.scm (emacs)[source]: Use it.
2015-11-14 21:59:37 +03:00
Alex Kost f7dbeb376b build-system/gnu: Set 'SOURCE_DATE_EPOCH'.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* guix/build/gnu-build-system.scm (gnu-build): Set SOURCE_DATE_EPOCH for
  deterministic builds.
2015-11-14 21:59:37 +03:00
Ludovic Courtès 511495fb24 gnu: sudo: Build sequentially.
Possibly fixes <http://bugs.gnu.org/21918>.

* gnu/packages/admin.scm (sudo)[arguments]: Add #:parallel-build? #f.
2015-11-14 16:50:21 +01:00
David Thompson 5649c8cd89 gnu: Add guile-sly.
* gnu/packages/guile.scm (guile-sly): New variable.
2015-11-14 07:55:34 -05:00
Ricardo Wurmus 73cea74dda gnu: calf: Update tarball URL.
* gnu/packages/audio.scm (calf)[source]: Use tarball from new project
  website instead of sourceforge.
2015-11-14 10:07:56 +01:00
Ludovic Courtès 2abcc935ce gnu: eigen: Update to 3.2.7.
* gnu/packages/algebra.scm (eigen): Upgrade to 3.2.7.
  [source]: Add 'file-name' field.
2015-11-13 22:47:39 +01:00
Mark H Weaver ff45a00e79 gnu: mit-krb5: Add fixes for CVE-2015-{2695,2696,2697,2698}.
* gnu/packages/patches/mit-krb5-CVE-2015-2695-pt1.patch,
  gnu/packages/patches/mit-krb5-CVE-2015-2695-pt2.patch,
  gnu/packages/patches/mit-krb5-CVE-2015-2696.patch,
  gnu/packages/patches/mit-krb5-CVE-2015-2697.patch,
  gnu/packages/patches/mit-krb5-CVE-2015-2698-pt1.patch,
  gnu/packages/patches/mit-krb5-CVE-2015-2698-pt2.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/mit-krb5.scm (mit-krb5)[native-inputs]: Add patches.
2015-11-13 12:42:47 -05:00
Mark H Weaver 4d53c29e6c gnu: mit-krb5: Refactor build code; support multiple patches.
* gnu/packages/mit-krb5.scm (mit-krb5)[source]: Use version-major+minor.
  [arguments]: Use modify-phases.  Split and rewrite 'unpack' phase into
  'unpack', 'apply-patches', and 'enter-source-directory' phases.  Add a
  'pre-check' phase instead of replacing the 'check' phase.  Combine
  substitutions on the same file.  In the 'unpack' phase, find
  native-inputs with names starting with "patch/" and apply them all.
  Print a message for each patch applied.  Do not rely on the result of
  'chdir', which is unspecified.  Determine the names of the inner tar
  file and the directory in a more robust way.  Add (ice-9 ftw),
  (ice-9 match) and (srfi srfi-1) to #:modules.
2015-11-13 12:42:47 -05:00
Mark H Weaver 9715df7fbe gnu: mit-krb5: Update to 1.13.2.
* gnu/packages/mit-krb5.scm (mit-krb5): Update to 1.13.2.
  [native-inputs]: Remove "patch/init-fix".
* gnu/packages/patches/mit-krb5-init-fix.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Remove it.
2015-11-13 12:42:47 -05:00
宋文武 a124bbd2f4 gnu: Adjust formatting as recommended by 'guix lint'.
* gnu/packages/aidc.scm (barcode, qrencode),
  gnu/packages/bash.scm (bash, bash-completion),
  gnu/packages/busybox.scm (busybox),
  gnu/packages/cdrom.scm (cdparanoia),
  gnu/packages/cmake.scm (cmake),
  gnu/packages/conkeror.scm (conkeror),
  gnu/packages/cook.scm (cook),
  gnu/packages/curl.scm (curl),
  gnu/packages/docbook.scm (docbook-xsl),
  gnu/packages/enlightenment.scm (enlightenment),
  gnu/packages/games.scm (abbaye),
  gnu/packages/geeqie.scm (exiv2),
  gnu/packages/gimp.scm (gegl),
  gnu/packages/gl.scm (glu, freeglut, ftgl),
  gnu/packages/glib.scm (glib),
  gnu/packages/gnome.scm (orbit2, gconf, geocode-glib),
  gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base),
  gnu/packages/linux.scm (util-linux),
  gnu/packages/lisp.scm (gcl, ecl),
  gnu/packages/maths.scm (gnuplot, hdf5),
  gnu/packages/ssh.scm (dropbear),
  gnu/packages/web.scm (json-c): Remove tabulations and trailing
  white spaces or reformat to fit within 80 columns.
* gnu/packages/audio.scm (aubio),
  gnu/packages/emacs.scm (emacs-s),
  gnu/packages/engineering.scm (geda-gaf),
  gnu/packages/games.scm (dosbox),
  gnu/packages/gnome.scm (gusb),
  gnu/packages/gtk.scm (gtk+),
  gnu/packages/guile.scm (guile-wisp),
  gnu/packages/hurd.scm (hurd-headers),
  gnu/packages/wm.scm (i3-wm): Adjust synopsis or description.
2015-11-13 23:45:55 +08:00
宋文武 d777e048b5 gnu: upower: Update to 0.99.3.
* gnu/packages/gnome.scm (upower): Update to 0.99.3.
2015-11-13 17:59:50 +08:00
宋文武 ebeabe2d35 gnu: upower: Enable GObject introspection.
* gnu/packages/gnome.scm (upower)[native-inputs]: Add gobject-introspection.
2015-11-13 17:59:50 +08:00
宋文武 2af4f5b051 gnu: gcr: Update to 3.18.0, enable introspection.
* gnu/packages/gnome.scm (gcr): Update to 3.18.0.
  [native-inputs]: Add gobject-introspection and libxslt.
2015-11-13 17:59:50 +08:00
宋文武 9083788a29 gnu: nix: Don't propagate Perl libraries.
* gnu/packages/package-management.scm (nix): Move perl-www-curl,
  perl-dbi and perl-dbd-sqlite from 'propagated-inputs' to 'inputs'.
  [arguments]: Add #:configure-flags.
2015-11-13 12:56:50 +08:00
宋文武 f888502cfa gnu: nix: Update to 1.10.
* gnu/packages/package-management.scm (nix): Update to 1.10.
2015-11-13 12:56:50 +08:00
Ludovic Courtès bd7e1ffae6 lint: Have connections time out after 3 seconds.
* guix/scripts/lint.scm (probe-uri): Add #:timeout parameter.  Pass it
  to 'open-connection-for-uri' and 'ftp-open'.
  (validate-uri): Pass #:timeout 3 to 'probe-uri'.
2015-11-12 23:47:01 +01:00
Ludovic Courtès 1b9aefa394 download: Always use AI_ADDRCONFIG when resolving host names.
* guix/build/download.scm (open-socket-for-uri): Always pass
  AI_ADDRCONFIG to 'getaddrinfo' as recommended in the fine Guile
  manual.
* guix/ftp-client.scm (ftp-open): Ditto.
2015-11-12 23:47:01 +01:00
Ludovic Courtès 60fd51222f download: Add timeout parameter for connections.
* guix/build/download.scm (ensure-uri): New procedure.
(current-http-proxy): New variable.
(open-socket-for-uri): Copy from Guile commit aaea5b2, but add #:timeout
parameter and use 'connect*' instead of 'connect'.
(open-connection-for-uri): Add #:timeout parameter and pass it to
'open-socket-for-uri'.
2015-11-12 23:47:00 +01:00
Ludovic Courtès 4856700698 ftp-client: Add timeout parameter to 'ftp-open'.
* guix/ftp-client.scm (catch-EINPROGRESS): New macro.
(connect*): New procedure.
(ftp-open): Add #:timeout parameter.  Use 'connect*' instead of
'connect' and pass it TIMEOUT.
2015-11-12 23:47:00 +01:00
Ludovic Courtès 279ec1df20 ftp-client: Restrict to TCP connections.
* guix/ftp-client.scm (ftp-open): Force SOCK_STREAM as the socket type
  to avoid calling 'connect' on a datagram socket.
2015-11-12 23:47:00 +01:00
Alex Kost 8b341eb05d emacs: Adjust 'guix environment' popup.
* emacs/guix-command.el (guix-command-improve-environment-argument): Use
  "E" for '--expose' and "S" for '--share' to distinguish them from
  '--expression' and '--system' accordingly.  Make '--ad-hoc' an option
  taking packages instead of a simple switch.
  (guix-command-rest-argument): Complete shell command instead of
  packages for '--' argument.
  (guix-command-additional-arguments): Add fake 'packages' argument.
  New variable.
  (guix-command-additional-arguments): Use it.
  (guix-command-post-process-environment-packages,
  guix-command-post-process-environment-ad-hoc): New functions.
  (guix-command-post-processors): Add "environment" command with the new
  argument processors.
2015-11-12 21:22:35 +03:00
Alex Kost cfa548b4ea emacs: Adjust 'guix container' popup.
* emacs/guix-command.el (guix-command-improve-action-argument): Use "C"
  key for 'container' action to distinguish it from 'challenge'.
  (guix-command-rest-argument): Add positional arguments.
2015-11-12 21:22:35 +03:00
Alex Kost 959c78f69a emacs: Improve post processing of popup arguments.
* emacs/guix-command.el (guix-command-switches,
  guix-command-rest-arg-regexp): New variables.
  (guix-command-post-processors,
  guix-command-post-process-matching-args,
  guix-command-post-process-rest-single,
  guix-command-post-process-rest-multiple,
  guix-command-post-process-rest-multiple-leave,
  guix-command-post-process-package-args): New functions.
  (guix-command-post-process-rest-multiple): Take 2 arguments.
  (guix-command-define-popup-action): Adjust accordingly.
* emacs/guix-utils.el (guix-modify): New function.
2015-11-12 21:22:35 +03:00
Efraim Flashner 4f8f15cd5c Revert "gnu: libvpx: Update to 1.5.0."
This reverts commit fb3f69394a.
2015-11-12 19:59:42 +02:00
Taylan Ulrich Bayırlı/Kammer bff3c670c2 gnu: mupen64plus-core: Add comment.
* gnu/packages/games.scm (mupen64plus-core): Comment the reason for the
  supported-systems field.
2015-11-12 17:25:40 +01:00
Taylan Ulrich Bayırlı/Kammer 9c9be34871 gnu: mupen64plus-core: Specify supported-systems.
* gnu/packages/games.scm (mupen64plus-core): Specify supported-systems.
2015-11-12 16:00:52 +01:00
Roel Janssen 2f1531f008 gnu: Add inklingreader.
* gnu/packages/inklingreader.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
2015-11-12 15:57:02 +01:00
Efraim Flashner 0534dd93ce gnu: gsl: Update to 2.1.
* gnu/packages/maths.scm (gsl): Update to 2.1.
2015-11-12 16:53:43 +02:00
Efraim Flashner 0137992a38 gnu: Add c-ares.
* gnu/packages/aria2.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-11-12 16:21:00 +02:00
Efraim Flashner b2e93b9e45 gnu: Add owncloud-client.
* gnu/packages/owncloud.scm (owncloud-client): New variable.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-11-12 16:14:42 +02:00
Efraim Flashner 9e81af9e72 gnu: Add qtkeychain.
* gnu/packages/qt.scm (qtkeychain): New variable.
2015-11-12 16:14:42 +02:00
Efraim Flashner fb3f69394a gnu: libvpx: Update to 1.5.0.
* gnu/packages/video.scm (libvpx): Update to 1.5.0.
2015-11-12 14:56:55 +02:00
Ricardo Wurmus 029d9f77ab gnu: mosaik: Build only on x86_64.
* gnu/packages/bioinformatics.scm (mosaik)[supported-systems]: Add
  field.
2015-11-12 12:36:40 +01:00
Ludovic Courtès 0086ec733c gnu: sudo: Upgrade to 1.8.15 [fixes CVE-2015-5602].
* gnu/packages/admin.scm (sudo)[arguments]: Add CPPFLAGS to
  #:configure-flags.   In 'pre-configure' phase, modify
  'sudo_usage.h.in'.  Add pattern to remove '-o 0 -g 0' installation
  flag in 'Makefile.in', and remove pattern for '-O 0 -G 0'.  Remove
  modifications of 'configure'.
2015-11-12 11:49:18 +01:00
宋文武 bd7dfafaa3 gnu: Add caribou.
* gnu/packages/gnome.scm (caribou): New variable.
2015-11-12 14:21:30 +08:00
宋文武 df217748e1 gnu: Add evolution-data-server.
* gnu/packages/gnome.scm (evolution-data-server): New variable.
2015-11-12 14:21:30 +08:00
宋文武 685cee8779 gnu: Add gnome-online-accounts.
* gnu/packages/gnome.scm (gnome-online-accounts): New variable.
2015-11-12 14:21:30 +08:00
Andreas Enge 8de8cf438a gnu: lua: Register patch.
* gnu-system.am (dist_patch_DATA): Register lua52-liblua-so.patch.

This is a follow-up to commit 0f9c1f3400.
2015-11-12 05:12:37 +01:00
Ludovic Courtès ddfd70da8e gnu: stow: Update to 2.2.2.
* gnu/packages/package-management.scm (stow): Update to 2.2.2.
  [native-inputs]: Add PERL-IO-STRINGY.
2015-11-11 23:45:29 +01:00
Ludovic Courtès 8fe0b262a9 gnu: libmicrohttpd: Update to 0.9.46.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.46.
2015-11-11 23:39:15 +01:00
Ludovic Courtès 3a96d7c3dd guix gc: Error out when extra arguments are passed.
Fixes <http://bugs.gnu.org/21817>.
Reported by Petter Berntsen <petter@mykolab.ch>.

* guix/scripts/gc.scm (guix-gc)[assert-no-extra-arguments]: New
  procedure.
  Use it for actions 'collect-garbage', 'optimize', and 'verify'.
* tests/guix-gc.sh: Add tests.
2015-11-11 23:29:20 +01:00
Ludovic Courtès 6237b9fa39 edit: Honor $VISUAL.
Suggested by Andreas Enge <andreas@enge.fr>.

* guix/scripts/edit.scm (%editor): Honor 'VISUAL' before 'EDITOR'.
  (show-help): Adjust accordingly.
* doc/guix.texi (Invoking guix edit): Likewise.
2015-11-11 23:29:20 +01:00
Ricardo Wurmus 6d2e833495 gnu: Add microscheme.
* gnu/packages/avr.scm (microscheme): New variable.
2015-11-11 22:40:50 +01:00
Ludovic Courtès 14649b8cdb refresh: Avoid non-literal format string.
Reported by Mathieu Lirzin <mthl@gnu.org>.

* guix/scripts/refresh.scm (guix-refresh): Rewrite 'list-dependent?'
  report to avoid nested 'N_' calls.
2015-11-11 22:10:21 +01:00
Ricardo Wurmus 42f8504ccc gnu: Add prefix to license imports in (gnu packages avr).
* gnu/packages/avr.scm: Import (guix licenses) with prefix "license:".
2015-11-11 21:23:58 +01:00
Ricardo Wurmus e5e2068551 gnu: ardour: Update to 4.4.
* gnu/packages/audio.scm (ardour): Update to 4.4.
2015-11-11 21:22:48 +01:00
Ricardo Wurmus e61d9e3966 gnu: Add gfortran 5.
* gnu/packages/gcc.scm (gfortran-5): New variable.
2015-11-11 17:25:04 +01:00
Mark H Weaver 419630e0be gnu: wpa-supplicant: Add fixes for CVE-2015-{5310,5314,5315,5316}.
* gnu/packages/patches/wpa-supplicant-CVE-2015-5310.patch,
  gnu/packages/patches/wpa-supplicant-CVE-2015-5314.patch,
  gnu/packages/patches/wpa-supplicant-CVE-2015-5315.patch,
  gnu/packages/patches/wpa-supplicant-CVE-2015-5316.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/admin.scm (wpa-supplicant-minimal)[source]: Add patches.
2015-11-11 07:45:11 -05:00
Efraim Flashner 875b2f3d5e gnu: youtube-dl: Upgrade to 2015.11.10.
* gnu/packages/video.scm (youtube-dl): Upgrade to 2015.11.10.
2015-11-11 13:05:56 +02:00
Mark H Weaver 533c1b04bc gnu: linux-libre: Update to 4.2.6.
* gnu/packages/linux.scm (linux-libre): Update to 4.2.6.
2015-11-11 01:16:19 -05:00
Mark H Weaver a4564c629f gnu: git: Update to 2.6.3.
* gnu/packages/version-control.scm (git): Update to 2.6.3.
  (git-manpages)[source]: Update hash.
2015-11-10 23:07:28 -05:00
Ludovic Courtès 2ab5fdc4b4 ui: 'guix help COMMAND' is like 'guix COMMAND --help'.
* guix/ui.scm (run-guix): Add ("help" COMMAND) case.
2015-11-11 00:37:51 +01:00
Ludovic Courtès fc2d233964 guix package: '--search-paths' can report combined search paths.
Partly fixes <http://bugs.gnu.org/20255>.

* guix/scripts/package.scm (search-path-environment-variables): Change
  'profile' to 'profiles'; expect it to be a list.
  (display-search-paths): Likewise.
  (%default-options): Remove 'profile' entry.
  (%options) <--profile>: Keep previous values associated with 'profile'
  in RESULT.
  (guix-package)[process-actions, process-query]: Handle the possible
  lack of 'profile' pair in OPTS.
2015-11-11 00:37:50 +01:00
Ludovic Courtès 21059b26b0 system: Populate /etc/shells from ACCOUNT-SERVICE-TYPE.
* gnu/system.scm (user-shells): Remove.
  (operating-system-etc-service): Remove "shells" entry.
  (shells-file): Move to...
* gnu/system/shadow.scm (shells-file): ... here.  New procedure.
  (etc-skel): Rename to...
  (etc-files): ... this.  Add "shells" entry.
  (account-service-type): Adjust accordingly.
2015-11-11 00:37:50 +01:00
Ludovic Courtès ba583bd2ce gnu: torsocks: Upgrade to 2.0.0.
* gnu/packages/tor.scm (torsocks): Update to 2.0.0.
  [source]: Fetch from git.torproject.org.  Use
  'torsocks-dns-test.patch'.
  [arguments, native-inputs]: New fields.
  [license]: Change to GPL2.
* gnu/packages/patches/torsocks-dns-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-11-11 00:37:50 +01:00
Taylan Ulrich Bayırlı/Kammer 68d85de163 gnu: gtksourceview-2: Propagate input libxml2.
* gnu/packages/gtk.scm (gtksourceview-2): Move libxml2 to propagated
  inputs.
2015-11-10 23:12:25 +01:00
Taylan Ulrich Bayırlı/Kammer e6974eae1d gnu: Add mupen64plus-ui-console.
* gnu/packages/games.scm (mupen64plus-ui-console): New variable.
* gnu/packages/patches/mupen64plus-ui-console-notice.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer 17e2bc8617 gnu: Add mupen64plus-video-z64.
* gnu/packages/games.scm (mupen64plus-video-z64): New variable.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer e91d25f9e0 gnu: Add mupen64plus-video-rice.
* gnu/packages/games.scm (mupen64plus-video-rice): New variable.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer e8bf3ced25 gnu: Add mupen64plus-video-glide64mk2.
* gnu/packages/games.scm (mupen64plus-video-glide64mk2): New variable.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer 9a3fe16b99 gnu: Add mupen64plus-video-glide64.
* gnu/packages/games.scm (mupen64plus-video-glide64): New variable.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer 307a536d42 gnu: Add mupen64plus-video-arachnoid
* gnu/packages/games.scm (mupen64plus-video-arachnoid): New variable.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer 50afcd1f03 gnu: Add mupen64plus-rsp-z64.
* gnu/packages/games.scm (mupen64plus-rsp-z64): New variable.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer 3b3358bec9 gnu: Add mupen64plus-rsp-hle.
* gnu/packages/games.scm (mupen64plus-rsp-hle): New variable.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer d07f0ebbcc gnu: Add mupen64plus-input-sdl.
* gnu/packages/games.scm (mupen64plus-input-sdl): New variable.
2015-11-10 22:14:44 +01:00
Taylan Ulrich Bayırlı/Kammer ac2fe449e7 gnu: Add mupen64plus-audio-sdl.
* gnu/packages/games.scm (mupen64plus-audio-sdl): New variable.
2015-11-10 22:14:43 +01:00
Taylan Ulrich Bayırlı/Kammer 0c15230db1 gnu: Add mupen64plus-core.
* gnu/packages/games.scm (mupen64plus-core): New variable.
2015-11-10 22:14:43 +01:00
宋文武 b6072e6b90 gnu: libgweather: Update to 3.18.1, enable tests.
* gnu/packages/gnome.scm (libgweather): Update to 3.18.1.  Enable tests.
  [native-inputs]: Add gobject-introspection.
2015-11-10 20:49:18 +08:00
宋文武 d2ab0e90c6 gnu: telepathy-glib: Propagate inputs.
* gnu/packages/glib.scm (telepathy-glib): Propagate inputs dbus, dbus-glib
  and glib.  Move gobject-introspection and libxslt to 'native-inputs'.
2015-11-10 20:49:17 +08:00
Efraim Flashner 295fc0829b gnu: pspp: Use gtksourceview-2.
* gnu/packages/maths.scm (pspp)[inputs]: Use gtksourceview-2.
2015-11-10 13:58:25 +02:00
Mathieu Lirzin 7119cca86c gnu: Add artanis.
* gnu/packages/guile.scm (artanis): New variable.
2015-11-09 23:53:04 +01:00
Christopher Allan Webber 2936e48f5f gnu: guile-irregex: Remove duplicate 'check deletion in modify-phases
* gnu/packages/guile.scm: Remove duplicate 'check deletion in modify-phases
2015-11-09 09:58:40 -06:00
David Thompson 2cbcd23a71 gnu: Add ruby-eventmachine.
* gnu/packages/ruby.scm (ruby-eventmachine): New variable.
2015-11-09 08:31:35 -05:00
宋文武 60c3627cf6 gnu: Add mutter.
* gnu/packages/gnome.scm (mutter): New variable.
2015-11-09 16:25:45 +08:00
宋文武 b71793637c gnu: Add zenity.
* gnu/packages/gnome.scm (zenity): New variable.
2015-11-09 16:25:45 +08:00
David Hashe 329d731b96 gnu: Add gedit.
* gnu/packages/gnome.scm (gedit): New variable.

Co-authored-by: 宋文武 <iyzsong@gmail.com>
2015-11-09 14:42:50 +08:00
David Hashe 835ed74b3a gnu: Update libpeas.
* gnu/packages/gnome.scm (libpeas): Update to 1.16.0.
2015-11-09 14:42:05 +08:00
David Hashe c900f84307 gnu: Add gtksourceview.
* gnu/packages/gtk.scm (gtksourceview): Rename to...
  (gtksourceview-2): ... this.
  (gtksourceview): Update to 3.18.1.
* gnu/packages/ocaml.scm (lablgtk)[inputs]: Replace "gtksourceview" with "gtksourceview-2".

Co-authored-by: 宋文武 <iyzsong@gmail.com>
2015-11-09 13:55:02 +08:00
宋文武 0efd8be5ea gnu: clutter: Update to 1.24.2.
* gnu/packages/gnome.scm (clutter): Update to 1.24.2.
2015-11-09 13:55:02 +08:00
宋文武 b3e91e029f gnu: cogl: Update to 1.22.0.
* gnu/packages/gnome.scm (cogl): Update to 1.22.0.
2015-11-09 13:55:02 +08:00
Leo Famulari 0f9c1f3400 gnu: Build lua-5.2 with a dynamic library
* gnu/packages/patches/lua52-liblua-so.patch: New file.
* gnu/packages/lua.scm (lua-5.2): Use lua52-liblua-so.patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-11-08 22:21:19 +01:00
Leo Famulari 34a04c3319 gnu: Remove tabulation from luajit.
* gnu/packages/lua.scm (luajit): Remove tabs.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-11-08 22:21:19 +01:00
Ludovic Courtès b68d2dbf08 refresh: Discard PyPI updater when Guile-JSON is missing.
Reported by Sleep_Walker and Mathieu Lirzin <mthl@gnu.org>.

* guix/scripts/refresh.scm (maybe-updater, list-updaters): New macros.
  (%updaters): Use 'list-updaters' instead of 'list'.  Make
  %PYPI-UPDATER conditional.
2015-11-08 22:21:19 +01:00
Efraim Flashner d8c97beb06 gnu: Add wcalc.
* gnu/packages/maths.scm (wcalc): New variable.
2015-11-08 23:01:50 +02:00
Efraim Flashner 19659accef gnu: octave: Upgrade to 4.0.0.
* gnu/packages/maths.scm (octave): Update to 4.0.0.
2015-11-08 18:44:06 +02:00
Efraim Flashner 552cb93c0a gnu: glpk: Update to 4.57.
* gnu/packages/maths.scm (glpk): Update to 4.57.
2015-11-08 16:27:39 +02:00
宋文武 c3b9d75f8d gnu: evince: Update to 3.18.1.
* gnu/packages/gnome.scm (evince): Update to 3.18.1.
2015-11-08 21:46:32 +08:00
宋文武 f47ba77e5f gnu: Add gjs.
* gnu/packages/gnome.scm (gjs): New variable.
2015-11-08 21:46:31 +08:00
宋文武 cefdcb3801 gnu: Add mozjs-24 (Mozilla SpiderMonkey 24).
* gnu/packages/gnuzilla.scm (mozjs-24): New variable.
2015-11-08 21:46:31 +08:00
宋文武 7ce493657b gnu: Add gnome-session.
* gnu/packages/gnome.scm (gnome-session): New variable.
2015-11-08 21:46:31 +08:00
宋文武 b64d218c44 gnu: gnome-themes-standard: Update to 3.18.0.
* gnu/packages/gnome.scm (gnome-themes-standard): Update to 3.18.0.
2015-11-08 21:46:31 +08:00
宋文武 a834048259 gnu: gnome-desktop: Update to 3.18.1.
* gnu/packages/gnome.scm (gnome-desktop): Update to 3.18.1.
  Move gsettings-desktop-schemas and gtk+ to 'propagated-inputs'.
  [native-inputs]: Add gobject-introspection.
2015-11-08 21:46:31 +08:00
Ludovic Courtès 4655f515dc gnu: xz: Update to 5.2.2.
* gnu/packages/compression.scm (xz): Update to 5.2.2.
2015-11-07 22:02:04 +01:00
Ludovic Courtès 9eb681a02d gnu: grep: Update to 2.22.
* gnu/packages/base.scm (grep): Upgrade to 2.22.  Remove
  'grep-CVE-2015-1345.patch'.
* gnu/packages/patches/grep-CVE-2015-1345.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
2015-11-07 22:01:04 +01:00
Ludovic Courtès ae7ffa9e9b install: Run GPM.
Suggested by Adam Pribyl <pribyl@lowlevel.cz>
at <https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00133.html>.

* gnu/system/install.scm (installation-services): Add call to
  'gpm-service'.
* doc/guix.texi (System Installation): Mention GPM.
2015-11-07 18:56:17 +01:00
Ludovic Courtès 8664cc882c services: Add 'gpm-service'.
* gnu/services/base.scm (<gpm-configuration>): New record type.
  (gpm-dmd-service): New procedure.
  (gpm-service-type): New variable.
  (gpm-service): New procedure.
* doc/guix.texi (Base Services): Document it.
2015-11-07 18:56:17 +01:00
宋文武 1c40e3b785 gnu: brasero: Use 'glib-or-gtk-build-system'.
Fixes <http://bugs.gnu.org/21842>.
Suggested by Andy Wingo <wingo@pobox.com>.

* gnu/packages/gnome.scm (brasero)[build-system]: Switch to
  GLIB-OR-GTK-BUILD-SYSTEM.
2015-11-07 21:35:18 +08:00
Mark H Weaver 0ca1eb705d gnu: icecat: Add several security fixes.
* gnu/packages/patches/icecat-CVE-2015-4513-pt01.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt02.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt03.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt04.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt05.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt06.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt07.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt08.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt09.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt10.patch,
  gnu/packages/patches/icecat-CVE-2015-4513-pt11.patch,
  gnu/packages/patches/icecat-CVE-2015-7188.patch,
  gnu/packages/patches/icecat-CVE-2015-7189.patch,
  gnu/packages/patches/icecat-CVE-2015-7193.patch,
  gnu/packages/patches/icecat-CVE-2015-7194.patch,
  gnu/packages/patches/icecat-CVE-2015-7196.patch,
  gnu/packages/patches/icecat-CVE-2015-7197.patch,
  gnu/packages/patches/icecat-CVE-2015-7198.patch,
  gnu/packages/patches/icecat-CVE-2015-7199.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patches.
2015-11-07 08:33:16 -05:00
Mark H Weaver fe88f636e3 gnu: nss: Update to 3.20.1.
* gnu/packages/gnuzilla.scm (nss): Update to 3.20.1.
  [source]: Switch to https URI.
2015-11-07 08:33:16 -05:00
Mark H Weaver 20ed2f7aa0 gnu: nspr: Update to 4.10.10.
* gnu/packages/gnuzilla.scm (nspr): Update to 4.10.10.
2015-11-07 08:33:16 -05:00
Ludovic Courtès 53ec8d4890 gnu: Add GPM.
* gnu/packages/linux.scm (gpm): New variable.
2015-11-06 23:50:14 +01:00
Ludovic Courtès 235cba8528 doc: Make the ifconfig command more visible.
Suggested by Adam Pribyl <pribyl@lowlevel.cz>.

* doc/guix.texi (System Installation): Move the 'ifconfig' command to an
  @example.
2015-11-06 23:50:14 +01:00
Ludovic Courtès 59698c2c6c gnu: Add guile-gnunet.
* gnu/packages/gnunet.scm (guile-gnunet): New variable.
2015-11-06 23:50:14 +01:00
Ricardo Wurmus 4d75e03ac9 gnu: bless: Correct indentation and home-page.
* gnu/packages/bioinformatics.scm (bless): Fix indentation.
  [home-page]: Replace broken URL.
2015-11-06 22:31:29 +01:00
Alex Kost 4c60ce4a6b gnu: msmtp: Update to 1.6.2.
* gnu/packages/mail.scm (msmtp): Update to 1.6.2.
  [arguments]: Use '--with-tls' configure flag instead of
  '--with-ssl' (deprecated).
2015-11-06 22:20:53 +03:00
Alex Kost b9f1f3e2aa gnu: manaplus: Update to 1.5.10.24.
* gnu/packages/games.scm (manaplus): Update to 1.5.10.24.
2015-11-06 22:20:53 +03:00
Alex Kost 4daa31270a Update NEWS.
* NEWS: Mention 'guix-build-log-mode'.
2015-11-06 22:20:03 +03:00
Christopher Allan Webber 32e14fc1fb gnu: guile: Add guile-irregex.
* gnu/packages/guile.scm (guile-irregex): New variable.
2015-11-06 11:23:53 -06:00
Ricardo Wurmus 6c2b26e21e gnu: Add BLESS.
* gnu/packages/bioinformatics.scm (bless): New variable.

Co-authored-by: Diane Trout <diane@ghic.org>
2015-11-06 18:20:50 +01:00
Ricardo Wurmus 00dfc97c36 gnu: zynaddsubfx: Remove SSE flags from generic target.
* gnu/packages/music.scm (zynaddsubfx)[arguments]: Add phase to move SSE
  compiler flags from generic to specific targets.
2015-11-06 08:44:32 +01:00
Tomáš Čech a09f6edbf9 gnu: wayland: Update to 1.9.0.
* gnu/packages/freedesktop.scm (wayland): Update to 1.9.0.
2015-11-05 15:41:43 +01:00
Ludovic Courtès 650f1615de edit: Improve error reporting when $EDITOR is not found.
Reported by Benno Evers <benno@bmevers.de>
at <https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00125.html>.

* guix/scripts/edit.scm (guix-edit): Wrap 'execl' call in 'catch'.
  Provide more meaningful error message.
2015-11-05 12:04:26 +01:00
Ludovic Courtès 67c920fa5d edit: Lift helper procedure.
* guix/scripts/edit.scm (package->location-specification): New
  procedure, with code formerly...
  (guix-edit): ... here.  Use it.
2015-11-05 12:01:26 +01:00
Ludovic Courtès 5453de3dd8 import: hackage: Fix invalid use of 'leave'.
Reported by Paul van der Walt <paul@denknerd.org>
in <http://bugs.gnu.org/21829>.

* guix/scripts/import/hackage.scm (guix-import-hackage): Add missing
  argument in call to 'leave'.
2015-11-04 23:54:12 +01:00
Ludovic Courtès 5107232f82 Merge branch 'version-0.9.0' 2015-11-04 23:43:54 +01:00
Efraim Flashner cc016b4ce3 gnu: irssi: Build with SSL support.
* gnu/packages/irssi.scm (irssi)[inputs]: Add openssl.
2015-11-04 20:15:30 +02:00
Efraim Flashner 388908a08b gnu: irssi: Update to 0.8.17.
* gnu/packages/irssi.scm (irssi): Update to 0.8.17.
2015-11-04 19:54:56 +02:00
Ludovic Courtès f8c0c8e4bf gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to commit 43c082b.
  (guix): Set to GUIX-DEVEL.
2015-11-04 18:22:21 +01:00
Ludovic Courtès 43c082b361 gnu: guix: Update to 0.9.0.
* gnu/packages/package-management.scm (guix-0.8.3): Rename to...
  (guix-0.9.0): ... this.  Adjust users.
  (guix): Set to GUIX-0.9.0.
2015-11-04 14:07:26 +01:00
Ludovic Courtès c8855b9918 tests: Use the canonical current directory name.
* tests/guix-environment-container.sh (current_dir): New variable.  Use
  it when grepping "mounts".
2015-11-04 12:10:11 +01:00
Ludovic Courtès 47b3124a8e tests: Skip 'program-file' test when shebang is too long.
* tests/gexp.scm ("program-file"): Skip when SHEBANG is too long.
2015-11-04 11:59:46 +01:00
Ludovic Courtès f6082affda Update NEWS. 2015-11-04 11:12:03 +01:00
Ludovic Courtès 316d65be0c doc: Back up on the claim of encrypted root partitions.
Reported by 宋文武 <iyzsong@openmailbox.org>
at <https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00096.html>.

* doc/guix.texi (System Installation): Comment out encrypted root
  partition commands.
* gnu/system/examples/desktop.tmpl (mapped-devices): Remove.
  (file-systems): Refer to the root by label.
* NEWS: Adjust.
2015-11-04 10:54:39 +01:00
Efraim Flashner 5ffea4776d gnu: libassuan: Update to 2.4.0.
* gnu/packages/gnupg.scm (libassuan): Update to 2.4.0.
2015-11-04 11:53:41 +02:00
Ludovic Courtès 00c16d5b84 gnu: csound: Link against libmvec on x86_64.
* gnu/packages/audio.scm (csound)[arguments]: New field.
2015-11-04 09:55:16 +01:00
Ludovic Courtès 4f14c628dc gnu: american-fuzzy-lop: Really build against QEMU 2.3.0.
* gnu/packages/debug.scm (qemu-2.3.0): New variable.
  (american-fuzzy-lop): Use it instead of QEMU-HEADLESS.
2015-11-04 09:37:22 +01:00
Ludovic Courtès 9e6b9ea4b1 gnu: clang-runtime: Mark MIPS as unsupported.
* gnu/packages/llvm.scm (clang-runtime-from-llvm): Add
  'supported-systems' field.
2015-11-04 09:28:46 +01:00
宋文武 2666a126ef gnu: font-adobe-source-han-sans: Update to 1.004.
* gnu/packages/fonts.scm (font-adobe-source-han-sans): Update to 1.004.
  [license]: Change to 'silofl1.1'.
2015-11-04 16:02:14 +08:00
宋文武 dee7e58e56 gnu: dosfstools: Update to 3.0.28.
* gnu/packages/disk.scm (dosfstools): Update to 3.0.28.
2015-11-04 16:02:14 +08:00
宋文武 b871a453a0 gnu: zsh: Update to 5.1.1.
* gnu/packages/zsh.scm (zsh): Update to 5.1.1.
2015-11-04 16:02:14 +08:00
Efraim Flashner 29852c8a99 gnu: libmicrohttpd: Update to 0.9.45.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.45.
2015-11-04 09:46:35 +02:00
Efraim Flashner 7b543d1ba4 gnu: libassuan: Update to 2.3.0.
* gnu/packages/gnupg.scm (libassuan): Update to 2.3.0.
2015-11-04 09:33:47 +02:00
Efraim Flashner 3b6f7a0a6d gnu: sipwitch: Update to 1.9.14.
* gnu/packages/telephony.scm (sipwitch): Update to 1.9.14.
2015-11-04 09:27:11 +02:00
Efraim Flashner 7e096dd290 gnu: ucommon: Update to 6.6.2.
* gnu/packages/telephony.scm (ucommon): Update to 6.6.2.
  [license]: Change to gpl3+.
2015-11-04 09:16:04 +02:00
Efraim Flashner ae3d99e9da gnu: parallel: Update to 20151022.
* gnu/packages/parallel.scm (parallel): Update to 20151022.
2015-11-04 09:02:51 +02:00
Eric Bavier b95bcb8ae0 gnu: Add byobu.
* gnu/packages/screen.scm (byobu): New variable.
* gnu/packages/patches/byobu-writable-status.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
2015-11-03 17:08:41 -06:00
Eric Bavier e5930e5a13 gnu: newt: Build python bindings.
* gnu/packages/slang.scm (newt)[outputs]: New field.
  [arguments]: Add #:make-flags argument.  Add 'move-python' phase.
2015-11-03 17:07:09 -06:00
Mark H Weaver 718c5dd6e1 gnu: esmtp: Fix 'inputs' field.
This is a followup to commit f8ae32a26a.

* gnu/packages/mail.scm (esmtp)[inputs]: Add missing parentheses.
2015-11-03 19:01:38 -05:00
Ludovic Courtès f856fcb558 build-system/python: 'package-with-python2' preserves source location.
* guix/build-system/python.scm (package-with-explicit-python): Add
  'location' field.
2015-11-04 00:12:20 +01:00
Ludovic Courtès 32728adb95 import: pypi: Make downloads silent.
* guix/import/pypi.scm (pypi-fetch): Wrap body in
  'call-with-output-file' and 'with-error-to-port'.
2015-11-04 00:12:19 +01:00
Ludovic Courtès d1cb7e9562 import: pypi: Add missing copyright line.
* guix/import/pypi.scm: Add missing copyright line for bab020d.
2015-11-04 00:12:19 +01:00
Ludovic Courtès b9d044ef7f doc: Fix typos.
* doc/guix.texi (Invoking guix refresh): Fix typos.
2015-11-04 00:12:19 +01:00
Ludovic Courtès 3931607e4b gnu: guile-ncurses: Mask test failure with ncurses 6.0.
Fixes <http://bugs.gnu.org/21677>.

* gnu/packages/guile.scm (guile-ncurses)[arguments]: Add #:make-flags.
2015-11-04 00:12:19 +01:00
Ludovic Courtès f194445a65 Update NEWS. 2015-11-04 00:12:19 +01:00
Ludovic Courtès 4ebdefc07a gnu: cmake: Download over HTTPS.
Reported by Gxsdnewb on #guix.

* gnu/packages/cmake.scm (cmake)[source]: Use 'https' URL.
2015-11-04 00:12:19 +01:00
Ludovic Courtès b18812b6a4 doc: Explain that 'guix publish' relies on the key pair.
* doc/guix.texi (Invoking guix publish): Mention 'guix archive
  --generate-key'.
2015-11-04 00:12:19 +01:00
David Thompson d431b23240 scripts: container: Fix 'exec' command line parsing.
* guix/scripts/container/exec.scm (partition-args): Reimplement such
  that all args up to and including the PID are returned as the first of
  the two values.
2015-11-03 18:05:43 -05:00
Cyril Roelandt bab020d7ca import: pypi: add updater
* guix/import/pypi.scm (guix-package->pypi-name,
  latest-release): New procedures.
  (%pypi-updater): New variable.
* guix/scripts/refresh.scm (%updaters): Add %PYPI-UPDATER.
* doc/guix.texi (Invoking guix refresh): Mention PyPI
2015-11-03 23:41:25 +01:00
Cyril Roelandt 465b61fcd6 gnu: Add python-tempest-lib.
* gnu/packages/openstack.scm (python-tempest-lib,
  python2-tempest-lib): New variables.
2015-11-03 21:38:13 +01:00
Cyril Roelandt 39d3f2edce gnu: python-oslotest: move mox3 to the propagated-inputs
* gnu/packages/openstack.scm (python-oslotest): move mox3 to the propagated
  inputs.
2015-11-03 21:38:13 +01:00
Cyril Roelandt aee6412ad8 gnu: Add python-oslo.log.
* gnu/packages/openstack.scm (python-oslo.log,
  python2-oslo.log): New variables.
2015-11-03 21:38:13 +01:00
Cyril Roelandt a3fc12daa7 gnu: paramiko: Move python-pycrypto to the propagated inputs.
* gnu/packages/python.scm (python-paramiko): Move python-pycrypto to the
  propagated-inputs.
2015-11-03 21:38:13 +01:00
Cyril Roelandt 2931f46454 gnu: Add python-os-testr.
* gnu/packages/openstack.scm (python-ostestr,
  python2-ostestr): New variables.
2015-11-03 21:38:13 +01:00
Cyril Roelandt f4c7dc5582 gnu: Add python-oslosphinx.
* gnu/packages/openstack.scm (python-oslosphinx,
  python2-oslosphinx): New variables.
2015-11-03 21:38:13 +01:00
Cyril Roelandt 2ac9ba6a29 gnu: Add python-hacking.
* gnu/packages/openstack.scm (python-hacking,
  python2-hacking): New variables.
2015-11-03 21:38:13 +01:00
Cyril Roelandt abf21efcae gnu: Add python-flake8-2.2.4
* gnu/packages/python.scm (python-flake8-2.2.4,
  python2-flake8-2.2.4): New variables.
2015-11-03 21:38:13 +01:00
Cyril Roelandt 7477fbb1be gnu: Add python-mccabe 0.2.1
* gnu/packages/python.scm (python-mccabe-0.2.1,
  python2-mccabe-0.2.1): New variables.
2015-11-03 21:38:13 +01:00
Cyril Roelandt cbaa6a1e41 gnu: Update python-requests.
* gnu/packages/python.scm (python-requests, python2-requests): Bump to 2.8.0.
2015-11-03 21:38:13 +01:00
Cyril Roelandt d8bdd38201 import: pypi: Use "pypi-uri" instead of building the URL manually.
* guix/import/pypi.scm (make-pypi-sexp): Use "pypi-uri".
* tests/pypi.scm: Update the tests accordingly.
2015-11-03 21:38:13 +01:00
Cyril Roelandt 3009334e3b guix: Add a "pypi-uri" helper method.
* guix/download.scm (mirrors): New "pypi" mirror.
* guix/build-system/python.scm (pypi-uri): New method.
2015-11-03 21:38:13 +01:00
Andy Wingo f8ae32a26a gnu: Add esmtp.
* gnu/packages/mail.scm (esmtp): New public variable.
2015-11-03 21:08:31 +01:00
Andy Wingo f5dceecb0c gnu: Add libesmtp.
* gnu/packages/mail.scm (libesmtp): New public variable.
2015-11-03 21:08:31 +01:00
Ludovic Courtès 6e82863463 system: Rename (gnu system linux) to (gnu system pam).
* gnu/system/linux.scm: Rename to...
* gnu/system/pam.scm: ... this.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu.scm, gnu/services/base.scm, gnu/services/desktop.scm,
  gnu/services/networking.scm, gnu/services/ssh.scm,
  gnu/services/xorg.scm, gnu/system.scm, gnu/system/vm.scm: Likewise.
2015-11-03 18:11:45 +01:00
Ludovic Courtès 1c52181f33 services: Add 'guix-publish-service'.
* gnu/services/base.scm (<guix-publish-configuration>): New record
  type.
  (guix-publish-dmd-service): New procedure.
  (%guix-publish-accounts, guix-publish-service-type): New variables.
  (guix-publish-service): New procedure.
* doc/guix.texi (Invoking guix publish): Add xref to
  'guix-publish-service' anchor.
  (Base Services): Document 'guix-publish-service'.
2015-11-03 18:11:45 +01:00
David Thompson 00bfa7ea25 scripts: environment: Display friendly container error messages.
* guix/scripts/environment.scm (assert-container-features): New
  procedure.
  (guix-environment): Use it.
2015-11-03 11:41:04 -05:00
David Thompson b7d48312bb build: container: Add feature test predicates.
* gnu/build/linux-container.scm (user-namespace-supported?,
  unprivileged-user-namespace-supported?, setgroups-supported?): New
  procedures.
* tests/container.scm: Use predicates.
* tests/syscalls.scm: Likewise.
2015-11-03 11:41:04 -05:00
Taylan Ulrich Bayırlı/Kammer 9ff7827a21 gnu: nestopia-ue: Use system zlib.
* gnu/packages/games.scm (nestopia-ue): Remove bundled zlib, patch files
  to include system zlib.h, and add zlib as input.
2015-11-03 16:25:46 +01:00
宋文武 c869eed1a7 gnu: gst-libav: Update to 1.6.1.
* gnu/packages/gstreamer.scm (gst-libav): Update to 1.6.1.
2015-11-03 22:06:30 +08:00
宋文武 72131606f1 gnu: gst-plugins-ugly: Update to 1.6.1.
* gnu/packages/gstreamer.scm (gst-plugins-ugly): Update to 1.6.1.
2015-11-03 22:06:30 +08:00
宋文武 a64e5d451b gnu: gst-plugins-good: Update to 1.6.1.
* gnu/packages/gstreamer.scm (gst-plugins-good): Update to 1.6.1.
2015-11-03 22:06:30 +08:00
宋文武 7bc36f8d96 gnu: gst-plugins-base: Update to 1.6.1.
* gnu/packages/gstreamer.scm (gst-plugins-base): Update to 1.6.1.
  [arguments]: Disable parallel tests.
2015-11-03 22:06:30 +08:00
宋文武 31e021f876 gnu: gstreamer: Update to 1.6.1.
* gnu/packages/gstreamer.scm (gstreamer): Update to 1.6.1.
  [arguments]: Remove #:make-flags.
2015-11-03 22:06:30 +08:00
Ludovic Courtès c56ab21b2a gnu: guix: Do not retain dependency on Graphviz.
* gnu/packages/package-management.scm (guix-devel)[arguments]: Add
  ac_cv_path_DOT_USER_PROGRAM=dot to #:configure-flags.
2015-11-03 15:04:15 +01:00
David Thompson cfd35b4e23 doc: Linux-libre 3.19 is needed for using containers.
* doc/guix.texi ("invoking guix environment", "invoking guix system"):
  3.10 is actually too old without backported patches, so change to 3.19.
2015-11-03 08:14:57 -05:00
Taylan Ulrich Bayırlı/Kammer 03d521f92e gnu: Add nestopia-ue.
* gnu/packages/games.scm (nestopia-ue): New variable.
2015-11-03 10:19:44 +01:00
Alex Vong ef54b61dc6 doc: './pre-inst-env guix pull' won't upgrade local source tree.
* doc/contributing.texi (Running Guix Before It Is Installed): Clarify
  './pre-inst-env guix pull' won't upgrade local source tree.
* doc/guix.texi (Invoking guix pull): Mention ~/.config/guix/latest.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-11-03 09:56:48 +01:00
Ludovic Courtès dc57d527ae gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-0.8.3)[arguments]: In
  'disable-container-tests' phase, modify
  "tests/guix-environment-container.sh".  Add 'set-SHELL' phase.
* gnu/packages/package-management.scm (guix-devel): Update to b485f75.
2015-11-03 09:39:35 +01:00
宋文武 6e32aa568c gnu: tcpdump: Update to 4.7.4.
* gnu/packages/admin.scm (tcpdump): Update to 4.7.4.
2015-11-03 10:11:36 +08:00
宋文武 42e8f7345f gnu: libpcap: Update to 1.7.4.
* gnu/packages/admin.scm (libpcap): Update to 1.7.4.
2015-11-03 10:11:36 +08:00
Ludovic Courtès 3195e19de2 import: gnu: Update to the (guix upstream) API.
This is a followup to 0a7c5a0.

* guix/import/gnu.scm (preferred-archive-type): Use
  'upstream-source-archive-types' instead of 'gnu-release-archive-types'.
  (gnu-package->sexp): Use 'upstream-source-urls' et al.  Update call to
  'download-tarball'.
  (gnu->guix-package): Use <upstream-source> instead of <gnu-release>.
* guix/upstream.scm (upstream-source-archive-types): Export.
2015-11-03 00:59:28 +01:00
Ludovic Courtès b485f756e9 tests: Set 'SHELL' for 'guix environment'.
* tests/guix-environment.sh: Export 'SHELL'.
2015-11-02 23:42:31 +01:00
Ludovic Courtès a70436183a guix system: Always build grub.cfg for 'init' and 'reconfigure'.
Fixes <http://bugs.gnu.org/21068>.
Reported by Germano Gabbianelli <tyrion.mx@gmail.com>
and Mark H Weaver <mhw@netris.org>.

* guix/scripts/system.scm (perform-action): Always add GRUB.CFG to DRVS
  for 'init' and 'reconfigure'.

Co-authored-by: Mark H Weaver <mhw@netris.org>
2015-11-02 22:49:04 +01:00
Ludovic Courtès beca0807eb services: udisks: Add UDisks to the system profile.
* gnu/services/desktop.scm (udisks-service-type): Extend
  PROFILE-SERVICE-TYPE.
2015-11-02 22:25:12 +01:00
Ludovic Courtès 1065bed9c4 services: avahi: Add Avahi to the system profile.
* gnu/services/avahi.scm (avahi-service-type): Extend
  PROFILE-SERVICE-TYPE.
  (avahi-service): Adjust docstring.
* doc/guix.texi (Networking Services): Adjust accordingly.
* gnu/system/examples/desktop.tmpl (packages): Remove AVAHI.
2015-11-02 22:25:12 +01:00
Ludovic Courtès e9b8212414 services: slim: Add xterm to the system profile.
* gnu/services/xorg.scm (slim-service-type): Extend
  PROFILE-SERVICE-TYPE.
* gnu/system/examples/desktop.tmpl (packages): Remove XTERM.
2015-11-02 22:25:12 +01:00
Ludovic Courtès 87f4001146 services: wicd: Add Wicd to the system profile.
* gnu/services/networking.scm (wicd-service-type): Extend
  PROFILE-SERVICE-TYPE.
  (wicd-service): Mention it in docstring.
* doc/guix.texi (Networking Services): Update documentation
  accordingly.
* gnu/system/examples/desktop.tmpl (packages): Remove WICD.
2015-11-02 22:25:12 +01:00
Ludovic Courtès af4c3fd5e3 services: Add 'profile-service-type'.
* gnu/services.scm (packages->profile-entry): New procedure.
  (profile-service-type): New variable.
* gnu/system.scm (operating-system-directory-base-entries): Remove
  the "profile" entry.
  (essential-services): Add a PROFILE-SERVICE-TYPE instance.
  (operating-system-profile): Rewrite in terms of 'fold-services'.
* doc/guix.texi (Service Reference): Add 'profile-service-type'.
* doc/images/service-graph.dot: Likewise.
2015-11-02 22:25:12 +01:00
Ludovic Courtès d62e201cfd services: Add 'system-service-type'.
* gnu/services.scm (system-derivation): New procedure.
  (system-service-type): New variable.
  (boot-script-entry): New procedure.
  (boot-service-type): Extend SYSTEM-SERVICE-TYPE.
  (etc-entry): New procedure.
  (etc-service-type): Extend SYSTEM-SERVICE-TYPE.
  (fold-services): Change default #:target-type to SYSTEM-SERVICE-TYPE.
* gnu/system.scm (operating-system-directory-base-entries): New procedure.
  (essential-services): Use it.  Add an instance of
  SYSTEM-SERVICE-TYPE.
  (operating-system-boot-script): Pass #:target-type to 'fold-services'.
  (operating-system-derivation): Rewrite in terms of 'fold-services'.
* gnu/system/linux-container.scm (system-container): Remove.
  (container-script): Use 'operating-system-derivation'.
* guix/scripts/system.scm (export-extension-graph): Replace
  BOOT-SERVICE-TYPE by SYSTEM-SERVICE-TYPE.
* doc/images/service-graph.dot: Add 'system' node and edges.
* doc/guix.texi (Service Composition): Mention SYSTEM-SERVICE-TYPE.
  (Service Reference): Document it.  Update 'fold-services'
  documentation.
2015-11-02 22:25:11 +01:00
Ludovic Courtès 3a391e68da services: Clarify extend/compose of BOOT-SERVICE-TYPE.
* gnu/services.scm (compute-boot-script): Add first placeholder
  parameter.
  (boot-service-type): Change 'compose' to APPEND, and 'extend' to
  COMPUTE-BOOT-SCRIPT.
2015-11-02 22:25:11 +01:00
Efraim Flashner 5adbe65fec gnu: gsl: Enable tests.
* gnu/packages/maths.scm (gsl)[arguments]: Enable tests for i686-linux.
2015-11-02 21:04:18 +02:00
Efraim Flashner f133955122 gnu: gsl: Update to 2.0.
* gnu/packages/maths.scm (gsl): Update to 2.0.
  [source]: Remove patches.
* gnu/packages/patches/gsl-poly-test-fix-pt1.patch,
  gnu/packages/patches/gsl-poly-test-fix-pt2.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove patches.
2015-11-02 21:04:18 +02:00
Alex Kost 5c2b2f006a doc: Fix typos.
* doc/guix.texi (Invoking guix environment): Fix typos.
2015-11-02 21:38:36 +03:00
Ricardo Wurmus 8d9e9f2857 gnu: Add ruby-permutation.
* gnu/packages/ruby.scm (ruby-permutation): New variable.
2015-11-02 14:47:00 +01:00
Ricardo Wurmus b86be2ad1a gnu: Add ruby-listen.
* gnu/packages/ruby.scm (ruby-listen): New variable.
2015-11-02 14:47:00 +01:00
Ricardo Wurmus 48e6851f2f gnu: Add ruby-rb-inotify.
* gnu/packages/ruby.scm (ruby-rb-inotify): New variable.
2015-11-02 14:47:00 +01:00
Ricardo Wurmus 58b59742f4 gnu: Add ruby-simplecov-html.
* gnu/packages/ruby.scm (ruby-simplecov-html): New variable.
2015-11-02 14:47:00 +01:00
Ricardo Wurmus 2417fce3af gnu: Add ruby-ffi.
* gnu/packages/ruby.scm (ruby-ffi): New variable.
2015-11-02 14:47:00 +01:00
Ricardo Wurmus f13636f291 gnu: Add ruby-rubygems-tasks.
* gnu/packages/ruby.scm (ruby-rubygems-tasks): New variable.
2015-11-02 14:47:00 +01:00
Ricardo Wurmus 60af3d8241 gnu: hisat: Disable build on non-x86_64.
* gnu/packages/bioinformatics.scm (hisat)[supported-systems]: Add field.
2015-11-02 14:37:52 +01:00
David Thompson 7241c2fae6 scripts: environment: Ignore user shell when spawning container.
* guix/scripts/environment.scm (%default-options): Remove 'exec'
  association.
  (guix-environment): If the user didn't specify a command, use the
  default shell, or use /bin/sh when a container is requested.
2015-11-02 08:30:54 -05:00
Ricardo Wurmus 69b96e5eee gnu: python-simplegeneric: Add setuptools to native inputs.
* gnu/packages/python.scm (python-simplegeneric)[native-inputs]: Add
  python-setuptools.
2015-11-02 14:27:52 +01:00
Ricardo Wurmus 6b5b656f71 gnu: shogun: Disable build on non-x86_64.
* gnu/packages/machine-learning.scm (shogun)[supported-systems]: Add
  field.
2015-11-02 14:27:41 +01:00
Alex Kost 46c36586fc doc: Fix typo.
* doc/guix.texi (Invoking guix container): Fix typo.
2015-11-02 15:53:48 +03:00
Alex Kost f4044b586d emacs: Enable 'guix-build-log-minor-mode' in shell buffers.
* emacs/guix-build-log.el (guix-build-log-minor-mode-activate): New variable.
  (guix-build-log-minor-mode-activate-maybe): New function.
* emacs/guix-init.el: Add it to 'shell-mode-hook'.
* doc/emacs.texi (Emacs Build Log): Mention it.
2015-11-02 15:52:52 +03:00
Alex Kost 0048552d0d emacs: Enable 'guix-build-log-mode' for build log files.
* emacs/guix-build-log.el (auto-mode-alist): Add 'guix-build-log-mode'
  to 'auto-mode-alist'.
2015-11-02 15:52:52 +03:00
Alex Kost 6407ce8ea1 emacs: Add completions for '--type' option of 'refresh' popup.
* guix/scripts/refresh.scm: Export '%updaters'.
* emacs/guix-main.scm (refresh-updater-names): New procedure.
* emacs/guix-base.el (guix-refresh-updater-names): New function.
* emacs/guix-read.el (guix-read-refresh-updater-names,
  guix-read-refresh-updater-names-string): New functions.
* emacs/guix-command.el (guix-command-improve-refresh-argument): Use
  'guix-read-refresh-updater-names-string'.
2015-11-02 15:51:40 +03:00
Efraim Flashner 762b1971d8 gnu: claws-mail: Update to 3.13.0.
* gnu/packages/mail.scm (claws-mail): Update to 3.13.0.
  [url]: Update to new location.
2015-11-02 13:29:51 +02:00
Ben Woodcroft f3674b1c80 gnu: Add express-beta-diversity.
* gnu/packages/bioinformatics.scm (express-beta-diversity): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-11-02 09:54:21 +01:00
Ludovic Courtès 6394fe650e system: grub: Use a bigger background image.
* gnu/system/grub.scm (grub-background-image): Increase the default
  values of WIDTH and HEIGHT.  After all, it's 2015 already!
2015-11-02 09:54:21 +01:00
Efraim Flashner a83adbf681 gnu: links: Build with libevent.
* gnu/packages/links.scm (links)[inputs]: Add libevent.
2015-11-02 10:50:08 +02:00
Efraim Flashner cb7fed9285 gnu: links: Update to 2.12.
* gnu/packages/links.scm (links): Update to 2.12.
  Various whitespace and line length fixes.
2015-11-02 10:46:56 +02:00
David Thompson 32efa254a8 scripts: Add 'container' subcommand.
* guix/scripts/container.scm: New file.
* guix/scripts/container/exec.scm: New file.
* po/guix/POTFILES.in: Add them.
* Makefile.am (MODULES): Add them.
* doc/guix.texi (Invoking guix container): New section.
2015-11-01 18:20:04 -05:00
Eric Bavier 7c5a442091 gnu: synergy: Upgrade to 1.7.4.
* gnu/packages/synergy.scm (synergy): Upgrade to 1.7.4.
2015-11-01 12:01:03 -06:00
David Thompson 0f252e266a doc: Mention minimum Linux-libre version for containers.
* doc/guix.texi ("invoking guix environment", "invoking guix system"):
  Mention Linux-libre requirements for container features.
2015-11-01 16:54:58 -05:00
Ludovic Courtès 6d6e628119 doc: Give an example with an encrypted root partition.
* gnu/system/examples/desktop.tmpl: Add 'mapped-devices' field.
  Use it in 'file-systems'.
* doc/guix.texi (System Installation): Suggest encrypted partitions.
  Give an example of a command sequence.
2015-11-01 22:24:20 +01:00
Ludovic Courtès b8d2eda4a3 nls: Add Danish translation for packages. 2015-11-01 22:24:20 +01:00
Ludovic Courtès 4e720137b2 nls: Update 'da' translation. 2015-11-01 22:24:19 +01:00
Ludovic Courtès 52d76b64e0 gnu: xz: Add alternate URL.
Fixes <http://bugs.gnu.org/21784>.

* gnu/packages/compression.scm (xz)[source]: Add alternate URL.
2015-11-01 22:24:19 +01:00
Ludovic Courtès 7824d4450d Revert "services: polkit: Use the right executable name for PAM."
This reverts commit 7f39e181df.

Polkit actually uses the name "polkit-1" in calls to 'pam_start'.
2015-11-01 22:24:19 +01:00
Efraim Flashner b798dfde47 gnu: youtube-dl: Minor fixes.
* gnu/packages/video.scm (youtube-dl)[url]: Change to http.
  [description]: Fix capitalization.
2015-11-01 19:56:33 +02:00
Efraim Flashner 4da85bc3bb gnu: youtube-dl: Update to 2015.11.01.
* gnu/packages/video.scm (youtube-dl): Update to 2015.11.01.
2015-11-01 19:54:59 +02:00
Ludovic Courtès 2b9e0a948b services: Add 'udisks-service'.
* gnu/services/desktop.scm (<udisks-configuration>): New record type.
  (udisks-service-type): New variable.
  (udisks-service): New procedure.
  (%desktop-services): Use it.
* doc/guix.texi (Desktop Services): Document it.
2015-11-01 17:56:48 +01:00
Ludovic Courtès daa3b04cd8 gnu: udisks: Separate HTML documentation.
* gnu/packages/freedesktop.scm (udisks)[outputs]: New field.
  [arguments]: Pass the --with-html-dir configure flag.
2015-11-01 17:56:48 +01:00
Ludovic Courtès 35263cd862 gnu: udisks: Mount things under /media.
* gnu/packages/freedesktop.scm (udisks)[arguments]: Add
  --enable-fhs-media.
2015-11-01 17:56:48 +01:00
Ludovic Courtès 5905114a10 gnu: udisks: Find the 'mount' command.
* gnu/packages/freedesktop.scm (udisks)[inputs]: Add UTIL-LINUX.
  [arguments]: Add 'set-mount-file-name' phase.
2015-11-01 17:56:47 +01:00
Ludovic Courtès 222e3319bd services: 'polkit-service-type' can now be extended.
* gnu/packages/polkit.scm (polkit)[source]: Adjust snippet so that rules
  and actions are looked for under /etc/polkit-1.
* gnu/services/desktop.scm (<polkit-configuration>): New record type.
  (polkit-directory, polkit-etc-files, polkit-setuid-programs): New
  procedures.
  (polkit-service-type)[compose, extend]: New fields.
  (polkit-service): Refine docstring.
  (colord-service-type): Extend POLKIT-SERVICE-TYPE.
  (elogind-configuration-file): Extend POLKIT-SERVICE-TYPE.
* doc/guix.texi (Desktop Services): Update 'polkit-service'
  documentation.
2015-11-01 17:56:47 +01:00
Manolis Ragkousis 67010dd886 gnu: hurd-headers: Update to 0.7
* gnu/packages/hurd.scm (hurd-headers): Update to version 0.7.
2015-11-01 15:48:32 +02:00
Manolis Ragkousis 212c664889 gnu: mig: Update to 1.6
* gnu/packages/hurd.scm (mig): Update to version 1.6.
2015-11-01 15:48:32 +02:00
Manolis Ragkousis c51525895a gnu: gnumach-headers: Update to 1.6
* gnu/packages/hurd.scm (gnumach-headers): Update to version 1.6.
2015-11-01 15:48:32 +02:00
Ludovic Courtès 320ca99917 tests: Make sure the daemon dumps directory entries deterministically.
* tests/store.scm ("write-file & export-path yield the same result"):
  New test.
2015-11-01 14:26:54 +01:00
Ludovic Courtès 043f4698f0 doc: Suggest diffing things with --no-dereference.
* doc/guix.texi (Invoking guix challenge): Add --no-dereference in
  'diff' example.
2015-11-01 14:26:54 +01:00
Manolis Ragkousis cbe95af712 Remove unneeded HAVE_UNSHARE.
* src/libstore/build.cc (CHROOT_ENABLED): Remove HAVE_UNSHARE.
2015-11-01 14:26:54 +01:00
Andreas Enge 08859404c0 gnu: Remove aarddict.
* gnu/packages/aarddict.scm: Remove file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister file.
2015-11-01 13:23:08 +01:00
Alex Kost c42e6c6c2f emacs: Disable minor modes in 'guix-build-log-mode'.
* emacs/guix-build-log.el (guix-build-log-mode-hook): Remove
  'compilation-shell-minor-mode' as it is slow on big buffers, and
  'view-mode' as it rebinds too many keys.
  (guix-build-log-mode-map): Add "c" and "v" key bindings for the
  removed minor modes.
2015-10-31 23:22:41 +03:00
Alex Kost 20ce2fee33 emacs: Add key bindings for 'guix-build-log-minor-mode'.
* emacs/guix-build-log.el (guix-build-log-mode-map): Move keys to ...
  (guix-build-log-common-map): ...here.  New variable.
  (guix-build-log-minor-mode-map): New variable.
  (guix-build-log-minor-mode): Use it.
* doc/emacs.texi (Emacs Build Log): Document it.
2015-10-31 23:22:40 +03:00
Alex Kost fbd213a83f guix system: Fix typo in --help message.
* guix/scripts/system.scm (show-help): Align 'container' the same way as
  other actions.
2015-10-31 23:21:23 +03:00
Alex Kost b0e44d4f7d emacs: Add shell completions for 'guix refresh --type'.
* emacs/guix-pcomplete.el (guix-pcomplete-refresh-updaters): New function.
  (guix-pcomplete-complete-option-arg): Complete '-t/--type' option for
  'guix refresh' command.
2015-10-31 23:21:23 +03:00
Ludovic Courtès d9b9454c98 Merge branch 'dbus-update' 2015-10-31 15:11:58 +01:00
Ludovic Courtès 375c610844 services: 'tor-service' takes a 'config-file' parameter.
* gnu/services/networking.scm (tor-dmd-service): Take a 'config'
  parameter and honor it.
  (tor-service): Take a 'config-file' parameter.  Pass it in the
  service's value.
* doc/guix.texi (Networking Services): Adjust accordingly.
2015-10-31 15:11:48 +01:00
Ludovic Courtès 3c3e69728c gnu: guitarix: Compile in C++11 mode.
* gnu/packages/patches/guitarix-c++11.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/audio.scm (guitarix)[source]: Use it.
  [arguments]: Add --cxxflags to #:configure-flags.
2015-10-31 13:17:23 +01:00
Ludovic Courtès ef89cb4263 gnu: lablgtk: Build sequentially.
* gnu/packages/ocaml.scm (lablgtk)[arguments]: Add #:parallel-build? #f.
2015-10-31 12:26:43 +01:00
David Thompson c9c282cea0 scripts: environment: Allow lists of packages in expressions.
* guix/scripts/environment.scm (options/resolve-packages): Match against
  lists of packages when evaluating expressions.
* tests/guix-environment.sh: Add test.
* doc/guix.texi ("invoking guix environment"): Add docs.
2015-10-30 21:02:51 -04:00
Ludovic Courtès 4fca58a6c6 build: Move 'guild compile' flags to a variable.
* Makefile.am (GUILD_COMPILE_FLAGS): New variable.
  (.scm.go): Use it.
2015-10-30 23:10:01 +01:00
Ludovic Courtès 34760ae703 system: Add 'locale-libcs' field.
* gnu/system/locale.scm (localedef-command)[maybe-version-directory]:
  New procedure.
  Use it.
  (locale-directory): Rename to...
  (single-locale-directory): ... this.  Check the version of LIBC to
  determine whether to create a "X.Y" sub-directory or to make it a
  symlink to ".".  Add the version number in the derivation name.
  (locale-directory): New procedure.
  (%default-locale-libcs): New variable.
* gnu/system.scm (<operating-system>)[locale-libcs]: New field.
  (operating-system-locale-directory): Pass it to 'locale-directory'.
* doc/guix.texi (operating-system Reference): Document 'locale-libcs'.
  (Locales)[Locale Data Compatibility Considerations]: New section.
2015-10-30 23:05:52 +01:00
Ludovic Courtès 137d957ed3 gnu: glibc: Add version 2.21.
* gnu/packages/base.scm (glibc-2.21): New variable.
2015-10-30 21:43:20 +01:00
Andy Patterson c8dab7f475 gnu: ffmpeg: Enable gnutls support.
* gnu/package/video.scm (ffmpeg)[inputs]: Add gnutls.
  [arguments]: Enable it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-10-30 20:48:38 +01:00
David Thompson 1c8a81b1af scripts: system: Add 'container' action.
* guix/scripts/system.scm (show-help): Display 'container' action.
  (system-derivation-for-action, guix-system): Add 'container' case.
  (perform-action): Skip GRUB config generation when building a container.
* doc/guix.texi (Invoking guix system): Document it.
2015-10-30 13:22:59 -04:00
David Thompson 8e5999e0b0 system: container: Adjust to changes in gexps.
* gnu/system/linux-container.scm (system-container): 'etc' is no longer
  a monadic value, and the result of 'file-union' must be lowered.
2015-10-30 12:51:49 -04:00
Ricardo Wurmus bd0b4379b2 gnu: openblas: Make substitutable on MIPS.
* gnu/packages/maths.scm (openblas)[arguments]: Make package
  substitutable when the system is MIPS.
2015-10-30 17:47:54 +01:00
Ricardo Wurmus 8a637e79ed gnu: openblas: Set TARGET to SICORTEX on MIPS.
* gnu/packages/maths.scm (openblas)[arguments]: Add "TARGET=SICORTEX" to
  make-flags when building for MIPS.
2015-10-30 17:47:54 +01:00
宋文武 eed588d997 Merge branch 'master' into dbus-update 2015-10-30 20:50:26 +08:00
宋文武 9fa8f43669 gnu: mesa-utils: Fix build.
* gnu/packages/gl.scm (mesa-utils)[arguments]: Pass "--disable-egl"
  as #:configure-flags.
2015-10-30 20:46:28 +08:00
David Thompson b90e7e5d49 gnu: xfce4-session: Fix xflock4.
* gnu/packages/patches/xfce4-session-fix-xflock4.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xfce.scm (xfce4-session)[source]: Add patch.
2015-10-30 08:42:43 -04:00
Ricardo Wurmus 7ea3099b05 gnu: Add pcre2.
* gnu/packages/pcre.scm (pcre2): New variable.
2015-10-30 13:40:59 +01:00
宋文武 7f48be419d gnu: telepathy-glib: Fix tests.
* gnu/packages/glib.scm (telepathy-glib)[source]: Add a patch to
  unique test names.
2015-10-30 20:34:02 +08:00
Efraim Flashner cd4cb1b597 gnu: freeipmi: Update to 1.4.11.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.4.11.
2015-10-30 13:12:44 +02:00
Andreas Enge 6072523231 gnu: Remove ardour-3.
* gnu/packages/audio.scm (ardour-3): Remove variable.
  (ardour): Copy fields from the removed ardour-3 instead of inheriting
  from it.
2015-10-29 23:34:09 +01:00
Eric Bavier e17d513381 gnu: ghc: Add GHC_PACKAGE_PATH native search path.
Benefits include: 'guix environment' more useful for ghc libraries, more
useful 'guix package --search-paths' for installed ghc libraries, cleaner
package recipes: no longer need to propagate runtime package dependencies.

* guix/build/haskell-build-system.scm (configure): Unset GHC_PACKAGE_PATH
  around cabal configure.
  (make-ghc-package-database): Use pattern directory search.
  (register): Install complete package database for the current package.
* gnu/packages/haskell.scm (ghc): Add native-search-paths field.
2015-10-29 17:30:18 -05:00
Eric Bavier c6e030b2e3 utils: Have search-path-as-list pattern search for directories.
* guix/build/utils.scm (search-path-as-list)[pattern]: Check requested file
  type.  Check pattern against directory names.
* guix/search-paths.scm (evaluate-search-paths)[pattern]: Remove symlink hack.
2015-10-29 17:30:18 -05:00
Eric Bavier 0bdab08962 gnu: fish: Add python input.
* gnu/packages/fish.scm (inputs): Add python.
2015-10-29 17:26:30 -05:00
Ludovic Courtès 2e437e29b6 doc: Fix outdated description of the bare-bones example.
Reported by fps on #guix.

* doc/guix.texi (Using the Configuration System): Replace mention of
  Emacs with tcpdump.
2015-10-29 23:12:44 +01:00
Ludovic Courtès a241a7ac65 services: Add 'linux-bare-metal-service-type'.
* gnu/services.scm (modprobe-wrapper): Remove.
  (activation-script): Do not use it.  Remove calls to
  'activate-modprobe' and 'activate-ptrace-attach' in gexp.
  (%modprobe-wrapper, %linux-kernel-activation,
  linux-bare-metal-service-type, %linux-bare-metal-service): New
  variables.
* gnu/system.scm (essential-services): Add %LINUX-BARE-METAL-SERVICE to
  the list, unless CONTAINER? is true.
2015-10-29 23:03:08 +01:00
Andy Patterson 12f92e38d7 gnu: ffmpeg: Move flags into their own argument.
* gnu/packages/video.scm (ffmpeg)[arguments]: Move the configurable
  configure flag literals into the configure-flags argument. Call
  configure with these flags from the configure phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-10-29 23:03:08 +01:00
David Thompson cc90fbbf39 scripts: environment: Allow mixing regular and ad-hoc packages.
This patch changes the --ad-hoc flag to be positional.  That is, the
packages that appear before --ad-hoc are interpreted as packages whose
inputs should be in the environment; the packages that appear after are
interpreted as packages to be directly added to the environment.

* guix/scripts/environment.scm (tag-package-arg, compact): New
  procedures.
  (%options): Tweak the handlers for --load and --expression options.
  (options/resolve-packages): Preserve package mode tag.
  (parse-args): Tweak argument handler to use package tagging procedure.
  (guix-environment): Apply ad-hoc behavior on a per package basis.
* tests/guix-environment.sh: Add test.
* doc/guix.texi ("invoking guix environment"): Document new behavior of
  --ad-hoc.
2015-10-29 16:24:12 -04:00
Ludovic Courtès 6726282b20 services: Add screen-locker service.
* gnu/system/linux.scm (base-pam-services): Remove "xlock" and
  "xscreensaver".
* gnu/services/xorg.scm (<screen-locker>): New record type.
  (screen-locker-pam-services, screen-locker-setuid-programs,
  screen-locker-service): New procedures.
  (screen-locker-service-type): New variable.
* gnu/services/desktop.scm (%desktop-services): Use them.
* doc/guix.texi (X Window): Document 'screen-locker-service'.
  (Desktop Services): Mention it.
2015-10-29 19:07:58 +01:00
Ludovic Courtès e502bf8953 system: File systems depend on their corresponding device mappings.
Fixes a regression introduced in commit 0adfe95.

* gnu/system.scm (other-file-system-services)[requirements]: Remove.
  [add-dependencies]: New procedure.
  Use it.
* gnu/system/file-systems.scm (<file-system>)[dependencies]: Update
  comment.
* gnu/services/base.scm (mapped-device->dmd-service-name,
  dependency->dmd-service-name): New procedures.
  (file-system-service-type): Use it.
2015-10-29 19:07:58 +01:00
Ludovic Courtès 362f496da9 gnu: Add libchop.
* gnu/packages/backup.scm (libchop): New variable.
2015-10-29 19:07:58 +01:00
Ludovic Courtès b416aadf74 gnu: Move gdbm to (gnu packages databases).
* gnu/packages/gdbm.scm: Remove.
* gnu/packages/databases.scm (gdbm): New variable, from gdbm.scm.
* gnu/packages/avahi.scm, gnu/packages/cyrus-sasl.scm,
  gnu/packages/guile.scm, gnu/packages/mail.scm,
  gnu/packages/man.scm, gnu/packages/pulseaudio.scm,
  gnu/packages/python.scm, gnu/packages/ruby.scm,
  gnu/packages/sawfish.scm: Adjust accordingly.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove gdbm.scm.
2015-10-29 19:07:58 +01:00
Ludovic Courtès 136787cb4e doc: Mention Nix in the intro.
* doc/guix.texi (Introduction): Mention Nix with a xref to
  "Acknowledgments".
  (Acknowledgments): Add link to nixos.org.
2015-10-29 19:07:58 +01:00
Ludovic Courtès 122c3a1d67 system: grub: Let GRUB choose the best graphics mode.
On PCs, it means that it will typically choose resolutions higher
than 640x480, which is nicer.

* gnu/system/grub.scm (eye-candy)[setup-gfxterm-body]: Leave 'gfxmode'
  unset.
2015-10-29 19:07:57 +01:00
Ricardo Wurmus 69851c59c7 gnu: openblas: Update to 0.2.15.
* gnu/packages/maths.scm (openblas): Update to 0.2.15.
2015-10-29 15:44:31 +01:00
宋文武 53e85d0aa5 gnu: leptonica: Disable parallel tests.
* gnu/packages/image.scm (leptonica)[arguments]: Add #:parallel-tests?.
2015-10-29 22:01:11 +08:00
Ricardo Wurmus 8a3a9e84cb gnu: icedtea7: Update to 2.6.2.
* gnu/packages/java.scm (icedtea7): Update to 2.6.2.
2015-10-29 14:53:19 +01:00
Paul van der Walt dd169b73e0 gnu: ghc-glut: Propagate freeglut input.
* gnu/packages/haskell.scm (ghc-glut): Move freeglut to
  propagated-inputs.
2015-10-29 11:08:56 +01:00
Efraim Flashner a0d3eff99c gnu: bluez: Update to 5.35.
* gnu/packages/linux.scm (bluez): Update to 5.35.
2015-10-28 23:55:27 +02:00
Alex Kost b7f16845c8 gnu: magit-svn: Update to 2.1.1.
* gnu/packages/emacs.scm (magit-svn): Update to 2.1.1.
2015-10-29 00:11:12 +03:00
Alex Kost 1fda9b1f46 gnu: magit: Update to 2.3.0.
* gnu/packages/emacs.scm (magit): Update to 2.3.0.
2015-10-29 00:11:12 +03:00
Ludovic Courtès cd6f6c22fb services: Add 'modify-services'.
* gnu/services.scm (%modify-service, modify-services): New macros.
* gnu/services/base.scm (mingetty-service-type, guix-service-type):
  Export.
* emacs/guix-devel.el (guix-devel-keywords): Add 'modify-services'.
  Ditto in 'guix-devel-scheme-indent' call.
* doc/guix.texi (Using the Configuration System): Give an example of
  'modify-services'.
  (Service Reference): Document it.
2015-10-28 21:58:25 +01:00
Ludovic Courtès b0b9f6e0a6 services: 'guix-configuration' has a 'substitute-urls' field.
* gnu/services/base.scm (<guix-configuration>)[substitute-urls]: New
  field.
  (guix-dmd-service): Honor it.
* doc/guix.texi (Base Services): Document it.
2015-10-28 21:58:25 +01:00
Alex Kost 7191adc5cf refresh: Support comma-separated updater types.
* guix/scripts/refresh.scm (%options): Handle comma-separated types for
  '--type' option.
  (guix-refresh): Adjust accordingly.
  (show-help): Likewise.
* doc/guix.texi (Invoking guix refresh): Document it.
2015-10-28 21:51:59 +03:00
Ricardo Wurmus 9a067efdb2 gnu: pbtranscript-tofu: Update to 2.2.3.
* gnu/packages/bioinformatics.scm (pbtranscript-tofu): Update to 2.2.3.
  [source]: Remove bundled Cython sources in a snippet.  Replace
  ".tar.gz" extension in file-name field with "-checkout".
  [arguments]: Replace "enter-directory-and-clean-up" phase with
  "enter-directory" phase, and add "patch-setuppy" phase.
  [inputs]: Add python2-h5py.  Move python2-cython ...
  [native-inputs]: ... to this field.
2015-10-28 16:26:58 +01:00
Andreas Enge fb8d1be8e1 gnu: pari-gp: Add X11 input.
* gnu/packages/algebra.scm (pari-gp)[inputs]: Add libx11, which enables
  plotting functions.
2015-10-28 15:57:20 +01:00
Ludovic Courtès 855038b294 tests: Print the mounts visible in the container.
* tests/guix-environment-container.sh: Print the content of
  $tmpdir/mounts.
2015-10-28 15:55:10 +01:00
Ludovic Courtès fd688c82bf ui: Add 'make-regexp*'.
Fixes <http://bugs.gnu.org/21773>.
Reported by Jan Synáček <jan.synacek@gmail.com>.

* guix/ui.scm (make-regexp*): New procedure.
* guix/scripts/package.scm (options->installable, guix-package): Use it
  when processing user-provided regexps.
2015-10-28 15:53:17 +01:00
Ludovic Courtès 35b50a7535 container: Remove unnecessary CLONE_CHILD_* flags.
* gnu/build/linux-container.scm (namespaces->bit-mask): Remove
  CLONE_CHILD_CLEARTID and CLONE_CHILD_SETTID, which are unneeded.
  Discussed at <http://bugs.gnu.org/21694>.
2015-10-28 15:31:44 +01:00
Ludovic Courtès fb4bf72be3 store: Use the daemon's substitute URLs by default.
Partly fixes <http://bugs.gnu.org/20217>.

* guix/store.scm (set-build-options): Change #:substitute-urls to
  default to #f.  Send the 'substitute-urls' pair only if
  SUBSTITUTE-URLS is true.
* guix/scripts/build.scm (set-build-options-from-command-line): Do not
  default to %DEFAULT-SUBSTITUTE-URLS for #:substitute-urls.
* guix/scripts/size.scm (%default-options): Remove 'substitute-urls'.
2015-10-28 15:31:44 +01:00
宋文武 c7c5c5ae8b gnu: leptonica: Disable failing tests.
* gnu/packages/image.scm (leptonica)[arguments]: Add 'disable-failing-tests' phase.
2015-10-28 20:48:45 +08:00
David Thompson 34a1783fc1 scripts: build: Add --file option.
* guix/scripts/build.scm (show-help): Add help text for --file option.
  (%options): Add --file option.
  (options/resolve-packages): Handle 'file' options.
* tests/guix-build.sh: Add tests.
* doc/guix.texi ("invoking guix build"): Add doc.
2015-10-28 08:40:16 -04:00
Ludovic Courtès 5c7bdc9a7f gnu: python-debian: Avoid @itemize in description.
* gnu/packages/python.scm (python-debian): Use @enumerate instead of
  @itemize.
2015-10-28 12:04:03 +01:00
Ludovic Courtès 55b2fc1877 substitute: Honor all the specified server URLs.
* guix/scripts/substitute.scm (lookup-narinfos/diverse): New procedure.
  (lookup-narinfo): Use it.
  (process-query): Change #:cache-url to #:cache-urls.
  [valid?]: Remove 'narinfo?' check, which is no longer necessary.
  Use 'lookup-narinfos/diverse' instead of 'lookup-narinfos'.
  (process-substitution): Change #:cache-url to #:cache-urls.
  (%cache-url): Rename to...
  (%cache-urls): ... this.  Turn into a list.
  (guix-substitute): Remove 'getaddrinfo' test with early exit.  Adjust
  calls to 'process-query' and 'process-substitution'.
* tests/substitute.scm: Change '%cache-url' to '%cache-urls'.
2015-10-28 12:04:03 +01:00
Ludovic Courtès a89dde1ed8 substitute: 'lookup-narinfos' returns exactly a list of narinfos.
* guix/scripts/substitute.scm (lookup-narinfos): Filter out #f values
  from CACHED, such that the end result is exactly a list of narinfos,
  not interspersed with #f.
* guix/scripts/challenge.scm (discrepancies): Assume REMOTE is a list of
  narinfos.
2015-10-28 12:04:03 +01:00
Ludovic Courtès f151298fa0 substitute: 'http-multiple-get' follows 'fold' style.
* guix/scripts/substitute.scm (http-multiple-get): Add 'seed'
  parameter.  Call PROC in 'fold' style.
  (fetch-narinfos)[handle-narinfo-response]: Adjust accordingly.
  Update 'http-multiple-get' call accordingly.
2015-10-28 12:04:03 +01:00
Mark H Weaver 58301666dd gnu: grub: Install documentation.
* gnu/packages/grub.scm (grub)[native-inputs]: Add help2man and texinfo.
2015-10-28 12:04:03 +01:00
Mark H Weaver 04e0eac1ed gnu: grub: Use modify-phases and other minor cleanups.
* gnu/packages/grub.scm (grub)[arguments]: Use modify-phases.  Return #t from
  'patch-stuff' phase.  Add 'patch-stuff' phase after 'unpack' instead of
  before 'patch-source-shebangs'.
  [inputs]: Add comment noting that 'fuse' would be a desirable input.
2015-10-28 12:04:03 +01:00
Mark H Weaver 0431ed00e4 doc: Add texinfo to the requirements when building from git.
* doc/contributing.texi (Building from Git): Add GNU Texinfo to the list of
  additional requirements.
2015-10-28 12:04:02 +01:00
Mark H Weaver 44a88ce49e gnu: linux-libre: On MIPS, the linux image name is vmlinuz, not bzImage.
* gnu/packages/linux.scm (linux-libre)[install-phase]: Add vmlinuz to the list
  of file names to be copied.
2015-10-28 12:04:02 +01:00
Mark H Weaver 726029b2ba gnu: linux-libre: Add case for ARCH=mips.
* gnu/packages/linux.scm (linux-libre)[build-phase]: When setting ARCH, add a
  case for MIPS.
2015-10-28 12:04:02 +01:00
Mark H Weaver 6c8d70b0b6 gnu: linux-libre: Add 'supported-systems' field: Intel only for now.
* gnu/packages/linux.scm (linux-libre)[supported-systems]: New field.
2015-10-28 12:04:02 +01:00
Mark H Weaver b1b9e5c8d2 gnu: linux-libre: Update to 4.2.5.
* gnu/packages/linux.scm (linux-libre): Update to 4.2.5.
2015-10-27 20:20:05 -04:00
Mark H Weaver 9f4a249611 linux-initrd: Use pata_acpi, pata_atiixp, and isci modules only on Intel.
* gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Include
  "pata_acpi", "pata_atiixp", and "isci" on Intel systems only.
2015-10-27 21:44:46 +01:00
Mark H Weaver 6b173ac004 system: grub: Adjust eye-candy to work on non-Intel systems.
* gnu/system/grub.scm (eye-candy): Accept additional 'system' argument.  Add
  local 'setup-gfxterm-body' variable.  Replace the 'load_video' grub function
  with 'setup_gfxterm', which includes everything in the 'if loadfont' form on
  Intel systems, but is empty on non-Intel.
  (grub-configuration-file): Pass 'system' to 'eye-candy.
2015-10-27 21:44:46 +01:00
Mark H Weaver c448bf7443 system: grub: On MIPS, the linux image name is vmlinuz, not bzImage.
* gnu/system/grub.scm (grub-configuration-file): Add 'linux-image-name'
  internal procedure.  Use it from 'entry->gexp'.
2015-10-27 21:44:46 +01:00
Ludovic Courtès 08dcff4744 gnu: Add Diffoscope.
* gnu/packages/package-management.scm (diffoscope): New variable.
2015-10-27 21:44:46 +01:00
Ludovic Courtès 816a653884 gnu: Add python-chardet.
* gnu/packages/python.scm (python-chardet, python2-chardet): New
  variables.
2015-10-27 21:44:46 +01:00
Ludovic Courtès 85d4aeacc4 gnu: Add python-debian.
* gnu/packages/python.scm (python-debian, python2-debian): New
  variables.
2015-10-27 21:44:46 +01:00
Andreas Enge a10d3a687d gnu: qt: Update to 5.5.1.
* gnu/packages/qt.scm (qt): Update to 5.5.1.
2015-10-27 21:42:55 +01:00
Alex Kost 6ffa706b6d refresh: Add '--list-updaters' option.
* guix/scripts/refresh.scm (list-updaters-and-exit): New procedure.
  (%options, show-help): Add '--list-updaters' option.
* doc/guix.texi (Invoking guix refresh): Document it.
2015-10-27 21:54:57 +03:00
Alex Kost 7e6b490d04 upstream: Add 'description' field to 'upstream-updater'.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* guix/upstream.scm (<upstream-updater>): Use 'define-record-type*'.
  [description]: New field.
  (lookup-updater): Adjust accordingly.
* guix/gnu-maintenance.scm (%gnu-updater): Likewise.
* guix/import/cran.scm (%cran-updater): Likewise.
* guix/import/elpa.scm (%elpa-updater): Likewise.
* po/guix/POTFILES.in: Add guix/scripts/import/cran.scm and
  guix/gnu-maintenance.scm.
2015-10-27 21:54:57 +03:00
Alex Kost cfd56de3d8 emacs: Use 'switch-to-generation*'.
This is a followup to commit 06d45f4566.

* emacs/guix-base.el (guix-switch-to-generation): Replace
  'switch-to-generation' with 'switch-to-generation*'.
2015-10-27 21:54:57 +03:00
Alex Kost e1d3318634 emacs: Add "Packages" option for 'guix challenge' popup.
* emacs/guix-command.el (guix-command-rest-argument): Add "challenge".
2015-10-27 21:54:57 +03:00
Alex Kost 402d73bc75 emacs: Add shell completions for 'guix challenge'.
* emacs/guix-pcomplete.el (guix-pcomplete-complete-command-arg): Add
  "challenge" to complete package names for it.
2015-10-27 21:54:57 +03:00
Ricardo Wurmus c364a287ad gnu: gcj: Run libjava tests.
* gnu/packages/gcc.scm (gcj)[native-inputs]: Add dejagnu.
  [arguments]: Enable tests and set test target to
  "check-target-libjava".
2015-10-27 16:03:30 +01:00
Christopher Allan Webber 9a9e143b75 gnu: guile-next: Update to 20151025.e5bccb6
* gnu/packages/guile.scm (guile-next): Update to 20151025.e5bccb6.
2015-10-27 09:36:23 -05:00
宋文武 bce5ae1d26 gnu: leptonica: Update to 1.72.
* gnu/packages/image.scm (leptonica): Update to 1.72.
2015-10-27 21:47:37 +08:00
宋文武 d8c317df26 gnu: ganv, pavucontrol, jalv: Fix build by compile with C++11.
* gnu/packages/audio.scm (jalv)[arguments],
  gnu/packages/gtk.scm (ganv)[arguments],
  gnu/packages/music.scm (non-sequencer)[arguments],
  gnu/packages/pulseaudio.scm (pavucontrol)[arguments]: Set
  'CXXFLAGS' to '-std=c++11'.
2015-10-27 20:32:28 +08:00
Ricardo Wurmus 104c1986ac gnu: subread: Use SSE optimizations on x86_64 only.
* gnu/packages/bioinformatics.scm (subread)[arguments]: Override CC and
  CCFLAGS conditionally dependent on target system.
2015-10-27 12:06:55 +01:00
Ricardo Wurmus 61d5fd03bf gnu: crossmap: Update to 0.2.1.
* gnu/packages/bioinformatics.scm (crossmap): Update to 0.2.1.
2015-10-27 11:14:13 +01:00
Ludovic Courtès c21317d425 gnu: mu: Adjust to new GLib version.
* gnu/packages/mail.scm (%mu-gtester-patch): New variable.
  (mu)[source]: Use it.
2015-10-27 10:19:46 +01:00
Ludovic Courtès ff5c33fe71 gnu: gtkmm: Add dependency on glib:bin.
* gnu/packages/gtk.scm (gtkmm)[native-inputs]: Add glib:bin.
  (gtkmm-2)[native-inputs]: New field.
2015-10-27 10:08:02 +01:00
Ludovic Courtès b9cbe31645 gnu: libwacom: Add dependency on libgudev.
* gnu/packages/xdisorg.scm (libwacom)[inputs]: Add LIBGUDEV.
2015-10-27 10:05:36 +01:00
Aljosha Papsch 7e9b07bdcb gnu: Add yapet.
* gnu/packages/password-utils.scm (yapet): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-10-27 00:01:20 +01:00
Cyrill Schenkel 7dae1f4301 gnu: Add xcompmgr.
* gnu/packages/xorg.scm (xcompmgr): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-10-27 00:01:20 +01:00
Ludovic Courtès 06d45f4566 profiles: Add generation manipulation procedures.
* guix/scripts/package.scm (delete-generations): Use
  'delete-generation*' instead of 'delete-generation'.
  (guix-package)[process-actions]: Use 'roll-back*' instead of
  'roll-back' and 'switch-to-generation*' instead of
  'switch-to-generation'.
  (link-to-empty-profile, switch-to-generation,
  switch-to-previous-generation, roll-back, delete-generation): Move
  to...
* guix/profiles.scm: ... here.  Adjust to not print messages and to
  return values that can be used by user interfaces.
* guix/ui.scm (display-generation-change, roll-back*,
  switch-to-generation*, delete-generation*): New procedures.
2015-10-27 00:01:20 +01:00
Ludovic Courtès 3bb168b099 utils: Add 'switch-symlinks', moved from (guix ui).
* guix/ui.scm (switch-symlinks): Move to...
* guix/utils.scm: ... here.  New procedure.
* guix/scripts/pull.scm: Use it.
2015-10-27 00:01:20 +01:00
Ludovic Courtès 65797bfffd guix system: Add the 'list-generations' command.
* guix/scripts/system.scm (display-system-generation, list-generations):
  New procedures.
  (process-action): Clarify docstring.
  (process-command): New procedure.
  (guix-system)[parse-sub-command]: Add 'list-generations'
  Call 'process-command' instead of 'process-action'.
* doc/guix.texi (Using the Configuration System): Mention generations,
  rollback, and 'list-generations'.
  (Invoking guix system): Document 'list-generations'.
2015-10-27 00:01:20 +01:00
Ludovic Courtès 5b516ef369 guix system: Factorize boot parameter parsing.
* guix/scripts/system.scm (<boot-parameters>): New record type.
  (read-boot-parameters): New procedure.
  (previous-grub-entries)[system->grub-entry]: Use it.
2015-10-27 00:01:20 +01:00
Ludovic Courtès ad18c7e64c ui: Add procedures to display a profile generation.
* guix/scripts/package.scm (guix-package)[process-query](list-generations):
  Move part of the body to 'delete-generation' and
  'display-profile-content'.
* guix/ui.scm (display-generation, display-profile-content): New
  procedures.
2015-10-27 00:01:20 +01:00
Ludovic Courtès d50cb56d9b utils: Add 'readlink*'.
* guix/scripts/package.scm (readlink*): Move to...
* guix/utils.scm (readlink*): ... here.  New procedure.
2015-10-27 00:01:20 +01:00
Ludovic Courtès deaab8e314 guix system: Extract action processing.
* guix/scripts/system.scm (process-action): New procedure.  Extracted
  from...
  (guix-system): ... here.  Use it.
2015-10-27 00:01:20 +01:00
Ludovic Courtès e49de93aa5 ui: Add 'matching-generations'.
* guix/scripts/package.scm (matching-generations): Move to...
* guix/ui.scm (matching-generations): ... here.
2015-10-27 00:01:20 +01:00
Ludovic Courtès 9685661324 doc: Add a REPL example.
* doc/contributing.texi (Running Guix Before It Is Installed): Add REPL
  example.
* doc/emacs.texi (Emacs General info): Add @cindex.
2015-10-27 00:01:20 +01:00
Ludovic Courtès 5e1c936712 gnu: Add python-file.
* gnu/packages/python.scm (python-file, python2-file): New variables.
2015-10-27 00:01:20 +01:00
Ludovic Courtès e3e1ecf67c gnu: Add RPM.
* gnu/packages/package-management.scm (rpm): New variable.
* gnu/packages/backup.scm (libarchive): Add comment.
2015-10-27 00:01:19 +01:00
Paul van der Walt 64a719203f gnu: racket: Update to 6.2.1.
* gnu/packages/scheme.scm (racket): Update to 6.2.1.
2015-10-26 13:28:20 +01:00
Paul van der Walt fd59d2ee65 gnu: haskell: Remove CONFIG_SHELL patches.
A previous commit to the haskell-build-system made sure that if
necessary, the CONFIG_SHELL environment variable is set.  That obviates
the individual patches applied to some packages.  Remove them.

* gnu/packages/haskell.scm (ghc-network, ghc-old-time, ghc-sdl-image,
  ghc-sdl-mixer, ghc-sdl, ghc-unix-time, ghc-x11)[arguments]: Remove
  ‘fix-/bin/sh’ phase.
2015-10-26 10:15:32 +01:00
Paul van der Walt 554093b7e1 gnu: ghc-async: Fix description formatting.
* gnu/packages/haskell.scm (ghc-async): Formatting.
2015-10-26 10:15:14 +01:00
Paul van der Walt f862f38ade build-system/haskell: CONFIG_SHELL env variable.
For Cabal packages with "build-type: Configure", a configure shell
script is run to set up build parameters.  These scripts need the
CONFIG_SHELL environment variable to be set to function properly.

* guix/build/haskell-build-system.scm (configure): Set CONFIG_SHELL if
  necessary.
2015-10-26 10:15:14 +01:00
David Thompson f535dcbe19 scripts: environment: Add --container option.
* guix/scripts/system.scm (specification->file-system-mapping): Move from
  here...
* guix/ui.scm (specification->file-system-mapping): ... to here.
* guix/scripts/enviroment.scm (show-help): Show help for new options.
  (%options): Add --container --network, --expose, and --share options.
  (%network-configuration-files): New variable.
  (launch-environment, launch-environment/container, requisites*,
  inputs->requisites): New procedures.
  (guix-environment): Spawn new process in a container when requested.
* doc/guix.texi (Invoking guix environment): Document it.
* tests/guix-environment-container.sh: New file.
* Makefile.am (SH_TESTS): Add it.
2015-10-25 20:27:19 -04:00
Efraim Flashner 581176c00b gnu: youtube-dl: Upgrade to 2015.10.24.
* gnu/packages/video.scm (youtube-dl): Upgrade to 2015.10.24.
2015-10-25 19:07:29 +02:00
宋文武 92e4fbe215 gnu: ardour: Build with '--cxx11'.
* gnu/packages/audio.scm (ardour, ardour-3)[arguments]: Add '--cxx11'
  as #:configure-flags.
2015-10-25 17:40:14 +08:00
Mark H Weaver 51de92a08e gnu: unzip: Reorganize security fixes for improved clarity.
* gnu/packages/patches/unzip-fix-overflows-and-infloop.patch: Delete
  file.  Its contents are now split into the following new files:
* gnu/packages/patches/unzip-CVE-2015-7696.patch,
  gnu/packages/patches/unzip-CVE-2015-7697.patch,
  gnu/packages/patches/unzip-overflow-on-invalid-input.patch: New files.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/zip.scm (unzip)[source]: Adjust patches accordingly.
2015-10-23 23:12:06 -04:00
Mark H Weaver d3365d4866 Merge branch 'master' into dbus-update 2015-10-23 23:11:38 -04:00
宋文武 6e4512c470 gnu: libgnomecanvasmm: Fix build by passing '-std=c++11'.
* gnu/packages/gnome.scm (libgnomecanvasmm)[arguments]: Pass
  '-std=c++11' as CXXFLAGS.
2015-10-24 09:57:11 +08:00
宋文武 a2651b5477 gnu: gtk+: Remove rest from inputs.
This broke building on mips64el.

* gnu/packages/gtk.scm (gtk+)[inputs]: Remove rest.
2015-10-24 09:22:15 +08:00
Mark H Weaver 71eb843837 gnu: unzip: Reorganize security fixes for improved clarity.
* gnu/packages/patches/unzip-fix-overflows-and-infloop.patch: Delete
  file.  Its contents are now split into the following new files:
* gnu/packages/patches/unzip-CVE-2015-7696.patch,
  gnu/packages/patches/unzip-CVE-2015-7697.patch,
  gnu/packages/patches/unzip-overflow-on-invalid-input.patch: New files.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/zip.scm (unzip)[source]: Adjust patches accordingly.
2015-10-23 15:35:46 -04:00
Mark H Weaver ca9745e484 gnu: linux-libre: Update to 4.2.4.
* gnu/packages/linux.scm (linux-libre): Update to 4.2.4.
2015-10-23 15:34:07 -04:00
宋文武 6747de140d gnu: bluez: Update to 5.35, fix test.
* gnu/packages/patches/bluez-tests.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (bluez): Update to 5.35.
  [source]: Add patch.
2015-10-23 22:23:34 +08:00
Paul van der Walt 8e01e30077 import: hackage: Fix grammar.
Minor clarification regarding the test-dependencies command line option.

* guix/scripts/import/hackage.scm (show-help): Minor grammatical fix.
2015-10-23 09:10:52 +02:00
Paul van der Walt 759756a992 import: hackage: Update GHC libraries for 7.10.2.
Update ghc-standard-libraries to match the output of `ghc-pkg list` when
using GHC 7.10.2.

* guix/import/hackage.scm (ghc-standard-libraries): Sort and update list
  of core GHC libraries.
2015-10-23 09:10:52 +02:00
Paul van der Walt aa6f39127e gnu: Add Raincat.
* gnu/packages/games.scm (raincat): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt c783cac070 gnu: Add ghc-sdl-image.
* gnu/packages/haskell.scm (ghc-sdl-image): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 224a0ddbd9 gnu: Add ghc-sdl-mixer.
* gnu/packages/haskell.scm (ghc-sdl-mixer): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt b784e8c502 gnu: Add ghc-sdl.
* gnu/packages/haskell.scm (ghc-sdl): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt bce030840d gnu: Add ghc-glut.
* gnu/packages/haskell.scm (ghc-glut): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt fe28ba703f gnu: Add ghc-opengl.
* gnu/packages/haskell.scm (ghc-opengl): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 74fa80ee68 gnu: Add ghc-objectname.
* gnu/packages/haskell.scm (ghc-objectname): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 894562e314 gnu: Add ghc-gluraw.
* gnu/packages/haskell.scm (ghc-gluraw): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt c480b85e66 gnu: Add ghc-openglraw.
* gnu/packages/haskell.scm (ghc-openglraw): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 22db3ce71a gnu: Add ghc-half.
* gnu/packages/haskell.scm (ghc-half): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 25d51164f7 gnu: Add ghc-regex-compat.
* gnu/packages/haskell.scm (ghc-regex-compat): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt e422279bbc gnu: Add ghc-regex-posix.
* gnu/packages/haskell.scm (ghc-regex-posix): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 25eb1c2227 gnu: Add ghc-xhtml.
* gnu/packages/haskell.scm (ghc-xhtml): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt e0d17b8482 gnu: Add ghc-haskell-src.
* gnu/packages/haskell.scm (ghc-haskell-src): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 0bc641baf8 gnu: Add ghc-html.
* gnu/packages/haskell.scm (ghc-html): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 1f477b59c1 gnu: Add ghc-cgi.
* gnu/packages/haskell.scm (ghc-cgi): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 5e217e4df7 gnu: Add ghc-multipart.
* gnu/packages/haskell.scm (ghc-multipart): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt e40b25432e gnu: Add ghc-alex.
* gnu/packages/haskell.scm (ghc-alex): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt e0492a8dd4 gnu: Add ghc-haddock.
* gnu/packages/haskell.scm (ghc-haddock): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 735bd9c952 gnu: Add ghc-haddock-api.
* gnu/packages/haskell.scm (ghc-haddock-api): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 56b3bc5694 gnu: Add ghc-haddock-library.
* gnu/packages/haskell.scm (ghc-haddock-library): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 600621a182 gnu: Add Idris.
* gnu/packages/haskell.scm (idris): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 93248cfdd0 gnu: Add ghc-trifecta.
* gnu/packages/haskell.scm (ghc-trifecta): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt d7e67cf1a1 gnu: Add ghc-cheapskate.
* gnu/packages/haskell.scm (ghc-cheapskate): Add variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt e1a35c39b1 gnu: Add ghc-lens.
* gnu/packages/haskell.scm (ghc-lens): Add variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 5125f63fea gnu: Add ghc-kan-extensions.
* gnu/packages/haskell.scm (ghc-kan-extensions): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 576cdc5ab4 gnu: Add ghc-vector-binary-instances.
* gnu/packages/haskell.scm (ghc-vector-binary-instances): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 7588e55c73 gnu: Add ghc-wai-extra.
* gnu/packages/haskell.scm (ghc-wai-extra): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt fc3aa91b55 gnu: Add ghc-wai-logger.
* gnu/packages/haskell.scm (ghc-wai-logger): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 3784289667 gnu: Add ghc-wai.
* gnu/packages/haskell.scm (ghc-wai): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 5722409b18 gnu: Add ghc-cookie.
* gnu/packages/haskell.scm (ghc-cookie): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt e372520ec3 gnu: Add ghc-parsers.
* gnu/packages/haskell.scm (ghc-parsers): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt d6a08d24bf gnu: Add ghc-xss-sanitize.
* gnu/packages/haskell.scm (ghc-xss-sanitize): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt f550db48eb gnu: Add ghc-streaming-commons.
* gnu/packages/haskell.scm (ghc-streaming-commons): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 85b2a2f541 gnu: Add ghc-resourcet.
* gnu/packages/haskell.scm (ghc-resourcet): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 6397aef061 gnu: Add hlint.
* gnu/packages/haskell.scm (hlint): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 6ff19687b1 gnu: Add ghc-haskell-src-exts.
* gnu/packages/haskell.scm (ghc-haskell-src-exts): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 81da1a45e8 gnu: Add ghc-happy.
* gnu/packages/haskell.scm (ghc-happy): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 0ba563643e gnu: Add ghc-cmdargs.
* gnu/packages/haskell.scm (ghc-cmdargs): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 78249cc075 gnu: Add cpphs.
* gnu/packages/haskell.scm (cpphs): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 6729152dc5 gnu: Add ghc-simple-reflect.
* gnu/packages/haskell.scm (ghc-simple-reflect): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 52db0e1372 gnu: Add ghc-adjunctions.
* gnu/packages/haskell.scm (ghc-adjunctions): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt dc2e8ab7ea gnu: Add ghc-free.
* gnu/packages/haskell.scm (ghc-free): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 1e473fb8dc gnu: Add ghc-prelude-extras.
* gnu/packages/haskell.scm (ghc-prelude-extras): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 865ac57307 gnu: Add ghc-reflection.
* gnu/packages/haskell.scm (ghc-reflection): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt d2639cbc17 gnu: Add ghc-reducers.
* gnu/packages/haskell.scm (ghc-reducers): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt aee9822326 gnu: Add ghc-semigroupoids.
* gnu/packages/haskell.scm (ghc-semigroupoids): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt f221841c69 gnu: Add ghc-profunctors.
* gnu/packages/haskell.scm (ghc-profunctors): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt fad564ec03 gnu: Add ghc-extra.
* gnu/packages/haskell.scm (ghc-extra): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 47038762ba gnu: Add ghc-polyparse.
* gnu/packages/haskell.scm (ghc-polyparse): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt ce78a0f50c gnu: Add HScolour.
* gnu/packages/haskell.scm (hscolour): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 40b56b5291 gnu: Add ghc-comonad.
* gnu/packages/haskell.scm (ghc-comonad): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt fa4f5024bc gnu: Add ghc-distributive.
* gnu/packages/haskell.scm (ghc-distributive): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 10e614523f gnu: Add ghc-cereal.
* gnu/packages/haskell.scm (ghc-cereal): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt ca41c155c5 gnu: Add ghc-zip-archive.
* gnu/packages/haskell.scm (ghc-zip-archive): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 7b72df8b7a gnu: Add ghc-css-text.
* gnu/packages/haskell.scm (ghc-css-text): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 39505126b1 gnu: Add ghc-aeson.
* gnu/packages/haskell.scm (ghc-aeson): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt bc74e0e171 gnu: Add ghc-attoparsec.
* gnu/packages/haskell.scm (ghc-attoparsec): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt a43a38a129 gnu: Add ghc-scientific.
* gnu/packages/haskell.scm (ghc-scientific): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 4a2fbdfe62 gnu: Add ghc-tasty-ant-xml.
* gnu/packages/haskell.scm (ghc-tasty-ant-xml): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 275ff10bb3 gnu: Add ghc-tasty-smallcheck.
* gnu/packages/haskell.scm (ghc-tasty-smallcheck): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt b53fa04681 gnu: Add ghc-smallcheck.
* gnu/packages/haskell.scm (ghc-smallcheck): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 9855500af6 gnu: Add ghc-tasty-golden.
* gnu/packages/haskell.scm (ghc-tasty-golden): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt fa67563caf gnu: Add ghc-temporary-rc.
* gnu/packages/haskell.scm (ghc-temporary-rc): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt f4e5c04ed1 gnu: Add ghc-clock.
Add ghc-clock, which depends indirectly on ghc-clock-bootstrap for its
test suite.

* gnu/packages/haskell.scm (ghc-clock): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 32ce3df758 gnu: Add ghc-tasty-quickcheck.
* gnu/packages/haskell.scm (ghc-tasty-quickcheck): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 766504d199 gnu: Add ghc-tasty-hunit.
* gnu/packages/haskell.scm (ghc-tasty-hunit): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 7cfdbc514f gnu: Add ghc-tasty.
* gnu/packages/haskell.scm (ghc-tasty): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 3f2ce1dc3f gnu: Add ghc-clock-bootstrap.
The ghc-clock-bootstrap package has tests disabled, since they
themselves indirectly require ghc-clock.  After adding ghc-tasty and
ghc-tasty-quickcheck, ghc-clock is defined as a public package with
tests enabled.

* gnu/packages/haskell.scm (ghc-clock-bootstrap): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt fa709a2fc9 gnu: Add ghc-stringsearch.
* gnu/packages/haskell.scm (ghc-stringsearch): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 281bc4fd5d gnu: Add ghc-word8.
* gnu/packages/haskell.scm (ghc-word8): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 6f5e312e97 gnu: Add ghc-lifted-base.
* gnu/packages/haskell.scm (ghc-lifted-base): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 34128d2ba7 gnu: Add ghc-regex-tdfa-rc.
* gnu/packages/haskell.scm (ghc-regex-tdfa-rc): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 6ffc5be71d gnu: Add ghc-charset.
* gnu/packages/haskell.scm (ghc-charset): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt cc553d025d gnu: Add ghc-fast-logger.
* gnu/packages/haskell.scm (ghc-fast-logger): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt d76bf6181b gnu: Add ghc-bytestring-builder.
* gnu/packages/haskell.scm (ghc-bytestring-builder): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 6c1a7751a5 gnu: Add ghc-tagsoup.
* gnu/packages/haskell.scm (ghc-tagsoup): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 9e5224e6f3 gnu: Add ghc-digest.
* gnu/packages/haskell.scm (ghc-digest): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 624efe7304 gnu: Add ghc-contravariant.
* gnu/packages/haskell.scm (ghc-contravariant): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt f271524a14 gnu: Add ghc-statevar.
* gnu/packages/haskell.scm (ghc-statevar): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 4f99755142 gnu: Add ghc-bifunctors.
* gnu/packages/haskell.scm (ghc-bifunctors): Add variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 03f6074b72 gnu: Add ghc-void.
* gnu/packages/haskell.scm (ghc-void): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 946fa8c9b0 gnu: Add ghc-semigroups.
* gnu/packages/haskell.scm (ghc-semigroups): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 878535bd81 gnu: Add ghc-nats.
* gnu/packages/haskell.scm (ghc-nats): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt fe8f53e39b gnu: Add ghc-http-types.
* gnu/packages/haskell.scm (ghc-http-types): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt dc5befb126 gnu: Add ghc-quickcheck-instances.
* gnu/packages/haskell.scm (ghc-quickcheck-instances): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 801cc88daf gnu: Add ghc-unix-compat.
* gnu/packages/haskell.scm (ghc-unix-compat): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 5ef40cb26a gnu: Add ghc-unix-time.
* gnu/packages/haskell.scm (ghc-unix-time): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 685502dc93 gnu: Add ghc-iproute.
* gnu/packages/haskell.scm (ghc-iproute): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt a24ec6f271 gnu: Add ghc-unbounded-delays.
* gnu/packages/haskell.scm (ghc-unbounded-delays): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 7f0d5857e6 gnu: Add ghc-tagged.
* gnu/packages/haskell.scm (ghc-tagged): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt bc0fb230f9 gnu: Add ghc-auto-update.
* gnu/packages/haskell.scm (ghc-auto-update): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt cb2119e4f5 gnu: Add ghc-doctest.
* gnu/packages/haskell.scm (ghc-doctest): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt a195cd795f gnu: Add ghc-blaze-html.
* gnu/packages/haskell.scm (ghc-blaze-html): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt a311f5d000 gnu: Add ghc-blaze-markup.
* gnu/packages/haskell.scm (ghc-blaze-markup): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 94e1dc7a57 gnu: Add ghc-blaze-builder.
* gnu/packages/haskell.scm (ghc-blaze-builder): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 71470eddfa gnu: Add ghc-base-compat.
* gnu/packages/haskell.scm (ghc-base-compat): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 9525e25fc1 gnu: Add ghc-easy-file.
* gnu/packages/haskell.scm (ghc-easy-file): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 27e7c8b6a6 gnu: Add ghc-byteorder.
* gnu/packages/haskell.scm (ghc-byteorder): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 8516020507 gnu: Add ghc-monad-control.
* gnu/packages/haskell.scm (ghc-monad-control): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt c27f3aced3 gnu: Add ghc-transformers-base.
* gnu/packages/haskell.scm (ghc-transformers-base): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 899916b51e gnu: Add ghc-mmorph.
* gnu/packages/haskell.scm (ghc-mmorph): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 6ecc4723c2 gnu: Add ghc-vault.
* gnu/packages/haskell.scm (ghc-vault): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 09fb622cb3 gnu: Add ghc-base-orphans.
* gnu/packages/haskell.scm (ghc-base-orphans): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 918f690a83 gnu: Add ghc-optparse-applicative.
* gnu/packages/haskell.scm (ghc-optparse-applicative): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 4946514437 gnu: Add ghc-fingertree.
* gnu/packages/haskell.scm (ghc-fingertree): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 10de4306d6 gnu: Add ghc-uniplate.
* gnu/packages/haskell.scm (ghc-uniplate): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 3410470d16 gnu: Add ghc-base64-bytestring.
* gnu/packages/haskell.scm (ghc-base64-bytestring): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt e93333483c gnu: Add ghc-ansi-wl-pprint.
* gnu/packages/haskell.scm (ghc-ansi-wl-pprint): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 4e1254971d gnu: Add ghc-annotated-wl-pprint.
* gnu/packages/haskell.scm (ghc-annotated-wl-pprint): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 565f040df4 gnu: ghc-split: Update dependencies.
* gnu/packages/haskell.scm (ghc-split): Update package dependencies for
  compatibility with new GHC.  Replicate Cabal-file patch from Hackage.
2015-10-23 09:10:52 +02:00
Paul van der Walt 2108eac211 gnu: Add ghc-quickcheck-unicode.
* gnu/packages/haskell.scm (ghc-quickcheck-unicode): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt d10fed28b8 gnu: Add ghc-xml.
* gnu/packages/haskell.scm (ghc-xml): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 748463bec4 gnu: Add ghc-logict.
* gnu/packages/haskell.scm (ghc-logict): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt b10f7be3e3 gnu: Add ghc-pcre-light.
* gnu/packages/haskell.scm (ghc-pcre-light): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 476f7bab8b gnu: Add ghc-generic-deriving.
* gnu/packages/haskell.scm (ghc-generic-deriving): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 78c5b39d08 gnu: Add ghc-safe.
* gnu/packages/haskell.scm (ghc-safe): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 76ae28f16b gnu: Add ghc-appar.
* gnu/packages/haskell.scm (ghc-appar): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 9d5f0399f9 gnu: Add ghc-regex-base.
* gnu/packages/haskell.scm (ghc-regex-base): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt df12a41294 gnu: Add ghc-hspec.
* gnu/packages/haskell.scm (ghc-hspec): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 6d71fcdf9e gnu: Add hspec-discover.
* gnu/packages/haskell.scm (hspec-discover): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 45882aafcb gnu: Add ghc-hspec-meta.
* gnu/packages/haskell.scm (ghc-hspec-meta): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt daf5cd28dc gnu: Add ghc-hspec-core.
* gnu/packages/haskell.scm (ghc-hspec-core): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 327348c629 gnu: Add ghc-hspec-expectations.
* gnu/packages/haskell.scm (ghc-hspec-expectations): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt acd881a49c gnu: Add ghc-silently.
* gnu/packages/haskell.scm (ghc-silently): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 5257c34150 gnu: Add ghc-temporary.
* gnu/packages/haskell.scm (ghc-temporary): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 31cac1ee9f gnu: Add ghc-exceptions.
* gnu/packages/haskell.scm (ghc-exceptions): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 379a5ad54f gnu: Add ghc-transformers-compat.
* gnu/packages/haskell.scm (ghc-transformers-compat): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 59c9b4f678 gnu: Add ghc-quickcheck-io.
* gnu/packages/haskell.scm (ghc-quickcheck-io): Add variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 318f9d884e gnu: Add ghc-stringbuilder.
* gnu/packages/haskell.scm (ghc-stringbuilder): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt a45a15df50 gnu: Add ghc-setenv.
* gnu/packages/haskell.scm (ghc-setenv): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt e2fcaff2ef gnu: Add ghc-async.
* gnu/packages/haskell.scm (ghc-async): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 9380634c10 gnu: Remove ghc-containers.
Since GHC 7.10.2 provides containers, this package has become unneeded.

* gnu/packages/haskell.scm (ghc-containers): Remove variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt cd27b23d49 gnu: Add ghc-ansi-terminal.
* gnu/package/haskell.scm (ghc-ansi-terminal): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt 35a9b5c70b gnu: cabal-install: Update to 1.22.6.0.
* gnu/packages/haskell.scm (cabal-install): Update to 1.22.6.0.
2015-10-23 09:10:52 +02:00
Paul van der Walt b38c1627ec gnu: ghc-http: Update to 4000.2.20.
* gnu/packages/haskell.scm (ghc-http): Update to 4000.2.20.  Add input
  old-time, required in new GHC 7.10.2.
2015-10-23 09:10:52 +02:00
Paul van der Walt 13244b2438 gnu: ghc-network: Update to 2.6.2.1.
* gnu/packages/haskell.scm (ghc-network): Update to 2.6.2.1.
* gnu/packages/haskell.scm (ghc-network-uri): Update to 2.6.0.3.
2015-10-23 09:10:52 +02:00
Paul van der Walt 0b61d50302 gnu: ghc-vector: Update to 0.11.0.0.
* gnu/packages/haskell.scm (ghc-vector): Update to 0.11.0.0.
2015-10-23 09:10:52 +02:00
Paul van der Walt a306190f88 gnu: ghc-syb: Update to 0.6.
* gnu/packages/haskell.scm (ghc-syb): Update to 0.6.
2015-10-23 09:10:52 +02:00
Paul van der Walt 83185924c2 gnu: ghc-quickcheck: Update to 2.8.1.
* gnu/packages/haskell.scm (ghc-quickcheck): Update to 2.8.1.
2015-10-23 09:10:52 +02:00
Paul van der Walt 4c116c6aed gnu: ghc-primitive: Update to 0.6.1.0.
* gnu/packages/haskell.scm (ghc-primitive): Update to 0.6.1.0.
2015-10-23 09:10:52 +02:00
Paul van der Walt 87a25ccd04 gnu: ghc-hashable: Update to 1.2.3.3.
* gnu/packages/haskell.scm (ghc-hashable): Update to 1.2.3.3.
2015-10-23 09:10:52 +02:00
Paul van der Walt 8431b0468e gnu: ghc-text: Update to 1.2.1.3.
* gnu/packages/haskell.scm (ghc-text): Update to 1.2.1.3.
2015-10-23 09:10:52 +02:00
Paul van der Walt 409ec7c01e gnu: ghc-dlist: Enable tests.
* gnu/packages/haskell.scm (ghc-dlist): Enable tests.
2015-10-23 09:10:52 +02:00
Paul van der Walt 6fe7a7e0af gnu: ghc-dlist: Update to 0.7.1.2.
* gnu/packages/haskell.scm (ghc-dlist): Update to version 0.7.1.2.
2015-10-23 09:10:52 +02:00
Paul van der Walt 2687f7db73 gnu: ghc-xmonad-contrib: Update to version 0.11.4.
* gnu/packages/wm.scm (ghc-xmonad-contrib): Update to version 0.11.4.
  Add input ghc-old-time, required with new GHC 7.10.2.
2015-10-23 09:10:52 +02:00
Paul van der Walt 7ae4c10227 gnu: Add ghc-old-time.
* gnu/packages/haskell.scm (ghc-old-time): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt ca80b8ba15 gnu: xmonad: Patch for updated libraries.
* gnu/packages/wm.scm (xmonad): Replicate patch from Hackage to compile
  against GHC 7.10.2.
2015-10-23 09:10:52 +02:00
Paul van der Walt 6a0add9c69 gnu: Add ghc-old-locale.
* gnu/packages/haskell.scm (ghc-old-locale): New variable.
* gnu/packages/haskell.scm (ghc-data-default-instances-old-locale):
  Patch to use new package ghc-old-locale.
2015-10-23 09:10:52 +02:00
Paul van der Walt ac426aa53b gnu: ghc-utf8-string: Update to 1.0.1.1.
* gnu/packages/haskell.scm (ghc-utf8-string): Update to 1.0.1.1.
2015-10-23 09:10:52 +02:00
Paul van der Walt a59ab2477a gnu: ghc-mtl: Update to 2.2.1.
* gnu/packages/haskell.scm (ghc-mtl): Update to 2.2.1.
2015-10-23 09:10:52 +02:00
Paul van der Walt 0e03d76a51 gnu: ghc: Update to 7.10.2.
* gnu/packages/haskell.scm (ghc): Update to 7.10.2.  Correct bootstrap
  compiler path.

* gnu/packages/haskell.scm (ghc-unordered-containers): Fix long line.
2015-10-23 09:10:52 +02:00
Efraim Flashner fd74cc3c72 gnu: mplayer: Update to 1.2.
* gnu/packages/video.scm (mplayer): Update to 1.2.
  [inputs]: Add previously bundled ffmpeg, libdvdcss, libdvdnav.
  [arguments]: Disable bundled ffmeg.
2015-10-23 08:58:41 +03:00
Efraim Flashner 21b2ec4d3a gnu: pbzip2: Various fixes.
* gnu/packages/compression.scm (pbzip)[uri]: Replace hardcoded version
  with variable.
  [arguments]: Remove configure phase. Add make flag.
2015-10-23 08:57:04 +03:00
Eric Bavier c595cd47d8 gnu: evilwm: Add patch for lost-focus bug.
* gnu/packages/patches/evilwm-lost-focus-bug.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/wm.scm (evilwm)[source]: Use it.
2015-10-22 17:47:37 -05:00
Mark H Weaver 2442e69e41 Revert "gnu: unzip: Reorganize security fixes for improved clarity."
This reverts commit c46c931ecf.
2015-10-22 17:10:41 -04:00
Mark H Weaver c46c931ecf gnu: unzip: Reorganize security fixes for improved clarity.
* gnu/packages/patches/unzip-fix-overflows-and-infloop.patch: Delete
  file.  Its contents are now split into the following new files:
* gnu/packages/patches/unzip-CVE-2015-7696.patch,
  gnu/packages/patches/unzip-CVE-2015-7697.patch,
  gnu/packages/patches/unzip-overflow-on-invalid-input.patch: New files.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/zip.scm (unzip)[source]: Adjust patches accordingly.
2015-10-22 14:58:03 -04:00
Mark H Weaver dddb11b506 gnu: ntp: Update to 4.2.8p4.
* gnu/packages/ntp.scm (ntp): Update to 4.2.8p4.
2015-10-22 14:30:35 -04:00
Ricardo Wurmus 37fdba7e0b gnu: Add python-statsmodels.
* gnu/packages/statistics.scm (python-statsmodels, python2-statsmodels):
  New variables.
2015-10-22 17:35:13 +02:00
Ricardo Wurmus 9bc08aa0cb gnu: Add python-patsy.
* gnu/packages/statistics.scm (python-patsy, python2-patsy): New
  variables.
2015-10-22 17:35:05 +02:00
Efraim Flashner 5d47eab024 gnu: Add pbzip2.
* gnu/packages/compression.scm (pbzip2): New variable.
2015-10-22 17:28:03 +03:00
Paul van der Walt ff9a5f7e97 gnu: dosbox: Add file-name property.
* gnu/packages/games.scm (dosbox): Add file-name property, since the
  package is built from an SVN checkout.
2015-10-22 16:18:17 +02:00
Paul van der Walt 566fc7fa13 gnu: cmus: Add file-name property.
* gnu/packages/music.scm (cmus): Add file-name, since the downloaded
  tar.gz only contains version number.
2015-10-22 16:18:17 +02:00
Eric Bavier 1a65667240 gnu: conkeror: Upgrade to 1.0pre1.20150730.
* gnu/packages/conkeror.scm (conkeror): Upgrade to 1.0pre1.20150730.
  [arguments]: Adjust #:make-flags and #:phases for new Makefile, and
  use modify-phases.
2015-10-22 03:59:27 -05:00
Ricardo Wurmus fe4c37c244 gnu: Add MOSAIK.
* gnu/packages/bioinformatics.scm (mosaik): New variable.
2015-10-22 11:11:09 +02:00
Ricardo Wurmus 1e656049b0 gnu: Add python-numexpr.
* gnu/packages/python.scm (python-numexpr, python2-numexpr): New
  variables.
2015-10-22 11:02:36 +02:00
Ludovic Courtès 26909789d0 services: Rely on D-Bus activation for colord, geoclue, and polkit.
* gnu/services/desktop.scm (colord-dmd-service): Remove.
  (colord-service-type): Adjust accordingly.
  (geoclue-dmd-service): Remove.
  (geoclue-service-type): Adjust accordingly.
  (polkit-dmd-service): Remove.
  (polkit-service-type): Adjust accordingly.
2015-10-22 00:44:18 +02:00
Ludovic Courtès cde0402169 services: dbus: Support service activation.
* gnu/services/dbus.scm (system-service-directory): New procedure.
  (dbus-configuration-directory)[services->sxml]: Add
  /etc/dbus-1/system-services <servicedir> tag, and remove the
  per-service "/share/dbus-1/system-services" tag.
  Symlink OUTPUT/system-services.
  (dbus-setuid-programs): New procedure.
  (dbus-root-service-type): Extend SETUID-PROGRAM-SERVICE-TYPE.
  (dbus-service): Default to DBUS/ACTIVATION.
2015-10-22 00:41:09 +02:00
Mark H Weaver e0a7d36458 gnu: dosbox: Put the 'autogen.sh' phase after 'unpack'.
* gnu/packages/games.scm (dosbox)[arguments]: Put the 'autogen.sh' phase
  after 'unpack', instead of before 'configure'.
2015-10-21 18:37:53 -04:00
Ludovic Courtès da51f5bb01 gnu: dbus: Add variant with proper helper for service activation.
* gnu/packages/patches/dbus-helper-search-path.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/glib.scm (dbus/activation): New variable.
2015-10-22 00:26:11 +02:00
Ludovic Courtès 4a663ca4e8 services: dbus: Honor the config's dbus package.
* gnu/services/dbus.scm (dbus-dmd-service): Rewrite using 'match-lambda'
  so that the config's dbus package is used.  Fixes a regression
  introduced in 64643b9.
2015-10-21 23:37:02 +02:00
Paul van der Walt e11b275204 gnu: Add dosbox x86 emulator.
* gnu/packages/games.scm (dosbox): New variable.
2015-10-21 22:13:47 +02:00
Paul van der Walt e8069d012f gnu: Add cmus.
* gnu/packages/music.scm (cmus): New variable.
2015-10-21 21:57:57 +02:00
Paul van der Walt a7aa4e2a64 gnu: Add opusfile.
* gnu/packages/xiph.scm (opusfile): New variable.
2015-10-21 21:57:57 +02:00
Paul van der Walt 845b4f5b7b Revert "gnu: Add opusfile."
This reverts commit c3c239e615.
2015-10-21 21:49:50 +02:00
Paul van der Walt fab7428881 gnu: Add libcue.
* gnu/packages/cdrom.scm (libcue): New variable.
2015-10-21 21:39:03 +02:00
Paul van der Walt c3c239e615 gnu: Add opusfile.
* gnu/packages/xiph.scm (opusfile): New variable.
2015-10-21 21:32:34 +02:00
Leo Famulari b747a9db1e gnu: recutils: Build the Bash builtin, readrec.
* gnu/packages/databases.scm (recutils)[native-inputs]: Add bash:include.
  [arguments]: Add configure-flag with path to headers provided by
  bash:include.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-10-21 19:09:14 +02:00
Leo Famulari c30f65237b gnu: bash: Use 'install-file' instead of 'mkdir-p' and 'copy-file'.
* gnu/packages/bash.scm (bash): Use 'install-file' instead of 'mkdir-p'
  and 'copy-file'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-10-21 19:08:12 +02:00
Leo Famulari 3dcbb75f63 gnu: bash: Install more headers in "include" output.
* gnu/packages/bash.com (bash): Include contents of include directory in
  "include" output.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-10-21 19:05:47 +02:00
Ludovic Courtès 861be0cc1d packages: Update 'check-package-freshness' to use (guix upstream).
This is a followup to 0a7c5a0.
Reported by Efraim Flashner <efraim@flashner.co.il>.

* gnu/packages.scm (check-package-freshness): Update to the new (guix
  upstream) interface.
2015-10-21 18:28:14 +02:00
Ludovic Courtès 1a1553db7e gnu: gnu-pw-mgr: Update to 1.6.
* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Update to 1.6.
2015-10-21 18:01:38 +02:00
Ludovic Courtès 74dc959cb0 gnu: help2man: Update to 1.47.2.
* gnu/packages/man.scm (help2man): Update to 1.47.2.
2015-10-21 18:01:17 +02:00
Ludovic Courtès ee53a14417 gnu: less: Update to 481.
* gnu/packages/less.scm (less): Update to 481.
2015-10-21 18:00:59 +02:00
Ludovic Courtès 641dd73dc8 gnu: freeipmi: Update to 1.4.10.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.4.10.
2015-10-21 18:00:23 +02:00
Ludovic Courtès 102eac2a0a import: cran: Add copyright notice.
Add notice for commit d882c23.
2015-10-21 14:51:30 +02:00
Ludovic Courtès 053cfdb3d6 import: cran: Avoid HTTP redirect.
* guix/import/cran.scm (cran-fetch): Add trailing slash in URL to avoid
  HTTP redirect.
2015-10-21 14:44:41 +02:00
Ludovic Courtès d882c235d9 import: cran: Add updater.
* guix/import/cran.scm (downloads->url, nodes->text): New procedures.
  (cran-sxml->sexp): Use them.  Remove equivalent local code.
  (latest-release, cran-package?): New procedures.
  (%cran-updater): New variable.
* guix/scripts/refresh.scm (%updaters): Add %CRAN-UPDATER.
* doc/guix.texi (Invoking guix refresh): Mention CRAN.
2015-10-21 14:44:41 +02:00
Ludovic Courtès 577e750580 refresh: Remove exception catch-all.
* guix/scripts/refresh.scm (update-package): Remove 'catch #t'.
2015-10-21 14:44:41 +02:00
Ludovic Courtès bcb571cba4 refresh: Add '--type' option.
* guix/scripts/refresh.scm (%options, show-help): Add --type.
  (lookup-updater): New procedure.
  (update-package): Add 'updaters' parameter and honor it.
  (guix-refresh)[options->updaters]: New procedure.
  Use it, and honor --type.
2015-10-21 14:44:41 +02:00
Ludovic Courtès a7aac93625 import: elpa: Add updater.
* guix/import/elpa.scm (latest-release, package-from-gnu.org?): New
  procedures.
  (%elpa-updater): New variable.
* guix/scripts/refresh.scm (%updaters): Add %ELPA-UPDATER.
2015-10-21 14:44:38 +02:00
Ludovic Courtès 218622a737 import: elpa: Use 'http-fetch/cached' to retrieve the archive.
* guix/import/elpa.scm (elpa-fetch-archive): Set %HTTP-CACHE-TTL to 6
  hours.
  (call-with-downloaded-file): Use 'http-fetch/cached' instead of
  'url-fetch'.
2015-10-21 14:43:34 +02:00
Ludovic Courtès 0a7c5a09fe gnu-maintenance: Generalize, leading to (guix upstream).
* guix/gnu-maintenance.scm (<gnu-release>): Remove.
  (coalesce-releases): Move to upstream.scm.  Rename to
  'coalesce-sources'; adjust callers.
  (releases, latest-release): Return <upstream-source> objects instead
  of <gnu-release> objects.
  (latest-release*, non-emacs-gnu-package?): New procedures.
  (gnu-release-archive-types): Remove.
  (%gnu-updater): New variable.
  (package-update-path, download-tarball, package-update,
  update-package-source): Move to...
* guix/upstream.scm: ... here.  New file.
* Makefile.am (MODULES): Add it.
* po/guix/POTFILES.in: Replace gnu-maintenance.scm with upstream.scm.
* guix/scripts/refresh.scm (%updaters): New variable.
  (update-package): Adjust to new 'package-update' interface.
  (guix-refresh): Adjust to new 'package-update-path'.  Remove
  'false-if-exception' around it.
2015-10-21 14:43:34 +02:00
Ludovic Courtès cbaf0f11dd http-client: '%http-cache-ttl' is really a parameter.
Fixes a typo in commit 739ab68 that made it a procedure returning a
parameter.

* guix/http-client.scm (%http-cache-ttl): Turn into a parameter.
2015-10-21 14:43:34 +02:00
Eric Bavier 45e1096896 gnu: Add evilwm.
* gnu/packages/wm.scm (evilwm): New variable.
2015-10-20 15:40:09 -05:00
Eric Bavier d1ccd094f9 services: xorg: Include font-alias in default FontPath.
* gnu/services/xorg.scm (xorg-configuration-file): Add font-alias directories
  to xserver.conf FontPath.
2015-10-20 15:40:09 -05:00
Eric Bavier bf9655f57d font-alias: Install dummy fonts.dir files.
* gnu/packages/xorg.scm (font-alias)[arguments]: New 'install-fonts-dir'
  phase.
2015-10-20 15:40:09 -05:00
Eric Bavier 0f21557ce8 gnu: Add xlsfonts.
* gnu/packages/xorg.scm (xlsfonts): New variable.
2015-10-20 15:40:09 -05:00
Ludovic Courtès 5e3bfe9d01 gnu: inkscape: Fix build with newer GLibmm.
* gnu/packages/inkscape.scm (inkscape)[arguments]: Add #:configure-flags.
2015-10-20 22:37:26 +02:00
Efraim Flashner 938ecdfcab gnu: giflib: Update to 5.1.1.
* gnu/packages/image.scm (giflib): Update to 5.1.1.
2015-10-20 14:12:09 -04:00
Andreas Enge 8cab7580f5 gnu: curl: Update to 7.45.0.
* gnu/packages/curl.scm (curl): Update to 7.45.0.
2015-10-20 14:12:09 -04:00
Mark H Weaver 7c6fb733e9 Merge branch 'master' into dbus-update 2015-10-20 14:11:43 -04:00
Mark H Weaver b1599b5299 Revert "gnu: giflib: Update to 5.1.1."
This reverts commit a5d06c0c53.
2015-10-20 14:08:37 -04:00
Mark H Weaver 9e84fe2cde Revert "gnu: curl: Update to 7.45.0."
This reverts commit 075c3ebd2d.
2015-10-20 14:07:34 -04:00
Efraim Flashner a5d06c0c53 gnu: giflib: Update to 5.1.1.
* gnu/packages/image.scm (giflib): Update to 5.1.1.
2015-10-20 20:37:16 +03:00
Andreas Enge 212efe97c5 gnu: gnurl: Update to 7.45.0.
* gnu/packages/gnunet.scm (gnurl): Update to 7.45.0.
2015-10-20 18:30:40 +02:00
Andreas Enge 075c3ebd2d gnu: curl: Update to 7.45.0.
* gnu/packages/curl.scm (curl): Update to 7.45.0.
2015-10-20 17:59:51 +02:00
Alex Kost 4ab70c5ca0 emacs: devel: Add indentation rules for 'modify-phases' keywords.
* emacs/guix-devel.el: Add indentation rules for 'modify-phases' keywords.
  (guix-devel-indent-modify-phases-keyword,
  guix-devel-indent-modify-phases-keyword-1,
  guix-devel-indent-modify-phases-keyword-2): New functions.
2015-10-20 16:47:21 +03:00
Alex Kost 380566157d emacs: config: Use "emacs-config-" prefix for constants.
* emacs/guix-config.el.in (guix-emacs-interface-directory,
  guix-state-directory): Rename to ...
  (guix-config-emacs-interface-directory, guix-config-state-directory):
  ...this.
  (guix-config-guile-program): New constant.
  (guix-guile-program): Move to ...
* emacs/guix-external.el (guix-guile-program): ...here.  Make it a
  'defcustom'.
* emacs/guix-profiles.el (guix-default-profile): Use
  'guix-config-state-directory'.
* emacs/guix-backend.el (guix-load-path): Use
  'guix-config-emacs-interface-directory'.
2015-10-20 16:47:05 +03:00
Alex Kost 51805219a5 build: Set DOT_USER_PROGRAM for Emacs interface.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* configure.ac: Set DOT_USER_PROGRAM variable.
* emacs/guix-config.el.in (guix-config-dot-program): New constant.
* emacs/guix-external.el (guix-dot-program): Use it.
2015-10-20 16:47:05 +03:00
Efraim Flashner cbe9505778 gnu: units: Update to 2.12.
* gnu/packages/maths.scm (units): Update to 2.12.
2015-10-20 09:41:54 +03:00
Ludovic Courtès d23c20f1d0 Add 'guix challenge'.
* guix/scripts/challenge.scm, tests/challenge.scm: New files.
* Makefile.am (MODULES): Add the former.
  (SCM_TESTS): Add the latter.
* doc.am (SUBCOMMANDS): Add 'challenge'.
* doc/guix.texi (Substitutes): Add xref to 'guix challenge'.
  (Invoking guix challenge): New node.
* doc/contributing.texi (Submitting Patches): Add note about using 'guix
  challenge'.
* po/guix/POTFILES.in: Add guix/scripts/challenge.scm.
2015-10-20 00:57:36 +02:00
Ludovic Courtès ea0c6e0507 substitute: Expose narinfo access.
* guix/scripts/substitute.scm: Export <narinfo> accessors.
  (narinfo-hash->sha256): New procedure.
  (cache-narinfo!): Ignore EACCES exceptions.
2015-10-19 23:12:34 +02:00
Ludovic Courtès e38a71eea9 gnu: qemu: Adjust to newer GLib versions.
* gnu/packages/qemu.scm (qemu-patch): New procedure.
  (%glib-memory-vtable-patch, %glib-duplicate-test-patch): New
  variables.
2015-10-19 17:57:12 +02:00
宋文武 20848f3637 gnu: mesa: Patch the dlopen call for 'libudev.so'.
Fixes a regression introduced in d18c3c6.

* gnu/packages/gl.scm (mesa)[arguments]: Update the 'substitute*'
  call for 'libudev.so'.
2015-10-19 22:21:21 +08:00
宋文武 1cb16f1ea3 gnu: gtk+: Remove colord from inputs.
This broke building on non-intel systems.

* gnu/packages/gtk.scm (gtk+)[inputs]: Remove colord.
2015-10-19 21:39:46 +08:00
宋文武 64643b90ab services: dbus: Build '/etc/dbus-1/system-local.conf'.
* gnu/services/dbus.scm (dbus-etc-files): New procedure.
  (dbus-dmd-service): Remove the use of '--config-file'.
  (dbus-configuration-directory): Adjust accordingly.
  (dbus-root-service-type): Add extension of ETC-SERVICE-TYPE.
2015-10-19 19:25:15 +08:00
Ludovic Courtès c6f8e9dd64 guix archive: Add '--extract'.
* guix/scripts/archive.scm (show-help, %options): Add --extract.
  (guix-archive): Honor it.
* tests/guix-archive.sh: Test it.
* doc/guix.texi (Invoking guix archive): Document it.
2015-10-19 10:10:47 +02:00
Mark H Weaver b2aab72c14 gnu: libdrm: Fix symbol check tests on mips64el and armhf.
* gnu/packages/patches/libdrm-symbol-check.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xdisorg.scm (libdrm)[source]: Add patch.
2015-10-19 00:37:53 -04:00
Ludovic Courtès 1d19bc1162 gnu: elogind: Provide the file name of 'halt' and 'reboot'.
* gnu/packages/freedesktop.scm (elogind)[inputs]: Add DMD.
2015-10-18 19:26:48 +02:00
Andreas Enge 8ca73fcee9 gnu: gnurl: Update to 7.44.0.
* gnu/packages/gnunet.scm (gnurl): Update to 7.44.0.
2015-10-18 12:10:03 +02:00
宋文武 a572dca848 gnu: gtk+: Add more inputs.
* gnu/packages/gtk.scm (gtk+)[propagated-inputs]: Add libxcursor.
  [inputs]: Add rest, json-glib and colord.
2015-10-18 15:06:12 +08:00
宋文武 80c7dd1a4e gnu: colord: Add input libgudev.
* gnu/packages/gnome.scm (colord)[inputs]: Add libgudev.
2015-10-18 13:46:22 +08:00
宋文武 4955ab7d65 gnu: json-glib: Update to 1.0.4, fix test.
* gnu/packages/gnome.scm (json-glib): Update to 1.0.4.
  [source]: Add snippet.
2015-10-18 13:30:18 +08:00
宋文武 7765bfc61f gnu: elogind: Fix build by explicitly link with librt.
* gnu/packages/freedesktop.scm (elogind)[arguments]: Pass
  'LDFLAGS=-lrt' to configure.
2015-10-18 09:31:55 +08:00
宋文武 6717c87964 gnu: python-dbus: Fix test.
* gnu/packages/python.scm (python-dbus)[arguments]: Run test with
  'DBUS_FATAL_WARNINGS=0'.
2015-10-18 08:43:40 +08:00
宋文武 406766c0d0 gnu: xfconf: Fix test.
* gnu/packages/xfce.scm (xfconf)[arguments]: Run test with
  'DBUS_FATAL_WARNINGS=0'.
2015-10-18 08:43:14 +08:00
Mark H Weaver ccb522324b Merge branch 'master' into dbus-update 2015-10-17 19:08:53 -04:00
Andreas Enge 9e2592a346 gnu: calibre: Update to 2.41.0.
* gnu/packages/ebook.scm (calibre): Update to 2.41.0.
2015-10-17 23:13:03 +02:00
Efraim Flashner 6f35d39647 gnu: youtube-dl: Update to 2015.10.16.
* gnu/packages/video.scm (youtube-dl): Update to 2015.10.16.
2015-10-18 00:01:41 +03:00
Andreas Enge ab29be81c5 gnu: ngs-sdk: Correct typo.
* gnu/packages/bioinformatics.scm (ngs-sdk): Correct typo.
2015-10-17 22:51:12 +02:00
Andreas Enge a0dadf0cb1 gnu: ngs-sdk: Remove unsupported systems.
* gnu/packages/bioinformatics.scm (ngs-sdk)[supported-systems]: Keep only x86
  based systems.
2015-10-17 22:43:14 +02:00
Efraim Flashner 830d170e97 gnu: chess: Update to 6.2.2.
* gnu/packages/games.scm (chess): Update to 6.2.2.
2015-10-17 22:46:42 +03:00
Ricardo Wurmus e591a4d6e5 gnu: non-sequencer: Disable SSE when not building on x86_64.
* gnu/packages/music.scm (non-sequencer)[arguments]: Add "--disable-sse"
  flag when not building on x86_64.
2015-10-17 19:38:46 +02:00
Federico Beffa 3dac53be01 gnu: fastcap: Remove non-free file.
* gnu/packages/engineering.scm (fastcap): Do it.
2015-10-17 18:41:22 +02:00
Federico Beffa 1f7ffd6ff7 gnu: fastcap: Fix 'fix-doc phase.
* gnu/packages/engineering.scm (fastcap): Adapt documentation generation to
  change in TeXLive 2015.
2015-10-17 18:15:42 +02:00
Alex Kost 5d86684ddf emacs: devel: Highlight Guix keywords.
* emacs/guix-devel.el (guix-devel-keywords): New constant.
  (guix-devel-font-lock-keywords): Use it.
2015-10-17 18:57:30 +03:00
Alex Kost 5e2b761e6a doc: emacs: Document "View graph" popup action.
* doc/emacs.texi (Emacs Popup Interface): Document "View graph" action.
2015-10-17 18:57:09 +03:00
Alex Kost 7c0b02f5ae emacs: Improve file names of generated graphs.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* emacs/guix-external.el (guix-png-file-name): Change prefix of a file
  name to "guix-emacs-graph-" to avoid possible conflicts.
2015-10-17 18:56:50 +03:00
Ludovic Courtès 2134228a7d gnu-maintenance: Fix file descriptor leak.
* guix/gnu-maintenance.scm (official-gnu-packages): Close the port
  returned by FETCH.
2015-10-17 14:42:07 +02:00
Ludovic Courtès 9aec35d265 gnu-maintenance: Use 'http-fetch/cached' by default.
This speeds up operations like 'guix lint -c gnu-description'.

* guix/gnu-maintenance.scm (official-gnu-packages): Add 'fetch'
  parameter and honor it.  Default to 'http-fetch/cached'.
2015-10-17 14:42:07 +02:00
Ludovic Courtès 739ab68bac http-client: Add 'http-fetch/cached'.
* guix/utils.scm (cache-directory): New procedure.
* guix/http-client.scm (%http-cache-ttl): New variable.
  (http-fetch/cached): New procedure.
2015-10-17 14:42:01 +02:00
Ludovic Courtès 34a7bfb049 install: Set the mtime in the binary tarball to 1.
Reported by anthk_ on #guix in Sept. 2015.

* gnu/system/install.scm (self-contained-tarball): Use --mtime=@1
  instead of --mtime=@0.
2015-10-17 12:20:39 +02:00
Ludovic Courtès 4375dcf36c gnu: complexity: Update to 1.3.
* gnu/packages/code.scm (complexity): Update to 1.3.
2015-10-17 12:17:02 +02:00
Ludovic Courtès 78981bb9bd file-systems: Do not truncate mount points that already exist.
Reported by David Thompson <dthompson2@worcester.edu>
at <https://lists.gnu.org/archive/html/guix-devel/2015-10/msg00284.html>.

* gnu/build/file-systems.scm (mount-file-system): When SOURCE matches
  'regular-file?', do not create MOUNT-POINT if it already exists.  This
  fixes a bug whereby we would be truncating MOUNT-POINT if it already
  existed.
2015-10-17 11:57:38 +02:00
Ludovic Courtès 0e3cc3116d syscalls: Fix ABI mismatch for 'clone'.
Fixes <http://bugs.gnu.org/21694>.

* guix/build/syscalls.scm (clone): Change 'syscall' parameter types to
  LONG, UNSIGNED-LONG, or '*; make sure it has 6 parameters.  Adjust
  caller accordingly.
2015-10-17 11:53:25 +02:00
宋文武 5fba12ecd3 gnu: at-spi2-atk: Fix test.
* gnu/packages/gtk.scm (at-spi2-atk)[arguments]: Run test with
  'DBUS_FATAL_WARNINGS=0'.
2015-10-17 17:52:54 +08:00
宋文武 9b0bbb4767 gnu: graphite2: Update to 1.3.3.
* gnu/packages/fontutils.scm (graphite2): Update to 1.3.3.
2015-10-17 15:31:20 +08:00
宋文武 8ce36e81c2 gnu: freeglut: Update to 3.0.0.
* gnu/packages/gl.scm (freeglut): Update to 3.0.0.
2015-10-17 14:48:02 +08:00
宋文武 ecd9c37f1f gnu: cmake: Update to 3.3.2.
* gnu/packages/cmake.scm (cmake): Update to 3.3.2.
2015-10-17 14:47:28 +08:00
宋文武 d18c3c646c gnu: mesa: Update to 11.0.3.
* gnu/packages/gl.scm (mesa): Update to 11.0.3.
2015-10-17 13:24:47 +08:00
宋文武 3b54548f03 gnu: libdrm: Update to 2.4.65.
* gnu/packages/xdisorg.scm (libdrm): Update to 2.4.65.
2015-10-17 11:39:56 +08:00
宋文武 381d3400b1 gnu: libpciaccess: Update to 0.13.4.
* gnu/packages/xorg.scm (libpciaccess): Update to 0.13.4.
2015-10-17 11:39:03 +08:00
宋文武 6410d25700 gnu: libva: Update to 1.6.1.
* gnu/packages/video.scm (libva): Update to 1.6.1.
2015-10-17 11:27:19 +08:00
宋文武 fd730590b6 gnu: libsoup: Update to 2.52.1, enable vala bindings.
* gnu/packages/gnome.scm (vala): Update to 2.52.1.
  [native-inputs]: Add vala.
  [arguments]: Pass vapidir=$out/share/vala/vapi in the 'install' phase.
2015-10-17 11:09:03 +08:00
宋文武 aa8789c012 gnu: glib-networking: Update to 2.46.1.
* gnu/packages/gnome.scm (glib-networking): Update to 2.46.1.
2015-10-17 10:51:20 +08:00
宋文武 3e429a86a9 gnu: gsettings-desktop-schemas: Update to 3.18.0.
* gnu/packages/gnome.scm (gsettings-desktop-schemas): Update to 3.18.0.
2015-10-17 10:50:46 +08:00
宋文武 f4925a4fb8 gnu: vala: Update to 0.30.0.
* gnu/packages/gnome.scm (vala): Update to 0.30.0.
  [arguments]: Run tests with "DBUS_FATAL_WARNINGS=0'.
2015-10-17 10:48:52 +08:00
宋文武 5f37e56ba4 gnu: librsvg: Fix tests.
GLib doesn't allow duplicate test case paths any more.

* gnu/packages/patches/librsvg-tests.patch: New file.
* gnu/packages/gnome.scm (librsvg)[source]: Add patch.
* gnu-system.am (dist_patch_DATA): Add it.
2015-10-17 10:30:25 +08:00
Andreas Enge d82633d06a gnu: mutt: Update to 1.5.24.
* gnu/packages/patches/mutt-CVE-2014-9116.patch: Delete file.
* gnu/packages/mail.scm (mutt): Update to 1.5.24.
  [source]: Update and remove patch.
* gnu-system.am (dist_patch_DATA): Unregister removed patch.
2015-10-16 22:58:07 +02:00
xd1le 1268e52d5d gnu: Add bspwm.
* gnu/packages/wm.scm (bspwm): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-10-16 19:54:42 +03:00
xd1le 998b8c07b8 gnu: Add sxhkd.
* gnu/packages/xdisorg.scm (sxhkd): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-10-16 19:54:42 +03:00
宋文武 f43c0e9c44 gnu: librsvg: Update to 2.40.11.
* gnu/packages/gnome.scm (librsvg): Update to 2.40.11.
2015-10-16 23:04:33 +08:00
Alex Kost 727495757f emacs: Add "View graph" actions to system graph commands.
* emacs/guix-command.el (guix-command-additional-execute-arguments,
  guix-command-special-executors): Add "View graph" actions for
  'dmd-graph' and 'extension-graph' commands.
2015-10-16 17:24:13 +03:00
宋文武 3ad29c9ef5 gnu: gtkmm-2: Fix build by passing '-std=c++11'.
* gnu/packages/gtk.scm (gtkmm-2)[arguments]: Pass '-std=c++11' as
  CPPFLAGS.
2015-10-16 22:19:20 +08:00
Alex Kost e0c5309a83 emacs: Disambiguate "d" key in 'system' popup.
* emacs/guix-command.el (guix-command-improve-system-argument): Use "D"
  key for 'disk-image' action (leave "d" for 'dmd-graph').
2015-10-16 17:14:57 +03:00
Alex Kost b1b53df382 emacs: init: Add "share/emacs/site-lisp" to 'load-path'.
Fixes a regression introduced in 7741139080.

Reported by Ludovic Courtès <ludo@gnu.org>.

Not all emacs packages have "...-autoloads.el" files, so there is a
chance that "~/.guix-profile/share/emacs/site-lisp" will not be added to
'load-path', so add it unconditionally.

* emacs/guix-init.el: Add guix emacs directory to 'load-path'.  Move
  requiring 'guix-emacs' to the top-level.
2015-10-16 17:14:57 +03:00
宋文武 e75230c1b7 gnu: eudev: Update to 3.1.5.
* gnu/packages/linux.scm (eudev): Update to 3.1.5.
* gnu/packages/patches/eudev-rules-directory.patch: Adapt to it.
2015-10-16 21:13:02 +08:00
宋文武 37fe56cff6 gnu: at-spi2-core: Fix test failure.
* gnu/packages/gtk.scm (at-spi2-core)[arguments]: Run test with
  'DBUS_FATAL_WARNINGS=0'.
2015-10-16 21:07:48 +08:00
Ludovic Courtès 4af7c83bc7 system: Define 'GST_PLUGIN_PATH' in /etc/profile.
* gnu/system.scm (operating-system-etc-service)[profile]: Add
  'GST_PLUGIN_PATH' definition.
2015-10-15 23:11:29 +02:00
Ludovic Courtès 3d2a9c8c8e doc: Regenerate 'guix graph' examples.
* doc/images/coreutils-bag-graph.dot, doc/images/coreutils-graph.dot:
  Regenerate from current packages.  This removes the weird dependency
  on 'sed'.
2015-10-15 23:11:29 +02:00
Ludovic Courtès d96034ed69 gnu: Add python-libarchive-c.
* gnu/packages/python.scm (python-libarchive-c, python2-libarchive-c):
  New variables.
2015-10-15 23:11:29 +02:00
Ludovic Courtès d8c4998fd4 gnu: Add python-tlsh.
* gnu/packages/python.scm (python-tlsh, python2-tlsh): New variable.
2015-10-15 23:11:29 +02:00
宋文武 aa382d7e46 gnu: gtkmm: Update to 3.18.0.
* gnu/packages/gtk.scm (gtkmm): Update to 3.18.0.
2015-10-15 23:42:16 +08:00
宋文武 b172ea003f gnu: atkmm: Update to 2.24.1.
* gnu/packages/gtk.scm (atkmm): Update to 2.24.1.
2015-10-15 23:42:16 +08:00
宋文武 256da71fb1 gnu: pangomm: Update to 2.38.1.
* gnu/packages/gtk.scm (pangomm): Update to 2.38.1.
2015-10-15 23:42:15 +08:00
宋文武 2079087ccc gnu: cairomm: Update to 1.12.0.
* gnu/packages/gtk.scm (cairomm): Update to 1.12.0.
  [source]: Change to "mirror://gnome/".
2015-10-15 23:42:15 +08:00
宋文武 9fe2e17dd1 gnu: gtk+: Update to 3.18.2.
* gnu/packages/gtk.scm (gtk+): Update to 3.18.2.
2015-10-15 23:42:15 +08:00
宋文武 9fbfb4ecb0 gnu: at-spi2-atk: Update to 2.18.1.
* gnu/packages/gtk.scm (at-spi2-atk): Update to 2.18.1.
2015-10-15 23:42:15 +08:00
宋文武 f14c0a49a7 gnu: at-spi2-core: Update to 2.18.1.
* gnu/packages/gtk.scm (at-spi2-core): Update to 2.18.1.
2015-10-15 23:42:15 +08:00
宋文武 e945787829 gnu: pango: Update to 1.38.1.
* gnu/packages/gtk.scm (pango): Update to 1.38.1.
2015-10-15 23:42:15 +08:00
宋文武 7a2c7808d0 gnu: harfbuzz: Update to 1.0.5.
* gnu/packages/gtk.scm (harfbuzz): Update to 1.0.5.
2015-10-15 23:42:15 +08:00
宋文武 492b0e383b gnu: atk: Update to 2.18.0.
* gnu/packages/gtk.scm (atk): Update to 2.18.0.
2015-10-15 23:42:14 +08:00
宋文武 7363cda42d gnu: poppler: Update to 0.37.0.
* gnu/packages/pdf.scm (poppler): Update to 0.37.0.
2015-10-15 23:42:14 +08:00
宋文武 13ddcf404b gnu: python-pygobject: Update to 3.18.0.
* gnu/packages/glib.scm (python-pygobject): Update to 3.18.0.
2015-10-15 23:42:14 +08:00
宋文武 9b4613d2ad gnu: glibmm: Update to 2.46.1.
* gnu/packages/glib.scm (glibmm): Update to 2.46.1.
2015-10-15 23:42:14 +08:00
宋文武 93d809b0df gnu: libsigc++: Update to 2.6.1.
* gnu/packages/glib.scm (libsigc++): Update to 2.6.1.
2015-10-15 23:42:14 +08:00
宋文武 fa09ebfa0e gnu: intltool: Update to 0.51.0.
* gnu/packages/glib.scm (intltool): Update to 0.51.0.
2015-10-15 23:42:14 +08:00
宋文武 ed89d90117 gnu: gobject-introspection: Update to 1.46.0.
* gnu/packages/glib.scm (gobject-introspection): Update to 1.46.0.
  [source]: Add a snippet to correct python shebang.
2015-10-15 23:42:14 +08:00
宋文武 3c19c6a4d3 gnu: glib: Update to 2.46.1.
* gnu/packages/glib.scm (glib): Update to 2.46.1.
2015-10-15 23:42:13 +08:00
Ben Woodcroft 07f61cb242 gnu: Add ruby-yard.
* gnu/packages/ruby.scm (ruby-yard): New variable.
2015-10-15 12:21:50 +02:00
Ben Woodcroft 5ac984b3d5 gnu: Add ruby-rspec-2.
* gnu/packages/ruby.scm (ruby-rspec-2): New variable.
2015-10-15 12:21:36 +02:00
Ben Woodcroft 6da9adebaa gnu: Add ruby-rspec-mocks-2.
* gnu/packages/ruby.scm (ruby-rspec-mocks-2): New variable.
2015-10-15 12:20:49 +02:00
Ben Woodcroft fb157f2507 gnu: Add ruby-rspec-expectations-2.
* gnu/packages/ruby.scm (ruby-rspec-expectations-2): New variable.
2015-10-15 12:20:02 +02:00
Ben Woodcroft 64c318f2a4 gnu: Add ruby-rspec-core-2.
* gnu/packages/ruby.scm (ruby-rspec-core-2): New variable.
2015-10-15 12:19:29 +02:00
Ricardo Wurmus 4f9ff21ea0 gnu: python-scipy: Add phase to fix tests.
* gnu/packages/python.scm (python-scipy)[arguments]: Add build phase
  "fix-tests".
2015-10-15 12:05:10 +02:00
Ricardo Wurmus 5248d49e41 gnu: python-scipy: Add numpydoc to native-inputs.
* gnu/packages/python.scm (python-numpydoc)[native-inputs]: Add
  python-numpydoc.
2015-10-15 12:05:09 +02:00
Ludovic Courtès 5f44ee4fa0 services: Unmount user file systems after process termination.
* gnu/services/base.scm (user-unmount-service-type): Change label and
  dmd name to 'user-file-systems'.
  (user-processes-service-type)[requirement]: Add 'user-file-systems'.
2015-10-14 21:39:06 +02:00
Ludovic Courtès 6f305ea5fd guix system: Add 'dmd-graph' command.
* guix/scripts/system.scm (dmd-service-node-label,
  dmd-service-node-type, export-dmd-graph): New procedures.
  (show-help): Add 'dmd-graph'.
  (guix-system)[parse-sub-command]: Likewise.
  Honor it.
* doc/guix.texi (Invoking guix system): Document it.
  (dmd Services): Add an illustration and explanation.
* doc/images/dmd-graph.dot: New file.
* doc.am (DOT_FILES): Add it.
2015-10-14 21:39:06 +02:00
Ludovic Courtès 80a6773483 services: Add 'dmd-service-back-edges'.
* gnu/services/dmd.scm (dmd-service-back-edges): New procedure.
* tests/services.scm ("dmd-service-back-edges"): New test.
2015-10-14 21:39:06 +02:00
Ludovic Courtès c5d735f798 services: Prefix <dmd-service> accessors with 'dmd-'.
* gnu/services/dmd.scm (<dmd-service>): Prefix accessor identifiers with
  'dmd-', as was intended.  Update users accordingly.
2015-10-14 21:39:06 +02:00
Ludovic Courtès d6c3267a32 guix system: Add 'extension-graph' command.
* guix/scripts/system.scm (service-node-label, service-node-type,
  export-extension-graph): New procedures.
  (guix-system)[parse-sub-command]: Add 'extension-graph'.
  Honor it.
  (show-help): Add 'extension-graph'.
* doc/guix.texi (Invoking guix system): Document it.
  (Service Composition): Add cross-reference.
2015-10-14 21:39:05 +02:00
Ludovic Courtès a64cd7b65f graph: 'export-graph' takes a #:reverse-edges? parameter.
* guix/scripts/graph.scm (export-graph): Add #:reverse-edges? parameter
  and honor it.
2015-10-14 21:39:05 +02:00
Ludovic Courtès 00184239c3 services: 'dmd-service-type' takes a service name.
* gnu/services/dmd.scm (dmd-service-type): Add 'service-name'
  parameter.
* gnu/services/base.scm, gnu/services/networking.scm,
  gnu/system/install.scm: Adjust callers.
2015-10-14 21:39:05 +02:00
Ludovic Courtès 5152d13b51 services: Export 'service-back-edges'.
* gnu/services.scm: Export 'service-back-edges' and <service-type>
  accessors.
* tests/services.scm ("service-back-edges"): New test.
2015-10-14 21:39:05 +02:00
Ludovic Courtès 87cd0dba2f build-system/gnu: dist-package: Use 'autoconf-wrapper'.
* guix/build-system/gnu.scm (dist-package): Use AUTOCONF-WRAPPER instead
  of AUTOCONF.
2015-10-14 21:39:05 +02:00
Ludovic Courtès a6785b96ff hydra: Add Graphviz and help2man as inputs to the Guix job set.
* build-aux/hydra/guix.scm (tarball-package): Add GRAPHVIZ and HELP2MAN
  to 'native-inputs' of GUIX.
2015-10-14 21:39:05 +02:00
Ben Woodcroft d9c44e9c6a gnu: diamond: Restrict supported systems to x86_64-linux.
* gnu/packages/bioinformatics.scm (diamond) [supported-systems]: Restrict to
  x86_64-linux.
2015-10-14 20:02:25 +03:00
Alex Kost 6159943851 gnu: abbaye: Use 'sdl-union'.
* gnu/packages/games.scm (abbaye)[inputs]: Use 'sdl-union'.
  [arguments]: Adjust 'set-sdl-paths' phase accordingly.
2015-10-14 19:20:59 +03:00
Alex Kost 17fa842b79 emacs: devel: Add indentation rules.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* emacs/guix-devel.el: Add indentation rules for Guix macros/procedures.
  (guix-devel-scheme-indent): New macro.
  (guix-devel-indent-package): New function.
2015-10-14 19:20:28 +03:00
宋文武 1c255eeec9 gnu: Remove dbus-localstatedir.patch.
This is a followup to 25087f.

* gnu/packages/patches/dbus-localstatedir.patch: Remove file.
2015-10-14 21:42:07 +08:00
宋文武 25087f60b6 gnu: dbus: Drop patch.
* gnu/packges/patches/dbus-localstatedir.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/glib.scm (dbus): Remove patch.
  [argumests]: Remove 'post-install' phase.  Don't create
  localestatedir and sysconfdir in the 'install' phase.
2015-10-14 21:25:33 +08:00
Ludovic Courtès 53b5856ac1 gnu: glib: Update to 2.46.0.
* gnu/packages/glib.scm (glib): Update to 2.46.0.
* gnu/packages/patches/glib-tests-desktop.patch: Add hunk to disable
  'gdbus-unix-addresses' test.
2015-10-14 14:41:26 +02:00
Ludovic Courtès bbe04ae102 gnu: dbus: Update to 1.10.0.
* gnu/packages/glib.scm (dbus)[source]: Update to 1.10.0.
  [arguments]: Add --sysconfdir=/etc.
* gnu/packages/patches/dbus-localstatedir.patch: Update.
2015-10-14 14:41:26 +02:00
Mark H Weaver 9f7ae77fe2 gnu: icecat: Update to 38.3.0-gnu1.
* gnu/packages/patches/icecat-CVE-2015-4473-partial.patch,
  gnu/packages/patches/icecat-CVE-2015-4482.patch,
  gnu/packages/patches/icecat-CVE-2015-4488.patch,
  gnu/packages/patches/icecat-CVE-2015-4489.patch,
  gnu/packages/patches/icecat-CVE-2015-4491.patch,
  gnu/packages/patches/icecat-CVE-2015-4492.patch,
  gnu/packages/patches/icecat-CVE-2015-4495.patch,
  gnu/packages/patches/icecat-enable-acceleration-and-webgl.patch,
  gnu/packages/patches/icecat-libvpx-1.4.patch: Delete files.
* gnu/packages/patches/icecat-avoid-bundled-includes.patch: New file.
* gnu-system.am (dist_patch_DATA): Add new patch.  Remove the deleted ones.
* gnu/packages/gnuzilla.scm (icecat): Update to 38.3.0-gnu1.
  [source]: Add new patch.  Remove the deleted ones.
  [inputs]: Add libxcomposite.
  [arguments]: Add 'ensure-no-mtimes-pre-1980' phase.  Adapt
  'remove-h264parse-from-blacklist' and
  'arrange-to-link-libxul-with-libraries-it-might-dlopen' phases to the
  new version.
2015-10-14 01:41:56 -04:00
Alex Kost 837294b7a4 gnu: geiser: Update to 0.8.1.
* gnu/packages/emacs.scm (geiser): Update to 0.8.1.
2015-10-13 22:30:07 +03:00
Ricardo Wurmus 5ff6575b08 gnu: python-rpy2: Add "zlib" to native-inputs.
* gnu/packages/python.scm (python-rpy2)[native-inputs]: Add "zlib".
2015-10-13 17:36:47 +02:00
Ricardo Wurmus ba8a082493 gnu: python-scipy, python2-scipy: Update to 0.16.0.
* gnu/packages/python.scm (python-scipy, python2-scipy): Update to
  0.16.0.
2015-10-13 16:36:40 +02:00
Ricardo Wurmus dd86c0d10c gnu: python-scipy, python2-scipy: Propagate Python inputs.
* gnu/packages/python.scm (python-scipy)[inputs]: Move "python-numpy",
  "python-matplotlib", and "python-pyparsing" to propagated-inputs; move
  "python-nose" and "python-sphinx" to native-inputs.
  [propagated-inputs]: New field.
  [native-inputs]: Move "python-nose" and "python-sphinx" from inputs
  field here.
  (python2-scipy): Modify propagated-inputs instead of inputs field.
2015-10-13 16:35:48 +02:00
Ricardo Wurmus 331a1cd727 gnu: icedtea6: Update to 1.13.8.
* gnu/packages/java.scm (icedtea6): Update to 1.13.8.
2015-10-13 13:45:51 +02:00
Ricardo Wurmus d4bf4c8f3e gnu: icedtea6: Replace "ant-bootstrap" with "ant".
* gnu/packages/java.scm (icedtea6)[native-inputs]: Replace
  "ant-bootstrap" with "ant".
  [arguments]: Remove steps to unpack and use "ant-bootstrap".
  (icedtea7)[native-inputs]: Remove explicit references to
  "ant-bootstrap" and "ant".
2015-10-13 13:45:51 +02:00
Ricardo Wurmus 60eb5614d1 gnu: ant: Build with GCJ.
* gnu/packages/java.scm (ant)[native-inputs]: Replace "icedtea6" with
  "gcj".
2015-10-13 13:45:51 +02:00
Ricardo Wurmus 397dbde8ff gnu: gcj-4.8, gcj: Update to default GCC version.
* gnu/packages/gcc.scm (gcj-4.8): Inherit from "gcc" package and rename
  variable to...
  (gcj): ...this new variable.
  (ecj-bootstrap-4.8): Rename variable to...
  (ecj-bootstrap): ...this, updating to version 4.9.
* gnu/packages/java.scm (icedtea6)[native-inputs]: Replace "gcj-4.8"
  with "gcj".
* gnu/packages/music.scm (tuxguitar)[native-inputs]: Likewise.
2015-10-13 13:45:51 +02:00
Alex Kost aec05972ce gnu: abbaye: Use 'modify-phases'.
* gnu/packages/games.scm (abbaye)[arguments]: Use 'modify-phases'.
2015-10-13 13:29:11 +03:00
Alex Kost 2e2ed3cbf9 gnu: Add manaplus.
* gnu/packages/games.scm (manaplus): New variable.
2015-10-13 13:29:11 +03:00
Ludovic Courtès b3e2a5af9f build-system/python: Memoize the results of 'package-with-python2'.
Fixes <http://bugs.gnu.org/21675>.
Reported by Cyril Roelandt <tipecaml@gmail.com>.

Before this change, the command:

  guix build python2-oslo.utils -n --no-substitutes

would take 17.5s.  After, it is down to 2.9s.
Likewise, the command:

  guix graph python2-bandit | grep python2-setuptools.*Helve| wc -l

would return 412 nodes before, all functionally equivalent, and returns
a single one now.

* guix/build-system/python.scm (package-with-explicit-python): Remove
  'p' parameter.  Change to return a one-argument memoizing procedure.
  (package-with-python2): Adjust accordingly.
2015-10-13 00:06:11 +02:00
Ludovic Courtès c80f1559eb hydra: Update demo OS to new service interface.
* build-aux/hydra/demo-os.scm: Import (gnu services dbus); remove
  arguments to 'dbus-service'.
2015-10-13 00:06:11 +02:00
Ludovic Courtès cc9c1f3935 doc: Update "Name Service Switch" to new service framework.
* gnu/services/avahi.scm (avahi-service): Mention the extension of
  nscd.
* doc/guix.texi (Networking Services): Update accordingly.
  (Name Service Switch): Remove '%my-base-services' example and
  explanation.
2015-10-13 00:06:11 +02:00
David Thompson 92e75d1e9a gnu: geiser: Update to 0.8.
* gnu/packages/emacs.scm (geiser): Update to 0.8.
2015-10-12 16:46:54 -04:00
Ludovic Courtès adc90e0eac Merge branch 'core-updates' 2015-10-12 21:42:06 +02:00
Ricardo Wurmus a8bc747ae1 gnu: lilypond: Hardcode path to "gs" executable.
* gnu/packages/music.scm (lilypond)[arguments]: Add build phase
  "hardcode-path-to-gs".
2015-10-12 21:31:54 +02:00
Ricardo Wurmus 2b10eb489c gnu: Add python-traitlets.
* gnu/packages/python.scm (python-traitlets, python2-traitlets): New
  variables.
2015-10-12 16:08:18 +02:00
Ricardo Wurmus ddc7d8ed18 gnu: Add python-ipython-genutils.
* gnu/packages/python.scm (python-ipython-genutils,
  python2-ipython-genutils): New variables.
2015-10-12 16:08:18 +02:00
Ricardo Wurmus cd6e5189c8 gnu: Add python-simplegeneric.
* gnu/packages/python.scm (python-simplegeneric, python2-simplegeneric):
  New variables.
2015-10-12 16:08:18 +02:00
Ricardo Wurmus 0d34e01b62 gnu: Add python-pickleshare.
* gnu/packages/python.scm (python-pickleshare, python2-pickleshare): New
  variables.
2015-10-12 16:08:18 +02:00
Ricardo Wurmus b74270eedb gnu: Add python-pathpy.
* gnu/packages/python.scm (python-pathpy, python2-pathpy): New
  variables.
2015-10-12 16:08:18 +02:00
Ricardo Wurmus 6784f2e3fe gnu: Add python-pytest-runner.
* gnu/packages/python.scm (python-pytest-runner, python2-pytest-runner):
  New variables.
2015-10-12 16:08:18 +02:00
Ricardo Wurmus 229ad120d4 gnu: Add python-setuptools-scm.
* gnu/packages/python.scm (python-setuptools-scm,
  python2-setuptools-scm): New variables.
2015-10-12 16:08:18 +02:00
Ricardo Wurmus cb6d5c5468 gnu: Add python-pexpect.
* gnu/packages/python.scm (python-pexpect, python2-pexpect): New
  variables.
2015-10-12 16:08:18 +02:00
Ricardo Wurmus db94f8c734 gnu: bwa: Disable on non-x86_64.
* gnu/packages/bioinformatics.scm (bwa)[supported-systems]: Add field.
2015-10-12 15:50:33 +02:00
Alex Kost 40e94665d4 gnu: sdl-union: Wrap into a procedure and export it.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* gnu/packages/sdl.scm (sdl-union): Make it a procedure returning
  'sdl-union' package.
  (guile-sdl): Use it.
2015-10-12 11:31:01 +03:00
Alex Kost 0f6139b1b5 gnu: Add physfs.
* gnu/packages/game-development.scm (physfs): New variable.
2015-10-12 11:00:59 +03:00
Alex Kost ad8b83bda0 emacs: Add 'guix-devel-build-package-source'.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* guix/scripts.scm (build-package-source): New procedure.
* emacs/guix-devel.el (guix-devel-build-package-source): New command.
  (guix-devel-keys-map): Add key binding for it.
* doc/emacs.texi (Emacs Development): Document it.
2015-10-12 10:59:31 +03:00
Christopher Allan Webber 9d373377c9 gnu: guile: Add guile-wisp.
* gnu/packages/guile.scm (guile-wisp): New variable.
2015-10-11 21:30:12 -04:00
Ludovic Courtès 7f39e181df services: polkit: Use the right executable name for PAM.
* gnu/services/desktop.scm (%polkit-pam-services): Change "polkit-1" to
  "polkitd", which is the actual name of the executable.
2015-10-11 22:28:10 +02:00
Ludovic Courtès 2da4f2dd8e services: upower: Remove unused "upower" account.
* gnu/services/desktop.scm (%upower-accounts): Remove.
  (%upower-activation): Remove references to the "upower" account.
  (upower-service-type): Remove extension of ACCOUNT-SERVICE-TYPE.
2015-10-11 22:28:10 +02:00
Ricardo Wurmus c23c50c734 gnu: Add MARS.
* gnu/packages/games.scm (mars): New variable.
* gnu/packages/patches/mars-install.patch: New file.
* gnu/packages/patches/mars-sfml-2.3.patch: New file.
* gnu-system.am (dist_patch_DATA): Add them.
2015-10-11 15:52:59 +02:00
Alex Kost eb52419266 doc: Fix typo.
* doc/guix.texi (Defining Services): Fix typo.
2015-10-11 12:18:54 +03:00
宋文武 f18bd3f64c gnu: wicd: Install 'index.theme' file in the right place.
This is a followup to 800d8d.

* gnu/packages/wicd.scm (wicd)[arguments]: Install a copy of 'index.theme'
  from 'hicolor-icon-theme' into $out/share/icons/hicolor.
2015-10-11 09:56:56 +08:00
Mark H Weaver ed01970389 gnu: gnupg: Update to 2.1.9.
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.9.
2015-10-10 17:17:16 -04:00
Ludovic Courtès 0adfe95a3e services: Introduce extensible services.
This patch rewrites GuixSD services to make them extensible.

* gnu-system.am (GNU_SYSTEM_MODULES): Add gnu/services/dbus.scm.
* gnu/services.scm (<service>): Replace with new record type.
  (<service-extension>, <service-type>): New record types.
  (write-service-type, compute-boot-script, second-argument): New
  procedures.
  (%boot-service, boot-service-type): New variables.
  (file-union, directory-union, modprobe-wrapper,
  activation-service->script, activation-script,
  gexps->activation-gexp): New procedures.
  (activation-service-type, %activation-service): New variables.
  (etc-directory, files->etc-directory, etc-service): New procedures.
  (etc-service-type, setuid-program-service, firmware-service-type): New
  variables.
  (firmware->activation-gexp): New procedure.
  (&service-error, &missing-target-service-error,
  &ambiguous-target-service-error): New condition types.
  (service-back-edges, fold-services): New procedures.
* gnu/services/avahi.scm (<avahi-configuration>): New record type.
  (configuration-file): Replace keyword parameters with a single
  'config' parameter.
  (%avahi-accounts, %avahi-activation, avahi-service-type): New
  variables.
  (avahi-dmd-service): New procedure.
  (avahi-service): Rewrite using 'service' and 'avahi-configuration'.
* gnu/services/base.scm (%root-file-system-dmd-service,
  root-file-system-service-type): New variables.
  (root-file-system-service): Use them.
  (file-system->dmd-service-name): New procedure.
  (file-system-service-type): New variable.
  (file-system-service): Use it.  Replace keyword parameters with a
  single 'file-system' object.
  (user-unmount-service-type): New variable.
  (user-unmount-service): Use it.
  (user-processes-service-type): New variable.
  (user-processes-service): Use it.
  (host-name-service-type): New variable.
  (host-name-service): Use it.
  (console-keymap-service-type): New variable.
  (console-keymap-service): Use it.
  (console-font-service-type): New variable.
  (console-font-service): Use it.
  (mingetty-pam-service, mingetty-dmd-service): New procedures.
  (mingetty-service-type): New variable.
  (mingetty-service): Use it.
  (nscd-dmd-service): New procedure.
  (nscd-activation, nscd-service-type): New variables.
  (nscd-service): Use the latter.
  (syslog-service-type): New variable.
  (syslog-service): Use it.
  (<guix-configuration>): New record type.
  (%default-guix-configuration): New variable.
  (guix-dmd-service, guix-accounts, guix-activation): New procedures.
  (guix-service-type): New variable.
  (guix-service): Replace list of keyword parameters with a single
  'config' parameter.  Rewrite using 'service'.
  (<udev-configuration>): New record type.
  (udev-dmd-service): New procedure.
  (udev-service-type): New variable.
  (udev-service): Use it.
  (device-mapping-service-type): New variable.
  (device-mapping-service): Use it.
  (swap-service-type): New variable.
  (swap-service): Use it.
* gnu/services/databases.scm (<postgresql-configuration>): New record
  type.
  (%postgresql-accounts, postgresql-activation): New variables.
  (postgresql-dmd-service): New procedure.
  (postgresql-service): Rewrite using 'service' and
  'postgresql-configuration'.
* gnu/services/dbus.scm: New file.
* gnu/services/desktop.scm (dbus-configuration-directory, dbus-service):
  Remove.
  (wrapped-dbus-service): New procedure.
  (<upower-configuration>): New record type.
  (upower-configuration-file): Replace keyword parameters with single
  <upower-configuration> parameter.
  (%upower-accounts, %upower-activation): New variables.
  (upower-dbus-service, upower-dmd-service): New procedures.
  (upower-service-type): New variable.
  (upower-service): Rewrite using 'service' and 'upower-configuration'.
  (%colord-activation, %colord-accounts): New variables.
  (colord-dmd-service): New procedure.
  (colord-service-type): New variable.
  (colord-service): Rewrite using 'service'.
  (<geoclue-configuration>): New record type.
  (geoclue-configuration-file): Replace keyword parameters with a single
  'config' parameter.
  (geoclue-dbus-service, geoclue-dmd-service): New procedures.
  (%geoclue-accounts, geoclue-service-type): New variables.
  (geoclue-service): Rewrite using 'service' and
  'geoclue-configuration'.
  (%polkit-accounts, %polkit-pam-services, polkit-service-type): New
  variables.
  (polkit-dmd-service): New procedure.
  (polkit-service): Rewrite using 'service'.
  (<elogind-configuration>)[elogind]: New field.
  (elogind-dmd-service): New procedure.
  (elogind-service-type): New variable.
  (elogind-service): Rewrite using 'service'.
  (%desktop-services): Remove argument to 'dbus-service'.  Remove 'map'
  over %BASE-SERVICES.
* gnu/services/dmd.scm (dmd-boot-gexp): New procedure.
  (dmd-root-service-type, %dmd-root-service): New variables.
  (dmd-service-type): New macro.
  (<dmd-service>): New record type.
* gnu/services/lirc.scm (<lirc-configuration>): New record type.
  (%lirc-activation): New variable.
  (lirc-dmd-service): New procedure.
  (lirc-service-type): New variable.
  (lirc-service): Rewrite using 'service' and 'lirc-configuration'.
* gnu/services/networking.scm (<static-networking>): New record type.
  (static-networking-service-type): New variable.
  (static-networking-service): Rewrite using 'service' and
  'static-networking'.
  (dhcp-client-service-type): New variable.
  (dhcp-client-service): Rewrite using 'service'.
  (<ntp-configuration>): New record type.
  (ntp-dmd-service): New procedure.
  (ntp-service-type): New variable.
  (ntp-service): New procedure.
  (%tor-accounts, tor-service-type): New variable.
  (tor-dmd-service): New procedure.
  (tor-service): Rewrite using 'service'.
  (<bitlbee-configuration>): New record type.
  (bitlbee-dmd-service): New procedure.
  (%bitlbee-accounts, %bitlbee-activation, bitlbee-service-type): New
  variables.
  (bitlbee-service): Rewrite using 'service'.
  (%wicd-activation): New variable.
  (wicd-dmd-service): New procedure.
  (wicd-service-type): New variable.
  (wicd-service): Rewrite using 'service'.
* gnu/services/ssh.scm (<lsh-configuration>): New record type.
  (activation): Rename to...
  (lsh-initialization): ... this.
  (lsh-activation, lsh-dmd-service, lsh-pam-services): New procedures.
  (lsh-service-type): New variable.
  (lsh-service): Rewrite using 'service' and 'lsh-configuration'.
* gnu/services/web.scm (<nginx-configuration>): New record type.
  (%nginx-accounts): New variable.
  (nginx-activation, nginx-dmd-service): New procedures.
  (nginx-service-type): New variable.
  (nginx-service): Rewrite using 'service' and 'nginx-configuration'.
* gnu/services/xorg.scm (<slim-configuration>): New record type.
  (slim-pam-service, slim-dmd-service): New procedures.
  (slim-service-type): New variable.
  (slim-service): Rewrite using 'service' and 'slim-configuration'.
* gnu/system.scm (file-union): Remove.
  (other-file-system-services): Adjust to new 'file-system-service'
  signature.
  (essential-services): Add #:container? parameter.  Add
  %DMD-ROOT-SERVICE, %ACTIVATION-SERVICE, and calls to
  'pam-root-service', 'account-service', 'operating-system-etc-service',
  and a SETUID-PROGRAM-SERVICE instance.
  (operating-system-services): Pass #:container? to 'essential-services.
  (etc-directory): Remove.
  (operating-system-etc-service): New procedure.  Rewrite as a call to
  'etc-service'.
  (operating-system-accounts): Change to not return accounts required by
  services.
  (operating-system-etc-directory): Rewrite as a call to 'fold-services'
  and 'etc-directory'.
  (user-group->gexp, user-account->gexp, modprobe-wrapper): Remove.
  (operating-system-activation-script): Rewrite as a call to
  'fold-services' and 'activation-service->script'.
  (operating-system-boot-script): Likewise.
  (operating-system-derivation): Add call to 'lower-object'.
  (emacs-site-file, emacs-site-directory, shells-file): Change to use
  'computed-file' and 'scheme-file' instead of the monadic procedures.
* gnu/system/install.scm (cow-store-service-type): New variable.
  (cow-store-service): Rewrite using 'service'.
  (/etc/configuration-files): New procedure.
  (configuration-template-service-type,
  %configuration-template-service): New variables.
  (configuration-template-service): Remove.
  (installation-services): Adjust accordingly.  Adjust argument to
  'guix-service'.
* gnu/system/linux.scm (/etc-entry, pam-root-service): New procedures.
  (pam-root-service-type): New variable.
* gnu/system/shadow.scm (user-group->gexp, user-account->gexp,
  account-activation, etc-skel, account-service): New procedures.
  (account-service-type): New variable.
* tests/services.scm: New file.
* doc/guix.texi (Base Services, Desktop Services): Adjust accordingly.
  (Defining Services): Rewrite.
* doc/images/service-graph.dot: New file.
* doc.am (DOT_FILES): Add it.
* po/guix/POTFILES.in: Add gnu/services.scm.
2015-10-10 22:55:15 +02:00
Ludovic Courtès e79467f63a system: Account skeleton API is non-monadic.
* gnu/system/shadow.scm (default-skeletons): Use the non-monadic
  procedures and turn into a regular procedure.
  (skeleton-directory): Likewise.
* gnu/system.scm (etc-directory): Adjust accordingly.
2015-10-10 22:46:15 +02:00
Ludovic Courtès f3f427c2e9 guix system: Add '--derivation'.
* guix/scripts/system.scm (perform-action): Add #:derivations-only?
  parameter and honor it.
  (show-help, %options): Add '--derivation'.
  (guix-system): Pass #:derivations-only? to 'perform-action'.
* tests/guix-system.sh: Test it.
* doc/guix.texi (Invoking guix system): Document it.
2015-10-10 22:46:15 +02:00
Ludovic Courtès 23afe939a2 system: pam: Use 'computed-file' instead of 'gexp->derivation'.
* gnu/system/linux.scm (pam-service->configuration): Use 'computed-file'
  instead of 'gexp->derivation'.
  (pam-services->directory): Likewise.
* gnu/system.scm (etc-directory): Adjust accordingly.
2015-10-10 22:46:15 +02:00
Ludovic Courtès e1c153e0ab gexp: Add 'scheme-file'.
* guix/gexp.scm (<scheme-file>): New record type.
  (scheme-file, scheme-file-compiler): New procedures.
* tests/gexp.scm ("scheme-file"): New test.
* doc/guix.texi (G-Expressions): Document 'scheme-file'.
2015-10-10 22:46:15 +02:00
Ludovic Courtès b893f1aec3 services: nscd-service: Fit everything into <nscd-configuration>.
* gnu/services/base.scm (<nscd-configuration>)[glibc, name-services]:
  New fields.
  (nscd-service): Remove #:glibc and #:name-services parameters.  Adjust
  body to take those from CONFIG.
* gnu/services/desktop.scm (%desktop-services): Adjust accordingly.
* doc/guix.texi (Base Services): Adjust accordingly.
  (Name Service Switch): Adjust example.
2015-10-10 22:46:14 +02:00
Ludovic Courtès 66e4f01c60 services: mingetty-service: Use <mingetty-configuration> objects.
* gnu/services/base.scm (<mingetty-configuration>): New record type.
  (mingetty-service): Expect a single <mingetty-configuration> instead
  of keyword arguments.
  (%base-services): Adjust accordingly.
* gnu/system/install.scm (installation-services): Likewise.
* doc/guix.texi (Base Services): Adjust accordingly.
2015-10-10 22:46:14 +02:00
Ludovic Courtès be1c2c54d9 system: Make service procedures non-monadic.
* gnu/services/avahi.scm (configuration-file): Use 'plain-file' instead
  of 'text-file'.
  (avahi-service): Turn into a regular procedure that returns a <service>.
* gnu/services/base.scm (root-file-system-service, file-system-service,
  user-unmount-service, user-processes-service, host-name-service,
  console-keymap-service, console-font-service, mingetty-service,
  nscd.conf-file, nscd-service): Likewise.
  (%default-syslog.conf): New variable.
  (syslog-service): Use it.  Turn into a regular procedure.
  (guix-service, udev-rules-union, kvm-udev-rule, udev-service,
  device-mapping-service, swap-service): Likewise.
* gnu/services/databases.scm (%default-postgres-hba,
  %default-postgres-ident): Use 'plain-file' instead of 'text-file'.
  (%default-postgres-config): Use 'mixed-text-file' instead of
  'text-file*'.
  (postgresql-service):  Use 'program-file' instead of 'gexp->script'.
  Turn into a regular procedure.
* gnu/services/desktop.scm (dbus-configuration-directory): Use
  'computed-file' instead of 'gexp->derivation'.
  (upower-configuration-file, geoclue-configuration-file,
  elogind-configuration-file): Use 'plain-file' instead of 'text-file'.
  (dbus-service, upower-service, colord-service, geoclue-service,
  polkit-service, elogind-service): Turn into regular procedures.
  (%desktop-services): Remove use of 'mlet' when iterating on
  %BASE-SERVICES.
* gnu/services/lirc.scm (lirc-service): Turn into a regular procedure.
* gnu/services/networking.scm (static-networking-service,
  dhcp-client-service, ntp-service, tor-service, bitlbee-service,
  wicd-service): Likewise.
* gnu/services/ssh.scm (lsh-service): Likewise.
* gnu/services/web.scm (nginx-service): Likewise.
* gnu/services/xorg.scm (xorg-configuration-file): Use 'mixed-text-file'
  instead of 'text-file*'.
  (xorg-start-command, slim-service): Turn into regular procedures.
  (xinitrc): Use 'program-file' instead of 'gexp->script'.
* gnu/system/install.scm (cow-store-service,
  configuration-template-service): Turn into regular procedures.
* gnu/system.scm (other-file-system-services, device-mapping-services,
  swap-services, essential-services, operating-system-services,
  user-shells, operating-system-accounts): Remove now unnecessary
  'mlet' and turn into regular procedures.
  (operating-system-etc-directory, operating-system-activation-script,
  operating-system-boot-script): Adjust accordingly.
* doc/guix.texi (Base Services, Networking Services, X Window, Desktop
  Services, Database Services, Web Services, Various Services, Name
  Service Switch): Adjust accordingly.
2015-10-10 22:46:14 +02:00
Ludovic Courtès ce8a6dfc43 services: 'mingetty-service' no longer takes monadic values.
* gnu/services/base.scm (mingetty-service): Change default value of
  #:motd from a monadic value to a <plain-file>.  Assume MOTD to be a
  file-like object.  Assume LOGIN-PROGRAM is a gexp or #f.
  (%base-services): Use 'plain-file' instead of 'text-file' for motd.
* gnu/system/linux.scm (unix-pam-service): Update docstring to mention
  that MOTD is a file-like object.
* doc/guix.texi (Base Services): Adjust 'mingetty-service' documentation
  accordingly.
* gnu/system/install.scm (installation-services): Adjust accordingly.
  (log-to-info): Use 'program-file' instead of 'gexp->script'.
2015-10-10 22:46:14 +02:00
Ludovic Courtès b751cde36b gexp: Add 'mixed-text-file'.
* guix/gexp.scm (mixed-text-file): New procedure.
* tests/gexp.scm ("mixed-text-file"): New test.
* doc/guix.texi (G-Expressions): Document it.
2015-10-10 22:46:14 +02:00
Ludovic Courtès 15a01c7220 gexp: Add 'program-file'.
* guix/gexp.scm (<program-file>): New record type.
  (program-file, program-file-compiler): New procedures.
* tests/gexp.scm ("program-file"): New test.
* doc/guix.texi (G-Expressions): Document it.
2015-10-10 22:46:14 +02:00
Ludovic Courtès 919370291f gexp: Add 'computed-file'.
* guix/gexp.scm (<computed-file>): New record type.
  (computed-file, computed-file-compiler): New procedures.
* tests/gexp.scm ("lower-object, computed-file"): New test.
* doc/guix.texi (G-Expressions): Document 'computed-file'.
2015-10-10 22:46:14 +02:00
David Thompson a72ccbc251 build: container: Fix call-with-clean-exit.
Before, call-with-clean-exit would *always* return an exit code of 1.

* gnu/build/linux-container.scm (call-with-clean-exit): Exit with status
  code of 0 if thunk does not throw an exception.
* tests/containers.scm: Add test.
2015-10-10 09:00:49 -04:00
Cyril Roelandt f5a21dc4cf gnu: Add python-bandit.
* gnu/packages/openstack.scm (python-bandit, python2-bandit): New variables.
2015-10-10 03:20:49 +02:00
Cyril Roelandt 7787ef76b6 gnu: Update python-fixtures
* gnu/packages/python.scm (python-fixtures): Update.
* gnu/packages/python.scm (python-fixtures-0.3.16,
  python2-fixtures-0.3.16, python-pbr-0.11,
  python2-pbr-0.11): New variables.
* gnu/packages/python.scm (python-testrepository): Use python-fxitures-0.3.16
  instead of python-fixtures in the inputs.
2015-10-10 03:20:49 +02:00
Cyril Roelandt 643725a155 gnu: Add python-pip.
* gnu/packages/python.scm (python-pip, python2-pip): New variables.
2015-10-10 03:20:44 +02:00
Ludovic Courtès 28eb956dfe Thank Chris. 2015-10-09 20:57:24 +02:00
Ludovic Courtès ca34fc317f build: Fix libgcrypt detection on FHS systems.
Reported by Christopher Allan Webber <cwebber@dustycloud.org>.

* m4/guix.m4 (GUIX_LIBGCRYPT_LIBDIR): Add "grep -e -L" to the pipeline
  to account for cases where the output of "libgcrypt-config --libs"
  lacks a -L flag.
* configure.ac: When 'GUIX_LIBGCRYPT_LIBDIR' returns the empty string,
  set LIBGCRYPT_LIBDIR to "no".
* config-daemon.ac: Add missing space.
2015-10-09 20:57:24 +02:00
David Thompson 1de2fe95e0 scripts: environment: Use system* instead of system.
This allows for direct program invokation without needing a shell to act
as a command interpreter.

* guix/scripts/environment.scm (%default-shell): New variable.
  (show-help): Adjust description.  Remove '--exec' reference.
  (%default-options): Use '%default-shell'.
  (%options): Adjust '--exec' to run command via the default shell.
  (parse-args): New procedure.
  (guix-environment): Use 'parse-args'.  Use 'system*' instead of
  'system'.
* tests/guix-environment.sh: Add test for '--' command invokation.
* doc/guix.texi ("Invoking guix environment"): Use new syntax.  Remove
  '--exec' documentation.
2015-10-09 12:17:01 -04:00
David Thompson bbd00d2012 utils: Add split procedure.
* guix/utils.scm (split): New procedure.
* tests/utils.scm: Add tests.
2015-10-09 12:17:01 -04:00
Alex Kost b94ef11a53 emacs: Add 'guix-devel-lint-package'
Suggested by Ludovic Courtès <ludo@gnu.org>.

* emacs/guix-devel.el (guix-devel-setup-repl): Add a workaround for
  'guix-warning-port'.
  (guix-devel-lint-package): New command.
  (guix-devel-keys-map): Add key binding for it.
* doc/emacs.texi (Emacs Development): Document it.
2015-10-09 16:17:45 +03:00
Alex Kost e04741f160 lint: Export 'run-checkers'.
* guix/scripts/lint.scm (run-checkers): Export.  Make 'checkers'
  argument optional.
2015-10-09 16:17:45 +03:00
Alex Kost 5952111cc0 emacs: Add 'guix-devel-with-definition'.
* emacs/guix-devel.el (guix-devel-with-definition): New macro.
  (guix-devel-build-package-definition): Use it.
  (guix-devel-emacs-font-lock-keywords): New variable.
2015-10-09 16:17:45 +03:00
Alex Kost 5a60d56975 emacs: Fix 'guix-devel-setup-repl'.
Setting up guix ports needs to be done in Geiser REPL synchronously,
otherwise this operation may not be finished before the further
evaluating of guile code.

* emacs/guix-guile.el (guix-guile-prompt?): New function.
* emacs/guix-geiser.el (guix-geiser-eval-in-repl-synchronously): New
  function.
* emacs/guix-devel.el (guix-devel-setup-repl): Use it.
2015-10-09 16:17:45 +03:00
Alex Kost 7c786db4fb emacs: Fix 'guix-build-log-phase-toggle-all'.
* emacs/guix-build-log.el (guix-build-log-phase-toggle-all): Handle the
  case when there are no characters before the first phase:
  'guix-build-log-next-phase' moves to the second phase in such a case,
  and the toggling is not done properly, so use 're-search-forward'
  instead.
2015-10-09 16:17:45 +03:00
Alex Kost 88908d55e0 emacs: devel: Fix 'modify-phases' highlighting.
* emacs/guix-devel.el (guix-devel-modify-phases-font-lock-pre): Handle
  the case when 'modify-phases' is commented.
2015-10-09 16:17:44 +03:00
Alex Kost 1af9815d81 emacs: devel: Highlight gexp symbols.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* emacs/guix-devel.el (guix-devel-gexp-symbol): New face.
  (guix-devel-font-lock-keywords): Adjust to handle gexp symbols.
2015-10-09 16:14:11 +03:00
Ludovic Courtès 9765b3aeac Revert "gnu: python: Do not retain references to build tools."
This reverts commit 14f8dae6b1, which
was unintentionally pushed (it does not work with Python 3.)
2015-10-08 18:08:16 +02:00
Mark H Weaver b81378251c Merge branch 'master' into core-updates 2015-10-08 10:59:39 -04:00
Mark H Weaver b5881775ac gnu: libunwind: Add fix for CVE-2015-3239.
* gnu/packages/patches/libunwind-CVE-2015-3239.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/libunwind.scm (libunwind)[source]: Add patch.
2015-10-08 10:55:52 -04:00
Mark H Weaver f956d661ad gnu: libwmf: Add fixes for several security flaws.
* gnu/packages/patches/libwmf-CAN-2004-0941.patch,
  gnu/packages/patches/libwmf-CVE-2007-0455.patch,
  gnu/packages/patches/libwmf-CVE-2007-2756.patch,
  gnu/packages/patches/libwmf-CVE-2007-3472.patch,
  gnu/packages/patches/libwmf-CVE-2007-3473.patch,
  gnu/packages/patches/libwmf-CVE-2007-3477.patch,
  gnu/packages/patches/libwmf-CVE-2009-3546.patch: New files.
* gnu/packages/patches/libwmf-CVE-2015-0848+4588+4695+4696.patch: Delete
  file.  Replace with ...
* gnu/packages/patches/libwmf-CVE-2015-0848+CVE-2015-4588.patch,
  gnu/packages/patches/libwmf-CVE-2015-4695.patch,
  gnu/packages/patches/libwmf-CVE-2015-4696.patch: ... these new files.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/image.scm (libwmf)[source]: Adjust set of patches.
2015-10-08 10:46:30 -04:00
Mark H Weaver 48e4a9f32f gnu: unzip: Add various fixes.
* gnu/packages/patches/unzip-increase-size-of-cfactorstr.patch: Delete
  file.  Replace with ...
* gnu/packages/patches/unzip-overflow-long-fsize.patch: ... this new file.
* gnu/packages/patches/unzip-attribs-overflow.patch,
  gnu/packages/patches/unzip-fix-overflows-and-infloop.patch,
  gnu/packages/patches/unzip-format-secure.patch: New files.
* gnu/packages/patches/unzip-CVE-2014-9636.patch: Replace contents with
  fixed patch from Fedora.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/zip.scm (unzip)[source]: Adjust list of patches.
2015-10-08 10:07:44 -04:00
Mark H Weaver e91e28d60c gnu: wpa-supplicant: Update to 2.5.
* gnu/packages/patches/wpa-supplicant-2015-2-fix.patch,
  gnu/packages/patches/wpa-supplicant-2015-3-fix.patch,
  gnu/packages/patches/wpa-supplicant-2015-4-fix-pt1.patch,
  gnu/packages/patches/wpa-supplicant-2015-4-fix-pt2.patch,
  gnu/packages/patches/wpa-supplicant-2015-4-fix-pt3.patch,
  gnu/packages/patches/wpa-supplicant-2015-4-fix-pt4.patch,
  gnu/packages/patches/wpa-supplicant-2015-4-fix-pt5.patch,
  gnu/packages/patches/wpa-supplicant-2015-5-fix.patch,
  gnu/packages/patches/wpa-supplicant-CVE-2015-1863.patch: Delete files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/admin.scm (wpa-supplicant-minimal): Update to 2.5.
  Remove patches.
2015-10-08 09:15:30 -04:00
Ricardo Wurmus 797e1401fe gnu: python-h5py: Fix path to hdf5 library.
* gnu/packages/python.scm (python-h5py)[arguments]: Add "fix-hdf5-paths"
  phase.
2015-10-08 14:39:11 +02:00
Ricardo Wurmus 3c4010b1e9 gnu: python-h5py, python2-h5py: Correct inputs.
* gnu/packages/python.scm (python-h5py)
  [inputs]: Remove python-cython and python-numpy.
  [propagated-inputs]: New field.
  [native-inputs]: Drop python-setuptools and add python-cython.
  (python2-h5py): Replace "inputs" with "propagated-inputs".
2015-10-08 14:39:11 +02:00
Ricardo Wurmus 1285119bde gnu: Add python-joblib.
* gnu/packages/python.scm (python-joblib, python2-joblib): New
  variables.
2015-10-08 14:39:11 +02:00
Efraim Flashner fd5b213302 Correct "Revert "gnu: camlp4: Remove extra input.""
This corrects a typo in 0d1c0660d7.
2015-10-08 12:17:21 +03:00
Efraim Flashner 0d1c0660d7 Revert "gnu: camlp4: Remove extra input."
This reverts commit d04efa0fff.
2015-10-08 12:10:47 +03:00
Mark H Weaver 319fe79dd0 Merge branch 'master' into core-updates 2015-10-07 23:55:17 -04:00
Mark H Weaver a606ed89d4 gnu: webkitgtk-2.4: Fix potential code execution vulnerability.
* gnu/packages/patches/webkitgtk-2.4-sql-init-string.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/webkit.scm (webkitgtk-2.4)[source]: Add patch.
2015-10-07 22:54:09 -04:00
Mark H Weaver 2ab5e39d22 gnu: libvpx: Set size limit to avoid CVE-2015-1258.
* gnu/packages/video.scm (libvpx)[arguments]: Add "--size-limit"
  argument to configure.
2015-10-07 22:41:18 -04:00
Mark H Weaver 7ab73c4add gnu: openjpeg-2.x: Add fix for CVE-2015-6581.
* gnu/packages/patches/openjpeg-CVE-2015-6581.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/image.scm (openjpeg, openjpeg-2.0)[source]: Add patch.
2015-10-07 22:18:13 -04:00
Mark H Weaver 9511de1ef8 gnu: gdk-pixbuf: Update to 2.32.1.
* gnu/packages/gtk.scm (gdk-pixbuf): Update to 2.32.1.
2015-10-07 21:49:03 -04:00
Ludovic Courtès 6a20289d5a gnu: python: Simplify list of configure flags.
* gnu/packages/patches/python-2.7-search-paths.patch,
  gnu/packages/patches/python-3-search-paths.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/python.scm (python-2)[source]: Use first patch.
  [arguments]: Remove now unneeded CPPFLAGS and LDFLAGS.
  (python)[source]: Use second patch.
  (python-minimal)[arguments]: Remove CPPFLAGS and LDFLAGS.
2015-10-08 00:05:34 +02:00
Ludovic Courtès afa181fff4 gnu: python: Build the tkinter module.
Fixes <http://bugs.gnu.org/20889>.
Reported by Federico Beffa <beffa@ieee.org>.

* gnu/packages/python.scm (python-2)[arguments]: Pass
  --with-tcltk-includes and --with-tcltk-libs.
  [inputs]: Add TCL and TK.
2015-10-07 23:25:25 +02:00
Ludovic Courtès 95288fcc6c gnu: python: Add "minimal" variants.
* gnu/packages/python.scm (python2-minimal, python-minimal): New
  variables.
  (wrap-python3): New procedure.
  (python-wrapper): Use it.
  (python-minimal-wrapper): New variable.
* gnu/packages/xml.scm (libxslt)[native-inputs]: Use
  PYTHON-MINIMAL-WRAPPER instead of PYTHON-WRAPPER.
* gnu/packages/xorg.scm (xcb-proto, libxcb, xorg-server): Likewise.
2015-10-07 23:25:22 +02:00
Efraim Flashner d04efa0fff gnu: camlp4: Remove extra input.
* gnu/packages/ocaml.scm (camlp4)[inputs]: Removed duplicate "ocaml"
  entry from native-inputs.
2015-10-07 21:22:17 +03:00
Efraim Flashner 751b7aad1e gnu: gprolog: Remove armhf from supported architectures.
* gnu/packages/gprolog.scm (gprolog)[supported-systems]: Remove
  armhf-linux from the list of supported systems.
2015-10-07 21:22:17 +03:00
Efraim Flashner 2e13698763 gnu: mosh: Update to 1.2.5.
* gnu/packages/ssh.scm (mosh): Update to 1.2.5.
2015-10-07 16:43:40 +03:00
Ludovic Courtès 0d56e3e1bc gnu: python-wrapper: Improve synopsis and description.
* gnu/packages/python.scm (python-wrapper): Add 'synopsis' field; provide
  literal 'description' value.
2015-10-07 11:53:01 +02:00
Ludovic Courtès 14f8dae6b1 gnu: python: Do not retain references to build tools.
* gnu/packages/python.scm (python-2)[arguments]: Add
  'do-not-record-configure-flags' and
  'do-not-record-configure-flags-in-makefile' phases.
2015-10-07 11:30:41 +02:00
Efraim Flashner 543dbd9859 gnu: enlightenment: Update to 0.19.12.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.19.12.
2015-10-07 10:44:46 +03:00
Ricardo Wurmus b1006576d7 gnu: Add r-htmlwidgets.
* gnu/packages/web.scm (r-htmlwidgets): New variable.
2015-10-07 09:10:46 +02:00
Ricardo Wurmus f1a045e266 gnu: Add r-htmltools.
* gnu/packages/web.scm (r-htmltools): New variable.
2015-10-07 09:10:45 +02:00
Ricardo Wurmus dedaf7ac74 gnu: ibus-libpinyin: Add GTK+ and Glib inputs.
* gnu/packages/ibus.scm (ibus-libpinyin)[inputs]: Add gtk+.
  [native-inputs]: Add glib:bin.
2015-10-07 08:55:43 +02:00
Eric Bavier 3cbf1204ef gnu: imagemagick: Hard-code delegate paths.
If --with-frozenpaths is given, then configure will retain absolute paths
discovered for delegate programs, otherwise they are discarded.

* gnu/packages/imagemagick.scm (imagemagick)[arguments]: Add
  '--with-frozenpaths' to #:configure-flags.
2015-10-06 15:31:23 -05:00
Ludovic Courtès cf4e7083ed publish: Fix file descriptor leak.
A client closing the connection while reading from a /nar URL would
leave an open file descriptor in the server.  This patch fixes it.

* guix/scripts/publish.scm (swallow-EPIPE): New macro.
  (http-write): Use it around 'write-file' call.
2015-10-06 23:51:04 +02:00
Ludovic Courtès 38e16b4907 doc: Clarify how to run 'guix refresh -u'.
* doc/guix.texi (Invoking guix refresh): Mention ./pre-inst-env.
2015-10-06 23:51:04 +02:00
Ludovic Courtès 72c62716be import: snix: Adjust names of license attributes.
* guix/import/snix.scm (license-variable): Adjust names to current
  Nixpkgs.
2015-10-06 23:51:04 +02:00
Ludovic Courtès f073e52382 utils: Remove Nixpkgs helpers.
* guix/config.scm.in (%nixpkgs): Remove.
* guix/utils.scm (%nixpkgs-directory, nixpkgs-derivation,
  nixpkgs-derivation*): Remove.
* test-env.in: Export 'NIXPKGS'.
* tests/derivations.scm (%coreutils): Remove use of
  'nixpkgs-derivation'.
* tests/snix.scm (%nixpkgs-directory): New variable.
  Adjust users accordingly.
2015-10-06 23:51:04 +02:00
Ludovic Courtès dd01fecd23 build: Automatically determine libgcrypt's file name.
* m4/guix.m4 (GUIX_LIBGCRYPT_LIBDIR): New macro.
* configure.ac: Use it when no --with-libgcrypt-* option was passed.
* README: Do not recommend --with-libgcrypt-prefix.

Co-authored-by: 宋文武 <iyzsong@gmail.com>
2015-10-06 23:51:04 +02:00
Efraim Flashner 04d1ab3bf5 gnu: elementary: Update to 1.15.2.
* gnu/packages/enlightenment.scm (elementary): Update to 1.15.2.
2015-10-06 23:33:03 +03:00
Efraim Flashner 6b3c9db11e gnu: efl: Update to 1.15.2.
* gnu/packages/enlightenment.scm (efl): Update to 1.15.2.
2015-10-06 23:13:23 +03:00
Efraim Flashner 2da45ebe56 gnu: libbluray: Remove java as native-input.
* gnu/packages/video.scm (libbluray)[inputs]: Remove "ant" and "icedtea"
  as native-inputs.
  [arguments]: Remove environmental variable "JAVA_HOME". Add configure
  flag to disable java.
2015-10-06 20:22:09 +03:00
Ludovic Courtès 42e735dfc7 gnu: gmp: Skip unreliable test.
* gnu/packages/patches/gmp-faulty-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/multiprecision.scm (gmp)[source]: Use it.
2015-10-06 15:18:44 +02:00
Ludovic Courtès 18bf40a087 gnu: gawk: Remove unneeded 'install-locale' phase.
* gnu/packages/gawk.scm (gawk)[arguments]: Remove now unneeded
  'install-locale' phase.
2015-10-06 15:02:27 +02:00
Efraim Flashner 69762e3c92 gnu: libdvdcss: Update to 1.3.99.
* gnu/packages/video.scm (libdvdcss): Update to 1.3.99.
2015-10-06 15:19:13 +03:00
Efraim Flashner 3f9f176b3a gnu: libbluray: Upgrade to 0.9.1.
* gnu/packages/video.scm (libbluray): Upgrade to 0.9.1.
  [inputs]: Add "ant" and "icedtea7" to native-inputs.
  [arguments]: Set environment variable "JAVA_HOME".
2015-10-06 15:19:13 +03:00
Ludovic Courtès e3302fec18 import: pypi: Remove unused procedure.
* guix/import/pypi.scm (join): Remove.
2015-10-05 23:10:14 +02:00
Ludovic Courtès 85e5721421 gnu: glibc: Look for locale data in versioned sub-directories.
Suggested by Mark H Weaver <mhw@netris.org>.

* gnu/packages/patches/glibc-versioned-locpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc)[source]: Use it.
  [arguments]: Add explicit version sub-directory to
  libc_cv_localedir.
  [native-search-paths]: Use 'GUIX_LOCPATH' instead of 'LOCPATH'.
  (glibc-locales, glibc-utf8-locales): Write to a VERSION
  sub-directory.
2015-10-05 22:34:50 +02:00
Ludovic Courtès f211b2af67 Revert "gnu: glibc: Honor 'GUIX_LOCPATH'."
This reverts commits fbb909ac7e
and 2ebe938c2f.
2015-10-05 22:34:34 +02:00
宋文武 025cc9a1ed gnu: wine: Update to 1.7.52, add more inputs.
* gnu/packages/wine.scm (wine): Update to 1.7.52.
  [inputs]: Add cups, glu and openal.
2015-10-05 18:19:21 +08:00
宋文武 4a30930b84 gnu: feh: Update to 2.14.
* gnu/packages/feh.scm (feh): Update to 2.14.
2015-10-05 16:28:30 +08:00
Andreas Enge 1eaeeddfba gnu: calibre: Update to 2.40.0.
* gnu/packages/ebook.scm (calibre): Update to 2.40.0.
2015-10-04 23:04:27 +02:00
Andreas Enge 9c32e1fef1 gnu: qt: Remove bundled copy of sqlite.
* gnu/packages/qt.scm (qt)[source]: Add snippet to remove the bundled
  copy of sqlite.

Partially fixes <http://bugs.gnu.org/21288>.
2015-10-04 23:04:27 +02:00
Andreas Enge bc554b43d6 gnu: qt: Compile with system harfbuzz.
* gnu/packages/qt.scm (qt)[source]: Add a snippet to remove one of the two
  bundled copies of harfbuzz.
  [arguments]: Pass a configure flag to use harfbuzz from the system.

Partially fixes <http://bugs.gnu.org/21288>.
2015-10-04 23:04:27 +02:00
Andreas Enge 14bcc1e1cd gnu: qt: Remove the sources of qtwebengine.
* gnu/packages/qt.scm (qt)[source]: Add snippet to remove the qtwebengine
  code, which was already not built anymore, and drop one patch used
  previously only for qtwebengine.
  [arguments]: Drop the configuration flag "-skip qtwebengine", since
  deleted modules cannot be skipped.
* gnu/packages/patches/qt5-runpath.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Unregister patch.

Partially fixes <http://bugs.gnu.org/21288>.
2015-10-04 23:04:26 +02:00
Mathieu Lirzin 2b00a55064 gnu: Add autobuild.
* gnu/packages/autotools.scm (autobuild): New variable.
2015-10-04 20:24:40 +02:00
Mark H Weaver 1a400bd589 gnu: linux-libre: Update to 4.2.3.
* gnu/packages/linux.scm (linux-libre): Update to 4.2.3.
2015-10-04 12:35:04 -04:00
Alex Kost 9fbd458b8d gnu: rtorrent: Update to 0.9.6.
* gnu/packages/bittorrent.scm (rtorrent): Update to 0.9.6.
  [source]: Use new URL.
2015-10-04 19:22:41 +03:00
Alex Kost 29b4c57bf0 gnu: libtorrent: Update to 0.13.6.
* gnu/packages/bittorrent.scm (libtorrent): Update to 0.13.6.
  [source]: Use new URL.
  [native-inputs]: Uncomment "cppunit" (for tests).
  [argument]: Remove (to enable tests).
2015-10-04 19:22:41 +03:00
Alex Kost 9db04bf542 gnu: libtorrent, rtorrent: Update home pages.
* gnu/packages/bittorrent.scm (libtorrent): Update 'home-page'.
  (rtorrent): Likewise.
2015-10-04 19:22:40 +03:00
Alex Kost 678932aa70 gnu: lirc: Update to 0.9.3.
* gnu/packages/lirc.scm (lirc): Update to 0.9.3.
  [native-inputs]: Add "libxslt".
2015-10-04 19:19:21 +03:00
Andreas Enge 7431edea5b gnu: qt-4: Disable webkit build.
* gnu/packages/qt.scm (qt-4)[source]: Add snippet to remove the webkit code
  and drop one patch used previously for webkit.
  [arguments]: Add configure flag to disable building the webkit module.
* gnu/packages/patches/qt4-tests.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Unregister patch.

Partially fixes <http://bugs.gnu.org/21288>.
2015-10-04 11:09:14 +02:00
Ludovic Courtès 2ebe938c2f doc: Mention that /X.Y must be used for GUIX_LOCPATH.
This is a followup to commit f2d7bbb.

* doc/guix.texi (Application Setup): Mention the /X.Y sub-directory.
2015-10-04 10:20:59 +02:00
Ludovic Courtès 85b81cf8c1 packages: Use locales from the /X.Y sub-directory of the locale package.
This is a followup to commit f2d7bbb.

* guix/packages.scm (patch-and-repack)[build]: Append "/X.Y" to
  LOCPATH.
2015-10-04 10:19:42 +02:00
Ludovic Courtès afd3d9316c Use "normalized codesets" everywhere.
In other words, change "xx_YY.UTF-8" to "xx_YY.utf8".

* guix/profiles.scm (ca-certificate-bundle): Use "en_US.utf8" instead of
  "en_US.UTF-8".
* guix/packages.scm (patch-and-repack): Likewise.
* guix/build/gnu-build-system.scm (install-locale): Likewise.
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Likewise.
* gnu/packages/python.scm (python-ipython): Likewise.
* gnu/packages/gawk.scm (gawk): Likewise.
* build-aux/hydra/demo-os.scm: Likewise.
* gnu/packages/guile.scm (guile-ncurses)[arguments]: Remove
  'change-locale' phase.
2015-10-04 00:10:03 +02:00
Ludovic Courtès 8a55e217ad gnu: glibc-utf8-locales: Use the normalized codeset.
* gnu/packages/base.scm (glibc-utf8-locales)[argument]: Use the
  normalized codeset by default.
2015-10-04 00:10:03 +02:00
Ludovic Courtès b6ac54517c gnu: commencement: Remove the tricky locale compatibility handling.
This is made unnecessary by the use of 'GUIX_LOCPATH'.

* gnu/packages/commencement.scm (locale-proof-package): Remove.
  (%boot5-inputs): Add on GLIBC-UTF8-LOCALES-FINAL.  This reverts parts
  of commit 28cbc58.
* gnu/packages/gawk.scm (gawk): Set 'GUIX_LOCPATH' instead of
  'LOCPATH'.
2015-10-04 00:09:29 +02:00
Andreas Enge f8822418f1 gnu: libqtxdg: Fix download location.
* gnu/packages/lxqt.scm (libqtxdg)[source]: Fix download location.
2015-10-03 22:49:12 +02:00
Andreas Enge 250ffe4de1 gnu: liblxqt: Fix download location.
* gnu/packages/lxqt.scm (liblxqt)[source]: Fix download location.
  [description]: Fix typo.
2015-10-03 22:41:59 +02:00
Andreas Enge 54033a4db6 gnu: Add lxqt-session.
* gnu/packages/lxqt.scm (lxqt-session): New variable.
2015-10-03 21:20:41 +02:00
Ludovic Courtès f2d7bbb537 gnu: glibc: Look for locale data in versioned sub-directories.
* gnu/packages/base.scm (glibc)[native-search-paths]: Add
  'lib/locale/VERSION' for 'GUIX_LOCPATH'.
  (glibc-locales, glibc-utf8-locales): Write to a VERSION
  sub-directory.
* guix/profiles.scm (ca-certificate-bundle): Adjust LOCPATH value
  accordingly.
2015-10-03 20:17:09 +02:00
Andreas Enge cfa2e4ad40 gnu: Add lxqt-common.
* gnu/packages/lxqt.scm (lxqt-common): New variable.
2015-10-03 19:45:23 +02:00
Andreas Enge c9f6938033 gnu: liblxqt: Fix download location.
* gnu/packages/lxqt.scm (liblxqt)[source]: Use the .tar.xz release
  exclusively; drop the alternative URI for .tar.gz and correct the hash.
2015-10-03 19:45:23 +02:00
Ludovic Courtès fbb909ac7e gnu: glibc: Honor 'GUIX_LOCPATH'.
* gnu/packages/patches/glibc-guix-locpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc)[source]: Use it.
  [native-search-paths]: Use 'GUIX_LOCPATH' instead of 'LOCPATH'.
* doc/guix.texi (Application Setup): Introduce the term "foreign
  distro".  Document 'GUIX_LOCPATH'.
2015-10-03 17:55:13 +02:00
David Thompson 293ff8b2f3 gnu: Add file-roller.
* gnu/packages/gnome.scm (file-roller): New variable.
2015-10-03 11:17:37 -04:00
Ludovic Courtès 1668dfcd37 gnu: texinfo: Claim 'INFOPATH'.
Reported by Konrad Hinsen <konrad.hinsen@fastmail.net>.

* gnu/packages/texinfo.scm (texinfo)[native-search-paths]: New field.
2015-10-03 14:36:12 +02:00
Ludovic Courtès 57aff6476e utils: Add 'every*'.
* guix/build/gnu-build-system.scm (every*): Move to...
* guix/build/utils.scm (every*): ... here.  New procedure.
2015-10-03 14:36:12 +02:00
Ludovic Courtès 29aca449c7 gnu: gettext: Upgrade to 0.19.6.
* gnu/packages/gettext.scm (gnu-gettext): Update to 0.19.6.
2015-10-03 14:36:12 +02:00
Ludovic Courtès e393586161 gnu: coreutils: Use upstream's fix for 'tail'.
* gnu/packages/patches/coreutils-racy-tail-test.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/base.scm (coreutils)[source]: Replace this patch with
  upstream's fix for 'tail'.
2015-10-03 14:36:11 +02:00
Ludovic Courtès 2ae71b746b gnu: glibc: Do not abort when incompatible locale data is found.
* gnu/packages/patches/glibc-locale-incompatibility.patch: New file.
* gnu/packages/base.scm (glibc)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-10-03 14:36:07 +02:00
Ben Woodcroft 6f04e51560 gnu: vsearch: Restrict supported systems to x86_64-linux.
* gnu/packages/bioinformatics.scm (vsearch)[supported-systems]: Restrict
  to x86_64-linux.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2015-10-03 13:59:11 +02:00
Andreas Enge b8d953cbbd gnu: libmicrohttpd: Update to 0.9.44.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.44.
2015-10-02 23:30:20 +02:00
Andreas Enge 4d835808e4 gnu: eigen: Update to 3.2.6.
* gnu/packages/algebra.scm (eigen): Update to 3.2.6.
2015-10-02 23:13:20 +02:00
Andreas Enge 5768893ad1 gnu: valgrind: Enable the arm architecture during configuration.
* gnu/packages/patches/valgrind-enable-arm.patch: New file.
* gnu/packages/valgrind.scm (valgrind)[source]: Add patch.
* gnu-system.am (dist_patch_DATA): Enable patch.
2015-10-02 21:16:02 +02:00
Andreas Enge 2f8fee0623 gnu: valgrind: Update to 3.11.0.
* gnu/packages/valgrind.scm (valgrind): Update to 3.11.0.
  [source]: Remove the patches
* gnu/packages/patches/valgrind-glibc-2.22.patch,
  gnu/packages/patches/valgrind-linux-libre-4.x.patch: Delete files.
* gnu-system.am (dist_patch_DATA): Unregister the patches.
2015-10-02 20:26:45 +02:00
Andreas Enge 127cbd85c0 gnu: glpk: Update to 4.56.
* gnu/packages/maths.scm (glpk): Update to 4.56.
2015-10-02 20:07:17 +02:00
Mark H Weaver 93bd4a37ee gnu: freeimage: Add fix for CVE-2015-0852.
* gnu/packages/patches/freeimage-CVE-2015-0852.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/image.scm (freeimage)[source]: Add patch.
2015-10-02 12:53:21 -04:00
Mark H Weaver bcc09d9ac1 gnu: freeimage: Update to 3.17.0.
* gnu/packages/image.scm (freeimage): Update to 3.17.0.
  [source]: Use 'string-concatenate' in URI computation.
2015-10-02 12:53:21 -04:00
Mark H Weaver b927058237 gnu: openjpeg-2.x: Add fix for use-after-free in opj_j2k_write_mco.
* gnu/packages/patches/openjpeg-use-after-free-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/image.scm (openjpeg, openjpeg-2.0)[source]: Add patch.
  [home-page]: Update.
2015-10-02 12:33:26 -04:00
Mark H Weaver 9ab5ea449e gnu: clipper: Add 'file-name' field to source origin.
* gnu/packages/bioinformatics.scm (clipper)[source]: Add file-name.
2015-10-02 10:55:57 -04:00
Andreas Enge 71a4b2ab21 gnu: orc: Update to 0.4.24.
* gnu/packages/gstreamer.scm (orc): Update to 0.4.24.
2015-10-02 09:51:55 +02:00
Ben Woodcroft 02a8a1876a gnu: Add python-xlrd.
* gnu/packages/python.scm (python-xlrd, python2-xlrd): New variables.

Signed-off-by: Mathieu Lirzin <mthl@openmailbox.org>
2015-10-01 23:45:32 +02:00
Efraim Flashner bd60e4e2ef gnu: powertop: Fix url.
* gnu/packages/linux.scm (powertop): Fixed incorrect url.
2015-10-01 22:53:12 +03:00
Andreas Enge 71923a91b1 gnu: openblas: Fix configure flags on armhf and take target system into account for cross building.
* gnu/packages/maths.scm (openblas)[arguments]: Make package substitutable
  and enable runtime cpu detection only on x86 systems. Take the target
  system into account when cross compiling.
2015-10-01 19:35:16 +02:00
Efraim Flashner cfd745d6bb gnu: powertop: Update to 2.7.
* gnu/packages/linux.scm (powertop): Update to 2.7.
  [arguments]: Add "pciutils" to inputs.
2015-10-01 19:39:34 +03:00
Efraim Flashner 88377435ca gnu: graphviz: Add "doc" output.
* gnu/packages/graphviz.scm (graphviz)[outputs, arguments]: New fields.
2015-10-01 19:39:34 +03:00
Efraim Flashner 64cb2de5d0 gnu: graphviz: Update to 2.38.0.
* gnu/packages/graphviz.scm (graphviz): Update to 2.38.0.
2015-10-01 19:39:34 +03:00
Efraim Flashner 9e125175fc gnu: mpg123: Update to 1.22.4.
* gnu/packages/mp3.scm (mpg123): Update to 1.22.4.
2015-10-01 19:39:34 +03:00
Efraim Flashner b2666de0fb gnu: mpv: Update to 0.11.0.
* gnu/packages/video.scm (mpv): Update to 0.11.0.
2015-10-01 19:39:33 +03:00
Efraim Flashner d1ae7233e3 gnu: youtube-dl: Update to 2015.09.28.
* gnu/packages/video.scm (youtube-dl): Update to 2015.09.28.
2015-10-01 19:39:33 +03:00
Efraim Flashner b4eba7b088 gnu: terminology: Update to 0.9.1.
* gnu/packages/enlightenment.scm (terminology): Update to 0.9.1.
2015-10-01 19:39:33 +03:00
Efraim Flashner b0b3ebf09f gnu: enlightenment: Update to 0.19.11.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.19.11.
2015-10-01 19:39:33 +03:00
宋文武 d032d9652f gnu: Add GNU Unifont.
* gnu/packages/fonts.scm (font-gnu-unifont): New variable.
2015-10-01 21:27:44 +08:00
David Thompson b4aa6d3dcc gnu: shroud: Update to 0.1.1.
* gnu/packages/password-utils.scm (shroud): Update to 0.1.1.
2015-10-01 08:57:14 -04:00
David Thompson dd24e9063f gnu: Add shroud.
* gnu/packages/password-utils.scm (shroud): New variable.
2015-10-01 07:35:16 -04:00
宋文武 b98ee8b7e1 gnu: xterm: Update to 320.
* gnu/packages/xorg.scm (xterm): Update to 320.
2015-10-01 17:50:21 +08:00
Ludovic Courtès fde1783087 download: Check whether HORIZONTAL ELLIPSIS can be encoded.
* guix/build/download.scm (ellipsis): New procedure.
  (store-path-abbreviation): Use it.
2015-10-01 11:28:58 +02:00
Ludovic Courtès 64c9834716 gnu: emacs: Claim 'INFOPATH'.
Reported by Konrad Hinsen <konrad.hinsen@fastmail.net>.

* gnu/packages/emacs.scm (emacs)[native-search-path]: New field.
2015-10-01 11:28:19 +02:00
Ben Woodcroft a2950fa4dc gnu: Add vsearch.
* gnu/packages/bioinformatics.scm (vsearch): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-10-01 10:51:28 +02:00
Ben Woodcroft aae2b445a4 gnu: Add cityhash.
* gnu/packages/textutils.scm (cityhash): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-10-01 10:36:11 +02:00
Mark H Weaver b73547e179 gnu: linux-libre: Update to 4.2.2.
* gnu/packages/linux.scm (linux-libre): Update to 4.2.2.
2015-09-30 12:48:40 -04:00
Ludovic Courtès 997f86e96b gnu: pixman: Update to 0.32.8.
* gnu/packages/xdisorg.scm (pixman): Update to 0.32.8.
* gnu/packages/patches/pixman-pointer-arithmetic.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
2015-09-30 17:19:27 +02:00
Ludovic Courtès 46bd6edd5a gnu: libc: Look for locale data under /run/current-system/locale/X.Y.
* gnu/packages/base.scm (glibc)[arguments]: Append VERSION to
  'libc_cv_localedir'.
* gnu/system/locale.scm (localedef-command): Write to the sub-directory
  called (package-version libc) in #$output.
  (locale-directory): Create said directory.
* doc/guix.texi (Locales): Mention the per-version sub-directory.
2015-09-30 17:06:40 +02:00
Julian Graham c24fff615b gnu: Add gzochi.
* gnu/packages/game-development.scm (gzochi): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-09-29 23:56:37 +02:00
Jeff Mickey 820dc3f5f1 gnu: Add pigz.
* gnu/packages/compression.scm (pigz): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-09-29 23:40:10 +02:00
Ludovic Courtès 0b1f0d36b1 gnu: lsh: 'lsh-authorize' uses the absolute file name of 'sexp-conv'.
Fixes <http://bugs.gnu.org/21516>.
Reported by Andreas Enge <andreas@enge.fr>.

* gnu/packages/lsh.scm (lsh)[arguments]: In 'pre-configure' phase,
  change 'src/lsh-authorize' to use the absolute file name of
  'sexp-conv'.
2015-09-28 22:54:04 +02:00
Ludovic Courtès 30d9aa5422 guix gc: Add '--list-failures' and '--clear-failures'.
Suggested by Mark H Weaver <mhw@netris.org>.

* guix/scripts/gc.scm (show-help, %options): Add --list-failures and
  --clear-failures.
  (guix-gc): Honor them.
* doc/guix.texi (Invoking guix gc): Document them.
  (Invoking guix-daemon): Mention them.
2015-09-28 22:54:04 +02:00
Ludovic Courtès 16748d8015 store: Add 'query-failed-paths' and 'clear-failed-paths' RPCs.
Suggested by Mark H Weaver <mhw@netris.org>.

* guix/store.scm (query-failed-paths, clear-failed-paths): New
  procedures.
* tests/guix-daemon.sh: Add test with daemon started with
  --cache-failures.
2015-09-28 22:54:04 +02:00
Ludovic Courtès df0a3b7f9e tests: 'open-connection-for-tests' takes an optional parameter.
* guix/tests.scm (open-connection-for-tests): Add optional FILE
  parameter; pass it to 'open-connection'.
2015-09-28 22:53:59 +02:00
Pjotr Prins b2bddb07ef gnu: Add bio-blastxmlparser.
* gnu/packages/bioinformatics.scm (bio-blastxmlparser): New variable.
2015-09-28 12:22:47 +02:00
Vicente Vera Parra 0e4e03f884 gnu: Add r-data.table.
* gnu/packages/statistics.scm (r-data.table): New variable.
2015-09-28 11:07:23 +02:00
Vicente Vera Parra 91312ebed4 gnu: Add r-chron.
* gnu/packages/statistics.scm (r-chron): New variable.
2015-09-28 11:07:10 +02:00
Ricardo Wurmus ea5616e0e6 gnu: Add r-servr.
* gnu/packages/web.scm (r-servr): New variable.
2015-09-28 10:35:19 +02:00
Ricardo Wurmus 21d3770e02 gnu: Add r-jsonlite.
* gnu/packages/web.scm (r-jsonlite): New variable.
2015-09-28 10:35:19 +02:00
Ricardo Wurmus a359c9c15c gnu: Add r-httpuv.
* gnu/packages/web.scm (r-httpuv): New variable.
2015-09-28 10:35:19 +02:00
Mark H Weaver 36743e71af doc: Fix spelling.
This is a followup to commit ba7d6c763c.

* doc/guix.texi (Synopses and Descriptions): Fix spelling.
2015-09-28 02:09:59 -04:00
Mathieu Lirzin cd8b7cfb3f lint: Fix 'check-texinfo-markup'.
Fixes a regression introduced in 5d8d8f3.

* guix/scripts/lint.scm (check-description-style): When no exception is
  thrown in 'check-texinfo-markup', return the rendered description.
2015-09-28 00:23:12 +02:00
Mathieu Lirzin ba7d6c763c doc: Add more recommandations for package descriptions.
* doc/guix.texi (Synopses and Descriptions): Warn about special
  characters in Texinfo.  Indicate how to help the translators.
2015-09-28 00:22:12 +02:00
Mathieu Lirzin ae05b1856f gnu: Add arandr.
* gnu/packages/xdisorg.scm (arandr): New variable.
2015-09-28 00:19:11 +02:00
Andreas Enge aab56ab7da gnu: avidemux: Build with Qt 5 instead of Qt 4.
* gnu/packages/video.scm (avidemux)[inputs]: Replace qt-4 by qt.
  [arguments]: Add build flag.
2015-09-27 00:06:30 +02:00
Andreas Enge c4c020b781 gnu: global: Update to 6.5.1.
* gnu/packages/code.scm (global): Update to 6.5.1.
2015-09-26 22:03:06 +02:00
Andreas Enge 308aa2e795 gnu: libmicrohttpd: Update to 0.9.43.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.43.
2015-09-26 22:03:06 +02:00
Andreas Enge f799c2820d gnu: ddrescue: Update to 1.20.
* gnu/packages/disk.scm (ddrescue): Update to 1.20.
2015-09-26 22:03:06 +02:00
Andreas Enge 19c34308d6 gnu: sipwitch: Update to 1.9.10.
* gnu/packages/telephony.scm (sipwitch): Update to 1.9.10.
2015-09-26 22:03:06 +02:00
Andreas Enge b32eabe4bf gnu: ucommon: Update to 6.6.0.
* gnu/packages/telephony.scm (ucommon): Update to 6.6.0.
2015-09-26 22:03:06 +02:00
Andreas Enge fdcb976815 gnu: parallel: Update to 20150922.
* gnu/packages/parallel.scm (parallel): Update to 20150922.
2015-09-26 22:03:06 +02:00
Paul van der Walt b2a222445e gnu: xapian: Update to 1.2.21.
* gnu/packages/search.scm (xapian): Update to 1.2.21.
2015-09-26 21:41:26 +02:00
Alex Kost 730bf80888 emacs: devel: Highlight 'modify-phases' keywords.
* emacs/guix-guile.el (guix-guile-keyword-regexp): New function.
* emacs/guix-devel.el (guix-devel-faces): New custom group.
  (guix-devel-modify-phases-keyword): New face.
  (guix-devel-modify-phases-keyword-regexp,
  guix-devel-font-lock-keywords): New variables.
  (guix-devel-modify-phases-font-lock-matcher,
  guix-devel-modify-phases-font-lock-pre): New functions.
  (guix-devel-mode): Adjust to add/remove font-lock-keywords.
2015-09-26 22:38:43 +03:00
Paul van der Walt c284e78fa4 gnu: mu: Update to 0.9.13.
* gnu/packages/mail.scm (mu): Update to 0.9.13.
2015-09-26 21:11:30 +02:00
Paul van der Walt dc5f87f42a gnu: ncmpcpp: Update to 0.6.7.
* gnu/packages/mpd.scm (ncmpcpp): Update to 0.6.7.
2015-09-26 20:57:44 +02:00
Mark H Weaver d2a6336609 gnu: qemu: Update to 2.4.0.1. Include fix for CVE-2015-6855.
* gnu/packages/patches/qemu-CVE-2015-3209.patch,
  gnu/packages/patches/qemu-CVE-2015-4037.patch,
  gnu/packages/patches/qemu-CVE-2015-4103.patch,
  gnu/packages/patches/qemu-CVE-2015-4104.patch,
  gnu/packages/patches/qemu-CVE-2015-4105.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt1.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt2.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt3.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt4.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt5.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt6.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt7.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt8.patch,
  gnu/packages/patches/qemu-CVE-2015-5745.patch: Delete files.
* gnu/packages/patches/qemu-CVE-2015-6855.patch: New file.
* gnu-system.am (dist_patch_DATA): Add the new patch and delete the old ones.
* gnu/packages/qemu.scm (qemu-headless): Update to 2.4.0.1.  Add the new patch
  and delete the old ones.
2015-09-26 10:32:19 -04:00
Ludovic Courtès e1556533d3 Merge branch 'core-updates' 2015-09-26 15:14:53 +02:00
Mathieu Lirzin 5d8d8f3b0a lint: Improve 'check-texinfo-markup'.
* guix/scripts/lint.scm (check-description-style): Set 'field' parameter
  when emitting a warning in 'check-texinfo-markup'.  Catch any error
  that may occur in during the 'texi->plain-text' conversion.  This is a
  followup to commit 2748ee3.
2015-09-26 15:10:13 +02:00
Andreas Enge 92f1cefb74 gnu: ibus: Add input gtk+-3.
* gnu/packages/ibus.scm (ibus)[inputs]: Add the required gtk+-3.
2015-09-26 11:22:11 +02:00
Ludovic Courtès 15d5ca1356 http-client: Backport Guile fix for 'read-chunk-header'.
Fixes the wrong-type-arg exception initially reported
at <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19976#5>
by Ricardo Wurmus <rekado@elephly.net>.

* guix/http-client.scm (read-chunk-header): Backport Guile commit 53b8d5f.
2015-09-26 11:13:50 +02:00
宋文武 dd8d6d6547 gnu: Add squashfs-tools.
* gnu/packages/compression.scm (squashfs-tools): New variable.
2015-09-26 10:31:07 +08:00
Ludovic Courtès 5ef9d7deea offload: Use gzip instead of xz for compression on the master.
* guix/scripts/offload.scm (send-files): Use gzip --fast instead of xz.
2015-09-25 22:35:35 +02:00
Ludovic Courtès 62d2b57157 utils: Add #:options parameter for compression output ports.
* guix/utils.scm (compressed-output-port,
  call-with-compressed-output-port): Add #:options parameter and honor
  it.
2015-09-25 22:35:35 +02:00
Ricardo Wurmus 1f321f8763 gnu: Add Gajim.
* gnu/packages/messaging.scm (gajim): New variable.
2015-09-25 21:44:30 +02:00
Ricardo Wurmus 246bc76a15 gnu: Add python-nbxmpp.
* gnu/packages/messaging.scm (python-nbxmpp, python2-nbxmpp): New
  variables.
2015-09-25 21:44:30 +02:00
Ricardo Wurmus 22af90291f gnu: Add python-gnupg.
* gnu/packages/gnupg.scm (python-gnupg, python2-gnupg): New variables.
2015-09-25 21:44:30 +02:00
Ricardo Wurmus 5af999b898 gnu: Add pyOpenSSL.
* gnu/packages/python.scm (python-pyopenssl, python2-pyopenssl): New
  variables.
2015-09-25 21:44:30 +02:00
Ricardo Wurmus 88b47cb0e0 gnu: Add python-cryptography.
* gnu/packages/python.scm (python-cryptography, python2-cryptography):
  New variables.
2015-09-25 21:44:29 +02:00
Ricardo Wurmus aa759a5139 gnu: Add python-cryptography-vectors.
* gnu/packages/python.scm (python-cryptography-vectors,
  python2-cryptography-vectors): New variables.
2015-09-25 21:44:29 +02:00
Ricardo Wurmus 36ebf97283 gnu: Add python-pretend.
* gnu/packages/python.scm (python-pretend, python2-pretend): New
  variables.
2015-09-25 21:44:29 +02:00
Ricardo Wurmus 3f00e07866 gnu: Add python-idna.
* gnu/packages/python.scm (python-idna, python2-idna): New variables.
2015-09-25 21:44:29 +02:00
Ricardo Wurmus 9a49a5351c gnu: Add python-ipaddress.
* gnu/packages/python.scm (python2-ipaddress): New variable.
2015-09-25 21:44:29 +02:00
Ludovic Courtès 791076cc91 gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to abbe2c6.
2015-09-25 18:11:37 +02:00
Ludovic Courtès abbe2c61cf build: Bump version number.
* configure.ac: Change version to 0.9.0.
2015-09-25 17:05:07 +02:00
Ludovic Courtès e2aace769c gnu: glibc-locales: Update to glibc 2.22.
* gnu/packages/base.scm (glibc-locales)[arguments]: Remove
  'delete-file-recursively' call from 'build' phase.
* gnu/packages/patches/glibc-locales.patch: Adjust to glibc 2.22.
2015-09-25 17:02:13 +02:00
Ben Woodcroft d708b7a973 gnu: Add seqmagick.
* gnu/packages/bioinformatics.scm (seqmagick): New variable.
2015-09-25 16:16:28 +02:00
Alex Kost 665ce1ebe5 emacs: build-log: Improve regexp for the phase end.
* emacs/guix-build-log.el (guix-build-log-phase-end-regexp): Handle
  fractional number of seconds (like "0.8").
2015-09-25 10:45:38 +03:00
Ludovic Courtès c3aeac385a gnu: tcl: Add missing -L flag in tk.pc and tkConfig.sh.
* gnu/packages/tcl.scm (tk)[arguments]: Use 'modify-phases'.  Add
  'add-fontconfig-flag' phase.
  [inputs]: Add FONTCONFIG.
2015-09-24 23:01:22 +02:00
Mathieu Lirzin 23464bfd99 lint: Accept '`' character.
* guix/scripts/lint.scm (properly-starts-sentence?): Match Texinfo
  highlighting commands as a sentence start.
2015-09-24 22:55:59 +02:00
Mathieu Lirzin 2748ee3bcf lint: Check non-translated package descriptions.
* guix/ui.scm (texi->plain-text): Export.
* guix/scripts/lint.scm (check-description-style): Use it instead of
  'package-description-string'.
2015-09-24 22:46:20 +02:00
Ludovic Courtès 1007b6bf0b Merge branch 'master' into core-updates 2015-09-24 22:18:07 +02:00
Ludovic Courtès a7a4fd9a7c profiles: Make profile-specific derivations non-substitutable.
This avoids gratuitous queries of the substituter.

* guix/profiles.scm (ghc-package-cache-file): Pass #:substitutable? #f
  to 'gexp->derivation'.
  (ca-certificate-bundle): Likewise.
  (gtk-icon-themes): Likewise.
  (profile-derivation): Likewise.
  (info-dir-file): Likewise, plus #:local-build? #t.
2015-09-24 22:16:10 +02:00
Ludovic Courtès 08d7e3592f ui: Gracefully handle Unicode description strings.
Fixes <http://bugs.gnu.org/21536>.
Reported by Alex Kost <alezost@gmail.com>.

* guix/ui.scm (texi->plain-text): Wrap body in 'with-fluids'.
* tests/ui.scm ("package-description-string vs. Unicode"): New test.
2015-09-24 22:04:51 +02:00
Ludovic Courtès 75726135ce download: Don't abbreviate things that are not store items.
Fixes a regression introduced in a8be7b9a.

* guix/build/download.scm (store-path-abbreviation): Return STORE-PATH
  if it's not an actual store path.  Fixes an out-of-range exception
  when running tests/substitute.scm and tests/store.scm.
2015-09-24 21:54:37 +02:00
Ludovic Courtès 12cd4dd3a9 tests: Unset 'LOCPATH' before running bootstrap program.
Reported by Mark H Weaver <mhw@netris.org>.

* tests/build-utils.scm ("wrap-program, one input, multiple calls"): Add
  'unsetenv' call.
2015-09-24 21:21:02 +02:00
Ludovic Courtès 5c3c1427fa doc: Mention /run/current-system/locale.
* doc/guix.texi (Application Setup): Add anchor and index entry.
  (Locales): Refer to it.  Mention /run/current-system/locale.
2015-09-24 21:21:01 +02:00
Ricardo Wurmus 7a8ac75a94 gnu: Add python-pyasn1.
* gnu/packages/python.scm (python-pyasn1, python2-pyasn1): New
  variables.
2015-09-24 20:08:25 +02:00
Ricardo Wurmus 4179f952bf gnu: python-cffi: Update to 1.2.1.
* gnu/packages/python.scm (python-cffi): Update to 1.2.1.
  [native-inputs]: Add python-pytest.
  [arguments]: Enable tests.
2015-09-24 20:07:41 +02:00
Ricardo Wurmus a77adfe022 tests: cran: Use cran-uri in expected output.
* tests/cran.scm: Expect output to use "cran-uri" procedure.
2015-09-24 12:05:53 +02:00
Ludovic Courtès d6445dff14 tests: Adjust snippet test to '.file_list' hack.
This is a followup to commit 140b4bc.

* tests/packages.scm ("package-source-derivation, snippet")[source]: Add
  'chmod' call for "..".
2015-09-24 10:36:24 +02:00
Steve Sprang 9462882889 download: Fix some minor progress-logging regressions.
* guix/build/download.scm
  (string-pad-middle): Allow resulting padded string to overflow.
  (store-url-abbreviation): Remove unnecessary procedure.
  (progress-proc): Use BASENAME as default for parameter 'abbreviation'.
  (url-fetch): Display extra newlines for readability.
2015-09-23 22:04:46 -04:00
Mark H Weaver a05c06720a emacs-build-system: Fix 'package-name-version->elpa-name-version'.
Fixes a regression introduced in b7c7c03eb5.

* guix/build/emacs-build-system.scm (package-name-version->elpa-name-version):
  Remove unused 'name' binding.  Do not abuse 'strip-store-file-name' to
  remove the "emacs-" prefix, which worked before b7c7c03eb5 but not after.
2015-09-23 17:38:47 -04:00
Alex Kost 1a6c4c2f37 emacs: Add 'guix-devel-build-package-definition'.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* emacs/guix-guile.el (guix-guile-definition-regexp): New variable.
  (guix-guile-current-definition, guix-guile-boolean): New functions.
* emacs/guix-devel.el: Require 'guix-base'.
  (guix-devel-repl-processes): New variable.
  (guix-devel-setup-repl, guix-devel-setup-repl-maybe): New functions.
  (guix-devel-build-package-definition): New command.
* doc/emacs.texi (Emacs Development): Document it.
2015-09-23 13:36:37 +03:00
Alex Kost 187f80c6c5 emacs: Add development utils.
* emacs/guix-guile.el (guix-guile-current-module): New function.
* emacs/guix-devel.el: New file.
* emacs.am (ELFILES): Add it.
* doc/emacs.texi (Emacs Development): New node.
  (Emacs Interface): Add it.
* doc/contributing.texi (The Perfect Setup): Mention it.
* doc/guix.texi (Top): Add it.
* emacs/guix-init.el: Add 'guix-devel-activate-mode-maybe' to
  'scheme-mode-hook'.
2015-09-23 13:36:37 +03:00
Alex Kost 6f05a24df3 emacs: Add "View map" action to 'size' popup.
* emacs/guix-command.el (guix-run-view-size-map): New function.
  (guix-command-additional-execute-arguments,
  guix-command-special-executors): Add entries for "View map" action.
2015-09-23 13:36:22 +03:00
Ludovic Courtès 99d7460d78 gnu: Import modules needed by openimageio.
* gnu/packages/graphics.scm: Add missing imports.  This is a followup to
  commit 71299c1.
2015-09-23 09:05:15 +02:00
Ricardo Wurmus 71299c1297 gnu: Add openimageio.
* gnu/packages/graphics.scm (openimageio): New variable.
2015-09-23 08:35:05 +02:00
Ricardo Wurmus caf9055c13 gnu: Add XJackFreak.
* gnu/packages/audio.scm (xjackfreak): New variable.
2015-09-23 08:14:33 +02:00
Mark H Weaver bd90127ad4 Merge branch 'master' into core-updates 2015-09-22 16:38:48 -04:00
Andreas Enge 5f20553dee gnu: r-scales: Update to 0.3.0.
* gnu/packages/statistics.scm (r-scales): Update to 0.3.0.
2015-09-22 22:28:21 +02:00
Andreas Enge efd377221d gnu: csound: Update to 6.05.
* gnu/packages/audio.scm (csound): Update to 6.05.
2015-09-22 22:10:20 +02:00
Alex Kost 430505eba3 scripts: Add 'build-package'.
* guix/scripts/system.scm (maybe-build): Move to ...
* guix/scripts.scm: ...here.
  (build-package): New procedure.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-09-22 22:05:10 +03:00
Alex Kost f80a7a6c58 emacs: Add code to call guile procedures.
* emacs/guix-guile.el (guix-guile-make-call-expression): New function.
* emacs/guix-geiser.el: Require 'guix-guile'.
  (guix-geiser-call, guix-geiser-call-in-repl): New functions.
2015-09-22 22:05:10 +03:00
Alex Kost f029f8a759 emacs: Move code for evaluating to "guix-geiser.el".
* emacs/guix-backend.el: Adjust commentary. Move "eval" code to ...
  (guix-eval, guix-eval-read, guix-eval-in-repl): Adjust to use new
  functions.
* emacs/guix-geiser.el: ...here.  New file.
  (guix-geiser-eval, guix-geiser-eval-read, guix-geiser-eval-in-repl,
  guix-repl-send): New functions.
* emacs.am (ELFILES): Add "guix-geiser.el".
2015-09-22 22:05:09 +03:00
Alex Kost c74cd6cc12 emacs: Move guile related code to "guix-guile.el".
* emacs/guix-backend.el (guix-make-guile-expression): Move to...
* emacs/guix-guile.el: ... here.  New file.
* emacs/guix-base.el: Use it.
* emacs/guix-command.el: Use it.
* emacs.am (ELFILES): Add it.
2015-09-22 22:05:09 +03:00
Andreas Enge 20c6b9dae3 gnu: Add bitcoin-core.
* gnu/packages/finance.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Register it.
2015-09-22 20:07:49 +02:00
Mark H Weaver ee1c4cbaf9 gnu: linux-libre: Update to 4.2.1.
* gnu/packages/linux.scm (linux-libre): Update to 4.2.1.
2015-09-22 13:55:15 -04:00
Andreas Enge 61fe5a57a4 gnu: cgal: Update to 4.6.3.
* gnu/packages/graphics.scm (cgal): Update to 4.6.3.
2015-09-22 19:25:33 +02:00
Leo Famulari 7ae7ca0e2a gnu: recutils: Add libuuid to native-inputs.
* gnu/packages/databases.scm (recutils)[native-inputs]: Add "libuuid".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-09-22 17:41:11 +02:00
Ricardo Wurmus 4a4dac2083 licenses: Add Zope Public License.
* guix/licenses.scm (zpl2.1): New variable.
2015-09-22 14:57:00 +02:00
Alex Kost 67ee7c9576 emacs: Improve 'guix-prettify-regexp'.
* emacs/guix-prettify.el (guix-prettify-regexp): Modify to handle "nar"
  and "log".
2015-09-22 13:04:44 +03:00
Ricardo Wurmus 667d90dfee gnu: python2-ipython: Override terminado in propagated inputs.
* gnu/packages/python.scm (python2-ipython)[inputs, propagated-inputs]:
  Override inherited "python-terminado" in propagated inputs instead of
  regular inputs.
2015-09-21 16:27:23 +02:00
Ludovic Courtès 1def6f6b2c gnu: pixman: Work around pointer arithmetic bug.
* gnu/packages/patches/pixman-pointer-arithmetic.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xdisorg.scm (pixman)[source]: Use it.
2015-09-21 16:01:45 +02:00
Ricardo Wurmus 91781b7498 gnu: r-scales: Update to 0.3.0.
* gnu/packages/statistics.scm (r-scales): Update to 0.3.0.
2015-09-21 11:04:17 +02:00
Ricardo Wurmus c009bb5a40 Update CRAN mirrors.
* guix/download.scm (%mirrors): Update mirror list for CRAN.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 2a3a8ae753 gnu: Add r-dplyr.
* gnu/packages/statistics.scm (r-dplyr): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra ffd4b47851 gnu: Add r-r6.
* gnu/packages/statistics.scm (r-r6): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 5b9789a6ff gnu: Add r-testthat.
* gnu/packages/statistics.scm (r-testthat): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 834f7ff3c0 gnu: Add r-crayon.
* gnu/packages/statistics.scm (r-crayon): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra b668a95cf3 gnu: Add r-memoise.
* gnu/packages/statistics.scm (r-memoise): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 0661b4db2e gnu: Add r-pryr.
* gnu/packages/statistics.scm (r-pryr): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 1cf1cbb0ac gnu: Add r-codetools.
* gnu/packages/statistics.scm (r-codetools): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 4f0e84845d gnu: Add r-microbenchmark.
* gnu/packages/statistics.scm (r-microbenchmark): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 213656b95b gnu: Add r-knitr.
* gnu/packages/statistics.scm (r-knitr): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra ea3a80957a gnu: Add r-yaml.
* gnu/packages/statistics.scm (r-yaml): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 3f8ac35330 gnu: Add r-markdown.
* gnu/packages/statistics.scm (r-markdown): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra acbb40fa20 gnu: Add r-mime.
* gnu/packages/statistics.scm (r-mime): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra ad3f005bdd gnu: Add r-highr.
* gnu/packages/statistics.scm (r-highr): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra c5bf3abe34 gnu: Add r-formatr.
* gnu/packages/statistics.scm (r-formatr): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 256ccc926c gnu: Add r-evaluate.
* gnu/packages/statistics.scm (r-evaluate): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 675c9f447b gnu: Add r-bh.
* gnu/packages/statistics.scm (r-bh): New variable.
2015-09-21 10:48:26 +02:00
Ricardo Wurmus 9cda36227b gnu: Use cran-uri in source expressions.
* gnu/packages/statistics.scm (r-colorspace, r-dichromat, r-digest,
  r-gtable, r-labeling, r-magrittr, r-munsell, r-rcpp, r-plyr, r-proto,
  r-rcolorbrewer, r-stringi, r-stringr, r-reshape2, r-scales, r-ggplot2,
  r-assertthat, r-lazyeval, r-dbi): Use cran-uri in source expressions.
2015-09-21 10:48:26 +02:00
Ricardo Wurmus a52b625152 import: cran-sxml->sexp: Use cran-uri in package expression.
* guix/import/cran.scm (cran-sxml->sexp): Use the cran-uri procedure in
  the generated package expression.
2015-09-21 10:48:26 +02:00
Ricardo Wurmus 5546114e73 build: Add cran-uri procedure.
* guix/build-system/r.scm (cran-uri): New procedure.
2015-09-21 10:48:26 +02:00
Ricardo Wurmus fed5a6898b gnu: Add shotwell.
* gnu/packages/gnome.scm (shotwell): New variable.
2015-09-21 07:45:20 +02:00
Ricardo Wurmus b0f9c4b86c gnu: Add gexiv2.
* gnu/packages/gnome.scm (gexiv2): New variable.
2015-09-21 07:31:50 +02:00
Ricardo Wurmus af8f9f231e gnu: Add libgee.
* gnu/packages/gnome.scm (libgee): New variable.
2015-09-21 07:31:42 +02:00
Eric Bavier da494dad8e gnu: autogen: Update to 5.18.6.
* gnu/packages/autogen.scm (autogen): Update to 5.18.6.
2015-09-20 15:09:52 -05:00
Eric Bavier f210647da2 gnu: gnu-pw-mgr: Update to 1.5.
* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Update to 1.5.
2015-09-20 15:09:51 -05:00
Ludovic Courtès 8fcac19975 Thank Petter. 2015-09-20 22:06:48 +02:00
Ludovic Courtès 07779d0add linux-initrd: Add LUKS/dm-crypt modules to the initrd.
Suggested by Petter <petter@mykolab.ch>
and Mark H Weaver <mhw@netris.org>.

Partly fixes <http://bugs.gnu.org/19190>.

* gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Add dm-crypt
  and xts.
2015-09-20 22:05:50 +02:00
Ludovic Courtès cc0e575a94 linux-boot: Mount /dev as a devtmpfs from the start.
Suggested by Petter <petter@mykolab.ch>
and Mark H Weaver <mhw@netris.org>.
Reported by Duncan Keall <duncan@duncankeall.com>.

Partly fixes <http://bugs.gnu.org/19190> by populating /dev/mapper
early enough.

* gnu/build/linux-boot.scm (mount-essential-file-systems): Mount /dev as
  a devtmpfs.
  (move-essential-file-systems): Add /dev.
  (mount-root-file-system): Mount /rw-root/dev as a devtmpfs instead of
  calling 'make-essential-device-nodes'.
  (boot-system): Remove call to 'make-essential-device-nodes'.
* gnu/system/file-systems.scm (%devtmpfs-file-system): Remove.
* doc/guix.texi (File Systems): Adjust accordingly.
2015-09-20 22:05:36 +02:00
Ricardo Wurmus 7ee5db15bf gnu: openal: Use full path to audio backend libraries.
* gnu/packages/audio.scm (openal)[arguments]: Add build phase to patch in the
  full paths to backend audio libraries.
2015-09-20 13:43:38 +02:00
Ricardo Wurmus 594360f508 gnu: vpnc: Use https for source URL.
* gnu/packages/vpn.scm (vpnc)[source]: Use https protocol for source URL.
2015-09-20 11:37:43 +02:00
Ricardo Wurmus 127b04d741 gnu: lilypond: Update to 2.19.27.
* gnu/packages/music.scm (lilypond): Update to 2.19.27.
  [inputs]: Add font-tex-gyre.
2015-09-20 11:37:36 +02:00
Ricardo Wurmus 7d1b5022e9 gnu: sfml: Update to 2.3.2.
* gnu/packages/game-development.scm (sfml): Update to 2.3.2.
  [native-inputs]: Remove.
2015-09-20 10:08:26 +02:00
Cyril Roelandt d7af106987 gnu: Add python2-keyring.
* gnu/packages/python.scm (python2-keyring): New variable.
2015-09-20 04:42:15 +02:00
Cyril Roelandt 7261d9eb16 gnu: Add python2-pyflakes and fix python2-pyflakes-0.8.1.
* gnu/packages/python.scm (python2-pyflakes): New variable.
* gnu/packages/python.scm (python2-pyflakes-0.8.1): Fix the definition.
2015-09-20 04:41:51 +02:00
Cyril Roelandt 350ba0a32b gnu: Add python-prettytable
* gnu/packages/python.scm (python-prettytable,
  python2-prettytable): New variables.
2015-09-20 04:29:10 +02:00
David Thompson f88ee3ade7 gnu: avahi: Enable libdns_sd compatibility.
* gnu/packages/avahi.scm (avahi): Add '--enable-compat-libdns_sd' configure
  flag.
2015-09-19 21:38:33 -04:00
Mark H Weaver 65d54af49f gnu: icu4c: Add fixes for CVE-2014-6585 and CVE-2015-1270.
* gnu/packages/patches/icu4c-CVE-2014-6585.patch,
  gnu/packages/patches/icu4c-CVE-2015-1270.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/icu4c.scm (icu4c)[source]: Add patches.
2015-09-19 21:35:18 -04:00
Andreas Enge a5002ae77c gnu: Add R/qtl.
* gnu/packages/bioinformatics.scm (r-qtl): New variable.

Co-authored-by: Pjotr Prins <pjotr.guix@thebird.nl>
2015-09-20 00:32:45 +02:00
Andreas Enge e49b339608 gnu: libmtp: Add additional MTP devices.
* gnu/packages/patches/libmtp-devices.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
* gnu/packages/patches/libmtp-devices.patch (libmtp)[source]: Add patch.
2015-09-19 23:38:51 +02:00
Mark H Weaver 257abebba3 gnu: gtk+: Adapt pre-configure phase to version 3.16.6.
This is a followup to commit a35b8fc6c4.

* gnu/packages/gtk.scm (gtk+)[arguments]: In 'pre-configure' phase, remove
  substitutions of 'gtk-update-icon-cache' in demo Makefiles.
2015-09-19 17:32:10 -04:00
Pjotr Prins edb15985f1 gnu: Add bioruby.
* gnu/packages/bioinformatics.scm (bioruby): New variable.
2015-09-19 12:41:52 -04:00
Pjotr Prins 28c5d42d35 gnu: Add ruby-libxml.
* gnu/packages/ruby.scm (ruby-libxml): New variable.
2015-09-19 12:31:42 -04:00
Ricardo Wurmus 7ac4610f7e gnu: Add ruby-shindo.
* gnu/packages/ruby.scm (ruby-shindo): New variable.
2015-09-19 08:51:27 -04:00
Ricardo Wurmus 8528365b0e gnu: Add ruby-formatador.
* gnu/packages/ruby.scm (ruby-formatador): New variable.
2015-09-19 08:51:13 -04:00
Ricardo Wurmus d152162fc1 gnu: Add ruby-notiffany.
* gnu/packages/ruby.scm (ruby-notiffany): New variable.
2015-09-19 08:49:11 -04:00
Ricardo Wurmus c5d14d4228 gnu: Add ruby-shellany.
* gnu/packages/ruby.scm (ruby-shellany): New variable.
2015-09-19 08:45:12 -04:00
Ricardo Wurmus 70b4cf3818 gnu: Add ruby-nenv.
* gnu/packages/ruby.scm (ruby-nenv): New variable.
2015-09-19 08:44:13 -04:00
Ricardo Wurmus ec79018e68 gnu: Add ruby-lumberjack.
* gnu/packages/ruby.scm (ruby-lumberjack): New variable.
2015-09-19 08:43:23 -04:00
Pjotr Prins 6aaa815e9f gnu: Add ruby-docile.
* gnu/packages/ruby.scm (ruby-docile): New variable.
2015-09-19 08:34:14 -04:00
Ludovic Courtès 8874f7668a gnu: ifstatus: Fix license.
* gnu/packages/networking.scm (ifstatus)[license]: Set to GPL2+.
2015-09-18 21:57:53 +02:00
Ludovic Courtès e0566f12f8 lint: Report lonely parentheses.
* guix/scripts/lint.scm (%hanging-paren-rx): New variable.
  (report-lone-parentheses): New procedure.
  (%formatting-reporters): Use it.
* tests/lint.scm ("formatting: lonely parentheses"): New test.
2015-09-18 21:54:04 +02:00
Stefan Reichoer 24a848c8e3 gnu: Add ifstatus.
* gnu/packages/networking.scm (ifstatus): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-09-18 21:54:03 +02:00
Alex Kost 4f740b677a store: Add 'set-build-options*'.
Suggested by: Ludovic Courtès <ludo@gnu.org>.

* guix/store.scm (set-build-options*): New procedure.
2015-09-18 21:42:07 +03:00
Alex Kost fa394eb99c ui: Add 'show-derivation-outputs'.
* guix/scripts/build.scm (guix-build): Extract code from here and move to...
* guix/ui.scm (show-derivation-outputs): ... here.  New procedure.
2015-09-18 21:42:06 +03:00
Alex Kost 88981dd3e2 Add (guix scripts).
* guix/ui.scm: Add missing copyright lines.
  (args-fold*, environment-build-options, %default-argument-handler,
  parse-command-line): Move to ...
* guix/scripts.scm: ...here.  New file.
* guix/scripts/archive.scm: Use it.
* guix/scripts/build.scm: Likewise.
* guix/scripts/download.scm: Likewise.
* guix/scripts/edit.scm: Likewise.
* guix/scripts/environment.scm: Likewise.
* guix/scripts/gc.scm: Likewise.
* guix/scripts/graph.scm: Likewise.
* guix/scripts/hash.scm: Likewise.
* guix/scripts/import/cpan.scm: Likewise.
* guix/scripts/import/cran.scm: Likewise.
* guix/scripts/import/elpa.scm: Likewise.
* guix/scripts/import/gem.scm: Likewise.
* guix/scripts/import/gnu.scm: Likewise.
* guix/scripts/import/hackage.scm: Likewise.
* guix/scripts/import/nix.scm: Likewise.
* guix/scripts/import/pypi.scm: Likewise.
* guix/scripts/lint.scm: Likewise.
* guix/scripts/package.scm: Likewise.
* guix/scripts/publish.scm: Likewise.
* guix/scripts/pull.scm: Likewise.
* guix/scripts/refresh.scm: Likewise.
* guix/scripts/size.scm: Likewise.
* guix/scripts/system.scm: Likewise.
* tests/ui.scm (with-environment-variable, "parse-command-line",
  "parse-command-line and --no options"): Move to ...
* tests/scripts.scm: ...here.  New file.
* Makefile.am (MODULES): Add guix/scripts.scm.
  (SCM_TESTS): Add tests/scripts.scm.
* po/guix/POTFILES.in: Add guix/scripts.scm.
2015-09-18 21:42:06 +03:00
Alex Kost b2cb869cf9 emacs: Replace 'guix-any' with 'cl-some'.
* emacs/guix-utils.el (guix-any): Remove.
* emacs/guix-command.el (guix-command-improve-argument): Use 'cl-some'
  instead of 'guix-any'.
2015-09-18 21:41:46 +03:00
Alex Kost eda1cc8b5d emacs: Add commands to show/hide build log phases.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* emacs/guix-build-log.el (guix-build-log-phase-end-regexp): New
  variable.
  (guix-build-log-phase-start, guix-build-log-phase-end,
  guix-build-log-phase-hide, guix-build-log-phase-show,
  guix-build-log-phase-hidden-p, guix-build-log-phase-toggle-function,
  guix-build-log-phase-toggle, guix-build-log-phase-toggle-all): New functions.
  (guix-build-log-mode-map): Add 'TAB'/'S-TAB' key bindings.
* doc/emacs.texi (Emacs Build Log): Document them.
2015-09-18 21:41:23 +03:00
Federico Beffa c093f9f63a gnu: Add scmutils.
* gnu/packages/scheme.scm (scmutils): New variable.
2015-09-18 14:55:53 +02:00
Pjotr Prins 212d563d26 gnu: Add ruby-bio-logger.
* gnu/packages/ruby.scm (ruby-bio-logger): New variable.
2015-09-17 17:41:22 -04:00
Steve Sprang 47770296d2 download: Only show hours in the elapsed time if necessary.
* guix/build/download.scm
  (seconds->string): Conditionally include hours in timestamp.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-09-17 14:40:46 +02:00
Christopher Allan Webber be3feafedf gnu: guile: Add guile-next
* gnu/packages/guile.scm (guile-next): New variable.
* gnu/packages/guile.scm (guile-for-guile-emacs):
  Adjust to inherit from guile-next rather than guile-2.0

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-09-17 14:38:19 +02:00
宋文武 0a129f391b gnu: harfbuzz: Comment on the "bin" output.
* gnu/packages/gtk.scm (harfbuzz): Comment on why "bin" output.
2015-09-17 19:57:36 +08:00
Ludovic Courtès 2d1db448bd gnu: Add emacs-typo.
* gnu/packages/emacs.scm (typo): New variable.
2015-09-17 11:21:42 +02:00
Ludovic Courtès d001bb5ab5 gnu: Add emacs-butler.
* gnu/packages/emacs.scm (butler): New variable.
2015-09-17 11:21:42 +02:00
Ludovic Courtès 3ffe36f534 gnu: Add emacs-deferred.
* gnu/packages/emacs.scm (emacs-deferred): New variable.
2015-09-17 11:21:42 +02:00
Pjotr Prins cd89fecbe7 gnu: Add ruby-cucumber-core.
* gnu/packages/ruby.scm (ruby-cucumber-core): New variable.
2015-09-16 20:56:16 -04:00
Steve Sprang a8be7b9a7a substitute: Improve readability of download progress report.
* guix/build/download.scm
  (string-pad-middle, store-url-abbreviation, store-path-abbreviation):
  New procedures.
  (progress-proc): Add #:abbreviation parameter and use it.  Generate a
  better indeterminate progress string.
* guix/scripts/substitute.scm (assert-valid-narinfo): Add newlines to output.
  (process-substitution): Use byte-count->string and store-path-abbreviation.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-09-16 23:50:12 +02:00
Ben Woodcroft 41ddebdd2a gnu: Add mafft.
* gnu/packages/bioinformatics.scm (mafft): New variable.
2015-09-16 23:06:14 +02:00
Efraim Flashner e864722731 gnu: Add keepassx.
* gnu/packages/password-utils.scm (keepassx): New variable.
2015-09-16 23:00:01 +02:00
Cyril Roelandt 2c9d96767a gnu: Add python-requests-mock.
* gnu/packages/openstack.scm (python-requests-mock,
  python2-requests-mock): New variables.
2015-09-16 22:53:36 +02:00
Cyril Roelandt de34aface7 gnu: Add python-webob.
* gnu/packages/python.scm (python-webob, python2-webob): New variables.
2015-09-16 22:53:36 +02:00
Cyril Roelandt c7c7a93621 gnu: Add python-oslo.context.
* gnu/packages/openstack.scm (python-oslo.context,
  python2-oslo.context): New variables.
2015-09-16 22:53:36 +02:00
Cyril Roelandt 5702efe3e9 gnu: Add python-oslo.serialization.
* gnu/packages/openstack.scm (python-oslo.serialization,
  python2-oslo.serialization): New variables.
2015-09-16 22:53:36 +02:00
Ricardo Wurmus 979f9e8aed gnu: sfarklib: Update to 2.24.
* gnu/packages/compression.scm (sfarklib): Update to 2.24.
2015-09-16 22:42:45 +02:00
Ludovic Courtès 2ed74cea5c gnu: imagemagick: Update to 6.9.2-1.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.2-1.
  [source]: Add imagemagick-test-segv.patch.
  [inputs]: Replace LIBJPEG-8 with LIBJPEG.
2015-09-16 17:59:16 +02:00
Pjotr Prins f9ae2c068d gnu: Add ruby-log4r.
* gnu/packages/ruby.scm (ruby-log4r): New variable.
2015-09-16 08:41:46 -04:00
Vicente Vera Parra 8ea6b30fea gnu: Add r-dbi.
* gnu/packages/statistics.scm (r-dbi): New variable.
2015-09-16 12:01:12 +02:00
Mark H Weaver 1d6c8db57c gnu: valgrind: Adapt to glibc-2.22 and linux-libre-4.x.
* gnu/packages/patches/valgrind-glibc-2.21.patch: Rename to ...
  gnu/packages/patches/valgrind-glibc-2.22.patch: ... this, and add a case for
  glibc-2.22.
* gnu/packages/patches/valgrind-linux-libre-4.x.patch: New file.
* gnu-system.am (dist_patch_DATA): Add the new file, and rename the other one.
* gnu/packages/valgrind.scm (valgrind)[source]: Add new patch.
2015-09-15 18:21:16 -04:00
Andreas Enge b76b1dcb96 gnu: cups-filters: Add glib:bin as a native input.
* gnu/packages/cups.scm (cups-filters)[native-inputs]: Add the bin output
  of the glib package.
2015-09-15 23:55:09 +02:00
Ludovic Courtès f4e92db3cb nls: Add "TRANSLATORS:" comment about Texinfo.
* gnu/packages/abiword.scm: Add comment above 'description'.
2015-09-15 22:48:53 +02:00
Ludovic Courtès cbd02397b5 doc: Add guidelines for synopses and descriptions.
* doc/guix.texi (Synopses and Descriptions): New node.
* doc/contributing.texi (Submitting Patches): Add item that
  cross-references it.
2015-09-15 22:48:52 +02:00
Ludovic Courtès 2cbed07eef doc: Change authorship to "The GNU Guix Developers".
* doc/guix.texi: Replace outdated @author list with just "The GNU Guix
  Developers".
2015-09-15 22:48:52 +02:00
Vicente Vera Parra 6af4813430 gnu: Add r-lazyeval.
* gnu/packages/statistics.scm (r-lazyeval): New variable.
2015-09-15 22:33:57 +02:00
Mark H Weaver d02f38f3f8 gnu: gcc-toolchain: Don't try to delete OUT/bin/sh, which no longer exists.
* gnu/packages/commencement.scm (gcc-toolchain)[arguments]: Remove code that
  deletes OUT/bin/sh and OUT/bin/bash, since those files no longer exist in
  our libc package.
2015-09-15 16:12:35 -04:00
Vicente Vera Parra ed6094fc77 gnu: Add r-assertthat.
* gnu/packages/statistics.scm (r-assertthat): New variable.
2015-09-15 21:09:02 +02:00
pjotr.public12@thebird.nl 62e4cc5aa1 gnu: Add ruby-gherkin3.
* gnu/packages/ruby.scm (ruby-gherkin3): New variable.
2015-09-15 14:37:09 -04:00
Mathieu Lirzin 3500e659f1 lint: Add 'check-texinfo-markup' checker.
* guix/script/lint.scm (check-description-style): Check for invalid
  Texinfo markup.
* tests/lint.scm: Test it.
2015-09-15 19:01:23 +02:00
宋文武 c136546aaa gnu: librsvg: Update to 2.40.10.
* gnu/packages/gnome.scm (librsvg): Update to 2.40.10.
2015-09-15 20:32:23 +08:00
宋文武 4ea50f2bc8 gnu: libgsf: Update to 1.14.34.
* gnu/packages/gnome.scm (libgsf): Update to 1.14.34.
2015-09-15 20:31:47 +08:00
宋文武 eb6afbcde7 gnu: harfbuzz: Add "bin" output.
* gnu/packages/gtk.scm (harfbuzz)[outputs]: New field.
  [arguments]<#:configure-flags>: Pass '--bindir'.
2015-09-15 20:19:39 +08:00
Alex Kost 83d95c7b36 emacs: Add "View build log" action to build popup.
* emacs/guix-command.el (guix-run-view-build-log): New function.
  (guix-command-additional-execute-arguments,
  guix-command-special-executors): Add entries for "View build log"
  action.
* emacs/guix-utils.el (guix-find-file-or-url): New function.
2015-09-15 15:19:31 +03:00
Alex Kost 34850cd59d emacs: Add modes for viewing build logs.
* emacs/guix-build-log.el: New file.
* emacs.am (ELFILES): Add it.
* doc/emacs.texi (Emacs Build Log): Document it.  New node.
  (Emacs Interface): Add it.
* doc/guix.texi (Top): Likewise.
2015-09-15 15:19:31 +03:00
Alex Kost ea369ee1b0 emacs: Display guix command errors in the minibuffer.
* emacs/guix-main.scm (output+error): New procedure.
  (guix-command-output): Use it.
* emacs/guix-base.el (guix-command-output): Display error output in the
  minibuffer.
2015-09-15 15:19:31 +03:00
Alex Kost 46e17df661 emacs: Add customization groups for faces.
* emacs/guix.el (guix-faces): New custom group.
* emacs/guix-base.el (guix-operation-option-key): Use it.
  (guix-define-buffer-type): Generate faces group.
* emacs/guix-info.el: Adjust faces to use new groups.
  (guix-info-faces): New custom group.
* emacs/guix-list.el: Likewise
  (guix-list-faces): New custom group.
2015-09-15 15:19:30 +03:00
宋文武 fd9b3b43ab gnu: harfbuzz: Propagate graphite2 and icu4c.
* gnu/packages/gtk.scm (harfbuzz): Move graphite2 and icu4c to 'propagated-inputs'.
  [source]: Improve formatting.
2015-09-15 20:11:52 +08:00
Mark H Weaver 40f4817846 gnu: util-linux: Adapt util-linux-tests.patch to version 2.27.
This is a followup to commit 57a66c2729.

* gnu/packages/patches/util-linux-tests.patch: Adapt to util-linux 2.27.
2015-09-15 01:41:57 -04:00
Mark H Weaver 57a66c2729 gnu: util-linux: Update to 2.27.
* gnu/packages/linux.scm (util-linux): Update to 2.27.
2015-09-15 00:17:50 -04:00
Mark H Weaver 8338c24163 gnu: util-linux: Minor fixes.
* gnu/packages/linux.scm (util-linux)[source]: Return #t from the snippet.
  [arguments]: Remove "--enable-ddate" from configure flags, as it is no
  longer recognized (ddate is no longer included in util-linux).
2015-09-15 00:17:49 -04:00
Eric Bavier 50f5c46d06 guix: lint: Check for meaningful origin file names.
* guix/scripts/lint.scm (check-source-file-name): New procedure.
  (%checkers): Add 'source-file-name' checker.
* tests/lint.scm ("source-file-name", "source-file-name: v prefix")
  ("source-file-name: valid", "source-file-name: bad checkout")
  ("source-file-name: good checkout"): New tests.
* doc/guix.texi (Invoking guix lint): Mention file name check.
2015-09-14 18:03:33 -05:00
Eric Bavier 3b4d01035f guix: packages: Add origin-actual-file-name.
* guix/scripts/graph.scm (uri->file-name, node-full-name): Move origin file
  name logic to...
* guix/packages.scm (origin-actual-file-name): ...here.
* tests/packages.scm ("origin-actual-file-name")
  ("origin-actual-file-name, file-name"): New tests.
2015-09-14 18:02:37 -05:00
Steve Sprang eb95ace9f1 download: Avoid type errors when formatting download progress output.
* guix/build/download.scm (nearest-exact-integer): New procedure.
  (seconds->string, byte-count->string): Use it.
2015-09-14 23:36:26 -04:00
Ludovic Courtès d89e0990f5 guix system: Gracefully handle incomplete commands.
Fixes <http://bugs.gnu.org/21451>.
Reported by Steve Sprang <steve.sprang@gmail.com>.

* guix/scripts/system.scm (guix-system)[option-arguments]: Error out
  when ACTION is #f.
2015-09-15 00:04:27 +02:00
Mathieu Lirzin 17d8e33f31 doc: Use the recommended Scheme format.
Apply the recommended formatting rules from '.dir-locals.el' to the
examples in the manual in order to fulfill it's purpose of being a
reference.

* doc/package-hello.scm: Indent it.
* doc/guix.texi (Defining Packages, Version Numbers): Likewise.
* gnu/packages/base.scm (hello): Be consistent with the manual.
2015-09-14 23:10:58 +02:00
Pjotr Prins 9c38b54027 gnu: Add bio-locus.
* gnu/packages/bioinformatics.scm (bio-locus): New variable.
2015-09-14 12:06:04 -04:00
David Thompson 801a0a2219 Revert "gnu: Add bio-locus."
This reverts commit b429c4fbb0.
2015-09-14 12:05:15 -04:00
Pjotr Prins b429c4fbb0 gnu: Add bio-locus.
* gnu/packages/bioinformatics.scm (bio-locus): New variable.
2015-09-14 11:36:30 -04:00
宋文武 1b7b7f27bd gnu: cmake: Update to 3.3.1.
* gnu/packages/cmake.scm (cmake): Update to 3.3.1.  Enable parallel
  tests.
2015-09-14 21:05:38 +08:00
David Thompson 239db054a7 gnu: system: Add Linux container module.
* gnu/system/linux-container.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/system.scm: Export 'operating-system-etc-directory',
  'operating-system-boot-script', 'operating-system-locale-directory', and
  'file-union'.
  (operating-system-boot-script): Add #:container? keyword argument.
  (operating-system-activation-script): Add #:container?  keyword argument.
  Don't call 'activate-firmware' or 'activate-ptrace-attach' when activating a
  container.
2015-09-14 08:30:46 -04:00
David Thompson 5dc876231b build: ruby: Add support for tarball and directory sources.
Previously, the Ruby build system only knew how to work with gem archives,
which made it difficult to build unreleased gems from a Git repository or
released gems in tarball form.

* gnu/build/ruby-build-system.scm (gnu:unpack, gem-archive?): New procedures.
  (unpack): Use GNU build system unpack phase for non-gem sources.
  (build): Rebuild the gemspec iff the source is a gem archive.
* guix.texi ("ruby-build-system"): Mention that tarballs and directories are
  acceptable.
2015-09-14 08:29:07 -04:00
宋文武 f56e8f5730 gnu: pciutils: Update to 3.3.1.
* gnu/packages/pciutils.scm (pciutils): Update to 3.3.1.
2015-09-14 20:01:13 +08:00
宋文武 62bffcaa3b Revert "gnu: libtasn1: Update to 4.6."
Causes a test of GnuTLS to fail:
<http://lists.gnu.org/archive/html/help-libtasn1/2015-09/msg00003.html>.

This reverts commit 866ee34f7e.
2015-09-14 19:21:23 +08:00
Cyril Roelandt 27cc9f2544 gnu: Add python-oslo.utils.
* gnu/packages/openstack.scm (python-oslo.utils, python2-oslo.utils): New variables.
2015-09-14 00:14:56 +02:00
Cyril Roelandt 2713527e06 gnu: Add python-debtcollector.
* gnu/packages/openstack.scm (python-debtcollector,
  python2-debtcollector): New variables.
2015-09-14 00:14:56 +02:00
Cyril Roelandt 5e412b6383 gnu: Add python-monotonic.
* gnu/packages/python.scm (python-monotonic, python2-monotonic): New variables.
2015-09-14 00:14:56 +02:00
Cyril Roelandt b85c85becd gnu: Add python-iso8601.
* gnu/packages/python.scm (python-iso8601, python2-iso8601): New variables.
2015-09-14 00:14:55 +02:00
Cyril Roelandt 8c692a5258 gnu: Add python-wrapt
* gnu/packages/python.scm (python-wrapt, python2-wrapt): New variables.
2015-09-14 00:14:53 +02:00
Cyril Roelandt ed56af06bc gnu: Add python-oslo.config.
* gnu/packages/openstack.scm (python-oslo.config, python2-oslo.config): New variables.
2015-09-13 23:31:57 +02:00
Cyril Roelandt 673d1a9deb gnu: Add python-stevedore.
* gnu/packages/openstack.scm (python-stevedore, python2-stevedore): New variables.
2015-09-13 23:28:50 +02:00
Cyril Roelandt 6e5e39f406 gnu: Add python-netaddr.
* gnu/packages/python.scm (python-netaddr, python2-netaddr): New variables.
2015-09-13 23:21:54 +02:00
Ludovic Courtès fb76332f80 gnu: libidn: Update to 1.32.
* gnu/packages/libidn.scm (libidn): Update to 1.32.
2015-09-13 21:36:13 +02:00
Ludovic Courtès 75710da667 Merge branch 'master' into core-updates 2015-09-13 21:28:01 +02:00
Mathieu Lirzin 59ef20304b gnu: Add cvs-fast-export.
* gnu/packages/version-control.scm (cvs-fast-export): New variable.
2015-09-13 21:23:45 +02:00
Ludovic Courtès 610075f7c9 gnu: gnupg: Update to 2.1.8.
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.8.
2015-09-13 21:17:30 +02:00
Ludovic Courtès 92d0fcb6dc gnu: cpio: Upgrade to 2.12.
* gnu/packages/cpio.scm (cpio): Update to 2.12.
  [source]: Remove 'patches' field.
* gnu/packages/patches/cpio-CVE-2014-9112-pt1.patch,
  gnu/packages/patches/cpio-CVE-2014-9112-pt2.patch,
  gnu/packages/patches/cpio-CVE-2014-9112-pt3.patch,
  gnu/packages/patches/cpio-CVE-2014-9112-pt4.patch,
  gnu/packages/patches/cpio-CVE-2014-9112-pt5.patch,
  gnu/packages/patches/cpio-fix-symlink-bad-length-test.patch: Remove.
* gnu-system.am (dist_patch_DATA): Remove.
2015-09-13 21:14:23 +02:00
David Thompson 73374a68e9 gnu: tiled: Update to 0.13.1.
* gnu/packages/game-development.scm (tiled): Update to 0.13.1.
2015-09-13 09:20:03 -04:00
David Thompson 785fb60e1f gnu: redis: Update to 3.0.4
* gnu/packages/databases.scm (redis): Update to 3.0.4.
2015-09-13 09:04:40 -04:00
宋文武 ab20c2cc33 gnu: gnutls: Update to 3.4.5.
* gnu/packages/tls.scm (gnutls): Update to 3.4.5.
2015-09-13 18:39:39 +08:00
宋文武 e5fe08e4ba gnu: cups: Update to 2.1.0.
* gnu/packages/cups.scm (cups, cups-minimal): Update to 2.1.0.
2015-09-13 18:39:39 +08:00
宋文武 5fd92f2063 gnu: cups-filters: Update to 1.0.75.
* gnu/packages/cups.scm (cups-filters): Update to 1.0.75.
2015-09-13 18:39:39 +08:00
宋文武 47959dd442 gnu: qpdf: Update to 5.1.3.
* gnu/packages/pdf.scm (qpdf): Update to 5.1.3.
2015-09-13 18:39:39 +08:00
宋文武 62a9a23bf9 gnu: python-setuptools: Update to 18.3.1.
* gnu/packages/python.scm (python-setuptools): Update to 18.3.1.
2015-09-13 18:39:39 +08:00
宋文武 67e463ecac gnu: openldap: Update to 2.4.42.
* gnu/packages/openldap.scm (openldap): Update to 2.4.42.
2015-09-13 18:39:39 +08:00
Ludovic Courtès 0081410da0 Revert "services: 'mingetty-service' no longer takes monadic values."
This reverts commit daa48c3179.
2015-09-13 12:04:55 +02:00
Leo Famulari 82aa2a2879 gnu: Add lz4.
* gnu/packages/compression.scm (lz4): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-09-13 12:01:34 +02:00
Ludovic Courtès daa48c3179 services: 'mingetty-service' no longer takes monadic values.
* gnu/services/base.scm (mingetty-service): Change default value of
  #:motd from a monadic value to a <plain-file>.  Assume MOTD to be a
  file-like object.  Assume LOGIN-PROGRAM is a gexp or #f.
  (%base-services): Use 'plain-file' instead of 'text-file' for motd.
* gnu/system/linux.scm (unix-pam-service): Update docstring to mention
  that MOTD is a file-like object.
* doc/guix.texi (Base Services): Adjust 'mingetty-service' documentation
  accordingly.
2015-09-13 11:54:56 +02:00
Ricardo Wurmus 5fbbd29f74 gnu: Add ibus-libpinyin.
* gnu/packages/ibus.scm (ibus-libpinyin): New variable.
2015-09-12 22:51:44 +02:00
Ricardo Wurmus 12edffe429 gnu: Add libpinyin.
* gnu/packages/ibus.scm (libpinyin): New variable.
2015-09-12 22:51:44 +02:00
David Thompson 5708a92ace gnu: minetest: Update to 0.4.13.
* gnu/packages/games.scm (minetest-data, minetest): Update to 0.4.13.
2015-09-12 11:46:31 -04:00
宋文武 a6eb73a4b1 gnu: tk: Update to 8.6.4.
* gnu/packages/tcl.scm (tk): Update to 8.6.4.
2015-09-12 15:34:27 +08:00
宋文武 84439c5113 gnu: tcl: Update to 8.6.4.
* gnu/packages/tcl.scm (tcl): Update to 8.6.4.
2015-09-12 15:25:13 +08:00
宋文武 c0ec516dc8 gnu: lzo: Update to 2.09.
* gnu/packages/compression.scm (lzo): Update to 2.09.
2015-09-12 15:02:26 +08:00
宋文武 866ee34f7e gnu: libtasn1: Update to 4.6.
* gnu/packages/tls.scm (libtasn1): Update to 4.6.
2015-09-12 15:02:22 +08:00
宋文武 ea50a7cf73 Revert "gnu: lzo: Update to 2.09."
This reverts commit 5cfb91c7d4.
2015-09-12 15:01:49 +08:00
宋文武 5cfb91c7d4 gnu: lzo: Update to 2.09.
* gnu/packages/compression.scm (lzo): Update to 2.09.
2015-09-12 14:18:09 +08:00
宋文武 aacb86fd79 gnu: glib: Update to 2.44.1.
* gnu/packages/glib.scm (glib): Update to 2.44.1.
2015-09-12 13:34:04 +08:00
宋文武 42e666494d gnu: sqlite: Update to 3.8.11.1.
* gnu/packages/databases.scm (sqlite): Update to 3.8.11.1.
  [source](uri): Add 'http://distfiles.gentoo.org'.
2015-09-12 11:55:45 +08:00
Ludovic Courtès 895067ff49 gnu: coreutils: Skip racy 'tail' tests.
This works around <http://bugs.gnu.org/21460>.

* gnu/packages/patches/coreutils-racy-tail-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (coreutils): Use it.
2015-09-11 23:16:37 +02:00
Efraim Flashner e693db426b gnu: enlightenment: Update to 0.19.9.
* gnu/packages/enlightenment (enlightenment): Update to 0.19.9.

Signed-off-by: Mathieu Lirzin <mthl@openmailbox.org>
2015-09-11 23:00:12 +02:00
Efraim Flashner 16460dc0e8 gnu: emotion-generic-players: Update to 1.15.0.
* gnu/packages/enlightenment.scm (emotion-generic-players):
  Update to 1.15.0.

Signed-off-by: Mathieu Lirzin <mthl@openmailbox.org>
2015-09-11 23:00:12 +02:00
Efraim Flashner 735331de2e gnu: evas-generic-loaders: Update to 1.15.0.
* gnu/packages/enlightenment.scm (evas-generic-loaders):
  Update to 1.15.0.

Signed-off-by: Mathieu Lirzin <mthl@openmailbox.org>
2015-09-11 23:00:12 +02:00
Efraim Flashner 3c07ae5d6e gnu: elementary: Update to 1.15.1.
* gnu/packages/enlightenment.scm (elementary): Update to 1.15.1.

Signed-off-by: Mathieu Lirzin <mthl@openmailbox.org>
2015-09-11 23:00:12 +02:00
Efraim Flashner f4db48580e gnu: efl: Update to 1.15.1.
* gnu/packages/enlightenment.scm (efl): Update to 1.15.1.

Signed-off-by: Mathieu Lirzin <mthl@openmailbox.org>
2015-09-11 23:00:12 +02:00
Efraim Flashner dab148b6e6 gnu: terminology: Update to 0.9.0.
* gnu/packages/enlightenment.scm (terminology): Update to 0.9.0.

Signed-off-by: Mathieu Lirzin <mthl@openmailbox.org>
2015-09-11 23:00:12 +02:00
Efraim Flashner b7610f23bd gnu: ncdu: Update to 1.11.
* gnu/packages/ncdu.scm (ncdu): Update to 1.11.

Signed-off-by: Mathieu Lirzin <mthl@openmailbox.org>
2015-09-11 23:00:12 +02:00
Andreas Enge b86c013c68 gnu: bdb: Add configure flag to fix C++ header file.
* gnu/packages/databases.scm (bdb): Build with "--enable-cxx", which causes
  HAVE_CXX_STDHEADERS to be defined in db_cxx.h in the output.
2015-09-11 22:42:23 +02:00
Andreas Enge 5bef7749d5 gnu: bdb: Fix indentation.
* gnu/packages/databases.scm (bdb): Fix indentation.
2015-09-11 22:42:11 +02:00
Andreas Enge c84940ef81 Revert "gnu: bdb: Fix indentation."
This reverts commit 41996f22ab.
2015-09-11 22:40:22 +02:00
Andreas Enge 51c591baa5 Revert "gnu: bdb: Add configure flag to fix C++ header file."
This reverts commit e4c3e2cd43.
2015-09-11 22:40:15 +02:00
Andreas Enge e4c3e2cd43 gnu: bdb: Add configure flag to fix C++ header file.
* gnu/packages/databases.scm (bdb): Build with "--enable-cxx", which causes
  HAVE_CXX_STDHEADERS to be defined in db_cxx.h in the output.
2015-09-11 22:36:50 +02:00
Andreas Enge 41996f22ab gnu: bdb: Fix indentation.
* gnu/packages/databases.scm (bdb): Fix indentation.
2015-09-11 22:36:50 +02:00
Ludovic Courtès 6fd66b6c99 gnu: Add emacs-debbugs.
* gnu/packages/emacs.scm (emacs-debbugs): New variable.
2015-09-11 22:00:23 +02:00
宋文武 d495634bc5 gnu: perl-xml-parser: Update to 2.44.
* gnu/packages/xml.scm (perl-xml-parser): Update to 2.44.
  [homepage]: Adjust accordingly.
2015-09-11 21:44:08 +08:00
宋文武 e378020042 gnu: linux-pam: Update to 1.2.1.
* gnu/packages/linux.scm (linux-pam): Update to 1.2.1.
2015-09-11 21:00:43 +08:00
宋文武 a35b8fc6c4 gnu: gtk+: Update to 3.16.6.
* gnu/packages/gtk.scm (gtk+): Update to 3.16.6.
2015-09-11 20:31:10 +08:00
宋文武 6847247c39 gnu: poppler: Update 0.36.0.
* gnu/packages/pdf.scm (poppler): Update to 0.36.0.
2015-09-11 20:28:02 +08:00
宋文武 f47fbeb23a build-system/glib-or-gtk: Don't generate 'icon-theme.cache'.
* guix/build-system/glib-or-gtk.scm (default-gtk+): Remove.
  (lower): Adjust accordingly.
* guix/build/glib-or-gtk-build-system.scm (generate-icon-cache): Remove.
  (%standard-phases): Remove 'glib-or-gtk-icon-cache' phase.
2015-09-11 20:24:30 +08:00
Siniša Biđin 78edf44ce7 gnu: Add ghc-xmonad-contrib.
* gnu/packages/wm.scm (ghc-xmonad-contrib): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-09-11 03:23:13 -05:00
Siniša Biđin 6e38c4be4f gnu: Add xmonad.
* gnu/packages/wm.scm (xmonad): New variable.

Co-authored-by: Eric Bavier <bavier@member.fsf.org>
2015-09-11 03:18:32 -05:00
Ludovic Courtès a1d5a6f913 gnu: libxt: Add "doc" output.
* gnu/packages/xorg.scm (libxt)[outputs, arguments]: New fields.
2015-09-11 09:46:52 +02:00
Ludovic Courtès bac4818467 gnu: libx11: Add "doc" output.
* gnu/packages/xorg.scm (libx11)[outputs, arguments]: New fields.
2015-09-11 09:46:47 +02:00
Mark H Weaver 574d9db2ce services: elogind-configuration: Disable hibernation key by default.
* gnu/services/desktop.scm (<elogind-configuration>): Change the default value
  of the 'handle-hibernate-key' field to 'ignore'.
2015-09-10 19:46:30 -04:00
Mark H Weaver 4307c476c4 services: Add udev rules for (upower colord elogind) to %desktop-services.
* gnu/services/desktop.scm (%desktop-services): Replace the 'udev-service'
  from %base-services.
* gnu/services/base.scm (%base-services): Add a comment to keep them in sync.
2015-09-10 19:46:13 -04:00
Mark H Weaver 14454f0bc5 file-systems: Add %elogind-file-systems; add it to %base-file-systems.
* gnu/system/file-systems.scm (%elogind-file-systems): New variable.
  (%base-file-systems): Add %elogind-file-systems.
2015-09-10 19:45:26 -04:00
Ludovic Courtès 3f208ad758 guix build: '--log-file' can return URLs.
* guix/scripts/build.scm (%default-log-urls): New variable.
  (log-url): New procedure.
  (guix-build): Use it.
* doc/guix.texi (Invoking guix build): Document it.
2015-09-10 23:14:16 +02:00
Ludovic Courtès 6b02a448d2 http-client: Backport delimited input port fix from Guile.
* guix/http-client.scm (make-delimited-input-port): Backport Guile
  commit 5a10e41.
  Monkey-patch 'make-delimited-input-port' for any Guile <= 2.0.11.
2015-09-10 23:14:16 +02:00
Ludovic Courtès 1c01a30d66 http-client: Remove redundant import clause.
* guix/http-client.scm: Remove redundant #:use-module (guix utils).
2015-09-10 23:14:16 +02:00
Eric Bavier c6a3635d54 gnu: perl: Fix autosplitting of 0-time source.
* gnu/packages/patches/perl-autosplit-default-time.patch: New patch.
* gnu/packages/perl.scm (perl): Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-09-10 03:40:34 -05:00
Eric Bavier 8b94dffde8 gnu: gnucash: Add Finance::Quote support.
* gnu/packages/patches/gnucash-price-quotes-perl.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gnucash.scm (gnucash)[source]: Use it.
  [inputs]: Add perl-date-manip and perl-finance-quote.
  [arguments]: Add 'wrap-programs' phase.  Move below inputs.
2015-09-10 03:21:55 -05:00
Eric Bavier a6d0b306c2 guix: packages: Add transitive-input-references.
* guix/packages.scm (transitive-input-references): New procedure.
* gnu/packages/version-control.scm (package-transitive-propagated-labels*)
  (package-propagated-input-refs): Delete.
  (git)[arguments]: Adjust to transitive-input-references.
2015-09-10 03:21:55 -05:00
Eric Bavier 8b45993235 gnu: Add perl-finance-quote.
* gnu/packages/web.scm (perl-finance-quote): New variable.
* gnu/packages/patches/perl-finance-quote-unuse-mozilla-ca.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
2015-09-10 03:21:55 -05:00
Eric Bavier bb1ba6b8f7 gnu: Add perl-date-manip.
* gnu/packages/perl.scm (perl-date-manip): New variable.
2015-09-10 03:21:55 -05:00
Eric Bavier 9cf6c9fcf0 gnu: Add perl-html-tableextract.
* gnu/packages/web.scm (perl-html-tableextract): New variable.
2015-09-10 03:21:55 -05:00
Eric Bavier c1b9e7e7b5 gnu: Add perl-html-element-extended.
* gnu/packages/web.scm (perl-html-element-extended): New variable.
2015-09-10 03:21:55 -05:00
Efraim Flashner a1121a7f83 gnu: ffmpeg: Update to 2.8.
* gnu/packages/video.scm (ffmpeg): Update to 2.8.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-09-10 11:55:51 +02:00
Ludovic Courtès ef30b974c9 pull: Update to the new cgit snapshot URL.
* guix/scripts/pull.scm (%snapshot-url): Update to the new URL.
2015-09-10 08:49:36 +02:00
Ludovic Courtès 9d9847e153 gnu: curl: Move man3 pages to "doc" output.
* gnu/packages/curl.scm (curl)[outputs]: New field.
  [arguments]: Add 'move-man3-pages' phase.
2015-09-09 23:29:50 +02:00
Ludovic Courtès 5625adfccc gnu: curl: Use 'modify-phases'.
* gnu/packages/curl.scm (curl)[arguments]: Use 'modify-phases'.
2015-09-09 23:29:50 +02:00
Ludovic Courtès 2fecbdbd82 gnu: gdb: Remove headers and libraries already in Binutils.
* gnu/packages/gdb.scm (gdb)[arguments]: Add #:modules.  Rename
  'post-install' phase to 'remove-libs-already-in-binutils'.  Change it
  to compute the intersection of the set of headers and libraries of GDB
  vs. Binutils and to remove each of the files found in both.
2015-09-09 23:27:10 +02:00
Ludovic Courtès f19b9b96cd gnu: gdb: Use 'modify-phases'.
* gnu/packages/gdb.scm (gdb)[arguments]: Use 'modify-phases'.
2015-09-09 23:27:10 +02:00
Ludovic Courtès c0a1ea2c75 gnu: gdb: Update to 7.10.
* gnu/packages/gdb.scm (gdb): Update to 7.10.
2015-09-09 23:27:10 +02:00
Ludovic Courtès 0334ef2ab0 linux-initrd: Compress cpio archives deterministically.
* gnu/build/linux-initrd.scm (write-cpio-archive): Use '--no-name'.
2015-09-09 23:27:10 +02:00
Mark H Weaver eb55e28c84 hydra: Remove cross-builds from armhf-linux to mips64el-linux-gnuabi64.
* build-aux/hydra/gnu-system.scm (hydra-jobs)[cross-jobs]: Modify
  'from-32-to-64?' to include 'armhf-linux' in the set of 32-bit systems.
2015-09-09 16:35:03 -04:00
Ludovic Courtès 784d6e9115 gnu: openssl: Remove run-time dependency on Perl.
This shrinks the closure of OpenSSL from 154 MiB to 73 MiB.

* gnu/packages/patches/openssl-c-rehash.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/tls.scm (openssl)[source]: Use it.
  [arguments]: Add 'remove-miscellany' phase.
* gnu/packages/certs.scm (nss-certs)[native-inputs]: Add PERL.
2015-09-09 19:01:48 +02:00
Ludovic Courtès fe8199a80c gnu: openssl: Allow shared objects to be stripped.
* gnu/packages/tls.scm (openssl)[arguments]: Add
  'make-libraries-writable' phase.
2015-09-09 18:31:05 +02:00
Ludovic Courtès 4fb254a339 gnu: openssl: Install data and documentation to PREFIX/share.
* gnu/packages/tls.scm (openssl)[arguments]: Add 'fix-man-dir' phase.
  Pass --openssldir=PREFIX/share/openssl-VERSION to ./config.
2015-09-09 18:17:38 +02:00
Ludovic Courtès b6cb13583b gnu: openssl: Use 'modify-phases'.
* gnu/packages/tls.scm (openssl)[arguments]: Use 'modify-phases'.
2015-09-09 15:31:23 +02:00
Ludovic Courtès 6f6eb85760 gnu: libtiff: Add "doc" output.
* gnu/packages/image.scm (libtiff)[outputs, arguments]: New fields.
2015-09-09 15:25:05 +02:00
宋文武 363ccf9fe2 gnu: xfce4-settings: Set the default icon theme to "gnome".
Fixes <http://bugs.gnu.org/21217>.

* gnu/packages/patches/xfce4-settings-defaults.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xfce.scm (xfce4-settings)[source]: Add patch.
2015-09-09 21:06:30 +08:00
Ricardo Wurmus c940a14559 gnu: ibus: Suggest search path.
* gnu/packages/ibus.scm (ibus)[native-search-paths]: Add path specification
  for IBUS_COMPONENT_PATH.
2015-09-09 07:25:27 +02:00
Ricardo Wurmus 3d3caf1f31 gnu: Add gMTP.
* gnu/packages/libusb.scm (gmtp): New variable.
2015-09-09 07:03:26 +02:00
Ricardo Wurmus 5b86a5842c gnu: ibus: Update to 1.5.11.
* gnu/packages/ibus.scm (ibus): Update to 1.5.11.
2015-09-09 07:01:12 +02:00
Ricardo Wurmus a228fce597 gnu: qsynth: Update to 0.4.0.
* gnu/packages/audio.scm (qsynth): Update to 0.4.0.
2015-09-09 07:00:42 +02:00
Cyril Roelandt 5a4849e11c gnu: oslotest: Update to 1.10.0
* gnu/packages/openstack.scm (python-oslotest): Update to 1.10.0.
2015-09-08 23:19:31 +02:00
Ludovic Courtès 6f96706d6f gnu: sqlite: Switch to alternate source URL.
* gnu/packages/databases.scm (sqlite)[source]: Add fossies.org URL.
2015-09-08 22:21:00 +02:00
Steve Sprang 0c0a1f22ce build: Improve information density and appearance of download progress output.
* guix/build/download.scm (seconds->string): New function.
  (byte-count->string): New function.
  (progress-bar): New function.
  (throughput->string): Remove function.
  (progress-proc): Display base file name, elapsed time, and progress bar.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-09-08 21:47:30 +02:00
Ludovic Courtès c5d8e688dc gnu: glibc: Patch 'openat64', which was buggy on 32-bit platforms.
* gnu/packages/patches/glibc-o-largefile.patch: New file.
* gnu/packages/base.scm (glibc)[source]: Add it to 'patches'.
* gnu-system.am (dist_patch_DATA): Add it.
2015-09-08 15:53:05 +02:00
Mathieu Lirzin 1cd4027cfd ui: Add package-description-string.
Provide support for Texinfo's markup in package description.

* guix/ui.scm (%text-width): New parameter.
  (texi->plain-text): New variable.
  (package->recutils): Use them.
  (package-description-string): New variable.
* emacs/guix-main.scm (%package-param-alist): Use it.
* gnu/packages/perl.scm (perl-devel-globaldestruction)
  (perl-devel-lexalias, perl-exporter-lite): Adapt to Texinfo's markup.
* gnu/packages/python.scm (python2-empy): Likewise.
2015-09-08 07:44:53 +02:00
Cyril Roelandt 8531b326f1 gnu: Add oslo.i18n.
* gnu/packages/openstack.scm (python-oslo.i18n, python2-oslo.i18n): New
  variables.
2015-09-08 00:14:11 +02:00
Cyril Roelandt 05de40c5d3 gnu: python-testtools: fix propagated inputs.
* gnu/packages/python.scm (python-testools): turn python-fixtures and
  python-testtools into propagated inputs.
2015-09-08 00:14:11 +02:00
Cyril Roelandt ea8e40d031 gnu: pbr: Update to 1.6.0
* gnu/packages/openstack.scm (python-pbr): Update to 1.6.0.
2015-09-08 00:11:16 +02:00
David Thompson 64b6ccc30e gnu: Add ruby-rack.
* gnu/packages/ruby.scm (ruby-rack): New variable.
2015-09-07 13:43:44 -04:00
David Thompson ee78d02452 build: container: Use the same clone flags as fork(3).
The intent is to make 'clone' behave a lot more like 'primitive-fork', which
calls clone(2) with SIGCHLD, CLONE_CHILD_CLEARTID, and CLONE_CHILD_SETTID
flags.  Notably, running 'clone' at the REPL without these flags would break
the REPL beyond repair.

* guix/build/syscalls.scm (CLONE_CHILD_CLEARTID, CLONE_CHILD_SETTID): New
  variables.
* gnu/build/linux-container.scm (namespaces->bit-mask): Add
  CLONE_CHILD_CLEARTID and CLONE_CHILD_SETTID to bit mask.
2015-09-07 13:09:58 -04:00
David Thompson 4949ada9da build: container: Setup /dev/console.
* gnu/build/linux-container.scm (mount-file-systems): Bind mount the
  controlling terminal as /dev/console.
2015-09-07 13:09:58 -04:00
David Thompson 468e56576c gnu: Add ruby-byebug.
* gnu/packages/ruby.scm (ruby-byebug): New variable.
2015-09-07 08:27:57 -04:00
David Thompson 4a9e058566 gnu: Add ruby-pg.
* gnu/packages/ruby.scm (ruby-pg): New variable.
2015-09-07 08:27:37 -04:00
David Thompson b500e7182d build: ruby: Avoid long build directory names.
Having the hash of the source gem in the source directory file name proved to
be problematic when running the test suite for the 'pg' gem that creates
UNIX-domain sockets in the source directory and exceeded the 108 character
limit on GNU/Linux systems.

* guix/build/ruby-build-system.scm (unpack): Rename unpacked gem directory to
  "gem".
2015-09-07 08:27:10 -04:00
Mark H Weaver 140b4bc6cd packages: Build tarballs in sorted order even if tar doesn't support it.
This is a followup to commit 92226a470d.

* guix/packages.scm (patch-and-repack)[build]: Determine if tar supports the
  "--sort=name" option using a run-time test.  If not supported, generate the
  sorted file list with 'find-files' and pass it to tar using "--files-from".
2015-09-06 17:25:51 -04:00
Mark H Weaver f4ae827e26 utils: find-files: Add DIRECTORIES? and FAIL-ON-ERROR? arguments.
* guix/build/utils.scm (find-files): Add DIRECTORIES? and FAIL-ON-ERROR?
  keyword arguments.
2015-09-06 17:25:50 -04:00
Andreas Enge 8957241dd4 gnu: Add enblend-enfuse.
* gnu/packages/photo.scm (enblend-enfuse): New variable.
2015-09-06 23:12:51 +02:00
Andreas Enge f03c0e01ca gnu: calibre: Update to 2.37.1.
* gnu/packages/ebook.scm (calibre): Update to 2.37.1.
2015-09-06 22:36:34 +02:00
Andreas Enge 194c7f95f1 gnu: Add FLANN.
* gnu/packages/maths.scm (flann): New variable.
2015-09-06 19:34:09 +02:00
Efraim Flashner a1703aa765 gnu: youtube-dl: Update to 2015.09.03.
* gnu/packages/video.scm (youtube-dl): Update to 2015.09.03.
2015-09-06 18:24:18 +02:00
Andreas Enge 0e6412c1d0 gnu: Add libpano13.
* gnu/packages/photo.scm (libpano13): New variable.
2015-09-06 18:20:01 +02:00
宋文武 f5c0b04bfe gnu: poppler: Update to 0.35.0.
* gnu/packages/pdf.scm (poppler): Update to 0.35.0.
2015-09-06 21:52:21 +08:00
宋文武 81ece42981 gnu: harfbuzz: Update to 1.0.3.
* gnu/packages/gtk.scm (harfbuzz): Update to 1.0.3.
2015-09-06 21:52:21 +08:00
宋文武 e6f22a828e gnu: graphite2: Update to 1.3.1.
* gnu/packages/fontutils.scm (graphite2): Update to 1.3.1.  Remove
  unused PERL from inputs.
  [native-inputs]: New field.
2015-09-06 21:52:21 +08:00
宋文武 d582eaacec gnu: Add python-fonttools.
* gnu/packages/python.scm (python-fonttools, python2-fonttools): New
  variables.
2015-09-06 21:52:21 +08:00
宋文武 030fa12ef2 gnu: fontconfig: Update to 2.11.94.
* gnu/packages/fontutils.scm (fontconfig): Update to 2.11.94.
  [arguments]: Pass '--with-cache-dir=/var/cache/fontconfig' to configure.
  Add #:phases.
2015-09-06 21:52:21 +08:00
Ludovic Courtès a5c0d8bc55 ui: Change 'P_' to return the empty string when passed the empty string.
Reported by Mathieu Lirzin <mathieu.lirzin@etu.u-bordeaux.fr>
at <https://lists.gnu.org/archive/html/guix-devel/2015-09/msg00111.html>.

* guix/ui.scm (P_): Check whether MSGID is empty, and return it if it is.
2015-09-06 15:52:04 +02:00
David Thompson 37ab3abad3 Update copyright information in (gnu packages ruby). 2015-09-06 09:39:18 -04:00
David Thompson f847ad7bc0 gnu: Add ruby-ox.
* gnu/packages/ruby.scm (ruby-ox): New variable.
2015-09-06 09:24:17 -04:00
David Thompson 5ff89a1bd2 gnu: Add ruby-activesupport.
* gnu/packages/ruby.scm (ruby-activesupport): New variable.
2015-09-06 09:24:17 -04:00
David Thompson c99e224707 gnu: Add ruby-json.
* gnu/packages/ruby.scm (ruby-json): New variable.
2015-09-06 09:08:49 -04:00
David Thompson 08a1b7013d gnu: Add ruby-tzinfo.
* gnu/packages/ruby.scm (ruby-tzinfo): New variable.
2015-09-06 09:08:49 -04:00
David Thompson 1415792a7c gnu: Add ruby-thread-safe.
* gnu/packages/ruby.scm (ruby-thread-safe): New variable.
2015-09-06 09:08:49 -04:00
David Thompson 96e76083b8 gnu: Add ruby-pry.
* gnu/packages/ruby.scm (ruby-pry): New variable.
2015-09-06 09:08:48 -04:00
David Thompson 5337f8b97d gnu: Add ruby-slop-3.
* gnu/packages/ruby.scm (ruby-slop-3): New variable.
2015-09-06 09:08:48 -04:00
David Thompson 2e3fdea441 gnu: Add ruby-coderay.
* gnu/packages/ruby.scm (ruby-coderay): New variable.
2015-09-06 09:08:48 -04:00
David Thompson 30b0b725ff gnu: Add ruby-method-source.
* gnu/packages/ruby.scm (ruby-method-source): New variable.
2015-09-06 09:08:47 -04:00
Ludovic Courtès 386b0052f5 gnu: sound-theme-freedesktop: Specify the applicable licenses.
* gnu/packages/libcanberra.scm (sound-theme-freedesktop)[license]:
  Specify the actual licenses that apply.
2015-09-06 12:36:15 +02:00
Ludovic Courtès 12abc6e395 licenses: Add CC-BY-SA and CC-BY.
* guix/licenses.scm (cc-by-sa4.0, cc-by3.0): New variables.
2015-09-06 12:36:15 +02:00
Ludovic Courtès 90f2801e21 gnu: Set license of the bootstrap tools.
* gnu/packages/bootstrap.scm (package-from-tarball)[license]: Set to
  GPL3+.
* gnu/packages/make-bootstrap.scm (%static-binaries)[license]:
  Likewise.
2015-09-06 12:36:15 +02:00
Ludovic Courtès 52b9efe337 lint: Add 'license' checker.
* guix/scripts/lint.scm (check-license): New procedure.
  (%checkers): Add 'license' checker.
* tests/lint.scm ("license: invalid license"): New test.
2015-09-06 12:36:15 +02:00
Ludovic Courtès 718a2bde42 gnu: r-stringr: Provide valid 'home-page' URL.
* gnu/packages/statistics.scm (r-stringr)[home-page]: Set to valid URL.
2015-09-06 12:36:15 +02:00
Alex Kost d0f74308e2 gnu: coreutils-light: Rename to coreutils-minimal.
* gnu/packages/base.scm (coreutils-light): Rename to ...
  (coreutils-minimal): ...this.
* gnu/packages/commencement.scm (%boot5-inputs): Use it.
2015-09-06 12:33:21 +03:00
Alex Kost f24931d841 gnu: bash-light: Rename to bash-minimal.
* gnu/packages/bash.scm (bash-light): Rename to ...
  (bash-minimal): ...this.
  (static-bash): Use it.
* gnu/packages/make-bootstrap.scm (%bash-static): Use it.
2015-09-06 12:33:21 +03:00
Alex Kost 6480fcae24 emacs-build-system: Fix a file name of info directory.
* guix/build/emacs-build-system.scm (move-doc): Adjust to use
  "/share/info" instead of its sub-directory.
2015-09-06 12:15:51 +03:00
Alex Kost 1ce6f43a6b gnu: wpa-supplicant-light: Rename to wpa-supplicant-minimal.
* gnu/packages/admin.scm (wpa-supplicant-light): Rename to ...
  (wpa-supplicant-minimal): ...this.
  (wpa-supplicant): Use it.
* gnu/system/install.scm (installation-os): Use it.
2015-09-06 12:14:57 +03:00
Leo Famulari 761b3d44fb gnu: Add Anonymous Pro fonts.
* gnu/packages/fonts.scm (font-anonymous-pro): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-09-06 12:13:37 +03:00
David Thompson e920bfcacf gnu: Add ruby-nokogiri.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>

* gnu/packages/ruby.scm (ruby-nokogiri): New variable.
2015-09-05 20:24:08 -04:00
David Thompson bea1c0e246 gnu: Add ruby-mini-portile.
* gnu/packages/ruby.scm (ruby-mini-portile): New variable.
2015-09-05 20:24:00 -04:00
David Thompson 616eaead7e gnu: Add ruby-minitar.
* gnu/packages/ruby.scm (ruby-minitar): New variable.
2015-09-05 20:23:44 -04:00
Ludovic Courtès cfc5d39888 tests: Fix typos.
* tests/derivations.scm ("substitutable-derivation?",
  "derivation-prerequisites-to-build and substitutes, local build"): Fix
  harmless typos.
2015-09-05 22:11:03 +02:00
Ludovic Courtès 6b44a09747 download: Disable offloading for downloads.
* guix/download.scm (url-fetch): Use #:local-build? #t.
* guix/git-download.scm (git-fetch): Likewise.
2015-09-05 22:11:03 +02:00
David Thompson cf897cbacc build: syscalls: Properly handle clone errors.
* guix/build/syscalls.scm (clone): Catch -1 return value and throw error.
2015-09-05 13:42:02 -04:00
Andreas Enge b7d0b096b0 gnu: Remove #:select from module import in (gnu packages geeqie).
* gnu/packages/geeqie.scm: Import all of (gnu packages ghostscript) instead
  of selectively only the lcms variable; this helps resolve problems with
  circular dependencies when including the module.
2015-09-05 18:13:54 +02:00
Andreas Enge 1de0afd5a5 gnu: libtiff: Build with the current libjpeg instead of libjpeg-8.
* gnu/packages/image.scm (libtiff)[inputs]: Use libjpeg instead of libjpeg-9.
  [arguments]: Drop the now unneeded field.
2015-09-05 17:58:53 +02:00
Andreas Enge 45468e3649 gnu: libtiff: Update to 4.0.5.
* gnu/packages/patches/libtiff-CVE-2012-4564.patch,
  gnu/packages/patches/libtiff-CVE-2013-1960.patch,
  gnu/packages/patches/libtiff-CVE-2013-1961.patch,
  gnu/packages/patches/libtiff-CVE-2013-4231.patch,
  gnu/packages/patches/libtiff-CVE-2013-4232.patch,
  gnu/packages/patches/libtiff-CVE-2013-4243.patch,
  gnu/packages/patches/libtiff-CVE-2013-4244.patch,
  gnu/packages/patches/libtiff-CVE-2014-8127-pt1.patch,
  gnu/packages/patches/libtiff-CVE-2014-8127-pt2.patch,
  gnu/packages/patches/libtiff-CVE-2014-8127-pt3.patch,
  gnu/packages/patches/libtiff-CVE-2014-8127-pt4.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt1.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt2.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt3.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt4.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt5.patch,
  gnu/packages/patches/libtiff-CVE-2014-8129.patch,
  gnu/packages/patches/libtiff-CVE-2014-9330.patch,
  gnu/packages/patches/libtiff-CVE-2014-9655.patch: Delete files.
* gnu-system.am (dist_patch_DATA): Unregister the patches.
* gnu/packages/image.scm (libtiff): Update to 4.0.5 and drop the patches.
2015-09-05 17:58:45 +02:00
Andreas Enge 6376ed4a34 gnu: libtiff: Update home page.
* gnu/packages/image.scm (libtiff)[home-page]: Update.
2015-09-04 21:51:43 +02:00
Andreas Enge ced7cc92d7 gnu: vigra: Add support for OpenEXR.
* gnu/packages/image.scm (vigra)[inputs]: Add ilmbase and openexr.
  [arguments]: Augment #:configure-flags.
2015-09-04 21:30:00 +02:00
Andreas Enge f06441951c gnu: Order module imports in (gnu packages photo) alphabetically.
* gnu/packages/photo.scm: Order module imports alphabetically.
2015-09-04 21:30:00 +02:00
Andreas Enge 341f496577 gnu: Add prefix to license imports in (gnu packages photo).
* gnu/packages/photo.scm: Import (guix licenses) with #:prefix license: to
  avoid an impending clash with the import of zlib from both (guix licenses)
  and (gnu packages compression).
2015-09-04 21:30:00 +02:00
David Thompson 34582b3037 gnu: guix: Enable container tests.
* gnu/packages/package-management.scm (guix-devel): Delete
  'disable-container-tests' build phase.
2015-09-04 13:14:36 -04:00
Ludovic Courtès dbbc248aee monads: Fix 'liftN' fallback case.
Reported by Andy Wingo <wingo@igalia.com>.

* guix/monads.scm (define-lift) <fallback case>: Add missing #'.  Remove
  extra formal parameter.
* tests/monads.scm ("lift"): Add test with 'lift1' as a procedure.
2015-09-04 18:31:06 +02:00
Ludovic Courtès 3b6eddb2b2 gnu: Add 'patches'.
* gnu/packages/patchutils.scm (patches): New variables.
2015-09-04 18:27:10 +02:00
Ludovic Courtès 1c74da2137 gnu: Add python2-notmuch.
* gnu/packages/mail.scm (python2-notmuch): New variable.
2015-09-04 18:27:10 +02:00
Ludovic Courtès 7c473310a1 gnu: ath9k-htc-firmware: Update to 1.4.0.
* gnu/packages/firmware.scm (ath9k-htc-firmware): Update to 1.4.0.
2015-09-04 18:27:10 +02:00
宋文武 ca64968068 gnu: Rename librest to rest.
* gnu/packages/gnome.scm (rest): Rename from librest.
2015-09-04 23:33:26 +08:00
Alex Kost 00f34aaafe emacs: Add support for "triplet" package inputs.
Fixes <http://bugs.gnu.org/21399>.

* emacs/guix-main.scm (full-name->name+version): Adjust to handle
  "name-version:output" string.
  (package-inputs-names): Support ("name" package "output") inputs.
2015-09-04 16:01:35 +03:00
Manolis Ragkousis 21a8fe1bf5 gnu: base: Add glibc-hurd and hurd-minimal.
* gnu/packages/base.scm (glibc/hurd, glibc/hurd-headers): New variables.
* gnu/packages/hurd.scm (hurd-minimal): New variable.
* gnu/packages/patches/glibc-hurd-extern-inline.patch: New file.
* gnu/packages/patches/libpthread-glibc-preparation.patch: New file.
* gnu-system.am (dist_patch_DATA): Add them.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Co-authored-by: Mark H Weaver <mhw@netris.org>
2015-09-04 13:50:38 +02:00
Ludovic Courtès 035b6ff707 packages: Define '%hurd-systems'.
* guix/packages.scm (%hurd-systems): New variable.
2015-09-04 13:50:38 +02:00
Manolis Ragkousis 70db9576f4 gnu: make-bootstrap: Remove unneeded configure flag from %gcc-static.
With this commit "guix build bootstrap-tarballs --target=i686-pc-gnu" works.

* gnu/packages/make-bootstrap.scm (%gcc-static): Remove unneeded
  --disable-decimal-float.
2015-09-04 13:50:38 +02:00
Manolis Ragkousis a7ecc92dc5 gnu: hurd: Add flex as an input to mig.
* gnu/packages/hurd (mig): Add flex as an input.
2015-09-04 13:50:38 +02:00
Manolis Ragkousis 561840b4aa gnu: acl: Fix i686-gnu build.
* gnu/packages/patches/acl-hurd-path-max.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-09-04 13:50:38 +02:00
Marek Benc 0cce99684a gnu: gcc: Also substitute the dynamic linker name for GNU/Hurd.
* gnu/packages/gcc.scm (gcc-4.7): Also substitute the dynamic linker name
  for GNU (ie. Hurd) systems.

Signed-off-by: Manolis Ragkousis <manolis837@gmail.com>
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-09-04 13:50:38 +02:00
Marek Benc 66feaa320e gnu: bootstrap: Add the location of ld.so on GNU/Hurd.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add the dynamic
  linker for i686-gnu and i585-gnu.

Signed-off-by: Manolis Ragkousis <manolis837@gmail.com>
2015-09-04 13:50:16 +02:00
Ludovic Courtès 52f62492b0 gnu: acl: Remove explicit 'sed' dependency.
* gnu/packages/acl.scm (acl)[native-inputs]: Remove SED, which is
  implicit.
2015-09-04 11:58:37 +02:00
Ludovic Courtès 62ea886525 gnu: coreutils: Drop dependency on libcap when cross-compiling.
* gnu/packages/base.scm (coreutils)[inputs]: Drop LIBCAP
  when (%current-target-system) is true.
2015-09-04 11:56:51 +02:00
Ricardo Wurmus 02615bfa2f gnu: r: Drop texlive from native-inputs.
* gnu/packages/statistics.scm (r)[native-inputs]: Remove "texlive".
2015-09-04 11:55:16 +02:00
Ricardo Wurmus af23b6e946 gnu: r: Install info documentation.
* gnu/packages/statistics.scm (r)[arguments]: Add phases "make-info" and
  "install-info" to build and install info documentation.
2015-09-04 11:55:16 +02:00
Ricardo Wurmus 5e9738b7ca gnu: r: Drop IcedTea from inputs.
* gnu/packages/statistics.scm (r)[inputs]: Remove "icedtea6".
2015-09-04 11:55:16 +02:00
Ludovic Courtès 9d2f48df02 publish: Gracefully handle the lack of a deriver.
* guix/scripts/publish.scm (narinfo-string): Catch 'system-error' around
  'load-derivation' call; return BASE-INFO upon ENOENT.  This allows us
  to return the narinfo even if DERIVER is missing.  Before that, the
  exception would be uncaught, leading to 500 Internal Error on the
  client side.
2015-09-04 00:13:05 +02:00
Alex Kost 6fc92598ac gnu: magit: Update to 2.2.2.
* gnu/packages/emacs.scm (magit): Update to 2.2.2.
2015-09-03 23:25:09 +03:00
Mark H Weaver 92226a470d Build tarballs with deterministic file ordering.
* guix/packages.scm (patch-and-repack)[build],
  gnu/system/install.scm (self-contained-tarball)[build],
  gnu/packages/make-bootstrap.scm (tarball-package),
  gnu/packages/admin.scm (isc-dhcp),
  gnu/packages/video.scm (avidemux): Pass "--sort=name" to 'tar'.
2015-09-03 12:57:01 -04:00
宋文武 7b770ecaf3 gnu: tinc: Use /etc as the sysconfdir, and /var as the localstatedir.
* gnu/packages/vpn.scm (tinc)[arguments]: New field.
2015-09-03 20:43:42 +08:00
Ricardo Wurmus d11b808f4a gnu: Add r-ggplot2.
* gnu/packages/statistics.scm (r-ggplot2): New variable.
2015-09-03 14:31:51 +02:00
Ricardo Wurmus a11ee478a6 gnu: Add r-scales.
* gnu/packages/statistics.scm (r-scales): New variable.
2015-09-03 14:31:51 +02:00
Ricardo Wurmus 9ca731baf1 gnu: Add r-reshape2.
* gnu/packages/statistics.scm (r-reshape2): New variable.
2015-09-03 14:31:51 +02:00
Ricardo Wurmus d5cd5c1568 gnu: Add r-stringr.
* gnu/packages/statistics.scm (r-stringr): New variable.
2015-09-03 14:31:51 +02:00
Ricardo Wurmus 4dca98dc81 gnu: Add r-stringi.
* gnu/packages/statistics.scm (r-stringi): New variable.
2015-09-03 14:31:51 +02:00
Ricardo Wurmus a45ba1270c gnu: Add r-rcolorbrewer.
* gnu/packages/statistics.scm (r-rcolorbrewer): New variable.
2015-09-03 14:31:51 +02:00
Ricardo Wurmus 9a4d8968f0 gnu: Add r-proto.
* gnu/packages/statistics.scm (r-proto): New variable.
2015-09-03 14:31:51 +02:00
Ricardo Wurmus 7e10056b6b gnu: Add r-plyr.
* gnu/packages/statistics.scm (r-plyr): New variable.
2015-09-03 14:31:51 +02:00
Ricardo Wurmus ea69e2f853 gnu: Add r-rcpp.
* gnu/packages/statistics.scm (r-rcpp): New variable.
2015-09-03 14:31:51 +02:00
Ricardo Wurmus 4437333958 gnu: Add r-munsell.
* gnu/packages/statistics.scm (r-munsell): New variable.
2015-09-03 14:31:51 +02:00
Ricardo Wurmus d69c4b04fa gnu: Add r-magrittr.
* gnu/packages/statistics.scm (r-magrittr): New variable.
2015-09-03 14:31:51 +02:00
Ricardo Wurmus b7eee9fc65 gnu: Add r-labeling.
* gnu/packages/statistics.scm (r-labeling): New variable.
2015-09-03 14:31:51 +02:00
Ricardo Wurmus 112bb3c04f gnu: Add r-gtable.
* gnu/packages/statistics.scm (r-gtable): New variable.
2015-09-03 14:31:50 +02:00
Ricardo Wurmus 177f38c7fe gnu: Add r-digest.
* gnu/packages/statistics.scm (r-digest): New variable.
2015-09-03 14:31:50 +02:00
Ricardo Wurmus 3587effb7a gnu: Add r-dichromat.
* gnu/packages/statistics.scm (r-dichromat): New variable.
2015-09-03 14:31:50 +02:00
Ricardo Wurmus b12636e6bb gnu: Add r-colorspace.
* gnu/packages/statistics.scm (r-colorspace): New variable.
2015-09-03 14:31:50 +02:00
David Thompson 38b327a9ee gnu: bundler: Update to 1.10.6.
* gnu/packages/ruby.scm (bundler): Update to 1.10.6.
2015-09-03 07:45:28 -04:00
Ricardo Wurmus d9cef6128c gnu: Add libraw.
* gnu/packages/photo.scm (libraw): New variable.
2015-09-03 13:16:47 +02:00
Ricardo Wurmus 240f2785c0 gnu: sfml: Update to 2.3.1.
* gnu/packages/game-development.scm (sfml): Update to 2.3.1.
  [inputs]: Add flac, libvorbis, xcb-util-image.
2015-09-03 13:16:23 +02:00
Mark H Weaver c4044399a9 gnu: linux-libre: Update to 4.2.
* gnu/packages/linux.scm (linux-libre): Update to 4.2.
* gnu/packages/linux-libre-x86_64.conf, gnu/packages/linux-libre-i686.conf:
  Update, based largely on https://jxself.org/git/kernel-configs.git
2015-09-03 02:47:34 -04:00
Mark H Weaver 52c20d8e15 packages: Add 'armhf-linux' to '%hydra-supported-systems'.
* guix/packages.scm (%hydra-supported-systems): Do not remove 'armhf-linux'
  from it.  It is now equal to '%supported-systems'.
2015-09-02 19:59:12 -04:00
Ludovic Courtès 4c8f997a7d graph: Add '--expression'.
* guix/scripts/graph.scm (%options, show-help): Add '--expression'.
  (guix-graph): Call 'read/eval-package-expression' for 'expression'
  pairs in OPTS.
* tests/guix-graph.sh: Add tests.
* doc/guix.texi (Invoking guix graph): Document it.
2015-09-02 23:40:07 +02:00
Andy Wingo 4650a77ea8 doc: Document polkit and elogind services.
* doc/guix.texi (Desktop Services): Add polkit-service and
  elogind-service documentation.
2015-09-02 23:06:12 +02:00
Andy Wingo 0071c7894e gnu: Add polkit service.
* gnu/services/desktop.scm (polkit-service): New function.
  (%desktop-services): Add polkit service.
2015-09-02 22:34:54 +02:00
Andy Wingo 3f130e42e0 gnu: polkit: Look for rules in /run/current-system/profile.
* gnu/packages/polkit.scm (polkit): Configure to look for actions and
  rules in the system profile.  Arrange to look for the setuid helper in
  /run/setuid-programs.  Fix introspection installation.

Based on a patch by Mark H Weaver <mhw@netris.org>.
2015-09-02 22:34:49 +02:00
Andy Wingo 7b6c5c5d74 gnu: polkit: Use elogind for seat management.
* gnu/packages/polkit.scm (polkit): Depend on elogind.
2015-09-02 22:34:12 +02:00
Andy Wingo 04463bb05e gnu: Add elogind service.
* gnu/services/desktop.scm (<elogind-configuration>): New record type.
  (elogind-configuration-file, elogind-service): New functions.
  (%desktop-services): Add elogind-service.
2015-09-02 22:22:57 +02:00
Andy Wingo 5c91962afe gnu: elogind: Update to version 219.12.
* gnu/packages/freedesktop.scm (elogind): Update to 219.12.  Use a tarball
  instead of a git checkout.
2015-09-02 22:22:57 +02:00
Leo Famulari 0c14675075 gnu: Add attic.
* gnu/packages/backup.scm (attic): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-09-02 21:55:32 +03:00
Leo Famulari 641c9871a5 gnu: Add python-msgpack.
* gnu/packages/python.scm (python-msgpack, python2-msgpack): New variables.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-09-02 21:55:31 +03:00
Leo Famulari 89b2e0b0b8 gnu: Add python-llfuse.
* gnu/packages/python.scm (python-llfuse, python2-llfuse): New variables.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-09-02 21:55:31 +03:00
Alex Kost 0b928076c7 gnu: emacs-flycheck: Use the upstream release instead of MELPA.
* gnu/packages/emacs.scm (flycheck): Change version to 0.23.
  Replace MELPA tarball with the upstream release.
2015-09-02 21:47:22 +03:00
Alex Kost d1f80aa401 emacs: Use "r" key for 'cran' action in 'import' popup.
* emacs/guix-command.el (guix-command-improve-import-argument): New
  variable and function.
  (guix-command-argument-improvers): Add it.
2015-09-02 17:00:06 +03:00
宋文武 3555771267 gnu: xfce: Add xfce4-pulseaudio-plugin.
* gnu/packages/xfce.scm (xfce)[propagated-inputs]: Add xfce4-pulseaudio-plugin.
2015-09-02 19:44:33 +08:00
宋文武 0f0c586a07 gnu: Add xfce4-pulseaudio-plugin.
* gnu/packages/xfce.scm (xfce4-pulseaudio-plugin): New variable.
2015-09-02 19:44:33 +08:00
宋文武 7ee2005ede gnu: xfce4-panel: Build with GTK+ 3 support.
* gnu/packages/xfce.scm (xfce4-panel)[arguments]: New field.
2015-09-02 19:44:33 +08:00
宋文武 75beb7e178 gnu: libxfce4ui: Build with GTK+ 3 support.
* gnu/packages/xfce.scm (libxfce4ui)[propagated-inputs]: Add gtk+.
2015-09-02 19:44:33 +08:00
Ludovic Courtès df2d51f025 gexp: Remove duplicate 'mkdir-p' definition.
* guix/gexp.scm (%mkdir-p-definition): Remove.
  (%utils-module): New variable.
  (imported-files, compiled-modules): Have gexp load %UTILS-MODULE
  instead of using %MKDIR-P-DEFINITION.
2015-09-02 11:24:57 +02:00
Ludovic Courtès 09cc7729d0 gnu: coreutils: Add dependency on libcap.
* gnu/packages/base.scm (coreutils)[inputs]: Add LIBCAP.
2015-09-02 11:20:48 +02:00
Ludovic Courtès f6c2d05ceb gnu: libcap: Update to 2.24.
* gnu/packages/linux.scm (libcap): Update to 2.24.  Fetch the source
  from mirror://kernel.org.
2015-09-02 11:12:11 +02:00
Ludovic Courtès 28cbc587d3 gnu: glibc: Upgrade to 2.22.
* gnu/packages/base.scm (glibc): Upgrade to 2.22.
  (coreutils-light): New variable.
* gnu/packages/commencement.scm (locale-proof-package): New procedure.
  (%boot5-inputs): Add LD-WRAPPER, BINUTILS-FINAL, BASH-FINAL, GNU-MAKE,
  DIFFUTILS, FINDUTILS, COREUTILS-LIGHT (pass through
  'new-libc-package'), and %BOOTSTRAP-COREUTILS&CO (passed through
  'locale-proof-package'.)
2015-09-02 10:58:28 +02:00
Ricardo Wurmus 1921b1de07 gnu: Add deeptools.
* gnu/packages/bioinformatics.scm (deeptools): New variable.
2015-09-02 10:38:43 +02:00
Ricardo Wurmus f85ccf88ef gnu: Add perl-czplib.
* gnu/packages/perl.scm (perl-czplib): New variable.
2015-09-02 10:38:43 +02:00
Ludovic Courtès 26ecc2a780 gnu: Add missing patch for Guile-Present.
This patch should have been added in cdd383e.

* gnu/packages/patches/guile-present-coding.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-09-02 09:50:25 +02:00
Ricardo Wurmus ddfddb0c45 gnu: Add ZynAddSubFX.
* gnu/packages/music.scm (zynaddsubfx): New variable.
2015-09-02 08:44:55 +02:00
Ricardo Wurmus 96f8d991ec gnu: Add minixml.
* gnu/packages/xml.scm (minixml): New variable.
2015-09-02 08:44:55 +02:00
Ricardo Wurmus 95283f3fee gnu: Add gerbv.
* gnu/packages/engineering.scm (gerbv): New variable.
2015-09-02 08:44:55 +02:00
Ricardo Wurmus 97f70018b0 gnu: Add po4a.
* gnu/packages/gettext.scm (po4a): New variable.
2015-09-02 08:44:54 +02:00
Ricardo Wurmus 3f88152d25 gnu: Add TeX Gyre fonts.
* gnu/packages/fonts.scm (font-tex-gyre): New variable.
2015-09-02 08:44:54 +02:00
Ricardo Wurmus dee38b7b41 guix: Add GUST font license 1.0.
* guix/licenses.scm (gfl1.0): New variable.
2015-09-02 08:44:54 +02:00
David Thompson a96524cc7d import: gem: Fix minor bug and add unit test.
* guix/import/gem.scm (make-gem-sexp): Properly handle an empty list of
  licenses.  When rendering a list of licenses, cons 'list onto the front of
  the expression.
* tests/gem.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
2015-09-01 20:00:01 -04:00
David Thompson 385a44bebb gnu: Add sassc.
* gnu/packages/web.scm (sassc): New variable.
2015-09-01 19:10:47 -04:00
Cyril Roelandt 2053949a9e gnu: Add python-oslotest
* gnu/packages/openstack.scm (python-oslotest, python2-olsotest): New variables.
2015-09-01 23:14:30 +02:00
Cyril Roelandt 1edd421ba5 gnu: Add python-os-client-config
* gnu/packages/openstack.scm (python-os-client-config,
  python2-os-client-config): New variables.
2015-09-01 23:14:25 +02:00
Cyril Roelandt 35f1ebeb2a gnu: Add python-mox3.
* gnu/packages/openstack.scm (python-mox3, python2-mox3): New variables.
2015-09-01 23:11:20 +02:00
Cyril Roelandt 7c4810a1e5 gnu: Add python-pbr.
* gnu/packages/openstack.scm: New file.
* gnu-system.am: Add it.
2015-09-01 23:11:16 +02:00
Cyril Roelandt 7e7b27d906 gnu: add python-appdirs.
* gnu/packages/python.scm (python-appdirs, python2-appdirs): New variables.
2015-09-01 23:08:37 +02:00
Ludovic Courtès 44fd0994a0 gnu: guile-ssh: Update to 0.8.0.
* gnu/packages/ssh.scm (guile-ssh): Update to 0.8.0.
  [inputs]: Use LIBGCRYPT instead of LIBGCRYPT-1.5.
2015-09-01 14:18:38 +02:00
Ludovic Courtès 87390c155e gnu: libssh: Update to 0.6.5.
* gnu/packages/ssh.scm (libssh): Update to 0.6.5.
  [source]: Remove 'patches'.
  [inputs]: Use LIBGCRYPT instead of LIBGCRYPT-1.5.
2015-09-01 14:18:38 +02:00
Ludovic Courtès 6e3fdbbe26 gnu: Add emacs-flycheck.
* gnu/packages/emacs.scm (flycheck): New variable.
2015-09-01 14:18:38 +02:00
Ludovic Courtès 1defd8cd2e gnu: Add emacs-let-alist.
* gnu/packages/emacs.scm (let-alist): New variable.
2015-09-01 14:18:38 +02:00
Alex Kost 761d6fd9c1 emacs: Add "View graph" action to graph popup.
* emacs/guix-command.el: Require 'guix-external'.
  (guix-run-view-graph): New function.
  (guix-command-additional-execute-arguments,
  guix-command-special-executors): Add entries for "View graph" action.
2015-09-01 13:03:51 +03:00
Alex Kost 32c0b6d78c emacs: Allow users to choose a 'find-file' function.
* emacs/guix-utils.el (guix-find-file-function): New variable.
  (guix-find-file): Use it.
2015-09-01 13:03:51 +03:00
Alex Kost 70fabd498c emacs: Add code to run 'dot' program.
* emacs/guix-external.el: New file.
* emacs.am (ELFILES): Add it.
2015-09-01 13:03:50 +03:00
Alex Kost 8b9ceb8d03 emacs: Add code to pipe guix output to external program.
* emacs/guix-main.scm: Use (ice-9 popen) module.
  (pipe-guix-output): New procedure.
2015-09-01 13:03:50 +03:00
Ludovic Courtès cdd383e9f3 gnu: Add Guile-Present.
* gnu/packages/gtk.scm (guile-present): New variable.
2015-08-31 23:02:29 +02:00
Ludovic Courtès 1a51fe2768 gnu: Add Guile-RSVG.
* gnu/packages/gtk.scm (guile-rsvg): New variable.
* gnu/packages/patches/guile-rsvg-pkgconfig.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-08-31 23:02:29 +02:00
Ricardo Wurmus 821664f115 gnu: Add frescobaldi.
* gnu/packages/music.scm (frescobaldi): New variable.
2015-08-31 22:27:32 +02:00
Ricardo Wurmus 5faa5ce4ef gnu: Add python-ly.
* gnu/packages/python.scm (python-ly): New variable.
2015-08-31 22:23:09 +02:00
Ricardo Wurmus 3efb57eaf4 gnu: Add python-poppler-qt4.
* gnu/packages/pdf.scm (python-poppler-qt4): New variable.
2015-08-31 22:23:09 +02:00
Ricardo Wurmus 8410cb6251 gnu: Add poppler-qt4.
* gnu/packages/pdf.scm (poppler-qt4): New variable.
2015-08-31 22:23:09 +02:00
Ricardo Wurmus 2cb3ab4827 gnu: Add ruby-thor.
* gnu/packages/ruby.scm (ruby-thor): New variable.
2015-08-31 17:01:33 +02:00
Ricardo Wurmus 8b9bde077a gnu: Add ruby-xml-simple.
* gnu/packages/ruby.scm (ruby-xml-simple): New variable.
2015-08-31 17:01:33 +02:00
Ricardo Wurmus cc53e63052 gnu: Add ruby-orderedhash.
* gnu/packages/ruby.scm (ruby-orderedhash): New variable.
2015-08-31 17:01:33 +02:00
Ricardo Wurmus 71a03c29bf gnu: Add ruby-atoulme-antwrap.
* gnu/packages/ruby.scm (ruby-atoulme-antwrap): New variable.
2015-08-31 17:01:33 +02:00
Ricardo Wurmus ad79eb554d gnu: Add ruby-rjb.
* gnu/packages/ruby.scm (ruby-rjb): New variable.
2015-08-31 17:01:33 +02:00
Ricardo Wurmus cf36174ffb gnu: Add ruby-builder.
* gnu/packages/ruby.scm (ruby-builder): New variable.
2015-08-31 17:01:33 +02:00
Ricardo Wurmus ab952dc375 gnu: libedit: Enable wide character support.
* gnu/packages/libedit.scm (libedit)[arguments]: Add "--enable-widec" to
  configure flags.
2015-08-31 15:39:34 +02:00
Ricardo Wurmus 0fd53ed634 gnu: libedit: Update to 20150325-3.1.
* gnu/packages/libedit.scm (libedit): Update to 20150325-3.1.
2015-08-31 15:39:34 +02:00
Ricardo Wurmus f8f3bef6aa build: Add R build system.
* guix/build-system/r.scm: New file.
* guix/build/r-build-system: New file.
* Makefile.am (MODULES): Add new files.
* doc/guix.texi (Build Systems): Document r-build-system.
2015-08-31 15:39:34 +02:00
Ricardo Wurmus e1248602f9 import: Add 'cran' importer.
* guix/import/cran.scm: New file.
* guix/scripts/import.scm: Add "cran" to 'importers'.
* guix/scripts/import/cran.scm: New file.
* tests/cran.scm: New file.
* Makefile.am (MODULES): Add 'guix/import/cran.scm' and
  'guix/scripts/import/cran.scm'.
  (SCM_TESTS): Add 'tests/cran.scm'.
* doc/guix.texi (Invoking guix import): Document it.
* po/guix/POTFILES.in: Add 'guix/scripts/import/cran.scm'.
2015-08-31 15:39:34 +02:00
Mathieu Lirzin 9a479bc383 emacs: Use only one guix-load-path variable.
emacs/guix-init.el (guix-load-path): Move to ...
emacs/guix-backend.el (guix-load-path): ... Here. Redefine it.
2015-08-30 22:46:21 +02:00
Mathieu Lirzin 7061938fdb emacs: Fix guix-guile-program default value.
Fixes <http://bugs.gnu.org/21127>.

* emacs/guix-backend.el: Use guix-config.
  (guix-guile-program): Move to ...
* emacs/guix-config.el.in (guix-guile-program): ... here.  Use Guile
  program file name from compile-time instead of depending on PATH.
2015-08-30 22:45:47 +02:00
Mathieu Lirzin bd6163d13f build: Produce 'guix-config' instead of using compile-time tricks.
* emacs/guix-{init,profiles}.el.in: Rename to ...
* emacs/guix-{init,profiles}.el: ... these.  New files.
  Use 'guix-config'.
* emacs/guix-config.el.in: New file.
* emacs.am (nodist_lisp_DATA): Add it.  Move them to ...
  (ELFILES): ... here.
* .gitignore, configure.ac: Adjust accordingly.
2015-08-30 19:20:12 +02:00
Ludovic Courtès 8c578a6094 utils: Move 'package-name->name+version' to (guix build utils).
* guix/utils.scm (package-name->name+version): Move to...
* guix/build/utils.scm (package-name->name+version): ... here.  New
  procedure.
* guix/build/emacs-build-system.scm (package-name->name+version):
  Remove.
2015-08-30 18:38:08 +02:00
Ludovic Courtès b7c7c03eb5 utils: Add 'strip-store-file-name'.
* guix/build/utils.scm (strip-store-file-name): New procedure.
* guix/build/emacs-build-system.scm (store-directory->name-version):
  Remove.  Update callers to use 'strip-store-file-name'.
* gnu/packages/gcc.scm (make-libstdc++-doc)[arguments]: Use
  'strip-store-file-name' instead of 'string-drop'.
2015-08-30 18:38:08 +02:00
Ludovic Courtès d56f8d5e74 gnu: glibc: _PATH_BSHELL refers to our static bash.
* gnu/packages/base.scm (glibc)[arguments]: Change _PATH_BSHELL in
  paths.h to refer to STATIC-BASH.
2015-08-30 18:37:54 +02:00
Alex Kost eb097f36b1 emacs: Use prompt for packages instead popup for edit action.
* emacs/guix-base.el (guix-package-location): New function.
  (guix-edit-package): Rename and move to ...
* emacs/guix.el (guix-edit): ...here.  Make it interactive.
* emacs/guix-command.el (guix-edit-action): New function (alias to
  'guix-edit') to override the popup for edit command in "M-x guix".
* emacs/guix-list.el (guix-list-edit-package): Adjust for 'guix-edit'
  renaming.
* emacs/guix-main.scm (package-location-string): Allow to accept package
  id or package name as argument.
2015-08-30 18:26:03 +03:00
Alex Kost 9b0afb0d28 emacs: Add popup interface for guix commands.
* emacs/guix-command.el: New file.
* emacs.am (ELFILES): Add it.
* doc/emacs.texi (Emacs Initial Setup): Mention 'magit-popup' library.
  (Emacs Popup Interface): New node.
  (Emacs Interface): Add it.
* doc/guix.texi (Top): Likewise.
2015-08-30 18:26:03 +03:00
Alex Kost 1f13861b57 emacs: Add "guix-popup.el".
* emacs/guix-popup.el: New file.
* emacs.am (ELFILES): Add it.
2015-08-30 18:26:03 +03:00
Alex Kost c554de8929 doc: Reorganize "Emacs Interface" node.
* doc/guix.texi (Package Management): Move "Emacs Interface" node to ...
  (Top): ...here, since it is not just about package management.
* doc/emacs.texi: Shift all nodes one level up (@section -> @chapter, etc.).
  Rename "Emacs Usage" node into "Emacs Package Management".  Move "Emacs
  Configuration" node here.
2015-08-30 18:26:02 +03:00
Alex Kost 7008dffff5 emacs: Add code to run guix command in shell.
* emacs/guix-base.el (guix-run-in-shell, guix-run-in-eshell,
  guix-run-command-in-shell): New functions.
  (guix-run-in-shell-function, guix-shell-buffer-name): New variables.
2015-08-30 18:26:02 +03:00
Alex Kost 5e53b0c5a9 emacs: Add code to run guix command in REPL.
* emacs/guix-base.el (guix-run-command-in-repl, guix-command-output,
  guix-help-string): New functions.
* emacs/guix-main.scm (guix-command, guix-command-output, help-string):
  New procedures.
2015-08-30 18:26:02 +03:00
Alex Kost caa6732e96 ui: Add 'run-guix'.
* guix/ui.scm (guix-main): Move the code to run guix command line to ...
  (run-guix): ...here.  New procedure.  Export it.
2015-08-30 18:26:02 +03:00
Alex Kost 51dac38339 emacs: Add and use alist accessors.
* emacs/guix-utils.el (guix-define-alist-accessor): New macro.
  (guix-assq-value, guix-assoc-value): New functions.
  (guix-get-key-val): Remove.
* emacs/guix-base.el: Replace 'guix-get-key-val' with 'guix-assq-value'
  everywhere.
* emacs/guix-info.el: Likewise.
* emacs/guix-list.el: Likewise.
* emacs/guix-messages.el: Likewise.
2015-08-30 18:26:02 +03:00
Alex Kost d007d8a10c emacs: Add minibuffer readers.
* emacs/guix-read.el: New file.
* emacs.am (ELFILES): Add it.
2015-08-30 18:26:02 +03:00
Alex Kost 26476d5852 emacs: Add help variables.
* emacs/guix-pcomplete.el (guix-pcomplete-parse-package-regexp,
  guix-pcomplete-parse-command-regexp,
  guix-pcomplete-parse-long-option-regexp,
  guix-pcomplete-parse-short-option-regexp,
  guix-pcomplete-parse-list-regexp, guix-pcomplete-parse-regexp-group,
  guix-pcomplete-systems, guix-pcomplete-hash-formats,
  guix-pcomplete-refresh-subsets, guix-pcomplete-key-policies): Move and
  rename to ...
* emacs/guix-help-vars.el (guix-help-parse-package-regexp,
  guix-help-parse-command-regexp, guix-help-parse-long-option-regexp,
  guix-help-parse-short-option-regexp, guix-help-parse-list-regexp,
  guix-help-parse-regexp-group, guix-help-system-types,
  guix-help-hash-formats, guix-help-refresh-subsets,
  guix-help-key-policies): ...here.  New file.
  (guix-help-parse-option-regexp, guix-help-source-types,
  guix-help-verify-options, guix-help-elpa-archives): New variables.
* emacs.am (ELFILES): Add "guix-help-vars.el".
2015-08-30 18:26:02 +03:00
Alex Kost 25a2839c9d emacs: Add 'guix-package-names'.
* emacs/guix-main.scm (package-names, package-names-lists): New procedures.
* emacs/guix-base.el (guix-package-names): New function.
2015-08-30 18:26:02 +03:00
Alex Kost 43b40c4b15 emacs: Add 'guix-graph-type-names'.
* emacs/guix-main.scm: Use (guix scripts graph) module.
  (graph-type-names): New procedure.
* emacs/guix-base.el (guix-graph-type-names): New function.
2015-08-30 18:26:02 +03:00
Alex Kost c1a8c5ab1c guix graph: Export node types and <node-type> accessors.
* guix/scripts/graph.scm (%node-types, node-type, node-type?,
  node-type-identifier, node-type-label, node-type-edges,
  node-type-convert, node-type-name, node-type-description): Export.
2015-08-30 18:26:02 +03:00
Alex Kost 056b5ceffc emacs: Add 'guix-lint-checker-names'.
* emacs/guix-main.scm: Use (guix scripts lint) module.
  (lint-checker-names): New procedure.
* emacs/guix-base.el (guix-lint-checker-names): New function.
2015-08-30 18:26:02 +03:00
Alex Kost 521a11e0a6 guix lint: Export checkers and <lint-checker> accessors.
* guix/scripts/lint.scm (%checkers, lint-checker, lint-checker?,
  lint-checker-name, lint-checker-description, lint-checker-check):
  Export.
2015-08-30 18:26:01 +03:00
Alex Kost 6543601fa0 emacs: Add 'guix-memoized-defalias' macro.
* emacs/guix-utils.el (guix-memoized-defalias): New macro.
  (guix-memoized-font-lock-keywords): New variable.
2015-08-30 18:26:01 +03:00
Alex Kost e767752c79 emacs: Add 'guix-any'.
* emacs/guix-utils.el (guix-any): New function.
2015-08-30 18:26:01 +03:00
Alex Kost ad0f31f6a5 emacs: Add utils to copy guix command.
* emacs/guix-utils.el (guix-copy-as-kill, guix-copy-command-as-kill):
  New functions.
2015-08-30 18:26:01 +03:00
Alex Kost 009d6388e6 emacs: Add utils to make symbol and string for guix command.
* emacs/guix-utils.el (guix-shell-quote-argument, guix-command-symbol,
  guix-command-string): New functions.
2015-08-30 18:26:01 +03:00
Alex Kost 1ce96dd927 emacs: Add and use 'guix-concat-strings'.
* emacs/guix-utils.el (guix-concat-strings): New function.
* emacs/guix-pcomplete.el (guix-pcomplete-short-options): Use it.
* emacs/guix-base.el (guix-get-package-strings): Likewise.
2015-08-30 18:26:01 +03:00
Alex Kost c10521e976 emacs: Add and use 'guix-while-search'.
* emacs/guix-utils.el (guix-while-search): New macro.
* emacs/guix-pcomplete.el (guix-pcomplete-run-guix-and-search): Use it.
* emacs/guix-prettify.el (guix-prettify-decompose-buffer): Likewise.
2015-08-30 18:26:01 +03:00
Alex Kost 935d079bb7 emacs: Add 'guix-prettify' to 'guix' custom group.
* emacs/guix-prettify.el (guix-prettify): Add 'guix' group.
2015-08-30 18:26:01 +03:00
Alex Kost cc77415053 emacs: Remove leftover internal variable.
This is a followup to commit 74cc67372e.

* emacs/guix-base.el (guix-define-buffer-type): Remove 'mode-map'
  variable.
2015-08-30 18:26:01 +03:00
Ludovic Courtès 57f65bcc9c gnu: glibc: Use 'modify-phases'.
* gnu/packages/base.scm (glibc)[arguments]: Use 'modify-phases' instead
  of 'alist-cons-before'.
2015-08-30 17:08:09 +02:00
Ludovic Courtès 5c962e93e5 build-system/gnu: Use monotic time to measure elapsed time.
* guix/build/gnu-build-system.scm (gnu-build)[elapsed-time]: New
  procedure.
  Use it, and use (current-time time-monotonic) instead
  of (gettimeofday).  Show one digit after the comma for the elapsed
  time.
2015-08-30 17:07:45 +02:00
Ludovic Courtès 409ba9a2cb gnu: ncurses: Really install headers to OUT/include.
* gnu/packages/ncurses.scm (ncurses)[arguments]: Pass --enable-overwrite.
2015-08-30 13:53:43 +02:00
Ludovic Courtès 600233bdd2 gnu: clutter: Add "doc" output.
* gnu/packages/gnome.scm (clutter)[outputs]: New field.
  [arguments]: Pass --with-html-dir.
2015-08-30 12:14:44 +02:00
Ludovic Courtès 30dc88d975 gnu: Add libchamplain.
* gnu/packages/gnome.scm (libchamplain): New variable.
2015-08-30 12:14:32 +02:00
David Thompson 20c05ea94a gnu: Make ruby-diff-lcs a public package.
* gnu/packages/ruby.scm (ruby-diff-lcs-for-rspec): Rename this...
  (ruby-diff-lcs): ... to this, and export it.
  (ruby-rspec-expectation, ruby-rspec-mocks): Use new varaible.
2015-08-29 22:12:24 -04:00
Ludovic Courtès 532164194a download: Keep a single copy of the mirror file.
This saves ~10% on 'guix build inkscape -Sd'.

* guix/download.scm (%mirror-file): New variable.
  (url-fetch): Remove #:mirrors parameter.
  Remove 'mirror-file'; refer to '%mirror-file' instead.
2015-08-29 23:56:47 +02:00
Ludovic Courtès b263651860 doc: Mention the "normalized codeset" used in locale names.
* doc/guix.texi (Locales): Introduce "codeset".
  <%default-locale-definitions>: Mention the "normalized codeset", with
  an xref to libc's manual.
* gnu/system/locale.scm (%default-locale-definitions)[utf8-locale]:
  Mention the "normalized codeset" in a comment.
2015-08-29 23:56:47 +02:00
Ludovic Courtès 3d20ebd6cb refresh: Add missing newline in warning message.
Reported by karhunkynsi on #guix.

* guix/scripts/refresh.scm (update-package): Add missing newline in
  string literal passed to 'warning'.
2015-08-29 23:56:47 +02:00
David Thompson 0bfdfd377e gnu: ruby-i18n: Update to 0.7.0.
* gnu/packages/ruby.scm (ruby-i18n): Update to 0.7.0.
2015-08-29 17:29:03 -04:00
Ricardo Wurmus 2d8781a491 gnu: mpv: Replace "jack-2" with "jack-1".
* gnu/packages/video.scm (mpv)[inputs]: Replace "jack-2" with "jack-1".
2015-08-29 21:45:54 +02:00
Ricardo Wurmus 0dc2e348dc gnu: gst-plugins-good: Replace "jack-2" with "jack-1".
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Replace "jack-2" with
  "jack-1".
2015-08-29 21:45:54 +02:00
Ricardo Wurmus 6a5894a823 gnu: audacity: Replace "jack-2" with "jack-1".
* gnu/packages/audacity.scm (audacity)[inputs]: Replace "jack-2" with
  "jack-1".
2015-08-29 21:45:54 +02:00
Ricardo Wurmus 01e327b556 gnu: rsound: Add file-name field to source origin.
* gnu/packages/audio.scm (rsound)[source]: Add 'file-name' field.
2015-08-29 21:45:54 +02:00
Ricardo Wurmus 276f49df73 gnu: rsound: Replace "jack-2" with "jack-1".
* gnu/packages/audio.scm (rsound)[inputs]: Replace "jack-2" with "jack-1".
2015-08-29 21:45:54 +02:00
宋文武 122d0d10c6 gnu: Add yelp-tools.
* gnu/packages/gnome.scm (yelp-tools): New variable.
2015-08-29 15:07:54 +08:00
宋文武 de3d612a52 gnu: Add yelp.
* gnu/packages/gnome.scm (yelp): New variable.
2015-08-29 15:07:54 +08:00
宋文武 c3b97bd902 gnu: Add yelp-xsl.
* gnu/packages/gnome.scm (yelp-xsl): New variable.
2015-08-29 15:07:54 +08:00
Ludovic Courtès 96c4621056 gnu: Use 'install-file' instead of 'mkdir-p' and 'copy-file' in obvious cases.
* gnu/packages/bioinformatics.scm (bedtools, bowtie, bwa, hisat, samtools,
  plink, star): Use 'install-file' instead of 'mkdir-p' + 'copy-file'.
* gnu/packages/check.scm (catch-framework): Likewise.
* gnu/packages/code.scm (global): Likewise.
* gnu/packages/emacs.scm (magit-svn, haskell-mode, emacs-pdf-tools):
  Likewise.
* gnu/packages/engineering.scm (fastcap, fasthenry): Likewise.
* gnu/packages/gnuzilla.scm (nss): Likewise.
* gnu/packages/guile.scm (guile-minikanren): Likewise.
* gnu/packages/java.scm (swt): Likewise.
* gnu/packages/make-bootstrap.scm (%static-binaries): Likewise.
* gnu/packages/maths.scm (lpsolve): Likewise.
* gnu/packages/mp3.scm (mpc123): Likewise.
* gnu/packages/ninja.scm (ninja): Likewise.
* gnu/packages/python.scm (python-numpy, python-pyparsing): Likewise.
* gnu/packages/screen.scm (dtach): Likewise.
* gnu/packages/synergy.scm (synergy): Likewise.
* gnu/packages/textutils.scm (utf8proc): Likewise.
* gnu/packages/version-control.scm (git-test-sequence): Likewise.
* gnu/packages/wicd.scm (wicd): Likewise.
2015-08-29 01:25:08 +02:00
Ludovic Courtès 4cc2ed98cf utils: Add 'install-file'.
* guix/build/utils.scm (install-file): New procedure.
2015-08-29 01:25:08 +02:00
Ludovic Courtès 90d891fc6c gnu: glibc: Do not copy static Bash binary to bin/.
This avoids problems when installing 'glibc' in a profile, where glibc's
limited 'bash' would take precedence over the valid 'bash'.

* gnu/packages/base.scm (glibc)[arguments]: Do not copy STATIC-BASH to
  OUT/bin.  Instead, simply refer to it directly.
  [inputs]: Use STATIC-BASH instead of BASH-LIGHT.
* gnu/packages/commencement.scm (static-bash-for-glibc): Likewise.
  (glibc-final)[arguments]: Add STATIC-BASH-FOR-GLIBC to
  #:allowed-references.
  (gcc-final)[arguments]: Likewise.
  [native-inputs]: Add "static-bash".
2015-08-29 01:25:08 +02:00
Ludovic Courtès aad5df4058 gnu: ncurses: Remove obsolete hack.
* gnu/packages/ncurses.scm (ncurses)[arguments]: Remove obsolete Solaris
  hack.
2015-08-29 01:25:08 +02:00
Ludovic Courtès bfaaffb06a gnu: ncurses: Rework trick to avoid reference to the bootstrap bash.
This removes reliance on the availability of 'bin/sh' in glibc.

* gnu/packages/ncurses.scm (ncurses): Remove 'configure-phase'.  Add
  'remove-shebang-phase'.
  [arguments]: Remove distinction between cross builds and native builds.  Use
  'modify-phases'.  Add 'remove-unneeded-shebang' phase.
2015-08-29 01:25:08 +02:00
Ludovic Courtès 7b06688048 gnu: ncurses: Upgrade to 6.0.
* gnu/packages/ncurses.scm (ncurses): Upgrade to 6.0.  Change library names to
  '.so.6'.
2015-08-29 01:25:07 +02:00
Ludovic Courtès f02c902cbe gnu: binutils: Upgrade to 2.25.1.
* gnu/packages/base.scm (binutils): Upgrade to 2.25.1.
2015-08-29 01:25:07 +02:00
Ludovic Courtès 6c7f44efc2 gnu: Add 'bash-static'.
* gnu/packages/bash.scm (static-bash): New variable.
2015-08-29 01:25:07 +02:00
Ludovic Courtès ced200328c download: Keep only 2 store items for all the downloads.
This significantly reduces churn in the store.  It also reduces run time
of 'guix build inkscape -Sd' by ~10%.

* guix/download.scm (url-fetch)[mirror-file]: New variable.
  [builder]: Get URL from the "guix download url" env. var.  Get the mirrors
  from MIRROR-FILE.  Pass #:script-name and #:env-vars to 'gexp->derivation'.
2015-08-29 01:22:54 +02:00
Ludovic Courtès 0309e1b0ba gexp: Add #:script-name parameter to 'gexp->derivation'.
* guix/gexp.scm (gexp->derivation): Add #:script-name parameter.
* doc/guix.texi (G-Expressions): Document it.
2015-08-29 01:22:54 +02:00
Ludovic Courtès b6c6105cac monads: Inline the procedure returned by liftN.
* guix/monads.scm (define-lift): Turn into a macro that open-codes the result
  of its lift.
2015-08-29 01:22:54 +02:00
宋文武 ca2a55d46b gnu: shadow: Update to 4.2.1.
* gnu/packages/admin.scm (shadow): Update to 4.2.1.
  [source]: Use the release tarball.
2015-08-28 19:53:26 +08:00
Leo Famulari cef644e627 gnu: Add abduco.
* gnu/packages/abduco.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-28 11:46:48 +02:00
Siniša Biđin df1db7672d gnu: Add cabal-install.
* gnu/packages/haskell.scm (cabal-install): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-28 11:00:03 +02:00
Ludovic Courtès 7bce9fa5f3 gnu: conky: Fix license.
* gnu/packages/conky.scm (conky)[license]: Set to LICENSE:GPL3+.
2015-08-28 09:37:15 +02:00
David Thompson 58724c488b gnu: services: Add nginx-service.
* gnu/services/web.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* guix.texi ("Web Services"): New section.
2015-08-27 22:10:40 -04:00
David Thompson 3aae8145a7 import: Add Ruby gem importer.
* gnu/scripts/import.scm (importers): Add "gem".
* gnu/import/gem.scm: New file.
* gnu/scripts/import/gem.scm: New file.
* Makefile.am (MODULES): Add them.
* guix.texi ("invoking guix import"): Document it.
2015-08-27 19:45:06 -04:00
David Thompson 140b304815 import: pypi: Move generally useful procedures to utils module.
* guix/import/pypi.scm (make-pypi-sexp): Factorize license to symbol
  conversion code.
  (string->license, snake-case, guix-hash-url): Move from here...
* guix/import/utils.scm: ... to here.
  (license->symbol): New procedure.
2015-08-27 18:02:35 -04:00
David Thompson f8da3af086 gnu: Add ruby-arel.
* gnu/packages/ruby.scm (ruby-arel): New variable.
2015-08-27 18:02:35 -04:00
Siniša Biđin 555e436ea2 gnu: Add conky.
* gnu/packages/conky.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-08-27 23:34:24 +02:00
Siniša Biđin 6edb5b7765 gnu: lua: Add patch to generate pkg-config file.
* gnu/packages/patches/lua-pkgconfig.patch: New file.
* gnu/packages/lua.scm (lua)[source]: Add patch.
* gnu-system.am (dist_patch_DATA): Register patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-27 23:34:24 +02:00
Ludovic Courtès 25ae74cffa Thank Eric Hanchrow. 2015-08-27 23:34:23 +02:00
Alex Kost f2638f0b37 emacs: Add completions for 'guix graph'.
* emacs/guix-pcomplete.el (guix-pcomplete-parse-linter-regexp): Improve
  and rename to ...
  (guix-pcomplete-parse-list-regexp): ...this.  New variable.
  (guix-pcomplete-lint-checkers): Use it.
  (guix-pcomplete-graph-types): New function.
  (guix-pcomplete-complete-command-arg): Complete package names for
  'guix graph' command.
  (guix-pcomplete-complete-option-arg): Complete '-t/--type' option.
2015-08-27 17:50:01 +03:00
Alex Kost 89949e8f54 gnu: git-modes: Update to 1.2.0.
* gnu/packages/emacs.scm (git-modes): Update to 1.2.0.
  [arguments]: Disable tests.
2015-08-27 17:16:31 +03:00
Alex Kost be379ee77d gnu: magit-svn: Update to 2.1.0.
* gnu/packages/emacs.scm: Use (gnu packages base) module.  Remove
  duplicated (gnu packages guile) and (gnu packages linux) modules.
  (magit-svn): Update to 2.1.0.
  [source]: Use 'url-fetch' method.
  [inputs]: Remove.  Move "emacs" to 'native-inputs', move "magit" to
  'propagated-inputs'.
  [native-inputs]: Add "tar" and "gzip".
  [propagated-inputs]: Add "dash".
  [arguments]: Adjust builder for the new inputs and unpacking the source.
2015-08-27 17:16:30 +03:00
Alex Kost 55f29c39f5 gnu: magit: Update to 2.2.1.
* gnu/packages/emacs.scm (magit): Update to 2.2.1.
  [inputs]: Remove 'git:gui'.
  [propagated-inputs]: Add 'dash', remove 'git-modes'.
  [arguments]: Add PREFIX and DASH_DIR to 'make-flags'.  Remove
  'configure', 'augment-load-path' and 'post-install' phases.
2015-08-27 17:16:30 +03:00
Ludovic Courtès ef80ca96fa daemon: Require a signature for imports made by root.
This reinstates commit aa0f8409, which was inadvertently undone in commit
322eeb87.

Running 'guix archive --import' as root would have let corrupt or unauthentic
store items through.

Reported by Eric Hanchrow <eric.hanchrow@gmail.com>
at <http://bugs.gnu.org/21354>.

* nix/nix-daemon/nix-daemon.cc (performOp) <wopImportPaths>: Pass true as the
  first argument to 'importPaths'.
2015-08-27 10:58:31 +02:00
Ludovic Courtès 54e515eb75 tests: Skip 'set-network-interface-address' test when running as root.
Reported by Eric Hanchrow <eric.hanchrow@gmail.com>
in <http://bugs.gnu.org/21354>.

* tests/syscalls.scm ("set-network-interface-address"): Skip when (getuid)
  returns zero.
2015-08-27 10:52:11 +02:00
Ludovic Courtès d1f38287f4 Add graph.scm to 'POTFILES'.
* po/guix/POTFILES.in: Add guix/scripts/graph.scm.
2015-08-27 09:13:39 +02:00
Ludovic Courtès 888569161c Add 'guix graph'.
* guix/scripts/graph.scm, tests/graph.scm, tests/guix-graph.sh,
  doc/images/coreutils-bag-graph.dot, doc/images/coreutils-graph.dot: New
  files.
* Makefile.am (MODULES): Add guix/scripts/graph.scm.
  (SH_TESTS): Add tests/guix-graph.sh.
  (SCM_TESTS): Add tests/graph.scm.
* doc.am (DOT_FILES, DOT_VECTOR_GRAPHICS): New variables.
  (EXTRA_DIST): Use them.
  (dist_infoimage_DATA): Use $(DOT_FILES).
  (pdf-local, info-local, ps-local): Likewise.
* doc/guix.texi (Packages with Multiple Outputs): Add cross-reference to 'guix
  graph'.
  (Invoking guix gc): Likewise.
  (Invoking guix graph): New section.
2015-08-27 00:49:23 +02:00
Ludovic Courtès 12e5b26643 build: Do not build (guix build syscalls) if 'mount' is missing from libc.
This disables compilation of this module on GNU/Hurd.
Reported by Manolis Ragkousis <manolis837@gmail.com>.

* m4/guix.m4 (GUIX_CHECK_LIBC_MOUNT): New variable.
* configure.ac: Use it.  Define 'BUILD_SYSCALLS_MODULE' conditional.
* Makefile.am (MODULES, EXTRA_DIST): Make 'guix/build/syscalls.scm'
  conditional on BUILD_SYSCALLS_MODULE.
2015-08-27 00:49:23 +02:00
Ludovic Courtès c2b8467645 gexp: Add 'lower-object'.
* guix/gexp.scm (lower-object): New procedure.
  (lower-inputs, lower-references, gexp->sexp): Use it.
* tests/gexp.scm ("lower-object"): New test.
* doc/guix.texi (G-Expressions): Document it.
2015-08-27 00:49:23 +02:00
Ricardo Wurmus f7283db37d gnu: Add BioPerl.
* gnu/packages/bioinformatics.scm (bioperl-minimal): New variable.
2015-08-26 17:54:52 +02:00
Ludovic Courtès 14e2e44d44 gnu: pius: Adjust to the new libpius.
Prior to this commit the libpius modules would not be found and the default
GnuPG file name would be /usr/bin/gpg.

* gnu/packages/gnupg.scm (pius)[inputs]: Remove PYTHON-2.
  [build-system]: Switch to PYTHON-BUILD-SYSTEM.
  [arguments]: Add #:python.  Change to add a single phase,
  'set-gpg-file-name'.
2015-08-26 00:43:37 +02:00
Ludovic Courtès fe32241ad5 tests: Work around Btrfs handling of nlink for empty directories.
Fixes <http://bugs.gnu.org/21280>.
Reported by Leo Famulari <leo@famulari.name>.

* tests/nar.scm (file-tree-equal?): Use #t as the initial result.  Btrfs would
  set nlink to 1 instead of 2 for an empty directory, thereby leading
  'file-tree-equal?' to return #f.
2015-08-26 00:43:36 +02:00
Mathieu Lirzin 45fed6d32c gnu: ratpoison: Clean definition.
* gnu/packages/ratpoison.scm (ratpoison)[arguments]: Use modify-phases.
  [inputs]: Sort alphabetically.  Move ratpoison.desktop to ...
  [native-inputs]: ... here.
2015-08-25 23:40:46 +02:00
Ricardo Wurmus 2d0fd07bb9 gnu: Add Pure Data.
* gnu/packages/music.scm (pd): New variable.
2015-08-25 19:07:01 +02:00
宋文武 9a59673d26 gnu: tmux: Update to 2.0.
* gnu/packages/tmux.scm (tmux): Update to 2.0.
  Update source uri and home-page to github.
2015-08-25 19:42:14 +08:00
宋文武 80700c4d6a gnu: weechat: Update to 1.3.
* gnu/packages/weechat.scm (weechat): Update to 1.3.
2015-08-25 19:28:14 +08:00
Mark H Weaver 6bf99bac95 guix package: -s shows outputs.
* guix/ui.scm (package->recutils): Print "outputs:".
2015-08-24 20:22:36 -04:00
Andy Wingo be23021d93 gnu: llvm: Update to 3.6.2.
* gnu/packages/llvm.scm (llvm, clang-runtime, clang): Update to 3.6.2.
2015-08-24 11:45:18 -04:00
Andy Wingo b81f56932e gnu: clang-runtime: New package, propagated by clang.
* gnu/packages/llvm.scm (clang-runtime-from-llvm): New function.
  (clang-from-llvm): Add clang-runtime argument and propagate clang-runtime
  input.
  (clang-runtime, clang-runtime-3.5): New variables.
  (clang, clang-3.5): Adapt to propagate clang-runtime modules.
2015-08-24 11:45:06 -04:00
Andy Wingo 22d0e9b792 gnu: Simplify LLVM build.
* gnu/packages/llvm.scm (llvm)[arguments]: Remove phases argument.
  Add to configure-flags "-DCMAKE_SKIP_BUILD_RPATH=FALSE" and
  "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE".
2015-08-24 11:40:41 -04:00
Siniša Biđin c34507d662 gnu: Add ghc-x11-xft.
* gnu/packages/haskell.scm (ghc-x11-xft): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 16:49:57 -05:00
Siniša Biđin 720fb41c69 gnu: Add ghc-x11.
* gnu/packages/haskell.scm (ghc-x11): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 16:49:57 -05:00
Siniša Biđin 1c77d0caa9 gnu: Add ghc-data-default.
* gnu/packages/haskell.scm (ghc-data-default): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 16:49:57 -05:00
Siniša Biđin 7fc7186ede gnu: Add ghc-utf8-string.
* gnu/packages/haskell.scm (ghc-utf8-string): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 16:49:57 -05:00
Siniša Biđin 4271d13474 gnu: Add ghc-data-default-instances-dlist.
* gnu/packages/haskell.scm (ghc-data-default-instances-dlist):
  New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 16:49:57 -05:00
Siniša Biđin 05b964ae85 gnu: Add ghc-extensible-exceptions.
* gnu/packages/haskell.scm (ghc-extensible-exceptions): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 16:49:57 -05:00
Siniša Biđin eb6ae860e5 gnu: Add ghc-dlist.
* gnu/packages/haskell.scm (ghc-dlist): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 16:49:57 -05:00
Siniša Biđin 684f29abfc gnu: Add ghc-data-default-instances-old-locale.
* gnu/packages/haskell.scm (ghc-data-default-instances-old-locale):
  New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 16:49:57 -05:00
Siniša Biđin 77a23be2aa gnu: Add ghc-data-default-instances-containers.
* gnu/packages/haskell.scm (ghc-data-default-instances-containers):
  New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 16:49:57 -05:00
Siniša Biđin 9deb95aa95 gnu: Add ghc-data-default-instances-base.
* gnu/packages/haskell.scm (ghc-data-default-instances-base): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 16:49:57 -05:00
Siniša Biđin 5079a0af0d gnu: Add ghc-data-default-class.
* gnu/packages/haskell.scm (ghc-data-default-class): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 16:49:57 -05:00
宋文武 9297065a2b system: Make PAM store SHA-512 encrypted passwords in /etc/shadow.
Fixes <http://bugs.gnu.org/21318>.

* gnu/system/linux.scm (unix-pam-service)[password]: Add 'sha512' and
  'shadow' to arguments.
2015-08-24 08:13:32 +08:00
Ludovic Courtès c6e59259fd gnu: hwloc: Propagate libpciaccess.
* gnu/packages/mpi.scm (hwloc)[inputs]: Move LIBPCIACCESS to...
  [propagated-inputs]: ... here.  New field.
2015-08-24 00:28:36 +02:00
Eric Dvorsak 63b1bdbc43 gnu: Add i3status.
* gnu/packages/wm.scm (i3status): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 11:32:09 -05:00
Eric Dvorsak 5c37126f68 gnu: Add libconfuse.
* gnu/packages/wm.scm (libconfuse): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 11:30:41 -05:00
Eric Dvorsak bda2ded6b6 gnu: Add i3-wm.
* gnu/packages/wm.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 11:28:16 -05:00
Eric Dvorsak 94a3d8fd6b gnu: Add xcb-util-cursor.
* gnu/packages/xorg.scm (xcb-util-cursor): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 11:26:10 -05:00
Eric Dvorsak c808ca02dd gnu: Add libev.
* gnu/packages/libevent.scm (libev): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 11:26:10 -05:00
Eric Dvorsak d8f1c07499 gnu: Add libyajl.
* gnu/packages/web.scm (libyajl): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 11:26:03 -05:00
Eric Dvorsak f187b2a29f gnu: Add Pod-Simple.
* gnu/packages/perl.scm (perl-pod-simple): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 11:26:03 -05:00
Andreas Enge 3573b634ba gnu: Add LablGtk.
* gnu/packages/ocaml.scm (lablgtk): New variable.
2015-08-23 19:56:22 +02:00
Andreas Enge 0a38a49702 gnu: libgnomeui: Propagate inputs.
* gnu/packages/gnome.scm (libgnomeui): Propagate inputs libbonoboui and
  libgnomecanvas as stipulated by libgnomeui-2.0.pc.
2015-08-23 19:44:06 +02:00
Andreas Enge 92dcc23d2b gnu: libglade: Propagate inputs.
* gnu/packages/gnome.scm (libglade): Propagate inputs gtk+-2 and libxml
  as stipulated by libglade-2.0.pc.
2015-08-23 19:27:48 +02:00
Andreas Enge 006faa3589 gnu: camlp4: Update to 4.02+6.
* gnu/packages/ocaml.scm (camlp4): Update to 4.02+6.
2015-08-23 18:49:45 +02:00
Andreas Enge d4bf3dacd2 gnu: camlp5: Update to 6.14.
* gnu/packages/ocaml.scm (camlp5): Update to 6.14.
2015-08-23 18:30:27 +02:00
Andreas Enge b9d8756b13 gnu: Add unison.
* gnu/packages/ocaml.scm (unison): New variable.
2015-08-23 18:11:16 +02:00
Andreas Enge be78e52cb0 gnu: ocaml: Update to 4.02.3.
* gnu/packages/ocaml.scm (ocaml): Update to 4.02.3.
2015-08-23 16:30:52 +02:00
宋文武 2e718b9f21 gnu: gnome-desktop, gnome-themes-standard: Update to 3.16.2.
* gnu/packages/gnome.scm (gnome-desktop, gnome-themes-standard):
  Update to 3.16.2.
2015-08-23 18:50:26 +08:00
宋文武 bcb354ad94 gnu: Fix build failures due to missing XMLLINT.
This is a followup to commit 4b58d88.

* gnu/packages/gnome.scm (eog, epiphany, evince, gnome-desktop,
  gnome-klotski, gnome-mines, gnome-terminal, rhythmbox, seahorse,
  simple-scan, totem): Add LIBXML2 to native-inputs.
  (evince, gnome-desktop, rhythmbox): Move ITSTOOL to native-inputs.
2015-08-23 18:41:25 +08:00
宋文武 a63a73dcb7 gnu: gdk-pixbuf: Merge the two 'arguments' fields.
This is a followup to commit 0d5ddad.

* gnu/packages/gtk.scm (gdk-pixbuf): Merge the two 'arguments' fields.
2015-08-22 21:52:32 -04:00
David Thompson caf87fd8c6 gnu: tiled: Update to 0.13.0.
* gnu/packages/game-development (tiled): Update to 0.13.0.
2015-08-22 21:03:53 -04:00
宋文武 83a2e49204 gnu: Add accountsservice.
* gnu/packages/freedesktop.scm (accountsservice): New variable.
2015-08-22 17:18:01 +08:00
Mark H Weaver 86aff7912c gnu: d-feet: Return booleans from phase procedures.
* gnu/packages/gnome.scm (d-feet)[arguments]: Return booleans from phase
  procedures.  Omit unused 'inputs' keyword argument from 'pre-check' phase.
2015-08-22 02:34:41 -04:00
Mark H Weaver 020cdbd0e4 gnu: git-manpages: Update sha256 hash for version 2.5.0.
This is a followup to commit c1b7ea1e24.

* gnu/packages/version-control.scm (git-manpages)[source]: Update sha256 hash.
2015-08-22 02:32:43 -04:00
宋文武 a3856b2ce3 gnu: Add d-feet.
* gnu/packages/gnome.scm (d-feet): New variable.
2015-08-22 13:42:23 +08:00
宋文武 4b58d88bcd gnu: itstool: Wrap with PYTHONPATH.
* gnu/packages/glib.scm (itstool): Change 'propagated-inputs' to 'inputs'.
  [arguments]: New field.
2015-08-22 13:42:23 +08:00
Efraim Flashner de1d7cbbdc gnu: abcde: Update to 2.7.
* gnu/packages/cdrom.scm (abcde): Update to 2.7.
2015-08-22 00:44:40 -04:00
Jeff Mickey c1b7ea1e24 gnu: git: Update to 2.5.0
* gnu/packages/version-control.scm (git): Update to 2.5.0
2015-08-21 23:57:09 -04:00
Efraim Flashner 2bcfdd8f9c gnu: youtube-dl: Update to 2015.08.16.1.
* gnu/packages/video.scm (youtube-dl): Update to 2015.08.16.1.
2015-08-21 23:10:07 -04:00
Leo Famulari 491ae037ec gnu: Add dvtm.
* gnu/packages/dvtm.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-08-21 22:38:07 -04:00
Mark H Weaver 314529c271 gnu: curl: Update to 7.44.0.
* gnu/packages/curl.scm (curl): Update to 7.44.0.
2015-08-21 12:02:22 -04:00
Mark H Weaver 0058239ed3 gnu: subversion: Update to 1.8.14.
* gnu/packages/patches/subversion-sqlite-3.8.9-fix.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/version-control.scm (subversion): Update to 1.8.14.  Remove
  patch.
2015-08-21 12:02:22 -04:00
Mark H Weaver 686b1bab5b gnu: ruby: Update to 2.2.3.
* gnu/packages/ruby.scm (ruby): Update to 2.2.3.
2015-08-21 12:02:22 -04:00
Mark H Weaver 0d5ddad41b gnu: gdk-pixbuf: Update to 2.31.6.
* gnu/packages/gtk.scm (gdk-pixbuf): Update to 2.31.6.
  [arguments]: Add 'disable-failing-tests' phase.
2015-08-21 12:02:21 -04:00
Mark H Weaver 9cdce047d0 gnu: gnutls: Update to 3.4.4.1.
* gnu/packages/patches/gnutls-doc-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/tls.scm (gnutls): Update to 3.4.4.1.  Add patch.
  [arguments]: Add 'delete-prebuilt-unfixed-info-file' phase.
  In 'move-doc' phase, copy man pages to the correct directory.
  [native-inputs]: Add 'texinfo'.
2015-08-21 12:02:20 -04:00
Andreas Enge 80601ec179 gnu: libmtp: Update to 1.1.9.
* gnu/packages/libusb.scm (libmtp): Update to 1.1.9.
2015-08-21 09:14:21 +02:00
David Thompson 477ac94ba2 gnu: inconsolata: Fix typo in variable name.
* gnu/packages/fonts.scm (font-incosolata): Rename to...
  (font-inconsolata): ... this.
2015-08-20 19:04:43 -04:00
Ludovic Courtès 3d89031804 gnu: Add fuse-exfat.
* gnu/packages/linux.scm (fuse-exfat): New variable.
2015-08-20 21:00:09 +02:00
Ludovic Courtès 8f43d1ba99 gnu: Add exfat-utils.
* gnu/packages/mtools.scm (exfat-utils): New variable.
2015-08-20 20:59:49 +02:00
Ludovic Courtès 4a9999871c bash completion: Cache the list of subcommands and available packages.
* etc/completion/bash/guix (_guix_complete_available_package): Cache the list
  of available packages in '_guix_available_packages' and use it.
  (_guix_complete): Cache the list of subcommands in '_guix_subcommands' and
  use it.
2015-08-20 19:57:33 +02:00
Ludovic Courtès fa96048f0a profiles: Remove duplicate entries in 'etc/profile'.
Reported by Andy Wingo
at <http://lists.gnu.org/archive/html/guix-devel/2015-08/msg00109.html>.

* guix/profiles.scm (profile-derivation)[builder]: Delete duplicates in
  SEARCH-PATHS.
2015-08-20 19:12:36 +02:00
Jeff Mickey feca8e2bc7 gnu: Add tinc.
* gnu/packages/vpn.scm (tinc): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-20 18:01:44 +02:00
Jeff Mickey 08cc159a70 gnu: pavucontrol: Update to 3.0.
* gnu/packages/pulseaudio.scm (pavucontrol): Update to 3.0.
* gnu/packages/patches/pavucontrol-sigsegv.patch: Remove.
* gnu-system.am (dist_patch_DATA): Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-20 17:52:29 +02:00
Andy Wingo cee32ee4d3 gnu: Add GeoClue desktop service.
* gnu/services/desktop.scm (bool): New top-level helper.
  (upower-configuration-file): Use top-level `bool'.
  (geoclue-application): New public function.
  (%standard-geoclue-applications): New public variable.
  (geoclue-service): New public variable.
  (%desktop-services): Add GeoClue.  Add a comment about activation.
* doc/guix.texi (Desktop Services): Document the GeoClue service.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-20 17:05:30 +02:00
Ludovic Courtès 4006fd87b5 gnu: dmd: Apply 'make-forkexec-constructor' patch.
Proposed by Andy Wingo <wingo@igalia.com>.

* gnu/packages/admin.scm (dmd): Add 'base-version' and 'patch-level'
  variables.
  [source]: Use 'base-version' instead of 'version'.  Add 'patches' field.
2015-08-20 16:57:25 +02:00
Eric Dvorsak dede51a18b gnu: Add font-inconsolata
* gnu/packages/fonts.scm (font-inconsolata): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-20 16:41:12 +02:00
Eric Dvorsak e93b88f782 gnu: Add font-ubuntu.
* gnu/packages/fonts/scm (font-ubuntu): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-20 16:40:10 +02:00
Siniša Biđin a6dcdcac76 doc: Add missing gawk dependency to hello recipe.
* doc/guix.texi (Defining Packages): Add gawk dependency.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-20 16:34:02 +02:00
宋文武 5084eb4595 gnu: libinput: Update to 0.21.0.
* gnu/packages/freedesktop.scm (libinput): Update to 0.21.0.
2015-08-20 17:05:36 +08:00
Ricardo Wurmus 2824146bd8 guix: Add Sleepycat license.
* guix/licenses.scm (sleepycat): New variable.
2015-08-20 08:32:28 +02:00
Steve Sprang 6ef9edbff3 gnu: Add figlet.
* gnu/packages/figlet.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-08-20 08:28:47 +02:00
Steve Sprang de63b20ed1 gnu: Add pwgen.
* gnu/packages/password-utils.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-08-20 00:53:30 -04:00
David Thompson 0d2794005c scripts: package: Add --install-from-file option.
* guix/scripts/package.scm (show-help): Add help text for --install-from-file
  option.
  (%options): Add --install-from-file option.
* tests/guix-package.sh: Test it.
* doc/guix.texi ("invoking guix package"): Document it.
* doc/package-hello.scm: New file.
* doc.am (EXTRA_DIST): Add it.
2015-08-19 22:23:59 -04:00
Ludovic Courtès 83bde59fb3 size: Get the item's size from the daemon rather than compute it.
This removes all I/O, which obviously makes things faster.

* guix/scripts/size.scm (file-size, store-item-exists?): Remove.
  (query-path-info*): New procedure.
  (file-size*): Rename to...
  (file-size): ... this; adjust caller.  Use 'query-path-info*' instead of
  'file-size'.
2015-08-19 11:39:18 +02:00
Ludovic Courtès 40a7d4e58b lint: Add 'formatting' checker.
* guix/scripts/lint.scm (report-tabulations, report-trailing-white-space,
  report-long-line, report-formatting-issues, check-formatting): New
  procedures.
  (%formatting-reporters): New variable.
  (%checkers): Add 'formatting' checker.
* tests/lint.scm ("formatting: tabulation", "formatting: trailing white
  space", "formatting: long line", "formatting: alright"): New tests.
* doc/guix.texi (Invoking guix lint): Mention the 'formatting' checker.
2015-08-19 11:39:17 +02:00
Mark H Weaver 7cb6f648b2 gnu: qemu: Update to 2.3.1. Add fix for CVE-2015-5745.
* gnu/packages/patches/qemu-CVE-2015-5745.patch: New file.
* gnu/packages/patches/qemu-CVE-2015-3456.patch,
  gnu/packages/patches/qemu-CVE-2015-5154-pt1.patch,
  gnu/packages/patches/qemu-CVE-2015-5154-pt2.patch,
  gnu/packages/patches/qemu-CVE-2015-5154-pt3.patch,
  gnu/packages/patches/qemu-CVE-2015-5158.patch: Delete files.
* gnu-system.am (dist_patch_DATA): Add new file and remove the deleted ones.
* gnu/packages/qemu.scm (qemu): Update to 2.3.1.  Add new patch and remove the
  deleted ones.
2015-08-18 23:57:25 -04:00
Mark H Weaver 2376963411 Revert "PRELIMINARY: gnu: Add ppp."
This reverts commit ba139bd75b.
2015-08-18 23:56:18 -04:00
Mark H Weaver e4fb9d2d97 Revert "PRELIMINARY: dbus-service: Include system-services directories."
This reverts commit e3484421cb.
2015-08-18 23:56:18 -04:00
Mark H Weaver 89a39d4e76 Revert "PRELIMINARY: gnu: polkit: Work on making it functional in practice."
This reverts commit e640340b9e.
2015-08-18 23:56:17 -04:00
Mark H Weaver 139d7e9541 Revert "PRELIMINARY: Add dbus-fixed."
This reverts commit 86e3f95a09.
2015-08-18 23:56:16 -04:00
Mark H Weaver 3b65abacff Revert "PRELIMINARY: Add three programs to %setuid-programs."
This reverts commit fb1e06fc5f.
2015-08-18 23:56:16 -04:00
Mark H Weaver 46c92ea058 Revert "PRELIMINARY: Modify dbus-configuration to find setuid helper."
This reverts commit fe1f2c80a1.
2015-08-18 23:56:15 -04:00
Mark H Weaver 6744aba846 Revert "PRELIMINARY: gnu: wpa-supplicant: Install dbus service files."
This reverts commit 9243fdf779.
2015-08-18 23:56:14 -04:00
Mark H Weaver 7f1b865819 Revert "PRELIMINARY: gnu: Add network-manager."
This reverts commit 0f402e4cf8.
2015-08-18 23:56:10 -04:00
Mark H Weaver 0f402e4cf8 PRELIMINARY: gnu: Add network-manager.
* gnu/packages/patches/network-manager-platform-managed.patch,
  gnu/packages/network-manager.scm: New files.
* gnu-system.am (GNU_SYSTEM_MODULES): Add network-manager.scm.
  (dist_patch_DATA): Add network-manager-platform-managed.patch.
2015-08-18 23:52:57 -04:00
Mark H Weaver 9243fdf779 PRELIMINARY: gnu: wpa-supplicant: Install dbus service files. 2015-08-18 23:52:57 -04:00
Mark H Weaver fe1f2c80a1 PRELIMINARY: Modify dbus-configuration to find setuid helper. 2015-08-18 23:52:57 -04:00
Mark H Weaver fb1e06fc5f PRELIMINARY: Add three programs to %setuid-programs. 2015-08-18 23:52:57 -04:00
Mark H Weaver 86e3f95a09 PRELIMINARY: Add dbus-fixed. 2015-08-18 23:52:57 -04:00
Mark H Weaver e640340b9e PRELIMINARY: gnu: polkit: Work on making it functional in practice. 2015-08-18 23:52:57 -04:00
Mark H Weaver e3484421cb PRELIMINARY: dbus-service: Include system-services directories. 2015-08-18 23:52:57 -04:00
Mark H Weaver ba139bd75b PRELIMINARY: gnu: Add ppp.
TODO: Fix 'license' field.

* gnu/packages/networking.scm (ppp): New variable.
2015-08-18 23:52:57 -04:00
Mark H Weaver e41e013b1b gnu: linux-libre: Update to 4.1.6.
* gnu/packages/linux.scm (linux-libre): Update to 4.1.6.
2015-08-18 23:18:14 -04:00
宋文武 8a0263f17b gnu: tk: Build with Xft support.
* gnu/packages/tcl.scm (tk)[inputs]: Add LIBXFT.
  [native-inputs]: New field.
2015-08-19 09:19:09 +08:00
Daniel Pimentel 9523f6378a gnu: Add Rage player.
* gnu/packages/enlightenment.scm: Add Rage.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-19 00:36:41 +02:00
David Thompson e83c6d009f build: ruby: Rewrite build system to use gem archives.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>

* guix/build-system/ruby.scm (lower): Remove git dependency.
  (rubygems-uri): New procedure.
* guix/build/ruby-build-system (gitify): Delete.
  (unpack): Use 'gem unpack' utility.
  (check): Add docstring.
  (build): Repack modified gem.
  (install): Rebuild unpacked gem and install it.
  (%standard-phases): Remove gitify and build phases.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
  ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
  ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
  ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
  ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
  ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
  ruby-multipart-post): Convert to new build system.
* doc/guix.texi (ruby-build-system): Document the gem archive requirement.
2015-08-18 17:58:13 -04:00
Andreas Enge 4ab9f96a5c gnu: calibre: Update to 2.35.0.
* gnu/packages/ebook.scm (calibre): Update to 2.35.0.
2015-08-17 22:44:58 +02:00
David Thompson 39e336b5c8 syscalls: setns: Skip binding if there is no such C function.
On systems with a glibc prior to 2.14, the 'setns' function is not available.

Thanks to Eric Bavier for reporting the issue.

* guix/build/syscalls.scm (setns): Wrap with 'false-if-exception'.
2015-08-17 14:51:18 -04:00
Ricardo Wurmus 12a9f4af01 gnu: r: Add R_LIBS_SITE to native-search-paths.
* gnu/packages/statistics.scm (r)[native-search-paths]: Add
  specification for "R_LIBS_SITE" variable.
2015-08-17 10:35:41 +02:00
Ricardo Wurmus 62de2545e1 gnu: r: Update to 3.2.2.
* gnu/packages/statistics.scm (r): Update to 3.2.2.
2015-08-17 10:35:41 +02:00
Eric Bavier 9b459fc7e1 gnu: Add American fuzzy lop.
* gnu/packages/debug.scm (american-fuzzy-lop): New variable.
2015-08-16 18:06:25 -05:00
Eric Bavier 20c263b00f gnu: qemu: Honor #:configure-flags argument.
* gnu/packages/qemu.scm (qemu-headless)[arguments]: Honor #:configure-flags
  arguments for configure phase.
2015-08-16 18:06:25 -05:00
Ricardo Wurmus 4e0143738f gnu: ardour: Update to 4.2.
* gnu/packages/audio.scm (ardour): Update to 4.2.
2015-08-16 21:55:44 +02:00
David Thompson eb537f5748 gnu: notmuch: Update to 0.20.2.
* gnu/packages/mail.scm (notmuch): Update to 0.20.2.  Add python-sphinx native
  input.  Rewrite phases using 'modify-phases' syntax.
2015-08-16 15:35:05 -04:00
David Thompson 07cd148c7a gnu: offlineimap: Update to 6.5.7.
* gnu/packages/mail.scm (offlineimap): Update to 6.5.7.
2015-08-16 10:29:08 -04:00
Ricardo Wurmus 497674280f gnu: guitarix: Update to 0.33.0.
* gnu/packages/audio.scm (guitarix): Update to 0.33.0.
  [native-inputs]: Add faust.
2015-08-16 07:55:08 +02:00
David Thompson a10052acd5 gnu: Add znc.
* gnu/packages/messaging.scm (znc): New variable.
2015-08-15 13:08:09 -04:00
Taylan Ulrich Bayırlı/Kammer a6d605e648 gnu: Remove mplayer2.
* gnu/packages/video.scm (mplayer2): Removed variable.
2015-08-15 15:20:02 +02:00
宋文武 80a747c4fe gnu: epiphany: Add dconf to propagated-inputs.
* gnu/packages/gnome.scm (epiphany)[propagated-inputs]: New field.
2015-08-15 21:10:06 +08:00
Andreas Enge ad11974e8f gnu: flint: Disable parallel tests.
* gnu/packages/algebra.scm (flint)[arguments]: Disable parallel tests,
  which makes the build pass on arm.
2015-08-15 09:24:30 +02:00
Eric Bavier c449a07693 gnu: Add Gamine.
* gnu/packages/games.scm (gamine): New variable.
2015-08-14 12:11:59 -05:00
宋文武 907f939b9b gnu: glib-networking: Prefer 'SSL_CERT_FILE' as TLS CA file.
This is an improvement over commit af6100f.

* gnu/packages/gnome.scm (glib-networking)[source](patches): New field.
  [arguments]: Pass '/etc/ssl/certs/ca-certificates.crt' to configure.
  Set 'SSL_CERT_FILE' to '/dev/null' in 'use-empty-ssl-cert-file' phase.
  (libsoup)[arguments]: Set 'SSL_CERT_FILE' to '/dev/null' in
  'pre-check' phase.
* gnu/packages/patches/glib-networking-ssl-cert-file.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
2015-08-14 17:58:48 -04:00
Andreas Enge 6c591c8ed7 gnu: flint: Update to 2.5.2.
* gnu/packages/algebra.scm (flint): Update to 2.5.2.
* gnu/packages/patches/flint-ldconfig.patch: New file.
* gnu-system.am (dist_patch_DATA): Register the patch.
2015-08-14 18:14:33 +02:00
Andreas Enge 91430de6df gnu: flint: Rewrite using the modify-phases syntax.
* gnu/packages/algebra.scm (flint)[arguments]: Rewrite the phases using
  the modify-phases syntax.
2015-08-14 18:14:33 +02:00
Mark H Weaver c2099a4c82 gnu: wireless-tools: Build shared library; remove non-free headers.
* gnu/packages/linux.scm (wireless-tools)[source]: Replace unneeded
  old snippet with a new one that removes non-free files.
  [arguments]: Use modify-phases.  Remove custom 'configure' phase.  Add
  make-flags.
  [license]: Change to (list gpl2 lgpl2.1+).
2015-08-14 11:34:58 -04:00
Ricardo Wurmus c1670a8196 gnu: shogun: Move package to machine-learning.scm.
* gnu/packages/bioinformatics.scm (shogun): Move from here...
* gnu/packages/machine-learning.scm (shogun): ...to here.
2015-08-14 17:17:05 +02:00
David Thompson 365481116c gnu: Add guile-redis.
* gnu/packages/guile.scm (guile-redis): New variable.
2015-08-14 07:30:36 -04:00
David Thompson 27f5e13e0a gnu: Add haunt.
* gnu/packages/guile.scm (haunt): New variable.
2015-08-14 07:29:35 -04:00
宋文武 8ff275687d Revert "gnu: glib-networking: Use '/etc/ssl/certs/ca-certificates.crt' as TLS CA file."
This broke libsoup tests.

This reverts commit af6100f51b.
2015-08-14 15:30:53 +08:00
Eric Bavier 1cdecaf5e6 gnu: fish: Update to 2.2.0.
* gnu/packages/fish.scm (fish): Update to 2.2.0.
2015-08-14 01:51:32 -05:00
Eric Bavier 50aec63560 gnu: calcurse: Update to 4.0.0.
* gnu/packages/calcurse.scm (calcurse): Update to 4.0.0.
  [arguments]: New field.
2015-08-14 01:30:35 -05:00
Eric Bavier 61be05c3c3 gnu: c-reduce: Update to 2.3.0.
* gnu/packages/debug.scm (c-reduce): Update to 2.3.0.
  [inputs]: Use latest llvm and clang.
2015-08-14 01:22:18 -05:00
宋文武 af6100f51b gnu: glib-networking: Use '/etc/ssl/certs/ca-certificates.crt' as TLS CA file.
* gnu/packages/gnome.scm (glib-networking)[arguments]: Pass
  '--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt' to configure.
  Add 'disable-failing-tls-tests' phase.
2015-08-14 11:32:09 +08:00
Mark H Weaver f6a9bf848f gnu: webkitgtk: Update to 2.8.5.
* gnu/packages/webkit.scm (webkitgtk): Update to 2.8.5.
  [arguments]: Add 'add-gst-plugins-base-include-path' phase.
2015-08-13 22:10:11 -04:00
Mark H Weaver 625c91767f gnu: webkitgtk/gtk+-2: Change name field to "webkitgtk-gtk2".
* gnu/packages/webkit.scm (webkitgtk/gtk+-2)[name]: Change to
  "webkitgtk-gtk2".
2015-08-13 22:10:11 -04:00
宋文武 159093a70f gnu: Add wesnoth.
* gnu/packages/games.scm (wesnoth): New variable.
2015-08-13 17:49:38 +08:00
Mark H Weaver c755c85467 gnu: Add rfkill.
* gnu/packages/linux.scm (rfkill): New variable.
2015-08-12 22:10:58 -04:00
Mark H Weaver c037a0f7ce gnu: icecat: Add fixes for CVE-2015-{4473,4482,4488,4489,4491,4492}.
WARNING: CVE-2015-4473 may not be fully addressed here, because I was unable
to backport some of the patches (for upstream bugs 1182711 and 1146213).  I
was also unable to backport CVE-2015-4484 (upstream bug 1171540) and
CVE-2015-4487 (upstream bug 1171603).  I was unable to find any commit in the
upstream repository that claims to address bug 1105914 (CVE-2015-4478).

* gnu/packages/patches/icecat-CVE-2015-4473-partial.patch,
  gnu/packages/patches/icecat-CVE-2015-4482.patch,
  gnu/packages/patches/icecat-CVE-2015-4488.patch,
  gnu/packages/patches/icecat-CVE-2015-4489.patch,
  gnu/packages/patches/icecat-CVE-2015-4491.patch,
  gnu/packages/patches/icecat-CVE-2015-4492.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patches.
2015-08-12 20:37:44 -04:00
Mark H Weaver f74c577ce0 gnu: linux-libre: Update to 4.1.5.
* gnu/packages/linux.scm (linux-libre): Update to 4.1.5.
2015-08-12 13:30:05 -04:00
Andreas Enge c769a1638b gnu: sipwitch: Update to 1.9.9.
* gnu/packages/telephony.scm (sipwitch): Update to 1.9.9.
2015-08-12 18:17:29 +02:00
Andreas Enge 619a660f6e gnu: ucommon: Update to 6.5.1.
* gnu/packages/telephony.scm (ucommon): Update to 6.5.1.
2015-08-12 18:17:29 +02:00
Mark H Weaver 2f9c3d1939 gnu: openssh: Update to 7.0p1.
* gnu/packages/ssh.scm (openssh): Update to 7.0p1.
2015-08-12 12:06:04 -04:00
Mathieu Lirzin 8cba71c7a0 gnu: ratpoison: Update to 1.4.8.
* gnu/packages/ratpoison.scm (ratpoison): Update to 1.4.8.
* gnu/packages/patches/ratpoison-shell.patch: Adapt to it.
2015-08-12 15:30:04 +02:00
Andreas Enge aae70767bf gnu: avidemux: Update to 2.6.10. Disable GTK+ build.
* gnu/packages/video.scm (avidemux): Update to 2.6.10. Disable the GTK+
  build, which fails, and remove the gtk+ input.
2015-08-12 09:54:26 +02:00
Mark H Weaver ae4784af54 gnu: wicd: Fix bugs in curses interface program.
* gnu/packages/patches/wicd-bitrate-none-fix.patch,
  gnu/packages/patches/wicd-get-selected-profile-fix.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/wicd.scm (wicd)[source]: Add patches.
2015-08-12 00:22:02 -04:00
Andreas Enge 1e738fc8a5 gnu: gnupg: Update to 2.1.7.
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.7.
2015-08-11 23:39:45 +02:00
Alex Kost 0ce4c9d5ca Add new entries to .mailmap.
* .mailmap: Add new lines for Andy Wingo and Eric Dvorsak.
2015-08-11 20:23:46 +03:00
Andreas Enge 176be3d436 gnu: calibre: Update to 2.34.0.
* gnu/packages/ebook.scm (calibre): Update to 2.34.0.
2015-08-11 16:57:47 +02:00
Andreas Enge e8bdd73ac6 gnu: python-sip, python-pyqt: Fix computation of python library path.
* gnu/packages/qt.scm (python-sip, python2-sip, python-pyqt, python2-pyqt,
    python-pyqt-4, python2-pyqt-4)[arguments]: Fix computation of python
    library path for multi-digit python versions.
2015-08-11 15:50:10 +02:00
David Thompson bc459b617f tests: containers: Skip if setgroups file does not exist.
Fixes bug #21226.

Linux 3.19 introduced a fix for a security vulnerability in user namespaces.
This fix introduced a new proc file called 'setgroups' and was backported to
many older kernels.  However, some users run a kernel that is new enough to
support user namespaces yet old enough to not include the patch, so we must
skip the tests.

* tests/containers.scm: Skip all tests if /proc/self/setgroups does not exist.
2015-08-11 08:30:28 -04:00
宋文武 7549f98415 gnu: Add epiphany.
* gnu/packages/gnome.scm (epiphany): New variable.
2015-08-11 17:27:01 +08:00
Andreas Enge 9975549142 gnu: python-pyqt-4: Update to 4.11.4.
* gnu/packages/qt.scm (python-pyqt-4, python2-pyqt-4): Update to 4.11.4.
2015-08-10 15:59:37 +02:00
Andreas Enge 0c84e33ec1 gnu: python-pyqt: Update to 5.5.
* gnu/packages/qt.scm (python-pyqt, python2-pyqt): Update to 5.5.
2015-08-10 15:47:04 +02:00
Andreas Enge d032bb7464 gnu: python-sip: Update to 4.16.9.
* gnu/packages/qt.scm (python-sip, python2-sip): Update to 4.16.9.
2015-08-10 15:47:04 +02:00
Alex Kost 1d3eaef90c import: elpa: Fix typo.
Reported by Eric Dvorsak <eric@dvorsak.fr> on #guix.

* guix/scripts/import/elpa.scm (%default-options): Remove redundant
  quote which led to an error if --archive option was not specified.
2015-08-10 15:46:10 +03:00
Cyril Roelandt 98bdee6725 gnu: Bump python-six to 1.9.0.
* gnu/packages/python.scm (python-six): Bump to 1.9.0.
2015-08-09 16:44:39 +02:00
David Thompson 463f676682 gnu: Add redis.
* gnu/packages/databases.scm (redis): New variable.
2015-08-08 14:55:08 -04:00
Andy Wingo 0abe1d86f5 gnu: Add simple-scan.
* gnu/packages/gnome.scm (simple-scan): New variable.
2015-08-08 14:09:56 -04:00
Andy Wingo 7c88b6bd5c gnu: Add gusb.
* gnu/packages/gnome.scm (gusb): New variable.
2015-08-08 14:09:56 -04:00
Andy Wingo 3bc4544929 gnu: Add gtk-doc.
* gnu/packages/gtk.scm (gtk-doc): New variable.

Modified-By: Mark H Weaver <mhw@netris.org>
2015-08-08 14:09:56 -04:00
Andy Wingo 3b71b36c08 gnu: sane-backends: Support USB scanners.
* gnu/packages/scanner.scm (sane-backends): Build with libusb-compat as an
  input and install a udev rule to give users access to scanners.

Modified-By: Mark H Weaver <mhw@netris.org>
2015-08-08 14:09:56 -04:00
Andy Wingo e0477b7391 gnu: Add libusb-compat.
* gnu/packages/libusb.scm (libusb-compat): New variable.

Modified-By: Mark H Weaver <mhw@netris.org>
2015-08-08 14:09:56 -04:00
Mark H Weaver 7a75b02ae5 gnu: Move ghostscript-with-x into (gnu packages ghostscript).
* gnu/packages/gv.scm (ghostscript/x): Move ...
* gnu/packages/ghostscript.scm (ghostscript/x): ... to here.
2015-08-08 14:09:56 -04:00
David Thompson 831bc1468e build: container: Add #:host-uids argument to call-with-container.
It's not always possible to map 65536 uids when creating a container as the
root user within another user namespace.  This is true when building Guix
within the build daemon's container.  By using a uid range of 1 by default,
even as the root user, the tests now pass.

* gnu/build/linux-container.scm (initialize-user-namespace, run-container):
  Add 'host-uids' argument.
  (call-with-container): Add #:host-uids keyword argument.
* tests/containers.scm ("container-excursion"): Update 'run-container' call.
2015-08-08 14:04:13 -04:00
David Thompson 8c812f2aee build: file-systems: Allow for bind mounting regular files.
* gnu/build/file-systems.scm (regular-file?): New procedure.
  (mount-file-system): Create a regular file instead of a directory when bind
  mounting a regular file.
2015-08-08 14:04:00 -04:00
Mark H Weaver 014cbde612 gnu: aalib: Pass --build to configure.
* gnu/packages/video.scm (aalib)[arguments]: In configure phase, accept
  'build' keyword argument and pass it to 'configure'.
2015-08-08 00:01:44 -04:00
Mark H Weaver a5e55dfbb7 gnu: icecat: Add fix for CVE-2015-4495.
* gnu/packages/patches/icecat-CVE-2015-4495.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patch.  Move the 'patches'
  field above the snippet.
2015-08-07 23:08:41 -04:00
Eric Dvorsak ff6f33cf80 gnu: python-2: Update to 2.7.10.
* gnu/packages/patches/python2-sqlite-3.8.4-test-fix.patch,
  gnu/packages/patches/python-libffi-mips-n32-fix.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/python.scm (python-2): Update to 2.7.10.  Remove patches.
  Update comment showing test failures.
2015-08-06 16:33:54 -04:00
Mark H Weaver 9f6509c655 python-build-system: Fix 'get-python-version'.
* guix/build/python-build-system.scm (get-python-version): Rewrite to handle
  multiple-digit version number components.
2015-08-06 16:33:54 -04:00
Mark H Weaver 494e9b9167 gnu: vamp: Update to new upstream source (without version number bump).
Upstream changed the tarball contents without changing the version number.

* gnu/packages/audio.scm (vamp)[source]: Update source URI and hash.
2015-08-05 12:21:22 -04:00
Mark H Weaver 0a143f673c gnu: Add pidgin-otr.
* gnu/packages/messaging.scm (pidgin-otr): New variable.
2015-08-04 16:21:17 -04:00
Mark H Weaver b1a2bc895a gnu: Add pidgin.
* gnu/packages/patches/pidgin-add-search-path.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/messaging.scm (pidgin): New variable.
2015-08-04 16:21:17 -04:00
Mark H Weaver 008b525734 gnu: libotr: Modify description to not rely on preservation of formatting.
* gnu/packages/messaging.scm (libotr)[description]: Modify formatting.
2015-08-04 16:21:17 -04:00
Mark H Weaver 57661278a7 gnu: Remove linux-libre-4.0.
* gnu/packages/linux.scm (linux-libre-4.0): Remove.
2015-08-04 11:58:26 -04:00
Mark H Weaver 57082417f3 system: Default to newest linux-libre.
* gnu/system.scm (<operating-system>)[kernel]: Change default to
  LINUX-LIBRE.
2015-08-04 11:58:26 -04:00
Mark H Weaver ef872381ce gnu: linux-libre: Update to 4.1.4.
* gnu/packages/linux.scm (linux-libre): Update to 4.1.4.
2015-08-04 11:58:26 -04:00
David Thompson 2d0942392d gnu: node: Update to 0.12.7.
* gnu/packages/node.scm (node): Update to 0.12.7.
2015-08-03 10:02:58 -04:00
Mark H Weaver d2892f3a2d gnu: icu4c: Add fix for CVE-2015-4760.
* gnu/packages/patches/icu4c-CVE-2015-4760.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/icu4c.scm (icu4c)[source]: Add patch.
2015-08-03 02:10:14 -04:00
Steve Sprang 4988dd4008 doc: Fix minor typos.
* doc/guix.texi (Invoking guix-daemon, Application Setup, The Store): Fix
  typos.
2015-08-02 22:15:16 -04:00
Eric Dvorsak 8d801045ff gnu: Move python2-ansible to (gnu packages admin).
* gnu/packages/python.scm (python2-ansible): Move to ...
    * gnu/packages/admin.scm (ansible): ... here.
2015-08-01 21:57:26 -04:00
Mark H Weaver 29408532b4 gnu: ratpoison: Fix ratpoison.desktop URI.
* gnu/packages/ratpoison.scm (ratpoison.desktop): Change URI to use https.
2015-08-01 20:27:45 -04:00
Andreas Enge 0256c7469a gnu: texlive: Update to 2015.
* gnu/packages/texlive.scm (texlive-extra-src, texlive-texmf-src,
  texlive-bin, texlive-texmf, texlive): Update to 2015.
  (texlive-bin): Add inputs gmp and mpfr. Add configure flags to use
  system gmp and mpfr.
  (texlive-texmf)[arguments]: Add tlpkg directory to PERL5LIB path during
  the 'texmf-config phase.
2015-08-01 18:29:38 +02:00
Federico Beffa 48dbeef733 gnu: Add emacs-ob-ipython.
* gnu/packages/emacs.scm (emacs-ob-ipython): New variable.
2015-08-01 12:37:14 +02:00
Federico Beffa 3a0b1b9afc gnu: python-ipython: Update to 3.2.1.
* gnu/packages/python.scm (python-ipython, python2-ipython): Update to 3.2.1.
  Add optional dependencies required for notebooks.
  (python-ipython): Fix and enable tests (1 still failing).
2015-08-01 12:37:14 +02:00
Federico Beffa 4aadb1dff7 gnu: Add python-terminado.
* gnu/packages/python.scm (python-terminado, python2-terminado): New
  variables.
2015-08-01 12:37:13 +02:00
Federico Beffa 6d992d078e gnu: Add python-ptyprocess.
* gnu/packages/python.scm (python-ptyprocess, python2-ptyprocess): New
  variables.
2015-08-01 12:37:13 +02:00
Federico Beffa 61b9ac53c3 gnu: Add python-mistune.
* gnu/packages/python.scm (python-mistune, python2-mistune): New variables.
2015-08-01 12:37:13 +02:00
Federico Beffa cf9ce01fb3 gnu: Add emacs-f.
* gnu/packages/emacs.scm (emacs-f): New variable.
2015-08-01 12:37:13 +02:00
Federico Beffa 40aee1a133 build: emacs: Fix bug and improvement robustness.
* guix/build/emacs-build-system.scm (emacs-inputs): Fix matching pattern.
  (patch-el-files): Improve regexp pattern.
2015-08-01 12:37:13 +02:00
Federico Beffa 85777fe57a gnu: Add emacs-s.
* gnu/packages/emacs.scm (emacs-s): New variable.
2015-08-01 12:37:13 +02:00
Federico Beffa d4dbf10eb1 gnu: Add emacs-dash.
* gnu/packages/emacs.scm (emacs-dash): New variable.
2015-08-01 12:37:13 +02:00
Federico Beffa 6544aba5fc import: elpa: Improve error message reporting.
* guix/import/elpa.scm (filter-dependencies): Fix bug.
  (call-with-downloaded-file): Add optional parameter 'error-thunk'.
  (fetch-package-description): Use it.
2015-08-01 12:36:21 +02:00
Federico Beffa 23bae7bb86 gnu: Add fasthenry.
* gnu/packages/engineering.scm (fasthenry): New variable.
* gnu/packages/patches/fasthenry-spAllocate.patch,
  gnu/packages/patches/fasthenry-spBuild.patch,
  gnu/packages/patches/fasthenry-spFactor.patch,
  gnu/packages/patches/fasthenry-spSolve.patch,
  gnu/packages/patches/fasthenry-spUtils.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
2015-08-01 12:29:37 +02:00
Federico Beffa 930945015c gnu: Add fastcap.
* gnu/packages/engineering.scm (fastcap): New variable.
  (broken-tarball-fetch): New function.  Suggested by Ludovic Courtès
  <ludo@gnu.org>.
* gnu/packages/patches/fastcap-mulGlobal.patch,
  gnu/packages/patches/fastcap-mulSetup.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
2015-08-01 12:29:37 +02:00
Manolis Ragkousis 8fd857f5da gnu: cross-base: Disable libcilkrts in cross-gcc.
* gnu/packages/cross-base.scm (cross-gcc-arguments): Add "--disable-libcilkrts".
2015-07-31 17:47:23 +03:00
David Thompson 4ecfbda72e gnu: Add graphios.
* gnu/packages/admin.scm (graphios): New variable.
2015-07-31 08:41:57 -04:00
Eric Dvorsak 9589c6890a gnu: Add python2-ansible.
* gnu/packages/python.scm (python2-ansible): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-07-31 10:59:32 +03:00
Eric Dvorsak f9da1d8afa gnu: Add python-passlib.
* gnu/packages/python.scm (python-passlib, python2-passlib): New variables.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-07-31 10:59:32 +03:00
Eric Dvorsak feb0d9c340 gnu: Add python-py-bcrypt.
* gnu/packages/python.scm (python-py-bcrypt, python2-py-bcrypt): New variables.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-07-31 10:59:32 +03:00
Eric Dvorsak 429fdea1ab gnu: Add python-paramiko.
* gnu/packages/python.scm (python-paramiko, python2-paramiko): New variables.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-07-31 10:59:32 +03:00
Eric Dvorsak de73dbf62d gnu: Add python-httplib2.
* gnu/packages/python.scm (python-httplib2, python-httplib2): New variables.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-07-31 10:59:31 +03:00
Eric Dvorsak 670398751e gnu: Add python-ecdsa.
* gnu/packages/python.scm (python-ecdsa, python2-ecdsa): New variables.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-07-31 10:59:31 +03:00
Eric Dvorsak 52323f32fa gnu: Add python-ccm.
* gnu/packages/python.scm (python-ccm, python2-ccm): New variables.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-07-31 10:59:31 +03:00
Eric Dvorsak 345f0611af gnu: Add python2-pycrypto.
* gnu/packages/python.scm (python2-pycrypto): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-07-31 10:59:31 +03:00
Mark H Weaver 99e29da156 gnu: expat: Add fix for CVE-2015-1283.
* gnu/packages/patches/expat-CVE-2015-1283.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xml.scm (expat)[source]: Add patch.
2015-07-30 08:21:28 -04:00
Ricardo Wurmus 8c454dcd12 gnu: Add Klick.
* gnu/packages/music.scm (klick): New variable.
2015-07-29 09:54:53 +02:00
Mark H Weaver 7ef4119f0a gnu: qemu: Add fixes for CVE-2015-5154 and CVE-2015-5158.
* gnu/packages/patches/qemu-CVE-2015-5154-pt1.patch,
  gnu/packages/patches/qemu-CVE-2015-5154-pt2.patch,
  gnu/packages/patches/qemu-CVE-2015-5154-pt3.patch,
  gnu/packages/patches/qemu-CVE-2015-5158.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/qemu.scm (qemu-headless)[source]: Add patches.
2015-07-27 18:50:35 -04:00
Mathieu Lirzin bae877624e gnu: Move markdown to (gnu packages markdown).
* gnu/packages/textutils.scm (markdown): Move to ...
* gnu/packages/markdown.scm (markdown): ... here.
2015-07-28 00:25:52 +02:00
Andreas Enge 44a477e1ac gnu: liblxqt: Fix build with Qt 5.5.
* gnu/packages/patches/liblxqt-include.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
* gnu/packages/lxqt.scm (liblxqt)[source]: Use patch.
2015-07-27 22:54:58 +02:00
Andreas Enge 6cef1b9b99 gnu: libqtxdg: Update to 1.2.0.
* gnu/packages/lxqt.scm (libqtxdg)[source]: Update to 1.2.0.
  [arguments]: Enable test builds.
2015-07-27 22:35:44 +02:00
Mark H Weaver cac8bc38a0 gnu: Add newt.
* gnu/packages/slang.scm (newt): New variable.
2015-07-27 15:12:52 -04:00
Mark H Weaver 5df2316d73 gnu: Add ethtool.
* gnu/packages/networking.scm (ethtool): New variable.
2015-07-27 15:12:52 -04:00
Mark H Weaver a2b2aebea9 gnu: Add libndp.
* gnu/packages/networking.scm (libndp): New variable.
2015-07-27 15:12:52 -04:00
宋文武 3dc8828f18 gnu: Add GVFS.
* gnu/packages/gnome.scm (gvfs): New variable.
2015-07-27 21:24:51 +08:00
宋文武 cff77d4897 gnu: libmtp: Propagate inputs.
* gnu/packages/libusb.scm (libmtp): Propagate inputs libgcrypt and libusb.
2015-07-27 21:22:18 +08:00
Mark H Weaver 35a12b4719 gnu: ghostscript: Add fix for CVE-2015-3228.
* gnu/packages/patches/ghostscript-CVE-2015-3228.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/ghostscript.scm (ghostscript)[source]: Add patch.
2015-07-27 04:38:44 -04:00
Ricardo Wurmus 6d7a0eeded gnu: icedtea7: Update to 2.6.1.
* gnu/packages/java.scm (icedtea7): Update to 2.6.1.
2015-07-27 10:29:43 +02:00
Andreas Enge f7fb0ccb69 gnu: qt: Update to 5.5.0.
* gnu/packages/qt.scm (qt): Update to 5.5.0. Update download location.
  Drop patch and snippet.
  [arguments]: Add configure flag to drop qtwebengine module bundling
  chromium.
  [native-inputs]: Drop ninja, needed only for qtwebengine.
  [inputs]: Add harfbuzz to avoid use of bundled copy.
  (qt-4)[inputs]: Remove inherited harfbuzz again.
* gnu/packages/patches/qt5-conflicting-typedefs.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Unregister patch.
* gnu/packages/patches/qt5-runpath.patch: Adapt patch.
2015-07-27 09:41:16 +02:00
Christopher Allan Webber b8050e7183 gnu: Add pelican.
* gnu/packages/python.scm (pelican): New variable.
2015-07-26 14:29:08 -04:00
Christopher Allan Webber 59ad30e3a8 gnu: Add python-blinker.
* gnu/packages/python.scm (python-blinker, python2-blinker): New variables.
2015-07-26 13:13:36 -04:00
Ricardo Wurmus e727ed6aef gnu: ntk: Add missing license import.
* gnu/packages/fltk.scm: Import lgpl2.0+ license.
2015-07-26 22:46:23 +02:00
Ricardo Wurmus bcbc02fd09 gnu: portaudio: Build with jack-1.
* gnu/packages/audio.scm (portaudio)[inputs]: Replace "jack-2" with "jack-1".
2015-07-26 22:08:18 +02:00
Ricardo Wurmus ca01b3ad96 gnu: jack-1: Propagate "bdb".
* gnu/packages/audio.scm (jack-1)[inputs]: Move "bdb" from here...
   [propagated-inputs]: ...to here.
2015-07-26 22:08:18 +02:00
Ricardo Wurmus 8e80244a5f gnu: Add Non Sequencer.
* gnu/packages/music.scm (non-sequencer): New variable.
2015-07-26 22:08:18 +02:00
Ricardo Wurmus a997470163 gnu: Add NTK.
* gnu/packages/fltk.scm (ntk): New variable.
2015-07-26 22:08:17 +02:00
Andreas Enge a060ca3201 gnu: avidemux: Install libraries to lib.
* gnu/packages/video.scm (avidemux)[source]: Add patch to install to lib
  directory instead of lib64 or lib32 depending on the architecture.
  [arguments]: Use the lib instead of the lib64 directory for flags in the
  build phase, so that these flags should now also work on i686.
* gnu/packages/patches/avidemux-install-to-lib.patch: New file.
* gnu-system.am (dist_patch_DATA): Register it.
2015-07-26 15:24:20 +02:00
Mark H Weaver 2520c84a6f gnu: magit: Update to 1.4.2.
* gnu/packages/emacs.scm (magit): Update to 1.4.2.
2015-07-26 00:45:06 -04:00
Mark H Weaver eb26970a21 gnu: openssl: Add reference to upstream GCC bug in comment.
This is a followup to commit e12027179f.

* gnu/packages/tls.scm (openssl)[arguments]: Add reference to upstream
  GCC bug in comment.
2015-07-25 23:55:29 -04:00
宋文武 171ae35c13 gnu: Add udisks.
* gnu/packages/freedesktop.scm (udisks): New variable.
2015-07-26 11:28:34 +08:00
宋文武 cfbbff31cc gnu: Add libatasmart.
* gnu/packages/freedesktop.scm (libatasmart): New variable.
2015-07-26 11:27:39 +08:00
宋文武 65cb2d61e6 gnu: colord: Propagate inputs.
* gnu/packages/gnome.scm (colord): Propagate inputs glib, eudev and lcms.
2015-07-26 09:52:45 +08:00
宋文武 ea2262914a gnu: Prefer libgudev as GUDEV (GObject bindings for libudev) provider.
* gnu/packages/gnome.scm (upower, gnome-settings-daemon, rhythmbox)
  gnu/packages/xfce.scm (thunar, thunar-volman): Switch to libgudev as
  GUDEV provider.
2015-07-26 09:52:45 +08:00
宋文武 41af5e7b72 gnu: Add libgudev.
* gnu/packages/gnome.scm (libgudev): New variable.
2015-07-26 09:52:45 +08:00
Ludovic Courtès ac5d70cdab gnu: perl-data-stag: Fix typo in description.
Reported by Anders Jonsson <anders.jonsson@norsjovallen.se>.

* gnu/packages/perl.scm (perl-data-stag)[description]: Fix typo.
2015-07-26 00:57:44 +02:00
Ludovic Courtès 72b891e50e vm: Make the list of partitions to build a parameter.
* gnu/build/vm.scm (<partition>): New record type.
  (fold2): New procedure.
  (initialize-partition-table): Remove #:bootable? and
  'partition-size' parameters.  Add 'partitions' parameter.  Invoke 'parted'
  with '--script'.
  (initialize-root-partition): Remove.
  (initialize-partition, root-partition-initializer): New procedures.
  (initialize-hard-disk): Remove #:system-directory, #:disk-image-size,
  #:file-system-type, #:file-system-label, #:closures, #:copy-closures?,
  #:bootable?, and #:register-closures? parameters.  Add #:partitions.
  Rewrite to use 'initialize-partition' for each item of PARTITIONS.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Add (guix records)
  to #:modules default value.
  (qemu-image): Adjust accordingly.
2015-07-26 00:57:44 +02:00
Ludovic Courtès 5b9da1f955 system: Add 'ping6' to %SETUID-PROGRAMS.
* gnu/system.scm (%setuid-programs): Add 'ping6'.
2015-07-26 00:57:44 +02:00
Ben Woodcroft b81cb1f2f3 gnu: bedtools: Add patch to fix compilation on 32 bit systems.
* gnu/packages/patches/bedtools-32bit-compilation.patch: New file.
* gnu/packages/bioinformatics.scm (bedtools)[source]: Add patch.
* gnu-system.am (dist_patch_DATA): Register patch.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2015-07-25 19:16:49 +02:00
Andreas Enge c6c86cd7a5 gnu: vlc: Update input Qt to version 5.
* gnu/packages/video.scm (vlc)[inputs]: Switch from Qt version 4 to 5.
2015-07-25 18:29:00 +02:00
Andreas Enge 9c55bae607 gnu: vlc: Update to 2.2.1.
* gnu/packages/video.scm (vlc): Update to 2.2.1.
2015-07-25 17:28:43 +02:00
Ludovic Courtès e7f5691d45 syscalls: Add 'network-interfaces', which wraps libc's 'getifaddrs'.
Based on discussions with Rohan Prinja <rohan.prinja@gmail.com>.

* guix/build/syscalls.scm (<interface>): New record type.
  (write-interface, values->interface, unfold-interface-list,
  network-interfaces, free-ifaddrs): New procedures.
  (ifaddrs): New C struct.
  (%struct-ifaddrs-type, %sizeof-ifaddrs): New macros.
* tests/syscalls.scm ("network-interfaces returns one or more interfaces",
  "network-interfaces returns \"lo\""): New tests.
2015-07-25 14:43:45 +02:00
Ludovic Courtès 573b4c1ff3 syscalls: 'define-c-struct' properly align reads.
* guix/build/syscalls.scm (alignof*, align): New macros.
  (write-types, read-types): Use 'align' to compute the actual offset to
  read/write a value of TYPE0.
2015-07-25 14:43:45 +02:00
Ludovic Courtès 3ca337699a syscalls: 'read-socket-address' gracefully handles unsupported families.
* guix/build/syscalls.scm (PF_PACKET, AF_PACKET): New variables.
  (read-socket-address): Make 'index' optional.  Return (vector FAMILY) when
  FAMILY is neither AF_INET nor AF_INET6.
2015-07-25 14:43:44 +02:00
Ludovic Courtès 4a30e84e61 syscalls: 'define-c-struct' distinguishes pointers from integers.
* guix/build/syscalls.scm (read-type): Add special-case for when TYPE is '*.
2015-07-25 14:43:44 +02:00
Ludovic Courtès b89e74054e syscalls: Rename 'network-interfaces' and 'all-network-interfaces'.
* guix/build/syscalls.scm (network-interfaces): Rename to...
  (network-interface-names): ... this.
  (all-network-interfaces): Rename to...
  (all-network-interface-names): ... this.
* gnu/services/networking.scm (dhcp-client-service): Adjust accordingly.
* tests/syscalls.scm ("all-network-interfaces"): Rename to...
  ("all-network-interface-names"): ... this, and adjust accordingly.
  ("network-interfaces"): Rename to...
  ("network-interface-names"): ... this, and adjust accordingly.
2015-07-25 14:43:44 +02:00
Ludovic Courtès 53de532f28 doc: Make "Application Setup" more prominent.
* doc/guix.texi (Binary Installation): Add reference to "Application Setup".
2015-07-25 14:43:44 +02:00
Ben Woodcroft bd4af2f940 gnu: bedtools: Update to 2.24.0.
* gnu/packages/bioinformatics.scm (bedtools): Update to 2.24.0.
2015-07-25 00:02:54 -04:00
Mark H Weaver 7409c8d42b gnu: e2fsprogs: Update to 1.42.13.
* gnu/packages/linux.scm (e2fsprogs): Update to 1.42.13.  Change the source
  URI to use the .tar.xz file from kernel.org.
2015-07-24 17:12:53 -04:00
Andreas Enge 6bb5a8a1c1 gnu: Add liblxqt.
* gnu/packages/lxqt.scm (liblxqt): New variable.
2015-07-24 23:10:54 +02:00
Andreas Enge 4a8276704f gnu: Add kwindowsystem.
* gnu/packages/kde-frameworks.scm (kwindowsystem): New variable.
2015-07-24 23:01:14 +02:00
Andreas Enge f272987aa2 gnu: Add extra-cmake-modules.
* gnu/packages/kde-frameworks.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Register it.
2015-07-24 22:25:33 +02:00
Andreas Enge d0dfc06683 gnu: ripperX: Update to 2.8.0.
* gnu/packages/mp3.scm (ripperx): Update to 2.8.0. Drop one patch and
  add another one.
* gnu/packages/patches/ripperx-libm.patch: Remove file.
* gnu/packages/patches/ripperx-missing-file.patch: New file.
* gnu-system.am (dist_patch_DATA): Register one patch and unregister the
  other.
2015-07-24 21:16:29 +02:00
Andreas Enge 10b1f68877 gnu: Add cm.
* gnu/packages/algebra.scm (cm): New variable.
2015-07-24 18:53:03 +02:00
Andreas Enge 9f51293cee gnu: algebra: Prefix imported licenses.
* gnu/packages/algebra.scm (mpfrcx, fplll, pari-gp, gp2c, flint, arb,
  bc, fftw, eigen)[license]: Prefix imported licenses.
2015-07-24 18:41:36 +02:00
Andreas Enge 878c8f3f47 gnu: mpfrcx: Propagate inputs.
* gnu/packages/algebra.scm (mpfrcx): Propagate inputs gmp, mpfr and mpc.
2015-07-24 18:36:15 +02:00
Ludovic Courtès 47e0ba8fe5 gnu: clang: Disable distro detection and remove FHS assumptions.
* gnu/packages/patches/clang-libc-search-path.patch: Disable distro detection
  and remove hard-coded FHS file names, both of which would lead to breakage
  on non-GuixSD systems.
2015-07-24 17:29:37 +02:00
Ludovic Courtès 8fe5b1d1d1 doc: Fix name of GNU FreeFont package.
Fixes <http://bugs.gnu.org/21121>.
Reported by Malcolm Cook <MEC@stowers.org>.

* doc/guix.texi (Application Setup): Fix name of GNU FreeFont package.
2015-07-24 01:23:53 +02:00
Ludovic Courtès ec2406efc7 vm: Use the 'umount' procedure instead of util-linux's 'umount' command.
* gnu/build/vm.scm (initialize-root-partition, initialize-hard-disk): Use the
  'umount' procedure instead of invoking the 'umount' command.
* gnu/system/vm.scm (qemu-image): Remove UTIL-LINUX from INPUTS.
2015-07-24 01:19:57 +02:00
Ludovic Courtès e9ba6357e3 doc: Clarify that tar timestamp warnings affect tar <= 1.26.
* doc/guix.texi (Binary Installation): Explain that warnings were triggered by
  tar <= 1.26.
2015-07-24 01:19:57 +02:00
Ludovic Courtès 7e96eb1a08 gnu: guile-static: Add 'umount' procedure.
* gnu/packages/patches/guile-linux-syscalls.patch: Add 'umount' subr.
2015-07-24 01:19:57 +02:00
Ludovic Courtès 7c0a91049b gnu: Add extundelete.
* gnu/packages/linux.scm (extundelete): New variable.
2015-07-24 01:19:57 +02:00
Andreas Enge 324bdcd87e gnu: gp2c: Update to 0.0.9pl3.
* gnu/packages/algebra.scm (gp2c): Update to 0.0.9pl3.
2015-07-23 22:20:00 +02:00
Andreas Enge 424ce93d95 gnu: arb: Update to 2.7.0.
* gnu/packages/algebra.scm (arb): Update to 2.7.0.
2015-07-23 22:17:30 +02:00
Andreas Enge ec5f3ec416 gnu: parallel: Update to 20150722.
* gnu/packages/parallel.scm (parallel): Update to 20150722.
2015-07-23 20:23:56 +02:00
Andreas Enge b4b4c81bbe gnu: ucommon: Update to 6.3.6.
* gnu/packages/telephony.scm (ucommon): Update to 6.3.6.
2015-07-23 20:22:09 +02:00
Andreas Enge cce11514c7 gnu: ffmpeg: Update to 2.7.2.
* gnu/packages/video.scm (ffmpeg): Update to 2.7.2.
2015-07-23 19:22:59 +02:00
宋文武 3f1470100a gnu: retroarch: Update to 1.2.2.
* gnu/packages/games.scm (retroarch): Update to 1.2.2.
2015-07-23 22:32:00 +08:00
Ludovic Courtès 015878fdbb Thank Anders. 2015-07-23 09:42:24 +02:00
Ludovic Courtès 69b4ffcfbd Fix typos in translatable strings.
Reported by Anders Jonsson <anders.jonsson@norsjovallen.se>.

* gnu/packages/backup.scm, gnu/packages/databases.scm,
  gnu/packages/linux.scm, gnu/packages/perl.scm,
  gnu/packages/web.scm, guix/scripts/lint.scm,
  guix/scripts/publish.scm: Fix typos in translatable strings.
2015-07-23 09:42:23 +02:00
Ludovic Courtès 4d40227cce doc: Fix typos in "Setuid Programs".
* doc/guix.texi (Setuid Programs): Fix typos.
2015-07-23 09:42:23 +02:00
Mark H Weaver 6bb5c4ef71 gnu: tor: Update to 0.2.6.10.
* gnu/packages/tor.scm (tor): Update to 0.2.6.10.
2015-07-22 22:10:39 -04:00
Ludovic Courtès 0e9f9f7bc2 Thank Malcolm. 2015-07-22 23:47:35 +02:00
Ludovic Courtès 254b1c2e95 doc: Suggest unpacking with --warning=no-timestamp.
Suggested by Malcolm Cook <MEC@stowers.org>.

* doc/guix.texi (Binary Installation): Suggest --warning=no-timestamp.
2015-07-22 23:47:35 +02:00
Mark H Weaver fa1fdb8dfe gnu: linux-libre: Update to 4.1.3 and 4.0.9.
* gnu/packages/linux.scm (linux-libre): Update to 4.1.3.
  (linux-libre-4.0): Update to 4.0.9.
2015-07-22 17:43:17 -04:00
Ludovic Courtès 31ea3ebb05 Thank Dave. 2015-07-22 22:56:42 +02:00
Ludovic Courtès aafa0dffb1 doc: Mention zeroed mtimes in the binary tarball.
Fixes <http://bugs.gnu.org/21111>.
Reported by Dave Love <fx@gnu.org>.

* doc/guix.texi (Binary Installation): Add paragraph about "implausibly old
  time stamps" warning from tar.
2015-07-22 22:56:41 +02:00
Ludovic Courtès d490d06e0f size: Add '--substitute-urls' option.
* guix/scripts/size.scm (show-help, %options): Add --substitute-urls.
  (%default-options): Add 'substitute-urls'.
  (guix-size): Honor it.
* doc/guix.texi (Invoking guix size): Document it.
2015-07-22 22:56:41 +02:00
Ludovic Courtès 1eabf4ec63 derivations: Improve docstring of 'substitution-oracle'.
* guix/derivations.scm (substitution-oracle): Improve docstring.
2015-07-22 22:56:41 +02:00
Ludovic Courtès b59df2434a derivations: Improve complexity of 'substitution-oracle'.
* guix/derivations.scm (substitution-oracle): Use a final 'concatenate'
  instead of repeated 'append's.
2015-07-22 22:56:41 +02:00
Ludovic Courtès 1bd4e6db15 doc: Mention initial passwords in "System Installation".
Suggested by remo_ on IRC.

* doc/guix.texi (System Installation): Explicitly mention user account
  passwords.
  (User Accounts): Add 'user-account-password' anchor.
2015-07-22 22:56:41 +02:00
Ludovic Courtès 2c59cbc26a import: hackage: Remove reference to unbound variable.
* guix/scripts/import/hackage.scm (guix-import-hackage): Fix error message for
  imports from stdin, which referred to unbound variable 'package-name'.
2015-07-22 22:56:41 +02:00
Ludovic Courtès 1acd8d22af size: Remove leftover 'pk'.
* guix/scripts/size.scm (profile->page-map): Remove leftover 'pk'.
2015-07-22 22:56:41 +02:00
Christopher Allan Webber f3d8cd79d1 gnu: guile-minikanren: Fix README location.
* gnu/packages/guile.scm (minikanren): Fix output location for README.org

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-07-22 22:56:41 +02:00
Andreas Enge 1436c5c7e8 gnu: teckit: Update to 2.5.4.
* gnu/packages/fontutils.scm (teckit): Update to 2.5.4. Drop patch.
  Use svn-fetch for download.
  [arguments]: Add phase to call autogen.
  [native-inputs]: New field.
* gnu/packages/patches/teckit-cstdio.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Unregister patch.
2015-07-22 19:29:17 +02:00
Mark H Weaver 8fd3c1ff6e gnu: git-modes: Add file-name field to source origin.
* gnu/packages/emacs.scm (git-modes)[source]: Add 'file-name' field.
2015-07-22 11:50:07 -04:00
Mathieu Lirzin eea410f172 gnu: ratpoison: Add multiple monitors support.
* gnu/packages/ratpoison.scm (ratpoison)[inputs]: Add "libxinerama".
2015-07-22 13:38:40 +02:00
Ludovic Courtès 77d8bb1552 Merge branch 'version-0.8.3' 2015-07-22 02:18:47 +02:00
Ludovic Courtès 193a08e254 gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to commit 5d09263.
  Prefix version string with "0.8.3.".
  (guix): Set to GUIX-DEVEL.
2015-07-22 00:33:47 +02:00
Mark H Weaver 476b2877ad gnu: libsbsms: Fix build on non-Intel platforms.
* gnu/packages/audio.scm (libsbsms)[arguments]: Add "--disable-sse" to
  configure-flags unless on x86_64.
2015-07-21 18:25:41 -04:00
Mark H Weaver 09c414d80c gnu: libsbsms: Use modify-phases.
* gnu/packages/audio.scm (libsbsms)[arguments]: Use modify-phases.
2015-07-21 18:25:41 -04:00
Mathieu Lirzin 729b44e3ae gnu: Add lxrandr.
* gnu/packages/lxde.scm (lxrandr): New variable.
2015-07-22 00:15:16 +02:00
Mathieu Lirzin 6f92ad5a51 gnu: Add lxtask.
* gnu/packages/lxde.scm (lxtask): New variable.
2015-07-22 00:15:16 +02:00
Mathieu Lirzin 753dc7d311 gnu: Add lxterminal.
* gnu/packages/lxde.scm (lxterminal): New variable.
2015-07-22 00:15:16 +02:00
Mathieu Lirzin b3527d5d58 gnu: Add pcmanfm.
* gnu/packages/lxde.scm (pcmanfm): New variable.
2015-07-22 00:15:16 +02:00
Mathieu Lirzin 19dd998313 gnu: Add libfm.
* gnu/packages/lxde.scm (libfm): New variable.
  (libfm-extra): Inherit from it.
2015-07-22 00:15:15 +02:00
Mathieu Lirzin 6e6b5344b0 gnu: Add menu-cache.
* gnu/packages/lxde.scm (menu-cache): New variable.
2015-07-22 00:15:15 +02:00
Mathieu Lirzin 83365461a7 gnu: Add libfm-extra.
* gnu/packages/lxde.scm (libfm-extra): New variable.
2015-07-22 00:15:15 +02:00
Ludovic Courtès 5d09263bfd gnu: guix: Update to 0.8.3.
* gnu/packages/package-management.scm (guix-0.8.2): Rename to...
  (guix-0.8.3): ... this.  Adjust users.  Add 'disable-container-tests'
  phase.
  (guix): Set to GUIX-0.8.3.
2015-07-21 23:16:36 +02:00
1009 changed files with 191816 additions and 33893 deletions
+4
View File
@@ -23,6 +23,7 @@
(eval . (put 'lambda* 'scheme-indent-function 1))
(eval . (put 'substitute* 'scheme-indent-function 1))
(eval . (put 'modify-phases 'scheme-indent-function 1))
(eval . (put 'modify-services 'scheme-indent-function 1))
(eval . (put 'with-directory-excursion 'scheme-indent-function 1))
(eval . (put 'package 'scheme-indent-function 0))
(eval . (put 'origin 'scheme-indent-function 0))
@@ -40,6 +41,8 @@
(eval . (put 'with-atomic-file-output 'scheme-indent-function 1))
(eval . (put 'call-with-compressed-output-port 'scheme-indent-function 2))
(eval . (put 'call-with-decompressed-port 'scheme-indent-function 2))
(eval . (put 'call-with-gzip-input-port 'scheme-indent-function 1))
(eval . (put 'call-with-gzip-output-port 'scheme-indent-function 1))
(eval . (put 'signature-case 'scheme-indent-function 1))
(eval . (put 'emacs-batch-eval 'scheme-indent-function 0))
(eval . (put 'emacs-batch-edit-file 'scheme-indent-function 1))
@@ -58,6 +61,7 @@
(eval . (put 'run-with-store 'scheme-indent-function 1))
(eval . (put 'run-with-state 'scheme-indent-function 1))
(eval . (put 'wrap-program 'scheme-indent-function 1))
(eval . (put 'with-imported-modules 'scheme-indent-function 1))
(eval . (put 'call-with-container 'scheme-indent-function 1))
(eval . (put 'container-excursion 'scheme-indent-function 1))
+74 -75
View File
@@ -1,9 +1,16 @@
*.eps
*.go
*.log
*.pdf
*.png
*.tar.xz
*.tmp
*~
,*
*.tmp
*.go
tmp
*.log
/ABOUT-NLS
/INSTALL
/aclocal.m4
/autom4te.cache
/build-aux/compile
/build-aux/config.guess
/build-aux/config.rpath
@@ -14,14 +21,42 @@ tmp
/build-aux/missing
/build-aux/test-driver
/build-aux/texinfo.tex
/configure
Makefile.in
Makefile
/autom4te.cache
config.cache
/aclocal.m4
/config.status
/ABOUT-NLS
/configure
/doc/*.1
/doc/.dirstamp
/doc/guix.aux
/doc/guix.cp
/doc/guix.cps
/doc/guix.fn
/doc/guix.fns
/doc/guix.info
/doc/guix.info-[0-9]
/doc/guix.ky
/doc/guix.pg
/doc/guix.toc
/doc/guix.t2p
/doc/guix.tp
/doc/guix.vr
/doc/guix.vrs
/doc/os-config-bare-bones.texi
/doc/os-config-desktop.texi
/doc/stamp-vti
/doc/version.texi
/emacs/Makefile
/emacs/Makefile.in
/emacs/guix-autoloads.el
/emacs/guix-config.el
/emacs/guix-helper.scm
/etc/guix-daemon.conf
/etc/guix-daemon.service
/guix-daemon
/guix-register
/guix/config.scm
/libformat.a
/libstore.a
/libutil.a
/m4/*
/m4/ChangeLog
/m4/gettext.m4
/m4/iconv.m4
@@ -31,6 +66,20 @@ config.cache
/m4/nls.m4
/m4/po.m4
/m4/progtest.m4
/nix-setuid-helper
/nix/AUTHORS
/nix/COPYING
/nix/config.h
/nix/config.h.in
/nix/nix-daemon/nix-daemon.cc
/nix/nix-setuid-helper/nix-setuid-helper.cc
/nix/scripts/guix-authenticate
/nix/scripts/list-runtime-roots
/nix/scripts/offload
/nix/scripts/substitute
/po/guix/*.gmo
/po/guix/*.insert-header
/po/guix/*.mo
/po/guix/ChangeLog
/po/guix/Makefile.in.in
/po/guix/Makevars.template
@@ -39,15 +88,15 @@ config.cache
/po/guix/boldquot.sed
/po/guix/en@boldquot.*
/po/guix/en@quot.*
/po/guix/guix.pot
/po/guix/insert-header.sin
/po/guix/*.insert-header
/po/guix/quot.sed
/po/guix/remove-potcdate.sed
/po/guix/remove-potcdate.sin
/po/guix/stamp-po
/po/guix/guix.pot
/po/guix/*.mo
/po/guix/*.gmo
/po/packages/*.gmo
/po/packages/*.insert-header
/po/packages/*.mo
/po/packages/ChangeLog
/po/packages/Makefile.in.in
/po/packages/Makevars.template
@@ -56,73 +105,23 @@ config.cache
/po/packages/boldquot.sed
/po/packages/en@boldquot.*
/po/packages/en@quot.*
/po/packages/guix-packages.pot
/po/packages/insert-header.sin
/po/packages/*.insert-header
/po/packages/quot.sed
/po/packages/remove-potcdate.sed
/po/packages/remove-potcdate.sin
/po/packages/stamp-po
/po/packages/guix-packages.pot
/po/packages/*.mo
/po/packages/*.gmo
/tests/*.trs
/INSTALL
/m4/*
/pre-inst-env
/doc/.dirstamp
/doc/guix.info
/doc/guix.info-[0-9]
/doc/guix.pdf
/doc/stamp-vti
/doc/version.texi
/gnu/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz
/gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz
/gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz
/gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz
/guix/config.scm
/nix/nix-daemon/nix-daemon.cc
/nix/config.h
/nix/config.h.in
stamp-h[0-9]
/nix/AUTHORS
/nix/COPYING
/libformat.a
/libstore.a
/libutil.a
/guix-daemon
/test-tmp
/nix/scripts/list-runtime-roots
/test-env
/nix/nix-setuid-helper/nix-setuid-helper.cc
/scripts/guix
/doc/guix.aux
/doc/guix.cp
/doc/guix.cps
/doc/guix.fn
/doc/guix.fns
/doc/guix.ky
/doc/guix.pg
/doc/guix.toc
/doc/guix.tp
/doc/guix.vr
/doc/guix.vrs
/nix/scripts/substitute
/doc/images/bootstrap-graph.png
/doc/images/bootstrap-graph.eps
/guix-register
/test-env
/test-tmp
/tests/*.trs
GPATH
GRTAGS
GTAGS
/nix-setuid-helper
/nix/scripts/guix-authenticate
/nix/scripts/offload
/emacs/Makefile.in
/emacs/Makefile
/emacs/guix-autoloads.el
/emacs/guix-helper.scm
/emacs/guix-init.el
/emacs/guix-profiles.el
/doc/os-config-bare-bones.texi
/doc/os-config-desktop.texi
/doc/*.1
/etc/guix-daemon.service
Makefile
Makefile.in
config.cache
stamp-h[0-9]
tmp
/doc/os-config-lightweight-desktop.texi
+20 -2
View File
@@ -1,27 +1,45 @@
# This list is used to avoid multiple name/email instances of the same
# contributors reported by "git log" and "git shortlog" commands.
Al McElrath <hello@yrns.org> <hello@atonesir.com>
Alexander I. Grafov <grafov@gmail.com>
Alírio Eyng <alirioeyng@gmail.com>
Amirouche Boubekki <amirouche@hypermove.net>
Ben Woodcroft <b.woodcroft@uq.edu.au> <donttrustben@gmail.com>
Andreas Enge <andreas@enge.fr> <andreas.enge@inria.fr>
Andreas Enge <andreas@enge.fr> <privat@xobs-novena>
Andy Wingo <wingo@igalia.com> <wingo@pobox.com>
Ben Woodcroft <donttrustben@gmail.com> <b.woodcroft@uq.edu.au>
Ben Woodcroft <donttrustben@gmail.com> <donttrustben near gmail.com>
Claes Wallin (韋嘉誠) <claes.wallin@greatsinodevelopment.com>
Cyprien Nicolas <cyprien@nicolas.tf> <c.nicolas+gitorious@gmail.com>
Danny Milosavljevic <dannym@scratchpost.org> <dannym+a@scratchpost.org>
David Thompson <davet@gnu.org> <dthompson2@worcester.edu>
David Thompson <davet@gnu.org> <dthompson@member.fsf.org>
David Thompson <davet@gnu.org> <dthompson@vistahigherlearning.com>
Deck Pickard <deck.r.pickard@gmail.com> <nebu@kipple>
Eric Bavier <bavier@member.fsf.org> <ericbavier@gmail.com>
Eric Dvorsak <eric@dvorsak.fr> <yenda1@gmail.com>
John Darrington <jmd@gnu.org> <john@darrington.wattle.id.au>
Joshua Grant <tadni@riseup.net> <gzg@riseup.net>
Joshua Grant <tadni@riseup.net> <jgrant@parenthetical.io>
Joshua Grant <tadni@riseup.net> <tadnimi@gmail.com>
Joshua Grant <tadni@riseup.net> <youlysses@riseup.net>
Kei Kebreau <kei@openmailbox.org>
Leo Famulari <leo@famulari.name> <lfamular@gmail.com>
Ludovic Courtès <ludo@gnu.org> <ludovic.courtes@inria.fr>
Mathieu Lirzin <mthl@openmailbox.org> <mathieu.lirzin@openmailbox.org>
Mathieu Lirzin <mthl@gnu.org> <mthl@openmailbox.org>
Mathieu Lirzin <mthl@gnu.org> <mathieu.lirzin@openmailbox.org>
Nikita Karetnikov <nikita@karetnikov.org> <nikita.karetnikov@gmail.com>
ng0 <ng0@we.make.ritual.n0.is> <niasterisk@grrlz.net>
ng0 <ng0@we.make.ritual.n0.is> <ng@niasterisk.space>
ng0 <ng0@we.make.ritual.n0.is> <ng0@libertad.pw>
Pjotr Prins <pjotr.public01@thebird.nl>
Pjotr Prins <pjotr.public01@thebird.nl> <pjotr.public12@thebird.nl>
Raimon Grau <raimonster@gmail.com> <raimon@3scale.net>
Raymond Nicholson <rain1@openmailbox.org>
Ricardo Wurmus <rekado@elephly.net>
Ricardo Wurmus <rekado@elephly.net> <ricardo.wurmus@mdc-berlin.de>
Sou Bunnbu (宋文武) <iyzsong@gmail.com>
Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
Tomáš Čech <sleep_walker@gnu.org> <sleep_walker@suse.cz>
Tobias Geerinckx-Rice <me@tobias.gr> <tobias.geerinckx.rice@gmail.com>
+51
View File
@@ -0,0 +1,51 @@
Contributor Code of Conduct
Note: In the sequel, "project" refers to GNU Guix, and "project
maintainer(s)" refers to maintainer(s) of GNU Guix.
As contributors and maintainers of this project, and in the interest of
fostering an open and welcoming community, we pledge to respect all
people who contribute through reporting issues, posting feature
requests, updating documentation, submitting pull requests or patches,
and other activities.
We are committed to making participation in this project a
harassment-free experience for everyone, regardless of level of
experience, gender, gender identity and expression, sexual orientation,
disability, personal appearance, body size, race, ethnicity, age,
religion, or nationality.
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery
* Personal attacks
* Trolling or insulting/derogatory comments
* Public or private harassment
* Publishing other's private information, such as physical or electronic
addresses, without explicit permission
* Other unethical or unprofessional conduct
Project maintainers have the right and responsibility to remove, edit,
or reject comments, commits, code, wiki edits, issues, and other
contributions that are not aligned to this Code of Conduct, or to ban
temporarily or permanently any contributor for other behaviors that they
deem inappropriate, threatening, offensive, or harmful.
By adopting this Code of Conduct, project maintainers commit themselves
to fairly and consistently applying these principles to every aspect of
managing this project. Project maintainers who do not follow or enforce
the Code of Conduct may be permanently removed from the project team.
This Code of Conduct applies both within project spaces and in public
spaces when an individual is representing the project or its community.
Instances of abusive, harassing, or otherwise unacceptable behavior may
be reported by contacting a project maintainer at guix-maintainers@gnu.org.
All complaints will be reviewed and investigated and will
result in a response that is deemed necessary and appropriate to the
circumstances. Maintainers are obligated to maintain confidentiality
with regard to the reporter of an incident.
This Code of Conduct is adapted from the Contributor Covenant
(http://contributor-covenant.org), version 1.3.0, available at
http://contributor-covenant.org/version/1/3/0/
+9 -1
View File
@@ -2,7 +2,7 @@
#+TITLE: Hacking GNU Guix and Its Incredible Distro
Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
Copyright © 2012, 2013, 2014, 2016 Ludovic Courtès <ludo@gnu.org>
Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
Copying and distribution of this file, with or without modification,
@@ -35,6 +35,14 @@ upgrading GnuTLS or GLib.) We have a mailing list for commit notifications
(guix-commits@gnu.org), so people can notice. Before pushing your changes,
make sure to run git pull --rebase.
All commits that are pushed to the central repository on Savannah must be
signed with an OpenPGP key, and the public key should be uploaded to your user
account on Savannah and to public key servers, such as pgp.mit.edu. To
configure Git to automatically sign commits, run:
git config commit.gpgsign true
git config user.signingkey CABBA6EA1DC0FF33
For anything else, please post to guix-devel@gnu.org and leave time for a
review, without committing anything. If you didnt receive any reply
after two weeks, and if youre confident, its OK to commit.
+160 -52
View File
@@ -1,7 +1,9 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2013 Andreas Enge <andreas@enge.fr>
# Copyright © 2015 Alex Kost <alezost@gmail.com>
# Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
# Copyright © 2016 Mark H Weaver <mhw@netris.org>
#
# This file is part of GNU Guix.
#
@@ -25,7 +27,7 @@ nodist_noinst_SCRIPTS = \
pre-inst-env \
test-env
include gnu-system.am
include gnu/local.mk
MODULES = \
guix/base32.scm \
@@ -36,10 +38,12 @@ MODULES = \
guix/hash.scm \
guix/pk-crypto.scm \
guix/pki.scm \
guix/combinators.scm \
guix/utils.scm \
guix/sets.scm \
guix/download.scm \
guix/git-download.scm \
guix/hg-download.scm \
guix/monads.scm \
guix/monad-repl.scm \
guix/gexp.scm \
@@ -47,9 +51,15 @@ MODULES = \
guix/serialization.scm \
guix/nar.scm \
guix/derivations.scm \
guix/grafts.scm \
guix/gnu-maintenance.scm \
guix/upstream.scm \
guix/licenses.scm \
guix/graph.scm \
guix/cve.scm \
guix/zlib.scm \
guix/build-system.scm \
guix/build-system/ant.scm \
guix/build-system/cmake.scm \
guix/build-system/emacs.scm \
guix/build-system/glib-or-gtk.scm \
@@ -58,6 +68,7 @@ MODULES = \
guix/build-system/perl.scm \
guix/build-system/python.scm \
guix/build-system/waf.scm \
guix/build-system/r.scm \
guix/build-system/ruby.scm \
guix/build-system/trivial.scm \
guix/ftp-client.scm \
@@ -68,15 +79,18 @@ MODULES = \
guix/cvs-download.scm \
guix/svn-download.scm \
guix/ui.scm \
guix/build/ant-build-system.scm \
guix/build/download.scm \
guix/build/cmake-build-system.scm \
guix/build/emacs-build-system.scm \
guix/build/git.scm \
guix/build/hg.scm \
guix/build/glib-or-gtk-build-system.scm \
guix/build/gnu-build-system.scm \
guix/build/gnu-dist.scm \
guix/build/perl-build-system.scm \
guix/build/python-build-system.scm \
guix/build/r-build-system.scm \
guix/build/ruby-build-system.scm \
guix/build/waf-build-system.scm \
guix/build/haskell-build-system.scm \
@@ -88,18 +102,21 @@ MODULES = \
guix/build/rpath.scm \
guix/build/cvs.scm \
guix/build/svn.scm \
guix/build/syscalls.scm \
guix/build/syscalls.scm \
guix/build/gremlin.scm \
guix/build/emacs-utils.scm \
guix/build/graft.scm \
guix/build/bournish.scm \
guix/search-paths.scm \
guix/packages.scm \
guix/import/utils.scm \
guix/import/gnu.scm \
guix/import/snix.scm \
guix/import/cabal.scm \
guix/import/cran.scm \
guix/import/hackage.scm \
guix/import/elpa.scm \
guix/scripts.scm \
guix/scripts/download.scm \
guix/scripts/build.scm \
guix/scripts/archive.scm \
@@ -113,6 +130,8 @@ MODULES = \
guix/scripts/refresh.scm \
guix/scripts/system.scm \
guix/scripts/lint.scm \
guix/scripts/challenge.scm \
guix/scripts/import/cran.scm \
guix/scripts/import/gnu.scm \
guix/scripts/import/nix.scm \
guix/scripts/import/hackage.scm \
@@ -121,9 +140,25 @@ MODULES = \
guix/scripts/publish.scm \
guix/scripts/edit.scm \
guix/scripts/size.scm \
guix/scripts/graph.scm \
guix/scripts/container.scm \
guix/scripts/container/exec.scm \
guix.scm \
$(GNU_SYSTEM_MODULES)
if HAVE_GUILE_JSON
MODULES += \
guix/import/github.scm \
guix/import/json.scm \
guix/import/pypi.scm \
guix/scripts/import/pypi.scm \
guix/import/cpan.scm \
guix/scripts/import/gem.scm \
guix/import/gem.scm
endif
if BUILD_DAEMON_OFFLOAD
MODULES += \
@@ -134,20 +169,20 @@ endif BUILD_DAEMON_OFFLOAD
# Internal module with test suite support.
dist_noinst_DATA = guix/tests.scm
# Because of the autoload hack in (guix build download), we must build it
# first to avoid errors on systems where (gnutls) is unavailable.
guix/scripts/download.go: guix/build/download.go
guix/download.go: guix/build/download.go
# Linux-Libre configurations.
KCONFIGS = \
gnu/packages/linux-libre-i686.conf \
gnu/packages/linux-libre-x86_64.conf
gnu/packages/linux-libre-4.7-i686.conf \
gnu/packages/linux-libre-4.7-x86_64.conf \
gnu/packages/linux-libre-4.4-i686.conf \
gnu/packages/linux-libre-4.4-x86_64.conf \
gnu/packages/linux-libre-4.1-i686.conf \
gnu/packages/linux-libre-4.1-x86_64.conf
# Templates, examples.
EXAMPLES = \
gnu/system/examples/bare-bones.tmpl \
gnu/system/examples/desktop.tmpl
gnu/system/examples/desktop.tmpl \
gnu/system/examples/lightweight-desktop.tmpl
GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go guix/tests.go
@@ -173,6 +208,11 @@ clean-go:
-$(RM) -f $(GOBJECTS)
# Test extensions; has to be unconditional.
TEST_EXTENSIONS = .scm .sh
if CAN_RUN_TESTS
SCM_TESTS = \
tests/base32.scm \
tests/base64.scm \
@@ -181,16 +221,21 @@ SCM_TESTS = \
tests/pk-crypto.scm \
tests/pki.scm \
tests/sets.scm \
tests/gnu-maintenance.scm \
tests/substitute.scm \
tests/builders.scm \
tests/derivations.scm \
tests/grafts.scm \
tests/ui.scm \
tests/records.scm \
tests/upstream.scm \
tests/combinators.scm \
tests/utils.scm \
tests/build-utils.scm \
tests/packages.scm \
tests/snix.scm \
tests/hackage.scm \
tests/cran.scm \
tests/elpa.scm \
tests/store.scm \
tests/monads.scm \
@@ -200,24 +245,28 @@ SCM_TESTS = \
tests/profiles.scm \
tests/syscalls.scm \
tests/gremlin.scm \
tests/bournish.scm \
tests/lint.scm \
tests/publish.scm \
tests/scripts.scm \
tests/size.scm \
tests/graph.scm \
tests/challenge.scm \
tests/cve.scm \
tests/zlib.scm \
tests/file-systems.scm \
tests/containers.scm
tests/system.scm \
tests/services.scm \
tests/scripts-build.scm \
tests/containers.scm \
tests/import-utils.scm
if HAVE_GUILE_JSON
MODULES += \
guix/import/json.scm \
guix/import/pypi.scm \
guix/scripts/import/pypi.scm \
guix/import/cpan.scm \
guix/scripts/import/cpan.scm
SCM_TESTS += \
tests/pypi.scm \
tests/cpan.scm
tests/cpan.scm \
tests/gem.scm
endif
@@ -232,6 +281,8 @@ SH_TESTS = \
tests/guix-archive.sh \
tests/guix-authenticate.sh \
tests/guix-environment.sh \
tests/guix-environment-container.sh \
tests/guix-graph.sh \
tests/guix-lint.sh
if BUILD_DAEMON
@@ -243,12 +294,14 @@ endif BUILD_DAEMON
TESTS = $(SCM_TESTS) $(SH_TESTS)
TEST_EXTENSIONS = .scm .sh
AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" GUILE_AUTO_COMPILE=0
AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)"
SCM_LOG_DRIVER = \
$(top_builddir)/test-env --quiet-stderr \
$(GUILE) --no-auto-compile -e main \
$(top_srcdir)/build-aux/test-driver.scm
SCM_LOG_COMPILER = $(top_builddir)/test-env $(GUILE)
AM_SCM_LOG_FLAGS = --no-auto-compile -L "$(top_srcdir)"
AM_SCM_LOG_DRIVER_FLAGS = --brief=yes
SH_LOG_COMPILER = $(top_builddir)/test-env $(SHELL)
AM_SH_LOG_FLAGS = -x -e
@@ -260,6 +313,28 @@ tests/guix-gc.log: \
$(patsubst %.sh,%.log,$(filter-out tests/guix-gc.sh,$(SH_TESTS))) \
$(SCM_TESTS:%.scm=%.log)
else !CAN_RUN_TESTS
TESTS =
SH_TESTS =
SCM_TESTS =
# Automake always generates a 'check' target, so better not override it.
check-local:
@echo
@echo "Cannot run tests because file name limits would be exceeded." >&2
@echo "Look for 'length' in the 'config.log' file for details." >&2
@echo
@exit 1
endif !CAN_RUN_TESTS
check-system: $(GOBJECTS)
$(AM_V_at)$(top_builddir)/pre-inst-env \
$(GUILE) --no-auto-compile \
-e '(@@ (run-system-tests) run-system-tests)' \
$(top_srcdir)/build-aux/run-system-tests.scm
# Public key used to sign substitutes from hydra.gnu.org.
dist_pkgdata_DATA = hydra.gnu.org.pub
@@ -270,8 +345,11 @@ EXTRA_DIST = \
HACKING \
ROADMAP \
TODO \
CODE-OF-CONDUCT \
.dir-locals.el \
build-aux/build-self.scm \
build-aux/compile-all.scm \
build-aux/hydra/evaluate.scm \
build-aux/hydra/gnu-system.scm \
build-aux/hydra/demo-os.scm \
build-aux/hydra/guix.scm \
@@ -280,12 +358,15 @@ EXTRA_DIST = \
build-aux/download.scm \
build-aux/make-binary-tarball.scm \
build-aux/generate-authors.scm \
build-aux/test-driver.scm \
build-aux/run-system-tests.scm \
srfi/srfi-37.scm.in \
srfi/srfi-64.scm \
srfi/srfi-64.upstream.scm \
tests/test.drv \
tests/signing-key.pub \
tests/signing-key.sec \
tests/cve-sample.xml \
build-aux/config.rpath \
bootstrap \
release.nix \
@@ -303,28 +384,23 @@ CLEANFILES = \
$(GOBJECTS) \
$(SCM_TESTS:tests/%.scm=%.log)
AM_V_GUILEC = $(AM_V_GUILEC_$(V))
AM_V_GUILEC_ = $(AM_V_GUILEC_$(AM_DEFAULT_VERBOSITY))
AM_V_GUILEC_0 = @echo " GUILEC" $@;
# Unset 'GUILE_LOAD_COMPILED_PATH' altogether while compiling. Otherwise, if
# $GUILE_LOAD_COMPILED_PATH contains $(moduledir), we may find .go files in
# there that are newer than the local .scm files (for instance because the
# user ran 'make install' recently). When that happens, we end up loading
# those previously-installed .go files, which may be stale, thereby breaking
# the whole thing.
#
# XXX: Use the C locale for when Guile lacks
# <http://git.sv.gnu.org/cgit/guile.git/commit/?h=stable-2.0&id=e2c6bf3866d1186c60bacfbd4fe5037087ee5e3f>.
.scm.go:
$(AM_V_GUILEC)$(MKDIR_P) `dirname "$@"` ; \
# the whole thing. Likewise, set 'XDG_CACHE_HOME' to avoid loading possibly
# stale files from ~/.cache/guile/ccache.
%.go: make-go ; @:
make-go: $(MODULES) guix/config.scm guix/tests.scm
$(AM_V_at)echo "Compiling Scheme modules..." ; \
unset GUILE_LOAD_COMPILED_PATH ; \
LC_ALL=C \
XDG_CACHE_HOME=/nowhere \
host=$(host) srcdir="$(top_srcdir)" \
$(top_builddir)/pre-inst-env \
$(GUILD) compile -L "$(top_builddir)" -L "$(top_srcdir)" \
-Wformat -Wunbound-variable -Warity-mismatch \
--target="$(host)" \
-o "$@" "$<"
$(GUILE) -L "$(top_builddir)" -L "$(top_srcdir)" \
--no-auto-compile \
-s "$(top_srcdir)"/build-aux/compile-all.scm $^
SUFFIXES = .go
@@ -346,16 +422,20 @@ install-data-hook: set-bootstrap-executable-permissions
SUBDIRS = po/guix po/packages
BUILT_SOURCES =
include doc.am
include doc/local.mk
if BUILD_DAEMON
include daemon.am
include nix/local.mk
endif BUILD_DAEMON
ACLOCAL_AMFLAGS = -I m4
# Pass an explicit '--localstatedir' so that configure does not error out if
# it finds an existing installation with a different localstatedir.
AM_DISTCHECK_CONFIGURE_FLAGS = \
--localstatedir="$$dc_install_base/var" \
--with-libgcrypt-prefix="$(LIBGCRYPT_PREFIX)" \
--with-libgcrypt-libdir="$(LIBGCRYPT_LIBDIR)" \
--with-nix-prefix="$(NIX_PREFIX)" \
@@ -363,11 +443,11 @@ AM_DISTCHECK_CONFIGURE_FLAGS = \
dist_emacsui_DATA = emacs/guix-main.scm
nodist_emacsui_DATA = emacs/guix-helper.scm
include emacs.am
include emacs/local.mk
# The self-contained tarball.
guix-binary.%.tar.xz:
-GUIX_PACKAGE_PATH= \
$(AM_V_GEN)GUIX_PACKAGE_PATH= \
$(top_builddir)/pre-inst-env "$(GUILE)" \
"$(top_srcdir)/build-aux/make-binary-tarball.scm" "$*" "$@"
@@ -378,11 +458,11 @@ dist-hook: assert-no-store-file-names
distcheck-hook: assert-binaries-available assert-final-inputs-self-contained
sync-descriptions:
-GUIX_PACKAGE_PATH= \
$(AM_V_at)GUIX_PACKAGE_PATH= \
$(top_builddir)/pre-inst-env guix lint --checkers=gnu-description
gen-ChangeLog:
if test -d .git; then \
$(AM_V_GEN)if test -d .git; then \
$(top_srcdir)/build-aux/gitlog-to-changelog \
> $(distdir)/cl-t; \
rm -f $(distdir)/ChangeLog; \
@@ -390,7 +470,7 @@ gen-ChangeLog:
fi
gen-AUTHORS:
if test -d .git; then \
$(AM_V_GEN)if test -d .git; then \
rm -f "$(distdir)/AUTHORS"; \
$(top_builddir)/pre-inst-env "$(GUILE)" \
"$(top_srcdir)/build-aux/generate-authors.scm" \
@@ -399,7 +479,7 @@ gen-AUTHORS:
# Make sure we're not shipping a file that embeds a local /gnu/store file name.
assert-no-store-file-names:
if grep -r --exclude=*.texi --exclude=*.info \
$(AM_V_at)if grep -r --exclude=*.texi --exclude=*.info \
"$(storedir)/[a-z0-9]{32}-" $(distdir) ; \
then \
echo "error: store file names embedded in the distribution" >&2 ; \
@@ -407,15 +487,43 @@ assert-no-store-file-names:
fi
# Make sure hydra.gnu.org has the important binaries.
assert-binaries-available:
$(top_builddir)/pre-inst-env "$(GUILE)" \
assert-binaries-available: $(GOBJECTS)
$(AM_V_at)$(top_builddir)/pre-inst-env "$(GUILE)" \
"$(top_srcdir)/build-aux/check-available-binaries.scm"
# Make sure the final inputs don't refer to bootstrap tools.
assert-final-inputs-self-contained:
$(top_builddir)/pre-inst-env "$(GUILE)" \
assert-final-inputs-self-contained: $(GOBJECTS)
$(AM_V_at)$(top_builddir)/pre-inst-env "$(GUILE)" \
"$(top_srcdir)/build-aux/check-final-inputs-self-contained.scm"
.PHONY: sync-descriptions gen-ChangeLog gen-AUTHORS clean-go
# Compute the Hydra jobs and write them in the target file.
hydra-jobs.scm: $(GOBJECTS)
$(AM_V_at)$(MKDIR_P) "`dirname "$@"`"
$(AM_V_GEN)$(top_builddir)/pre-inst-env "$(GUILE)" \
"$(top_srcdir)/build-aux/hydra/evaluate.scm" \
"$(top_srcdir)/build-aux/hydra/gnu-system.scm" > "$@.tmp"
$(AM_V_at)mv "$@.tmp" "$@"
.PHONY: sync-descriptions gen-ChangeLog gen-AUTHORS clean-go make-go
.PHONY: assert-no-store-file-names assert-binaries-available
.PHONY: assert-final-inputs-self-contained
## -------------- ##
## Silent rules. ##
## -------------- ##
AM_V_DL = $(AM_V_DL_$(V))
AM_V_DL_ = $(AM_V_DL_$(AM_DEFAULT_VERBOSITY))
AM_V_DL_0 = @echo " DL " $@;
AM_V_DOT = $(AM_V_DOT_$(V))
AM_V_DOT_ = $(AM_V_DOT_$(AM_DEFAULT_VERBOSITY))
AM_V_DOT_0 = @echo " DOT " $@;
AM_V_EMACS = $(AM_V_EMACS_$(V))
AM_V_EMACS_ = $(AM_V_EMACS_$(AM_DEFAULT_VERBOSITY))
AM_V_EMACS_0 = @echo " EMACS " $@;
AM_V_HELP2MAN = $(AM_V_HELP2MAN_$(V))
AM_V_HELP2MAN_ = $(AM_V_HELP2MAN_$(AM_DEFAULT_VERBOSITY))
AM_V_HELP2MAN_0 = @echo " HELP2MAN" $@;
+1068 -1
View File
File diff suppressed because it is too large Load Diff
-1
View File
@@ -59,7 +59,6 @@ To do so:
guix environment guix
- Re-run the 'configure' script passing it the option
'--with-libgcrypt-prefix=$HOME/.guix-profile/', as well as
'--localstatedir=/somewhere', where '/somewhere' is the 'localstatedir'
value of the currently installed Guix (failing to do that would lead the
new Guix to consider the store to be empty!).
+1 -1
View File
@@ -77,6 +77,6 @@ Freenode!
+ build containers like guix-daemon does
+ provide a Plash-like interface in Bash
- daemon rewritten in Guile
- more dmd integration
- more shepherd integration
+ monitor network interfaces and start/stop events based on that
+ include a DHCP client written in Scheme
+10 -1
View File
@@ -13,18 +13,25 @@ infrastructure help:
Daniel Clark <dclark@pobox.com>
Alexandru Cojocaru <xojoc@gmx.com>
Aleix Conchillo Flaqué <aconchillo@gmail.com>
Malcolm Cook <MEC@stowers.org>
Thomas Danckaert <thomas.danckaert@gmail.com>
Rafael Ferreira <rafael.f.f1@gmail.com>
Christian Grothoff <christian@grothoff.org>
Eric Hanchrow <eric.hanchrow@gmail.com>
Konrad Hinsen <konrad.hinsen@fastmail.net>
Brandon Invergo <brandon@gnu.org>
Anders Jonsson <anders.jonsson@norsjovallen.se>
Jeffrin Jose <ahiliation@yahoo.co.in>
Kete <kete@ninthfloor.org>
Daniel Kochmański <dkochmanski@hellsgate.pl>
Matthew Lien <bluet@bluet.org>
Niels Möller <nisse@lysator.liu.se>
Dave Love <fx@gnu.org>
Chris Marusich <cmmarusich@gmail.com>
Niels Möller <nisse@lysator.liu.se>
Cyprien Nicolas <cyprien@nicolas.tf>
Yutaka Niibe <gniibe@fsij.org>
Andrei Osipov <andrspv@gmail.com>
Petter <petter@mykolab.ch>
Adam Pribyl <pribyl@lowlevel.cz>
Pjotr Prins <pjotr.public12@thebird.nl>
Yakkala Yagnesh Raghava <hi@yagnesh.org>
@@ -34,7 +41,9 @@ infrastructure help:
Thomas Schwinge <thomas@codesourcery.com>
Alexander Shendi <Alexander.Shendi@web.de>
Alen Skondro <askondro@gmail.com>
Jan Synáček <jan.synacek@gmail.com>
Matthias Wachs <wachs@net.in.tum.de>
Christopher Allan Webber <cwebber@dustycloud.org>
Philip Woods <elzairthesorcerer@gmail.com>
GNU Guix also includes non-software works. Thanks to the following
+55 -4
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2016 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -19,7 +19,9 @@
(define-module (build-self)
#:use-module (gnu)
#:use-module (guix)
#:use-module (guix config)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-19)
#:export (build))
;;; Commentary:
@@ -44,6 +46,18 @@
(define libgcrypt
(first (find-best-packages-by-name "libgcrypt" #f)))
(define zlib
(first (find-best-packages-by-name "zlib" #f)))
(define gzip
(first (find-best-packages-by-name "gzip" #f)))
(define bzip2
(first (find-best-packages-by-name "bzip2" #f)))
(define xz
(first (find-best-packages-by-name "xz" #f)))
(define guile-json
(first (find-best-packages-by-name "guile-json" #f)))
@@ -57,12 +71,33 @@
(lambda (file)
(string-append (dirname file) "/.."))))
(define (date-version-string)
"Return the current date and hour in UTC timezone, for use as a poor
person's version identifier."
;; XXX: Replace with a Git commit id.
(date->string (current-date 0) "~Y~m~d.~H"))
;; The procedure below is our return value.
(define* (build source #:key verbose?
(define* (build source
#:key verbose? (version (date-version-string))
#:allow-other-keys
#:rest rest)
"Return a derivation that unpacks SOURCE into STORE and compiles Scheme
files."
;; The '%xxxdir' variables were added to (guix config) in July 2016 so we
;; cannot assume that they are defined. Try to guess their value when
;; they're undefined (XXX: we get an incorrect guess when environment
;; variables such as 'NIX_STATE_DIR' are defined!).
(define storedir
(if (defined? '%storedir) %storedir %store-directory))
(define localstatedir
(if (defined? '%localstatedir) %localstatedir (dirname %state-directory)))
(define sysconfdir
(if (defined? '%sysconfdir) %sysconfdir (dirname %config-directory)))
(define sbindir
(if (defined? '%sbindir) %sbindir (dirname %guix-register-program)))
(define builder
#~(begin
(use-modules (guix build pull))
@@ -73,12 +108,28 @@ files."
(build-guix #$output #$source
#:system #$%system
#:storedir #$storedir
#:localstatedir #$localstatedir
#:sysconfdir #$sysconfdir
#:sbindir #$sbindir
#:package-name #$%guix-package-name
#:package-version #$version
#:bug-report-address #$%guix-bug-report-address
#:home-page-url #$%guix-home-page-url
#:libgcrypt #$libgcrypt
#:zlib #$zlib
#:gzip #$gzip
#:bzip2 #$bzip2
#:xz #$xz
;; XXX: This is not perfect, enabling VERBOSE? means
;; building a different derivation.
#:debug-port (if #$verbose?
(current-error-port)
(%make-void-port "w"))
#:gcrypt #$libgcrypt)))
(%make-void-port "w")))))
(gexp->derivation "guix-latest" builder
#:modules '((guix build pull)
+5 -3
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21,6 +21,7 @@
;;;
(use-modules (guix store)
(guix grafts)
(guix packages)
(guix derivations)
(gnu packages emacs)
@@ -45,8 +46,9 @@
(available (substitutable-paths store total))
(missing (lset-difference string=? total available)))
(if (null? missing)
(format (current-error-port) "~a packages found substitutable~%"
(length total))
(format (current-error-port)
"~a packages found substitutable on~{ ~a~}~%"
(length total) %hydra-supported-systems)
(format (current-error-port)
"~a packages are not substitutable:~%~{ ~a~%~}~%"
(length missing) missing))
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21,6 +21,7 @@
;;;
(use-modules (guix store)
(guix grafts)
(guix packages)
(guix derivations)
(guix ui)
+90
View File
@@ -0,0 +1,90 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(use-modules (system base target)
(system base message)
(ice-9 match)
(ice-9 threads)
(guix build utils))
(define warnings
'(unsupported-warning format unbound-variable arity-mismatch))
(define host (getenv "host"))
(define srcdir (getenv "srcdir"))
(define (relative-file file)
(if (string-prefix? (string-append srcdir "/") file)
(string-drop file (+ 1 (string-length srcdir)))
file))
(define (file-mtime<? f1 f2)
(< (stat:mtime (stat f1))
(stat:mtime (stat f2))))
(define (scm->go file)
(let* ((relative (relative-file file))
(without-extension (string-drop-right relative 4)))
(string-append without-extension ".go")))
(define (file-needs-compilation? file)
(let ((go (scm->go file)))
(or (not (file-exists? go))
(file-mtime<? go file))))
(define (file->module file)
(let* ((relative (relative-file file))
(module-path (string-drop-right relative 4)))
(map string->symbol
(string-split module-path #\/))))
;;; To work around <http://bugs.gnu.org/15602> (FIXME), we want to load all
;;; files to be compiled first. We do this via resolve-interface so that the
;;; top-level of each file (module) is only executed once.
(define (load-module-file file)
(let ((module (file->module file)))
(format #t " LOAD ~a~%" module)
(resolve-interface module)))
(define (compile-file* file output-mutex)
(let ((go (scm->go file)))
(with-mutex output-mutex
(format #t " GUILEC ~a~%" go)
(force-output))
(mkdir-p (dirname go))
(with-fluids ((*current-warning-prefix* ""))
(with-target host
(lambda ()
(compile-file file
#:output-file go
#:opts `(#:warnings ,warnings)))))))
(match (command-line)
((_ . files)
(let ((files (filter file-needs-compilation? files)))
(for-each load-module-file files)
(let ((mutex (make-mutex)))
(par-for-each (lambda (file)
(compile-file* file mutex))
files)))))
;;; Local Variables:
;;; eval: (put 'with-target 'scheme-indent-function 1)
;;; End:
+1 -1
View File
@@ -56,7 +56,7 @@
(match (command-line)
((_ file expected-hash)
(let ((uri (file-name->uri file)))
(format #t "downloading file `~a' from `~a'...~%"
(format #t "downloading file `~a'~%from `~a'...~%"
file (uri->string uri))
(let*-values (((resp data) (http-get uri #:decode-body? #f))
((hash) (bytevector->base16-string (sha256 data)))
+5 -5
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,13 +23,13 @@
;;;
(use-modules (gnu))
(use-service-modules desktop xorg networking avahi)
(use-service-modules desktop xorg networking avahi dbus)
(use-package-modules linux xorg tor avahi)
(operating-system
(host-name "gnu")
(timezone "Europe/Paris")
(locale "en_US.UTF-8")
(locale "en_US.utf8")
(bootloader (grub-configuration
(device "/dev/sda")))
@@ -57,7 +57,7 @@ This is an alpha preview of the GNU system. Welcome.
This image features the GNU Guix package manager, which was used to
build it (http://www.gnu.org/software/guix/). The init system is
GNU dmd (http://www.gnu.org/software/dmd/).
the GNU Shepherd (http://www.gnu.org/software/shepherd/).
You can log in as 'guest' or 'root' with no password.
")
@@ -71,7 +71,7 @@ You can log in as 'guest' or 'root' with no password.
#:gateway "10.0.2.2")
(avahi-service)
(dbus-service (list avahi))
(dbus-service)
(tor-service)
%base-services))
+111
View File
@@ -0,0 +1,111 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
;;; This program replicates the behavior of Hydra's 'hydra-eval-guile-job'.
;;; It evaluates the Hydra job defined by the program passed as its first
;;; arguments and outputs an sexp of the jobs on standard output.
(use-modules (guix store)
(srfi srfi-19)
(ice-9 match)
(ice-9 pretty-print)
(ice-9 format))
(define %user-module
;; Hydra user module.
(let ((m (make-module)))
(beautify-user-module! m)
m))
(define (call-with-time thunk kont)
"Call THUNK and pass KONT the elapsed time followed by THUNK's return
values."
(let* ((start (current-time time-monotonic))
(result (call-with-values thunk list))
(end (current-time time-monotonic)))
(apply kont (time-difference end start) result)))
(define (call-with-time-display thunk)
"Call THUNK and write to the current output port its duration."
(call-with-time thunk
(lambda (time . results)
(format #t "~,3f seconds~%"
(+ (time-second time)
(/ (time-nanosecond time) 1e9)))
(apply values results))))
(define (assert-valid-job job thing)
"Raise an error if THING is not an alist with a valid 'derivation' entry.
Otherwise return THING."
(unless (and (list? thing)
(and=> (assoc-ref thing 'derivation)
(lambda (value)
(and (string? value)
(string-suffix? ".drv" value)))))
(error "job did not produce a valid alist" job thing))
thing)
;; Without further ado...
(match (command-line)
((command file)
;; Load FILE, a Scheme file that defines Hydra jobs.
(let ((port (current-output-port)))
(save-module-excursion
(lambda ()
(set-current-module %user-module)
(primitive-load file)))
(with-store store
;; Make sure we don't resort to substitutes.
(set-build-options store
#:use-substitutes? #f
#:substitute-urls '())
;; Grafts can trigger early builds. We do not want that to happen
;; during evaluation, so use a sledgehammer to catch such problems.
(set! build-things
(lambda (store . args)
(format (current-error-port)
"error: trying to build things during evaluation!~%")
(format (current-error-port)
"'build-things' arguments: ~s~%" args)
(exit 1)))
;; Call the entry point of FILE and print the resulting job sexp.
(pretty-print
(match ((module-ref %user-module 'hydra-jobs) store '())
(((names . thunks) ...)
(map (lambda (job thunk)
(format (current-error-port) "evaluating '~a'... " job)
(force-output (current-error-port))
(cons job
(assert-valid-job job
(call-with-time-display thunk))))
names thunks)))
port))))
((command _ ...)
(format (current-error-port) "Usage: ~a FILE
Evaluate the Hydra jobs defined in FILE.~%"
command)
(exit 1)))
;;; Local Variables:
;;; eval: (put 'call-with-time 'scheme-indent-function 1)
;;; End:
+95 -42
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -38,6 +38,7 @@
(use-modules (guix config)
(guix store)
(guix grafts)
(guix packages)
(guix derivations)
(guix monads)
@@ -58,6 +59,7 @@
(gnu system)
(gnu system vm)
(gnu system install)
(gnu tests)
(srfi srfi-1)
(srfi srfi-26)
(ice-9 match))
@@ -70,16 +72,20 @@
(define* (package->alist store package system
#:optional (package-derivation package-derivation))
"Convert PACKAGE to an alist suitable for Hydra."
`((derivation . ,(derivation-file-name
(package-derivation store package system
#:graft? #f)))
(description . ,(package-synopsis package))
(long-description . ,(package-description package))
(license . ,(package-license package))
(home-page . ,(package-home-page package))
(maintainers . ("bug-guix@gnu.org"))
(timeout . ,(or (assoc-ref (package-properties package) 'timeout)
72000)))) ; 20 hours by default
(parameterize ((%graft? #f))
`((derivation . ,(derivation-file-name
(package-derivation store package system
#:graft? #f)))
(description . ,(package-synopsis package))
(long-description . ,(package-description package))
(license . ,(package-license package))
(home-page . ,(package-home-page package))
(maintainers . ("bug-guix@gnu.org"))
(max-silent-time . ,(or (assoc-ref (package-properties package)
'max-silent-time)
3600)) ;1 hour by default
(timeout . ,(or (assoc-ref (package-properties package) 'timeout)
72000))))) ;20 hours by default
(define (package-job store job-name package system)
"Return a job called JOB-NAME that builds PACKAGE on SYSTEM."
@@ -124,6 +130,9 @@ SYSTEM."
(file (string-append dir "/demo-os.scm")))
(read-operating-system file)))
(define %guixsd-supported-systems
'("x86_64-linux" "i686-linux"))
(define (qemu-jobs store system)
"Return a list of jobs that build QEMU images for SYSTEM."
(define (->alist drv)
@@ -138,12 +147,14 @@ system.")
(define (->job name drv)
(let ((name (symbol-append name (string->symbol ".")
(string->symbol system))))
`(,name . ,(cut ->alist drv))))
`(,name . ,(lambda ()
(parameterize ((%graft? #f))
(->alist drv))))))
(define MiB
(expt 2 20))
(if (member system '("x86_64-linux" "i686-linux"))
(if (member system %guixsd-supported-systems)
(list (->job 'qemu-image
(run-with-store store
(mbegin %store-monad
@@ -157,7 +168,37 @@ system.")
(set-guile-for-build (default-guile))
(system-disk-image installation-os
#:disk-image-size
(* 860 MiB))))))
(* 1024 MiB))))))
'()))
(define (system-test-jobs store system)
"Return a list of jobs for the system tests."
(define (test->thunk test)
(lambda ()
(define drv
(run-with-store store
(mbegin %store-monad
(set-current-system system)
(set-grafting #f)
(set-guile-for-build (default-guile))
(system-test-value test))))
`((derivation . ,(derivation-file-name drv))
(description . ,(format #f "GuixSD '~a' system test"
(system-test-name test)))
(long-description . ,(system-test-description test))
(license . ,gpl3+)
(home-page . ,%guix-home-page-url)
(maintainers . ("bug-guix@gnu.org")))))
(define (->job test)
(let ((name (string->symbol
(string-append "test." (system-test-name test)
"." system))))
(cons name (test->thunk test))))
(if (member system %guixsd-supported-systems)
(map ->job (all-system-tests))
'()))
(define (tarball-jobs store system)
@@ -174,7 +215,9 @@ all its dependencies, and ready to be installed on non-GuixSD distributions.")
(define (->job name drv)
(let ((name (symbol-append name (string->symbol ".")
(string->symbol system))))
`(,name . ,(cut ->alist drv))))
`(,name . ,(lambda ()
(parameterize ((%graft? #f))
(->alist drv))))))
;; XXX: Add a job for the stable Guix?
(list (->job 'binary-tarball
@@ -221,10 +264,11 @@ valid."
(define (cross-jobs system)
(define (from-32-to-64? target)
;; Return true if SYSTEM is 32-bit and TARGET is 64-bit.
;; This hacks prevents known-to-fail cross-builds from i686-linux to
;; Return true if SYSTEM is 32-bit and TARGET is 64-bit. This hack
;; prevents known-to-fail cross-builds from i686-linux or armhf-linux to
;; mips64el-linux-gnuabi64.
(and (string-prefix? "i686-" system)
(and (or (string-prefix? "i686-" system)
(string-prefix? "armhf-" system))
(string-suffix? "64" target)))
(define (same? target)
@@ -244,27 +288,36 @@ valid."
%packages-to-cross-build))
(remove (either from-32-to-64? same?) %cross-targets)))
;; Return one job for each package, except bootstrap packages.
(append-map (lambda (system)
(case subset
((all)
;; Build everything.
(fold-packages (lambda (package result)
(let ((job (package->job store package
system)))
(if job
(cons job result)
result)))
(append (qemu-jobs store system)
(tarball-jobs store system)
(cross-jobs system))))
((core)
;; Build core packages only.
(append (map (lambda (package)
(package-job store (job-name package)
package system))
%core-packages)
(cross-jobs system)))
(else
(error "unknown subset" subset))))
%hydra-supported-systems))
;; Turn off grafts. Grafting is meant to happen on the user's machines.
(parameterize ((%graft? #f))
;; Return one job for each package, except bootstrap packages.
(append-map (lambda (system)
(case subset
((all)
;; Build everything, including replacements.
(let ((all (fold-packages
(lambda (package result)
(if (package-replacement package)
(cons* package
(package-replacement package)
result)
(cons package result)))
'()))
(job (lambda (package)
(package->job store package
system))))
(append (filter-map job all)
(qemu-jobs store system)
(system-test-jobs store system)
(tarball-jobs store system)
(cross-jobs system))))
((core)
;; Build core packages only.
(append (map (lambda (package)
(package-job store (job-name package)
package system))
%core-packages)
(cross-jobs system)))
(else
(error "unknown subset" subset))))
%hydra-supported-systems)))
+22 -2
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -47,7 +47,9 @@
(guix build-system gnu)
(gnu packages version-control)
(gnu packages package-management)
(gnu packages imagemagick)
(gnu packages graphviz)
(gnu packages man)
(srfi srfi-1)
(srfi srfi-26)
(ice-9 match))
@@ -71,7 +73,25 @@
(define (tarball-package checkout)
"Return a package that does `make distcheck' from CHECKOUT, a directory
containing a Git checkout of Guix."
(dist-package guix checkout))
(let ((guix (@@ (gnu packages package-management) guix)))
(dist-package (package
(inherit guix)
(arguments (package-arguments guix))
(native-inputs `(("imagemagick" ,imagemagick)
,@(package-native-inputs guix))))
checkout
#:phases
'(modify-phases %dist-phases
(add-before 'build 'build-daemon
;; Build 'guix-daemon' first so that help2man
;; successfully creates 'guix-daemon.1'.
(lambda _
(let ((n (number->string
(parallel-job-count))))
(zero? (system* "make"
"nix/libstore/schema.sql.hh"
"guix-daemon" "-j" n)))))))))
(define (hydra-jobs store arguments)
"Return Hydra jobs."
+85
View File
@@ -0,0 +1,85 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (run-system-tests)
#:use-module (gnu tests)
#:use-module (guix store)
#:use-module (guix monads)
#:use-module (guix derivations)
#:use-module (guix ui)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-34)
#:use-module (ice-9 match)
#:export (run-system-tests))
(define (built-derivations* drv)
(lambda (store)
(guard (c ((nix-protocol-error? c)
(values #f store)))
(values (build-derivations store drv) store))))
(define (filterm mproc lst) ;XXX: move to (guix monads)
(with-monad %store-monad
(>>= (foldm %store-monad
(lambda (item result)
(mlet %store-monad ((keep? (mproc item)))
(return (if keep?
(cons item result)
result))))
'()
lst)
(lift1 reverse %store-monad))))
(define (run-system-tests . args)
(define tests
;; Honor the 'TESTS' environment variable so that one can select a subset
;; of tests to run in the usual way:
;;
;; make check-system TESTS=installed-os
(match (getenv "TESTS")
(#f
(all-system-tests))
((= string-tokenize (tests ...))
(filter (lambda (test)
(member (system-test-name test) tests))
(all-system-tests)))))
(format (current-error-port) "Running ~a system tests...~%"
(length tests))
(with-store store
(run-with-store store
(mlet* %store-monad ((drv (mapm %store-monad system-test-value tests))
(out -> (map derivation->output-path drv)))
(mbegin %store-monad
(show-what-to-build* drv)
(set-build-options* #:keep-going? #t #:keep-failed? #t)
(built-derivations* drv)
(mlet %store-monad ((valid (filterm (store-lift valid-path?)
out))
(failed (filterm (store-lift
(negate valid-path?))
out)))
(format #t "TOTAL: ~a\n" (length drv))
(for-each (lambda (item)
(format #t "PASS: ~a~%" item))
valid)
(for-each (lambda (item)
(format #t "FAIL: ~a~%" item))
failed)
(exit (null? failed))))))))
+189
View File
@@ -0,0 +1,189 @@
;;;; test-driver.scm - Guile test driver for Automake testsuite harness
(define script-version "2016-04-03.12") ;UTC
;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org>
;;;
;;; This program is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; This program is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;;; Commentary:
;;;
;;; This script provides a Guile test driver using the SRFI-64 Scheme API for
;;; test suites. SRFI-64 is distributed with Guile since version 2.0.9.
;;;
;;;; Code:
(use-modules (ice-9 getopt-long)
(ice-9 pretty-print)
(srfi srfi-26)
(srfi srfi-64))
(define (show-help)
(display "Usage:
test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
[--expect-failure={yes|no}] [--color-tests={yes|no}]
[--enable-hard-errors={yes|no}] [--brief={yes|no}}] [--]
TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
The '--test-name', '--log-file' and '--trs-file' options are mandatory.\n"))
(define %options
'((test-name (value #t))
(log-file (value #t))
(trs-file (value #t))
(color-tests (value #t))
(expect-failure (value #t)) ;XXX: not implemented yet
(enable-hard-errors (value #t)) ;not implemented in SRFI-64
(brief (value #t))
(help (single-char #\h) (value #f))
(version (single-char #\V) (value #f))))
(define (option->boolean options key)
"Return #t if the value associated with KEY in OPTIONS is \"yes\"."
(and=> (option-ref options key #f) (cut string=? <> "yes")))
(define* (test-display field value #:optional (port (current-output-port))
#:key pretty?)
"Display \"FIELD: VALUE\\n\" on PORT."
(if pretty?
(begin
(format port "~A:~%" field)
(pretty-print value port #:per-line-prefix "+ "))
(format port "~A: ~A~%" field value)))
(define* (result->string symbol #:key colorize?)
"Return SYMBOL as an upper case string. Use colors when COLORIZE is #t."
(let ((result (string-upcase (symbol->string symbol))))
(if colorize?
(string-append (case symbol
((pass) "") ;green
((xfail) "") ;light green
((skip) "") ;blue
((fail xpass) "") ;red
((error) "")) ;magenta
result
"") ;no color
result)))
(define* (test-runner-gnu test-name #:key color? brief? out-port trs-port)
"Return an custom SRFI-64 test runner. TEST-NAME is a string specifying the
file name of the current the test. COLOR? specifies whether to use colors,
and BRIEF?, well, you know. OUT-PORT and TRS-PORT must be output ports. The
current output port is supposed to be redirected to a '.log' file."
(define (test-on-test-begin-gnu runner)
;; Procedure called at the start of an individual test case, before the
;; test expression (and expected value) are evaluated.
(let ((result (cute assq-ref (test-result-alist runner) <>)))
(test-display "test-name" (result 'test-name))
(test-display "location"
(string-append (result 'source-file) ":"
(number->string (result 'source-line))))
(test-display "source" (result 'source-form) #:pretty? #t)))
(define (test-on-test-end-gnu runner)
;; Procedure called at the end of an individual test case, when the result
;; of the test is available.
(let* ((results (test-result-alist runner))
(result? (cut assq <> results))
(result (cut assq-ref results <>)))
(unless brief?
;; Display the result of each test case on the console.
(test-display
(result->string (test-result-kind runner) #:colorize? color?)
(string-append test-name " - " (test-runner-test-name runner))
out-port))
(when (result? 'expected-value)
(test-display "expected-value" (result 'expected-value)))
(when (result? 'expected-error)
(test-display "expected-error" (result 'expected-error) #:pretty? #t))
(when (result? 'actual-value)
(test-display "actual-value" (result 'actual-value)))
(when (result? 'actual-error)
(test-display "actual-error" (result 'actual-error) #:pretty? #t))
(test-display "result" (result->string (result 'result-kind)))
(newline)
(test-display ":test-result"
(string-append (result->string (test-result-kind runner))
" " (test-runner-test-name runner))
trs-port)))
(define (test-on-group-end-gnu runner)
;; Procedure called by a 'test-end', including at the end of a test-group.
(let ((fail (or (positive? (test-runner-fail-count runner))
(positive? (test-runner-xpass-count runner))))
(skip (or (positive? (test-runner-skip-count runner))
(positive? (test-runner-xfail-count runner)))))
;; XXX: The global results need some refinements for XPASS.
(test-display ":global-test-result"
(if fail "FAIL" (if skip "SKIP" "PASS"))
trs-port)
(test-display ":recheck"
(if fail "yes" "no")
trs-port)
(test-display ":copy-in-global-log"
(if (or fail skip) "yes" "no")
trs-port)
(when brief?
;; Display the global test group result on the console.
(test-display (result->string (if fail 'fail (if skip 'skip 'pass))
#:colorize? color?)
test-name
out-port))
#f))
(let ((runner (test-runner-null)))
(test-runner-on-test-begin! runner test-on-test-begin-gnu)
(test-runner-on-test-end! runner test-on-test-end-gnu)
(test-runner-on-group-end! runner test-on-group-end-gnu)
(test-runner-on-bad-end-name! runner test-on-bad-end-name-simple)
runner))
;;;
;;; Entry point.
;;;
(define (main . args)
(let* ((opts (getopt-long (command-line) %options))
(option (cut option-ref opts <> <>)))
(cond
((option 'help #f) (show-help))
((option 'version #f) (format #t "test-driver.scm ~A" script-version))
(else
(let ((log (open-file (option 'log-file "") "w0"))
(trs (open-file (option 'trs-file "") "wl"))
(out (duplicate-port (current-output-port) "wl")))
(redirect-port log (current-output-port))
(redirect-port log (current-warning-port))
(redirect-port log (current-error-port))
(test-with-runner
(test-runner-gnu (option 'test-name #f)
#:color? (option->boolean opts 'color-tests)
#:brief? (option->boolean opts 'brief)
#:out-port out #:trs-port trs)
(load-from-path (option 'test-name #f)))
(close-port log)
(close-port trs)
(close-port out))))
(exit 0)))
;;; Local Variables:
;;; eval: (add-hook 'write-file-functions 'time-stamp)
;;; time-stamp-start: "(define script-version \""
;;; time-stamp-format: "%:y-%02m-%02d.%02H"
;;; time-stamp-time-zone: "UTC"
;;; time-stamp-end: "\") ;UTC"
;;; End:
;;;; test-driver.scm ends here.
+30 -13
View File
@@ -1,7 +1,7 @@
#!/bin/sh
# GNU Guix --- Functional package management for GNU
# Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
#
# This file is part of GNU Guix.
#
@@ -29,9 +29,18 @@
# stdout.
unset CDPATH
case "$1" in
--quiet-stderr)
# Silence the daemon's output, which is often useless, as well as that
# of Bash (such as "Terminated" messages when 'guix-daemon' is
# killed.)
exec 2> /dev/null
shift
;;
esac
if [ -x "@abs_top_builddir@/guix-daemon" ]
then
NIX_SETUID_HELPER="@abs_top_builddir@/nix-setuid-helper" # normally unused
NIX_STORE_DIR="@GUIX_TEST_ROOT@/store"
# Do that because store.scm calls `canonicalize-path' on it.
@@ -60,16 +69,16 @@ then
fi
# The configuration directory, for import/export signing keys.
NIX_CONF_DIR="@GUIX_TEST_ROOT@/etc"
if [ ! -d "$NIX_CONF_DIR" ]
GUIX_CONFIGURATION_DIRECTORY="@GUIX_TEST_ROOT@/etc"
if [ ! -d "$GUIX_CONFIGURATION_DIRECTORY" ]
then
# Copy the keys so that the secret key has the right permissions (the
# daemon errors out when this is not the case.)
mkdir -p "$NIX_CONF_DIR"
mkdir -p "$GUIX_CONFIGURATION_DIRECTORY"
cp "@abs_top_srcdir@/tests/signing-key.sec" \
"@abs_top_srcdir@/tests/signing-key.pub" \
"$NIX_CONF_DIR"
chmod 400 "$NIX_CONF_DIR/signing-key.sec"
"$GUIX_CONFIGURATION_DIRECTORY"
chmod 400 "$GUIX_CONFIGURATION_DIRECTORY/signing-key.sec"
fi
# A place to store data of the substituter.
@@ -84,11 +93,14 @@ then
# Place for the substituter's cache.
XDG_CACHE_HOME="$NIX_STATE_DIR/cache-$$"
export NIX_IGNORE_SYMLINK_STORE NIX_STORE_DIR \
NIX_LOCALSTATE_DIR NIX_LOG_DIR NIX_STATE_DIR NIX_DB_DIR \
NIX_ROOT_FINDER NIX_SETUID_HELPER GUIX_BINARY_SUBSTITUTE_URL \
GUIX_ALLOW_UNAUTHENTICATED_SUBSTITUTES \
NIX_CONF_DIR XDG_CACHE_HOME
# For the (guix import snix) tests.
NIXPKGS="@NIXPKGS@"
export NIX_IGNORE_SYMLINK_STORE NIX_STORE_DIR \
NIX_LOCALSTATE_DIR NIX_LOG_DIR NIX_STATE_DIR NIX_DB_DIR \
NIX_ROOT_FINDER GUIX_BINARY_SUBSTITUTE_URL \
GUIX_ALLOW_UNAUTHENTICATED_SUBSTITUTES \
GUIX_CONFIGURATION_DIRECTORY XDG_CACHE_HOME NIXPKGS
# Launch the daemon without chroot support because is may be
# unavailable, for instance if we're not running as root.
@@ -106,8 +118,13 @@ unset LANGUAGE
LC_MESSAGES=C
export LC_MESSAGES
# Disable grafts by default because they can cause things to be built
# regardless of '--dry-run'.
GUIX_BUILD_OPTIONS="--no-grafts"
export GUIX_BUILD_OPTIONS
# Ignore user settings.
unset GUIX_PACKAGE_PATH GUIX_BUILD_OPTIONS
unset GUIX_PACKAGE_PATH
storedir="@storedir@"
prefix="@prefix@"
+17 -9
View File
@@ -14,14 +14,6 @@ if test "x$guix_build_daemon" = "xyes"; then
AC_PROG_RANLIB
AC_CONFIG_HEADER([nix/config.h])
dnl Decompressors, for use by the substituter.
AC_PATH_PROG([GZIP], [gzip])
AC_PATH_PROG([BZIP2], [bzip2])
AC_PATH_PROG([XZ], [xz])
AC_SUBST([GZIP])
AC_SUBST([BZIP2])
AC_SUBST([XZ])
dnl Use 64-bit file system calls so that we can support files > 2 GiB.
AC_SYS_LARGEFILE
@@ -51,7 +43,7 @@ if test "x$guix_build_daemon" = "xyes"; then
no)
LIBGCRYPT_LIBS="-lgcrypt"
;;
*)
*)
LIBGCRYPT_LIBS="-L$LIBGCRYPT_LIBDIR -lgcrypt"
;;
esac
@@ -118,6 +110,20 @@ if test "x$guix_build_daemon" = "xyes"; then
dnl Check for <linux/fs.h> (for immutable file support).
AC_CHECK_HEADERS([linux/fs.h])
dnl Determine the appropriate default list of substitute URLs.
GUILE_MODULE_AVAILABLE([have_gnutls], [(gnutls)])
if test "x$have_gnutls" = "xyes"; then
guix_substitute_urls="https://mirror.hydra.gnu.org"
else
AC_MSG_WARN([GnuTLS is missing, substitutes will be downloaded in the clear])
guix_substitute_urls="http://mirror.hydra.gnu.org"
fi
AC_MSG_CHECKING([for default substitute URLs])
AC_MSG_RESULT([$guix_substitute_urls])
AC_DEFINE_UNQUOTED([GUIX_SUBSTITUTE_URLS], ["$guix_substitute_urls"],
[Default list of substitute URLs used by 'guix-daemon'.])
dnl Check whether the 'offload' build hook can be built (uses
dnl 'restore-file-set', which requires unbuffered custom binary input
dnl ports from Guile >= 2.0.10.)
@@ -134,6 +140,8 @@ if test "x$guix_build_daemon" = "xyes"; then
GUIX_TEST_ROOT="$ac_cv_guix_test_root"
AC_SUBST([GUIX_TEST_ROOT])
GUIX_CHECK_LOCALSTATEDIR
AC_CONFIG_FILES([nix/scripts/list-runtime-roots],
[chmod +x nix/scripts/list-runtime-roots])
AC_CONFIG_FILES([nix/scripts/substitute],
+46 -19
View File
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.68)
AC_INIT([GNU Guix], [0.8.3], [bug-guix@gnu.org], [guix],
AC_INIT([GNU Guix], [0.11.0], [bug-guix@gnu.org], [guix],
[http://www.gnu.org/software/guix/])
AC_CONFIG_AUX_DIR([build-aux])
@@ -60,7 +60,8 @@ AC_SUBST([guix_localstatedir])
AC_SUBST([guix_sysconfdir])
AC_SUBST([guix_sbindir])
GUIX_CHECK_FILE_NAME_LIMITS
GUIX_CHECK_FILE_NAME_LIMITS([can_run_tests])
AM_CONDITIONAL([CAN_RUN_TESTS], [test "x$can_run_tests" = "xyes"])
dnl We require pkg.m4 (from pkg-config) and guile.m4 (from Guile.)
dnl Make sure they are available.
@@ -85,6 +86,14 @@ dnl Check whether (srfi srfi-37) works, and provide our own if it doesn't.
GUIX_CHECK_SRFI_37
AM_CONDITIONAL([INSTALL_SRFI_37], [test "x$ac_cv_guix_srfi_37_broken" = xyes])
dnl Decompressors, for use by the substituter and other modules.
AC_PATH_PROG([GZIP], [gzip])
AC_PATH_PROG([BZIP2], [bzip2])
AC_PATH_PROG([XZ], [xz])
AC_SUBST([GZIP])
AC_SUBST([BZIP2])
AC_SUBST([XZ])
AC_ARG_WITH([nix-prefix],
[AS_HELP_STRING([--with-nix-prefix=DIR],
[search for Nix in DIR (for testing purposes and '--disable-daemon' builds)])],
@@ -127,23 +136,21 @@ else
AC_MSG_RESULT([not found])
fi
LIBGCRYPT="libgcrypt"
LIBGCRYPT_LIBDIR="no"
LIBGCRYPT_PREFIX="no"
AC_ARG_WITH([libgcrypt-prefix],
[AS_HELP_STRING([--with-libgcrypt-prefix=DIR], [search for GNU libgcrypt in DIR])],
[case "$withval" in
yes|no)
LIBGCRYPT="libgcrypt"
LIBGCRYPT_PREFIX="no"
LIBGCRYPT_LIBDIR="no"
;;
*)
LIBGCRYPT="$withval/lib/libgcrypt"
LIBGCRYPT_PREFIX="$withval"
LIBGCRYPT_LIBDIR="$withval/lib"
;;
esac],
[LIBGCRYPT="libgcrypt"
LIBGCRYPT_PREFIX="no"
LIBGCRYPT_LIBDIR="no"])
esac])
AC_ARG_WITH([libgcrypt-libdir],
[AS_HELP_STRING([--with-libgcrypt-libdir=DIR],
@@ -157,13 +164,21 @@ AC_ARG_WITH([libgcrypt-libdir],
LIBGCRYPT="$withval/libgcrypt"
LIBGCRYPT_LIBDIR="$withval"
;;
esac],
[if test "x$LIBGCRYPT" = x; then
LIBGCRYPT="libgcrypt"
fi
if test "x$LIBGCRYPT_LIBDIR" = x; then
esac])
dnl If none of the --with-libgcrypt-* options was used, try to determine the
dnl absolute file name of libgcrypt.so.
case "x$LIBGCRYPT_PREFIX$LIBGCRYPT_LIBDIR" in
xnono)
GUIX_LIBGCRYPT_LIBDIR([LIBGCRYPT_LIBDIR])
if test "x$LIBGCRYPT_LIBDIR" != x; then
LIBGCRYPT="$LIBGCRYPT_LIBDIR/libgcrypt"
else
dnl 'config-daemon.ac' expects "no" in this case.
LIBGCRYPT_LIBDIR="no"
fi])
fi
;;
esac
dnl Library name suitable for `dynamic-link'.
AC_MSG_CHECKING([for libgcrypt shared library name])
@@ -174,6 +189,17 @@ AC_SUBST([LIBGCRYPT_LIBDIR])
GUIX_ASSERT_LIBGCRYPT_USABLE
dnl Library name of zlib suitable for 'dynamic-link'.
GUIX_LIBZ_LIBDIR([libz_libdir])
if test "x$libz_libdir" = "x"; then
LIBZ="libz"
else
LIBZ="$libz_libdir/libz"
fi
AC_MSG_CHECKING([for zlib's shared library name])
AC_MSG_RESULT([$LIBZ])
AC_SUBST([LIBZ])
AC_CACHE_SAVE
m4_include([config-daemon.ac])
@@ -191,17 +217,18 @@ AC_CONFIG_FILES([Makefile
guix/config.scm])
AC_CONFIG_FILES([scripts/guix], [chmod +x scripts/guix])
AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
AC_CONFIG_FILES([test-env], [chmod +x test-env])
AC_CONFIG_FILES([test-env:build-aux/test-env.in], [chmod +x test-env])
AC_CONFIG_FILES([pre-inst-env:build-aux/pre-inst-env.in],
[chmod +x pre-inst-env])
dnl Emacs interface.
AC_PATH_PROG([DOT_USER_PROGRAM], [dot], [dot])
AM_PATH_LISPDIR
AM_CONDITIONAL([HAVE_EMACS], [test "x$EMACS" != "xno"])
emacsuidir="${guilemoduledir}/guix/emacs"
AC_SUBST([emacsuidir])
AC_CONFIG_FILES([emacs/guix-init.el
emacs/guix-profiles.el
AC_CONFIG_FILES([emacs/guix-config.el
emacs/guix-helper.scm])
AC_OUTPUT
-130
View File
@@ -1,130 +0,0 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2013 Andreas Enge <andreas@enge.fr>
#
# This file is part of GNU Guix.
#
# GNU Guix is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# GNU Guix is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
info_TEXINFOS = doc/guix.texi
EXTRA_DIST += \
doc/contributing.texi \
doc/emacs.texi \
doc/fdl-1.3.texi \
doc/images/bootstrap-graph.dot \
doc/images/bootstrap-graph.eps \
doc/images/bootstrap-graph.pdf \
doc/images/coreutils-size-map.eps \
doc/environment-gdb.scm
OS_CONFIG_EXAMPLES_TEXI = \
doc/os-config-bare-bones.texi \
doc/os-config-desktop.texi
# Bundle this file so that makeinfo finds it in out-of-source-tree builds.
BUILT_SOURCES += $(OS_CONFIG_EXAMPLES_TEXI)
EXTRA_DIST += $(OS_CONFIG_EXAMPLES_TEXI)
MAINTAINERCLEANFILES = $(OS_CONFIG_EXAMPLES_TEXI)
doc/os-config-%.texi: gnu/system/examples/%.tmpl
$(MKDIR_P) "`dirname "$@"`"
cp "$<" "$@"
infoimagedir = $(infodir)/images
dist_infoimage_DATA = \
doc/images/bootstrap-graph.png \
doc/images/coreutils-size-map.png
# Try hard to obtain an image size and aspect that's reasonable for inclusion
# in an Info or PDF document.
DOT_OPTIONS = \
-Gratio=.9 -Gnodesep=.005 -Granksep=.00005 \
-Nfontsize=9 -Nheight=.1 -Nwidth=.1
.dot.png:
$(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$@.tmp"
mv "$@.tmp" "$@"
.dot.pdf:
$(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$@.tmp"
mv "$@.tmp" "$@"
.dot.eps:
$(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$@.tmp"
mv "$@.tmp" "$@"
.png.eps:
convert "$<" "$@-tmp.eps"
mv "$@-tmp.eps" "$@"
# We cannot add new dependencies to `doc/guix.pdf' & co. (info "(automake)
# Extending"). Using the `-local' rules is imperfect, because they may be
# triggered after the main rule. Oh, well.
pdf-local: $(top_srcdir)/doc/images/bootstrap-graph.pdf
info-local: $(top_srcdir)/doc/images/bootstrap-graph.png
ps-local: $(top_srcdir)/doc/images/bootstrap-graph.eps \
$(top_srcdir)/doc/images/coreutils-size-map.eps
dvi-local: ps-local
# Manual pages.
doc/guix.1: $(SUBCOMMANDS:%=guix/scripts/%.scm)
-LANGUAGE= $(top_builddir)/pre-inst-env \
$(HELP2MAN) --output="$@" guix
# Note: Do not depend on 'guix-daemon' since that would trigger a rebuild even
# for people building from a tarball.
doc/guix-daemon.1: nix/nix-daemon/guix-daemon.cc
-LANGUAGE= $(top_builddir)/pre-inst-env \
$(HELP2MAN) --output="$@" guix-daemon
define subcommand-manual-target
doc/guix-$(1).1: guix/scripts/$(1).scm
-LANGUAGE= $(top_builddir)/pre-inst-env \
$(HELP2MAN) --output="$$@" "guix $(1)"
endef
SUBCOMMANDS := \
archive \
build \
download \
edit \
environment \
gc \
hash \
import \
lint \
package \
publish \
pull \
refresh \
size \
system
$(eval $(foreach subcommand,$(SUBCOMMANDS), \
$(call subcommand-manual-target,$(subcommand))))
dist_man1_MANS = \
doc/guix.1 \
$(SUBCOMMANDS:%=doc/guix-%.1)
if BUILD_DAEMON
dist_man1_MANS += \
doc/guix-daemon.1
endif
+154 -17
View File
@@ -7,6 +7,18 @@ grow! Please get in touch with us on @email{guix-devel@@gnu.org} and
reports, patches, and anything that may be helpful to the project. We
particularly welcome help on packaging (@pxref{Packaging Guidelines}).
@cindex code of conduct, of contributors
@cindex contributor covenant
We want to provide a warm, friendly, and harassment-free environment, so
that anyone can contribute to the best of their abilities. To this end
our project uses a ``Contributor Covenant'', which was adapted from
@url{http://contributor-covenant.org/}. You can find a local version in
the @file{CODE-OF-CONDUCT} file in the source tree.
Contributors are not required to use their legal name in patches and
on-line communication; they can use any name or pseudonym of their
choice.
@menu
* Building from Git:: The latest and greatest.
* Running Guix Before It Is Installed:: Hacker tricks.
@@ -27,38 +39,56 @@ the installation instructions (@pxref{Requirements}).
@item @url{http://gnu.org/software/autoconf/, GNU Autoconf};
@item @url{http://gnu.org/software/automake/, GNU Automake};
@item @url{http://gnu.org/software/gettext/, GNU Gettext};
@item @url{http://gnu.org/software/texinfo/, GNU Texinfo};
@item @url{http://www.graphviz.org/, Graphviz};
@item @url{http://www.gnu.org/software/help2man/, GNU Help2man (optional)}.
@end itemize
Run @command{./bootstrap} to download the Nix daemon source code and to
generate the build system infrastructure using autoconf. It reports an
error if an inappropriate version of the above packages is being used.
The easiest way to set up a development environment for Guix is, of
course, by using Guix! The following command starts a new shell where
all the dependencies and appropriate environment variables are set up to
hack on Guix:
@noindent
If you get an error like this one:
@example
guix environment guix
@end example
@xref{Invoking guix environment}, for more information on that command.
Extra dependencies can be added with @option{--ad-hoc}:
@example
guix environment guix --ad-hoc help2man git strace
@end example
Run @command{./bootstrap} to generate the build system infrastructure
using Autoconf and Automake. If you get an error like this one:
@example
configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES
@end example
@noindent
it probably means that Autoconf couldnt find @file{pkg.m4}, which is
provided by @command{pkg-config}. Make sure that @file{pkg.m4} is
available. For instance, if you installed Automake in
@file{/usr/local}, it wouldnt look for @file{.m4} files in
@file{/usr/share}. So you have to invoke the following command in that
case
provided by pkg-config. Make sure that @file{pkg.m4} is available. The
same holds for the @file{guile.m4} set of macros provided by Guile. For
instance, if you installed Automake in @file{/usr/local}, it wouldnt
look for @file{.m4} files in @file{/usr/share}. In that case, you have
to invoke the following command:
@example
export ACLOCAL_PATH=/usr/share/aclocal
@end example
See @pxref{Macro Search Path,,, automake, The GNU Automake Manual} for
@xref{Macro Search Path,,, automake, The GNU Automake Manual}, for
more information.
Then, run @command{./configure} as usual.
Then, run @command{./configure} as usual. Make sure to pass
@code{--localstatedir=@var{directory}} where @var{directory} is the
@code{localstatedir} value used by your current installation (@pxref{The
Store}, for information about this).
Finally, you have to invoke @code{make check} to run tests. If anything
Finally, you have to invoke @code{make check} to run tests
(@pxref{Running the Test Suite}). If anything
fails, take a look at installation instructions (@pxref{Installation})
or send a message to the @email{guix-devel@@gnu.org, mailing list}.
@@ -86,11 +116,46 @@ Similarly, for a Guile session using the Guix modules:
@example
$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'
;;; ("x86_64-linux")
@end example
@noindent
@cindex REPL
@cindex read-eval-print loop
@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile
Reference Manual}):
@example
$ ./pre-inst-env guile
scheme@@(guile-user)> ,use(guix)
scheme@@(guile-user)> ,use(gnu)
scheme@@(guile-user)> (define snakes
(fold-packages
(lambda (package lst)
(if (string-prefix? "python"
(package-name package))
(cons package lst)
lst))
'()))
scheme@@(guile-user)> (length snakes)
$1 = 361
@end example
The @command{pre-inst-env} script sets up all the environment variables
necessary to support this, including @env{PATH} and @env{GUILE_LOAD_PATH}.
Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade the
local source tree; it simply updates the @file{~/.config/guix/latest}
symlink (@pxref{Invoking guix pull}). Run @command{git pull} instead if
you want to upgrade your local source tree.@footnote{If you would like
to set up @command{guix} to use your Git checkout, you can point the
@file{~/.config/guix/latest} symlink to your Git checkout directory.
If you are the sole user of your system, you may also consider pointing
the @file{/root/.config/guix/latest} symlink to point to
@file{~/.config/guix/latest}; this way it will always use the same
@command{guix} as your user does.}
@node The Perfect Setup
@section The Perfect Setup
@@ -111,7 +176,8 @@ that it finds source files from your checkout:
@lisp
;; @r{Assuming the Guix checkout is in ~/src/guix.}
(add-to-list 'geiser-guile-load-path "~/src/guix")
(with-eval-after-load 'geiser-guile
(add-to-list 'geiser-guile-load-path "~/src/guix"))
@end lisp
To actually edit the code, Emacs already has a neat Scheme mode. But in
@@ -121,6 +187,9 @@ facilities to directly operate on the syntax tree, such as raising an
s-expression or wrapping it, swallowing or rejecting the following
s-expression, etc.
GNU Guix also comes with a minor mode that provides some additional
functionality for Scheme buffers (@pxref{Emacs Development}).
@node Coding Style
@section Coding Style
@@ -206,6 +275,10 @@ Before submitting a patch that adds or modifies a package definition,
please run through this check list:
@enumerate
@item
Take some time to provide an adequate synopsis and description for the
package. @xref{Synopses and Descriptions}, for some guidelines.
@item
Run @code{guix lint @var{package}}, where @var{package} is the
name of the new or modified package, and fix any errors it reports
@@ -215,6 +288,20 @@ name of the new or modified package, and fix any errors it reports
Make sure the package builds on your platform, using @code{guix build
@var{package}}.
@item
@cindex bundling
Make sure the package does not use bundled copies of software already
available as separate packages.
Sometimes, packages include copies of the source code of their
dependencies as a convenience for users. However, as a distribution, we
want to make sure that such packages end up using the copy we already
have in the distribution, if there is one. This improves resource usage
(the dependency is built and stored only once), and allows the
distribution to make transverse changes such as applying security
updates for a given software package in a single place and have them
affect the whole system---something that bundled copies prevent.
@item
Take a look at the profile reported by @command{guix size}
(@pxref{Invoking guix size}). This will allow you to notice references
@@ -227,8 +314,58 @@ For important changes, check that dependent package (if applicable) are
not affected by the change; @code{guix refresh --list-dependent
@var{package}} will help you do that (@pxref{Invoking guix refresh}).
Packages with roughly 100 dependents or more usually have to be
committed to a separate branch. That branch can then be built
separately by our build farm, and later merged into @code{master} once
everything has been successfully built. This allows us to fix issues
before they hit users, and to reduce the window during which pre-built
binaries are not available.
@item
@cindex determinism, of build processes
@cindex reproducible builds, checking
Check whether the package's build process is deterministic. This
typically means checking whether an independent build of the package
yields the exact same result that you obtained, bit for bit.
A simple way to do that is by building the same package several times in
a row on your machine (@pxref{Invoking guix build}):
@example
guix build --rounds=2 my-package
@end example
This is enough to catch a class of common non-determinism issues, such
as timestamps or randomly-generated output in the build result.
Another option is to use @command{guix challenge} (@pxref{Invoking guix
challenge}). You may run it once the package has been committed and
built by @code{hydra.gnu.org} to check whether it obtains the same
result as you did. Better yet: Find another machine that can build it
and run @command{guix publish}. Since the remote build machine is
likely different from yours, this can catch non-determinism issues
related to the hardware---e.g., use of different instruction set
extensions---or to the operating system kernel---e.g., reliance on
@code{uname} or @file{/proc} files.
@item
When writing documentation, please use gender-neutral wording when
referring to people, such as
@uref{https://en.wikipedia.org/wiki/Singular_they, singular
``they''@comma{} ``their''@comma{} ``them''}, and so forth.
@item
Verify that your patch contains only one set of related changes.
Bundling unrelated changes together makes reviewing harder and slower.
Examples of unrelated changes include the addition of several packages,
or a package update along with fixes to that package.
@end enumerate
When posting a patch to the mailing list, use @samp{[PATCH] @dots{}} as a
subject. You may use your email client or the @command{git send-mail}
command.
When posting a patch to the mailing list, use @samp{[PATCH] @dots{}} as
a subject. You may use your email client or the @command{git
send-email} command. We prefer to get patches in plain text messages,
either inline or as MIME attachments. You are advised to pay attention if
your email client changes anything like line breaks or indentation which
could could potentially break the patches.
+396 -71
View File
@@ -1,29 +1,27 @@
@node Emacs Interface
@section Emacs Interface
@chapter Emacs Interface
@cindex Emacs
GNU Guix comes with a visual user interface for GNU@tie{}Emacs, known
as ``guix.el''. It can be used for routine package management tasks,
pretty much like the @command{guix package} command (@pxref{Invoking
guix package}). Specifically, ``guix.el'' makes it easy to:
@itemize
@item browse and display packages and generations;
@item search, install, upgrade and remove packages;
@item display packages from previous generations;
@item do some other useful things.
@end itemize
GNU Guix comes with several useful modules (known as ``guix.el'') for
GNU@tie{}Emacs which are intended to make an Emacs user interaction with
Guix convenient and fun.
@menu
* Initial Setup: Emacs Initial Setup. Preparing @file{~/.emacs}.
* Usage: Emacs Usage. Using the interface.
* Configuration: Emacs Configuration. Configuring the interface.
* Package Management: Emacs Package Management. Managing packages and generations.
* Licenses: Emacs Licenses. Interface for licenses of Guix packages.
* Package Source Locations: Emacs Package Locations. Interface for package location files.
* Popup Interface: Emacs Popup Interface. Magit-like interface for guix commands.
* Prettify Mode: Emacs Prettify. Abbreviating @file{/gnu/store/@dots{}} file names.
* Completions: Emacs Completions. Completing @command{guix} shell command.
* Build Log Mode: Emacs Build Log. Highlighting Guix build logs.
* Completions: Emacs Completions. Completing @command{guix} shell command.
* Development: Emacs Development. Tools for Guix developers.
* Hydra: Emacs Hydra. Interface for Guix build farm.
@end menu
@node Emacs Initial Setup
@subsection Initial Setup
@section Initial Setup
On the Guix System Distribution (@pxref{GNU Distribution}), ``guix.el''
is ready to use, provided Guix is installed system-wide, which is the
@@ -43,15 +41,27 @@ later;
@uref{http://nongnu.org/geiser/, Geiser}, version 0.3 or later: it is
used for interacting with the Guile process.
@item
@uref{https://github.com/magit/magit/, magit-popup library}. You
already have this library if you use Magit 2.1.0 or later. This library
is an optional dependency---it is required only for @kbd{M-x@tie{}guix}
command (@pxref{Emacs Popup Interface}).
@end itemize
When it is done ``guix.el'' may be configured by requiring a special
@code{guix-init} file---i.e., by adding the following code into your
init file (@pxref{Init File,,, emacs, The GNU Emacs Manual}):
When it is done, ``guix.el'' may be configured by requiring
@code{guix-autoloads} file. If you install Guix in your user profile,
this auto-loading is done automatically by our Emacs package
(@pxref{Application Setup}), so a universal recipe for configuring
``guix.el'' is: @command{guix package -i guix}. If you do this, there
is no need to read further.
For the manual installation, you need to add the following code into
your init file (@pxref{Init File,,, emacs, The GNU Emacs Manual}):
@example
(add-to-list 'load-path "/path/to/directory-with-guix.el")
(require 'guix-init nil t)
(require 'guix-autoloads nil t)
@end example
So the only thing you need to figure out is where the directory with
@@ -63,17 +73,19 @@ If it was installed by a package manager of your distribution or by a
usual @code{./configure && make && make install} command sequence, then
elisp files are placed in a standard directory with Emacs packages
(usually it is @file{/usr/share/emacs/site-lisp/}), which is already in
@code{load-path}, so there is no need to add that directory there.
@code{load-path}, so there is no need to add that directory there. Note
that if you don't update this installation periodically, you may get an
outdated Emacs code which does not work with the current Guile code of
Guix.
@item
If you used a binary installation method (@pxref{Binary Installation}),
then Guix is installed somewhere in the store, so the elisp files are
placed in @file{/gnu/store/@dots{}-guix-0.8.2/share/emacs/site-lisp/} or
alike. However it is not recommended to refer directly to a store
directory. Instead you can install Guix using Guix itself with
@command{guix package -i guix} command (@pxref{Invoking guix package})
and add @file{~/.guix-profile/share/emacs/site-lisp/} directory to
@code{load-path} variable.
directory, as it may be garbage-collected one day. So a better choice
would be to install Guix using Guix itself with @command{guix package -i
guix}.
@item
If you did not install Guix at all and prefer a hacking way
@@ -85,42 +97,36 @@ same directory, so your final configuration will look like this:
(let ((dir "/path/to/your-guix-git-tree/emacs"))
(add-to-list 'load-path dir)
(setq guix-load-path dir))
(require 'guix-init nil t)
(require 'guix-autoloads nil t)
@end example
@end itemize
By default, along with autoloading (@pxref{Autoload,,, elisp, The GNU
Emacs Lisp Reference Manual}) the main interactive commands for
``guix.el'' (@pxref{Emacs Commands}), requiring @code{guix-init} will
also autoload commands for the Emacs packages installed in your user
profile.
To disable automatic loading of installed Emacs packages, set
@code{guix-package-enable-at-startup} variable to @code{nil} before
requiring @code{guix-init}. This variable has the same meaning for
Emacs packages installed with Guix, as @code{package-enable-at-startup}
for the built-in Emacs package system (@pxref{Package Installation,,,
emacs, The GNU Emacs Manual}).
You can activate Emacs packages installed in your profile whenever you
want using @kbd{M-x@tie{}guix-emacs-load-autoloads}.
@node Emacs Usage
@subsection Usage
@node Emacs Package Management
@section Package Management
Once ``guix.el'' has been successfully configured, you should be able to
use commands for displaying packages and generations. This information
can be displayed in a ``list'' or ``info'' buffer.
use a visual interface for routine package management tasks, pretty much
like the @command{guix package} command (@pxref{Invoking guix package}).
Specifically, it makes it easy to:
@itemize
@item browse and display packages and generations;
@item search, install, upgrade and remove packages;
@item display packages from previous generations;
@item do some other useful things.
@end itemize
@menu
* Commands: Emacs Commands. @kbd{M-x guix-@dots{}}
* General information: Emacs General info. Common for both interfaces.
* ``List'' buffer: Emacs List buffer. List-like interface.
* ``Info'' buffer: Emacs Info buffer. Help-like interface.
* Configuration: Emacs Configuration. Configuring the interface.
@end menu
@node Emacs Commands
@subsubsection Commands
@subsection Commands
All commands for displaying packages and generations use the current
profile, which can be changed with
@@ -137,19 +143,43 @@ Commands for displaying packages:
Display all/newest available packages.
@item M-x guix-installed-packages
Display all installed packages.
@itemx M-x guix-installed-user-packages
@itemx M-x guix-installed-system-packages
Display installed packages. As described above, @kbd{M-x
guix-installed-packages} uses an arbitrary profile that you can specify,
while the other commands display packages installed in 2 special
profiles: @file{~/.guix-profile} and @file{/run/current-system/profile}
(only on GuixSD).
@item M-x guix-obsolete-packages
Display obsolete packages (the packages that are installed in a profile
but cannot be found among available packages).
@item M-x guix-search-by-name
@item M-x guix-packages-by-name
Display package(s) with the specified name.
@item M-x guix-packages-by-license
Display package(s) with the specified license.
@item M-x guix-packages-by-location
Display package(s) located in the specified file. These files usually
have the following form: @file{gnu/packages/emacs.scm}, but don't type
them manually! Press @key{TAB} to complete the file name.
@item M-x guix-package-from-file
Display package that the code within the specified file evaluates to.
@xref{Invoking guix package, @code{--install-from-file}}, for an example
of what such a file may look like.
@item M-x guix-search-by-regexp
Search for packages by a specified regexp. By default ``name'',
``synopsis'' and ``description'' of the packages will be searched. This
can be changed by modifying @code{guix-search-params} variable.
can be changed by modifying @code{guix-package-search-params} variable.
@item M-x guix-search-by-name
Search for packages with names matching a specified regexp. This
command is the same as @code{guix-search-by-regexp}, except only a
package ``name'' is searched.
@end table
@@ -179,6 +209,14 @@ date/time prompt,,, org, The Org Manual}).
@end table
Analogously on GuixSD you can also display system generations:
@table @kbd
@item M-x guix-system-generations
@item M-x guix-last-system-generations
@item M-x guix-system-generations-by-time
@end table
You can also invoke the @command{guix pull} command (@pxref{Invoking
guix pull}) from Emacs using:
@@ -190,8 +228,9 @@ With @kbd{C-u}, make it verbose.
Once @command{guix pull} has succeeded, the Guix REPL is restared. This
allows you to keep using the Emacs interface with the updated Guix.
@node Emacs General info
@subsubsection General information
@subsection General information
The following keys are available for both ``list'' and ``info'' types of
buffers:
@@ -216,6 +255,8 @@ prefix argument is used. This has the same meaning as @code{--manifest}
option (@pxref{Invoking guix package}).
@item C-c C-z
@cindex REPL
@cindex read-eval-print loop
Go to the Guix REPL (@pxref{The REPL,,, geiser, Geiser User Manual}).
@item h
@@ -235,7 +276,7 @@ was restarted, you may want to revert ``list'' buffer (by pressing
@kbd{g}).
@node Emacs List buffer
@subsubsection ``List'' buffer
@subsection ``List'' buffer
An interface of a ``list'' buffer is similar to the interface provided
by ``package.el'' (@pxref{Package Menu,,, emacs, The GNU Emacs Manual}).
@@ -274,6 +315,8 @@ similar to @command{guix edit} command (@pxref{Invoking guix edit}), but
for opening a package recipe in the current Emacs instance.
@item x
Execute actions on the marked packages.
@item B
Display latest builds of the current package (@pxref{Emacs Hydra}).
@end table
A ``generation-list'' buffer additionally provides the following
@@ -310,7 +353,7 @@ with another marked generation.
@end table
@node Emacs Info buffer
@subsubsection ``Info'' buffer
@subsection ``Info'' buffer
The interface of an ``info'' buffer is similar to the interface of
@code{help-mode} (@pxref{Help Mode,,, emacs, The GNU Emacs Manual}).
@@ -326,6 +369,7 @@ emacs, The GNU Emacs Manual}) which can be used to:
@item install/remove a package;
@item jump to a package location;
@item browse home page of a package;
@item browse license URL;
@item describe packages from ``Inputs'' fields.
@end itemize
@@ -401,7 +445,7 @@ changed with the following variables:
By default, the name of a profile is also displayed in a ``list'' or
``info'' buffer name. To change this behavior, use
@code{guix-buffer-name-function} variable.
@code{guix-ui-buffer-name-function} variable.
For example, if you want to display all types of results in a single
buffer (in such case you will probably use a history (@kbd{l}/@kbd{r})
@@ -415,8 +459,7 @@ extensively), you may do it like this:
guix-generation-list-buffer-name name
guix-package-info-buffer-name name
guix-output-info-buffer-name name
guix-generation-info-buffer-name name
guix-buffer-name-function #'guix-buffer-name-simple))
guix-generation-info-buffer-name name))
@end example
@node Emacs Keymaps
@@ -426,8 +469,12 @@ If you want to change default key bindings, use the following keymaps
(@pxref{Init Rebinding,,, emacs, The GNU Emacs Manual}):
@table @code
@item guix-root-map
Parent keymap with general keys for all guix modes.
@item guix-buffer-map
Parent keymap with general keys for any buffer type.
@item guix-ui-map
Parent keymap with general keys for buffers used for Guix package
management (for packages, outputs and generations).
@item guix-list-mode-map
Parent keymap with general keys for ``list'' buffers.
@@ -462,34 +509,183 @@ Keymap with keys available when a point is placed on a button.
@subsubsection Appearance
You can change almost any aspect of ``list'' / ``info'' buffers using
the following variables:
the following variables (@dfn{ENTRY-TYPE} means @code{package},
@code{output} or @code{generation}):
@table @code
@item guix-list-column-format
@itemx guix-list-column-titles
@itemx guix-list-column-value-methods
@item guix-ENTRY-TYPE-list-format
@itemx guix-ENTRY-TYPE-list-titles
Specify the columns, their names, what and how is displayed in ``list''
buffers.
@item guix-info-displayed-params
@itemx guix-info-insert-methods
@itemx guix-info-ignore-empty-vals
@item guix-ENTRY-TYPE-info-format
@itemx guix-ENTRY-TYPE-info-titles
@itemx guix-info-ignore-empty-values
@itemx guix-info-param-title-format
@itemx guix-info-multiline-prefix
@itemx guix-info-indent
@itemx guix-info-fill-column
@itemx guix-info-fill
@itemx guix-info-delimiter
Various settings for ``info'' buffers.
@end table
@node Emacs Prettify
@subsection Guix Prettify Mode
@node Emacs Licenses
@section Licenses
Along with ``guix.el'', GNU@tie{}Guix comes with ``guix-prettify.el''.
It provides a minor mode for abbreviating store file names by replacing
hash sequences of symbols with ``@dots{}'':
If you want to browse the URL of a particular license, or to look at a
list of licenses, you may use the following commands:
@table @kbd
@item M-x guix-browse-license-url
Choose a license from a completion list to browse its URL using
@code{browse-url} function (@pxref{Browse-URL,,, emacs, The GNU Emacs
Manual}).
@item M-x guix-licenses
Display a list of available licenses. You can press @kbd{@key{RET}}
there to display packages with this license in the same way as @kbd{M-x
guix-packages-by-license} would do (@pxref{Emacs Commands}).
@item M-x guix-find-license-definition
Open @file{@dots{}/guix/licenses.scm} and move to the specified license.
@end table
@node Emacs Package Locations
@section Package Source Locations
As you know, package definitions are placed in Guile files, also known
as @dfn{package locations}. The following commands should help you not
get lost in these locations:
@table @kbd
@item M-x guix-locations
Display a list of package locations. You can press @key{RET} there to
display packages placed in the current location in the same way as
@kbd{M-x guix-packages-by-location} would do (@pxref{Emacs Commands}).
Note that when the point is on a location button, @key{RET} will open
this location file.
@item M-x guix-find-location
Open the given package definition source file (press @key{TAB} to choose
a location from a completion list).
@item M-x guix-edit
Find location of a specified package. This is an Emacs analog of
@command{guix edit} command (@pxref{Invoking guix edit}). As with
@kbd{M-x guix-packages-by-name}, you can press @key{TAB} to complete a
package name.
@end table
If you are contributing to Guix, you may find it useful for @kbd{M-x
guix-find-location} and @kbd{M-x guix-edit} to open locations from your
Git checkout. This can be done by setting @code{guix-directory}
variable. For example, after this:
@example
(setq guix-directory "~/src/guix")
@end example
@kbd{M-x guix-edit guix} opens
@file{~/src/guix/gnu/packages/package-management.scm} file.
Also you can use @kbd{C-u} prefix argument to specify a directory just
for the current @kbd{M-x guix-find-location} or @kbd{M-x guix-edit}
command.
@node Emacs Popup Interface
@section Popup Interface
If you ever used Magit, you know what ``popup interface'' is
(@pxref{Top,,, magit-popup, Magit-Popup User Manual}). Even if you are
not acquainted with Magit, there should be no worries as it is very
intuitive.
So @kbd{M-x@tie{}guix} command provides a top-level popup interface for
all available guix commands. When you select an option, you'll be
prompted for a value in the minibuffer. Many values have completions,
so don't hesitate to press @key{TAB} key. Multiple values (for example,
packages or lint checkers) should be separated by commas.
After specifying all options and switches for a command, you may choose
one of the available actions. The following default actions are
available for all commands:
@itemize
@item
Run the command in the Guix REPL. It is faster than running
@code{guix@tie{}@dots{}} command directly in shell, as there is no
need to run another guile process and to load required modules there.
@item
Run the command in a shell buffer. You can set
@code{guix-run-in-shell-function} variable to fine tune the shell buffer
you want to use.
@item
Add the command line to the kill ring (@pxref{Kill Ring,,, emacs, The
GNU Emacs Manual}).
@end itemize
Several commands (@command{guix graph}, @command{guix system shepherd-graph}
and @command{guix system extension-graph}) also have a ``View graph''
action, which allows you to view a generated graph using @command{dot}
command (specified by @code{guix-dot-program} variable). By default a
PNG file will be saved in @file{/tmp} directory and will be opened
directly in Emacs. This behavior may be changed with the following
variables:
@table @code
@item guix-find-file-function
Function used to open a generated graph. If you want to open a graph in
an external program, you can do it by modifying this variable---for
example, you can use a functionality provided by the Org Mode
(@pxref{Top,,, org, The Org Manual}):
@example
(setq guix-find-file-function 'org-open-file)
(add-to-list 'org-file-apps '("\\.png\\'" . "sxiv %s"))
@end example
@item guix-dot-default-arguments
Command line arguments to run @command{dot} command. If you change an
output format (for example, into @code{-Tpdf}), you also need to change
the next variable.
@item guix-dot-file-name-function
Function used to define a name of the generated graph file. Default
name is @file{/tmp/guix-emacs-graph-XXXXXX.png}.
@end table
So, for example, if you want to generate and open a PDF file in your
Emacs, you may change the settings like this:
@example
(defun my-guix-pdf-graph ()
"/tmp/my-current-guix-graph.pdf")
(setq guix-dot-default-arguments '("-Tpdf")
guix-dot-file-name-function 'my-guix-pdf-graph)
@end example
@node Emacs Prettify
@section Guix Prettify Mode
GNU@tie{}Guix also comes with ``guix-prettify.el''. It provides a minor
mode for abbreviating store file names by replacing hash sequences of
symbols with ``@dots{}'':
@example
/gnu/store/72f54nfp6g1hz873w8z3gfcah0h4nl9p-foo-0.1
@@ -525,8 +721,43 @@ mode hooks (@pxref{Hooks,,, emacs, The GNU Emacs Manual}), for example:
@end example
@node Emacs Build Log
@section Build Log Mode
GNU@tie{}Guix provides major and minor modes for highlighting build
logs. So when you have a file with a package build output---for
example, a file returned by @command{guix build --log-file @dots{}}
command (@pxref{Invoking guix build}), you may call @kbd{M-x
guix-build-log-mode} command in the buffer with this file. This major
mode highlights some lines specific to build output and provides the
following key bindings:
@table @kbd
@item M-n
Move to the next build phase.
@item M-p
Move to the previous build phase.
@item @key{TAB}
Toggle (show/hide) the body of the current build phase.
@item S-@key{TAB}
Toggle (show/hide) the bodies of all build phases.
@end table
There is also @kbd{M-x guix-build-log-minor-mode} which also provides
the same highlighting and the same key bindings as the major mode, but
prefixed with @kbd{C-c}. By default, this minor mode is enabled in
shell buffers (@pxref{Interactive Shell,,, emacs, The GNU Emacs
Manual}). If you don't like it, set
@code{guix-build-log-minor-mode-activate} to nil.
@node Emacs Completions
@subsection Shell Completions
@section Shell Completions
Another feature that becomes available after configuring Emacs interface
(@pxref{Emacs Initial Setup}) is completing of @command{guix}
@@ -554,3 +785,97 @@ something:
@item @code{guix lint --checkers=synopsis,des}@key{TAB}
@end itemize
@node Emacs Development
@section Development
By default, when you open a Scheme file, @code{guix-devel-mode} will be
activated (if you don't want it, set @code{guix-devel-activate-mode} to
nil). This minor mode provides the following key bindings:
@table @kbd
@item C-c . k
Copy the name of the current Guile module into kill ring
(@code{guix-devel-copy-module-as-kill}).
@item C-c . u
Use the current Guile module. Often after opening a Scheme file, you
want to use a module it defines, so you switch to the Geiser REPL and
write @code{,use (some module)} there. You may just use this command
instead (@code{guix-devel-use-module}).
@item C-c . b
Build a package defined by the current variable definition. The
building process is run in the current Geiser REPL. If you modified the
current package definition, don't forget to reevaluate it before calling
this command---for example, with @kbd{C-M-x} (@pxref{To eval or not to
eval,,, geiser, Geiser User Manual})
(@code{guix-devel-build-package-definition}).
@item C-c . s
Build a source derivation of the package defined by the current variable
definition. This command has the same meaning as @code{guix build -S}
shell command (@pxref{Invoking guix build})
(@code{guix-devel-build-package-source}).
@item C-c . l
Lint (check) a package defined by the current variable definition
(@pxref{Invoking guix lint}) (@code{guix-devel-lint-package}).
@end table
Unluckily, there is a limitation related to long-running REPL commands.
When there is a running process in a Geiser REPL, you are not supposed
to evaluate anything in a scheme buffer, because this will ``freeze''
the REPL: it will stop producing any output (however, the evaluating
process will continue---you will just not see any progress anymore). Be
aware: even moving the point in a scheme buffer may ``break'' the REPL
if Autodoc (@pxref{Autodoc and friends,,, geiser, Geiser User Manual})
is enabled (which is the default).
So you have to postpone editing your scheme buffers until the running
evaluation will be finished in the REPL.
Alternatively, to avoid this limitation, you may just run another Geiser
REPL, and while something is being evaluated in the previous REPL, you
can continue editing a scheme file with the help of the current one.
@node Emacs Hydra
@section Hydra
The continuous integration server at @code{hydra.gnu.org} builds all
the distribution packages on the supported architectures and serves
them as substitutes (@pxref{Substitutes}). Continuous integration is
currently orchestrated by @uref{https://nixos.org/hydra/, Hydra}.
This section describes an Emacs interface to query Hydra to know the
build status of specific packages, discover recent and ongoing builds,
view build logs, and so on. This interface is mostly the same as the
``list''/``info'' interface for displaying packages and generations
(@pxref{Emacs Package Management}).
The following commands are available:
@table @kbd
@item M-x guix-hydra-latest-builds
Display latest failed or successful builds (you will be prompted for a
number of builds). With @kbd{C-u}, you will also be prompted for other
parameters (project, jobset, job and system).
@item M-x guix-hydra-queued-builds
Display scheduled or currently running builds (you will be prompted for
a number of builds).
@item M-x guix-hydra-jobsets
Display available jobsets (you will be prompted for a project).
@end table
In a list of builds you can press @kbd{L} key to display a build log of
the current build. Also both a list of builds and a list of jobsets
provide @kbd{B} key to display latest builds of the current job or
jobset (don't forget about @kbd{C-u}).
+5836 -957
View File
File diff suppressed because it is too large Load Diff
+658
View File
@@ -0,0 +1,658 @@
# htmlxref.cnf - reference file for free Texinfo manuals on the web.
# Modified by Ludovic Courtès <ludo@gnu.org> for the GNU Guix manual.
htmlxrefversion=2016-08-03.13; # UTC
# Copyright 2010, 2011, 2012, 2013, 2014, 2015 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
#
# The latest version of this file is available at
# http://ftpmirror.gnu.org/texinfo/htmlxref.cnf.
# Email corrections or additions to bug-texinfo@gnu.org.
# The primary goal is to list all relevant GNU manuals;
# other free manuals are also welcome.
#
# To be included in this list, a manual must:
#
# - have a generic url, e.g., no version numbers;
# - have a unique file name (e.g., manual identifier), i.e., be related to the
# package name. Things like "refman" or "tutorial" don't work.
# - follow the naming convention for nodes described at
# http://www.gnu.org/software/texinfo/manual/texinfo/html_node/HTML-Xref.html
# This is what makeinfo and texi2html implement.
#
# Unless the above criteria are met, it's not possible to generate
# reliable cross-manual references.
#
# For information on automatically generating all the useful formats for
# a manual to put on the web, see
# http://www.gnu.org/prep/maintain/html_node/Manuals-on-Web-Pages.html.
# For people editing this file: when a manual named foo is related to a
# package named bar, the url should contain a variable reference ${BAR}.
# Otherwise, the gnumaint scripts have no way of knowing they are
# associated, and thus gnu.org/manual can't include them.
# shorten references to manuals on www.gnu.org.
G = http://www.gnu.org
GS = ${G}/software
3dldf mono ${GS}/3dldf/manual/user_ref/3DLDF.html
3dldf node ${GS}/3dldf/manual/user_ref/
alive mono ${GS}/alive/manual/alive.html
alive node ${GS}/alive/manual/html_node/
anubis chapter ${GS}/anubis/manual/html_chapter/
anubis section ${GS}/anubis/manual/html_section/
anubis node ${GS}/anubis/manual/html_node/
artanis mono ${GS}/artanis/manual/artanis.html
artanis node ${GS}/artanis/manual/html_node/
aspell section http://aspell.net/man-html/index.html
auctex mono ${GS}/auctex/manual/auctex.html
auctex node ${GS}/auctex/manual/auctex/
autoconf mono ${GS}/autoconf/manual/autoconf.html
autoconf node ${GS}/autoconf/manual/html_node/
autogen mono ${GS}/autogen/manual/html_mono/autogen.html
autogen chapter ${GS}/autogen/manual/html_chapter/
autogen node ${GS}/autoconf/manual/html_node/
automake mono ${GS}/automake/manual/automake.html
automake node ${GS}/automake/manual/html_node/
avl node http://www.stanford.edu/~blp/avl/libavl.html/
bash mono ${GS}/bash/manual/bash.html
bash node ${GS}/bash/manual/html_node/
BINUTILS = http://sourceware.org/binutils/docs
binutils node ${BINUTILS}/binutils/
as node ${BINUTILS}/as/
bfd node ${BINUTILS}/bfd/
gprof node ${BINUTILS}/gprof/
ld node ${BINUTILS}/ld/
bison mono ${GS}/bison/manual/bison.html
bison node ${GS}/bison/manual/html_node/
bpel2owfn mono ${GS}/bpel2owfn/manual/2.0.x/bpel2owfn.html
ccd2cue mono ${GS}/ccd2cue/manual/ccd2cue.html
ccd2cue node ${GS}/ccd2cue/manual/html_node/
cflow mono ${GS}/cflow/manual/cflow.html
cflow node ${GS}/cflow/manual/html_node/
chess mono ${GS}/chess/manual/gnuchess.html
chess node ${GS}/chess/manual/html_node/
combine mono ${GS}/combine/manual/combine.html
combine chapter ${GS}/combine/manual/html_chapter/
combine section ${GS}/combine/manual/html_section/
combine node ${GS}/combine/manual/html_node/
complexity mono ${GS}/complexity/manual/complexity.html
complexity node ${GS}/complexity/manual/html_node/
coreutils mono ${GS}/coreutils/manual/coreutils
coreutils node ${GS}/coreutils/manual/html_node/
cpio mono ${GS}/cpio/manual/cpio
cpio node ${GS}/cpio/manual/html_node/
cssc node ${GS}/cssc/manual/
#cvs cannot be handled here; see http://ximbiot.com/cvs/manual.
ddd mono ${GS}/ddd/manual/html_mono/ddd.html
ddrescue mono ${GS}/ddrescue/manual/ddrescue_manual.html
DICO = http://puszcza.gnu.org.ua/software/dico/manual
dico mono ${DICO}/dico.html
dico chapter ${DICO}/html_chapter/
dico section ${DICO}/html_section/
dico node ${DICO}/html_node/
diffutils mono ${GS}/diffutils/manual/diffutils
diffutils node ${GS}/diffutils/manual/html_node/
ed mono ${GS}/ed/manual/ed_manual.html
EMACS = ${GS}/emacs/manual
emacs mono ${EMACS}/html_mono/emacs.html
emacs node ${EMACS}/html_node/emacs/
#
ada-mode mono ${EMACS}/html_mono/ada-mode.html
ada-mode node ${EMACS}/html_node/ada-mode/
#
autotype mono ${EMACS}/html_mono/autotype.html
autotype node ${EMACS}/html_node/autotype/
#
ccmode mono ${EMACS}/html_mono/ccmode.html
ccmode node ${EMACS}/html_node/ccmode/
#
cl mono ${EMACS}/html_mono/cl.html
cl node ${EMACS}/html_node/cl/
#
ebrowse mono ${EMACS}/html_mono/ebrowse.html
ebrowse node ${EMACS}/html_node/ebrowse/
#
ediff mono ${EMACS}/html_mono/ediff.html
ediff node ${EMACS}/html_node/ediff/
#
eieio mono ${EMACS}/html_mono/eieio.html
eieio node ${EMACS}/html_node/eieio/
#
elisp mono ${EMACS}/html_mono/elisp.html
elisp node ${EMACS}/html_node/elisp/
#
epa mono ${EMACS}/html_mono/epa.html
epa node ${EMACS}/html_node/epa/
#
erc mono ${EMACS}/html_mono/erc.html
erc node ${EMACS}/html_node/erc/
#
dired-x mono ${EMACS}/html_mono/dired-x.html
dired-x node ${EMACS}/html_node/dired-x/
#
eshell mono ${EMACS}/html_mono/eshell.html
eshell node ${EMACS}/html_node/eshell/
#
flymake mono ${EMACS}/html_mono/flymake.html
flymake node ${EMACS}/html_node/flymake/
#
gnus mono ${EMACS}/html_mono/gnus.html
gnus node ${EMACS}/html_node/gnus/
#
idlwave mono ${EMACS}/html_mono/idlwave.html
idlwave node ${EMACS}/html_node/idlwave/
#
message mono ${EMACS}/html_mono/message.html
message node ${EMACS}/html_node/message/
#
mh-e mono ${EMACS}/html_mono/mh-e.html
mh-e node ${EMACS}/html_node/mh-e/
#
nxml-mode mono ${EMACS}/html_mono/nxml-mode.html
nxml-mode node ${EMACS}/html_node/nxml-mode/
#
org mono ${EMACS}/html_mono/org.html
org node ${EMACS}/html_node/org/
#
pcl-cvs mono ${EMACS}/html_mono/pcl-cvs.html
pcl-cvs node ${EMACS}/html_node/pcl-cvs/
#
rcirc mono ${EMACS}/html_mono/rcirc.html
rcirc node ${EMACS}/html_node/rcirc/
#
semantic mono ${EMACS}/html_mono/semantic.html
semantic node ${EMACS}/html_node/semantic/
#
smtp mono ${EMACS}/html_mono/smtpmail.html
smtp node ${EMACS}/html_node/smtpmail/
#
speedbar mono ${EMACS}/html_mono/speedbar.html
speedbar node ${EMACS}/html_node/speedbar/
#
tramp mono ${EMACS}/html_mono/tramp.html
tramp node ${EMACS}/html_node/tramp/
#
vip mono ${EMACS}/html_mono/vip.html
vip node ${EMACS}/html_node/vip/
#
viper mono ${EMACS}/html_mono/viper.html
viper node ${EMACS}/html_node/viper/
#
woman mono ${EMACS}/html_mono/woman.html
woman node ${EMACS}/html_node/woman/
# (end emacs manuals)
easejs mono ${GS}/easejs/manual/easejs.html
easejs node ${GS}/easejs/manual/
emacs-muse node ${GS}/emacs-muse/manual/muse.html
emacs-muse node ${GS}/emacs-muse/manual/html_node/
emms node ${GS}/emms/manual/
# The file is called 'find.info' but the package is 'findutils'.
find mono ${GS}/findutils/manual/html_mono/find.html
find node ${GS}/findutils/manual/html_node/find_html
findutils mono ${GS}/findutils/manual/html_mono/find.html
findutils node ${GS}/findutils/manual/html_node/find_html
FLEX = http://flex.sourceforge.net
flex node ${FLEX}/manual/
gama mono ${GS}/gama/manual/gama.html
gama node ${GS}/gama/manual/html_node/
GAWK = ${GS}/gawk/manual
gawk mono ${GAWK}/gawk.html
gawk node ${GAWK}/html_node/
gawkinet mono ${GAWK}/gawkinet/gawkinet.html
gawkinet node ${GAWK}/gawkinet/html_node/
gcal mono ${GS}/gcal/manual/gcal.html
gcal node ${GS}/gcal/manual/html_node/
GCC = http://gcc.gnu.org/onlinedocs
gcc node ${GCC}/gcc/
cpp node ${GCC}/cpp/
gcj node ${GCC}/gcj/
gfortran node ${GCC}/gfortran/
gnat_rm node ${GCC}/gnat_rm/
gnat_ugn_unw node ${GCC}/gnat_ugn_unw/
libgomp node ${GCC}/libgomp/
libstdc++ node ${GCC}/libstdc++/
#
gccint node ${GCC}/gccint/
cppinternals node ${GCC}/cppinternals/
gfc-internals node ${GCC}/gfc-internals/
gnat-style node ${GCC}/gnat-style/
libiberty node ${GCC}/libiberty/
GDB = http://sourceware.org/gdb/current/onlinedocs
gdb node ${GDB}/gdb/
stabs node ${GDB}/stabs/
GDBM = http://www.gnu.org.ua/software/gdbm/manual
gdbm mono ${GDBM}/gdbm.html
gdbm chapter ${GDBM}/html_chapter/
gdbm section ${GDBM}/html_section/
gdbm node ${GDBM}/html_node/
gettext mono ${GS}/gettext/manual/gettext.html
gettext node ${GS}/gettext/manual/html_node/
gforth node http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/
global mono ${GS}/global/manual/global.html
gmediaserver node ${GS}/gmediaserver/manual/
gmp node http://www.gmplib.org/manual/
gnu-arch node ${GS}/gnu-arch/tutorial/
gnu-c-manual mono ${GS}/gnu-c-manual/gnu-c-manual.html
gnu-crypto node ${GS}/gnu-crypto/manual/
gnubg mono ${GS}/gnubg/manual/gnubg.html
gnubg node ${GS}/gnubg/manual/html_node/
gnubik mono ${GS}/gnubik/manual/gnubik.html
gnubik node ${GS}/gnubik/manual/html_node/
gnulib mono ${GS}/gnulib/manual/gnulib.html
gnulib node ${GS}/gnulib/manual/html_node/
GNUN = ${GS}/trans-coord/manual
gnun mono ${GNUN}/gnun/gnun.html
gnun node ${GNUN}/gnun/html_node/
web-trans mono ${GNUN}/web-trans/web-trans.html
web-trans node ${GNUN}/web-trans/html_node/
GNUPG = http://www.gnupg.org/documentation/manuals
gnupg node ${GNUPG}/gnupg/
dirmngr node ${GNUPG}/dirmngr/
gcrypt node ${GNUPG}/gcrypt/
libgcrypt node ${GNUPG}/gcrypt/
ksba node ${GNUPG}/ksba/
assuan node ${GNUPG}/assuan/
gpgme node ${GNUPG}/gpgme/
gnuprologjava node ${GS}/gnuprologjava/manual/
gnuschool mono ${GS}/gnuschool/gnuschool.html
GNUSTANDARDS = ${G}/prep
maintain mono ${GNUSTANDARDS}/maintain/maintain.html
maintain node ${GNUSTANDARDS}/maintain/html_node/
#
standards mono ${GNUSTANDARDS}/standards/standards.html
standards node ${GNUSTANDARDS}/standards/html_node/
gnutls mono http://gnutls.org/manual/gnutls.html
gnutls node http://gnutls.org/manual/html_node/
gnutls-guile mono http://gnutls.org/manual/gnutls-guile.html
gnutls-guile node http://gnutls.org/manual/gnutls-guile/
gperf mono ${GS}/gperf/manual/gperf.html
gperf node ${GS}/gperf/manual/html_node/
grep mono ${GS}/grep/manual/grep.html
grep node ${GS}/grep/manual/html_node/
groff node ${GS}/groff/manual/html_node/
GRUB = ${GS}/grub/manual
grub mono ${GRUB}/grub.html
grub node ${GRUB}/html_node/
#
multiboot mono ${GRUB}/multiboot/multiboot.html
multiboot node ${GRUB}/multiboot/html_node/
gsasl mono ${GS}/gsasl/manual/gsasl.html
gsasl node ${GS}/gsasl/manual/html_node/
gsl node ${GS}/gsl/manual/html_node/
gsrc mono ${GS}/gsrc/manual/gsrc.html
gsrc node ${GS}/gsrc/manual/html_node/
gss mono ${GS}/gss/manual/gss.html
gss node ${GS}/gss/manual/html_node/
gtypist mono ${GS}/gtypist/doc/
guile mono ${GS}/guile/manual/guile.html
guile node ${GS}/guile/manual/html_node/
guile-avahi mono http://nongnu.org/guile-avahi/doc/guile-avahi.html
GUILE_GNOME = ${GS}/guile-gnome/docs
gobject node ${GUILE_GNOME}/gobject/html/
glib node ${GUILE_GNOME}/glib/html/
atk node ${GUILE_GNOME}/atk/html/
pango node ${GUILE_GNOME}/pango/html/
pangocairo node ${GUILE_GNOME}/pangocairo/html/
gdk node ${GUILE_GNOME}/gdk/html/
gtk node ${GUILE_GNOME}/gtk/html/
libglade node ${GUILE_GNOME}/libglade/html/
gnome-vfs node ${GUILE_GNOME}/gnome-vfs/html/
libgnomecanvas node ${GUILE_GNOME}/libgnomecanvas/html/
gconf node ${GUILE_GNOME}/gconf/html/
libgnome node ${GUILE_GNOME}/libgnome/html/
libgnomeui node ${GUILE_GNOME}/libgnomeui/html/
corba node ${GUILE_GNOME}/corba/html/
clutter node ${GUILE_GNOME}/clutter/html/
clutter-glx node ${GUILE_GNOME}/clutter-glx/html/
guile-gtk node ${GS}/guile-gtk/docs/guile-gtk/
guile-rpc mono ${GS}/guile-rpc/manual/guile-rpc.html
guile-rpc node ${GS}/guile-rpc/manual/html_node/
guix mono ${GS}/guix/manual/guix.html
guix node ${GS}/guix/manual/html_node/
gv mono ${GS}/gv/manual/gv.html
gv node ${GS}/gv/manual/html_node/
gzip mono ${GS}/gzip/manual/gzip.html
gzip node ${GS}/gzip/manual/html_node/
hello mono ${GS}/hello/manual/hello.html
hello node ${GS}/hello/manual/html_node/
help2man mono ${GS}/help2man/help2man.html
idutils mono ${GS}/idutils/manual/idutils.html
idutils node ${GS}/idutils/manual/html_node/
inetutils mono ${GS}/inetutils/manual/inetutils.html
inetutils node ${GS}/inetutils/manual/html_node/
jwhois mono ${GS}/jwhois/manual/jwhois.html
jwhois node ${GS}/jwhois/manual/html_node/
libc mono ${GS}/libc/manual/html_mono/libc.html
libc node ${GS}/libc/manual/html_node/
LIBCDIO = ${GS}/libcdio
libcdio mono ${LIBCDIO}/libcdio.html
cd-text mono ${LIBCDIO}/cd-text-format.html
libextractor mono ${GS}/libextractor/manual/libextractor.html
libextractor node ${GS}/libextractor/manual/html_node/
libidn mono ${GS}/libidn/manual/libidn.html
libidn node ${GS}/libidn/manual/html_node/
librejs mono ${GS}/librejs/manual/librejs.html
librejs node ${GS}/librejs/manual/html_node/
libmatheval mono ${GS}/libmatheval/manual/libmatheval.html
LIBMICROHTTPD = ${GS}/libmicrohttpd
libmicrohttpd mono ${LIBMICROHTTPD}/manual/libmicrohttpd.html
libmicrohttpd node ${LIBMICROHTTPD}/manual/html_node/
microhttpd-tutorial mono ${LIBMICROHTTPD}/tutorial.html
libtasn1 mono ${GS}/libtasn1/manual/libtasn1.html
libtasn1 node ${GS}/libtasn1/manual/html_node/
libtool mono ${GS}/libtool/manual/libtool.html
libtool node ${GS}/libtool/manual/html_node/
lightning mono ${GS}/lightning/manual/lightning.html
lightning node ${GS}/lightning/manual/html_node/
# The stable/ url redirects immediately, but that's ok.
# The .html extension is omitted on their web site, but it works if given.
LILYPOND = http://lilypond.org/doc/stable/Documentation
lilypond-internals node ${LILYPOND}/internals/
lilypond-learning node ${LILYPOND}/learning/
lilypond-notation node ${LILYPOND}/notation/
lilypond-snippets node ${LILYPOND}/snippets/
lilypond-usage node ${LILYPOND}/usage/
lilypond-web node ${LILYPOND}/web/
music-glossary node ${LILYPOND}/music-glossary/
liquidwar6 mono ${GS}/liquidwar6/manual/liquidwar6.html
liquidwar6 node ${GS}/liquidwar6/manual/html_node/
lispintro mono ${GS}/emacs/emacs-lisp-intro/html_mono/emacs-lisp-intro.html
lispintro node ${GS}/emacs/emacs-lisp-intro/html_node/index.html
LSH = http://www.lysator.liu.se/~nisse/lsh
lsh mono ${LSH}/lsh.html
m4 mono ${GS}/m4/manual/m4.html
m4 node ${GS}/m4/manual/html_node/
mailutils mono ${GS}/mailutils/manual/mailutils.html
mailutils chapter ${GS}/mailutils/manual/html_chapter/
mailutils section ${GS}/mailutils/manual/html_section/
mailutils node ${GS}/mailutils/manual/html_node/
make mono ${GS}/make/manual/make.html
make node ${GS}/make/manual/html_node/
mcron mono ${GS}/mcron/manual/mcron.html
mcron node ${GS}/mcron/manual/html_node/
mdk mono ${GS}/mdk/manual/mdk.html
mdk node ${GS}/mdk/manual/html_node/
METAEXCHANGE = http://ftp.gwdg.de/pub/gnu2/iwfmdh/doc/texinfo
iwf_mh node ${METAEXCHANGE}/iwf_mh.html
scantest node ${METAEXCHANGE}/scantest.html
MIT_SCHEME = ${GS}/mit-scheme/documentation
mit-scheme-ref node ${MIT_SCHEME}/mit-scheme-ref/
mit-scheme-user node ${MIT_SCHEME}/mit-scheme-user/
sos node ${MIT_SCHEME}/mit-scheme-sos/
mit-scheme-imail node ${MIT_SCHEME}/mit-scheme-imail/
moe mono ${GS}/moe/manual/moe_manual.html
motti node ${GS}/motti/manual/
mpc node http://www.multiprecision.org/index.php?prog=mpc&page=html
mpfr mono http://www.mpfr.org/mpfr-current/mpfr.html
mtools mono ${GS}/mtools/manual/mtools.html
myserver node http://www.myserverproject.net/documentation/
nano mono http://www.nano-editor.org/dist/latest/nano.html
nettle chapter http://www.lysator.liu.se/~nisse/nettle/nettle.html
ocrad mono ${GS}/ocrad/manual/ocrad_manual.html
parted mono ${GS}/parted/manual/parted.html
parted node ${GS}/parted/manual/html_node/
pascal mono http://www.gnu-pascal.de/gpc/
# can't use pcb since url's contain dates --30nov10
perl mono ${GS}/perl/manual/perldoc-all.html
PIES = http://www.gnu.org.ua/software/pies/manual
pies mono ${PIES}/pies.html
pies chapter ${PIES}/html_chapter/
pies section ${PIES}/html_section/
pies node ${PIES}/html_node/
plotutils mono ${GS}/plotutils/manual/en/plotutils.html
plotutils node ${GS}/plotutils/manual/en/html_node/
proxyknife mono ${GS}/proxyknife/manual/proxyknife.html
proxyknife node ${GS}/proxyknife/manual/html_node/
pspp mono ${GS}/pspp/manual/pspp.html
pspp node ${GS}/pspp/manual/html_node/
pyconfigure mono ${GS}/pyconfigure/manual/pyconfigure.html
pyconfigure node ${GS}/pyconfigure/manual/html_node/
R = http://cran.r-project.org/doc/manuals
R-intro mono ${R}/R-intro.html
R-lang mono ${R}/R-lang.html
R-exts mono ${R}/R-exts.html
R-data mono ${R}/R-data.html
R-admin mono ${R}/R-admin.html
R-ints mono ${R}/R-ints.html
rcs mono ${GS}/rcs/manual/rcs.html
rcs node ${GS}/rcs/manual/html_node/
READLINE = http://cnswww.cns.cwru.edu/php/chet/readline
readline mono ${READLINE}/readline.html
rluserman mono ${READLINE}/rluserman.html
history mono ${READLINE}/history.html
recode mono http://recode.progiciels-bpi.ca/manual/index.html
recutils mono ${GS}/recutils/manual/recutils.html
recutils node ${GS}/recutils/manual/html_node/
reftex mono ${GS}/auctex/manual/reftex.html
reftex node ${GS}/auctex/manual/reftex/
remotecontrol mono ${GS}/remotecontrol/manual/remotecontrol.html
remotecontrol node ${GS}/remotecontrol/manual/html_node/
rottlog mono ${GS}/rottlog/manual/rottlog.html
rottlog node ${GS}/rottlog/manual/html_node/
RUSH = http://www.gnu.org.ua/software/rush/manual
rush mono ${RUSH}/rush.html
rush chapter ${RUSH}/html_chapter/
rush section ${RUSH}/html_section/
rush node ${RUSH}/html_node/
screen mono ${GS}/screen/manual/screen.html
screen node ${GS}/screen/manual/html_node/
sed mono ${GS}/sed/manual/sed.html
sed node ${GS}/sed/manual/html_node/
sharutils mono ${GS}/sharutils/manual/html_mono/sharutils.html
sharutils chapter ${GS}/sharutils/manual/html_chapter/
sharutils node ${GS}/sharutils/manual/html_node/
shepherd mono ${GS}/shepherd/manual/shepherd.html
shepherd node ${GS}/shepherd/manual/html_node/
# can't use mono files since they have generic names
SMALLTALK = ${GS}/smalltalk
smalltalk node ${SMALLTALK}/manual/html_node/
smalltalk-base node ${SMALLTALK}/manual-base/html_node/
smalltalk-libs node ${SMALLTALK}/manual-libs/html_node/
sourceinstall mono ${GS}/sourceinstall/manual/sourceinstall.html
sourceinstall node ${GS}/sourceinstall/manual/html_node/
sqltutor mono ${GS}/sqltutor/manual/sqltutor.html
sqltutor node ${GS}/sqltutor/manual/html_node/
src-highlite mono ${GS}/src-highlite/source-highlight.html
swbis mono ${GS}/swbis/manual.html
tar mono ${GS}/tar/manual/tar.html
tar chapter ${GS}/tar/manual/html_chapter/
tar section ${GS}/tar/manual/html_section/
tar node ${GS}/autoconf/manual/html_node/
teseq mono ${GS}/teseq/teseq.html
teseq node ${GS}/teseq/html_node/
TEXINFO = ${GS}/texinfo/manual
texinfo mono ${TEXINFO}/texinfo/texinfo.html
texinfo node ${TEXINFO}/texinfo/html_node/
#
info mono ${TEXINFO}/info/info.html
info node ${TEXINFO}/info/html_node/
#
info-stnd mono ${TEXINFO}/info-stnd/info-stnd.html
info-stnd node ${TEXINFO}/info-stnd/html_node/
thales node ${GS}/thales/manual/
units mono ${GS}/units/manual/units.html
units node ${GS}/units/manual/html_node/
vc-dwim mono ${GS}/vc-dwim/manual/vc-dwim.html
vc-dwim node ${GS}/vc-dwim/manual/html_node/
wdiff mono ${GS}/wdiff/manual/wdiff.html
wdiff node ${GS}/wdiff/manual/html_node/
websocket4j mono ${GS}/websocket4j/manual/websocket4j.html
websocket4j node ${GS}/websocket4j/manual/html_node/
wget mono ${GS}/wget/manual/wget.html
wget node ${GS}/wget/manual/html_node/
xboard mono ${GS}/xboard/manual/xboard.html
xboard node ${GS}/xboard/manual/html_node/
# emacs-page
# Free TeX-related Texinfo manuals on tug.org.
T = http://tug.org/texinfohtml
dvipng mono ${T}/dvipng.html
dvips mono ${T}/dvips.html
eplain mono ${T}/eplain.html
kpathsea mono ${T}/kpathsea.html
latex2e mono ${T}/latex2e.html
tlbuild mono ${T}/tlbuild.html
web2c mono ${T}/web2c.html
# Local Variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "htmlxrefversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:
+105
View File
@@ -0,0 +1,105 @@
digraph "Guix bag" {
"/gnu/store/rkm2xr9581hfvcimz6a8xav2s5vfjciv-glibc-intermediate-2.22.drv" [label = "glibc-intermediate-2.22", shape = box, fontname = Helvetica];
"/gnu/store/rkm2xr9581hfvcimz6a8xav2s5vfjciv-glibc-intermediate-2.22.drv" -> "/gnu/store/r5bbwfhkj6c65mlfki4vgb0xczm3qmlg-texinfo-6.0.drv" [color = red];
"/gnu/store/rkm2xr9581hfvcimz6a8xav2s5vfjciv-glibc-intermediate-2.22.drv" -> "/gnu/store/w88h2mp610hy4i8758bhq6nrjlilzsym-perl-boot0-5.22.0.drv" [color = red];
"/gnu/store/rkm2xr9581hfvcimz6a8xav2s5vfjciv-glibc-intermediate-2.22.drv" -> "/gnu/store/fxzy6h3c9ls97lw9wgv9m5w2ga7mw0kk-gcc-cross-boot0-4.9.3.drv" [color = red];
"/gnu/store/rkm2xr9581hfvcimz6a8xav2s5vfjciv-glibc-intermediate-2.22.drv" -> "/gnu/store/bhv3jml5s1llmsswnw3wvw57dj44lgjc-binutils-cross-boot0-2.25.1.drv" [color = red];
"/gnu/store/rkm2xr9581hfvcimz6a8xav2s5vfjciv-glibc-intermediate-2.22.drv" -> "/gnu/store/yzr9lpl44ixp4k2g7r6sh4fhsx2qx9vd-make-boot0-4.1.drv" [color = red];
"/gnu/store/rkm2xr9581hfvcimz6a8xav2s5vfjciv-glibc-intermediate-2.22.drv" -> "/gnu/store/hwk4rrydk5amqw5xws5p34gi77j0m7m2-diffutils-boot0-3.3.drv" [color = red];
"/gnu/store/rkm2xr9581hfvcimz6a8xav2s5vfjciv-glibc-intermediate-2.22.drv" -> "/gnu/store/xf07iqpsiygw2z8rvwdf19zjdlhrl03q-findutils-boot0-4.6.0.drv" [color = red];
"/gnu/store/rkm2xr9581hfvcimz6a8xav2s5vfjciv-glibc-intermediate-2.22.drv" -> "/gnu/store/b33cj0h9ii7lnk233sy5q4hlz36cx5x3-file-boot0-5.25.drv" [color = red];
"/gnu/store/rkm2xr9581hfvcimz6a8xav2s5vfjciv-glibc-intermediate-2.22.drv" -> "/gnu/store/dmj22s341y334xwwkimrz4d3d0a4mzdp-glibc-bootstrap-0.drv" [color = red];
"/gnu/store/rkm2xr9581hfvcimz6a8xav2s5vfjciv-glibc-intermediate-2.22.drv" -> "/gnu/store/wp4gm50d3jyzxr9pj5b43j05ildh4mfq-gcc-bootstrap-0.drv" [color = red];
"/gnu/store/rkm2xr9581hfvcimz6a8xav2s5vfjciv-glibc-intermediate-2.22.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/rkm2xr9581hfvcimz6a8xav2s5vfjciv-glibc-intermediate-2.22.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/rkm2xr9581hfvcimz6a8xav2s5vfjciv-glibc-intermediate-2.22.drv" -> "/gnu/store/wp4gm50d3jyzxr9pj5b43j05ildh4mfq-gcc-bootstrap-0.drv" [color = red];
"/gnu/store/rkm2xr9581hfvcimz6a8xav2s5vfjciv-glibc-intermediate-2.22.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/rkm2xr9581hfvcimz6a8xav2s5vfjciv-glibc-intermediate-2.22.drv" -> "/gnu/store/2m0i57ad07cmgxh3ij89d4lmf7lngpdz-linux-libre-headers-3.14.37.drv" [color = red];
"/gnu/store/r5bbwfhkj6c65mlfki4vgb0xczm3qmlg-texinfo-6.0.drv" [label = "texinfo-6.0", shape = box, fontname = Helvetica];
"/gnu/store/r5bbwfhkj6c65mlfki4vgb0xczm3qmlg-texinfo-6.0.drv" -> "/gnu/store/yzr9lpl44ixp4k2g7r6sh4fhsx2qx9vd-make-boot0-4.1.drv" [color = red];
"/gnu/store/r5bbwfhkj6c65mlfki4vgb0xczm3qmlg-texinfo-6.0.drv" -> "/gnu/store/hwk4rrydk5amqw5xws5p34gi77j0m7m2-diffutils-boot0-3.3.drv" [color = red];
"/gnu/store/r5bbwfhkj6c65mlfki4vgb0xczm3qmlg-texinfo-6.0.drv" -> "/gnu/store/xf07iqpsiygw2z8rvwdf19zjdlhrl03q-findutils-boot0-4.6.0.drv" [color = red];
"/gnu/store/r5bbwfhkj6c65mlfki4vgb0xczm3qmlg-texinfo-6.0.drv" -> "/gnu/store/b33cj0h9ii7lnk233sy5q4hlz36cx5x3-file-boot0-5.25.drv" [color = red];
"/gnu/store/r5bbwfhkj6c65mlfki4vgb0xczm3qmlg-texinfo-6.0.drv" -> "/gnu/store/dmj22s341y334xwwkimrz4d3d0a4mzdp-glibc-bootstrap-0.drv" [color = red];
"/gnu/store/r5bbwfhkj6c65mlfki4vgb0xczm3qmlg-texinfo-6.0.drv" -> "/gnu/store/wp4gm50d3jyzxr9pj5b43j05ildh4mfq-gcc-bootstrap-0.drv" [color = red];
"/gnu/store/r5bbwfhkj6c65mlfki4vgb0xczm3qmlg-texinfo-6.0.drv" -> "/gnu/store/sd2k1ljlzpkp3n5rk5y3dp2l73h3qkpp-binutils-bootstrap-0.drv" [color = red];
"/gnu/store/r5bbwfhkj6c65mlfki4vgb0xczm3qmlg-texinfo-6.0.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/r5bbwfhkj6c65mlfki4vgb0xczm3qmlg-texinfo-6.0.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/r5bbwfhkj6c65mlfki4vgb0xczm3qmlg-texinfo-6.0.drv" -> "/gnu/store/w88h2mp610hy4i8758bhq6nrjlilzsym-perl-boot0-5.22.0.drv" [color = red];
"/gnu/store/yzr9lpl44ixp4k2g7r6sh4fhsx2qx9vd-make-boot0-4.1.drv" [label = "make-boot0-4.1", shape = box, fontname = Helvetica];
"/gnu/store/yzr9lpl44ixp4k2g7r6sh4fhsx2qx9vd-make-boot0-4.1.drv" -> "/gnu/store/dmj22s341y334xwwkimrz4d3d0a4mzdp-glibc-bootstrap-0.drv" [color = red];
"/gnu/store/yzr9lpl44ixp4k2g7r6sh4fhsx2qx9vd-make-boot0-4.1.drv" -> "/gnu/store/wp4gm50d3jyzxr9pj5b43j05ildh4mfq-gcc-bootstrap-0.drv" [color = red];
"/gnu/store/yzr9lpl44ixp4k2g7r6sh4fhsx2qx9vd-make-boot0-4.1.drv" -> "/gnu/store/sd2k1ljlzpkp3n5rk5y3dp2l73h3qkpp-binutils-bootstrap-0.drv" [color = red];
"/gnu/store/yzr9lpl44ixp4k2g7r6sh4fhsx2qx9vd-make-boot0-4.1.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/yzr9lpl44ixp4k2g7r6sh4fhsx2qx9vd-make-boot0-4.1.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/dmj22s341y334xwwkimrz4d3d0a4mzdp-glibc-bootstrap-0.drv" [label = "glibc-bootstrap-0", shape = box, fontname = Helvetica];
"/gnu/store/wp4gm50d3jyzxr9pj5b43j05ildh4mfq-gcc-bootstrap-0.drv" [label = "gcc-bootstrap-0", shape = box, fontname = Helvetica];
"/gnu/store/wp4gm50d3jyzxr9pj5b43j05ildh4mfq-gcc-bootstrap-0.drv" -> "/gnu/store/dmj22s341y334xwwkimrz4d3d0a4mzdp-glibc-bootstrap-0.drv" [color = red];
"/gnu/store/sd2k1ljlzpkp3n5rk5y3dp2l73h3qkpp-binutils-bootstrap-0.drv" [label = "binutils-bootstrap-0", shape = box, fontname = Helvetica];
"/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [label = "bootstrap-binaries-0", shape = box, fontname = Helvetica];
"/gnu/store/hwk4rrydk5amqw5xws5p34gi77j0m7m2-diffutils-boot0-3.3.drv" [label = "diffutils-boot0-3.3", shape = box, fontname = Helvetica];
"/gnu/store/hwk4rrydk5amqw5xws5p34gi77j0m7m2-diffutils-boot0-3.3.drv" -> "/gnu/store/yzr9lpl44ixp4k2g7r6sh4fhsx2qx9vd-make-boot0-4.1.drv" [color = red];
"/gnu/store/hwk4rrydk5amqw5xws5p34gi77j0m7m2-diffutils-boot0-3.3.drv" -> "/gnu/store/dmj22s341y334xwwkimrz4d3d0a4mzdp-glibc-bootstrap-0.drv" [color = red];
"/gnu/store/hwk4rrydk5amqw5xws5p34gi77j0m7m2-diffutils-boot0-3.3.drv" -> "/gnu/store/wp4gm50d3jyzxr9pj5b43j05ildh4mfq-gcc-bootstrap-0.drv" [color = red];
"/gnu/store/hwk4rrydk5amqw5xws5p34gi77j0m7m2-diffutils-boot0-3.3.drv" -> "/gnu/store/sd2k1ljlzpkp3n5rk5y3dp2l73h3qkpp-binutils-bootstrap-0.drv" [color = red];
"/gnu/store/hwk4rrydk5amqw5xws5p34gi77j0m7m2-diffutils-boot0-3.3.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/hwk4rrydk5amqw5xws5p34gi77j0m7m2-diffutils-boot0-3.3.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/xf07iqpsiygw2z8rvwdf19zjdlhrl03q-findutils-boot0-4.6.0.drv" [label = "findutils-boot0-4.6.0", shape = box, fontname = Helvetica];
"/gnu/store/xf07iqpsiygw2z8rvwdf19zjdlhrl03q-findutils-boot0-4.6.0.drv" -> "/gnu/store/yzr9lpl44ixp4k2g7r6sh4fhsx2qx9vd-make-boot0-4.1.drv" [color = red];
"/gnu/store/xf07iqpsiygw2z8rvwdf19zjdlhrl03q-findutils-boot0-4.6.0.drv" -> "/gnu/store/hwk4rrydk5amqw5xws5p34gi77j0m7m2-diffutils-boot0-3.3.drv" [color = red];
"/gnu/store/xf07iqpsiygw2z8rvwdf19zjdlhrl03q-findutils-boot0-4.6.0.drv" -> "/gnu/store/dmj22s341y334xwwkimrz4d3d0a4mzdp-glibc-bootstrap-0.drv" [color = red];
"/gnu/store/xf07iqpsiygw2z8rvwdf19zjdlhrl03q-findutils-boot0-4.6.0.drv" -> "/gnu/store/wp4gm50d3jyzxr9pj5b43j05ildh4mfq-gcc-bootstrap-0.drv" [color = red];
"/gnu/store/xf07iqpsiygw2z8rvwdf19zjdlhrl03q-findutils-boot0-4.6.0.drv" -> "/gnu/store/sd2k1ljlzpkp3n5rk5y3dp2l73h3qkpp-binutils-bootstrap-0.drv" [color = red];
"/gnu/store/xf07iqpsiygw2z8rvwdf19zjdlhrl03q-findutils-boot0-4.6.0.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/xf07iqpsiygw2z8rvwdf19zjdlhrl03q-findutils-boot0-4.6.0.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/b33cj0h9ii7lnk233sy5q4hlz36cx5x3-file-boot0-5.25.drv" [label = "file-boot0-5.25", shape = box, fontname = Helvetica];
"/gnu/store/b33cj0h9ii7lnk233sy5q4hlz36cx5x3-file-boot0-5.25.drv" -> "/gnu/store/yzr9lpl44ixp4k2g7r6sh4fhsx2qx9vd-make-boot0-4.1.drv" [color = red];
"/gnu/store/b33cj0h9ii7lnk233sy5q4hlz36cx5x3-file-boot0-5.25.drv" -> "/gnu/store/dmj22s341y334xwwkimrz4d3d0a4mzdp-glibc-bootstrap-0.drv" [color = red];
"/gnu/store/b33cj0h9ii7lnk233sy5q4hlz36cx5x3-file-boot0-5.25.drv" -> "/gnu/store/wp4gm50d3jyzxr9pj5b43j05ildh4mfq-gcc-bootstrap-0.drv" [color = red];
"/gnu/store/b33cj0h9ii7lnk233sy5q4hlz36cx5x3-file-boot0-5.25.drv" -> "/gnu/store/sd2k1ljlzpkp3n5rk5y3dp2l73h3qkpp-binutils-bootstrap-0.drv" [color = red];
"/gnu/store/b33cj0h9ii7lnk233sy5q4hlz36cx5x3-file-boot0-5.25.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/b33cj0h9ii7lnk233sy5q4hlz36cx5x3-file-boot0-5.25.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/w88h2mp610hy4i8758bhq6nrjlilzsym-perl-boot0-5.22.0.drv" [label = "perl-boot0-5.22.0", shape = box, fontname = Helvetica];
"/gnu/store/w88h2mp610hy4i8758bhq6nrjlilzsym-perl-boot0-5.22.0.drv" -> "/gnu/store/yzr9lpl44ixp4k2g7r6sh4fhsx2qx9vd-make-boot0-4.1.drv" [color = red];
"/gnu/store/w88h2mp610hy4i8758bhq6nrjlilzsym-perl-boot0-5.22.0.drv" -> "/gnu/store/hwk4rrydk5amqw5xws5p34gi77j0m7m2-diffutils-boot0-3.3.drv" [color = red];
"/gnu/store/w88h2mp610hy4i8758bhq6nrjlilzsym-perl-boot0-5.22.0.drv" -> "/gnu/store/xf07iqpsiygw2z8rvwdf19zjdlhrl03q-findutils-boot0-4.6.0.drv" [color = red];
"/gnu/store/w88h2mp610hy4i8758bhq6nrjlilzsym-perl-boot0-5.22.0.drv" -> "/gnu/store/b33cj0h9ii7lnk233sy5q4hlz36cx5x3-file-boot0-5.25.drv" [color = red];
"/gnu/store/w88h2mp610hy4i8758bhq6nrjlilzsym-perl-boot0-5.22.0.drv" -> "/gnu/store/dmj22s341y334xwwkimrz4d3d0a4mzdp-glibc-bootstrap-0.drv" [color = red];
"/gnu/store/w88h2mp610hy4i8758bhq6nrjlilzsym-perl-boot0-5.22.0.drv" -> "/gnu/store/wp4gm50d3jyzxr9pj5b43j05ildh4mfq-gcc-bootstrap-0.drv" [color = red];
"/gnu/store/w88h2mp610hy4i8758bhq6nrjlilzsym-perl-boot0-5.22.0.drv" -> "/gnu/store/sd2k1ljlzpkp3n5rk5y3dp2l73h3qkpp-binutils-bootstrap-0.drv" [color = red];
"/gnu/store/w88h2mp610hy4i8758bhq6nrjlilzsym-perl-boot0-5.22.0.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/w88h2mp610hy4i8758bhq6nrjlilzsym-perl-boot0-5.22.0.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/fxzy6h3c9ls97lw9wgv9m5w2ga7mw0kk-gcc-cross-boot0-4.9.3.drv" [label = "gcc-cross-boot0-4.9.3", shape = box, fontname = Helvetica];
"/gnu/store/fxzy6h3c9ls97lw9wgv9m5w2ga7mw0kk-gcc-cross-boot0-4.9.3.drv" -> "/gnu/store/bhv3jml5s1llmsswnw3wvw57dj44lgjc-binutils-cross-boot0-2.25.1.drv" [color = red];
"/gnu/store/fxzy6h3c9ls97lw9wgv9m5w2ga7mw0kk-gcc-cross-boot0-4.9.3.drv" -> "/gnu/store/dmj22s341y334xwwkimrz4d3d0a4mzdp-glibc-bootstrap-0.drv" [color = red];
"/gnu/store/fxzy6h3c9ls97lw9wgv9m5w2ga7mw0kk-gcc-cross-boot0-4.9.3.drv" -> "/gnu/store/yzr9lpl44ixp4k2g7r6sh4fhsx2qx9vd-make-boot0-4.1.drv" [color = red];
"/gnu/store/fxzy6h3c9ls97lw9wgv9m5w2ga7mw0kk-gcc-cross-boot0-4.9.3.drv" -> "/gnu/store/hwk4rrydk5amqw5xws5p34gi77j0m7m2-diffutils-boot0-3.3.drv" [color = red];
"/gnu/store/fxzy6h3c9ls97lw9wgv9m5w2ga7mw0kk-gcc-cross-boot0-4.9.3.drv" -> "/gnu/store/xf07iqpsiygw2z8rvwdf19zjdlhrl03q-findutils-boot0-4.6.0.drv" [color = red];
"/gnu/store/fxzy6h3c9ls97lw9wgv9m5w2ga7mw0kk-gcc-cross-boot0-4.9.3.drv" -> "/gnu/store/b33cj0h9ii7lnk233sy5q4hlz36cx5x3-file-boot0-5.25.drv" [color = red];
"/gnu/store/fxzy6h3c9ls97lw9wgv9m5w2ga7mw0kk-gcc-cross-boot0-4.9.3.drv" -> "/gnu/store/wp4gm50d3jyzxr9pj5b43j05ildh4mfq-gcc-bootstrap-0.drv" [color = red];
"/gnu/store/fxzy6h3c9ls97lw9wgv9m5w2ga7mw0kk-gcc-cross-boot0-4.9.3.drv" -> "/gnu/store/sd2k1ljlzpkp3n5rk5y3dp2l73h3qkpp-binutils-bootstrap-0.drv" [color = red];
"/gnu/store/fxzy6h3c9ls97lw9wgv9m5w2ga7mw0kk-gcc-cross-boot0-4.9.3.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/fxzy6h3c9ls97lw9wgv9m5w2ga7mw0kk-gcc-cross-boot0-4.9.3.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/bhv3jml5s1llmsswnw3wvw57dj44lgjc-binutils-cross-boot0-2.25.1.drv" [label = "binutils-cross-boot0-2.25.1", shape = box, fontname = Helvetica];
"/gnu/store/bhv3jml5s1llmsswnw3wvw57dj44lgjc-binutils-cross-boot0-2.25.1.drv" -> "/gnu/store/yzr9lpl44ixp4k2g7r6sh4fhsx2qx9vd-make-boot0-4.1.drv" [color = red];
"/gnu/store/bhv3jml5s1llmsswnw3wvw57dj44lgjc-binutils-cross-boot0-2.25.1.drv" -> "/gnu/store/hwk4rrydk5amqw5xws5p34gi77j0m7m2-diffutils-boot0-3.3.drv" [color = red];
"/gnu/store/bhv3jml5s1llmsswnw3wvw57dj44lgjc-binutils-cross-boot0-2.25.1.drv" -> "/gnu/store/xf07iqpsiygw2z8rvwdf19zjdlhrl03q-findutils-boot0-4.6.0.drv" [color = red];
"/gnu/store/bhv3jml5s1llmsswnw3wvw57dj44lgjc-binutils-cross-boot0-2.25.1.drv" -> "/gnu/store/b33cj0h9ii7lnk233sy5q4hlz36cx5x3-file-boot0-5.25.drv" [color = red];
"/gnu/store/bhv3jml5s1llmsswnw3wvw57dj44lgjc-binutils-cross-boot0-2.25.1.drv" -> "/gnu/store/dmj22s341y334xwwkimrz4d3d0a4mzdp-glibc-bootstrap-0.drv" [color = red];
"/gnu/store/bhv3jml5s1llmsswnw3wvw57dj44lgjc-binutils-cross-boot0-2.25.1.drv" -> "/gnu/store/wp4gm50d3jyzxr9pj5b43j05ildh4mfq-gcc-bootstrap-0.drv" [color = red];
"/gnu/store/bhv3jml5s1llmsswnw3wvw57dj44lgjc-binutils-cross-boot0-2.25.1.drv" -> "/gnu/store/sd2k1ljlzpkp3n5rk5y3dp2l73h3qkpp-binutils-bootstrap-0.drv" [color = red];
"/gnu/store/bhv3jml5s1llmsswnw3wvw57dj44lgjc-binutils-cross-boot0-2.25.1.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/bhv3jml5s1llmsswnw3wvw57dj44lgjc-binutils-cross-boot0-2.25.1.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/2m0i57ad07cmgxh3ij89d4lmf7lngpdz-linux-libre-headers-3.14.37.drv" [label = "linux-libre-headers-3.14.37", shape = box, fontname = Helvetica];
"/gnu/store/2m0i57ad07cmgxh3ij89d4lmf7lngpdz-linux-libre-headers-3.14.37.drv" -> "/gnu/store/w88h2mp610hy4i8758bhq6nrjlilzsym-perl-boot0-5.22.0.drv" [color = red];
"/gnu/store/2m0i57ad07cmgxh3ij89d4lmf7lngpdz-linux-libre-headers-3.14.37.drv" -> "/gnu/store/yzr9lpl44ixp4k2g7r6sh4fhsx2qx9vd-make-boot0-4.1.drv" [color = red];
"/gnu/store/2m0i57ad07cmgxh3ij89d4lmf7lngpdz-linux-libre-headers-3.14.37.drv" -> "/gnu/store/hwk4rrydk5amqw5xws5p34gi77j0m7m2-diffutils-boot0-3.3.drv" [color = red];
"/gnu/store/2m0i57ad07cmgxh3ij89d4lmf7lngpdz-linux-libre-headers-3.14.37.drv" -> "/gnu/store/xf07iqpsiygw2z8rvwdf19zjdlhrl03q-findutils-boot0-4.6.0.drv" [color = red];
"/gnu/store/2m0i57ad07cmgxh3ij89d4lmf7lngpdz-linux-libre-headers-3.14.37.drv" -> "/gnu/store/b33cj0h9ii7lnk233sy5q4hlz36cx5x3-file-boot0-5.25.drv" [color = red];
"/gnu/store/2m0i57ad07cmgxh3ij89d4lmf7lngpdz-linux-libre-headers-3.14.37.drv" -> "/gnu/store/dmj22s341y334xwwkimrz4d3d0a4mzdp-glibc-bootstrap-0.drv" [color = red];
"/gnu/store/2m0i57ad07cmgxh3ij89d4lmf7lngpdz-linux-libre-headers-3.14.37.drv" -> "/gnu/store/wp4gm50d3jyzxr9pj5b43j05ildh4mfq-gcc-bootstrap-0.drv" [color = red];
"/gnu/store/2m0i57ad07cmgxh3ij89d4lmf7lngpdz-linux-libre-headers-3.14.37.drv" -> "/gnu/store/sd2k1ljlzpkp3n5rk5y3dp2l73h3qkpp-binutils-bootstrap-0.drv" [color = red];
"/gnu/store/2m0i57ad07cmgxh3ij89d4lmf7lngpdz-linux-libre-headers-3.14.37.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
"/gnu/store/2m0i57ad07cmgxh3ij89d4lmf7lngpdz-linux-libre-headers-3.14.37.drv" -> "/gnu/store/xyzv7w42bxs5zhs6b5a9s7gbiq571psm-bootstrap-binaries-0.drv" [color = red];
}
+215
View File
@@ -0,0 +1,215 @@
digraph "Guix bag-emerged" {
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" [label = "coreutils-8.24", shape = box, fontname = Helvetica];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/0pr679inn5xj91z4d63scc7vgfji9vpp-tar-1.28.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/p3szkb87bp9fxhn715g88skry8g3jgkq-gzip-1.6.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/i398qn04cwvnzph7a0cckxqr9q0k3lyr-bzip2-1.0.6.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/wvnnsn89magnvn39zm3fv245s9m7yn5f-xz-5.0.4.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/sag0sx1zycnwixwfdrxwj1i9g2phxrh4-file-5.22.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/p61bsw6093x3wfg5vz3172wl9bzrlc3w-diffutils-3.3.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/rzsyx70vnfb8cm40r0b591vyvww2i5y6-patch-2.7.5.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/mc5fgclyr0v26242hmg30srv9ij27wyv-sed-4.2.2.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/ig9nr2f5hvr88br028r9nsdg4xpmmybg-findutils-4.4.2.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/jls1kj3pvqjpbmm7c09fhszfd3m61zif-gawk-4.1.3.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/vvlh6szjxr5iy192fsv9p4dwf39nhapf-grep-2.21.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/mysb2grsl1wc931xm08adncnqjwvdds7-coreutils-8.24.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/n0n20i1brmhmjvw9lx33f2l3dmzx873n-make-4.1.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/64cizlhq38x99dvjvza6c5ha226a9bf5-bash-4.3.39.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/mbshnjz590h3l1c3y2rxzqvn45bhx32b-ld-wrapper-0.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/hf62yhvyrr1rm5y8mq5afih12s9jasic-binutils-2.25.1.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/8mff0w2203h6m5s495knxg09is3qj15f-gcc-4.9.3.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/2pspbpclj4yq5dqd71fnqwa69s8xxryf-glibc-2.22.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/nflynk1n90yh41yfi91raczynka2mf86-glibc-utf8-locales-2.22.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" [color = red];
"/gnu/store/xpgn2qn54c323liliyqj6q11b5xnb1db-coreutils-8.24.drv" -> "/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" [label = "perl-5.16.1", shape = box, fontname = Helvetica];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/0pr679inn5xj91z4d63scc7vgfji9vpp-tar-1.28.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/p3szkb87bp9fxhn715g88skry8g3jgkq-gzip-1.6.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/i398qn04cwvnzph7a0cckxqr9q0k3lyr-bzip2-1.0.6.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/wvnnsn89magnvn39zm3fv245s9m7yn5f-xz-5.0.4.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/sag0sx1zycnwixwfdrxwj1i9g2phxrh4-file-5.22.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/p61bsw6093x3wfg5vz3172wl9bzrlc3w-diffutils-3.3.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/rzsyx70vnfb8cm40r0b591vyvww2i5y6-patch-2.7.5.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/mc5fgclyr0v26242hmg30srv9ij27wyv-sed-4.2.2.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/ig9nr2f5hvr88br028r9nsdg4xpmmybg-findutils-4.4.2.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/jls1kj3pvqjpbmm7c09fhszfd3m61zif-gawk-4.1.3.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/vvlh6szjxr5iy192fsv9p4dwf39nhapf-grep-2.21.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/mysb2grsl1wc931xm08adncnqjwvdds7-coreutils-8.24.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/n0n20i1brmhmjvw9lx33f2l3dmzx873n-make-4.1.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/64cizlhq38x99dvjvza6c5ha226a9bf5-bash-4.3.39.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/mbshnjz590h3l1c3y2rxzqvn45bhx32b-ld-wrapper-0.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/hf62yhvyrr1rm5y8mq5afih12s9jasic-binutils-2.25.1.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/8mff0w2203h6m5s495knxg09is3qj15f-gcc-4.9.3.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/2pspbpclj4yq5dqd71fnqwa69s8xxryf-glibc-2.22.drv" [color = red];
"/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" -> "/gnu/store/nflynk1n90yh41yfi91raczynka2mf86-glibc-utf8-locales-2.22.drv" [color = red];
"/gnu/store/0pr679inn5xj91z4d63scc7vgfji9vpp-tar-1.28.drv" [label = "tar-1.28", shape = box, fontname = Helvetica];
"/gnu/store/p3szkb87bp9fxhn715g88skry8g3jgkq-gzip-1.6.drv" [label = "gzip-1.6", shape = box, fontname = Helvetica];
"/gnu/store/i398qn04cwvnzph7a0cckxqr9q0k3lyr-bzip2-1.0.6.drv" [label = "bzip2-1.0.6", shape = box, fontname = Helvetica];
"/gnu/store/wvnnsn89magnvn39zm3fv245s9m7yn5f-xz-5.0.4.drv" [label = "xz-5.0.4", shape = box, fontname = Helvetica];
"/gnu/store/sag0sx1zycnwixwfdrxwj1i9g2phxrh4-file-5.22.drv" [label = "file-5.22", shape = box, fontname = Helvetica];
"/gnu/store/p61bsw6093x3wfg5vz3172wl9bzrlc3w-diffutils-3.3.drv" [label = "diffutils-3.3", shape = box, fontname = Helvetica];
"/gnu/store/rzsyx70vnfb8cm40r0b591vyvww2i5y6-patch-2.7.5.drv" [label = "patch-2.7.5", shape = box, fontname = Helvetica];
"/gnu/store/mc5fgclyr0v26242hmg30srv9ij27wyv-sed-4.2.2.drv" [label = "sed-4.2.2", shape = box, fontname = Helvetica];
"/gnu/store/ig9nr2f5hvr88br028r9nsdg4xpmmybg-findutils-4.4.2.drv" [label = "findutils-4.4.2", shape = box, fontname = Helvetica];
"/gnu/store/jls1kj3pvqjpbmm7c09fhszfd3m61zif-gawk-4.1.3.drv" [label = "gawk-4.1.3", shape = box, fontname = Helvetica];
"/gnu/store/vvlh6szjxr5iy192fsv9p4dwf39nhapf-grep-2.21.drv" [label = "grep-2.21", shape = box, fontname = Helvetica];
"/gnu/store/mysb2grsl1wc931xm08adncnqjwvdds7-coreutils-8.24.drv" [label = "coreutils-8.24", shape = box, fontname = Helvetica];
"/gnu/store/n0n20i1brmhmjvw9lx33f2l3dmzx873n-make-4.1.drv" [label = "make-4.1", shape = box, fontname = Helvetica];
"/gnu/store/64cizlhq38x99dvjvza6c5ha226a9bf5-bash-4.3.39.drv" [label = "bash-4.3.39", shape = box, fontname = Helvetica];
"/gnu/store/mbshnjz590h3l1c3y2rxzqvn45bhx32b-ld-wrapper-0.drv" [label = "ld-wrapper-0", shape = box, fontname = Helvetica];
"/gnu/store/hf62yhvyrr1rm5y8mq5afih12s9jasic-binutils-2.25.1.drv" [label = "binutils-2.25.1", shape = box, fontname = Helvetica];
"/gnu/store/8mff0w2203h6m5s495knxg09is3qj15f-gcc-4.9.3.drv" [label = "gcc-4.9.3", shape = box, fontname = Helvetica];
"/gnu/store/2pspbpclj4yq5dqd71fnqwa69s8xxryf-glibc-2.22.drv" [label = "glibc-2.22", shape = box, fontname = Helvetica];
"/gnu/store/nflynk1n90yh41yfi91raczynka2mf86-glibc-utf8-locales-2.22.drv" [label = "glibc-utf8-locales-2.22", shape = box, fontname = Helvetica];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" [label = "acl-2.2.52", shape = box, fontname = Helvetica];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/0pr679inn5xj91z4d63scc7vgfji9vpp-tar-1.28.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/p3szkb87bp9fxhn715g88skry8g3jgkq-gzip-1.6.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/i398qn04cwvnzph7a0cckxqr9q0k3lyr-bzip2-1.0.6.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/wvnnsn89magnvn39zm3fv245s9m7yn5f-xz-5.0.4.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/sag0sx1zycnwixwfdrxwj1i9g2phxrh4-file-5.22.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/p61bsw6093x3wfg5vz3172wl9bzrlc3w-diffutils-3.3.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/rzsyx70vnfb8cm40r0b591vyvww2i5y6-patch-2.7.5.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/mc5fgclyr0v26242hmg30srv9ij27wyv-sed-4.2.2.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/ig9nr2f5hvr88br028r9nsdg4xpmmybg-findutils-4.4.2.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/jls1kj3pvqjpbmm7c09fhszfd3m61zif-gawk-4.1.3.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/vvlh6szjxr5iy192fsv9p4dwf39nhapf-grep-2.21.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/mysb2grsl1wc931xm08adncnqjwvdds7-coreutils-8.24.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/n0n20i1brmhmjvw9lx33f2l3dmzx873n-make-4.1.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/64cizlhq38x99dvjvza6c5ha226a9bf5-bash-4.3.39.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/mbshnjz590h3l1c3y2rxzqvn45bhx32b-ld-wrapper-0.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/hf62yhvyrr1rm5y8mq5afih12s9jasic-binutils-2.25.1.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/8mff0w2203h6m5s495knxg09is3qj15f-gcc-4.9.3.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/2pspbpclj4yq5dqd71fnqwa69s8xxryf-glibc-2.22.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/nflynk1n90yh41yfi91raczynka2mf86-glibc-utf8-locales-2.22.drv" [color = red];
"/gnu/store/6i8brik0khb2s5r6ih7h6g22l9s2xmph-acl-2.2.52.drv" -> "/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" [label = "gettext-0.19.6", shape = box, fontname = Helvetica];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/0pr679inn5xj91z4d63scc7vgfji9vpp-tar-1.28.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/p3szkb87bp9fxhn715g88skry8g3jgkq-gzip-1.6.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/i398qn04cwvnzph7a0cckxqr9q0k3lyr-bzip2-1.0.6.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/wvnnsn89magnvn39zm3fv245s9m7yn5f-xz-5.0.4.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/sag0sx1zycnwixwfdrxwj1i9g2phxrh4-file-5.22.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/p61bsw6093x3wfg5vz3172wl9bzrlc3w-diffutils-3.3.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/rzsyx70vnfb8cm40r0b591vyvww2i5y6-patch-2.7.5.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/mc5fgclyr0v26242hmg30srv9ij27wyv-sed-4.2.2.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/ig9nr2f5hvr88br028r9nsdg4xpmmybg-findutils-4.4.2.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/jls1kj3pvqjpbmm7c09fhszfd3m61zif-gawk-4.1.3.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/vvlh6szjxr5iy192fsv9p4dwf39nhapf-grep-2.21.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/mysb2grsl1wc931xm08adncnqjwvdds7-coreutils-8.24.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/n0n20i1brmhmjvw9lx33f2l3dmzx873n-make-4.1.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/64cizlhq38x99dvjvza6c5ha226a9bf5-bash-4.3.39.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/mbshnjz590h3l1c3y2rxzqvn45bhx32b-ld-wrapper-0.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/hf62yhvyrr1rm5y8mq5afih12s9jasic-binutils-2.25.1.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/8mff0w2203h6m5s495knxg09is3qj15f-gcc-4.9.3.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/2pspbpclj4yq5dqd71fnqwa69s8xxryf-glibc-2.22.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/nflynk1n90yh41yfi91raczynka2mf86-glibc-utf8-locales-2.22.drv" [color = red];
"/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" -> "/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" [label = "expat-2.1.0", shape = box, fontname = Helvetica];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/0pr679inn5xj91z4d63scc7vgfji9vpp-tar-1.28.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/p3szkb87bp9fxhn715g88skry8g3jgkq-gzip-1.6.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/i398qn04cwvnzph7a0cckxqr9q0k3lyr-bzip2-1.0.6.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/wvnnsn89magnvn39zm3fv245s9m7yn5f-xz-5.0.4.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/sag0sx1zycnwixwfdrxwj1i9g2phxrh4-file-5.22.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/p61bsw6093x3wfg5vz3172wl9bzrlc3w-diffutils-3.3.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/rzsyx70vnfb8cm40r0b591vyvww2i5y6-patch-2.7.5.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/mc5fgclyr0v26242hmg30srv9ij27wyv-sed-4.2.2.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/ig9nr2f5hvr88br028r9nsdg4xpmmybg-findutils-4.4.2.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/jls1kj3pvqjpbmm7c09fhszfd3m61zif-gawk-4.1.3.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/vvlh6szjxr5iy192fsv9p4dwf39nhapf-grep-2.21.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/mysb2grsl1wc931xm08adncnqjwvdds7-coreutils-8.24.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/n0n20i1brmhmjvw9lx33f2l3dmzx873n-make-4.1.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/64cizlhq38x99dvjvza6c5ha226a9bf5-bash-4.3.39.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/mbshnjz590h3l1c3y2rxzqvn45bhx32b-ld-wrapper-0.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/hf62yhvyrr1rm5y8mq5afih12s9jasic-binutils-2.25.1.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/8mff0w2203h6m5s495knxg09is3qj15f-gcc-4.9.3.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/2pspbpclj4yq5dqd71fnqwa69s8xxryf-glibc-2.22.drv" [color = red];
"/gnu/store/n3ix2bl79ijv1v1winwf4qj46hlhyrdv-expat-2.1.0.drv" -> "/gnu/store/nflynk1n90yh41yfi91raczynka2mf86-glibc-utf8-locales-2.22.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" [label = "attr-2.4.46", shape = box, fontname = Helvetica];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/a076d7ng0h3ynr1hsiyk4fmh3w1g4cv8-gettext-0.19.6.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/0pr679inn5xj91z4d63scc7vgfji9vpp-tar-1.28.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/p3szkb87bp9fxhn715g88skry8g3jgkq-gzip-1.6.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/i398qn04cwvnzph7a0cckxqr9q0k3lyr-bzip2-1.0.6.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/wvnnsn89magnvn39zm3fv245s9m7yn5f-xz-5.0.4.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/sag0sx1zycnwixwfdrxwj1i9g2phxrh4-file-5.22.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/p61bsw6093x3wfg5vz3172wl9bzrlc3w-diffutils-3.3.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/rzsyx70vnfb8cm40r0b591vyvww2i5y6-patch-2.7.5.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/mc5fgclyr0v26242hmg30srv9ij27wyv-sed-4.2.2.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/ig9nr2f5hvr88br028r9nsdg4xpmmybg-findutils-4.4.2.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/jls1kj3pvqjpbmm7c09fhszfd3m61zif-gawk-4.1.3.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/vvlh6szjxr5iy192fsv9p4dwf39nhapf-grep-2.21.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/mysb2grsl1wc931xm08adncnqjwvdds7-coreutils-8.24.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/n0n20i1brmhmjvw9lx33f2l3dmzx873n-make-4.1.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/64cizlhq38x99dvjvza6c5ha226a9bf5-bash-4.3.39.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/mbshnjz590h3l1c3y2rxzqvn45bhx32b-ld-wrapper-0.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/hf62yhvyrr1rm5y8mq5afih12s9jasic-binutils-2.25.1.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/8mff0w2203h6m5s495knxg09is3qj15f-gcc-4.9.3.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/2pspbpclj4yq5dqd71fnqwa69s8xxryf-glibc-2.22.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/nflynk1n90yh41yfi91raczynka2mf86-glibc-utf8-locales-2.22.drv" [color = red];
"/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" -> "/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" [label = "gmp-6.0.0a", shape = box, fontname = Helvetica];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/0pr679inn5xj91z4d63scc7vgfji9vpp-tar-1.28.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/p3szkb87bp9fxhn715g88skry8g3jgkq-gzip-1.6.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/i398qn04cwvnzph7a0cckxqr9q0k3lyr-bzip2-1.0.6.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/wvnnsn89magnvn39zm3fv245s9m7yn5f-xz-5.0.4.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/sag0sx1zycnwixwfdrxwj1i9g2phxrh4-file-5.22.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/p61bsw6093x3wfg5vz3172wl9bzrlc3w-diffutils-3.3.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/rzsyx70vnfb8cm40r0b591vyvww2i5y6-patch-2.7.5.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/mc5fgclyr0v26242hmg30srv9ij27wyv-sed-4.2.2.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/ig9nr2f5hvr88br028r9nsdg4xpmmybg-findutils-4.4.2.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/jls1kj3pvqjpbmm7c09fhszfd3m61zif-gawk-4.1.3.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/vvlh6szjxr5iy192fsv9p4dwf39nhapf-grep-2.21.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/mysb2grsl1wc931xm08adncnqjwvdds7-coreutils-8.24.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/n0n20i1brmhmjvw9lx33f2l3dmzx873n-make-4.1.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/64cizlhq38x99dvjvza6c5ha226a9bf5-bash-4.3.39.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/mbshnjz590h3l1c3y2rxzqvn45bhx32b-ld-wrapper-0.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/hf62yhvyrr1rm5y8mq5afih12s9jasic-binutils-2.25.1.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/8mff0w2203h6m5s495knxg09is3qj15f-gcc-4.9.3.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/2pspbpclj4yq5dqd71fnqwa69s8xxryf-glibc-2.22.drv" [color = red];
"/gnu/store/wmvpskqsw6hgriy0vbmmm6c4wp8rxp2c-gmp-6.0.0a.drv" -> "/gnu/store/nflynk1n90yh41yfi91raczynka2mf86-glibc-utf8-locales-2.22.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" [label = "m4-1.4.17", shape = box, fontname = Helvetica];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/0pr679inn5xj91z4d63scc7vgfji9vpp-tar-1.28.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/p3szkb87bp9fxhn715g88skry8g3jgkq-gzip-1.6.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/i398qn04cwvnzph7a0cckxqr9q0k3lyr-bzip2-1.0.6.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/wvnnsn89magnvn39zm3fv245s9m7yn5f-xz-5.0.4.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/sag0sx1zycnwixwfdrxwj1i9g2phxrh4-file-5.22.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/p61bsw6093x3wfg5vz3172wl9bzrlc3w-diffutils-3.3.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/rzsyx70vnfb8cm40r0b591vyvww2i5y6-patch-2.7.5.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/mc5fgclyr0v26242hmg30srv9ij27wyv-sed-4.2.2.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/ig9nr2f5hvr88br028r9nsdg4xpmmybg-findutils-4.4.2.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/jls1kj3pvqjpbmm7c09fhszfd3m61zif-gawk-4.1.3.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/vvlh6szjxr5iy192fsv9p4dwf39nhapf-grep-2.21.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/mysb2grsl1wc931xm08adncnqjwvdds7-coreutils-8.24.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/n0n20i1brmhmjvw9lx33f2l3dmzx873n-make-4.1.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/64cizlhq38x99dvjvza6c5ha226a9bf5-bash-4.3.39.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/mbshnjz590h3l1c3y2rxzqvn45bhx32b-ld-wrapper-0.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/hf62yhvyrr1rm5y8mq5afih12s9jasic-binutils-2.25.1.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/8mff0w2203h6m5s495knxg09is3qj15f-gcc-4.9.3.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/2pspbpclj4yq5dqd71fnqwa69s8xxryf-glibc-2.22.drv" [color = red];
"/gnu/store/1mwk0rc4lfcy3vax50ss8x3qfa304g67-m4-1.4.17.drv" -> "/gnu/store/nflynk1n90yh41yfi91raczynka2mf86-glibc-utf8-locales-2.22.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" [label = "libcap-2.24", shape = box, fontname = Helvetica];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/mi4a8m41ssrp7lv3b8vibw0a7ahv2mmg-perl-5.16.1.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/0pr679inn5xj91z4d63scc7vgfji9vpp-tar-1.28.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/p3szkb87bp9fxhn715g88skry8g3jgkq-gzip-1.6.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/i398qn04cwvnzph7a0cckxqr9q0k3lyr-bzip2-1.0.6.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/wvnnsn89magnvn39zm3fv245s9m7yn5f-xz-5.0.4.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/sag0sx1zycnwixwfdrxwj1i9g2phxrh4-file-5.22.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/p61bsw6093x3wfg5vz3172wl9bzrlc3w-diffutils-3.3.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/rzsyx70vnfb8cm40r0b591vyvww2i5y6-patch-2.7.5.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/mc5fgclyr0v26242hmg30srv9ij27wyv-sed-4.2.2.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/ig9nr2f5hvr88br028r9nsdg4xpmmybg-findutils-4.4.2.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/jls1kj3pvqjpbmm7c09fhszfd3m61zif-gawk-4.1.3.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/vvlh6szjxr5iy192fsv9p4dwf39nhapf-grep-2.21.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/mysb2grsl1wc931xm08adncnqjwvdds7-coreutils-8.24.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/n0n20i1brmhmjvw9lx33f2l3dmzx873n-make-4.1.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/64cizlhq38x99dvjvza6c5ha226a9bf5-bash-4.3.39.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/mbshnjz590h3l1c3y2rxzqvn45bhx32b-ld-wrapper-0.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/hf62yhvyrr1rm5y8mq5afih12s9jasic-binutils-2.25.1.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/8mff0w2203h6m5s495knxg09is3qj15f-gcc-4.9.3.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/2pspbpclj4yq5dqd71fnqwa69s8xxryf-glibc-2.22.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/nflynk1n90yh41yfi91raczynka2mf86-glibc-utf8-locales-2.22.drv" [color = red];
"/gnu/store/d7d6k5bhk7gz3pvhxdn2f33jzlxg4c5l-libcap-2.24.drv" -> "/gnu/store/3lq0fkjmjb917asbj9f24vcxxnq3kwai-attr-2.4.46.drv" [color = red];
}
+25
View File
@@ -0,0 +1,25 @@
digraph "Guix package" {
"70481600" [label = "coreutils-8.24", shape = box, fontname = Helvetica];
"70481600" -> "50717824" [color = red];
"70481600" -> "57499200" [color = red];
"70481600" -> "57496320" [color = red];
"70481600" -> "69877504" [color = red];
"50717824" [label = "perl-5.16.1", shape = box, fontname = Helvetica];
"57499200" [label = "acl-2.2.52", shape = box, fontname = Helvetica];
"57499200" -> "70563904" [color = red];
"57499200" -> "50717824" [color = red];
"57499200" -> "70563520" [color = red];
"70563904" [label = "gettext-0.19.6", shape = box, fontname = Helvetica];
"70563904" -> "69316352" [color = red];
"69316352" [label = "expat-2.1.0", shape = box, fontname = Helvetica];
"70563520" [label = "attr-2.4.46", shape = box, fontname = Helvetica];
"70563520" -> "70563904" [color = red];
"70563520" -> "50717824" [color = red];
"57496320" [label = "gmp-6.0.0a", shape = box, fontname = Helvetica];
"57496320" -> "57498432" [color = red];
"57498432" [label = "m4-1.4.17", shape = box, fontname = Helvetica];
"69877504" [label = "libcap-2.24", shape = box, fontname = Helvetica];
"69877504" -> "50717824" [color = red];
"69877504" -> "70563520" [color = red];
}
+40
View File
@@ -0,0 +1,40 @@
digraph "Service Type Dependencies" {
shepherd [shape = box, fontname = Helvetica];
pam [shape = box, fontname = Helvetica];
etc [shape = box, fontname = Helvetica];
profile [shape = box, fontname = Helvetica];
accounts [shape = box, fontname = Helvetica];
activation [shape = box, fontname = Helvetica];
boot [shape = box, fontname = Helvetica];
system [shape = house, fontname = Helvetica];
lshd -> shepherd;
lshd -> pam;
udev -> shepherd;
nscd -> shepherd [label = "extends"];
"nss-mdns" -> nscd;
"kvm-rules" -> udev;
colord -> udev;
dbus -> shepherd;
colord -> dbus;
upower -> udev;
upower -> dbus;
polkit -> dbus;
polkit -> pam;
elogind -> dbus;
elogind -> udev;
elogind -> polkit [label = "extends"];
shepherd -> boot;
colord -> accounts;
accounts -> activation;
accounts -> etc;
etc -> activation;
activation -> boot;
pam -> etc;
elogind -> pam;
guix -> shepherd;
guix -> activation;
guix -> accounts;
boot -> system;
etc -> system;
profile -> system;
}
+75
View File
@@ -0,0 +1,75 @@
digraph "Guix shepherd-service" {
"user-file-systems" [label = "user-file-systems", shape = box, fontname = Helvetica];
"user-processes" -> "user-file-systems" [color = red];
"user-processes" [label = "user-processes", shape = box, fontname = Helvetica];
"nscd" -> "user-processes" [color = red];
"guix-daemon" -> "user-processes" [color = red];
"syslogd" -> "user-processes" [color = red];
"term-tty6" -> "user-processes" [color = red];
"term-tty5" -> "user-processes" [color = red];
"term-tty4" -> "user-processes" [color = red];
"term-tty3" -> "user-processes" [color = red];
"term-tty2" -> "user-processes" [color = red];
"term-tty1" -> "user-processes" [color = red];
"networking" -> "user-processes" [color = red];
"nscd" [label = "nscd", shape = box, fontname = Helvetica];
"guix-daemon" [label = "guix-daemon", shape = box, fontname = Helvetica];
"syslogd" [label = "syslogd", shape = box, fontname = Helvetica];
"ssh-daemon" -> "syslogd" [color = red];
"ssh-daemon" [label = "ssh-daemon", shape = box, fontname = Helvetica];
"term-tty6" [label = "term-tty6", shape = box, fontname = Helvetica];
"console-font-tty6" -> "term-tty6" [color = red];
"console-font-tty6" [label = "console-font-tty6", shape = box, fontname = Helvetica];
"term-tty5" [label = "term-tty5", shape = box, fontname = Helvetica];
"console-font-tty5" -> "term-tty5" [color = red];
"console-font-tty5" [label = "console-font-tty5", shape = box, fontname = Helvetica];
"term-tty4" [label = "term-tty4", shape = box, fontname = Helvetica];
"console-font-tty4" -> "term-tty4" [color = red];
"console-font-tty4" [label = "console-font-tty4", shape = box, fontname = Helvetica];
"term-tty3" [label = "term-tty3", shape = box, fontname = Helvetica];
"console-font-tty3" -> "term-tty3" [color = red];
"console-font-tty3" [label = "console-font-tty3", shape = box, fontname = Helvetica];
"term-tty2" [label = "term-tty2", shape = box, fontname = Helvetica];
"console-font-tty2" -> "term-tty2" [color = red];
"console-font-tty2" [label = "console-font-tty2", shape = box, fontname = Helvetica];
"term-tty1" [label = "term-tty1", shape = box, fontname = Helvetica];
"console-font-tty1" -> "term-tty1" [color = red];
"console-font-tty1" [label = "console-font-tty1", shape = box, fontname = Helvetica];
"networking" [label = "networking", shape = box, fontname = Helvetica];
"ssh-daemon" -> "networking" [color = red];
"root-file-system" [label = "root-file-system", shape = box, fontname = Helvetica];
"file-system-/run/user" -> "root-file-system" [color = red];
"file-system-/run/systemd" -> "root-file-system" [color = red];
"file-system-/gnu/store" -> "root-file-system" [color = red];
"file-system-/dev/shm" -> "root-file-system" [color = red];
"file-system-/dev/pts" -> "root-file-system" [color = red];
"user-processes" -> "root-file-system" [color = red];
"udev" -> "root-file-system" [color = red];
"file-system-/run/user" [label = "file-system-/run/user", shape = box, fontname = Helvetica];
"user-processes" -> "file-system-/run/user" [color = red];
"file-system-/run/systemd" [label = "file-system-/run/systemd", shape = box, fontname = Helvetica];
"user-processes" -> "file-system-/run/systemd" [color = red];
"file-system-/gnu/store" [label = "file-system-/gnu/store", shape = box, fontname = Helvetica];
"user-processes" -> "file-system-/gnu/store" [color = red];
"file-system-/dev/shm" [label = "file-system-/dev/shm", shape = box, fontname = Helvetica];
"user-processes" -> "file-system-/dev/shm" [color = red];
"file-system-/dev/pts" [label = "file-system-/dev/pts", shape = box, fontname = Helvetica];
"user-processes" -> "file-system-/dev/pts" [color = red];
"udev" [label = "udev", shape = box, fontname = Helvetica];
"term-tty6" -> "udev" [color = red];
"term-tty5" -> "udev" [color = red];
"term-tty4" -> "udev" [color = red];
"term-tty3" -> "udev" [color = red];
"term-tty2" -> "udev" [color = red];
"term-tty1" -> "udev" [color = red];
"networking" -> "udev" [color = red];
"host-name" [label = "host-name", shape = box, fontname = Helvetica];
"term-tty6" -> "host-name" [color = red];
"term-tty5" -> "host-name" [color = red];
"term-tty4" -> "host-name" [color = red];
"term-tty3" -> "host-name" [color = red];
"term-tty2" -> "host-name" [color = red];
"term-tty1" -> "host-name" [color = red];
"loopback" [label = "loopback", shape = box, fontname = Helvetica];
}
+157
View File
@@ -0,0 +1,157 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
# Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2013 Andreas Enge <andreas@enge.fr>
# Copyright © 2016 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
# Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
#
# This file is part of GNU Guix.
#
# GNU Guix is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# GNU Guix is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
info_TEXINFOS = %D%/guix.texi
DOT_FILES = \
%D%/images/bootstrap-graph.dot \
%D%/images/bootstrap-packages.dot \
%D%/images/coreutils-graph.dot \
%D%/images/coreutils-bag-graph.dot \
%D%/images/service-graph.dot \
%D%/images/shepherd-graph.dot
DOT_VECTOR_GRAPHICS = \
$(DOT_FILES:%.dot=%.eps) \
$(DOT_FILES:%.dot=%.pdf)
EXTRA_DIST += \
%D%/htmlxref.cnf \
%D%/contributing.texi \
%D%/emacs.texi \
%D%/fdl-1.3.texi \
$(DOT_FILES) \
$(DOT_VECTOR_GRAPHICS) \
%D%/images/coreutils-size-map.eps \
%D%/environment-gdb.scm \
%D%/package-hello.scm
OS_CONFIG_EXAMPLES_TEXI = \
%D%/os-config-bare-bones.texi \
%D%/os-config-desktop.texi \
%D%/os-config-lightweight-desktop.texi
# Bundle this file so that makeinfo finds it in out-of-source-tree builds.
BUILT_SOURCES += $(OS_CONFIG_EXAMPLES_TEXI)
EXTRA_DIST += $(OS_CONFIG_EXAMPLES_TEXI)
MAINTAINERCLEANFILES = $(OS_CONFIG_EXAMPLES_TEXI)
%D%/os-config-%.texi: gnu/system/examples/%.tmpl
$(AM_V_GEN)$(MKDIR_P) "`dirname $@`"; \
cp "$<" "$@"
infoimagedir = $(infodir)/images
dist_infoimage_DATA = \
$(DOT_FILES:%.dot=%.png) \
%D%/images/coreutils-size-map.png
# Try hard to obtain an image size and aspect that's reasonable for inclusion
# in an Info or PDF document.
DOT_OPTIONS = \
-Gratio=.9 -Gnodesep=.005 -Granksep=.00005 \
-Nfontsize=9 -Nheight=.1 -Nwidth=.1
.dot.png:
$(AM_V_DOT)$(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \
mv "$(srcdir)/$@.tmp" "$(srcdir)/$@"
.dot.pdf:
$(AM_V_DOT)$(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \
mv "$(srcdir)/$@.tmp" "$(srcdir)/$@"
.dot.eps:
$(AM_V_DOT)$(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \
mv "$(srcdir)/$@.tmp" "$(srcdir)/$@"
.png.eps:
$(AM_V_GEN)convert "$<" "$@-tmp.eps"; \
mv "$@-tmp.eps" "$@"
# We cannot add new dependencies to `%D%/guix.pdf' & co. (info "(automake)
# Extending"). Using the `-local' rules is imperfect, because they may be
# triggered after the main rule. Oh, well.
pdf-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.pdf)
info-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.png)
ps-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.eps) \
$(top_srcdir)/%D%/images/coreutils-size-map.eps
dvi-local: ps-local
## ----------- ##
## Man pages. ##
## ----------- ##
# The man pages are generated using GNU Help2man. In makefiles rules they
# depend not on the binary, but on the source files. This usage allows a
# manual page to be generated by the maintainer and included in the
# distribution without requiring the end-user to have 'help2man' installed.
# They are built in $(srcdir) like info manuals.
sub_commands_mans = \
$(srcdir)/%D%/guix-archive.1 \
$(srcdir)/%D%/guix-build.1 \
$(srcdir)/%D%/guix-challenge.1 \
$(srcdir)/%D%/guix-download.1 \
$(srcdir)/%D%/guix-edit.1 \
$(srcdir)/%D%/guix-environment.1 \
$(srcdir)/%D%/guix-gc.1 \
$(srcdir)/%D%/guix-hash.1 \
$(srcdir)/%D%/guix-import.1 \
$(srcdir)/%D%/guix-lint.1 \
$(srcdir)/%D%/guix-package.1 \
$(srcdir)/%D%/guix-publish.1 \
$(srcdir)/%D%/guix-pull.1 \
$(srcdir)/%D%/guix-refresh.1 \
$(srcdir)/%D%/guix-size.1 \
$(srcdir)/%D%/guix-system.1
dist_man1_MANS = \
$(srcdir)/%D%/guix.1 \
$(sub_commands_mans)
gen_man = \
LANGUAGE= $(top_builddir)/pre-inst-env $(HELP2MAN) \
$(HELP2MANFLAGS)
HELP2MANFLAGS = --source=GNU --info-page=$(PACKAGE_TARNAME)
$(srcdir)/%D%/guix.1: scripts/guix.in $(sub_commands_mans)
-$(AM_V_HELP2MAN)$(gen_man) --output="$@" `basename "$@" .1`
# The 'case' ensures the man pages are only generated if the corresponding
# source script (the first prerequisite) has been changed. The $(GOBJECTS)
# prerequisite is solely meant to force these docs to be made only after all
# Guile modules have been compiled.
$(srcdir)/%D%/guix-%.1: guix/scripts/%.scm $(GOBJECTS)
-@case '$?' in \
*$<*) $(AM_V_P) && set -x || echo " HELP2MAN $@"; \
$(gen_man) --output="$@" "guix $*";; \
*) : ;; \
esac
if BUILD_DAEMON
dist_man1_MANS += $(srcdir)/%D%/guix-daemon.1
$(srcdir)/%D%/guix-daemon.1: nix/nix-daemon/guix-daemon.cc
-$(AM_V_HELP2MAN)$(gen_man) --output="$@" `basename "$@" .1`
endif
+19
View File
@@ -0,0 +1,19 @@
(use-modules (guix)
(guix build-system gnu)
(guix licenses))
(package
(name "hello")
(version "2.10")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/hello/hello-" version
".tar.gz"))
(sha256
(base32
"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i"))))
(build-system gnu-build-system)
(synopsis "Hello, GNU world: An example GNU package")
(description "Guess what GNU Hello prints!")
(home-page "http://www.gnu.org/software/hello/")
(license gpl3+))
-52
View File
@@ -1,52 +0,0 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2014 Alex Kost <alezost@gmail.com>
#
# This file is part of GNU Guix.
#
# GNU Guix is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# GNU Guix is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
AUTOLOADS = emacs/guix-autoloads.el
ELFILES = \
emacs/guix-backend.el \
emacs/guix-base.el \
emacs/guix-emacs.el \
emacs/guix-history.el \
emacs/guix-info.el \
emacs/guix-list.el \
emacs/guix-messages.el \
emacs/guix-pcomplete.el \
emacs/guix-prettify.el \
emacs/guix-utils.el \
emacs/guix.el
if HAVE_EMACS
dist_lisp_DATA = \
$(ELFILES) \
$(AUTOLOADS)
nodist_lisp_DATA = \
emacs/guix-init.el \
emacs/guix-profiles.el
$(AUTOLOADS): $(ELFILES)
$(EMACS) --batch --eval \
"(let ((backup-inhibited t) \
(generated-autoload-file \
(expand-file-name \"$(AUTOLOADS)\" \"$(srcdir)\"))) \
(update-directory-autoloads \
(expand-file-name \"emacs\" \"$(srcdir)\")))"
endif HAVE_EMACS
+37
View File
@@ -0,0 +1,37 @@
;;; guix-about.el --- Various info about Guix
;; Copyright © 2016 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public Location as published by
;; the Free Software Foundation, either version 3 of the Location, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public Location for more details.
;; You should have received a copy of the GNU General Public Location
;; along with this program. If not, see <http://www.gnu.org/locations/>.
;;; Commentary:
;; This file provides the code to display various info about Guix (e.g., its
;; version).
;;; Code:
(require 'guix-config)
;;;###autoload
(defun guix-version ()
"Display Guix version in the echo area."
(interactive)
(message "%s %s" guix-config-name guix-config-version))
(provide 'guix-about)
;;; guix-about.el ends here
+104 -89
View File
@@ -1,6 +1,6 @@
;;; guix-backend.el --- Communication with Geiser
;;; guix-backend.el --- Making and using Guix REPL
;; Copyright © 2014 Alex Kost <alezost@gmail.com>
;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
@@ -19,9 +19,10 @@
;;; Commentary:
;; This file provides the code for interacting with Guile using Geiser.
;; This file provides the code for interacting with Guile using Guix REPL
;; (Geiser REPL with some guix-specific additions).
;; By default (if `guix-use-guile-server' is non-nil) 2 Geiser REPLs are
;; By default (if `guix-use-guile-server' is non-nil) 2 Guix REPLs are
;; started. The main one (with "guile --listen" process) is used for
;; "interacting" with a user - for showing a progress of
;; installing/deleting Guix packages. The second (internal) REPL is
@@ -35,43 +36,32 @@
;; running code in the REPL (see
;; <https://github.com/jaor/geiser/issues/28>).
;;
;; If you need to use "guix.el" in another Emacs (i.e. when there is
;; a runnig "guile --listen..." REPL somewhere), you can either change
;; `guix-default-port' in that Emacs instance or set
;; `guix-use-guile-server' to t.
;;
;; Guix REPLs (unlike the usual Geiser REPLs) are not added to
;; `geiser-repl--repls' variable, and thus cannot be used for evaluating
;; while editing scm-files. The only purpose of Guix REPLs is to be an
;; intermediate between "Guix/Guile level" and "Emacs interface level".
;; That being said you can still want to use a Guix REPL while hacking
;; auxiliary scheme-files for "guix.el". You can just use "M-x
;; connect-to-guile" (connect to "localhost" and `guix-default-port') to
;; auxiliary scheme-files for "guix.el". You can just use
;; `geiser-connect-local' command with `guix-repl-current-socket' to
;; have a usual Geiser REPL with all stuff defined by "guix.el" package.
;;; Code:
(require 'geiser-mode)
(require 'geiser-guile)
(require 'guix-geiser)
(require 'guix-config)
(require 'guix-external)
(require 'guix-emacs)
(require 'guix-profiles)
(defvar guix-load-path
(file-name-directory (or load-file-name
(locate-library "guix")))
(defvar guix-load-path guix-config-emacs-interface-directory
"Directory with scheme files for \"guix.el\" package.")
(defvar guix-helper-file
(expand-file-name "guix-helper.scm" guix-load-path)
"Auxiliary scheme file for loading.")
(defvar guix-guile-program (or geiser-guile-binary "guile")
"Name of the guile executable used for Guix REPL.
May be either a string (the name of the executable) or a list of
strings of the form:
(NAME . ARGS)
Where ARGS is a list of arguments to the guile program.")
;;; REPL
@@ -92,7 +82,7 @@ If you have a slow system, try to increase this time."
:type 'string
:group 'guix-repl)
(defcustom guix-after-start-repl-hook ()
(defcustom guix-after-start-repl-hook '(guix-set-directory)
"Hook called after Guix REPL is started."
:type 'hook
:group 'guix-repl)
@@ -104,11 +94,24 @@ REPL while some packages are being installed/removed in the main REPL."
:type 'boolean
:group 'guix-repl)
(defcustom guix-default-port 37246
"Default port used if `guix-use-guile-server' is non-nil."
:type 'integer
(defcustom guix-repl-socket-file-name-function
#'guix-repl-socket-file-name
"Function used to define a socket file name used by Guix REPL.
The function is called without arguments."
:type '(choice (function-item guix-repl-socket-file-name)
(function :tag "Other function"))
:group 'guix-repl)
(defcustom guix-emacs-activate-after-operation t
"Activate Emacs packages after installing.
If nil, do not load autoloads of the Emacs packages after
they are successfully installed."
:type 'boolean
:group 'guix-repl)
(defvar guix-repl-current-socket nil
"Name of a socket file used by the current Guix REPL.")
(defvar guix-repl-buffer nil
"Main Geiser REPL buffer used for communicating with Guix.
This REPL is used for processing package actions and for
@@ -126,7 +129,7 @@ This REPL is used for receiving information only if
"Hook run before executing an operation in Guix REPL.")
(defvar guix-after-repl-operation-hook
'(guix-emacs-load-autoloads-maybe
'(guix-repl-autoload-emacs-packages-maybe
guix-repl-operation-success-message)
"Hook run after executing successful operation in Guix REPL.")
@@ -141,21 +144,43 @@ This internal variable is used to define what actions should be
executed after the current operation succeeds.
See `guix-eval-in-repl' for details.")
(defun guix-repl-autoload-emacs-packages-maybe ()
"Load autoloads for Emacs packages if needed.
See `guix-emacs-activate-after-operation' for details."
(and guix-emacs-activate-after-operation
;; FIXME Since a user can work with a non-current profile (using
;; C-u before `guix-search-by-name' and other commands), emacs
;; packages can be installed to another profile, and the
;; following code will not work (i.e., the autoloads for this
;; profile will not be loaded).
(guix-emacs-autoload-packages guix-current-profile)))
(defun guix-repl-operation-success-message ()
"Message telling about successful Guix operation."
(message "Guix operation has been performed."))
(defun guix-get-guile-program (&optional internal)
(defun guix-get-guile-program (&optional socket)
"Return a value suitable for `geiser-guile-binary'."
(if (or internal
(not guix-use-guile-server))
(if (null socket)
guix-guile-program
(append (if (listp guix-guile-program)
guix-guile-program
(list guix-guile-program))
;; Guile understands "--listen=..." but not "--listen ..."
(list (concat "--listen="
(number-to-string guix-default-port))))))
(list (concat "--listen=" socket)))))
(defun guix-repl-socket-file-name ()
"Return a name of a socket file used by Guix REPL."
(make-temp-name
(concat (file-name-as-directory temporary-file-directory)
"guix-repl-")))
(defun guix-repl-delete-socket-maybe ()
"Delete `guix-repl-current-socket' file if it exists."
(and guix-repl-current-socket
(file-exists-p guix-repl-current-socket)
(delete-file guix-repl-current-socket)))
(add-hook 'kill-emacs-hook 'guix-repl-delete-socket-maybe)
(defun guix-start-process-maybe (&optional start-msg end-msg)
"Start Geiser REPL configured for Guix if needed.
@@ -182,19 +207,21 @@ display messages."
(get-buffer-process repl))
(and start-msg (message start-msg))
(setq guix-repl-operation-p nil)
(let ((geiser-guile-binary (guix-get-guile-program internal))
(geiser-guile-init-file (or internal guix-helper-file))
(unless internal
;; Guile leaves socket file after exit, so remove it if it
;; exists (after the REPL restart).
(guix-repl-delete-socket-maybe)
(setq guix-repl-current-socket
(and guix-use-guile-server
(or guix-repl-current-socket
(funcall guix-repl-socket-file-name-function)))))
(let ((geiser-guile-binary (guix-get-guile-program
(unless internal
guix-repl-current-socket)))
(geiser-guile-init-file (unless internal guix-helper-file))
(repl (get-buffer-create
(guix-get-repl-buffer-name internal))))
(condition-case err
(guix-start-repl repl
(and internal
(geiser-repl--read-address
"localhost" guix-default-port)))
(text-read-only
(error (concat "Couldn't start Guix REPL. Perhaps the port %s is busy.\n"
"See buffer '%s' for details")
guix-default-port (buffer-name repl))))
(guix-start-repl repl (and internal guix-repl-current-socket))
(set repl-var repl)
(and end-msg (message end-msg))
(unless internal
@@ -208,7 +235,7 @@ this address (it should be defined by
;; A mix of the code from `geiser-repl--start-repl' and
;; `geiser-repl--to-repl-buffer'.
(let ((impl 'guile)
(geiser-guile-load-path (cons guix-load-path
(geiser-guile-load-path (cons (expand-file-name guix-load-path)
geiser-guile-load-path))
(geiser-repl-startup-time guix-repl-startup-time))
(with-current-buffer buffer
@@ -309,52 +336,43 @@ additional internal REPL if it exists."
(interactive "P")
(geiser-repl--switch-to-buffer (guix-get-repl-buffer internal)))
;;; Guix directory
(defvar guix-directory nil
"Default directory with Guix source.
If it is not set by a user, it is set after starting Guile REPL.
This directory is used to define package locations.")
(defun guix-read-directory ()
"Return `guix-directory' or prompt for it.
This function is intended for using in `interactive' forms."
(if current-prefix-arg
(read-directory-name "Directory with Guix modules: "
guix-directory)
guix-directory))
(defun guix-set-directory ()
"Set `guix-directory' if needed."
(or guix-directory
(setq guix-directory
(guix-eval-read "%guix-dir"))))
;;; Evaluating expressions
(defvar guix-operation-buffer nil
"Buffer from which the latest Guix operation was performed.")
(defun guix-make-guile-expression (fun &rest args)
"Return string containing a guile expression for calling FUN with ARGS."
(format "(%S %s)" fun
(mapconcat
(lambda (arg)
(cond
((null arg) "'()")
((or (eq arg t)
;; An ugly hack to separate 'false' from nil
(equal arg 'f)
(keywordp arg))
(concat "#" (prin1-to-string arg t)))
((or (symbolp arg) (listp arg))
(concat "'" (prin1-to-string arg)))
(t (prin1-to-string arg))))
args
" ")))
(defun guix-eval (str)
"Evaluate STR with guile expression using Guix REPL.
See `guix-geiser-eval' for details."
(guix-geiser-eval str (guix-get-repl-buffer 'internal)))
(defun guix-eval (str &optional wrap)
"Evaluate guile expression STR.
If WRAP is non-nil, wrap STR into (begin ...) form.
Return a list of strings with result values of evaluation."
(with-current-buffer (guix-get-repl-buffer 'internal)
(let* ((wrapped (if wrap (geiser-debug--wrap-region str) str))
(code `(:eval (:scm ,wrapped)))
(ret (geiser-eval--send/wait code)))
(if (geiser-eval--retort-error ret)
(error "Error in evaluating guile expression: %s"
(geiser-eval--retort-output ret))
(cdr (assq 'result ret))))))
(defun guix-eval-read (str &optional wrap)
"Evaluate guile expression STR.
For the meaning of WRAP, see `guix-eval'.
Return elisp expression of the first result value of evaluation."
;; Parsing scheme code with elisp `read' is probably not the best idea.
(read (replace-regexp-in-string
"#f\\|#<unspecified>" "nil"
(replace-regexp-in-string
"#t" "t" (car (guix-eval str wrap))))))
(defun guix-eval-read (str)
"Evaluate STR with guile expression using Guix REPL.
See `guix-geiser-eval-read' for details."
(guix-geiser-eval-read str (guix-get-repl-buffer 'internal)))
(defun guix-eval-in-repl (str &optional operation-buffer operation-type)
"Switch to Guix REPL and evaluate STR with guile expression there.
@@ -368,10 +386,7 @@ successful executing of the current operation,
(setq guix-repl-operation-p t
guix-repl-operation-type operation-type
guix-operation-buffer operation-buffer)
(let ((repl (guix-get-repl-buffer)))
(with-current-buffer repl
(geiser-repl--send str))
(geiser-repl--switch-to-buffer repl)))
(guix-geiser-eval-in-repl str (guix-get-repl-buffer)))
(provide 'guix-backend)
+130 -857
View File
File diff suppressed because it is too large Load Diff
+624
View File
@@ -0,0 +1,624 @@
;;; guix-buffer.el --- Buffer interface for displaying data -*- lexical-binding: t -*-
;; Copyright © 2014, 2015 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides a general 'buffer' interface for displaying an
;; arbitrary data.
;;; Code:
(require 'cl-lib)
(require 'guix-history)
(require 'guix-utils)
(defvar guix-buffer-map
(let ((map (make-sparse-keymap)))
(define-key map (kbd "l") 'guix-history-back)
(define-key map (kbd "r") 'guix-history-forward)
(define-key map (kbd "g") 'revert-buffer)
(define-key map (kbd "R") 'guix-buffer-redisplay)
map)
"Parent keymap for Guix buffer modes.")
;;; Buffer item
(cl-defstruct (guix-buffer-item
(:constructor nil)
(:constructor guix-buffer-make-item
(entries buffer-type entry-type args))
(:copier nil))
entries buffer-type entry-type args)
(defvar-local guix-buffer-item nil
"Data (structure) for the current Guix buffer.
The structure consists of the following elements:
- `entries': list of the currently displayed entries.
Each element of the list is an alist with an entry data of the
following form:
((PARAM . VAL) ...)
PARAM is a name of the entry parameter.
VAL is a value of this parameter.
- `entry-type': type of the currently displayed entries.
- `buffer-type': type of the current buffer.
- `args': search arguments used to get the current entries.")
(put 'guix-buffer-item 'permanent-local t)
(defmacro guix-buffer-with-item (item &rest body)
"Evaluate BODY using buffer ITEM.
The following local variables are available inside BODY:
`%entries', `%buffer-type', `%entry-type', `%args'.
See `guix-buffer-item' for details."
(declare (indent 1) (debug t))
(let ((item-var (make-symbol "item")))
`(let ((,item-var ,item))
(let ((%entries (guix-buffer-item-entries ,item-var))
(%buffer-type (guix-buffer-item-buffer-type ,item-var))
(%entry-type (guix-buffer-item-entry-type ,item-var))
(%args (guix-buffer-item-args ,item-var)))
,@body))))
(defmacro guix-buffer-with-current-item (&rest body)
"Evaluate BODY using `guix-buffer-item'.
See `guix-buffer-with-item' for details."
(declare (indent 0) (debug t))
`(guix-buffer-with-item guix-buffer-item
,@body))
(defmacro guix-buffer-define-current-item-accessor (name)
"Define `guix-buffer-current-NAME' function to access NAME
element of `guix-buffer-item' structure.
NAME should be a symbol."
(let* ((name-str (symbol-name name))
(accessor (intern (concat "guix-buffer-item-" name-str)))
(fun-name (intern (concat "guix-buffer-current-" name-str)))
(doc (format "\
Return '%s' of the current Guix buffer.
See `guix-buffer-item' for details."
name-str)))
`(defun ,fun-name ()
,doc
(and guix-buffer-item
(,accessor guix-buffer-item)))))
(defmacro guix-buffer-define-current-item-accessors (&rest names)
"Define `guix-buffer-current-NAME' functions for NAMES.
See `guix-buffer-define-current-item-accessor' for details."
`(progn
,@(mapcar (lambda (name)
`(guix-buffer-define-current-item-accessor ,name))
names)))
(guix-buffer-define-current-item-accessors
entries entry-type buffer-type args)
(defmacro guix-buffer-define-current-args-accessor (n prefix name)
"Define `PREFIX-NAME' function to access Nth element of 'args'
field of `guix-buffer-item' structure.
PREFIX and NAME should be strings."
(let ((fun-name (intern (concat prefix "-" name)))
(doc (format "\
Return '%s' of the current Guix buffer.
'%s' is the element number %d in 'args' of `guix-buffer-item'."
name name n)))
`(defun ,fun-name ()
,doc
(nth ,n (guix-buffer-current-args)))))
(defmacro guix-buffer-define-current-args-accessors (prefix &rest names)
"Define `PREFIX-NAME' functions for NAMES.
See `guix-buffer-define-current-args-accessor' for details."
`(progn
,@(cl-loop for name in names
for i from 0
collect `(guix-buffer-define-current-args-accessor
,i ,prefix ,name))))
;;; Wrappers for defined variables
(defvar guix-buffer-data nil
"Alist with 'buffer' data.
This alist is filled by `guix-buffer-define-interface' macro.")
(defun guix-buffer-value (buffer-type entry-type symbol)
"Return SYMBOL's value for BUFFER-TYPE/ENTRY-TYPE from `guix-buffer-data'."
(symbol-value
(guix-assq-value guix-buffer-data buffer-type entry-type symbol)))
(defun guix-buffer-get-entries (buffer-type entry-type args)
"Return ENTRY-TYPE entries.
Call an appropriate 'get-entries' function from `guix-buffer'
using ARGS as its arguments."
(apply (guix-buffer-value buffer-type entry-type 'get-entries)
args))
(defun guix-buffer-mode-enable (buffer-type entry-type)
"Turn on major mode to display ENTRY-TYPE ENTRIES in BUFFER-TYPE buffer."
(funcall (guix-buffer-value buffer-type entry-type 'mode)))
(defun guix-buffer-mode-initialize (buffer-type entry-type)
"Set up the current BUFFER-TYPE buffer to display ENTRY-TYPE entries."
(let ((fun (guix-buffer-value buffer-type entry-type 'mode-init)))
(when fun
(funcall fun))))
(defun guix-buffer-insert-entries (entries buffer-type entry-type)
"Show ENTRY-TYPE ENTRIES in the current BUFFER-TYPE buffer."
(funcall (guix-buffer-value buffer-type entry-type 'insert-entries)
entries))
(defun guix-buffer-show-entries-default (entries buffer-type entry-type)
"Show ENTRY-TYPE ENTRIES in the current BUFFER-TYPE buffer."
(let ((inhibit-read-only t))
(erase-buffer)
(guix-buffer-mode-enable buffer-type entry-type)
(guix-buffer-insert-entries entries buffer-type entry-type)
(goto-char (point-min))))
(defun guix-buffer-show-entries (entries buffer-type entry-type)
"Show ENTRY-TYPE ENTRIES in the current BUFFER-TYPE buffer."
(funcall (guix-buffer-value buffer-type entry-type 'show-entries)
entries))
(defun guix-buffer-message (entries buffer-type entry-type args)
"Display a message for BUFFER-ITEM after showing entries."
(let ((fun (guix-buffer-value buffer-type entry-type 'message)))
(when fun
(apply fun entries args))))
(defun guix-buffer-name (buffer-type entry-type args)
"Return name of BUFFER-TYPE buffer for displaying ENTRY-TYPE entries."
(let ((str-or-fun (guix-buffer-value buffer-type entry-type
'buffer-name)))
(if (stringp str-or-fun)
str-or-fun
(apply str-or-fun args))))
(defun guix-buffer-param-title (buffer-type entry-type param)
"Return PARAM title for BUFFER-TYPE/ENTRY-TYPE."
(or (guix-assq-value (guix-buffer-value buffer-type entry-type 'titles)
param)
;; Fallback to a title defined in 'info' interface.
(unless (eq buffer-type 'info)
(guix-assq-value (guix-buffer-value 'info entry-type 'titles)
param))
(guix-symbol-title param)))
(defun guix-buffer-history-size (buffer-type entry-type)
"Return history size for BUFFER-TYPE/ENTRY-TYPE."
(guix-buffer-value buffer-type entry-type 'history-size))
(defun guix-buffer-revert-confirm? (buffer-type entry-type)
"Return 'revert-confirm' value for BUFFER-TYPE/ENTRY-TYPE."
(guix-buffer-value buffer-type entry-type 'revert-confirm))
;;; Displaying entries
(defun guix-buffer-display (buffer)
"Switch to a Guix BUFFER."
(pop-to-buffer buffer
'((display-buffer-reuse-window
display-buffer-same-window))))
(defun guix-buffer-history-item (buffer-item)
"Make and return a history item for displaying BUFFER-ITEM."
(list #'guix-buffer-set buffer-item))
(defun guix-buffer-set (buffer-item &optional history)
"Set up the current buffer for displaying BUFFER-ITEM.
HISTORY should be one of the following:
`nil' - do not save BUFFER-ITEM in history,
`add' - add it to history,
`replace' - replace the current history item."
(guix-buffer-with-item buffer-item
(when %entries
;; Set buffer item before showing entries, so that its value can
;; be used by the code for displaying entries.
(setq guix-buffer-item buffer-item)
(guix-buffer-show-entries %entries %buffer-type %entry-type)
(when history
(funcall (cl-ecase history
(add #'guix-history-add)
(replace #'guix-history-replace))
(guix-buffer-history-item buffer-item))))
(guix-buffer-message %entries %buffer-type %entry-type %args)))
(defun guix-buffer-display-entries-current
(entries buffer-type entry-type args &optional history)
"Show ENTRIES in the current Guix buffer.
See `guix-buffer-item' for the meaning of BUFFER-TYPE, ENTRY-TYPE
and ARGS, and `guix-buffer-set' for the meaning of HISTORY."
(let ((item (guix-buffer-make-item entries buffer-type
entry-type args)))
(guix-buffer-set item history)))
(defun guix-buffer-get-display-entries-current
(buffer-type entry-type args &optional history)
"Search for entries and show them in the current Guix buffer.
See `guix-buffer-display-entries-current' for details."
(guix-buffer-display-entries-current
(guix-buffer-get-entries buffer-type entry-type args)
buffer-type entry-type args history))
(defun guix-buffer-display-entries
(entries buffer-type entry-type args &optional history)
"Show ENTRIES in a BUFFER-TYPE buffer.
See `guix-buffer-display-entries-current' for details."
(let ((buffer (get-buffer-create
(guix-buffer-name buffer-type entry-type args))))
(with-current-buffer buffer
(guix-buffer-display-entries-current
entries buffer-type entry-type args history))
(when entries
(guix-buffer-display buffer))))
(defun guix-buffer-get-display-entries
(buffer-type entry-type args &optional history)
"Search for entries and show them in a BUFFER-TYPE buffer.
See `guix-buffer-display-entries-current' for details."
(guix-buffer-display-entries
(guix-buffer-get-entries buffer-type entry-type args)
buffer-type entry-type args history))
(defun guix-buffer-revert (_ignore-auto noconfirm)
"Update the data in the current Guix buffer.
This function is suitable for `revert-buffer-function'.
See `revert-buffer' for the meaning of NOCONFIRM."
(guix-buffer-with-current-item
(when (or noconfirm
(not (guix-buffer-revert-confirm? %buffer-type %entry-type))
(y-or-n-p "Update the current buffer? "))
(guix-buffer-get-display-entries-current
%buffer-type %entry-type %args 'replace))))
(defvar guix-buffer-after-redisplay-hook nil
"Hook run by `guix-buffer-redisplay'.
This hook is called before seting up a window position.")
(defun guix-buffer-redisplay ()
"Redisplay the current Guix buffer.
Restore the point and window positions after redisplaying.
This function does not update the buffer data, use
'\\[revert-buffer]' if you want the full update."
(interactive)
(let* ((old-point (point))
;; For simplicity, ignore an unlikely case when multiple
;; windows display the same buffer.
(window (car (get-buffer-window-list (current-buffer) nil t)))
(window-start (and window (window-start window))))
(guix-buffer-set guix-buffer-item)
(goto-char old-point)
(run-hooks 'guix-buffer-after-redisplay-hook)
(when window
(set-window-point window (point))
(set-window-start window window-start))))
(defun guix-buffer-redisplay-goto-button ()
"Redisplay the current buffer and go to the next button, if needed."
(let ((guix-buffer-after-redisplay-hook
(cons (lambda ()
(unless (button-at (point))
(forward-button 1)))
guix-buffer-after-redisplay-hook)))
(guix-buffer-redisplay)))
;;; Interface definers
(defmacro guix-define-groups (type &rest args)
"Define `guix-TYPE' and `guix-TYPE-faces' custom groups.
Remaining arguments (ARGS) should have a form [KEYWORD VALUE] ...
Optional keywords:
- `:parent-group' - name of a parent custom group.
- `:parent-faces-group' - name of a parent custom faces group.
- `:group-doc' - docstring of a `guix-TYPE' group.
- `:faces-group-doc' - docstring of a `guix-TYPE-faces' group."
(declare (indent 1))
(let* ((type-str (symbol-name type))
(prefix (concat "guix-" type-str))
(group (intern prefix))
(faces-group (intern (concat prefix "-faces"))))
(guix-keyword-args-let args
((parent-group :parent-group 'guix)
(parent-faces-group :parent-faces-group 'guix-faces)
(group-doc :group-doc
(format "Settings for '%s' buffers."
type-str))
(faces-group-doc :faces-group-doc
(format "Faces for '%s' buffers."
type-str)))
`(progn
(defgroup ,group nil
,group-doc
:group ',parent-group)
(defgroup ,faces-group nil
,faces-group-doc
:group ',group
:group ',parent-faces-group)))))
(defmacro guix-define-entry-type (entry-type &rest args)
"Define general code for ENTRY-TYPE.
See `guix-define-groups'."
(declare (indent 1))
`(guix-define-groups ,entry-type
,@args))
(defmacro guix-define-buffer-type (buffer-type &rest args)
"Define general code for BUFFER-TYPE.
See `guix-define-groups'."
(declare (indent 1))
`(guix-define-groups ,buffer-type
,@args))
(defmacro guix-buffer-define-interface (buffer-type entry-type &rest args)
"Define BUFFER-TYPE interface for displaying ENTRY-TYPE entries.
Remaining arguments (ARGS) should have a form [KEYWORD VALUE] ...
In the following description TYPE means ENTRY-TYPE-BUFFER-TYPE.
Required keywords:
- `:buffer-name' - default value of the generated
`guix-TYPE-buffer-name' variable.
- `:get-entries-function' - default value of the generated
`guix-TYPE-get-function' variable.
- `:show-entries-function' - default value of the generated
`guix-TYPE-show-function' variable.
Alternatively, if `:show-entries-function' is not specified, a
default `guix-TYPE-show-entries' will be generated, and the
following keyword should be specified instead:
- `:insert-entries-function' - default value of the generated
`guix-TYPE-insert-function' variable.
Optional keywords:
- `:message-function' - default value of the generated
`guix-TYPE-message-function' variable.
- `:titles' - default value of the generated
`guix-TYPE-titles' variable.
- `:history-size' - default value of the generated
`guix-TYPE-history-size' variable.
- `:revert-confirm?' - default value of the generated
`guix-TYPE-revert-confirm' variable.
- `:mode-name' - name (a string appeared in the mode-line) of
the generated `guix-TYPE-mode'.
- `:mode-init-function' - default value of the generated
`guix-TYPE-mode-initialize-function' variable.
- `:reduced?' - if non-nil, generate only group, faces group
and titles variable (if specified); all keywords become
optional."
(declare (indent 2))
(let* ((entry-type-str (symbol-name entry-type))
(buffer-type-str (symbol-name buffer-type))
(prefix (concat "guix-" entry-type-str "-"
buffer-type-str))
(group (intern prefix))
(faces-group (intern (concat prefix "-faces")))
(get-entries-var (intern (concat prefix "-get-function")))
(show-entries-var (intern (concat prefix "-show-function")))
(show-entries-fun (intern (concat prefix "-show-entries")))
(message-var (intern (concat prefix "-message-function")))
(buffer-name-var (intern (concat prefix "-buffer-name")))
(titles-var (intern (concat prefix "-titles")))
(history-size-var (intern (concat prefix "-history-size")))
(revert-confirm-var (intern (concat prefix "-revert-confirm"))))
(guix-keyword-args-let args
((get-entries-val :get-entries-function)
(show-entries-val :show-entries-function)
(insert-entries-val :insert-entries-function)
(mode-name :mode-name (capitalize prefix))
(mode-init-val :mode-init-function)
(message-val :message-function)
(buffer-name-val :buffer-name)
(titles-val :titles)
(history-size-val :history-size 20)
(revert-confirm-val :revert-confirm? t)
(reduced? :reduced?))
`(progn
(defgroup ,group nil
,(format "Displaying '%s' entries in '%s' buffer."
entry-type-str buffer-type-str)
:group ',(intern (concat "guix-" entry-type-str))
:group ',(intern (concat "guix-" buffer-type-str)))
(defgroup ,faces-group nil
,(format "Faces for displaying '%s' entries in '%s' buffer."
entry-type-str buffer-type-str)
:group ',group
:group ',(intern (concat "guix-" entry-type-str "-faces"))
:group ',(intern (concat "guix-" buffer-type-str "-faces")))
(defcustom ,titles-var ,titles-val
,(format "Alist of titles of '%s' parameters."
entry-type-str)
:type '(alist :key-type symbol :value-type string)
:group ',group)
,(unless reduced?
`(progn
(defvar ,get-entries-var ,get-entries-val
,(format "\
Function used to receive '%s' entries for '%s' buffer."
entry-type-str buffer-type-str))
(defvar ,show-entries-var
,(or show-entries-val `',show-entries-fun)
,(format "\
Function used to show '%s' entries in '%s' buffer."
entry-type-str buffer-type-str))
(defvar ,message-var ,message-val
,(format "\
Function used to display a message after showing '%s' entries.
If nil, do not display messages."
entry-type-str))
(defcustom ,buffer-name-var ,buffer-name-val
,(format "\
Default name of '%s' buffer for displaying '%s' entries.
May be a string or a function returning a string. The function
is called with the same arguments as `%S'."
buffer-type-str entry-type-str get-entries-var)
:type '(choice string function)
:group ',group)
(defcustom ,history-size-var ,history-size-val
,(format "\
Maximum number of items saved in history of `%S' buffer.
If 0, the history is disabled."
buffer-name-var)
:type 'integer
:group ',group)
(defcustom ,revert-confirm-var ,revert-confirm-val
,(format "\
If non-nil, ask to confirm for reverting `%S' buffer."
buffer-name-var)
:type 'boolean
:group ',group)
(guix-alist-put!
'((get-entries . ,get-entries-var)
(show-entries . ,show-entries-var)
(message . ,message-var)
(buffer-name . ,buffer-name-var)
(history-size . ,history-size-var)
(revert-confirm . ,revert-confirm-var))
'guix-buffer-data ',buffer-type ',entry-type)
,(unless show-entries-val
`(defun ,show-entries-fun (entries)
,(format "\
Show '%s' ENTRIES in the current '%s' buffer."
entry-type-str buffer-type-str)
(guix-buffer-show-entries-default
entries ',buffer-type ',entry-type)))
,(when (or insert-entries-val
(null show-entries-val))
(let ((insert-entries-var
(intern (concat prefix "-insert-function"))))
`(progn
(defvar ,insert-entries-var ,insert-entries-val
,(format "\
Function used to print '%s' entries in '%s' buffer."
entry-type-str buffer-type-str))
(guix-alist-put!
',insert-entries-var 'guix-buffer-data
',buffer-type ',entry-type
'insert-entries))))
,(when (or mode-name
mode-init-val
(null show-entries-val))
(let* ((mode-str (concat prefix "-mode"))
(mode-map-str (concat mode-str "-map"))
(mode (intern mode-str))
(parent-mode (intern
(concat "guix-" buffer-type-str
"-mode")))
(mode-var (intern
(concat mode-str "-function")))
(mode-init-var (intern
(concat mode-str
"-initialize-function"))))
`(progn
(defvar ,mode-var ',mode
,(format "\
Major mode for displaying '%s' entries in '%s' buffer."
entry-type-str buffer-type-str))
(defvar ,mode-init-var ,mode-init-val
,(format "\
Function used to set up '%s' buffer for displaying '%s' entries."
buffer-type-str entry-type-str))
(define-derived-mode ,mode ,parent-mode ,mode-name
,(format "\
Major mode for displaying '%s' entries in '%s' buffer.
\\{%s}"
entry-type-str buffer-type-str mode-map-str)
(setq-local revert-buffer-function
'guix-buffer-revert)
(setq-local guix-history-size
(guix-buffer-history-size
',buffer-type ',entry-type))
(guix-buffer-mode-initialize
',buffer-type ',entry-type))
(guix-alist-put!
',mode-var 'guix-buffer-data
',buffer-type ',entry-type 'mode)
(guix-alist-put!
',mode-init-var 'guix-buffer-data
',buffer-type ',entry-type
'mode-init))))))
(guix-alist-put!
',titles-var 'guix-buffer-data
',buffer-type ',entry-type 'titles)))))
(defvar guix-buffer-font-lock-keywords
(eval-when-compile
`((,(rx "(" (group (or "guix-buffer-with-item"
"guix-buffer-with-current-item"
"guix-buffer-define-interface"
"guix-define-groups"
"guix-define-entry-type"
"guix-define-buffer-type"))
symbol-end)
. 1))))
(font-lock-add-keywords 'emacs-lisp-mode guix-buffer-font-lock-keywords)
(provide 'guix-buffer)
;;; guix-buffer.el ends here
+381
View File
@@ -0,0 +1,381 @@
;;; guix-build-log.el --- Major and minor modes for build logs -*- lexical-binding: t -*-
;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides a major mode (`guix-build-log-mode') and a minor mode
;; (`guix-build-log-minor-mode') for highlighting Guix build logs.
;;; Code:
(require 'guix-utils)
(defgroup guix-build-log nil
"Settings for `guix-build-log-mode'."
:group 'guix)
(defgroup guix-build-log-faces nil
"Faces for `guix-build-log-mode'."
:group 'guix-build-log
:group 'guix-faces)
(defface guix-build-log-title-head
'((t :inherit font-lock-keyword-face))
"Face for '@' symbol of a log title."
:group 'guix-build-log-faces)
(defface guix-build-log-title-start
'((t :inherit guix-build-log-title-head))
"Face for a log title denoting a start of a process."
:group 'guix-build-log-faces)
(defface guix-build-log-title-success
'((t :inherit guix-build-log-title-head))
"Face for a log title denoting a successful end of a process."
:group 'guix-build-log-faces)
(defface guix-build-log-title-fail
'((t :inherit error))
"Face for a log title denoting a failed end of a process."
:group 'guix-build-log-faces)
(defface guix-build-log-title-end
'((t :inherit guix-build-log-title-head))
"Face for a log title denoting an undefined end of a process."
:group 'guix-build-log-faces)
(defface guix-build-log-phase-name
'((t :inherit font-lock-function-name-face))
"Face for a phase name."
:group 'guix-build-log-faces)
(defface guix-build-log-phase-start
'((default :weight bold)
(((class grayscale) (background light)) :foreground "Gray90")
(((class grayscale) (background dark)) :foreground "DimGray")
(((class color) (min-colors 16) (background light))
:foreground "DarkGreen")
(((class color) (min-colors 16) (background dark))
:foreground "LimeGreen")
(((class color) (min-colors 8)) :foreground "green"))
"Face for the start line of a phase."
:group 'guix-build-log-faces)
(defface guix-build-log-phase-end
'((((class grayscale) (background light)) :foreground "Gray90")
(((class grayscale) (background dark)) :foreground "DimGray")
(((class color) (min-colors 16) (background light))
:foreground "ForestGreen")
(((class color) (min-colors 16) (background dark))
:foreground "LightGreen")
(((class color) (min-colors 8)) :foreground "green")
(t :weight bold))
"Face for the end line of a phase."
:group 'guix-build-log-faces)
(defface guix-build-log-phase-success
'((t))
"Face for the 'succeeded' word of a phase line."
:group 'guix-build-log-faces)
(defface guix-build-log-phase-fail
'((t :inherit error))
"Face for the 'failed' word of a phase line."
:group 'guix-build-log-faces)
(defface guix-build-log-phase-seconds
'((t :inherit font-lock-constant-face))
"Face for the number of seconds for a phase."
:group 'guix-build-log-faces)
(defcustom guix-build-log-minor-mode-activate t
"If non-nil, then `guix-build-log-minor-mode' is automatically
activated in `shell-mode' buffers."
:type 'boolean
:group 'guix-build-log)
(defcustom guix-build-log-mode-hook '()
"Hook run after `guix-build-log-mode' is entered."
:type 'hook
:group 'guix-build-log)
(defvar guix-build-log-phase-name-regexp "`\\([^']+\\)'"
"Regexp for a phase name.")
(defvar guix-build-log-phase-start-regexp
(concat "^starting phase " guix-build-log-phase-name-regexp)
"Regexp for the start line of a 'build' phase.")
(defun guix-build-log-title-regexp (&optional state)
"Return regexp for the log title.
STATE is a symbol denoting a state of the title. It should be
`start', `fail', `success' or `nil' (for a regexp matching any
state)."
(let* ((word-rx (rx (1+ (any word "-"))))
(state-rx (cond ((eq state 'start) (concat word-rx "started"))
((eq state 'success) (concat word-rx "succeeded"))
((eq state 'fail) (concat word-rx "failed"))
(t word-rx))))
(rx-to-string
`(and bol (group "@") " " (group (regexp ,state-rx)))
t)))
(defun guix-build-log-phase-end-regexp (&optional state)
"Return regexp for the end line of a 'build' phase.
STATE is a symbol denoting how a build phase was ended. It should be
`fail', `success' or `nil' (for a regexp matching any state)."
(let ((state-rx (cond ((eq state 'success) "succeeded")
((eq state 'fail) "failed")
(t (regexp-opt '("succeeded" "failed"))))))
(rx-to-string
`(and bol "phase " (regexp ,guix-build-log-phase-name-regexp)
" " (group (regexp ,state-rx)) " after "
(group (1+ (or digit "."))) " seconds")
t)))
(defvar guix-build-log-phase-end-regexp
;; For efficiency, it is better to have a regexp for the general line
;; of the phase end, then to call the function all the time.
(guix-build-log-phase-end-regexp)
"Regexp for the end line of a 'build' phase.")
(defvar guix-build-log-font-lock-keywords
`((,(guix-build-log-title-regexp 'start)
(1 'guix-build-log-title-head)
(2 'guix-build-log-title-start))
(,(guix-build-log-title-regexp 'success)
(1 'guix-build-log-title-head)
(2 'guix-build-log-title-success))
(,(guix-build-log-title-regexp 'fail)
(1 'guix-build-log-title-head)
(2 'guix-build-log-title-fail))
(,(guix-build-log-title-regexp)
(1 'guix-build-log-title-head)
(2 'guix-build-log-title-end))
(,guix-build-log-phase-start-regexp
(0 'guix-build-log-phase-start)
(1 'guix-build-log-phase-name prepend))
(,(guix-build-log-phase-end-regexp 'success)
(0 'guix-build-log-phase-end)
(1 'guix-build-log-phase-name prepend)
(2 'guix-build-log-phase-success prepend)
(3 'guix-build-log-phase-seconds prepend))
(,(guix-build-log-phase-end-regexp 'fail)
(0 'guix-build-log-phase-end)
(1 'guix-build-log-phase-name prepend)
(2 'guix-build-log-phase-fail prepend)
(3 'guix-build-log-phase-seconds prepend)))
"A list of `font-lock-keywords' for `guix-build-log-mode'.")
(defvar guix-build-log-common-map
(let ((map (make-sparse-keymap)))
(define-key map (kbd "M-n") 'guix-build-log-next-phase)
(define-key map (kbd "M-p") 'guix-build-log-previous-phase)
(define-key map (kbd "TAB") 'guix-build-log-phase-toggle)
(define-key map (kbd "<tab>") 'guix-build-log-phase-toggle)
(define-key map (kbd "<backtab>") 'guix-build-log-phase-toggle-all)
(define-key map [(shift tab)] 'guix-build-log-phase-toggle-all)
map)
"Parent keymap for 'build-log' buffers.
For `guix-build-log-mode' this map is used as is.
For `guix-build-log-minor-mode' this map is prefixed with 'C-c'.")
(defvar guix-build-log-mode-map
(let ((map (make-sparse-keymap)))
(set-keymap-parent
map (make-composed-keymap (list guix-build-log-common-map)
special-mode-map))
(define-key map (kbd "c") 'compilation-shell-minor-mode)
(define-key map (kbd "v") 'view-mode)
map)
"Keymap for `guix-build-log-mode' buffers.")
(defvar guix-build-log-minor-mode-map
(let ((map (make-sparse-keymap)))
(define-key map (kbd "C-c") guix-build-log-common-map)
map)
"Keymap for `guix-build-log-minor-mode' buffers.")
(defun guix-build-log-phase-start (&optional with-header?)
"Return the start point of the current build phase.
If WITH-HEADER? is non-nil, do not skip 'starting phase ...' header.
Return nil, if there is no phase start before the current point."
(save-excursion
(end-of-line)
(when (re-search-backward guix-build-log-phase-start-regexp nil t)
(unless with-header? (end-of-line))
(point))))
(defun guix-build-log-phase-end ()
"Return the end point of the current build phase."
(save-excursion
(beginning-of-line)
(when (re-search-forward guix-build-log-phase-end-regexp nil t)
(point))))
(defun guix-build-log-phase-hide ()
"Hide the body of the current build phase."
(interactive)
(let ((beg (guix-build-log-phase-start))
(end (guix-build-log-phase-end)))
(when (and beg end)
;; If not on the header line, move to it.
(when (and (> (point) beg)
(< (point) end))
(goto-char (guix-build-log-phase-start t)))
(remove-overlays beg end 'invisible t)
(let ((o (make-overlay beg end)))
(overlay-put o 'evaporate t)
(overlay-put o 'invisible t)))))
(defun guix-build-log-phase-show ()
"Show the body of the current build phase."
(interactive)
(let ((beg (guix-build-log-phase-start))
(end (guix-build-log-phase-end)))
(when (and beg end)
(remove-overlays beg end 'invisible t))))
(defun guix-build-log-phase-hidden-p ()
"Return non-nil, if the body of the current build phase is hidden."
(let ((beg (guix-build-log-phase-start)))
(and beg
(cl-some (lambda (o)
(overlay-get o 'invisible))
(overlays-at beg)))))
(defun guix-build-log-phase-toggle-function ()
"Return a function to toggle the body of the current build phase."
(if (guix-build-log-phase-hidden-p)
#'guix-build-log-phase-show
#'guix-build-log-phase-hide))
(defun guix-build-log-phase-toggle ()
"Show/hide the body of the current build phase."
(interactive)
(funcall (guix-build-log-phase-toggle-function)))
(defun guix-build-log-phase-toggle-all ()
"Show/hide the bodies of all build phases."
(interactive)
(save-excursion
;; Some phases may be hidden, and some shown. Whether to hide or to
;; show them, it is determined by the state of the first phase here.
(goto-char (point-min))
(let ((fun (save-excursion
(re-search-forward guix-build-log-phase-start-regexp nil t)
(guix-build-log-phase-toggle-function))))
(while (re-search-forward guix-build-log-phase-start-regexp nil t)
(funcall fun)))))
(defun guix-build-log-next-phase (&optional arg)
"Move to the next build phase.
With ARG, do it that many times. Negative ARG means move
backward."
(interactive "^p")
(if arg
(when (zerop arg) (user-error "Try again"))
(setq arg 1))
(let ((search-fun (if (> arg 0)
#'re-search-forward
#'re-search-backward))
(n (abs arg))
found last-found)
(save-excursion
(end-of-line (if (> arg 0) 1 0)) ; skip the current line
(while (and (not (zerop n))
(setq found
(funcall search-fun
guix-build-log-phase-start-regexp
nil t)))
(setq n (1- n)
last-found found)))
(when last-found
(goto-char last-found)
(forward-line 0))
(or found
(user-error (if (> arg 0)
"No next build phase"
"No previous build phase")))))
(defun guix-build-log-previous-phase (&optional arg)
"Move to the previous build phase.
With ARG, do it that many times. Negative ARG means move
forward."
(interactive "^p")
(guix-build-log-next-phase (- (or arg 1))))
;;;###autoload
(define-derived-mode guix-build-log-mode special-mode
"Guix-Build-Log"
"Major mode for viewing Guix build logs.
\\{guix-build-log-mode-map}"
(setq font-lock-defaults '(guix-build-log-font-lock-keywords t)))
;;;###autoload
(define-minor-mode guix-build-log-minor-mode
"Toggle Guix Build Log minor mode.
With a prefix argument ARG, enable Guix Build Log minor mode if
ARG is positive, and disable it otherwise. If called from Lisp,
enable the mode if ARG is omitted or nil.
When Guix Build Log minor mode is enabled, it highlights build
log in the current buffer. This mode can be enabled
programmatically using hooks:
(add-hook 'shell-mode-hook 'guix-build-log-minor-mode)
\\{guix-build-log-minor-mode-map}"
:init-value nil
:lighter " Guix-Build-Log"
:keymap guix-build-log-minor-mode-map
:group 'guix-build-log
(if guix-build-log-minor-mode
(font-lock-add-keywords nil guix-build-log-font-lock-keywords)
(font-lock-remove-keywords nil guix-build-log-font-lock-keywords))
(when font-lock-mode
(font-lock-fontify-buffer)))
;;;###autoload
(defun guix-build-log-minor-mode-activate-maybe ()
"Activate `guix-build-log-minor-mode' depending on
`guix-build-log-minor-mode-activate' variable."
(when guix-build-log-minor-mode-activate
(guix-build-log-minor-mode)))
(defun guix-build-log-find-file (file-or-url)
"Open FILE-OR-URL in `guix-build-log-mode'."
(guix-find-file-or-url file-or-url)
(guix-build-log-mode))
;;;###autoload
(add-hook 'shell-mode-hook 'guix-build-log-minor-mode-activate-maybe)
;;;###autoload
(add-to-list 'auto-mode-alist
;; Regexp for log files (usually placed in /var/log/guix/...)
(cons (rx "/guix/drvs/" (= 2 alnum) "/" (= 30 alnum)
"-" (+ (any alnum "-+.")) ".drv" string-end)
'guix-build-log-mode))
(provide 'guix-build-log)
;;; guix-build-log.el ends here
+830
View File
@@ -0,0 +1,830 @@
;;; guix-command.el --- Popup interface for guix commands -*- lexical-binding: t -*-
;; Copyright © 2015, 2016 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides a magit-like popup interface for running guix
;; commands in Guix REPL. The entry point is "M-x guix". When it is
;; called the first time, "guix --help" output is parsed and
;; `guix-COMMAND-action' functions are generated for each available guix
;; COMMAND. Then a window with these commands is popped up. When a
;; particular COMMAND is called, "guix COMMAND --help" output is parsed,
;; and a user get a new popup window with available options for this
;; command and so on.
;; To avoid hard-coding all guix options, actions, etc., as much data is
;; taken from "guix ... --help" outputs as possible. But this data is
;; still incomplete: not all long options have short analogs, also
;; special readers should be used for some options (for example, to
;; complete package names while prompting for a package). So after
;; parsing --help output, the arguments are "improved". All arguments
;; (switches, options and actions) are `guix-command-argument'
;; structures.
;; Only "M-x guix" command is available after this file is loaded. The
;; rest commands/actions/popups are generated on the fly only when they
;; are needed (that's why there is a couple of `eval'-s in this file).
;; COMMANDS argument is used by many functions in this file. It means a
;; list of guix commands without "guix" itself, e.g.: ("build"),
;; ("import" "gnu"). The empty list stands for the plain "guix" without
;; subcommands.
;; All actions in popup windows are divided into 2 groups:
;;
;; - 'Popup' actions - used to pop up another window. For example, every
;; action in the 'guix' or 'guix import' window is a popup action. They
;; are defined by `guix-command-define-popup-action' macro.
;;
;; - 'Execute' actions - used to do something with the command line (to
;; run a command in Guix REPL or to copy it into kill-ring) constructed
;; with the current popup. They are defined by
;; `guix-command-define-execute-action' macro.
;;; Code:
(require 'cl-lib)
(require 'guix-popup)
(require 'guix-utils)
(require 'guix-help-vars)
(require 'guix-read)
(require 'guix-base)
(require 'guix-build-log)
(require 'guix-guile)
(require 'guix-external)
(defgroup guix-commands nil
"Settings for guix popup windows."
:group 'guix)
(defvar guix-command-complex-with-shared-arguments
'("system")
"List of guix commands which have subcommands with shared options.
I.e., 'guix foo --help' is the same as 'guix foo bar --help'.")
(defun guix-command-action-name (&optional commands &rest name-parts)
"Return name of action function for guix COMMANDS."
(guix-command-symbol (append commands name-parts (list "action"))))
;;; Command arguments
(cl-defstruct (guix-command-argument
(:constructor guix-command-make-argument)
(:copier guix-command-copy-argument))
name char doc fun switch? option? action?)
(cl-defun guix-command-modify-argument
(argument &key
(name nil name-bound?)
(char nil char-bound?)
(doc nil doc-bound?)
(fun nil fun-bound?)
(switch? nil switch?-bound?)
(option? nil option?-bound?)
(action? nil action?-bound?))
"Return a modified version of ARGUMENT."
(declare (indent 1))
(let ((copy (guix-command-copy-argument argument)))
(and name-bound? (setf (guix-command-argument-name copy) name))
(and char-bound? (setf (guix-command-argument-char copy) char))
(and doc-bound? (setf (guix-command-argument-doc copy) doc))
(and fun-bound? (setf (guix-command-argument-fun copy) fun))
(and switch?-bound? (setf (guix-command-argument-switch? copy) switch?))
(and option?-bound? (setf (guix-command-argument-option? copy) option?))
(and action?-bound? (setf (guix-command-argument-action? copy) action?))
copy))
(defun guix-command-modify-argument-from-alist (argument alist)
"Return a modified version of ARGUMENT or nil if it wasn't modified.
Each assoc from ALIST have a form (NAME . PLIST). NAME is an
argument name. PLIST is a property list of argument parameters
to be modified."
(let* ((name (guix-command-argument-name argument))
(plist (guix-assoc-value alist name)))
(when plist
(apply #'guix-command-modify-argument
argument plist))))
(defmacro guix-command-define-argument-improver (name alist)
"Define NAME variable and function to modify an argument from ALIST."
(declare (indent 1))
`(progn
(defvar ,name ,alist)
(defun ,name (argument)
(guix-command-modify-argument-from-alist argument ,name))))
(guix-command-define-argument-improver
guix-command-improve-action-argument
'(("container" :char ?C)
("graph" :char ?G)
("environment" :char ?E)
("publish" :char ?u)
("pull" :char ?P)
("size" :char ?z)))
(guix-command-define-argument-improver
guix-command-improve-common-argument
'(("--help" :switch? nil)
("--version" :switch? nil)))
(guix-command-define-argument-improver
guix-command-improve-target-argument
'(("--target" :char ?T)))
(guix-command-define-argument-improver
guix-command-improve-system-type-argument
'(("--system" :fun guix-read-system-type)))
(guix-command-define-argument-improver
guix-command-improve-load-path-argument
'(("--load-path" :fun read-directory-name)))
(guix-command-define-argument-improver
guix-command-improve-search-paths-argument
'(("--search-paths" :char ?P)))
(guix-command-define-argument-improver
guix-command-improve-substitute-urls-argument
'(("--substitute-urls" :char ?U)))
(guix-command-define-argument-improver
guix-command-improve-hash-argument
'(("--format" :fun guix-read-hash-format)))
(guix-command-define-argument-improver
guix-command-improve-key-policy-argument
'(("--key-download" :fun guix-read-key-policy)))
(defvar guix-command-improve-common-build-argument
'(("--no-substitutes" :char ?s)
("--no-build-hook" :char ?h)
("--max-silent-time" :char ?x)
("--rounds" :char ?R :fun read-number)
("--with-input" :char ?W)))
(defun guix-command-improve-common-build-argument (argument)
(guix-command-modify-argument-from-alist
argument
(append guix-command-improve-load-path-argument
guix-command-improve-substitute-urls-argument
guix-command-improve-common-build-argument)))
(guix-command-define-argument-improver
guix-command-improve-archive-argument
'(("--generate-key" :char ?k)))
(guix-command-define-argument-improver
guix-command-improve-build-argument
'(("--no-grafts" :char ?g)
("--file" :fun guix-read-file-name)
("--root" :fun guix-read-file-name)
("--sources" :char ?S :fun guix-read-source-type :switch? nil)
("--with-source" :fun guix-read-file-name)))
(guix-command-define-argument-improver
guix-command-improve-environment-argument
'(("--ad-hoc"
:name "--ad-hoc " :fun guix-read-package-names-string
:switch? nil :option? t)
("--expose" :char ?E)
("--share" :char ?S)
("--load" :fun guix-read-file-name)))
(guix-command-define-argument-improver
guix-command-improve-gc-argument
'(("--list-dead" :char ?D)
("--list-live" :char ?L)
("--referrers" :char ?f)
("--verify" :fun guix-read-verify-options-string)))
(guix-command-define-argument-improver
guix-command-improve-graph-argument
'(("--type" :fun guix-read-graph-type)))
(guix-command-define-argument-improver
guix-command-improve-import-argument
'(("cran" :char ?r)))
(guix-command-define-argument-improver
guix-command-improve-import-elpa-argument
'(("--archive" :fun guix-read-elpa-archive)))
(guix-command-define-argument-improver
guix-command-improve-lint-argument
'(("--checkers" :fun guix-read-lint-checker-names-string)))
(guix-command-define-argument-improver
guix-command-improve-package-argument
;; Unlike all other options, --install/--remove do not have a form
;; '--install=foo,bar' but '--install foo bar' instead, so we need
;; some tweaks.
'(("--install"
:name "--install " :fun guix-read-package-names-string
:switch? nil :option? t)
("--remove"
:name "--remove " :fun guix-read-package-names-string
:switch? nil :option? t)
("--install-from-file" :fun guix-read-file-name)
("--manifest" :fun guix-read-file-name)
("--profile" :fun guix-read-file-name)
("--do-not-upgrade" :char ?U)
("--roll-back" :char ?R)
("--show" :char ?w :fun guix-read-package-name)))
(guix-command-define-argument-improver
guix-command-improve-refresh-argument
'(("--select" :fun guix-read-refresh-subset)
("--type" :fun guix-read-refresh-updater-names-string)
("--key-server" :char ?S)))
(guix-command-define-argument-improver
guix-command-improve-size-argument
'(("--map-file" :fun guix-read-file-name)))
(guix-command-define-argument-improver
guix-command-improve-system-argument
'(("disk-image" :char ?D)
("vm-image" :char ?V)
("--on-error" :char ?E)
("--no-grub" :char ?g)
("--full-boot" :char ?b)))
(defvar guix-command-argument-improvers
'((()
guix-command-improve-action-argument)
(("archive")
guix-command-improve-common-build-argument
guix-command-improve-target-argument
guix-command-improve-system-type-argument
guix-command-improve-archive-argument)
(("build")
guix-command-improve-common-build-argument
guix-command-improve-target-argument
guix-command-improve-system-type-argument
guix-command-improve-build-argument)
(("download")
guix-command-improve-hash-argument)
(("hash")
guix-command-improve-hash-argument)
(("environment")
guix-command-improve-common-build-argument
guix-command-improve-search-paths-argument
guix-command-improve-system-type-argument
guix-command-improve-environment-argument)
(("gc")
guix-command-improve-gc-argument)
(("graph")
guix-command-improve-graph-argument)
(("import")
guix-command-improve-import-argument)
(("import" "gnu")
guix-command-improve-key-policy-argument)
(("import" "elpa")
guix-command-improve-import-elpa-argument)
(("lint")
guix-command-improve-lint-argument)
(("package")
guix-command-improve-common-build-argument
guix-command-improve-search-paths-argument
guix-command-improve-package-argument)
(("refresh")
guix-command-improve-key-policy-argument
guix-command-improve-refresh-argument)
(("size")
guix-command-improve-system-type-argument
guix-command-improve-substitute-urls-argument
guix-command-improve-size-argument)
(("system")
guix-command-improve-common-build-argument
guix-command-improve-system-argument))
"Alist of guix commands and argument improvers for them.")
(defun guix-command-improve-argument (argument improvers)
"Return ARGUMENT modified with IMPROVERS."
(or (cl-some (lambda (improver)
(funcall improver argument))
improvers)
argument))
(defun guix-command-improve-arguments (arguments commands)
"Return ARGUMENTS for 'guix COMMANDS ...' modified for popup interface."
(let ((improvers (cons 'guix-command-improve-common-argument
(guix-assoc-value guix-command-argument-improvers
commands))))
(mapcar (lambda (argument)
(guix-command-improve-argument argument improvers))
arguments)))
(defun guix-command-parse-arguments (&optional commands)
"Return a list of parsed 'guix COMMANDS ...' arguments."
(with-temp-buffer
(insert (guix-help-string commands))
(let (args)
(guix-while-search guix-help-parse-option-regexp
(let* ((short (match-string-no-properties 1))
(name (match-string-no-properties 2))
(arg (match-string-no-properties 3))
(doc (match-string-no-properties 4))
(char (if short
(elt short 1) ; short option letter
(elt name 2))) ; first letter of the long option
;; If "--foo=bar" or "--foo[=bar]" then it is 'option'.
(option? (not (string= "" arg)))
;; If "--foo" or "--foo[=bar]" then it is 'switch'.
(switch? (or (string= "" arg)
(eq ?\[ (elt arg 0)))))
(push (guix-command-make-argument
:name name
:char char
:doc doc
:switch? switch?
:option? option?)
args)))
(guix-while-search guix-help-parse-command-regexp
(let* ((name (match-string-no-properties 1))
(char (elt name 0)))
(push (guix-command-make-argument
:name name
:char char
:fun (guix-command-action-name commands name)
:action? t)
args)))
args)))
(defun guix-command-rest-argument (&optional commands)
"Return '--' argument for COMMANDS."
(cl-flet ((argument (&rest args)
(apply #'guix-command-make-argument
:name "-- " :char ?= :option? t args)))
(let ((command (car commands)))
(cond
((member command
'("archive" "build" "challenge" "edit"
"graph" "lint" "refresh"))
(argument :doc "Packages" :fun 'guix-read-package-names-string))
((equal commands '("container" "exec"))
(argument :doc "PID Command [Args...]"))
((string= command "download")
(argument :doc "URL"))
((string= command "environment")
(argument :doc "Command [Args...]" :fun 'read-shell-command))
((string= command "gc")
(argument :doc "Paths" :fun 'guix-read-file-name))
((member command '("hash" "system"))
(argument :doc "File" :fun 'guix-read-file-name))
((string= command "size")
(argument :doc "Package" :fun 'guix-read-package-name))
((equal commands '("import" "nix"))
(argument :doc "Nixpkgs Attribute"))
;; Other 'guix import' subcommands, but not 'import' itself.
((and (cdr commands)
(string= command "import"))
(argument :doc "Package name"))))))
(defvar guix-command-additional-arguments
`((("environment")
,(guix-command-make-argument
:name "++packages " :char ?p :option? t
:doc "build inputs of the specified packages"
:fun 'guix-read-package-names-string)))
"Alist of guix commands and additional arguments for them.
These are 'fake' arguments that are not presented in 'guix' shell
commands.")
(defun guix-command-additional-arguments (&optional commands)
"Return additional arguments for COMMANDS."
(let ((rest-arg (guix-command-rest-argument commands)))
(append (guix-assoc-value guix-command-additional-arguments
commands)
(and rest-arg (list rest-arg)))))
;; Ideally only `guix-command-arguments' function should exist with the
;; contents of `guix-command-all-arguments', but we need to make a
;; special case for `guix-command-complex-with-shared-arguments' commands.
(defun guix-command-all-arguments (&optional commands)
"Return list of all arguments for 'guix COMMANDS ...'."
(let ((parsed (guix-command-parse-arguments commands)))
(append (guix-command-improve-arguments parsed commands)
(guix-command-additional-arguments commands))))
(guix-memoized-defalias guix-command-all-arguments-memoize
guix-command-all-arguments)
(defun guix-command-arguments (&optional commands)
"Return list of arguments for 'guix COMMANDS ...'."
(let ((command (car commands)))
(if (member command
guix-command-complex-with-shared-arguments)
;; Take actions only for 'guix system', and switches+options for
;; 'guix system foo'.
(funcall (if (null (cdr commands))
#'cl-remove-if-not
#'cl-remove-if)
#'guix-command-argument-action?
(guix-command-all-arguments-memoize (list command)))
(guix-command-all-arguments commands))))
(defun guix-command-switch->popup-switch (switch)
"Return popup switch from command SWITCH argument."
(list (guix-command-argument-char switch)
(or (guix-command-argument-doc switch)
"Unknown")
(guix-command-argument-name switch)))
(defun guix-command-option->popup-option (option)
"Return popup option from command OPTION argument."
(list (guix-command-argument-char option)
(or (guix-command-argument-doc option)
"Unknown")
(let ((name (guix-command-argument-name option)))
(if (string-match-p " \\'" name) ; ends with space
name
(concat name "=")))
(or (guix-command-argument-fun option)
'read-from-minibuffer)))
(defun guix-command-action->popup-action (action)
"Return popup action from command ACTION argument."
(list (guix-command-argument-char action)
(or (guix-command-argument-doc action)
(guix-command-argument-name action)
"Unknown")
(guix-command-argument-fun action)))
(defun guix-command-sort-arguments (arguments)
"Sort ARGUMENTS by name in alphabetical order."
(sort arguments
(lambda (a1 a2)
(let ((name1 (guix-command-argument-name a1))
(name2 (guix-command-argument-name a2)))
(cond ((null name1) nil)
((null name2) t)
(t (string< name1 name2)))))))
(defun guix-command-switches (arguments)
"Return switches from ARGUMENTS."
(cl-remove-if-not #'guix-command-argument-switch? arguments))
(defun guix-command-options (arguments)
"Return options from ARGUMENTS."
(cl-remove-if-not #'guix-command-argument-option? arguments))
(defun guix-command-actions (arguments)
"Return actions from ARGUMENTS."
(cl-remove-if-not #'guix-command-argument-action? arguments))
;;; Post processing popup arguments
(defvar guix-command-post-processors
'(("environment"
guix-command-post-process-environment-packages
guix-command-post-process-environment-ad-hoc
guix-command-post-process-rest-multiple-leave)
("hash"
guix-command-post-process-rest-single)
("package"
guix-command-post-process-package-args)
("system"
guix-command-post-process-rest-single))
"Alist of guix commands and functions for post-processing
a list of arguments returned from popup interface.
Each function is called on the returned arguments in turn.")
(defvar guix-command-rest-arg-regexp
(rx string-start "-- " (group (+ any)))
"Regexp to match a string with the 'rest' arguments.")
(defun guix-command-replace-args (args predicate modifier)
"Replace arguments matching PREDICATE from ARGS.
Call MODIFIER on each argument matching PREDICATE and append the
returned list of strings to the end of ARGS. Remove the original
arguments."
(let* ((rest nil)
(args (mapcar (lambda (arg)
(if (funcall predicate arg)
(progn
(push (funcall modifier arg) rest)
nil)
arg))
args)))
(if rest
(apply #'append (delq nil args) rest)
args)))
(cl-defun guix-command-post-process-matching-args (args regexp
&key group split?)
"Modify arguments from ARGS matching REGEXP by moving them to
the end of ARGS list. If SPLIT? is non-nil, split matching
arguments into multiple subarguments."
(guix-command-replace-args
args
(lambda (arg)
(string-match regexp arg))
(lambda (arg)
(let ((val (match-string (or group 0) arg))
(fun (if split? #'split-string #'list)))
(funcall fun val)))))
(defun guix-command-post-process-rest-single (args)
"Modify ARGS by moving '-- ARG' argument to the end of ARGS list."
(guix-command-post-process-matching-args
args guix-command-rest-arg-regexp
:group 1))
(defun guix-command-post-process-rest-multiple (args)
"Modify ARGS by splitting '-- ARG ...' into multiple subarguments
and moving them to the end of ARGS list.
Remove '-- ' string."
(guix-command-post-process-matching-args
args guix-command-rest-arg-regexp
:group 1
:split? t))
(defun guix-command-post-process-rest-multiple-leave (args)
"Modify ARGS by splitting '-- ARG ...' into multiple subarguments
and moving them to the end of ARGS list.
Leave '--' string as a separate argument."
(guix-command-post-process-matching-args
args guix-command-rest-arg-regexp
:split? t))
(defun guix-command-post-process-package-args (args)
"Adjust popup ARGS for 'guix package' command."
(guix-command-post-process-matching-args
args (rx string-start (or "--install " "--remove ") (+ any))
:split? t))
(defun guix-command-post-process-environment-packages (args)
"Adjust popup ARGS for specified packages of 'guix environment'
command."
(guix-command-post-process-matching-args
args (rx string-start "++packages " (group (+ any)))
:group 1
:split? t))
(defun guix-command-post-process-environment-ad-hoc (args)
"Adjust popup ARGS for '--ad-hoc' argument of 'guix environment'
command."
(guix-command-post-process-matching-args
args (rx string-start "--ad-hoc " (+ any))
:split? t))
(defun guix-command-post-process-args (commands args)
"Adjust popup ARGS for guix COMMANDS."
(let* ((command (car commands))
(processors
(append (guix-assoc-value guix-command-post-processors commands)
(guix-assoc-value guix-command-post-processors command))))
(guix-modify args
(or processors
(list #'guix-command-post-process-rest-multiple)))))
;;; 'Execute' actions
(defvar guix-command-default-execute-arguments
(list
(guix-command-make-argument
:name "repl" :char ?r :doc "Run in Guix REPL")
(guix-command-make-argument
:name "shell" :char ?s :doc "Run in shell")
(guix-command-make-argument
:name "copy" :char ?c :doc "Copy command line"))
"List of default 'execute' action arguments.")
(defvar guix-command-additional-execute-arguments
(let ((graph-arg (guix-command-make-argument
:name "view" :char ?v :doc "View graph")))
`((("build")
,(guix-command-make-argument
:name "log" :char ?l :doc "View build log"))
(("graph") ,graph-arg)
(("size")
,(guix-command-make-argument
:name "view" :char ?v :doc "View map"))
(("system" "shepherd-graph") ,graph-arg)
(("system" "extension-graph") ,graph-arg)))
"Alist of guix commands and additional 'execute' action arguments.")
(defun guix-command-execute-arguments (commands)
"Return a list of 'execute' action arguments for COMMANDS."
(mapcar (lambda (arg)
(guix-command-modify-argument arg
:action? t
:fun (guix-command-action-name
commands (guix-command-argument-name arg))))
(append guix-command-default-execute-arguments
(guix-assoc-value
guix-command-additional-execute-arguments commands))))
(defvar guix-command-special-executors
'((("environment")
("repl" . guix-run-environment-command-in-repl))
(("pull")
("repl" . guix-run-pull-command-in-repl))
(("build")
("log" . guix-run-view-build-log))
(("graph")
("view" . guix-run-view-graph))
(("size")
("view" . guix-run-view-size-map))
(("system" "shepherd-graph")
("view" . guix-run-view-graph))
(("system" "extension-graph")
("view" . guix-run-view-graph)))
"Alist of guix commands and alists of special executers for them.
See also `guix-command-default-executors'.")
(defvar guix-command-default-executors
'(("repl" . guix-run-command-in-repl)
("shell" . guix-run-command-in-shell)
("copy" . guix-copy-command-as-kill))
"Alist of default executers for action names.")
(defun guix-command-executor (commands name)
"Return function to run command line arguments for guix COMMANDS."
(or (guix-assoc-value guix-command-special-executors commands name)
(guix-assoc-value guix-command-default-executors name)))
(defun guix-run-environment-command-in-repl (args)
"Run 'guix ARGS ...' environment command in Guix REPL."
;; As 'guix environment' usually tries to run another process, it may
;; be fun but not wise to run this command in Geiser REPL.
(when (or (member "--dry-run" args)
(member "--search-paths" args)
(when (y-or-n-p
(format "'%s' command will spawn an external process.
Do you really want to execute this command in Geiser REPL? "
(guix-command-string args)))
(message "May \"M-x shell-mode\" be with you!")
t))
(guix-run-command-in-repl args)))
(defun guix-run-pull-command-in-repl (args)
"Run 'guix ARGS ...' pull command in Guix REPL.
Perform pull-specific actions after operation, see
`guix-after-pull-hook' and `guix-update-after-pull'."
(guix-eval-in-repl
(apply #'guix-make-guile-expression 'guix-command args)
nil 'pull))
(defun guix-run-view-build-log (args)
"Add --log-file to ARGS, run 'guix ARGS ...' build command, and
open the log file(s)."
(let* ((args (if (member "--log-file" args)
args
(cl-list* (car args) "--log-file" (cdr args))))
(output (guix-command-output args))
(files (split-string output "\n" t)))
(dolist (file files)
(guix-build-log-find-file file))))
(defun guix-run-view-graph (args)
"Run 'guix ARGS ...' graph command, make the image and open it."
(let* ((graph-file (guix-dot-file-name))
(dot-args (guix-dot-arguments graph-file)))
(if (guix-eval-read (guix-make-guile-expression
'pipe-guix-output args dot-args))
(guix-find-file graph-file)
(error "Couldn't create a graph"))))
(defun guix-run-view-size-map (args)
"Run 'guix ARGS ...' size command, and open the map file."
(let* ((wished-map-file
(cl-some (lambda (arg)
(and (string-match "--map-file=\\(.+\\)" arg)
(match-string 1 arg)))
args))
(map-file (or wished-map-file (guix-png-file-name)))
(args (if wished-map-file
args
(cl-list* (car args)
(concat "--map-file=" map-file)
(cdr args)))))
(guix-command-output args)
(guix-find-file map-file)))
;;; Generating popups, actions, etc.
(defmacro guix-command-define-popup-action (name &optional commands)
"Define NAME function to generate (if needed) and run popup for COMMANDS."
(declare (indent 1) (debug t))
(let* ((popup-fun (guix-command-symbol `(,@commands "popup")))
(doc (format "Call `%s' (generate it if needed)."
popup-fun)))
`(defun ,name (&optional arg)
,doc
(interactive "P")
(unless (fboundp ',popup-fun)
(guix-command-generate-popup ',popup-fun ',commands))
(,popup-fun arg))))
(defmacro guix-command-define-execute-action (name executor
&optional commands)
"Define NAME function to execute the current action for guix COMMANDS.
EXECUTOR function is called with the current command line arguments."
(declare (indent 1) (debug t))
(let* ((arguments-fun (guix-command-symbol `(,@commands "arguments")))
(doc (format "Call `%s' with the current popup arguments."
executor)))
`(defun ,name (&rest args)
,doc
(interactive (,arguments-fun))
(,executor (append ',commands
(guix-command-post-process-args
',commands args))))))
(defun guix-command-generate-popup-actions (actions &optional commands)
"Generate 'popup' commands from ACTIONS arguments for guix COMMANDS."
(dolist (action actions)
(let ((fun (guix-command-argument-fun action)))
(unless (fboundp fun)
(eval `(guix-command-define-popup-action ,fun
,(append commands
(list (guix-command-argument-name action)))))))))
(defun guix-command-generate-execute-actions (actions &optional commands)
"Generate 'execute' commands from ACTIONS arguments for guix COMMANDS."
(dolist (action actions)
(let ((fun (guix-command-argument-fun action)))
(unless (fboundp fun)
(eval `(guix-command-define-execute-action ,fun
,(guix-command-executor
commands (guix-command-argument-name action))
,commands))))))
(defun guix-command-generate-popup (name &optional commands)
"Define NAME popup with 'guix COMMANDS ...' interface."
(let* ((command (car commands))
(man-page (concat "guix" (and command (concat "-" command))))
(doc (format "Popup window for '%s' command."
(guix-concat-strings (cons "guix" commands)
" ")))
(args (guix-command-arguments commands))
(switches (guix-command-sort-arguments
(guix-command-switches args)))
(options (guix-command-sort-arguments
(guix-command-options args)))
(popup-actions (guix-command-sort-arguments
(guix-command-actions args)))
(execute-actions (unless popup-actions
(guix-command-execute-arguments commands)))
(actions (or popup-actions execute-actions)))
(if popup-actions
(guix-command-generate-popup-actions popup-actions commands)
(guix-command-generate-execute-actions execute-actions commands))
(eval
`(guix-define-popup ,name
,doc
'guix-commands
:man-page ,man-page
:switches ',(mapcar #'guix-command-switch->popup-switch switches)
:options ',(mapcar #'guix-command-option->popup-option options)
:actions ',(mapcar #'guix-command-action->popup-action actions)
:max-action-columns 4))))
;;;###autoload (autoload 'guix "guix-command" "Popup window for 'guix'." t)
(guix-command-define-popup-action guix)
(defalias 'guix-edit-action #'guix-edit)
(defvar guix-command-font-lock-keywords
(eval-when-compile
`((,(rx "("
(group "guix-command-define-"
(or "popup-action"
"execute-action"
"argument-improver"))
symbol-end
(zero-or-more blank)
(zero-or-one
(group (one-or-more (or (syntax word) (syntax symbol))))))
(1 font-lock-keyword-face)
(2 font-lock-function-name-face nil t)))))
(font-lock-add-keywords 'emacs-lisp-mode guix-command-font-lock-keywords)
(provide 'guix-command)
;;; guix-command.el ends here
+44
View File
@@ -0,0 +1,44 @@
;;; guix-config.el --- Compile-time configuration of Guix.
;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
;; Copyright © 2015, 2016 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Code:
(defconst guix-config-name "@PACKAGE_NAME@"
"Guix full name.")
(defconst guix-config-version "@PACKAGE_VERSION@"
"Guix version.")
(defconst guix-config-emacs-interface-directory
(replace-regexp-in-string "${prefix}" "@prefix@" "@emacsuidir@"))
(defconst guix-config-state-directory
;; This must match `NIX_STATE_DIR' as defined in `nix/local.mk'.
(or (getenv "NIX_STATE_DIR") "@guix_localstatedir@/guix"))
(defconst guix-config-guile-program "@GUILE@"
"Name of the 'guile' executable defined at configure time.")
(defconst guix-config-dot-program "@DOT_USER_PROGRAM@"
"Name of the 'dot' executable defined at configure time.")
(provide 'guix-config)
;;; guix-config.el ends here
+382
View File
@@ -0,0 +1,382 @@
;;; guix-devel.el --- Development tools -*- lexical-binding: t -*-
;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides commands useful for developing Guix (or even
;; arbitrary Guile code) with Geiser.
;;; Code:
(require 'lisp-mode)
(require 'guix-guile)
(require 'guix-geiser)
(require 'guix-utils)
(require 'guix-base)
(defgroup guix-devel nil
"Settings for Guix development utils."
:group 'guix)
(defgroup guix-devel-faces nil
"Faces for `guix-devel-mode'."
:group 'guix-devel
:group 'guix-faces)
(defface guix-devel-modify-phases-keyword
'((t :inherit font-lock-preprocessor-face))
"Face for a `modify-phases' keyword ('delete', 'replace', etc.)."
:group 'guix-devel-faces)
(defface guix-devel-gexp-symbol
'((t :inherit font-lock-keyword-face))
"Face for gexp symbols ('#~', '#$', etc.).
See Info node `(guix) G-Expressions'."
:group 'guix-devel-faces)
(defcustom guix-devel-activate-mode t
"If non-nil, then `guix-devel-mode' is automatically activated
in Scheme buffers."
:type 'boolean
:group 'guix-devel)
(defun guix-devel-use-modules (&rest modules)
"Use guile MODULES."
(apply #'guix-geiser-call "use-modules" modules))
(defun guix-devel-use-module (&optional module)
"Use guile MODULE in the current Geiser REPL.
MODULE is a string with the module name - e.g., \"(ice-9 match)\".
Interactively, use the module defined by the current scheme file."
(interactive (list (guix-guile-current-module)))
(guix-devel-use-modules module)
(message "Using %s module." module))
(defun guix-devel-copy-module-as-kill ()
"Put the name of the current guile module into `kill-ring'."
(interactive)
(guix-copy-as-kill (guix-guile-current-module)))
(defun guix-devel-setup-repl (&optional repl)
"Setup REPL for using `guix-devel-...' commands."
(guix-devel-use-modules "(guix monad-repl)"
"(guix scripts)"
"(guix store)"
"(guix ui)")
;; Without this workaround, the warning/build output disappears. See
;; <https://github.com/jaor/geiser/issues/83> for details.
(guix-geiser-eval-in-repl-synchronously
"(begin
(guix-warning-port (current-warning-port))
(current-build-output-port (current-error-port)))"
repl 'no-history 'no-display))
(defvar guix-devel-repl-processes nil
"List of REPL processes configured by `guix-devel-setup-repl'.")
(defun guix-devel-setup-repl-maybe (&optional repl)
"Setup (if needed) REPL for using `guix-devel-...' commands."
(let ((process (get-buffer-process (or repl (guix-geiser-repl)))))
(when (and process
(not (memq process guix-devel-repl-processes)))
(guix-devel-setup-repl repl)
(push process guix-devel-repl-processes))))
(defmacro guix-devel-with-definition (def-var &rest body)
"Run BODY with the current guile definition bound to DEF-VAR.
Bind DEF-VAR variable to the name of the current top-level
definition, setup the current REPL, use the current module, and
run BODY."
(declare (indent 1) (debug (symbolp body)))
`(let ((,def-var (guix-guile-current-definition)))
(guix-devel-setup-repl-maybe)
(guix-devel-use-modules (guix-guile-current-module))
,@body))
(defun guix-devel-build-package-definition ()
"Build a package defined by the current top-level variable definition."
(interactive)
(guix-devel-with-definition def
(when (or (not guix-operation-confirm)
(guix-operation-prompt (format "Build '%s'?" def)))
(guix-geiser-eval-in-repl
(concat ",run-in-store "
(guix-guile-make-call-expression
"build-package" def
"#:use-substitutes?" (guix-guile-boolean
guix-use-substitutes)
"#:dry-run?" (guix-guile-boolean guix-dry-run)))))))
(defun guix-devel-build-package-source ()
"Build the source of the current package definition."
(interactive)
(guix-devel-with-definition def
(when (or (not guix-operation-confirm)
(guix-operation-prompt
(format "Build '%s' package source?" def)))
(guix-geiser-eval-in-repl
(concat ",run-in-store "
(guix-guile-make-call-expression
"build-package-source" def
"#:use-substitutes?" (guix-guile-boolean
guix-use-substitutes)
"#:dry-run?" (guix-guile-boolean guix-dry-run)))))))
(defun guix-devel-lint-package ()
"Check the current package.
See Info node `(guix) Invoking guix lint' for details."
(interactive)
(guix-devel-with-definition def
(guix-devel-use-modules "(guix scripts lint)")
(when (or (not guix-operation-confirm)
(y-or-n-p (format "Lint '%s' package?" def)))
(guix-geiser-eval-in-repl
(format "(run-checkers %s)" def)))))
;;; Font-lock
(defvar guix-devel-modify-phases-keyword-regexp
(rx (+ word))
"Regexp for a 'modify-phases' keyword ('delete', 'replace', etc.).")
(defun guix-devel-modify-phases-font-lock-matcher (limit)
"Find a 'modify-phases' keyword.
This function is used as a MATCHER for `font-lock-keywords'."
(ignore-errors
(down-list)
(or (re-search-forward guix-devel-modify-phases-keyword-regexp
limit t)
(set-match-data nil))
(up-list)
t))
(defun guix-devel-modify-phases-font-lock-pre ()
"Skip the next sexp, and return the end point of the current list.
This function is used as a PRE-MATCH-FORM for `font-lock-keywords'
to find 'modify-phases' keywords."
(let ((in-comment? (nth 4 (syntax-ppss))))
;; If 'modify-phases' is commented, do not try to search for its
;; keywords.
(unless in-comment?
(ignore-errors (forward-sexp))
(save-excursion (up-list) (point)))))
(defconst guix-devel-keywords
'("call-with-compressed-output-port"
"call-with-container"
"call-with-decompressed-port"
"call-with-derivation-narinfo"
"call-with-derivation-substitute"
"call-with-error-handling"
"call-with-temporary-directory"
"call-with-temporary-output-file"
"define-enumerate-type"
"define-gexp-compiler"
"define-lift"
"define-monad"
"define-operation"
"define-record-type*"
"emacs-substitute-sexps"
"emacs-substitute-variables"
"mbegin"
"mlet"
"mlet*"
"modify-services"
"munless"
"mwhen"
"run-with-state"
"run-with-store"
"signature-case"
"substitute*"
"substitute-keyword-arguments"
"test-assertm"
"use-package-modules"
"use-service-modules"
"use-system-modules"
"with-atomic-file-output"
"with-atomic-file-replacement"
"with-derivation-narinfo"
"with-derivation-substitute"
"with-directory-excursion"
"with-error-handling"
"with-imported-modules"
"with-monad"
"with-mutex"
"with-store"))
(defvar guix-devel-font-lock-keywords
`((,(rx (or "#~" "#$" "#$@" "#+" "#+@")) .
'guix-devel-gexp-symbol)
(,(guix-guile-keyword-regexp (regexp-opt guix-devel-keywords))
(1 'font-lock-keyword-face))
(,(guix-guile-keyword-regexp "modify-phases")
(1 'font-lock-keyword-face)
(guix-devel-modify-phases-font-lock-matcher
(guix-devel-modify-phases-font-lock-pre)
nil
(0 'guix-devel-modify-phases-keyword nil t))))
"A list of `font-lock-keywords' for `guix-devel-mode'.")
;;; Indentation
(defmacro guix-devel-scheme-indent (&rest rules)
"Set `scheme-indent-function' according to RULES.
Each rule should have a form (SYMBOL VALUE). See `put' for details."
(declare (indent 0))
`(progn
,@(mapcar (lambda (rule)
`(put ',(car rule) 'scheme-indent-function ,(cadr rule)))
rules)))
(defun guix-devel-indent-package (state indent-point normal-indent)
"Indentation rule for 'package' form."
(let* ((package-eol (line-end-position))
(count (if (and (ignore-errors (down-list) t)
(< (point) package-eol)
(looking-at "inherit\\>"))
1
0)))
(lisp-indent-specform count state indent-point normal-indent)))
(defun guix-devel-indent-modify-phases-keyword (count)
"Return indentation function for 'modify-phases' keywords."
(lambda (state indent-point normal-indent)
(when (ignore-errors
(goto-char (nth 1 state)) ; start of keyword sexp
(backward-up-list)
(looking-at "(modify-phases\\>"))
(lisp-indent-specform count state indent-point normal-indent))))
(defalias 'guix-devel-indent-modify-phases-keyword-1
(guix-devel-indent-modify-phases-keyword 1))
(defalias 'guix-devel-indent-modify-phases-keyword-2
(guix-devel-indent-modify-phases-keyword 2))
(guix-devel-scheme-indent
(bag 0)
(build-system 0)
(call-with-compressed-output-port 2)
(call-with-container 1)
(call-with-decompressed-port 2)
(call-with-error-handling 0)
(container-excursion 1)
(emacs-batch-edit-file 1)
(emacs-batch-eval 0)
(emacs-substitute-sexps 1)
(emacs-substitute-variables 1)
(file-system 0)
(graft 0)
(manifest-entry 0)
(manifest-pattern 0)
(mbegin 1)
(mlet 2)
(mlet* 2)
(modify-phases 1)
(modify-services 1)
(munless 1)
(mwhen 1)
(operating-system 0)
(origin 0)
(package 'guix-devel-indent-package)
(run-with-state 1)
(run-with-store 1)
(signature-case 1)
(substitute* 1)
(substitute-keyword-arguments 1)
(test-assertm 1)
(with-atomic-file-output 1)
(with-derivation-narinfo 1)
(with-derivation-substitute 2)
(with-directory-excursion 1)
(with-error-handling 0)
(with-imported-modules 1)
(with-monad 1)
(with-mutex 1)
(with-store 1)
(wrap-program 1)
;; 'modify-phases' keywords:
(replace 'guix-devel-indent-modify-phases-keyword-1)
(add-after 'guix-devel-indent-modify-phases-keyword-2)
(add-before 'guix-devel-indent-modify-phases-keyword-2))
(defvar guix-devel-keys-map
(let ((map (make-sparse-keymap)))
(define-key map (kbd "b") 'guix-devel-build-package-definition)
(define-key map (kbd "s") 'guix-devel-build-package-source)
(define-key map (kbd "l") 'guix-devel-lint-package)
(define-key map (kbd "k") 'guix-devel-copy-module-as-kill)
(define-key map (kbd "u") 'guix-devel-use-module)
map)
"Keymap with subkeys for `guix-devel-mode-map'.")
(defvar guix-devel-mode-map
(let ((map (make-sparse-keymap)))
(define-key map (kbd "C-c .") guix-devel-keys-map)
map)
"Keymap for `guix-devel-mode'.")
;;;###autoload
(define-minor-mode guix-devel-mode
"Minor mode for `scheme-mode' buffers.
With a prefix argument ARG, enable the mode if ARG is positive,
and disable it otherwise. If called from Lisp, enable the mode
if ARG is omitted or nil.
When Guix Devel mode is enabled, it provides the following key
bindings:
\\{guix-devel-mode-map}"
:init-value nil
:lighter " Guix"
:keymap guix-devel-mode-map
(if guix-devel-mode
(progn
(setq-local font-lock-multiline t)
(font-lock-add-keywords nil guix-devel-font-lock-keywords))
(setq-local font-lock-multiline nil)
(font-lock-remove-keywords nil guix-devel-font-lock-keywords))
(when font-lock-mode
(font-lock-fontify-buffer)))
;;;###autoload
(defun guix-devel-activate-mode-maybe ()
"Activate `guix-devel-mode' depending on
`guix-devel-activate-mode' variable."
(when guix-devel-activate-mode
(guix-devel-mode)))
;;;###autoload
(add-hook 'scheme-mode-hook 'guix-devel-activate-mode-maybe)
(defvar guix-devel-emacs-font-lock-keywords
(eval-when-compile
`((,(rx "(" (group "guix-devel-with-definition") symbol-end) . 1))))
(font-lock-add-keywords 'emacs-lisp-mode
guix-devel-emacs-font-lock-keywords)
(provide 'guix-devel)
;;; guix-devel.el ends here
+67 -47
View File
@@ -1,6 +1,6 @@
;;; guix-emacs.el --- Emacs packages installed with Guix
;; Copyright © 2014 Alex Kost <alezost@gmail.com>
;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
@@ -24,28 +24,42 @@
;;; Code:
(require 'guix-profiles)
(require 'cl-lib)
(unless (require 'guix-profiles nil t)
(defvar guix-user-profile (expand-file-name "~/.guix-profile")))
(defcustom guix-emacs-activate-after-operation t
"Activate Emacs packages after installing.
If nil, do not load autoloads of the Emacs packages after
they are successfully installed."
(defcustom guix-package-enable-at-startup t
"If non-nil, activate Emacs packages installed in a user profile.
Set this variable to nil before requiring `guix-emacs' file to
avoid loading autoloads of Emacs packages installed in
`guix-user-profile'."
:type 'boolean
:group 'guix)
(defvar guix-emacs-autoloads nil
"List of the last loaded Emacs autoloads.")
(defvar guix-emacs-autoloads-regexp
(rx (group (* any) "-autoloads")
".el" (zero-or-one "c") string-end)
"Regexp to match Emacs 'autoloads' file.")
(defun guix-emacs-directory (&optional profile)
"Return directory with Emacs packages installed in PROFILE.
If PROFILE is nil, use `guix-user-profile'."
(expand-file-name "share/emacs/site-lisp"
(or profile guix-user-profile)))
(defun guix-emacs-find-autoloads-in-directory (directory)
"Return list of Emacs 'autoloads' files in DIRECTORY."
(directory-files directory 'full-name "-autoloads\\.el\\'" 'no-sort))
(defun guix-emacs-find-autoloads (directory)
"Return a list of Emacs 'autoloads' files in DIRECTORY.
The files in the list do not have extensions (.el, .elc)."
(cl-remove-duplicates
(delq nil
(mapcar (lambda (file)
(when (string-match guix-emacs-autoloads-regexp file)
(match-string 1 file)))
(directory-files directory 'full-name nil 'no-sort)))
:test #'string=))
(defun guix-emacs-subdirs (directory)
"Return list of DIRECTORY subdirectories."
@@ -55,48 +69,54 @@ If PROFILE is nil, use `guix-user-profile'."
(not (file-directory-p file))))
(directory-files directory 'full-name nil 'no-sort)))
(defun guix-emacs-find-autoloads (&optional profile)
"Return list of autoloads of Emacs packages installed in PROFILE.
(defun guix-emacs-directories (&optional profile)
"Return the list of directories under PROFILE that contain Emacs packages.
This includes both `share/emacs/site-lisp/guix.d/PACKAGE'
sub-directories and `share/emacs/site-lisp' itself.
If PROFILE is nil, use `guix-user-profile'.
Return nil if there are no emacs packages installed in PROFILE."
(let ((elisp-root-dir (guix-emacs-directory profile)))
(if (file-directory-p elisp-root-dir)
(let ((elisp-pkgs-dir (expand-file-name "guix.d" elisp-root-dir))
(root-autoloads (guix-emacs-find-autoloads-in-directory
elisp-root-dir)))
(if (file-directory-p elisp-pkgs-dir)
(let ((pkgs-autoloads
(cl-mapcan #'guix-emacs-find-autoloads-in-directory
(guix-emacs-subdirs elisp-pkgs-dir))))
(append root-autoloads pkgs-autoloads))
root-autoloads))
(message "Directory '%s' does not exist." elisp-root-dir)
nil)))
Return nil, if Emacs packages are not installed in PROFILE."
(let ((root-dir (guix-emacs-directory (or profile guix-user-profile))))
(when (file-directory-p root-dir)
(let* ((pkgs-dir (expand-file-name "guix.d" root-dir))
(pkgs-dirs (when (file-directory-p pkgs-dir)
(guix-emacs-subdirs pkgs-dir))))
(cons root-dir pkgs-dirs)))))
;;;###autoload
(defun guix-emacs-load-autoloads (&optional all)
"Load autoloads for Emacs packages installed in a user profile.
Add autoloads directories to `load-path'.
If ALL is nil, activate only those packages that were installed
after the last activation, otherwise activate all Emacs packages
installed in `guix-user-profile'."
(interactive "P")
(let* ((autoloads (guix-emacs-find-autoloads))
(files (if all
autoloads
(cl-nset-difference autoloads guix-emacs-autoloads
:test #'string=))))
(dolist (file files)
(cl-pushnew (file-name-directory file) load-path
:test #'string=)
(load file 'noerror))
(setq guix-emacs-autoloads autoloads)))
(defun guix-emacs-autoload-packages (&rest profiles)
"Autoload Emacs packages installed in PROFILES.
If PROFILES are not specified, use a default user and system
profiles.
(defun guix-emacs-load-autoloads-maybe ()
"Load autoloads for Emacs packages if needed.
See `guix-emacs-activate-after-operation' for details."
(and guix-emacs-activate-after-operation
(guix-emacs-load-autoloads)))
'Autoload' means add directories with Emacs packages to
`load-path' and load 'autoloads' files matching
`guix-emacs-autoloads-regexp'."
(interactive (list (if (fboundp 'guix-profile-prompt)
(funcall 'guix-profile-prompt)
guix-user-profile)))
(let ((profiles (or profiles
(list "/run/current-system/profile"
guix-user-profile))))
(dolist (profile profiles)
(let ((dirs (guix-emacs-directories profile)))
(when dirs
(let* ((autoloads (cl-mapcan #'guix-emacs-find-autoloads
dirs))
(new-autoloads (cl-nset-difference autoloads
guix-emacs-autoloads
:test #'string=)))
(dolist (dir dirs)
(cl-pushnew (directory-file-name dir)
load-path
:test #'string=))
(dolist (file new-autoloads)
(load file 'noerror))
(setq guix-emacs-autoloads
(append new-autoloads guix-emacs-autoloads))))))))
(when guix-package-enable-at-startup
(guix-emacs-autoload-packages))
(provide 'guix-emacs)
+59
View File
@@ -0,0 +1,59 @@
;;; guix-entry.el --- 'Entry' type -*- lexical-binding: t -*-
;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides an API for 'entry' type which is just an alist of
;; KEY/VALUE pairs (KEY should be a symbol) with the required 'id' KEY.
;;; Code:
(require 'cl-lib)
(require 'guix-utils)
(defalias 'guix-entry-value #'guix-assq-value)
(defun guix-entry-id (entry)
"Return ENTRY ID."
(guix-entry-value entry 'id))
(defun guix-entry-by-id (id entries)
"Return an entry from ENTRIES by its ID."
(cl-find-if (lambda (entry)
(equal (guix-entry-id entry) id))
entries))
(defun guix-entries-by-ids (ids entries)
"Return entries with IDS (a list of identifiers) from ENTRIES."
(cl-remove-if-not (lambda (entry)
(member (guix-entry-id entry) ids))
entries))
(defun guix-replace-entry (id new-entry entries)
"Replace an entry with ID from ENTRIES by NEW-ENTRY.
Return a list of entries with the replaced entry."
(cl-substitute-if new-entry
(lambda (entry)
(equal id (guix-entry-id entry)))
entries
:count 1))
(provide 'guix-entry)
;;; guix-entry.el ends here
+88
View File
@@ -0,0 +1,88 @@
;;; guix-external.el --- External programs -*- lexical-binding: t -*-
;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides auxiliary code for running external programs.
;;; Code:
(require 'cl-lib)
(require 'guix-config)
(defgroup guix-external nil
"Settings for external programs."
:group 'guix)
(defcustom guix-guile-program guix-config-guile-program
"Name of the 'guile' executable used for Guix REPL.
May be either a string (the name of the executable) or a list of
strings of the form:
(NAME . ARGS)
Where ARGS is a list of arguments to the guile program."
:type 'string
:group 'guix-external)
(defcustom guix-dot-program
(if (file-name-absolute-p guix-config-dot-program)
guix-config-dot-program
(executable-find "dot"))
"Name of the 'dot' executable."
:type 'string
:group 'guix-external)
(defcustom guix-dot-default-arguments
'("-Tpng")
"Default arguments for 'dot' program."
:type '(repeat string)
:group 'guix-external)
(defcustom guix-dot-file-name-function #'guix-png-file-name
"Function used to define a file name of a temporary 'dot' file.
The function is called without arguments."
:type '(choice (function-item guix-png-file-name)
(function :tag "Other function"))
:group 'guix-external)
(defun guix-dot-arguments (output-file &rest args)
"Return a list of dot arguments for writing a graph into OUTPUT-FILE.
If ARGS is nil, use `guix-dot-default-arguments'."
(or guix-dot-program
(error (concat "Couldn't find 'dot'.\n"
"Set guix-dot-program to a proper value")))
(cl-list* guix-dot-program
(concat "-o" output-file)
(or args guix-dot-default-arguments)))
(defun guix-dot-file-name ()
"Call `guix-dot-file-name-function'."
(funcall guix-dot-file-name-function))
(defun guix-png-file-name ()
"Return '.png' file name in the `temporary-file-directory'."
(concat (make-temp-name
(concat (file-name-as-directory temporary-file-directory)
"guix-emacs-graph-"))
".png"))
(provide 'guix-external)
;;; guix-external.el ends here
+126
View File
@@ -0,0 +1,126 @@
;;; guix-geiser.el --- Interacting with Geiser -*- lexical-binding: t -*-
;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides functions to evaluate guile code using Geiser.
;;; Code:
(require 'geiser-mode)
(require 'guix-guile)
(defun guix-geiser-repl ()
"Return the current Geiser REPL."
(or geiser-repl--repl
(geiser-repl--repl/impl 'guile)
(error "Geiser REPL not found")))
(defun guix-geiser-eval (str &optional repl)
"Evaluate STR with guile expression using Geiser REPL.
If REPL is nil, use the current Geiser REPL.
Return a list of strings with result values of evaluation."
(with-current-buffer (or repl (guix-geiser-repl))
(let ((res (geiser-eval--send/wait `(:eval (:scm ,str)))))
(if (geiser-eval--retort-error res)
(error "Error in evaluating guile expression: %s"
(geiser-eval--retort-output res))
(cdr (assq 'result res))))))
(defun guix-geiser-eval-read (str &optional repl)
"Evaluate STR with guile expression using Geiser REPL.
Return elisp expression of the first result value of evaluation."
;; The goal is to convert a string with scheme expression into elisp
;; expression.
(let ((result (car (guix-geiser-eval str repl))))
(cond
((or (string= result "#f")
(string= result "#<unspecified>"))
nil)
((string= result "#t")
t)
(t
(read (replace-regexp-in-string
"[ (]\\(#f\\)" "nil"
(replace-regexp-in-string
"[ (]\\(#t\\)" "t"
result
nil nil 1)
nil nil 1))))))
(defun guix-repl-send (cmd &optional save-history)
"Send CMD input string to the current REPL buffer.
This is the same as `geiser-repl--send', but with SAVE-HISTORY
argument. If SAVE-HISTORY is non-nil, save CMD in the REPL
history."
(when (and cmd (eq major-mode 'geiser-repl-mode))
(geiser-repl--prepare-send)
(goto-char (point-max))
(comint-kill-input)
(insert cmd)
(let ((comint-input-filter (if save-history
comint-input-filter
'ignore)))
(comint-send-input nil t))))
(defun guix-geiser-eval-in-repl (str &optional repl no-history no-display)
"Switch to Geiser REPL and evaluate STR with guile expression there.
If NO-HISTORY is non-nil, do not save STR in the REPL history.
If NO-DISPLAY is non-nil, do not switch to the REPL buffer."
(let ((repl (or repl (guix-geiser-repl))))
(with-current-buffer repl
;; XXX Since Geiser 0.8, `geiser-repl--send' has SAVE-HISTORY
;; argument, so use this function eventually and remove
;; `guix-repl-send'.
(guix-repl-send str (not no-history)))
(unless no-display
(geiser-repl--switch-to-buffer repl))))
(defun guix-geiser-eval-in-repl-synchronously (str &optional repl
no-history no-display)
"Evaluate STR in Geiser REPL synchronously, i.e. wait until the
REPL operation will be finished.
See `guix-geiser-eval-in-repl' for the meaning of arguments."
(let* ((repl (if repl (get-buffer repl) (guix-geiser-repl)))
(running? nil)
(filter (lambda (output)
(setq running?
(and (get-buffer-process repl)
(not (guix-guile-prompt? output))))))
(comint-output-filter-functions
(cons filter comint-output-filter-functions)))
(guix-geiser-eval-in-repl str repl no-history no-display)
(while running?
(sleep-for 0.1))))
(defun guix-geiser-call (proc &rest args)
"Call (PROC ARGS ...) synchronously using the current Geiser REPL.
PROC and ARGS should be strings."
(guix-geiser-eval
(apply #'guix-guile-make-call-expression proc args)))
(defun guix-geiser-call-in-repl (proc &rest args)
"Call (PROC ARGS ...) in the current Geiser REPL.
PROC and ARGS should be strings."
(guix-geiser-eval-in-repl
(apply #'guix-guile-make-call-expression proc args)))
(provide 'guix-geiser)
;;; guix-geiser.el ends here
+98
View File
@@ -0,0 +1,98 @@
;;; guix-guile.el --- Auxiliary tools for working with guile code -*- lexical-binding: t -*-
;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides functions for parsing guile code, making guile
;; expressions, etc.
;;; Code:
(require 'geiser-guile)
(defvar guix-guile-definition-regexp
(rx bol "(define"
(zero-or-one "*")
(zero-or-one "-public")
(one-or-more space)
(zero-or-one "(")
(group (one-or-more (or word (syntax symbol)))))
"Regexp used to find the guile definition.")
(defun guix-guile-current-definition ()
"Return string with name of the current top-level guile definition."
(save-excursion
(beginning-of-defun)
(if (looking-at guix-guile-definition-regexp)
(match-string-no-properties 1)
(error "Couldn't find the current definition"))))
(defun guix-guile-current-module ()
"Return a string with the current guile module.
Return nil, if current buffer does not define a module."
;; Modified version of `geiser-guile--get-module'.
(save-excursion
(geiser-syntax--pop-to-top)
(when (or (re-search-backward geiser-guile--module-re nil t)
(looking-at geiser-guile--library-re)
(re-search-forward geiser-guile--module-re nil t))
(match-string-no-properties 1))))
(defun guix-guile-boolean (arg)
"Return a string with guile boolean value.
Transform elisp ARG (nil or non-nil) to the guile boolean (#f or #t)."
(if arg "#t" "#f"))
(defun guix-guile-keyword-regexp (keyword)
"Return regexp to find guile KEYWORD."
(format "(\\(%s\\)\\_>" keyword))
(defun guix-guile-make-call-expression (proc &rest args)
"Return \"(PROC ARGS ...)\" string.
PROC and ARGS should be strings."
(format "(%s %s)"
proc
(mapconcat #'identity args " ")))
(defun guix-make-guile-expression (fun &rest args)
"Return string containing a guile expression for calling FUN with ARGS."
(format "(%S %s)" fun
(mapconcat
(lambda (arg)
(cond
((null arg) "'()")
((or (eq arg t)
;; An ugly hack to separate 'false' from nil.
(equal arg 'f)
(keywordp arg))
(concat "#" (prin1-to-string arg t)))
((or (symbolp arg) (listp arg))
(concat "'" (prin1-to-string arg)))
(t (prin1-to-string arg))))
args
" ")))
(defun guix-guile-prompt? (string)
"Return non-nil, if STRING contains a Guile prompt."
(or (string-match-p geiser-guile--prompt-regexp string)
(string-match-p geiser-guile--debugger-prompt-regexp string)))
(provide 'guix-guile)
;;; guix-guile.el ends here
+108
View File
@@ -0,0 +1,108 @@
;;; guix-help-vars.el --- Variables related to --help output
;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides regular expressions to parse various "guix
;; ... --help" outputs and lists of non-receivable items (system types,
;; hash formats, etc.).
;;; Code:
;;; Regexps for parsing "guix ..." outputs
(defvar guix-help-parse-option-regexp
(rx bol " "
(zero-or-one (group "-" (not (any "- ")))
",")
(one-or-more " ")
(group "--" (one-or-more (or wordchar "-")))
(group (zero-or-one "[")
(zero-or-one "="))
(zero-or-more (not space))
(one-or-more space)
(group (one-or-more any)))
"Common regexp used to find command options.")
(defvar guix-help-parse-command-regexp
(rx bol " "
(group wordchar (one-or-more (or wordchar "-"))))
"Regexp used to find guix commands.
'Command' means any option not prefixed with '-'. For example,
guix subcommand, system action, importer, etc.")
(defvar guix-help-parse-long-option-regexp
(rx (or " " ", ")
(group "--" (one-or-more (or wordchar "-"))
(zero-or-one "=")))
"Regexp used to find long options.")
(defvar guix-help-parse-short-option-regexp
(rx bol (one-or-more blank)
"-" (group (not (any "- "))))
"Regexp used to find short options.")
(defvar guix-help-parse-package-regexp
(rx bol (group (one-or-more (not blank))))
"Regexp used to find names of the packages.")
(defvar guix-help-parse-list-regexp
(rx bol (zero-or-more blank) "- "
(group (one-or-more (or wordchar "-"))))
"Regexp used to find various lists (lint checkers, graph types).")
(defvar guix-help-parse-regexp-group 1
"Parenthesized expression of regexps used to find commands and
options.")
;;; Non-receivable lists of system types, hash formats, etc.
(defvar guix-help-system-types
'("x86_64-linux" "i686-linux" "armhf-linux" "mips64el-linux")
"List of supported systems.")
(defvar guix-help-source-types
'("package" "all" "transitive")
"List of supported sources types.")
(defvar guix-help-hash-formats
'("nix-base32" "base32" "base16" "hex" "hexadecimal")
"List of supported hash formats.")
(defvar guix-help-refresh-subsets
'("core" "non-core")
"List of supported 'refresh' subsets.")
(defvar guix-help-key-policies
'("interactive" "always" "never")
"List of supported key download policies.")
(defvar guix-help-verify-options
'("repair" "contents")
"List of supported 'verify' options")
(defvar guix-help-elpa-archives
'("gnu" "melpa" "melpa-stable")
"List of supported ELPA archives.")
(provide 'guix-help-vars)
;;; guix-help-vars.el ends here
+362
View File
@@ -0,0 +1,362 @@
;;; guix-hydra-build.el --- Interface for Hydra builds -*- lexical-binding: t -*-
;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides an interface for displaying Hydra builds in
;; 'list' and 'info' buffers.
;;; Code:
(require 'cl-lib)
(require 'guix-buffer)
(require 'guix-list)
(require 'guix-info)
(require 'guix-hydra)
(require 'guix-build-log)
(require 'guix-utils)
(guix-hydra-define-entry-type hydra-build
:search-types '((latest . guix-hydra-build-latest-api-url)
(queue . guix-hydra-build-queue-api-url))
:filters '(guix-hydra-build-filter-status)
:filter-names '((nixname . name)
(buildstatus . build-status)
(timestamp . time))
:filter-boolean-params '(finished busy))
(defun guix-hydra-build-get-display (search-type &rest args)
"Search for Hydra builds and show results."
(apply #'guix-list-get-display-entries
'hydra-build search-type args))
(cl-defun guix-hydra-build-latest-prompt-args (&key project jobset
job system)
"Prompt for and return a list of 'latest builds' arguments."
(let* ((number (read-number "Number of latest builds: "))
(project (if current-prefix-arg
(guix-hydra-read-project nil project)
project))
(jobset (if current-prefix-arg
(guix-hydra-read-jobset nil jobset)
jobset))
(job-or-name (if current-prefix-arg
(guix-hydra-read-job nil job)
job))
(job (and job-or-name
(string-match-p guix-hydra-job-regexp
job-or-name)
job-or-name))
(system (if (and (not job)
(or current-prefix-arg
(and job-or-name (not system))))
(if job-or-name
(guix-while-null
(guix-hydra-read-system
(concat job-or-name ".") system))
(guix-hydra-read-system nil system))
system))
(job (or job
(and job-or-name
(concat job-or-name "." system)))))
(list number
:project project
:jobset jobset
:job job
:system system)))
(defun guix-hydra-build-view-log (id)
"View build log of a hydra build ID."
(guix-build-log-find-file (guix-hydra-build-log-url id)))
;;; Defining URLs
(defun guix-hydra-build-url (id)
"Return Hydra URL of a build ID."
(guix-hydra-url "build/" (number-to-string id)))
(defun guix-hydra-build-log-url (id)
"Return Hydra URL of the log file of a build ID."
(concat (guix-hydra-build-url id) "/log/raw"))
(cl-defun guix-hydra-build-latest-api-url
(number &key project jobset job system)
"Return Hydra API URL to receive latest NUMBER of builds."
(guix-hydra-api-url "latestbuilds"
`(("nr" . ,number)
("project" . ,project)
("jobset" . ,jobset)
("job" . ,job)
("system" . ,system))))
(defun guix-hydra-build-queue-api-url (number)
"Return Hydra API URL to receive the NUMBER of queued builds."
(guix-hydra-api-url "queue"
`(("nr" . ,number))))
;;; Filters for processing raw entries
(defun guix-hydra-build-filter-status (entry)
"Add 'status' parameter to 'hydra-build' ENTRY."
(let ((status (if (guix-entry-value entry 'finished)
(guix-hydra-build-status-number->name
(guix-entry-value entry 'build-status))
(if (guix-entry-value entry 'busy)
'running
'scheduled))))
(cons `(status . ,status)
entry)))
;;; Build status
(defface guix-hydra-build-status-running
'((t :inherit bold))
"Face used if hydra build is not finished."
:group 'guix-hydra-build-faces)
(defface guix-hydra-build-status-scheduled
'((t))
"Face used if hydra build is scheduled."
:group 'guix-hydra-build-faces)
(defface guix-hydra-build-status-succeeded
'((t :inherit success))
"Face used if hydra build succeeded."
:group 'guix-hydra-build-faces)
(defface guix-hydra-build-status-cancelled
'((t :inherit warning))
"Face used if hydra build was cancelled."
:group 'guix-hydra-build-faces)
(defface guix-hydra-build-status-failed
'((t :inherit error))
"Face used if hydra build failed."
:group 'guix-hydra-build-faces)
(defvar guix-hydra-build-status-alist
'((0 . succeeded)
(1 . failed-build)
(2 . failed-dependency)
(3 . failed-other)
(4 . cancelled))
"Alist of hydra build status numbers and status names.
Status numbers are returned by Hydra API, names (symbols) are
used internally by the elisp code of this package.")
(defun guix-hydra-build-status-number->name (number)
"Convert build status number to a name.
See `guix-hydra-build-status-alist'."
(guix-assq-value guix-hydra-build-status-alist number))
(defun guix-hydra-build-status-string (status)
"Return a human readable string for build STATUS."
(cl-case status
(scheduled
(guix-get-string "Scheduled" 'guix-hydra-build-status-scheduled))
(running
(guix-get-string "Running" 'guix-hydra-build-status-running))
(succeeded
(guix-get-string "Succeeded" 'guix-hydra-build-status-succeeded))
(cancelled
(guix-get-string "Cancelled" 'guix-hydra-build-status-cancelled))
(failed-build
(guix-hydra-build-status-fail-string))
(failed-dependency
(guix-hydra-build-status-fail-string "dependency"))
(failed-other
(guix-hydra-build-status-fail-string "other"))))
(defun guix-hydra-build-status-fail-string (&optional reason)
"Return a string for a failed build."
(let ((base (guix-get-string "Failed" 'guix-hydra-build-status-failed)))
(if reason
(concat base " (" reason ")")
base)))
(defun guix-hydra-build-finished? (entry)
"Return non-nil, if hydra build was finished."
(guix-entry-value entry 'finished))
(defun guix-hydra-build-running? (entry)
"Return non-nil, if hydra build is running."
(eq (guix-entry-value entry 'status)
'running))
(defun guix-hydra-build-scheduled? (entry)
"Return non-nil, if hydra build is scheduled."
(eq (guix-entry-value entry 'status)
'scheduled))
(defun guix-hydra-build-succeeded? (entry)
"Return non-nil, if hydra build succeeded."
(eq (guix-entry-value entry 'status)
'succeeded))
(defun guix-hydra-build-cancelled? (entry)
"Return non-nil, if hydra build was cancelled."
(eq (guix-entry-value entry 'status)
'cancelled))
(defun guix-hydra-build-failed? (entry)
"Return non-nil, if hydra build failed."
(memq (guix-entry-value entry 'status)
'(failed-build failed-dependency failed-other)))
;;; Hydra build 'info'
(guix-hydra-info-define-interface hydra-build
:mode-name "Hydra-Build-Info"
:buffer-name "*Guix Hydra Build Info*"
:format '((name ignore (simple guix-info-heading))
ignore
guix-hydra-build-info-insert-url
(time format (time))
(status format guix-hydra-build-info-insert-status)
(project format (format guix-hydra-build-project))
(jobset format (format guix-hydra-build-jobset))
(job format (format guix-hydra-build-job))
(system format (format guix-hydra-build-system))
(priority format (format))))
(defface guix-hydra-build-info-project
'((t :inherit link))
"Face for project names."
:group 'guix-hydra-build-info-faces)
(defface guix-hydra-build-info-jobset
'((t :inherit link))
"Face for jobsets."
:group 'guix-hydra-build-info-faces)
(defface guix-hydra-build-info-job
'((t :inherit link))
"Face for jobs."
:group 'guix-hydra-build-info-faces)
(defface guix-hydra-build-info-system
'((t :inherit link))
"Face for system names."
:group 'guix-hydra-build-info-faces)
(defmacro guix-hydra-build-define-button (name)
"Define `guix-hydra-build-NAME' button."
(let* ((name-str (symbol-name name))
(button-name (intern (concat "guix-hydra-build-" name-str)))
(face-name (intern (concat "guix-hydra-build-info-" name-str)))
(keyword (intern (concat ":" name-str))))
`(define-button-type ',button-name
:supertype 'guix
'face ',face-name
'help-echo ,(format "\
Show latest builds for this %s (with prefix, prompt for all parameters)"
name-str)
'action (lambda (btn)
(let ((args (guix-hydra-build-latest-prompt-args
,keyword (button-label btn))))
(apply #'guix-hydra-build-get-display
'latest args))))))
(guix-hydra-build-define-button project)
(guix-hydra-build-define-button jobset)
(guix-hydra-build-define-button job)
(guix-hydra-build-define-button system)
(defun guix-hydra-build-info-insert-url (entry)
"Insert Hydra URL for the build ENTRY."
(guix-insert-button (guix-hydra-build-url (guix-entry-id entry))
'guix-url)
(when (guix-hydra-build-finished? entry)
(guix-info-insert-indent)
(guix-info-insert-action-button
"Build log"
(lambda (btn)
(guix-hydra-build-view-log (button-get btn 'id)))
"View build log"
'id (guix-entry-id entry))))
(defun guix-hydra-build-info-insert-status (status &optional _)
"Insert a string with build STATUS."
(insert (guix-hydra-build-status-string status)))
;;; Hydra build 'list'
(guix-hydra-list-define-interface hydra-build
:mode-name "Hydra-Build-List"
:buffer-name "*Guix Hydra Build List*"
:format '((name nil 30 t)
(system nil 16 t)
(status guix-hydra-build-list-get-status 20 t)
(project nil 10 t)
(jobset nil 17 t)
(time guix-list-get-time 20 t)))
(let ((map guix-hydra-build-list-mode-map))
(define-key map (kbd "B") 'guix-hydra-build-list-latest-builds)
(define-key map (kbd "L") 'guix-hydra-build-list-view-log))
(defun guix-hydra-build-list-get-status (status &optional _)
"Return a string for build STATUS."
(guix-hydra-build-status-string status))
(defun guix-hydra-build-list-latest-builds (number &rest args)
"Display latest NUMBER of Hydra builds of the current job.
Interactively, prompt for NUMBER. With prefix argument, prompt
for all ARGS."
(interactive
(let ((entry (guix-list-current-entry)))
(guix-hydra-build-latest-prompt-args
:project (guix-entry-value entry 'project)
:jobset (guix-entry-value entry 'name)
:job (guix-entry-value entry 'job)
:system (guix-entry-value entry 'system))))
(apply #'guix-hydra-latest-builds number args))
(defun guix-hydra-build-list-view-log ()
"View build log of the current Hydra build."
(interactive)
(guix-hydra-build-view-log (guix-list-current-id)))
;;; Interactive commands
;;;###autoload
(defun guix-hydra-latest-builds (number &rest args)
"Display latest NUMBER of Hydra builds.
ARGS are the same arguments as for `guix-hydra-build-latest-api-url'.
Interactively, prompt for NUMBER. With prefix argument, prompt
for all ARGS."
(interactive (guix-hydra-build-latest-prompt-args))
(apply #'guix-hydra-build-get-display
'latest number args))
;;;###autoload
(defun guix-hydra-queued-builds (number)
"Display the NUMBER of queued Hydra builds."
(interactive "NNumber of queued builds: ")
(guix-hydra-build-get-display 'queue number))
(provide 'guix-hydra-build)
;;; guix-hydra-build.el ends here
+162
View File
@@ -0,0 +1,162 @@
;;; guix-hydra-jobset.el --- Interface for Hydra jobsets -*- lexical-binding: t -*-
;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides an interface for displaying Hydra jobsets in
;; 'list' and 'info' buffers.
;;; Code:
(require 'cl-lib)
(require 'guix-buffer)
(require 'guix-list)
(require 'guix-info)
(require 'guix-hydra)
(require 'guix-hydra-build)
(require 'guix-utils)
(guix-hydra-define-entry-type hydra-jobset
:search-types '((project . guix-hydra-jobset-api-url))
:filters '(guix-hydra-jobset-filter-id)
:filter-names '((nrscheduled . scheduled)
(nrsucceeded . succeeded)
(nrfailed . failed)
(nrtotal . total)))
(defun guix-hydra-jobset-get-display (search-type &rest args)
"Search for Hydra builds and show results."
(apply #'guix-list-get-display-entries
'hydra-jobset search-type args))
;;; Defining URLs
(defun guix-hydra-jobset-url (project jobset)
"Return Hydra URL of a PROJECT's JOBSET."
(guix-hydra-url "jobset/" project "/" jobset))
(defun guix-hydra-jobset-api-url (project)
"Return Hydra API URL for jobsets by PROJECT."
(guix-hydra-api-url "jobsets"
`(("project" . ,project))))
;;; Filters for processing raw entries
(defun guix-hydra-jobset-filter-id (entry)
"Add 'ID' parameter to 'hydra-jobset' ENTRY."
(cons `(id . ,(guix-entry-value entry 'name))
entry))
;;; Hydra jobset 'info'
(guix-hydra-info-define-interface hydra-jobset
:mode-name "Hydra-Jobset-Info"
:buffer-name "*Guix Hydra Jobset Info*"
:format '((name ignore (simple guix-info-heading))
ignore
guix-hydra-jobset-info-insert-url
(project format guix-hydra-jobset-info-insert-project)
(scheduled format (format guix-hydra-jobset-info-scheduled))
(succeeded format (format guix-hydra-jobset-info-succeeded))
(failed format (format guix-hydra-jobset-info-failed))
(total format (format guix-hydra-jobset-info-total))))
(defface guix-hydra-jobset-info-scheduled
'((t))
"Face used for the number of scheduled builds."
:group 'guix-hydra-jobset-info-faces)
(defface guix-hydra-jobset-info-succeeded
'((t :inherit guix-hydra-build-status-succeeded))
"Face used for the number of succeeded builds."
:group 'guix-hydra-jobset-info-faces)
(defface guix-hydra-jobset-info-failed
'((t :inherit guix-hydra-build-status-failed))
"Face used for the number of failed builds."
:group 'guix-hydra-jobset-info-faces)
(defface guix-hydra-jobset-info-total
'((t))
"Face used for the total number of builds."
:group 'guix-hydra-jobset-info-faces)
(defun guix-hydra-jobset-info-insert-project (project entry)
"Insert PROJECT button for the jobset ENTRY."
(let ((jobset (guix-entry-value entry 'name)))
(guix-insert-button
project 'guix-hydra-build-project
'action (lambda (btn)
(let ((args (guix-hydra-build-latest-prompt-args
:project (button-get btn 'project)
:jobset (button-get btn 'jobset))))
(apply #'guix-hydra-build-get-display
'latest args)))
'project project
'jobset jobset)))
(defun guix-hydra-jobset-info-insert-url (entry)
"Insert Hydra URL for the jobset ENTRY."
(guix-insert-button (guix-hydra-jobset-url
(guix-entry-value entry 'project)
(guix-entry-value entry 'name))
'guix-url))
;;; Hydra jobset 'list'
(guix-hydra-list-define-interface hydra-jobset
:mode-name "Hydra-Jobset-List"
:buffer-name "*Guix Hydra Jobset List*"
:format '((name nil 25 t)
(project nil 10 t)
(scheduled nil 12 t)
(succeeded nil 12 t)
(failed nil 9 t)
(total nil 10 t)))
(let ((map guix-hydra-jobset-list-mode-map))
(define-key map (kbd "B") 'guix-hydra-jobset-list-latest-builds))
(defun guix-hydra-jobset-list-latest-builds (number &rest args)
"Display latest NUMBER of Hydra builds of the current jobset.
Interactively, prompt for NUMBER. With prefix argument, prompt
for all ARGS."
(interactive
(let ((entry (guix-list-current-entry)))
(guix-hydra-build-latest-prompt-args
:project (guix-entry-value entry 'project)
:jobset (guix-entry-value entry 'name))))
(apply #'guix-hydra-latest-builds number args))
;;; Interactive commands
;;;###autoload
(defun guix-hydra-jobsets (project)
"Display jobsets of PROJECT."
(interactive (list (guix-hydra-read-project)))
(guix-hydra-jobset-get-display 'project project))
(provide 'guix-hydra-jobset)
;;; guix-hydra-jobset.el ends here
+367
View File
@@ -0,0 +1,367 @@
;;; guix-hydra.el --- Common code for interacting with Hydra -*- lexical-binding: t -*-
;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides some general code for 'list'/'info' interfaces for
;; Hydra (Guix build farm).
;;; Code:
(require 'json)
(require 'guix-buffer)
(require 'guix-entry)
(require 'guix-utils)
(require 'guix-help-vars)
(guix-define-groups hydra)
(defvar guix-hydra-job-regexp
(concat ".*\\." (regexp-opt guix-help-system-types) "\\'")
"Regexp matching a full name of Hydra job (including system).")
(defun guix-hydra-job-name-specification (name version)
"Return Hydra's job name specification by NAME and VERSION."
(concat name "-" version))
(defun guix-hydra-message (entries search-type &rest _)
"Display a message after showing Hydra ENTRIES."
;; XXX Add more messages maybe.
(when (null entries)
(if (eq search-type 'fake)
(message "The update is impossible due to lack of Hydra API.")
(message "Hydra has returned no results."))))
(defun guix-hydra-list-describe (ids)
"Describe 'hydra' entries with IDS (list of identifiers)."
(guix-buffer-display-entries
(guix-entries-by-ids ids (guix-buffer-current-entries))
'info (guix-buffer-current-entry-type)
;; Hydra does not provide an API to receive builds/jobsets by
;; IDs/names, so we use a 'fake' search type.
'(fake)
'add))
;;; Readers
(defvar guix-hydra-projects
'("gnu" "guix")
"List of available Hydra projects.")
(guix-define-readers
:completions-var guix-hydra-projects
:single-reader guix-hydra-read-project
:single-prompt "Project: ")
(guix-define-readers
:single-reader guix-hydra-read-jobset
:single-prompt "Jobset: ")
(guix-define-readers
:single-reader guix-hydra-read-job
:single-prompt "Job: ")
(guix-define-readers
:completions-var guix-help-system-types
:single-reader guix-hydra-read-system
:single-prompt "System: ")
;;; Defining URLs
(defvar guix-hydra-url "http://hydra.gnu.org"
"URL of the Hydra build farm.")
(defun guix-hydra-url (&rest url-parts)
"Return Hydra URL."
(apply #'concat guix-hydra-url "/" url-parts))
(defun guix-hydra-api-url (type args)
"Return URL for receiving data using Hydra API.
TYPE is the name of an allowed method.
ARGS is alist of (KEY . VALUE) pairs.
Skip ARG, if VALUE is nil or an empty string."
(declare (indent 1))
(let* ((fields (mapcar
(lambda (arg)
(pcase arg
(`(,key . ,value)
(unless (or (null value)
(equal "" value))
(concat (guix-hexify key) "="
(guix-hexify value))))
(_ (error "Wrong argument '%s'" arg))))
args))
(fields (mapconcat #'identity (delq nil fields) "&")))
(guix-hydra-url "api/" type "?" fields)))
;;; Receiving data from Hydra
(defun guix-hydra-receive-data (url)
"Return output received from URL and processed with `json-read'."
(with-temp-buffer
(url-insert-file-contents url)
(goto-char (point-min))
(let ((json-key-type 'symbol)
(json-array-type 'list)
(json-object-type 'alist))
(json-read))))
(defun guix-hydra-get-entries (entry-type search-type &rest args)
"Receive ENTRY-TYPE entries from Hydra.
SEARCH-TYPE is one of the types defined by `guix-hydra-define-interface'."
(unless (eq search-type 'fake)
(let* ((url (apply #'guix-hydra-search-url
entry-type search-type args))
(raw-entries (guix-hydra-receive-data url))
(entries (guix-hydra-filter-entries
raw-entries
(guix-hydra-filters entry-type))))
entries)))
;;; Filters for processing raw entries
(defun guix-hydra-filter-entries (entries filters)
"Filter ENTRIES using FILTERS.
Call `guix-modify' on each entry from ENTRIES."
(mapcar (lambda (entry)
(guix-modify entry filters))
entries))
(defun guix-hydra-filter-names (entry name-alist)
"Replace names of ENTRY parameters using NAME-ALIST.
Each element of NAME-ALIST is (OLD-NAME . NEW-NAME) pair."
(mapcar (lambda (param)
(pcase param
(`(,name . ,val)
(let ((new-name (guix-assq-value name-alist name)))
(if new-name
(cons new-name val)
param)))))
entry))
(defun guix-hydra-filter-boolean (entry params)
"Convert number PARAMS (0/1) of ENTRY to boolean values (nil/t)."
(mapcar (lambda (param)
(pcase param
(`(,name . ,val)
(if (memq name params)
(cons name (guix-number->bool val))
param))))
entry))
;;; Wrappers for defined variables
(defvar guix-hydra-entry-type-data nil
"Alist with hydra entry type data.
This alist is filled by `guix-hydra-define-entry-type' macro.")
(defun guix-hydra-entry-type-value (entry-type symbol)
"Return SYMBOL's value for ENTRY-TYPE from `guix-hydra'."
(symbol-value (guix-assq-value guix-hydra-entry-type-data
entry-type symbol)))
(defun guix-hydra-search-url (entry-type search-type &rest args)
"Return URL to receive ENTRY-TYPE entries from Hydra."
(apply (guix-assq-value (guix-hydra-entry-type-value
entry-type 'search-types)
search-type)
args))
(defun guix-hydra-filters (entry-type)
"Return a list of filters for ENTRY-TYPE."
(guix-hydra-entry-type-value entry-type 'filters))
;;; Interface definers
(defmacro guix-hydra-define-entry-type (entry-type &rest args)
"Define general code for ENTRY-TYPE.
Remaining arguments (ARGS) should have a form [KEYWORD VALUE] ...
Required keywords:
- `:search-types' - default value of the generated
`guix-ENTRY-TYPE-search-types' variable.
Optional keywords:
- `:filters' - default value of the generated
`guix-ENTRY-TYPE-filters' variable.
- `:filter-names' - if specified, a generated
`guix-ENTRY-TYPE-filter-names' function for filtering these
names will be added to `guix-ENTRY-TYPE-filters' variable.
- `:filter-boolean-params' - if specified, a generated
`guix-ENTRY-TYPE-filter-boolean' function for filtering these
names will be added to `guix-ENTRY-TYPE-filters' variable.
The rest keyword arguments are passed to
`guix-define-entry-type' macro."
(declare (indent 1))
(let* ((entry-type-str (symbol-name entry-type))
(prefix (concat "guix-" entry-type-str))
(search-types-var (intern (concat prefix "-search-types")))
(filters-var (intern (concat prefix "-filters")))
(get-fun (intern (concat prefix "-get-entries"))))
(guix-keyword-args-let args
((search-types-val :search-types)
(filters-val :filters)
(filter-names-val :filter-names)
(filter-bool-val :filter-boolean-params))
`(progn
(defvar ,search-types-var ,search-types-val
,(format "\
Alist of search types and according URL functions.
Functions are used to define URL to receive '%s' entries."
entry-type-str))
(defvar ,filters-var ,filters-val
,(format "\
List of filters for '%s' parameters.
Each filter is a function that should take an entry as a single
argument, and should also return an entry."
entry-type-str))
,(when filter-bool-val
(let ((filter-bool-var (intern (concat prefix
"-filter-boolean-params")))
(filter-bool-fun (intern (concat prefix
"-filter-boolean"))))
`(progn
(defvar ,filter-bool-var ,filter-bool-val
,(format "\
List of '%s' parameters that should be transformed to boolean values."
entry-type-str))
(defun ,filter-bool-fun (entry)
,(format "\
Run `guix-hydra-filter-boolean' with `%S' variable."
filter-bool-var)
(guix-hydra-filter-boolean entry ,filter-bool-var))
(setq ,filters-var
(cons ',filter-bool-fun ,filters-var)))))
;; Do not move this clause up!: name filtering should be
;; performed before any other filtering, so this filter should
;; be consed after the boolean filter.
,(when filter-names-val
(let* ((filter-names-var (intern (concat prefix
"-filter-names")))
(filter-names-fun filter-names-var))
`(progn
(defvar ,filter-names-var ,filter-names-val
,(format "\
Alist of '%s' parameter names returned by Hydra API and names
used internally by the elisp code of this package."
entry-type-str))
(defun ,filter-names-fun (entry)
,(format "\
Run `guix-hydra-filter-names' with `%S' variable."
filter-names-var)
(guix-hydra-filter-names entry ,filter-names-var))
(setq ,filters-var
(cons ',filter-names-fun ,filters-var)))))
(defun ,get-fun (search-type &rest args)
,(format "\
Receive '%s' entries.
See `guix-hydra-get-entries' for details."
entry-type-str)
(apply #'guix-hydra-get-entries
',entry-type search-type args))
(guix-alist-put!
'((search-types . ,search-types-var)
(filters . ,filters-var))
'guix-hydra-entry-type-data ',entry-type)
(guix-define-entry-type ,entry-type
:parent-group guix-hydra
:parent-faces-group guix-hydra-faces
,@%foreign-args)))))
(defmacro guix-hydra-define-interface (buffer-type entry-type &rest args)
"Define BUFFER-TYPE interface for displaying ENTRY-TYPE entries.
This macro should be called after calling
`guix-hydra-define-entry-type' with the same ENTRY-TYPE.
ARGS are passed to `guix-BUFFER-TYPE-define-interface' macro."
(declare (indent 2))
(let* ((entry-type-str (symbol-name entry-type))
(buffer-type-str (symbol-name buffer-type))
(get-fun (intern (concat "guix-" entry-type-str
"-get-entries")))
(definer (intern (concat "guix-" buffer-type-str
"-define-interface"))))
`(,definer ,entry-type
:get-entries-function ',get-fun
:message-function 'guix-hydra-message
,@args)))
(defmacro guix-hydra-info-define-interface (entry-type &rest args)
"Define 'info' interface for displaying ENTRY-TYPE entries.
See `guix-hydra-define-interface'."
(declare (indent 1))
`(guix-hydra-define-interface info ,entry-type
,@args))
(defmacro guix-hydra-list-define-interface (entry-type &rest args)
"Define 'list' interface for displaying ENTRY-TYPE entries.
Remaining arguments (ARGS) should have a form [KEYWORD VALUE] ...
Optional keywords:
- `:describe-function' - default value of the generated
`guix-ENTRY-TYPE-list-describe-function' variable (if not
specified, use `guix-hydra-list-describe').
The rest keyword arguments are passed to
`guix-hydra-define-interface' macro."
(declare (indent 1))
(guix-keyword-args-let args
((describe-val :describe-function))
`(guix-hydra-define-interface list ,entry-type
:describe-function ,(or describe-val ''guix-hydra-list-describe)
,@args)))
(defvar guix-hydra-font-lock-keywords
(eval-when-compile
`((,(rx "(" (group (or "guix-hydra-define-entry-type"
"guix-hydra-define-interface"
"guix-hydra-info-define-interface"
"guix-hydra-list-define-interface"))
symbol-end)
. 1))))
(font-lock-add-keywords 'emacs-lisp-mode guix-hydra-font-lock-keywords)
(provide 'guix-hydra)
;;; guix-hydra.el ends here
+297 -696
View File
File diff suppressed because it is too large Load Diff
+3
View File
@@ -0,0 +1,3 @@
(require 'guix-autoloads)
(message "(require 'guix-init) is obsolete, use (require 'guix-autoloads) instead.")
(provide 'guix-init)
-19
View File
@@ -1,19 +0,0 @@
(require 'guix-autoloads)
(defvar guix-load-path
(replace-regexp-in-string "${prefix}" "@prefix@" "@emacsuidir@")
"Directory with scheme files for \"guix.el\" package.")
(defcustom guix-package-enable-at-startup t
"If non-nil, activate Emacs packages installed in a user profile.
Set this variable to nil before requiring `guix-init' file to
avoid loading autoloads of Emacs packages installed in
`guix-user-profile'."
:type 'boolean
:group 'guix)
(when guix-package-enable-at-startup
(require 'guix-emacs)
(guix-emacs-load-autoloads 'all))
(provide 'guix-init)
+65
View File
@@ -0,0 +1,65 @@
;;; guix-license.el --- Licenses
;; Copyright © 2016 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides the code to work with licenses of Guix packages.
;;; Code:
(require 'guix-read)
(require 'guix-backend)
(require 'guix-guile)
(defun guix-license-file (&optional directory)
"Return name of the file with license definitions.
DIRECTORY is a directory with Guix source (`guix-directory' by default)."
(expand-file-name "guix/licenses.scm"
(or directory guix-directory)))
(defun guix-lookup-license-url (license)
"Return URL of a LICENSE."
(or (guix-eval-read (guix-make-guile-expression
'lookup-license-uri license))
(error "Hm, I don't know URL of '%s' license" license)))
;;;###autoload
(defun guix-find-license-definition (license &optional directory)
"Open licenses file from DIRECTORY and move to the LICENSE definition.
See `guix-license-file' for the meaning of DIRECTORY.
Interactively, with prefix argument, prompt for DIRECTORY."
(interactive
(list (guix-read-license-name)
(guix-read-directory)))
(find-file (guix-license-file directory))
(goto-char (point-min))
(when (re-search-forward (concat "\"" (regexp-quote license) "\"")
nil t)
(beginning-of-defun)
(recenter 1)))
;;;###autoload
(defun guix-browse-license-url (license)
"Browse URL of a LICENSE."
(interactive (list (guix-read-license-name)))
(browse-url (guix-lookup-license-url license)))
(provide 'guix-license)
;;; guix-license.el ends here
+332 -636
View File
File diff suppressed because it is too large Load Diff
+79
View File
@@ -0,0 +1,79 @@
;;; guix-location.el --- Package locations
;; Copyright © 2016 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public Location as published by
;; the Free Software Foundation, either version 3 of the Location, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public Location for more details.
;; You should have received a copy of the GNU General Public Location
;; along with this program. If not, see <http://www.gnu.org/locations/>.
;;; Commentary:
;; This file provides the code to work with locations of Guix packages.
;;; Code:
(require 'cl-lib)
(require 'guix-backend)
(require 'guix-read)
(require 'guix-guile)
(defun guix-package-location (id-or-name)
"Return location of a package with ID-OR-NAME.
For the meaning of location, see `guix-find-location'."
(guix-eval-read (guix-make-guile-expression
'package-location-string id-or-name)))
;;;###autoload
(defun guix-find-location (location &optional directory)
"Go to LOCATION of a package.
LOCATION is a string of the form:
\"FILE:LINE:COLUMN\"
If FILE is relative, it is considered to be relative to
DIRECTORY (`guix-directory' by default).
Interactively, prompt for LOCATION. With prefix argument, prompt
for DIRECTORY as well."
(interactive
(list (guix-read-package-location)
(guix-read-directory)))
(cl-multiple-value-bind (file line column)
(split-string location ":")
(find-file (expand-file-name file (or directory guix-directory)))
(when (and line column)
(let ((line (string-to-number line))
(column (string-to-number column)))
(goto-char (point-min))
(forward-line (- line 1))
(move-to-column column)
(recenter 1)))))
;;;###autoload
(defun guix-edit (id-or-name &optional directory)
"Edit (go to location of) package with ID-OR-NAME.
See `guix-find-location' for the meaning of package location and
DIRECTORY.
Interactively, with prefix argument, prompt for DIRECTORY."
(interactive
(list (guix-read-package-name)
(guix-read-directory)))
(let ((loc (guix-package-location id-or-name)))
(if loc
(guix-find-location loc directory)
(message "Couldn't find package location."))))
(provide 'guix-location)
;;; guix-location.el ends here
+334 -100
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Alex Kost <alezost@gmail.com>
;;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -32,34 +32,30 @@
;; still "name-version" string. So id package parameter in the code
;; below is either an object-address number or a full-name string.
;; To speed-up the process of getting information, the following
;; auxiliary variables are used:
;;
;; - `%packages' - VHash of "package address"/"package" pairs.
;;
;; - `%package-table' - Hash table of
;; "name+version key"/"list of packages" pairs.
;;; Code:
(use-modules
(ice-9 vlist)
(ice-9 match)
(ice-9 popen)
(srfi srfi-1)
(srfi srfi-2)
(srfi srfi-11)
(srfi srfi-19)
(srfi srfi-26)
(guix)
(guix combinators)
(guix git-download)
(guix grafts)
(guix packages)
(guix profiles)
(guix licenses)
(guix utils)
(guix ui)
(guix scripts)
(guix scripts package)
(guix scripts pull)
(gnu packages))
(gnu packages)
(gnu system))
(define-syntax-rule (first-or-false lst)
(and (not (null? lst))
@@ -68,9 +64,28 @@
(define (list-maybe obj)
(if (list? obj) obj (list obj)))
(define full-name->name+version package-name->name+version)
(define (output+error thunk)
"Call THUNK and return 2 values: output and error output as strings."
(let ((output-port (open-output-string))
(error-port (open-output-string)))
(with-output-to-port output-port
(lambda () (with-error-to-port error-port thunk)))
(let ((strings (list (get-output-string output-port)
(get-output-string error-port))))
(close-output-port output-port)
(close-output-port error-port)
(apply values strings))))
(define (full-name->name+version spec)
"Given package specification SPEC with or without output,
return two values: name and version. For example, for SPEC
\"foo@0.9.1b:lib\", return \"foo\" and \"0.9.1b\"."
(let-values (((name version output)
(package-specification->name+version+output spec)))
(values name version)))
(define (name+version->full-name name version)
(string-append name "-" version))
(string-append name "@" version))
(define* (make-package-specification name #:optional version output)
(let ((full-name (if version
@@ -80,28 +95,6 @@
(string-append full-name ":" output)
full-name)))
(define name+version->key cons)
(define key->name+version car+cdr)
(define %packages
(fold-packages (lambda (pkg res)
(vhash-consq (object-address pkg) pkg res))
vlist-null))
(define %package-table
(let ((table (make-hash-table (vlist-length %packages))))
(vlist-for-each
(lambda (elem)
(match elem
((address . pkg)
(let* ((key (name+version->key (package-name pkg)
(package-version pkg)))
(ref (hash-ref table key)))
(hash-set! table key
(if ref (cons pkg ref) (list pkg)))))))
%packages)
table))
(define (manifest-entry->name+version+output entry)
(values
(manifest-entry-name entry)
@@ -116,28 +109,26 @@
(define (manifest-entries->package-specifications entries)
(map manifest-entry->package-specification entries))
(define (generation-package-specifications profile number)
"Return a list of package specifications for generation NUMBER."
(let ((manifest (profile-manifest
(generation-file-name profile number))))
(define (profile-package-specifications profile)
"Return a list of package specifications for PROFILE."
(let ((manifest (profile-manifest profile)))
(manifest-entries->package-specifications
(manifest-entries manifest))))
(define (generation-package-specifications+paths profile number)
"Return a list of package specifications and paths for generation NUMBER.
(define (profile->specifications+paths profile)
"Return a list of package specifications and paths for PROFILE.
Each element of the list is a list of the package specification and its path."
(let ((manifest (profile-manifest
(generation-file-name profile number))))
(let ((manifest (profile-manifest profile)))
(map (lambda (entry)
(list (manifest-entry->package-specification entry)
(manifest-entry-item entry)))
(manifest-entries manifest))))
(define (generation-difference profile number1 number2)
"Return a list of package specifications for outputs installed in generation
NUMBER1 and not installed in generation NUMBER2."
(let ((specs1 (generation-package-specifications profile number1))
(specs2 (generation-package-specifications profile number2)))
(define (profile-difference profile1 profile2)
"Return a list of package specifications for outputs installed in PROFILE1
and not installed in PROFILE2."
(let ((specs1 (profile-package-specifications profile1))
(specs2 (profile-package-specifications profile2)))
(lset-difference string=? specs1 specs2)))
(define (manifest-entries->hash-table entries)
@@ -243,7 +234,12 @@ Example:
"Return a list of full names of the packages from package INPUTS."
(filter-map (match-lambda
((_ (? package? package))
(package-full-name package))
(make-package-specification (package-name package)
(package-version package)))
((_ (? package? package) output)
(make-package-specification (package-name package)
(package-version package)
output))
(_ #f))
inputs))
@@ -268,8 +264,10 @@ Example:
(define (package-unique? package)
"Return #t if PACKAGE is a single package with such name/version."
(null? (cdr (packages-by-name (package-name package)
(package-version package)))))
(match (packages-by-name (package-name package)
(package-version package))
((package) #t)
(_ #f)))
(define %package-param-alist
`((id . ,object-address)
@@ -279,9 +277,10 @@ Example:
(license . ,package-license-names)
(source . ,package-source-names)
(synopsis . ,package-synopsis)
(description . ,package-description)
(description . ,package-description-string)
(home-url . ,package-home-page)
(outputs . ,package-outputs)
(systems . ,package-supported-systems)
(non-unique . ,(negate package-unique?))
(inputs . ,(lambda (pkg)
(package-inputs-names
@@ -303,14 +302,39 @@ Example:
;;; Finding packages.
(define (package-by-address address)
(and=> (vhash-assq address %packages)
cdr))
(define-values (package-by-address
register-package)
(let ((table (delay (fold-packages
(lambda (package table)
(vhash-consq (object-address package)
package table))
vlist-null))))
(values
(lambda (address)
"Return package by its object ADDRESS."
(match (vhash-assq address (force table))
((_ . package) package)
(_ #f)))
(lambda (package)
"Register PACKAGE by its 'object-address', so that later
'package-by-address' can be used to access it."
(let ((table* (force table)))
(set! table
(delay (vhash-consq (object-address package)
package table*))))))))
(define (packages-by-name+version name version)
(or (hash-ref %package-table
(name+version->key name version))
'()))
(define packages-by-name+version
(let ((table (delay (fold-packages
(lambda (package table)
(let ((file (location-file
(package-location package))))
(vhash-cons (cons (package-name package)
(package-version package))
package table)))
vlist-null))))
(lambda (name version)
"Return packages matching NAME and VERSION."
(vhash-fold* cons '() (cons name version) (force table)))))
(define (packages-by-full-name full-name)
(call-with-values
@@ -378,6 +402,12 @@ MATCH-PARAMS is a list of parameters that REGEXP can match."
(let ((re (make-regexp regexp regexp/icase)))
(matching-packages (cut package-match? <> re))))
(define (packages-by-license license)
"Return a list of packages with LICENSE."
(matching-packages
(lambda (package)
(memq license (list-maybe (package-license package))))))
(define (all-available-packages)
"Return a list of all available packages."
(matching-packages (const #t)))
@@ -391,6 +421,15 @@ MATCH-PARAMS is a list of parameters that REGEXP can match."
'()
(find-newest-available-packages)))
(define (packages-from-file file)
"Return a list of packages from FILE."
(let ((package (load (canonicalize-path file))))
(if (package? package)
(begin
(register-package package)
(list package))
'())))
;;; Making package/output patterns.
@@ -638,24 +677,35 @@ ENTRIES is a list of installed manifest entries."
(manifest-output-proc (apply-to-first manifest-output-patterns))
(regexp-proc (lambda (_ regexp params . __)
(packages-by-regexp regexp params)))
(license-proc (lambda (_ license-name)
(packages-by-license
(lookup-license license-name))))
(location-proc (lambda (_ location)
(packages-by-location-file location)))
(file-proc (lambda (_ file)
(packages-from-file file)))
(all-proc (lambda _ (all-available-packages)))
(newest-proc (lambda _ (newest-available-packages))))
`((package
(id . ,(apply-to-rest ids->package-patterns))
(name . ,(apply-to-rest specifications->package-patterns))
(installed . ,manifest-package-proc)
(generation . ,manifest-package-proc)
(obsolete . ,(apply-to-first obsolete-package-patterns))
(regexp . ,regexp-proc)
(license . ,license-proc)
(location . ,location-proc)
(from-file . ,file-proc)
(all-available . ,all-proc)
(newest-available . ,newest-proc))
(output
(id . ,(apply-to-rest ids->output-patterns))
(name . ,(apply-to-rest specifications->output-patterns))
(installed . ,manifest-output-proc)
(generation . ,manifest-output-proc)
(obsolete . ,(apply-to-first obsolete-output-patterns))
(regexp . ,regexp-proc)
(license . ,license-proc)
(location . ,location-proc)
(from-file . ,file-proc)
(all-available . ,all-proc)
(newest-available . ,newest-proc)))))
@@ -668,16 +718,13 @@ ENTRIES is a list of installed manifest entries."
search-type search-vals)
"Return information about packages or package outputs.
See 'entry-sexps' for details."
(let* ((profile (if (eq? search-type 'generation)
(generation-file-name profile (car search-vals))
profile))
(manifest (profile-manifest profile))
(let* ((manifest (profile-manifest profile))
(patterns (if (and (eq? entry-type 'output)
(eq? search-type 'generation-diff))
(eq? search-type 'profile-diff))
(match search-vals
((g1 g2)
((p1 p2)
(map specification->output-pattern
(generation-difference profile g1 g2)))
(profile-difference p1 p2)))
(_ '()))
(apply (patterns-maker entry-type search-type)
manifest search-vals)))
@@ -739,6 +786,38 @@ See 'entry-sexps' for details."
params)))
(map ->sexp generations)))
(define system-generation-boot-parameters
(memoize
(lambda (profile generation)
"Return boot parameters for PROFILE's system GENERATION."
(let* ((gen-file (generation-file-name profile generation))
(param-file (string-append gen-file "/parameters")))
(call-with-input-file param-file read-boot-parameters)))))
(define (system-generation-param-alist profile)
"Return an alist of system generation parameters and procedures for
PROFILE."
(append (generation-param-alist profile)
`((label . ,(lambda (gen)
(boot-parameters-label
(system-generation-boot-parameters
profile gen))))
(root-device . ,(lambda (gen)
(boot-parameters-root-device
(system-generation-boot-parameters
profile gen))))
(kernel . ,(lambda (gen)
(boot-parameters-kernel
(system-generation-boot-parameters
profile gen)))))))
(define (system-generation-sexps profile params search-type search-vals)
"Return an alist with information about system generations."
(let ((generations (find-generations profile search-type search-vals))
(->sexp (object-transformer (system-generation-param-alist profile)
params)))
(map ->sexp generations)))
;;; Getting package/output/generation entries (alists).
@@ -783,6 +862,9 @@ parameter/value pairs."
((generation)
(generation-sexps profile params
search-type search-vals))
((system-generation)
(system-generation-sexps profile params
search-type search-vals))
(else (entry-type-error entry-type))))
@@ -790,9 +872,7 @@ parameter/value pairs."
(define* (package->manifest-entry* package #:optional output)
(and package
(begin
(check-package-freshness package)
(package->manifest-entry package output))))
(package->manifest-entry package output)))
(define* (make-install-manifest-entries id #:optional output)
(package->manifest-entry* (package-by-id id) output))
@@ -851,35 +931,16 @@ OUTPUTS is a list of package outputs (may be an empty list)."
(new-manifest (manifest-perform-transaction
manifest transaction)))
(unless (and (null? install) (null? remove))
(with-store store
(let* ((derivation (run-with-store store
(mbegin %store-monad
(set-guile-for-build (default-guile))
(profile-derivation new-manifest))))
(derivations (list derivation))
(new-profile (derivation->output-path derivation)))
(parameterize ((%graft? (not dry-run?)))
(with-store store
(set-build-options store
#:print-build-trace #f
#:use-substitutes? use-substitutes?)
(show-manifest-transaction store manifest transaction
#:dry-run? dry-run?)
(show-what-to-build store derivations
#:use-substitutes? use-substitutes?
#:dry-run? dry-run?)
(unless dry-run?
(let ((name (generation-file-name
profile
(+ 1 (generation-number profile)))))
(and (build-derivations store derivations)
(let* ((entries (manifest-entries new-manifest))
(count (length entries)))
(switch-symlinks name new-profile)
(switch-symlinks profile name)
(format #t (N_ "~a package in profile~%"
"~a packages in profile~%"
count)
count)
(display-search-paths entries profile))))))))))
(build-and-use-profile store profile new-manifest
#:use-substitutes? use-substitutes?
#:dry-run? dry-run?))))))
(define (delete-generations* profile generations)
"Delete GENERATIONS from PROFILE.
@@ -887,11 +948,24 @@ GENERATIONS is a list of generation numbers."
(with-store store
(delete-generations store profile generations)))
(define (package-location-string package-id)
"Return a location string of a package PACKAGE-ID."
(and-let* ((package (package-by-id package-id))
(location (package-location package)))
(location->string location)))
(define (package-location-string id-or-name)
"Return a location string of a package with ID-OR-NAME."
(and=> (or (package-by-id id-or-name)
(match (packages-by-name id-or-name)
(() #f)
((package _ ...) package)))
(compose location->string package-location)))
(define (package-store-path package-id)
"Return a list of store directories of outputs of package PACKAGE-ID."
(match (package-by-id package-id)
(#f '())
(package
(with-store store
(map (match-lambda
((_ . drv)
(derivation-output-path drv)))
(derivation-outputs (package-derivation store package)))))))
(define (package-source-derivation->store-path derivation)
"Return a store path of the package source DERIVATION."
@@ -927,3 +1001,163 @@ GENERATIONS is a list of generation numbers."
(build-derivations store derivations))
(format #t "The source store path: ~a~%"
(package-source-derivation->store-path derivation))))))
(define (package-build-log-file package-id)
"Return the build log file of a package PACKAGE-ID.
Return #f if the build log is not found."
(and-let* ((package (package-by-id package-id)))
(with-store store
(let* ((derivation (package-derivation store package))
(file (derivation-file-name derivation)))
(or (log-file store file)
((@@ (guix scripts build) log-url) store file))))))
;;; Executing guix commands
(define (guix-command . args)
"Run 'guix ARGS ...' command."
(catch 'quit
(lambda () (apply run-guix args))
(const #t)))
(define (guix-command-output . args)
"Return 2 strings with 'guix ARGS ...' output and error output."
(output+error
(lambda ()
(parameterize ((guix-warning-port (current-error-port)))
(apply guix-command args)))))
(define (help-string . commands)
"Return string with 'guix COMMANDS ... --help' output."
(apply guix-command-output `(,@commands "--help")))
(define (pipe-guix-output guix-args command-args)
"Run 'guix GUIX-ARGS ...' command and pipe its output to a shell command
defined by COMMAND-ARGS.
Return #t if the shell command was executed successfully."
(let ((pipe (apply open-pipe* OPEN_WRITE command-args)))
(with-output-to-port pipe
(lambda () (apply guix-command guix-args)))
(zero? (status:exit-val (close-pipe pipe)))))
;;; Lists of packages, lint checkers, etc.
(define (graph-type-names)
"Return a list of names of available graph node types."
(map (@ (guix graph) node-type-name)
(@ (guix scripts graph) %node-types)))
(define (refresh-updater-names)
"Return a list of names of available refresh updater types."
(map (@ (guix upstream) upstream-updater-name)
(@ (guix scripts refresh) %updaters)))
(define (lint-checker-names)
"Return a list of names of available lint checkers."
(map (lambda (checker)
(symbol->string ((@ (guix scripts lint) lint-checker-name)
checker)))
(@ (guix scripts lint) %checkers)))
(define (package-names)
"Return a list of names of available packages."
(delete-duplicates
(fold-packages (lambda (pkg res)
(cons (package-name pkg) res))
'())))
;; See the comment to 'guix-package-names' function in "guix-popup.el".
(define (package-names-lists)
(map list (package-names)))
;;; Licenses
(define %licenses
(delay
(filter license?
(module-map (lambda (_ var)
(variable-ref var))
(resolve-interface '(guix licenses))))))
(define (licenses)
(force %licenses))
(define (license-names)
"Return a list of names of available licenses."
(map license-name (licenses)))
(define lookup-license
(memoize
(lambda (name)
"Return a license by its name."
(find (lambda (l)
(string=? name (license-name l)))
(licenses)))))
(define (lookup-license-uri name)
"Return a license URI by its name."
(and=> (lookup-license name)
license-uri))
(define %license-param-alist
`((id . ,license-name)
(name . ,license-name)
(url . ,license-uri)
(comment . ,license-comment)))
(define license->sexp
(object-transformer %license-param-alist))
(define (find-licenses search-type . search-values)
"Return a list of licenses depending on SEARCH-TYPE and SEARCH-VALUES."
(case search-type
((id name)
(let ((names search-values))
(filter-map lookup-license names)))
((all)
(licenses))))
(define (license-entries search-type . search-values)
(map license->sexp
(apply find-licenses search-type search-values)))
;;; Package locations
(define-values (packages-by-location-file
package-location-files)
(let* ((table (delay (fold-packages
(lambda (package table)
(let ((file (location-file
(package-location package))))
(vhash-cons file package table)))
vlist-null)))
(files (delay (vhash-fold
(lambda (file _ result)
(if (member file result)
result
(cons file result)))
'()
(force table)))))
(values
(lambda (file)
"Return the (possibly empty) list of packages defined in location FILE."
(vhash-fold* cons '() file (force table)))
(lambda ()
"Return the list of file names of all package locations."
(force files)))))
(define %package-location-param-alist
`((id . ,identity)
(location . ,identity)
(number-of-packages . ,(lambda (location)
(length (packages-by-location-file location))))))
(define package-location->sexp
(object-transformer %package-location-param-alist))
(define (package-location-entries)
(map package-location->sexp (package-location-files)))
+75 -36
View File
@@ -1,6 +1,6 @@
;;; guix-messages.el --- Minibuffer messages
;; Copyright © 2014 Alex Kost <alezost@gmail.com>
;; Copyright © 2014, 2015 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
@@ -31,12 +31,22 @@
(defvar guix-messages
`((package
(id
(0 "Packages not found.")
(1 "")
(many "%d packages." count))
,(lambda (_ entries ids)
(guix-message-packages-by-id entries 'package ids)))
(name
,(lambda (_ entries names)
(guix-message-packages-by-name entries 'package names)))
(license
,(lambda (_ entries licenses)
(apply #'guix-message-packages-by-license
entries 'package licenses)))
(location
,(lambda (_ entries locations)
(apply #'guix-message-packages-by-location
entries 'package locations)))
(from-file
(0 "No package in file '%s'." val)
(1 "Package from file '%s'." val))
(regexp
(0 "No packages matching '%s'." val)
(1 "A single package matching '%s'." val)
@@ -56,23 +66,27 @@
(obsolete
(0 "No obsolete packages in profile '%s'." profile)
(1 "A single obsolete package in profile '%s'." profile)
(many "%d obsolete packages in profile '%s'." count profile))
(generation
(0 "No packages installed in generation %d of profile '%s'."
val profile)
(1 "A single package installed in generation %d of profile '%s'."
val profile)
(many "%d packages installed in generation %d of profile '%s'."
count val profile)))
(many "%d obsolete packages in profile '%s'." count profile)))
(output
(id
(0 "Package outputs not found.")
(1 "")
(many "%d package outputs." count))
,(lambda (_ entries ids)
(guix-message-packages-by-id entries 'output ids)))
(name
,(lambda (_ entries names)
(guix-message-packages-by-name entries 'output names)))
(license
,(lambda (_ entries licenses)
(apply #'guix-message-packages-by-license
entries 'output licenses)))
(location
,(lambda (_ entries locations)
(apply #'guix-message-packages-by-location
entries 'output locations)))
(from-file
(0 "No package in file '%s'." val)
(1 "Package from file '%s'." val)
(many "Package outputs from file '%s'." val))
(regexp
(0 "No package outputs matching '%s'." val)
(1 "A single package output matching '%s'." val)
@@ -93,14 +107,7 @@
(0 "No obsolete package outputs in profile '%s'." profile)
(1 "A single obsolete package output in profile '%s'." profile)
(many "%d obsolete package outputs in profile '%s'." count profile))
(generation
(0 "No package outputs installed in generation %d of profile '%s'."
val profile)
(1 "A single package output installed in generation %d of profile '%s'."
val profile)
(many "%d package outputs installed in generation %d of profile '%s'."
count val profile))
(generation-diff
(profile-diff
guix-message-outputs-by-diff))
(generation
@@ -147,6 +154,22 @@
(guix-message-string-entry-type
entry-type 'plural)))))
(defun guix-message-packages-by-id (entries entry-type ids)
"Display a message for packages or outputs searched by IDS."
(let* ((count (length entries))
(str-beg (guix-message-string-entries count entry-type))
(str-end (if (> count 1)
(concat "with the following IDs: "
(mapconcat #'guix-get-string ids ", "))
(concat "with ID " (guix-get-string (car ids))))))
(if (zerop count)
(message "%s %s.
Most likely, Guix REPL was restarted, so IDs are not actual
anymore, because they live only during the REPL process.
Try \"M-x guix-search-by-name\"."
str-beg str-end)
(message "%s %s." str-beg str-end))))
(defun guix-message-packages-by-name (entries entry-type names)
"Display a message for packages or outputs searched by NAMES."
(let* ((count (length entries))
@@ -159,6 +182,20 @@
(guix-message-string-name (car names))))))
(message "%s %s." str-beg str-end)))
(defun guix-message-packages-by-license (entries entry-type license)
"Display a message for packages or outputs searched by LICENSE."
(let* ((count (length entries))
(str-beg (guix-message-string-entries count entry-type))
(str-end (format "with license '%s'" license)))
(message "%s %s." str-beg str-end)))
(defun guix-message-packages-by-location (entries entry-type location)
"Display a message for packages or outputs searched by LOCATION."
(let* ((count (length entries))
(str-beg (guix-message-string-entries count entry-type))
(str-end (format "placed in '%s'" location)))
(message "%s %s." str-beg str-end)))
(defun guix-message-generations-by-time (profile entries times)
"Display a message for generations searched by TIMES."
(let* ((count (length entries))
@@ -169,31 +206,33 @@
"matching time period '%s' - '%s'.")
str-beg profile time-beg time-end)))
(defun guix-message-outputs-by-diff (profile entries generations)
"Display a message for outputs searched by GENERATIONS difference."
(defun guix-message-outputs-by-diff (_ entries profiles)
"Display a message for outputs searched by PROFILES difference."
(let* ((count (length entries))
(str-beg (guix-message-string-entries count 'output))
(gen1 (car generations))
(gen2 (cadr generations)))
(profile1 (car profiles))
(profile2 (cadr profiles)))
(cl-multiple-value-bind (new old str-action)
(if (> gen1 gen2)
(list gen1 gen2 "added to")
(list gen2 gen1 "removed from"))
(message (concat "%s %s generation %d comparing with "
"generation %d of profile '%s'.")
str-beg str-action new old profile))))
(if (string-lessp profile2 profile1)
(list profile1 profile2 "added to")
(list profile2 profile1 "removed from"))
(message "%s %s profile '%s' comparing with profile '%s'."
str-beg str-action new old))))
(defun guix-result-message (profile entries entry-type
search-type search-vals)
"Display an appropriate message after displaying ENTRIES."
(let* ((type-spec (guix-get-key-val guix-messages
entry-type search-type))
(let* ((type-spec (guix-assq-value guix-messages
(if (eq entry-type 'system-generation)
'generation
entry-type)
search-type))
(fun-or-count-spec (car type-spec)))
(if (functionp fun-or-count-spec)
(funcall fun-or-count-spec profile entries search-vals)
(let* ((count (length entries))
(count-key (if (> count 1) 'many count))
(msg-spec (guix-get-key-val type-spec count-key))
(msg-spec (guix-assq-value type-spec count-key))
(msg (car msg-spec))
(args (cdr msg-spec)))
(mapc (lambda (subst)
+48 -75
View File
@@ -28,58 +28,7 @@
(require 'pcmpl-unix)
(require 'cl-lib)
(require 'guix-utils)
;;; Regexps for parsing various "guix ..." outputs
(defvar guix-pcomplete-parse-package-regexp
(rx bol (group (one-or-more (not blank))))
"Regexp used to find names of the packages.")
(defvar guix-pcomplete-parse-command-regexp
(rx bol " "
(group wordchar (one-or-more (or wordchar "-"))))
"Regexp used to find guix commands.
'Command' means any option not prefixed with '-'. For example,
guix subcommand, system action, importer, etc.")
(defvar guix-pcomplete-parse-long-option-regexp
(rx (or " " ", ")
(group "--" (one-or-more (or wordchar "-"))
(zero-or-one "=")))
"Regexp used to find long options.")
(defvar guix-pcomplete-parse-short-option-regexp
(rx bol (one-or-more blank)
"-" (group (not (any "- "))))
"Regexp used to find short options.")
(defvar guix-pcomplete-parse-linter-regexp
(rx bol "- " (group (one-or-more (or wordchar "-"))))
"Regexp used to find 'lint' checkers.")
(defvar guix-pcomplete-parse-regexp-group 1
"Parenthesized expression of regexps used to find commands and
options.")
;;; Non-receivable completions
(defvar guix-pcomplete-systems
'("x86_64-linux" "i686-linux" "armhf-linux" "mips64el-linux")
"List of supported systems.")
(defvar guix-pcomplete-hash-formats
'("nix-base32" "base32" "base16" "hex" "hexadecimal")
"List of supported hash formats.")
(defvar guix-pcomplete-refresh-subsets
'("core" "non-core")
"List of supported 'refresh' subsets.")
(defvar guix-pcomplete-key-policies
'("interactive" "always" "never")
"List of supported key download policies.")
(require 'guix-help-vars)
;;; Interacting with guix
@@ -104,9 +53,8 @@ Return a list of strings matching REGEXP.
GROUP specifies a parenthesized expression used in REGEXP."
(with-temp-buffer
(apply #'guix-pcomplete-run-guix args)
(goto-char (point-min))
(let (result)
(while (re-search-forward regexp nil t)
(guix-while-search regexp
(push (match-string-no-properties group) result))
(nreverse result))))
@@ -128,7 +76,7 @@ function call is returned."
(let* ((args '("--help"))
(args (if command (cons command args) args))
(res (apply #'guix-pcomplete-run-guix-and-search
,regexp guix-pcomplete-parse-regexp-group args)))
,regexp guix-help-parse-regexp-group args)))
,(if filter
`(funcall ,filter res)
'res))))
@@ -137,23 +85,23 @@ function call is returned."
"If COMMAND is nil, return a list of available guix commands.
If COMMAND is non-nil (it should be a string), return available
subcommands, actions, etc. for this guix COMMAND."
guix-pcomplete-parse-command-regexp)
guix-help-parse-command-regexp)
(guix-pcomplete-define-options-finder guix-pcomplete-long-options
"Return a list of available long options for guix COMMAND."
guix-pcomplete-parse-long-option-regexp)
guix-help-parse-long-option-regexp)
(guix-pcomplete-define-options-finder guix-pcomplete-short-options
"Return a string with available short options for guix COMMAND."
guix-pcomplete-parse-short-option-regexp
guix-help-parse-short-option-regexp
(lambda (list)
(mapconcat #'identity list "")))
(guix-concat-strings list "")))
(guix-memoized-defun guix-pcomplete-all-packages ()
"Return a list of all available Guix packages."
(guix-pcomplete-run-guix-and-search
guix-pcomplete-parse-package-regexp
guix-pcomplete-parse-regexp-group
guix-help-parse-package-regexp
guix-help-parse-regexp-group
"package" "--list-available"))
(guix-memoized-defun guix-pcomplete-installed-packages (&optional profile)
@@ -162,17 +110,31 @@ subcommands, actions, etc. for this guix COMMAND."
(list (concat "--profile=" profile))))
(args (append '("package" "--list-installed") args)))
(apply #'guix-pcomplete-run-guix-and-search
guix-pcomplete-parse-package-regexp
guix-pcomplete-parse-regexp-group
guix-help-parse-package-regexp
guix-help-parse-regexp-group
args)))
(guix-memoized-defun guix-pcomplete-lint-checkers ()
"Return a list of all available lint checkers."
(guix-pcomplete-run-guix-and-search
guix-pcomplete-parse-linter-regexp
guix-pcomplete-parse-regexp-group
guix-help-parse-list-regexp
guix-help-parse-regexp-group
"lint" "--list-checkers"))
(guix-memoized-defun guix-pcomplete-graph-types ()
"Return a list of all available graph types."
(guix-pcomplete-run-guix-and-search
guix-help-parse-list-regexp
guix-help-parse-regexp-group
"graph" "--list-types"))
(guix-memoized-defun guix-pcomplete-refresh-updaters ()
"Return a list of all available refresh updater types."
(guix-pcomplete-run-guix-and-search
guix-help-parse-list-regexp
guix-help-parse-regexp-group
"refresh" "--list-updaters"))
;;; Completing
@@ -254,8 +216,8 @@ group - the argument.")
"Complete argument for guix COMMAND."
(cond
((member command
'("archive" "build" "edit" "environment" "lint" "refresh"
"size"))
'("archive" "build" "challenge" "edit" "environment"
"graph" "lint" "refresh" "size"))
(while t
(pcomplete-here (guix-pcomplete-all-packages))))
(t (pcomplete-here* (pcomplete-entries)))))
@@ -276,7 +238,7 @@ INPUT is the current partially completed string."
((option? "-L" "--load-path")
(complete* (pcomplete-dirs)))
((string= "--key-download" option)
(complete* guix-pcomplete-key-policies))
(complete* guix-help-key-policies))
((command? "package")
(cond
@@ -300,24 +262,31 @@ INPUT is the current partially completed string."
(complete (guix-pcomplete-all-packages)))
((option? "-p" "--profile")
(complete* (pcomplete-dirs)))
((option? "-m" "--manifest")
((or (option? "-f" "--install-from-file")
(option? "-m" "--manifest"))
(complete* (pcomplete-entries)))))
((and (command? "archive" "build" "size")
(option? "-s" "--system"))
(complete* guix-pcomplete-systems))
(complete* guix-help-system-types))
((and (command? "build")
(option? "-r" "--root"))
(or (option? "-f" "--file")
(option? "-r" "--root")
(string= "--with-source" option)))
(complete* (pcomplete-entries)))
((and (command? "graph")
(option? "-t" "--type"))
(complete* (guix-pcomplete-graph-types)))
((and (command? "environment")
(option? "-l" "--load"))
(complete* (pcomplete-entries)))
((and (command? "hash" "download")
(option? "-f" "--format"))
(complete* guix-pcomplete-hash-formats))
(complete* guix-help-hash-formats))
((and (command? "lint")
(option? "-c" "--checkers"))
@@ -328,9 +297,13 @@ INPUT is the current partially completed string."
(option? "-u" "--user"))
(complete* (pcmpl-unix-user-names)))
((and (command? "refresh")
(option? "-s" "--select"))
(complete* guix-pcomplete-refresh-subsets))
((command? "refresh")
(cond
((option? "-s" "--select")
(complete* guix-help-refresh-subsets))
((option? "-t" "--type")
(guix-pcomplete-complete-comma-args
(guix-pcomplete-refresh-updaters)))))
((and (command? "size")
(option? "-m" "--map-file"))
+48
View File
@@ -0,0 +1,48 @@
;;; guix-popup.el --- Popup windows library
;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides `guix-define-popup' macro which is just an alias
;; to `magit-define-popup'. According to the manual (info
;; "(magit-popup) Defining prefix and suffix commands") `magit-popup'
;; library will eventually be superseded by a more general library.
;;; Code:
(require 'magit-popup)
(defalias 'guix-define-popup 'magit-define-popup)
(defvar guix-popup-font-lock-keywords
(eval-when-compile
`((,(rx "("
(group "guix-define-popup")
symbol-end
(zero-or-more blank)
(zero-or-one
(group (one-or-more (or (syntax word) (syntax symbol))))))
(1 font-lock-keyword-face)
(2 font-lock-function-name-face nil t)))))
(font-lock-add-keywords 'emacs-lisp-mode guix-popup-font-lock-keywords)
(provide 'guix-popup)
;;; guix-popup.el ends here
+17 -11
View File
@@ -1,6 +1,6 @@
;;; guix-prettify.el --- Prettify Guix store file names
;; Copyright © 2014 Alex Kost <alezost@gmail.com>
;; Copyright © 2014, 2015 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
@@ -47,9 +47,12 @@
;;; Code:
(require 'guix-utils)
(defgroup guix-prettify nil
"Prettify Guix store file names."
:prefix "guix-prettify-"
:group 'guix
:group 'font-lock
:group 'convenience)
@@ -74,9 +77,14 @@ disabling `guix-prettify-mode' a little faster."
:group 'guix-prettify)
(defcustom guix-prettify-regexp
(rx "/"
(or "nix" "gnu")
"/store/"
;; The following file names / URLs should be abbreviated:
;; /gnu/store/…-foo-0.1
;; /nix/store/…-foo-0.1
;; http://hydra.gnu.org/nar/…-foo-0.1
;; http://hydra.gnu.org/log/…-foo-0.1
(rx "/" (or "store" "nar" "log") "/"
;; Hash-parts do not include "e", "o", "u" and "t". See base32Chars
;; at <https://github.com/NixOS/nix/blob/master/src/libutil/hash.cc>
(group (= 32 (any "0-9" "a-d" "f-n" "p-s" "v-z"))))
@@ -136,13 +144,11 @@ enabling/disabling `guix-prettify-mode'. If nil, do nothing.")
(remove-text-properties (point-min)
(point-max)
'(composition nil))
(save-excursion
(goto-char (point-min))
(while (re-search-forward guix-prettify-regexp nil t)
(remove-text-properties
(match-beginning guix-prettify-regexp-group)
(match-end guix-prettify-regexp-group)
'(composition nil))))))))
(guix-while-search guix-prettify-regexp
(remove-text-properties
(match-beginning guix-prettify-regexp-group)
(match-end guix-prettify-regexp-group)
'(composition nil)))))))
;;;###autoload
(define-minor-mode guix-prettify-mode
@@ -1,6 +1,7 @@
;;; guix-profiles.el --- Guix profiles
;; Copyright © 2014 Alex Kost <alezost@gmail.com>
;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
;; This file is part of GNU Guix.
@@ -19,12 +20,18 @@
;;; Code:
(require 'guix-config)
(defvar guix-user-profile
(expand-file-name "~/.guix-profile")
"User profile.")
(defvar guix-system-profile
(concat guix-config-state-directory "/profiles/system")
"System profile.")
(defvar guix-default-profile
(concat (or (getenv "NIX_STATE_DIR") "@guix_localstatedir@/guix")
(concat guix-config-state-directory
"/profiles/per-user/"
(getenv "USER")
"/guix-profile")
@@ -33,6 +40,14 @@
(defvar guix-current-profile guix-default-profile
"Current profile.")
(defvar guix-system-profile-regexp
(concat "\\`" (regexp-quote guix-system-profile))
"Regexp matching system profiles.")
(defun guix-system-profile? (profile)
"Return non-nil, if PROFILE is a system one."
(string-match-p guix-system-profile-regexp profile))
(defun guix-profile-prompt (&optional default)
"Prompt for profile and return it.
Use DEFAULT as a start directory. If it is nil, use
+147
View File
@@ -0,0 +1,147 @@
;;; guix-read.el --- Minibuffer readers
;; Copyright © 2015, 2016 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides functions to prompt a user for packages, system
;; types, hash formats and other guix related stuff.
;;; Code:
(require 'guix-help-vars)
(require 'guix-utils)
(require 'guix-backend)
(require 'guix-guile)
;;; Receivable lists of packages, lint checkers, etc.
(guix-memoized-defun guix-graph-type-names ()
"Return a list of names of available graph node types."
(guix-eval-read (guix-make-guile-expression 'graph-type-names)))
(guix-memoized-defun guix-refresh-updater-names ()
"Return a list of names of available refresh updater types."
(guix-eval-read (guix-make-guile-expression 'refresh-updater-names)))
(guix-memoized-defun guix-lint-checker-names ()
"Return a list of names of available lint checkers."
(guix-eval-read (guix-make-guile-expression 'lint-checker-names)))
(guix-memoized-defun guix-package-names ()
"Return a list of names of available packages."
(sort
;; Work around <https://github.com/jaor/geiser/issues/64>:
;; list of strings is parsed much slower than list of lists,
;; so we use 'package-names-lists' instead of 'package-names'.
;; (guix-eval-read (guix-make-guile-expression 'package-names))
(mapcar #'car
(guix-eval-read (guix-make-guile-expression
'package-names-lists)))
#'string<))
(guix-memoized-defun guix-license-names ()
"Return a list of names of available licenses."
(guix-eval-read (guix-make-guile-expression 'license-names)))
(guix-memoized-defun guix-package-locations ()
"Return a list of available package locations."
(sort (guix-eval-read (guix-make-guile-expression
'package-location-files))
#'string<))
;;; Readers
(guix-define-readers
:completions-var guix-help-system-types
:single-reader guix-read-system-type
:single-prompt "System type: ")
(guix-define-readers
:completions-var guix-help-source-types
:single-reader guix-read-source-type
:single-prompt "Source type: ")
(guix-define-readers
:completions-var guix-help-hash-formats
:single-reader guix-read-hash-format
:single-prompt "Hash format: ")
(guix-define-readers
:completions-var guix-help-refresh-subsets
:single-reader guix-read-refresh-subset
:single-prompt "Refresh subset: ")
(guix-define-readers
:completions-getter guix-refresh-updater-names
:multiple-reader guix-read-refresh-updater-names
:multiple-prompt "Refresh updater,s: "
:multiple-separator ",")
(guix-define-readers
:completions-var guix-help-key-policies
:single-reader guix-read-key-policy
:single-prompt "Key policy: ")
(guix-define-readers
:completions-var guix-help-elpa-archives
:single-reader guix-read-elpa-archive
:single-prompt "ELPA archive: ")
(guix-define-readers
:completions-var guix-help-verify-options
:multiple-reader guix-read-verify-options
:multiple-prompt "Verify option,s: "
:multiple-separator ",")
(guix-define-readers
:completions-getter guix-graph-type-names
:single-reader guix-read-graph-type
:single-prompt "Graph node type: ")
(guix-define-readers
:completions-getter guix-lint-checker-names
:multiple-reader guix-read-lint-checker-names
:multiple-prompt "Linter,s: "
:multiple-separator ",")
(guix-define-readers
:completions-getter guix-package-names
:single-reader guix-read-package-name
:single-prompt "Package: "
:multiple-reader guix-read-package-names
:multiple-prompt "Package,s: "
:multiple-separator " ")
(guix-define-readers
:completions-getter guix-license-names
:single-reader guix-read-license-name
:single-prompt "License: ")
(guix-define-readers
:completions-getter guix-package-locations
:single-reader guix-read-package-location
:single-prompt "Location: ")
(provide 'guix-read)
;;; guix-read.el ends here
+456
View File
@@ -0,0 +1,456 @@
;;; guix-ui-generation.el --- Interface for displaying generations -*- lexical-binding: t -*-
;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides an interface for displaying profile generations in
;; 'list' and 'info' buffers, and commands for working with them.
;;; Code:
(require 'cl-lib)
(require 'guix-buffer)
(require 'guix-list)
(require 'guix-info)
(require 'guix-ui)
(require 'guix-ui-package)
(require 'guix-base)
(require 'guix-backend)
(require 'guix-guile)
(require 'guix-entry)
(require 'guix-utils)
(require 'guix-profiles)
(guix-ui-define-entry-type generation)
(defun guix-generation-get-display (profile search-type &rest search-values)
"Search for generations and show results.
If PROFILE is nil, use `guix-current-profile'.
See `guix-ui-get-entries' for the meaning of SEARCH-TYPE and
SEARCH-VALUES."
(apply #'guix-list-get-display-entries
'generation
(or profile guix-current-profile)
search-type search-values))
(defun guix-delete-generations (profile generations
&optional operation-buffer)
"Delete GENERATIONS from PROFILE.
Each element from GENERATIONS is a generation number."
(when (or (not guix-operation-confirm)
(y-or-n-p
(let ((count (length generations)))
(if (> count 1)
(format "Delete %d generations from profile '%s'? "
count profile)
(format "Delete generation %d from profile '%s'? "
(car generations) profile)))))
(guix-eval-in-repl
(guix-make-guile-expression
'delete-generations* profile generations)
operation-buffer)))
(defun guix-switch-to-generation (profile generation
&optional operation-buffer)
"Switch PROFILE to GENERATION."
(when (or (not guix-operation-confirm)
(y-or-n-p (format "Switch profile '%s' to generation %d? "
profile generation)))
(guix-eval-in-repl
(guix-make-guile-expression
'switch-to-generation* profile generation)
operation-buffer)))
(defun guix-system-generation? ()
"Return non-nil, if current generation is a system one."
(eq (guix-buffer-current-entry-type)
'system-generation))
(defun guix-generation-current-packages-profile (&optional generation)
"Return a directory where packages are installed for the
current profile's GENERATION."
(guix-packages-profile (guix-ui-current-profile)
generation
(guix-system-generation?)))
;;; Generation 'info'
(guix-ui-info-define-interface generation
:buffer-name "*Guix Generation Info*"
:format '((number format guix-generation-info-insert-number)
(prev-number format (format))
(current format guix-generation-info-insert-current)
(path simple (indent guix-file))
(time format (time)))
:titles '((path . "File name")
(prev-number . "Previous number")))
(defface guix-generation-info-number
'((t :inherit font-lock-keyword-face))
"Face used for a number of a generation."
:group 'guix-generation-info-faces)
(defface guix-generation-info-current
'((t :inherit guix-package-info-installed-outputs))
"Face used if a generation is the current one."
:group 'guix-generation-info-faces)
(defface guix-generation-info-not-current
'((t nil))
"Face used if a generation is not the current one."
:group 'guix-generation-info-faces)
(defun guix-generation-info-insert-number (number &optional _)
"Insert generation NUMBER and action buttons."
(guix-info-insert-value-format number 'guix-generation-info-number)
(guix-info-insert-indent)
(guix-info-insert-action-button
"Packages"
(lambda (btn)
(guix-buffer-get-display-entries
'list guix-package-list-type
(list (guix-generation-current-packages-profile
(button-get btn 'number))
'installed)
'add))
"Show installed packages for this generation"
'number number)
(guix-info-insert-indent)
(guix-info-insert-action-button
"Delete"
(lambda (btn)
(guix-delete-generations (guix-ui-current-profile)
(list (button-get btn 'number))
(current-buffer)))
"Delete this generation"
'number number))
(defun guix-generation-info-insert-current (val entry)
"Insert boolean value VAL showing whether this generation is current."
(if val
(guix-info-insert-value-format "Yes" 'guix-generation-info-current)
(guix-info-insert-value-format "No" 'guix-generation-info-not-current)
(guix-info-insert-indent)
(guix-info-insert-action-button
"Switch"
(lambda (btn)
(guix-switch-to-generation (guix-ui-current-profile)
(button-get btn 'number)
(current-buffer)))
"Switch to this generation (make it the current one)"
'number (guix-entry-value entry 'number))))
;;; Generation 'list'
(guix-ui-list-define-interface generation
:buffer-name "*Guix Generation List*"
:format '((number nil 5 guix-list-sort-numerically-0 :right-align t)
(current guix-generation-list-get-current 10 t)
(time guix-list-get-time 20 t)
(path guix-list-get-file-name 30 t))
:titles '((number . "N."))
:sort-key '(number . t)
:marks '((delete . ?D)))
(let ((map guix-generation-list-mode-map))
(define-key map (kbd "RET") 'guix-generation-list-show-packages)
(define-key map (kbd "+") 'guix-generation-list-show-added-packages)
(define-key map (kbd "-") 'guix-generation-list-show-removed-packages)
(define-key map (kbd "=") 'guix-generation-list-diff)
(define-key map (kbd "D") 'guix-generation-list-diff)
(define-key map (kbd "e") 'guix-generation-list-ediff)
(define-key map (kbd "x") 'guix-generation-list-execute)
(define-key map (kbd "s") 'guix-generation-list-switch)
(define-key map (kbd "c") 'guix-generation-list-switch)
(define-key map (kbd "d") 'guix-generation-list-mark-delete))
(defun guix-generation-list-get-current (val &optional _)
"Return string from VAL showing whether this generation is current.
VAL is a boolean value."
(if val "(current)" ""))
(defun guix-generation-list-switch ()
"Switch current profile to the generation at point."
(interactive)
(let* ((entry (guix-list-current-entry))
(current (guix-entry-value entry 'current))
(number (guix-entry-value entry 'number)))
(if current
(user-error "This generation is already the current one")
(guix-switch-to-generation (guix-ui-current-profile)
number (current-buffer)))))
(defun guix-generation-list-show-packages ()
"List installed packages for the generation at point."
(interactive)
(guix-package-get-display
(guix-generation-current-packages-profile (guix-list-current-id))
'installed))
(defun guix-generation-list-generations-to-compare ()
"Return a sorted list of 2 marked generations for comparing."
(let ((numbers (guix-list-get-marked-id-list 'general)))
(if (/= (length numbers) 2)
(user-error "2 generations should be marked for comparing")
(sort numbers #'<))))
(defun guix-generation-list-profiles-to-compare ()
"Return a sorted list of 2 marked generation profiles for comparing."
(mapcar #'guix-generation-current-packages-profile
(guix-generation-list-generations-to-compare)))
(defun guix-generation-list-show-added-packages ()
"List package outputs added to the latest marked generation.
If 2 generations are marked with \\[guix-list-mark], display
outputs installed in the latest marked generation that were not
installed in the other one."
(interactive)
(guix-buffer-get-display-entries
'list 'output
(cl-list* (guix-ui-current-profile)
'profile-diff
(reverse (guix-generation-list-profiles-to-compare)))
'add))
(defun guix-generation-list-show-removed-packages ()
"List package outputs removed from the latest marked generation.
If 2 generations are marked with \\[guix-list-mark], display
outputs not installed in the latest marked generation that were
installed in the other one."
(interactive)
(guix-buffer-get-display-entries
'list 'output
(cl-list* (guix-ui-current-profile)
'profile-diff
(guix-generation-list-profiles-to-compare))
'add))
(defun guix-generation-list-compare (diff-fun gen-fun)
"Run GEN-FUN on the 2 marked generations and run DIFF-FUN on the results."
(cl-multiple-value-bind (gen1 gen2)
(guix-generation-list-generations-to-compare)
(funcall diff-fun
(funcall gen-fun gen1)
(funcall gen-fun gen2))))
(defun guix-generation-list-ediff-manifests ()
"Run Ediff on manifests of the 2 marked generations."
(interactive)
(guix-generation-list-compare
#'ediff-files
#'guix-profile-generation-manifest-file))
(defun guix-generation-list-diff-manifests ()
"Run Diff on manifests of the 2 marked generations."
(interactive)
(guix-generation-list-compare
#'guix-diff
#'guix-profile-generation-manifest-file))
(defun guix-generation-list-ediff-packages ()
"Run Ediff on package outputs installed in the 2 marked generations."
(interactive)
(guix-generation-list-compare
#'ediff-buffers
#'guix-profile-generation-packages-buffer))
(defun guix-generation-list-diff-packages ()
"Run Diff on package outputs installed in the 2 marked generations."
(interactive)
(guix-generation-list-compare
#'guix-diff
#'guix-profile-generation-packages-buffer))
(defun guix-generation-list-ediff (arg)
"Run Ediff on package outputs installed in the 2 marked generations.
With ARG, run Ediff on manifests of the marked generations."
(interactive "P")
(if arg
(guix-generation-list-ediff-manifests)
(guix-generation-list-ediff-packages)))
(defun guix-generation-list-diff (arg)
"Run Diff on package outputs installed in the 2 marked generations.
With ARG, run Diff on manifests of the marked generations."
(interactive "P")
(if arg
(guix-generation-list-diff-manifests)
(guix-generation-list-diff-packages)))
(defun guix-generation-list-mark-delete (&optional arg)
"Mark the current generation for deletion and move to the next line.
With ARG, mark all generations for deletion."
(interactive "P")
(if arg
(guix-list-mark-all 'delete)
(guix-list--mark 'delete t)))
(defun guix-generation-list-execute ()
"Delete marked generations."
(interactive)
(let ((marked (guix-list-get-marked-id-list 'delete)))
(or marked
(user-error "No generations marked for deletion"))
(guix-delete-generations (guix-ui-current-profile)
marked (current-buffer))))
;;; Inserting packages to compare generations
(defcustom guix-generation-packages-buffer-name-function
#'guix-generation-packages-buffer-name-default
"Function used to define name of a buffer with generation packages.
This function is called with 2 arguments: PROFILE (string) and
GENERATION (number)."
:type '(choice (function-item guix-generation-packages-buffer-name-default)
(function-item guix-generation-packages-buffer-name-long)
(function :tag "Other function"))
:group 'guix-generation)
(defcustom guix-generation-packages-update-buffer t
"If non-nil, always update list of packages during comparing generations.
If nil, generation packages are received only once. So when you
compare generation 1 and generation 2, the packages for both
generations will be received. Then if you compare generation 1
and generation 3, only the packages for generation 3 will be
received. Thus if you use comparing of different generations a
lot, you may set this variable to nil to improve the
performance."
:type 'boolean
:group 'guix-generation)
(defvar guix-generation-output-name-width 30
"Width of an output name \"column\".
This variable is used in auxiliary buffers for comparing generations.")
(defun guix-generation-packages (profile)
"Return a list of sorted packages installed in PROFILE.
Each element of the list is a list of the package specification
and its store path."
(let ((names+paths (guix-eval-read
(guix-make-guile-expression
'profile->specifications+paths profile))))
(sort names+paths
(lambda (a b)
(string< (car a) (car b))))))
(defun guix-generation-packages-buffer-name-default (profile generation)
"Return name of a buffer for displaying GENERATION's package outputs.
Use base name of PROFILE file name."
(let ((profile-name (file-name-base (directory-file-name profile))))
(format "*Guix %s: generation %s*"
profile-name generation)))
(defun guix-generation-packages-buffer-name-long (profile generation)
"Return name of a buffer for displaying GENERATION's package outputs.
Use the full PROFILE file name."
(format "*Guix generation %s (%s)*"
generation profile))
(defun guix-generation-packages-buffer-name (profile generation)
"Return name of a buffer for displaying GENERATION's package outputs."
(funcall guix-generation-packages-buffer-name-function
profile generation))
(defun guix-generation-insert-package (name path)
"Insert package output NAME and store PATH at point."
(insert name)
(indent-to guix-generation-output-name-width 2)
(insert path "\n"))
(defun guix-generation-insert-packages (buffer profile)
"Insert package outputs installed in PROFILE in BUFFER."
(with-current-buffer buffer
(setq buffer-read-only nil
indent-tabs-mode nil)
(erase-buffer)
(mapc (lambda (name+path)
(guix-generation-insert-package
(car name+path) (cadr name+path)))
(guix-generation-packages profile))))
(defun guix-generation-packages-buffer (profile generation &optional system?)
"Return buffer with package outputs installed in PROFILE's GENERATION.
Create the buffer if needed."
(let ((buf-name (guix-generation-packages-buffer-name
profile generation)))
(or (and (null guix-generation-packages-update-buffer)
(get-buffer buf-name))
(let ((buf (get-buffer-create buf-name)))
(guix-generation-insert-packages
buf
(guix-packages-profile profile generation system?))
buf))))
(defun guix-profile-generation-manifest-file (generation)
"Return the file name of a GENERATION's manifest.
GENERATION is a generation number of the current profile."
(guix-manifest-file (guix-ui-current-profile)
generation
(guix-system-generation?)))
(defun guix-profile-generation-packages-buffer (generation)
"Insert GENERATION's package outputs in a buffer and return it.
GENERATION is a generation number of the current profile."
(guix-generation-packages-buffer (guix-ui-current-profile)
generation
(guix-system-generation?)))
;;; Interactive commands
;;;###autoload
(defun guix-generations (&optional profile)
"Display information about all generations.
If PROFILE is nil, use `guix-current-profile'.
Interactively with prefix, prompt for PROFILE."
(interactive (list (guix-ui-read-profile)))
(guix-generation-get-display profile 'all))
;;;###autoload
(defun guix-last-generations (number &optional profile)
"Display information about last NUMBER generations.
If PROFILE is nil, use `guix-current-profile'.
Interactively with prefix, prompt for PROFILE."
(interactive
(list (read-number "The number of last generations: ")
(guix-ui-read-profile)))
(guix-generation-get-display profile 'last number))
;;;###autoload
(defun guix-generations-by-time (from to &optional profile)
"Display information about generations created between FROM and TO.
FROM and TO should be time values.
If PROFILE is nil, use `guix-current-profile'.
Interactively with prefix, prompt for PROFILE."
(interactive
(list (guix-read-date "Find generations (from): ")
(guix-read-date "Find generations (to): ")
(guix-ui-read-profile)))
(guix-generation-get-display profile 'time
(float-time from)
(float-time to)))
(provide 'guix-ui-generation)
;;; guix-ui-generation.el ends here
+150
View File
@@ -0,0 +1,150 @@
;;; guix-ui-license.el --- Interface for displaying licenses
;; Copyright © 2016 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides 'list'/'info' interface for displaying licenses of
;; Guix packages.
;;; Code:
(require 'guix-buffer)
(require 'guix-list)
(require 'guix-info)
(require 'guix-backend)
(require 'guix-guile)
(require 'guix-license)
(guix-define-entry-type license)
(defun guix-license-get-entries (search-type &rest args)
"Receive 'license' entries.
SEARCH-TYPE may be one of the following symbols: `all', `id', `name'."
(guix-eval-read
(apply #'guix-make-guile-expression
'license-entries search-type args)))
(defun guix-license-get-display (search-type &rest args)
"Search for licenses and show results."
(apply #'guix-list-get-display-entries
'license search-type args))
(defun guix-license-message (entries search-type &rest args)
"Display a message after showing license ENTRIES."
;; Some objects in (guix licenses) module are procedures (e.g.,
;; 'non-copyleft' or 'x11-style'). Such licenses cannot be "described".
(when (null entries)
(if (cdr args)
(message "Unknown licenses.")
(message "Unknown license."))))
;;; License 'info'
(guix-info-define-interface license
:buffer-name "*Guix License Info*"
:get-entries-function 'guix-license-get-entries
:message-function 'guix-license-message
:format '((name ignore (simple guix-info-heading))
ignore
guix-license-insert-packages-button
(url ignore (simple guix-url))
guix-license-insert-comment
ignore
guix-license-insert-file)
:titles '((url . "URL")))
(declare-function guix-packages-by-license "guix-ui-package")
(defun guix-license-insert-packages-button (entry)
"Insert button to display packages by license ENTRY."
(let ((license (guix-entry-value entry 'name)))
(guix-info-insert-action-button
"Packages"
(lambda (btn)
(guix-packages-by-license (button-get btn 'license)))
(format "Display packages with license '%s'" license)
'license license)))
(defun guix-license-insert-comment (entry)
"Insert 'comment' of a license ENTRY."
(let ((comment (guix-entry-value entry 'comment)))
(if (and comment
(string-match-p "^http" comment))
(guix-info-insert-value-simple comment 'guix-url)
(guix-info-insert-title-simple
(guix-info-param-title 'license 'comment))
(guix-info-insert-value-indent comment))))
(defun guix-license-insert-file (entry)
"Insert button to open license definition."
(let ((license (guix-entry-value entry 'name)))
(guix-insert-button
(guix-license-file) 'guix-file
'help-echo (format "Open definition of license '%s'" license)
'action (lambda (btn)
(guix-find-license-definition (button-get btn 'license)))
'license license)))
;;; License 'list'
(guix-list-define-interface license
:buffer-name "*Guix Licenses*"
:get-entries-function 'guix-license-get-entries
:describe-function 'guix-license-list-describe
:message-function 'guix-license-message
:format '((name nil 40 t)
(url guix-list-get-url 50 t))
:titles '((name . "License"))
:sort-key '(name))
(let ((map guix-license-list-mode-map))
(define-key map (kbd "e") 'guix-license-list-edit)
(define-key map (kbd "RET") 'guix-license-list-show-packages))
(defun guix-license-list-describe (ids)
"Describe licenses with IDS (list of identifiers)."
(guix-buffer-display-entries
(guix-entries-by-ids ids (guix-buffer-current-entries))
'info 'license (cl-list* 'id ids) 'add))
(defun guix-license-list-show-packages ()
"Display packages with the license at point."
(interactive)
(guix-packages-by-license (guix-list-current-id)))
(defun guix-license-list-edit (&optional directory)
"Go to the location of the current license definition.
See `guix-license-file' for the meaning of DIRECTORY."
(interactive (list (guix-read-directory)))
(guix-find-license-definition (guix-list-current-id) directory))
;;; Interactive commands
;;;###autoload
(defun guix-licenses ()
"Display licenses of the Guix packages."
(interactive)
(guix-license-get-display 'all))
(provide 'guix-ui-license)
;;; guix-ui-license.el ends here
+83
View File
@@ -0,0 +1,83 @@
;;; guix-ui-location.el --- Interface for displaying package locations
;; Copyright © 2016 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public Location as published by
;; the Free Software Foundation, either version 3 of the Location, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public Location for more details.
;; You should have received a copy of the GNU General Public Location
;; along with this program. If not, see <http://www.gnu.org/locations/>.
;;; Commentary:
;; This file provides a 'list' interface for displaying locations of Guix
;; packages.
;;; Code:
(require 'guix-buffer)
(require 'guix-list)
(require 'guix-location)
(require 'guix-backend)
(guix-define-entry-type location)
(defun guix-location-get-entries ()
"Receive 'package location' entries."
(guix-eval-read "(package-location-entries)"))
;;; Location 'list'
(guix-list-define-interface location
:buffer-name "*Guix Package Locations*"
:get-entries-function 'guix-location-get-entries
:format '((location guix-location-list-file-name-specification 50 t)
(number-of-packages nil 10 guix-list-sort-numerically-1
:right-align t))
:sort-key '(location))
(let ((map guix-location-list-mode-map))
(define-key map (kbd "RET") 'guix-location-list-show-packages)
;; "Location Info" buffer is not defined (it would be useless), so
;; unbind "i" key (by default, it is used to display Info buffer).
(define-key map (kbd "i") nil))
(defun guix-location-list-file-name-specification (location &optional _)
"Return LOCATION button specification for `tabulated-list-entries'."
(list location
'face 'guix-list-file-name
'action (lambda (btn)
(guix-find-location (button-get btn 'location)))
'follow-link t
'help-echo (concat "Find location: " location)
'location location))
(declare-function guix-packages-by-location "guix-ui-package")
(defun guix-location-list-show-packages ()
"Display packages placed in the location at point."
(interactive)
(guix-packages-by-location (guix-list-current-id)))
;;; Interactive commands
;;;###autoload
(defun guix-locations ()
"Display locations of the Guix packages."
(interactive)
(guix-list-get-display-entries 'location))
(provide 'guix-ui-location)
;;; guix-ui-location.el ends here
File diff suppressed because it is too large Load Diff
+105
View File
@@ -0,0 +1,105 @@
;;; guix-ui-system-generation.el --- Interface for displaying system generations -*- lexical-binding: t -*-
;; Copyright © 2016 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides an interface for displaying system generations
;; in 'list' and 'info' buffers, and commands for working with them.
;;; Code:
(require 'cl-lib)
(require 'guix-list)
(require 'guix-ui)
(require 'guix-ui-generation)
(require 'guix-profiles)
(guix-ui-define-entry-type system-generation)
(defun guix-system-generation-get-display (search-type &rest search-values)
"Search for system generations and show results.
See `guix-ui-get-entries' for the meaning of SEARCH-TYPE and
SEARCH-VALUES."
(apply #'guix-list-get-display-entries
'system-generation
guix-system-profile
search-type search-values))
;;; System generation 'info'
(guix-ui-info-define-interface system-generation
:buffer-name "*Guix Generation Info*"
:format '((number format guix-generation-info-insert-number)
(label format (format))
(prev-number format (format))
(current format guix-generation-info-insert-current)
(path format (format guix-file))
(time format (time))
(root-device format (format))
(kernel format (format guix-file)))
:titles guix-generation-info-titles)
;;; System generation 'list'
;; FIXME It is better to make `guix-generation-list-shared-map' with
;; common keys for both usual and system generations.
(defvar guix-system-generation-list-mode-map
(copy-keymap guix-generation-list-mode-map)
"Keymap for `guix-system-generation-list-mode' buffers.")
(guix-ui-list-define-interface system-generation
:buffer-name "*Guix Generation List*"
:format '((number nil 5 guix-list-sort-numerically-0 :right-align t)
(current guix-generation-list-get-current 10 t)
(label nil 40 t)
(time guix-list-get-time 20 t)
(path guix-list-get-file-name 30 t))
:titles guix-generation-list-titles
:sort-key '(number . t)
:marks '((delete . ?D)))
;;; Interactive commands
;;;###autoload
(defun guix-system-generations ()
"Display information about system generations."
(interactive)
(guix-system-generation-get-display 'all))
;;;###autoload
(defun guix-last-system-generations (number)
"Display information about last NUMBER of system generations."
(interactive "nThe number of last generations: ")
(guix-system-generation-get-display 'last number))
;;;###autoload
(defun guix-system-generations-by-time (from to)
"Display information about system generations created between FROM and TO."
(interactive
(list (guix-read-date "Find generations (from): ")
(guix-read-date "Find generations (to): ")))
(guix-system-generation-get-display
'time (float-time from) (float-time to)))
(provide 'guix-ui-system-generation)
;;; guix-ui-system-generation.el ends here
+323
View File
@@ -0,0 +1,323 @@
;;; guix-ui.el --- Common code for Guix package management interface -*- lexical-binding: t -*-
;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides some general code for 'list'/'info' interfaces for
;; packages and generations.
;;; Code:
(require 'cl-lib)
(require 'guix-backend)
(require 'guix-buffer)
(require 'guix-guile)
(require 'guix-utils)
(require 'guix-messages)
(require 'guix-profiles)
(guix-define-groups ui
:group-doc "\
Settings for 'ui' (Guix package management) buffers.
This group includes settings for displaying packages, outputs and
generations in 'list' and 'info' buffers.")
(defvar guix-ui-map
(let ((map (make-sparse-keymap)))
(define-key map (kbd "M") 'guix-apply-manifest)
(define-key map (kbd "C-c C-z") 'guix-switch-to-repl)
map)
"Parent keymap for Guix package/generation buffers.")
(guix-buffer-define-current-args-accessors
"guix-ui-current" "profile" "search-type" "search-values")
(defun guix-ui-read-profile ()
"Return `guix-current-profile' or prompt for it.
This function is intended for using in `interactive' forms."
(if current-prefix-arg
(guix-profile-prompt)
guix-current-profile))
(defun guix-ui-get-entries (profile entry-type search-type search-values
&optional params)
"Receive ENTRY-TYPE entries for PROFILE.
Call an appropriate scheme procedure and return a list of entries.
ENTRY-TYPE should be one of the following symbols: `package',
`output' or `generation'.
SEARCH-TYPE may be one of the following symbols:
- If ENTRY-TYPE is `package' or `output': `id', `name', `regexp',
`all-available', `newest-available', `installed', `obsolete',
`generation'.
- If ENTRY-TYPE is `generation': `id', `last', `all', `time'.
PARAMS is a list of parameters for receiving. If nil, get data
with all available parameters."
(guix-eval-read
(guix-make-guile-expression
'entries
profile params entry-type search-type search-values)))
(defun guix-ui-list-describe (ids)
"Describe 'ui' entries with IDS (list of identifiers)."
(guix-buffer-get-display-entries
'info (guix-buffer-current-entry-type)
(cl-list* (guix-ui-current-profile) 'id ids)
'add))
;;; Buffers and auto updating
(defcustom guix-ui-update-after-operation 'current
"Define what kind of data to update after executing an operation.
After successful executing an operation in the Guix REPL (for
example after installing a package), the data in Guix buffers
will or will not be automatically updated depending on a value of
this variable.
If nil, update nothing (do not revert any buffer).
If `current', update the buffer from which an operation was performed.
If `all', update all Guix buffers (not recommended)."
:type '(choice (const :tag "Do nothing" nil)
(const :tag "Update operation buffer" current)
(const :tag "Update all Guix buffers" all))
:group 'guix-ui)
(defcustom guix-ui-buffer-name-function
#'guix-ui-buffer-name-full
"Function used to define a name of a Guix buffer.
The function is called with 2 arguments: BASE-NAME and PROFILE."
:type '(choice (function-item guix-ui-buffer-name-full)
(function-item guix-ui-buffer-name-short)
(function-item guix-ui-buffer-name-simple)
(function :tag "Other function"))
:group 'guix-ui)
(defun guix-ui-buffer-name-simple (base-name &rest _)
"Return BASE-NAME."
base-name)
(defun guix-ui-buffer-name-short (base-name profile)
"Return buffer name by appending BASE-NAME and PROFILE's base file name."
(guix-compose-buffer-name base-name
(file-name-base (directory-file-name profile))))
(defun guix-ui-buffer-name-full (base-name profile)
"Return buffer name by appending BASE-NAME and PROFILE's full name."
(guix-compose-buffer-name base-name profile))
(defun guix-ui-buffer-name (base-name profile)
"Return Guix buffer name based on BASE-NAME and profile.
See `guix-ui-buffer-name-function' for details."
(funcall guix-ui-buffer-name-function
base-name profile))
(defun guix-ui-buffer? (&optional buffer modes)
"Return non-nil if BUFFER mode is derived from any of the MODES.
If BUFFER is nil, check current buffer.
If MODES is nil, use `guix-list-mode' and `guix-info-mode'."
(with-current-buffer (or buffer (current-buffer))
(apply #'derived-mode-p
(or modes '(guix-list-mode guix-info-mode)))))
(defun guix-ui-buffers (&optional modes)
"Return a list of all buffers with major modes derived from MODES.
If MODES is nil, return list of all Guix 'list' and 'info' buffers."
(cl-remove-if-not (lambda (buf)
(guix-ui-buffer? buf modes))
(buffer-list)))
(defun guix-ui-update-buffer (buffer)
"Update data in a 'list' or 'info' BUFFER."
(with-current-buffer buffer
(guix-buffer-revert nil t)))
(defun guix-ui-update-buffers-after-operation ()
"Update buffers after Guix operation if needed.
See `guix-ui-update-after-operation' for details."
(let ((to-update
(and guix-operation-buffer
(cl-case guix-ui-update-after-operation
(current (and (buffer-live-p guix-operation-buffer)
(guix-ui-buffer? guix-operation-buffer)
(list guix-operation-buffer)))
(all (guix-ui-buffers))))))
(setq guix-operation-buffer nil)
(mapc #'guix-ui-update-buffer to-update)))
(add-hook 'guix-after-repl-operation-hook
'guix-ui-update-buffers-after-operation)
;;; Interface definers
(defmacro guix-ui-define-entry-type (entry-type &rest args)
"Define general code for ENTRY-TYPE.
Remaining arguments (ARGS) should have a form [KEYWORD VALUE] ...
The rest keyword arguments are passed to
`guix-define-entry-type' macro."
(declare (indent 1))
`(guix-define-entry-type ,entry-type
:parent-group guix-ui
:parent-faces-group guix-ui-faces
,@args))
(defmacro guix-ui-define-interface (buffer-type entry-type &rest args)
"Define BUFFER-TYPE interface for displaying ENTRY-TYPE entries.
Remaining arguments (ARGS) should have a form [KEYWORD VALUE] ...
In the following description TYPE means ENTRY-TYPE-BUFFER-TYPE.
Required keywords:
- `:buffer-name' - base part of a buffer name. It is used in a
generated `guix-TYPE-buffer-name' function; see
`guix-ui-buffer-name' for details.
Optional keywords:
- `:required' - default value of the generated
`guix-TYPE-required-params' variable.
The rest keyword arguments are passed to
`guix-BUFFER-TYPE-define-interface' macro.
Along with the mentioned definitions, this macro also defines:
- `guix-TYPE-mode-map' - keymap based on `guix-ui-map' and
`guix-BUFFER-TYPE-mode-map'.
- `guix-TYPE-get-entries' - a wrapper around `guix-ui-get-entries'.
- `guix-TYPE-message' - a wrapper around `guix-result-message'."
(declare (indent 2))
(let* ((entry-type-str (symbol-name entry-type))
(buffer-type-str (symbol-name buffer-type))
(prefix (concat "guix-" entry-type-str "-"
buffer-type-str))
(mode-str (concat prefix "-mode"))
(mode-map (intern (concat mode-str "-map")))
(parent-map (intern (format "guix-%s-mode-map"
buffer-type-str)))
(required-var (intern (concat prefix "-required-params")))
(buffer-name-fun (intern (concat prefix "-buffer-name")))
(get-fun (intern (concat prefix "-get-entries")))
(message-fun (intern (concat prefix "-message")))
(displayed-fun (intern (format "guix-%s-displayed-params"
buffer-type-str)))
(definer (intern (format "guix-%s-define-interface"
buffer-type-str))))
(guix-keyword-args-let args
((buffer-name-val :buffer-name)
(required-val :required ''(id)))
`(progn
(defvar ,mode-map
(let ((map (make-sparse-keymap)))
(set-keymap-parent
map (make-composed-keymap ,parent-map guix-ui-map))
map)
,(format "Keymap for `%s' buffers." mode-str))
(defvar ,required-var ,required-val
,(format "\
List of the required '%s' parameters.
These parameters are received by `%S'
along with the displayed parameters.
Do not remove `id' from this list as it is required for
identifying an entry."
entry-type-str get-fun))
(defun ,buffer-name-fun (profile &rest _)
,(format "\
Return a name of '%s' buffer for displaying '%s' entries.
See `guix-ui-buffer-name' for details."
buffer-type-str entry-type-str)
(guix-ui-buffer-name ,buffer-name-val profile))
(defun ,get-fun (profile search-type &rest search-values)
,(format "\
Receive '%s' entries for displaying them in '%s' buffer.
See `guix-ui-get-entries' for details."
entry-type-str buffer-type-str)
(guix-ui-get-entries
profile ',entry-type search-type search-values
(cl-union ,required-var
(,displayed-fun ',entry-type))))
(defun ,message-fun (entries profile search-type
&rest search-values)
,(format "\
Display a message after showing '%s' entries."
entry-type-str)
(guix-result-message
profile entries ',entry-type search-type search-values))
(,definer ,entry-type
:get-entries-function ',get-fun
:message-function ',message-fun
:buffer-name ',buffer-name-fun
,@%foreign-args)))))
(defmacro guix-ui-info-define-interface (entry-type &rest args)
"Define 'info' interface for displaying ENTRY-TYPE entries.
See `guix-ui-define-interface'."
(declare (indent 1))
`(guix-ui-define-interface info ,entry-type
,@args))
(defmacro guix-ui-list-define-interface (entry-type &rest args)
"Define 'list' interface for displaying ENTRY-TYPE entries.
Remaining arguments (ARGS) should have a form [KEYWORD VALUE] ...
Optional keywords:
- `:describe-function' - default value of the generated
`guix-ENTRY-TYPE-list-describe-function' variable (if not
specified, use `guix-ui-list-describe').
The rest keyword arguments are passed to
`guix-ui-define-interface' macro."
(declare (indent 1))
(guix-keyword-args-let args
((describe-val :describe-function))
`(guix-ui-define-interface list ,entry-type
:describe-function ,(or describe-val ''guix-ui-list-describe)
,@args)))
(defvar guix-ui-font-lock-keywords
(eval-when-compile
`((,(rx "(" (group (or "guix-ui-define-entry-type"
"guix-ui-define-interface"
"guix-ui-info-define-interface"
"guix-ui-list-define-interface"))
symbol-end)
. 1))))
(font-lock-add-keywords 'emacs-lisp-mode guix-ui-font-lock-keywords)
(provide 'guix-ui)
;;; guix-ui.el ends here
+430 -25
View File
@@ -1,6 +1,6 @@
;;; guix-utils.el --- General utility functions -*- lexical-binding: t -*-
;; Copyright © 2014, 2015 Alex Kost <alezost@gmail.com>
;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
@@ -64,6 +64,17 @@ Use `guix-time-format'."
"Return one-line string from a multi-line STR."
(replace-regexp-in-string "\n" " " str))
(defmacro guix-with-indent (indent &rest body)
"Evaluate BODY and indent inserted text by INDENT number of spaces."
(declare (indent 1) (debug t))
(let ((region-beg-var (make-symbol "region-beg"))
(indent-var (make-symbol "indent")))
`(let ((,region-beg-var (point))
(,indent-var ,indent))
,@body
(unless (zerop ,indent-var)
(indent-rigidly ,region-beg-var (point) ,indent-var)))))
(defun guix-format-insert (val &optional face format)
"Convert VAL into a string and insert it at point.
If FACE is non-nil, propertize VAL with FACE.
@@ -73,16 +84,33 @@ If FORMAT is non-nil, format VAL with FORMAT."
(format format str)
str))))
(defun guix-mapinsert (function sequence separator)
(cl-defun guix-mapinsert (function sequence separator &key indent column)
"Like `mapconcat' but for inserting text.
Apply FUNCTION to each element of SEQUENCE, and insert SEPARATOR
at point between each FUNCTION call."
(when sequence
(funcall function (car sequence))
(mapc (lambda (obj)
(insert separator)
(funcall function obj))
(cdr sequence))))
at point between each FUNCTION call.
If INDENT is non-nil, it should be a number of spaces used to
indent each line of the inserted text.
If COLUMN is non-nil, it should be a column number which
shouldn't be exceeded by the inserted text."
(pcase sequence
(`(,first . ,rest)
(let* ((indent (or indent 0))
(max-column (and column (- column indent))))
(guix-with-indent indent
(funcall function first)
(dolist (element rest)
(let ((before-sep-pos (and column (point))))
(insert separator)
(let ((after-sep-pos (and column (point))))
(funcall function element)
(when (and column
(> (current-column) max-column))
(save-excursion
(delete-region before-sep-pos after-sep-pos)
(goto-char before-sep-pos)
(insert "\n")))))))))))
(defun guix-insert-button (label &optional type &rest properties)
"Make button of TYPE with LABEL and insert it at point.
@@ -93,6 +121,28 @@ See `insert-text-button' for the meaning of PROPERTIES."
:type (or type 'button)
properties)))
(defun guix-buttonize (value button-type separator &rest properties)
"Make BUTTON-TYPE button(s) from VALUE.
Return a string with button(s).
VALUE should be a string or a list of strings. If it is a list
of strings, buttons are separated with SEPARATOR string.
PROPERTIES are passed to `guix-insert-button'."
(with-temp-buffer
(let ((labels (if (listp value) value (list value))))
(guix-mapinsert (lambda (label)
(apply #'guix-insert-button
label button-type properties))
labels
separator))
(buffer-substring (point-min) (point-max))))
(defun guix-button-type? (symbol)
"Return non-nil, if SYMBOL is a button type."
(and symbol
(get symbol 'button-category-symbol)))
(defun guix-split-insert (val &optional face col separator)
"Convert VAL into a string, split it and insert at point.
@@ -111,14 +161,11 @@ Separate inserted lines with SEPARATOR."
(defun guix-split-string (str &optional col)
"Split string STR by lines and return list of result strings.
If COL is non-nil and STR is a one-line string longer than COL,
split it into several short lines."
(let ((strings (split-string str "\n *")))
(if (and col
(null (cdr strings)) ; if not multi-line
(> (length str) col))
(split-string (guix-get-filled-string str col) "\n")
strings)))
If COL is non-nil, fill STR to this column."
(let ((str (if col
(guix-get-filled-string str col)
str)))
(split-string str "\n *" t)))
(defun guix-get-filled-string (str col)
"Return string by filling STR to column COL."
@@ -128,6 +175,106 @@ split it into several short lines."
(fill-region (point-min) (point-max)))
(buffer-string)))
(defun guix-concat-strings (strings separator &optional location)
"Return new string by concatenating STRINGS with SEPARATOR.
If LOCATION is a symbol `head', add another SEPARATOR to the
beginning of the returned string; if `tail' - add SEPARATOR to
the end of the string; if nil, do not add SEPARATOR; otherwise
add both to the end and to the beginning."
(let ((str (mapconcat #'identity strings separator)))
(cond ((null location)
str)
((eq location 'head)
(concat separator str))
((eq location 'tail)
(concat str separator))
(t
(concat separator str separator)))))
(defun guix-hexify (value)
"Convert VALUE to string and hexify it."
(url-hexify-string (guix-get-string value)))
(defun guix-number->bool (number)
"Convert NUMBER to boolean value.
Return nil, if NUMBER is 0; return t otherwise."
(not (zerop number)))
(defun guix-shell-quote-argument (argument)
"Quote shell command ARGUMENT.
This function is similar to `shell-quote-argument', but less strict."
(if (equal argument "")
"''"
(replace-regexp-in-string
"\n" "'\n'"
(replace-regexp-in-string
(rx (not (any alnum "-=,./\n"))) "\\\\\\&" argument))))
(defun guix-symbol-title (symbol)
"Return SYMBOL's name, a string.
This is like `symbol-name', but fancier."
(if (eq symbol 'id)
"ID"
(let ((str (replace-regexp-in-string "-" " " (symbol-name symbol))))
(concat (capitalize (substring str 0 1))
(substring str 1)))))
(defun guix-command-symbol (&optional args)
"Return symbol by concatenating 'guix' and ARGS (strings)."
(intern (guix-concat-strings (cons "guix" args) "-")))
(defun guix-command-string (&optional args)
"Return 'guix ARGS ...' string with quoted shell arguments."
(let ((args (mapcar #'guix-shell-quote-argument args)))
(guix-concat-strings (cons "guix" args) " ")))
(defun guix-copy-as-kill (string &optional no-message?)
"Put STRING into `kill-ring'.
If NO-MESSAGE? is non-nil, do not display a message about it."
(kill-new string)
(unless no-message?
(message "'%s' has been added to kill ring." string)))
(defun guix-copy-command-as-kill (args &optional no-message?)
"Put 'guix ARGS ...' string into `kill-ring'.
See also `guix-copy-as-kill'."
(guix-copy-as-kill (guix-command-string args) no-message?))
(defun guix-compose-buffer-name (base-name postfix)
"Return buffer name by appending BASE-NAME and POSTFIX.
In a simple case the result is:
BASE-NAME: POSTFIX
If BASE-NAME is wrapped by '*', then the result is:
*BASE-NAME: POSTFIX*"
(let ((re (rx string-start
(group (? "*"))
(group (*? any))
(group (? "*"))
string-end)))
(or (string-match re base-name)
(error "Unexpected error in defining buffer name"))
(let ((first* (match-string 1 base-name))
(name-body (match-string 2 base-name))
(last* (match-string 3 base-name)))
;; Handle the case when buffer name is wrapped by '*'.
(if (and (string= "*" first*)
(string= "*" last*))
(concat "*" name-body ": " postfix "*")
(concat base-name ": " postfix)))))
(defun guix-completing-read (prompt table &optional predicate
require-match initial-input
hist def inherit-input-method)
"Same as `completing-read' but return nil instead of an empty string."
(let ((res (completing-read prompt table predicate
require-match initial-input
hist def inherit-input-method)))
(unless (string= "" res) res)))
(defun guix-completing-read-multiple (prompt table &optional predicate
require-match initial-input
hist def inherit-input-method)
@@ -146,20 +293,177 @@ Return time value."
(require 'org)
(org-read-date nil t nil prompt))
(defun guix-get-key-val (alist &rest keys)
"Return value from ALIST by KEYS.
ALIST is alist of alists of alists ... which can be consecutively
accessed with KEYS."
(let ((val alist))
(dolist (key keys val)
(setq val (cdr (assq key val))))))
(defun guix-read-file-name (prompt &optional dir default-filename
mustmatch initial predicate)
"Read file name.
This function is similar to `read-file-name' except it also
expands the file name."
(expand-file-name (read-file-name prompt dir default-filename
mustmatch initial predicate)))
(defcustom guix-find-file-function #'find-file
"Function used to find a file.
The function is called by `guix-find-file' with a file name as a
single argument."
:type '(choice (function-item find-file)
(function-item org-open-file)
(function :tag "Other function"))
:group 'guix)
(defun guix-find-file (file)
"Find FILE if it exists."
(if (file-exists-p file)
(find-file file)
(funcall guix-find-file-function file)
(message "File '%s' does not exist." file)))
(defvar url-handler-regexp)
(defun guix-find-file-or-url (file-or-url)
"Find FILE-OR-URL."
(require 'url-handlers)
(let ((file-name-handler-alist
(cons (cons url-handler-regexp 'url-file-handler)
file-name-handler-alist)))
(find-file file-or-url)))
(defmacro guix-while-search (regexp &rest body)
"Evaluate BODY after each search for REGEXP in the current buffer."
(declare (indent 1) (debug t))
`(save-excursion
(goto-char (point-min))
(while (re-search-forward ,regexp nil t)
,@body)))
(defmacro guix-while-null (&rest body)
"Evaluate BODY until its result becomes non-nil."
(declare (indent 0) (debug t))
(let ((result-var (make-symbol "result")))
`(let (,result-var)
(while (null ,result-var)
(setq ,result-var ,@body))
,result-var)))
(defun guix-modify (object modifiers)
"Apply MODIFIERS to OBJECT.
OBJECT is passed as an argument to the first function from
MODIFIERS list, the returned result is passed to the second
function from the list and so on. Return result of the last
modifier call."
(if (null modifiers)
object
(guix-modify (funcall (car modifiers) object)
(cdr modifiers))))
(defmacro guix-keyword-args-let (args varlist &rest body)
"Parse ARGS, bind variables from VARLIST and eval BODY.
Find keyword values in ARGS, bind them to variables according to
VARLIST, then evaluate BODY.
ARGS is a keyword/value property list.
Each element of VARLIST has a form:
(SYMBOL KEYWORD [DEFAULT-VALUE])
SYMBOL is a varible name. KEYWORD is a symbol that will be
searched in ARGS for an according value. If the value of KEYWORD
does not exist, bind SYMBOL to DEFAULT-VALUE or nil.
The rest arguments (that present in ARGS but not in VARLIST) will
be bound to `%foreign-args' variable.
Example:
(guix-keyword-args-let '(:two 8 :great ! :guix is)
((one :one 1)
(two :two 2)
(foo :smth))
(list one two foo %foreign-args))
=> (1 8 nil (:guix is :great !))"
(declare (indent 2))
(let ((args-var (make-symbol "args")))
`(let (,@(mapcar (lambda (spec)
(pcase-let ((`(,name ,_ ,val) spec))
(list name val)))
varlist)
(,args-var ,args)
%foreign-args)
(while ,args-var
(pcase ,args-var
(`(,key ,val . ,rest-args)
(cl-case key
,@(mapcar (lambda (spec)
(pcase-let ((`(,name ,key ,_) spec))
`(,key (setq ,name val))))
varlist)
(t (setq %foreign-args
(cl-list* key val %foreign-args))))
(setq ,args-var rest-args))))
,@body)))
;;; Alist procedures
(defmacro guix-define-alist-accessor (name assoc-fun)
"Define NAME function to access alist values using ASSOC-FUN."
`(defun ,name (alist &rest keys)
,(format "Return value from ALIST by KEYS using `%s'.
ALIST is alist of alists of alists ... which can be consecutively
accessed with KEYS."
assoc-fun)
(if (or (null alist) (null keys))
alist
(apply #',name
(cdr (,assoc-fun (car keys) alist))
(cdr keys)))))
(guix-define-alist-accessor guix-assq-value assq)
(guix-define-alist-accessor guix-assoc-value assoc)
(defun guix-alist-put (value alist &rest keys)
"Put (add or replace if exists) VALUE to ALIST using KEYS.
Return the new alist.
ALIST is alist of alists of alists ... which can be consecutively
accessed with KEYS.
Example:
(guix-alist-put
'foo
'((one (a . 1) (b . 2))
(two (m . 7) (n . 8)))
'one 'b)
=> ((one (a . 1) (b . foo))
(two (m . 7) (n . 8)))"
(or keys (error "Keys should be specified"))
(guix-alist-put-1 value alist keys))
(defun guix-alist-put-1 (value alist keys)
"Subroutine of `guix-alist-put'."
(cond
((null keys)
value)
((null alist)
(list (cons (car keys)
(guix-alist-put-1 value nil (cdr keys)))))
((eq (car keys) (caar alist))
(cons (cons (car keys)
(guix-alist-put-1 value (cdar alist) (cdr keys)))
(cdr alist)))
(t
(cons (car alist)
(guix-alist-put-1 value (cdr alist) keys)))))
(defun guix-alist-put! (value variable &rest keys)
"Modify alist VARIABLE (symbol) by putting VALUE using KEYS.
See `guix-alist-put' for details."
(set variable
(apply #'guix-alist-put value (symbol-value variable) keys)))
;;; Diff
@@ -170,6 +474,77 @@ accessed with KEYS."
"Same as `diff', but use `guix-diff-switches' as default."
(diff old new (or switches guix-diff-switches) no-async))
;;; Completing readers definers
(defmacro guix-define-reader (name read-fun completions prompt)
"Define NAME function to read from minibuffer.
READ-FUN may be `completing-read', `completing-read-multiple' or
another function with the same arguments."
`(defun ,name (&optional prompt initial-contents)
(,read-fun ,(if prompt
`(or prompt ,prompt)
'prompt)
,completions nil nil initial-contents)))
(defmacro guix-define-readers (&rest args)
"Define reader functions.
ARGS should have a form [KEYWORD VALUE] ... The following
keywords are available:
- `completions-var' - variable used to get completions.
- `completions-getter' - function used to get completions.
- `single-reader', `single-prompt' - name of a function to read
a single value, and a prompt for it.
- `multiple-reader', `multiple-prompt' - name of a function to
read multiple values, and a prompt for it.
- `multiple-separator' - if specified, another
`<multiple-reader-name>-string' function returning a string
of multiple values separated the specified separator will be
defined."
(guix-keyword-args-let args
((completions-var :completions-var)
(completions-getter :completions-getter)
(single-reader :single-reader)
(single-prompt :single-prompt)
(multiple-reader :multiple-reader)
(multiple-prompt :multiple-prompt)
(multiple-separator :multiple-separator))
(let ((completions
(cond ((and completions-var completions-getter)
`(or ,completions-var
(setq ,completions-var
(funcall ',completions-getter))))
(completions-var
completions-var)
(completions-getter
`(funcall ',completions-getter)))))
`(progn
,(when (and completions-var
(not (boundp completions-var)))
`(defvar ,completions-var nil))
,(when single-reader
`(guix-define-reader ,single-reader guix-completing-read
,completions ,single-prompt))
,(when multiple-reader
`(guix-define-reader ,multiple-reader completing-read-multiple
,completions ,multiple-prompt))
,(when (and multiple-reader multiple-separator)
(let ((name (intern (concat (symbol-name multiple-reader)
"-string"))))
`(defun ,name (&optional prompt initial-contents)
(guix-concat-strings
(,multiple-reader prompt initial-contents)
,multiple-separator))))))))
;;; Memoizing
@@ -199,6 +574,36 @@ See `defun' for the meaning of arguments."
(mapconcat #'symbol-name arglist " ")
docstring)))
(defmacro guix-memoized-defalias (symbol definition &optional docstring)
"Set SYMBOL's function definition to memoized version of DEFINITION."
(declare (doc-string 3) (indent 1))
`(defalias ',symbol
(guix-memoize #',definition)
,(or docstring
(format "Memoized version of `%S'." definition))))
(defvar guix-utils-font-lock-keywords
(eval-when-compile
`((,(rx "(" (group (or "guix-define-reader"
"guix-define-readers"
"guix-keyword-args-let"
"guix-while-null"
"guix-while-search"
"guix-with-indent"))
symbol-end)
. 1)
(,(rx "("
(group "guix-memoized-" (or "defun" "defalias"))
symbol-end
(zero-or-more blank)
(zero-or-one
(group (one-or-more (or (syntax word) (syntax symbol))))))
(1 font-lock-keyword-face)
(2 font-lock-function-name-face nil t)))))
(font-lock-add-keywords 'emacs-lisp-mode guix-utils-font-lock-keywords)
(provide 'guix-utils)
;;; guix-utils.el ends here
-198
View File
@@ -1,198 +0,0 @@
;;; guix.el --- Interface for GNU Guix package manager
;; Copyright © 2014 Alex Kost <alezost@gmail.com>
;; Package-Requires: ((geiser "0.3"))
;; Keywords: tools
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This package provides an interface for searching, listing and getting
;; information about Guix packages and generations; and for
;; installing/upgrading/removing packages.
;;; Code:
(require 'guix-base)
(require 'guix-list)
(require 'guix-info)
(require 'guix-utils)
(defgroup guix nil
"Interface for Guix package manager."
:prefix "guix-"
:group 'external)
(defcustom guix-list-single-package nil
"If non-nil, list a package even if it is the only matching result.
If nil, show a single package in the info buffer."
:type 'boolean
:group 'guix)
(defvar guix-search-params '(name synopsis description)
"Default list of package parameters for searching by regexp.")
(defvar guix-search-history nil
"A history of minibuffer prompts.")
(defun guix-get-show-packages (profile search-type &rest search-vals)
"Search for packages and show results.
If PROFILE is nil, use `guix-current-profile'.
See `guix-get-entries' for the meaning of SEARCH-TYPE and
SEARCH-VALS.
Results are displayed in the list buffer, unless a single package
is found and `guix-list-single-package' is nil."
(or profile (setq profile guix-current-profile))
(let ((packages (guix-get-entries profile guix-package-list-type
search-type search-vals
(guix-get-params-for-receiving
'list guix-package-list-type))))
(if (or guix-list-single-package
(cdr packages))
(guix-set-buffer profile packages 'list guix-package-list-type
search-type search-vals)
(let ((packages (guix-get-entries profile guix-package-info-type
search-type search-vals
(guix-get-params-for-receiving
'info guix-package-info-type))))
(guix-set-buffer profile packages 'info guix-package-info-type
search-type search-vals)))))
(defun guix-get-show-generations (profile search-type &rest search-vals)
"Search for generations and show results.
If PROFILE is nil, use `guix-current-profile'.
See `guix-get-entries' for the meaning of SEARCH-TYPE and
SEARCH-VALS."
(apply #'guix-get-show-entries
(or profile guix-current-profile)
'list 'generation search-type search-vals))
;;;###autoload
(defun guix-search-by-name (name &optional profile)
"Search for Guix packages by NAME.
NAME is a string with name specification. It may optionally contain
a version number. Examples: \"guile\", \"guile-2.0.11\".
If PROFILE is nil, use `guix-current-profile'.
Interactively with prefix, prompt for PROFILE."
(interactive
(list (read-string "Package name: " nil 'guix-search-history)
(and current-prefix-arg
(guix-profile-prompt))))
(guix-get-show-packages profile 'name name))
;;;###autoload
(defun guix-search-by-regexp (regexp &optional params profile)
"Search for Guix packages by REGEXP.
PARAMS are package parameters that should be searched.
If PARAMS are not specified, use `guix-search-params'.
If PROFILE is nil, use `guix-current-profile'.
Interactively with prefix, prompt for PROFILE."
(interactive
(list (read-regexp "Regexp: " nil 'guix-search-history)
nil
(and current-prefix-arg
(guix-profile-prompt))))
(guix-get-show-packages profile 'regexp regexp
(or params guix-search-params)))
;;;###autoload
(defun guix-installed-packages (&optional profile)
"Display information about installed Guix packages.
If PROFILE is nil, use `guix-current-profile'.
Interactively with prefix, prompt for PROFILE."
(interactive
(list (and current-prefix-arg
(guix-profile-prompt))))
(guix-get-show-packages profile 'installed))
;;;###autoload
(defun guix-obsolete-packages (&optional profile)
"Display information about obsolete Guix packages.
If PROFILE is nil, use `guix-current-profile'.
Interactively with prefix, prompt for PROFILE."
(interactive
(list (and current-prefix-arg
(guix-profile-prompt))))
(guix-get-show-packages profile 'obsolete))
;;;###autoload
(defun guix-all-available-packages (&optional profile)
"Display information about all available Guix packages.
If PROFILE is nil, use `guix-current-profile'.
Interactively with prefix, prompt for PROFILE."
(interactive
(list (and current-prefix-arg
(guix-profile-prompt))))
(guix-get-show-packages profile 'all-available))
;;;###autoload
(defun guix-newest-available-packages (&optional profile)
"Display information about the newest available Guix packages.
If PROFILE is nil, use `guix-current-profile'.
Interactively with prefix, prompt for PROFILE."
(interactive
(list (and current-prefix-arg
(guix-profile-prompt))))
(guix-get-show-packages profile 'newest-available))
;;;###autoload
(defun guix-generations (&optional profile)
"Display information about all generations.
If PROFILE is nil, use `guix-current-profile'.
Interactively with prefix, prompt for PROFILE."
(interactive
(list (and current-prefix-arg
(guix-profile-prompt))))
(guix-get-show-generations profile 'all))
;;;###autoload
(defun guix-last-generations (number &optional profile)
"Display information about last NUMBER generations.
If PROFILE is nil, use `guix-current-profile'.
Interactively with prefix, prompt for PROFILE."
(interactive
(list (read-number "The number of last generations: ")
(and current-prefix-arg
(guix-profile-prompt))))
(guix-get-show-generations profile 'last number))
;;;###autoload
(defun guix-generations-by-time (from to &optional profile)
"Display information about generations created between FROM and TO.
FROM and TO should be time values.
If PROFILE is nil, use `guix-current-profile'.
Interactively with prefix, prompt for PROFILE."
(interactive
(list (guix-read-date "Find generations (from): ")
(guix-read-date "Find generations (to): ")
(and current-prefix-arg
(guix-profile-prompt))))
(guix-get-show-generations profile 'time
(float-time from)
(float-time to)))
(provide 'guix)
;;; guix.el ends here
+77
View File
@@ -0,0 +1,77 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
# Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
#
# This file is part of GNU Guix.
#
# GNU Guix is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# GNU Guix is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
AUTOLOADS = %D%/guix-autoloads.el
ELFILES = \
%D%/guix-about.el \
%D%/guix-backend.el \
%D%/guix-base.el \
%D%/guix-build-log.el \
%D%/guix-buffer.el \
%D%/guix-command.el \
%D%/guix-devel.el \
%D%/guix-emacs.el \
%D%/guix-entry.el \
%D%/guix-external.el \
%D%/guix-geiser.el \
%D%/guix-guile.el \
%D%/guix-help-vars.el \
%D%/guix-history.el \
%D%/guix-hydra.el \
%D%/guix-hydra-build.el \
%D%/guix-hydra-jobset.el \
%D%/guix-info.el \
%D%/guix-init.el \
%D%/guix-license.el \
%D%/guix-list.el \
%D%/guix-location.el \
%D%/guix-messages.el \
%D%/guix-pcomplete.el \
%D%/guix-popup.el \
%D%/guix-prettify.el \
%D%/guix-profiles.el \
%D%/guix-read.el \
%D%/guix-ui.el \
%D%/guix-ui-license.el \
%D%/guix-ui-location.el \
%D%/guix-ui-package.el \
%D%/guix-ui-generation.el \
%D%/guix-ui-system-generation.el \
%D%/guix-utils.el
if HAVE_EMACS
dist_lisp_DATA = $(ELFILES)
nodist_lisp_DATA = \
%D%/guix-config.el \
$(AUTOLOADS)
$(AUTOLOADS): $(ELFILES)
$(AM_V_EMACS)$(EMACS) --batch --eval \
"(let ((backup-inhibited t) \
(generated-autoload-file \
(expand-file-name \"$(AUTOLOADS)\" \"$(builddir)\"))) \
(update-directory-autoloads \
(expand-file-name \"emacs\" \"$(srcdir)\")))"
CLEANFILES += $(AUTOLOADS)
endif HAVE_EMACS
+19 -4
View File
@@ -18,15 +18,24 @@
# Bash completion for Guix commands.
declare _guix_available_packages
_guix_complete_available_package ()
{
local prefix="$1"
local packages="$(${COMP_WORDS[0]} package -A "^$prefix" | cut -f1)"
COMPREPLY=($(compgen -W "$packages" -- "$prefix"))
if [ -z "$_guix_available_packages" ]
then
# Cache the complete list because it rarely changes and makes
# completion much faster.
_guix_available_packages="$(${COMP_WORDS[0]} package -A | cut -f1)"
fi
COMPREPLY=($(compgen -W "$_guix_available_packages" -- "$prefix"))
}
_guix_complete_installed_package ()
{
# Here we do not cache the list of installed packages because that
# may change over time and the list is relatively small anyway.
local prefix="$1"
local packages="$(${COMP_WORDS[0]} package -I "^$prefix" | cut -f1)"
COMPREPLY=($(compgen -W "$packages" -- "$prefix"))
@@ -88,6 +97,8 @@ _guix_complete_file ()
COMPREPLY=()
}
declare _guix_subcommands
_guix_complete ()
{
local word_count=${#COMP_WORDS[*]}
@@ -105,8 +116,12 @@ _guix_complete ()
case $COMP_CWORD in
1)
local subcommands="$(guix --help | grep '^ ' | cut -c 2-)"
COMPREPLY=($(compgen -W "$subcommands" -- "$word_at_point"))
if [ -z "$_guix_subcommands" ]
then
# Cache the list of subcommands to speed things up.
_guix_subcommands="$(guix --help | grep '^ ' | cut -c 2-)"
fi
COMPREPLY=($(compgen -W "$_guix_subcommands" -- "$word_at_point"))
;;
*)
if _guix_is_command "package"
+12
View File
@@ -0,0 +1,12 @@
# This is a "job" for the Upstart init system to launch 'guix-daemon'.
# Drop it in /etc/init to have 'guix-daemon' automatically started.
description "Build daemon for GNU Guix"
start on runlevel [2345]
stop on runlevel [016]
task
exec @bindir@/guix-daemon --build-users-group=guixbuild
+4
View File
@@ -7,9 +7,13 @@ Description=Build daemon for GNU Guix
[Service]
ExecStart=@bindir@/guix-daemon --build-users-group=guixbuild
Environment=GUIX_LOCPATH=/root/.guix-profile/lib/locale
RemainAfterExit=yes
StandardOutput=syslog
StandardError=syslog
# See <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>.
TasksMax=1024
[Install]
WantedBy=multi-user.target
-753
View File
@@ -1,753 +0,0 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr>
# Copyright © 2013, 2014, 2015 Mark H Weaver <mhw@netris.org>
#
# This file is part of GNU Guix.
#
# GNU Guix is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# GNU Guix is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
# Definitions for the GNU System: package modules, patches, bootstrap
# binaries.
GNU_SYSTEM_MODULES = \
gnu.scm \
gnu/artwork.scm \
gnu/packages.scm \
gnu/packages/aarddict.scm \
gnu/packages/abiword.scm \
gnu/packages/acct.scm \
gnu/packages/acl.scm \
gnu/packages/admin.scm \
gnu/packages/adns.scm \
gnu/packages/algebra.scm \
gnu/packages/aidc.scm \
gnu/packages/apl.scm \
gnu/packages/apr.scm \
gnu/packages/asciidoc.scm \
gnu/packages/aspell.scm \
gnu/packages/attr.scm \
gnu/packages/audacity.scm \
gnu/packages/audio.scm \
gnu/packages/autogen.scm \
gnu/packages/autotools.scm \
gnu/packages/avahi.scm \
gnu/packages/avr.scm \
gnu/packages/backup.scm \
gnu/packages/base.scm \
gnu/packages/bash.scm \
gnu/packages/bdw-gc.scm \
gnu/packages/bioinformatics.scm \
gnu/packages/bittorrent.scm \
gnu/packages/bison.scm \
gnu/packages/boost.scm \
gnu/packages/bootstrap.scm \
gnu/packages/busybox.scm \
gnu/packages/calcurse.scm \
gnu/packages/ccache.scm \
gnu/packages/cdrom.scm \
gnu/packages/certs.scm \
gnu/packages/check.scm \
gnu/packages/ci.scm \
gnu/packages/cmake.scm \
gnu/packages/code.scm \
gnu/packages/commencement.scm \
gnu/packages/compression.scm \
gnu/packages/conkeror.scm \
gnu/packages/cook.scm \
gnu/packages/cpio.scm \
gnu/packages/cppi.scm \
gnu/packages/cross-base.scm \
gnu/packages/crypto.scm \
gnu/packages/cryptsetup.scm \
gnu/packages/cups.scm \
gnu/packages/curl.scm \
gnu/packages/cursynth.scm \
gnu/packages/cyrus-sasl.scm \
gnu/packages/databases.scm \
gnu/packages/datamash.scm \
gnu/packages/dc.scm \
gnu/packages/debug.scm \
gnu/packages/dejagnu.scm \
gnu/packages/dictionaries.scm \
gnu/packages/disk.scm \
gnu/packages/djvu.scm \
gnu/packages/dns.scm \
gnu/packages/docbook.scm \
gnu/packages/doxygen.scm \
gnu/packages/dunst.scm \
gnu/packages/ebook.scm \
gnu/packages/ed.scm \
gnu/packages/elf.scm \
gnu/packages/emacs.scm \
gnu/packages/enchant.scm \
gnu/packages/engineering.scm \
gnu/packages/enlightenment.scm \
gnu/packages/fcitx.scm \
gnu/packages/feh.scm \
gnu/packages/file.scm \
gnu/packages/firmware.scm \
gnu/packages/fish.scm \
gnu/packages/flashing-tools.scm \
gnu/packages/flex.scm \
gnu/packages/fltk.scm \
gnu/packages/fonts.scm \
gnu/packages/fontutils.scm \
gnu/packages/freedesktop.scm \
gnu/packages/freeipmi.scm \
gnu/packages/ftp.scm \
gnu/packages/fribidi.scm \
gnu/packages/fvwm.scm \
gnu/packages/game-development.scm \
gnu/packages/games.scm \
gnu/packages/gawk.scm \
gnu/packages/gcal.scm \
gnu/packages/gcc.scm \
gnu/packages/gd.scm \
gnu/packages/gdb.scm \
gnu/packages/gdbm.scm \
gnu/packages/geeqie.scm \
gnu/packages/gettext.scm \
gnu/packages/ghostscript.scm \
gnu/packages/gimp.scm \
gnu/packages/gkrellm.scm \
gnu/packages/gl.scm \
gnu/packages/glib.scm \
gnu/packages/gnome.scm \
gnu/packages/gnucash.scm \
gnu/packages/gnunet.scm \
gnu/packages/gnupg.scm \
gnu/packages/gnustep.scm \
gnu/packages/gnuzilla.scm \
gnu/packages/gnu-pw-mgr.scm \
gnu/packages/gperf.scm \
gnu/packages/gprolog.scm \
gnu/packages/gps.scm \
gnu/packages/graphics.scm \
gnu/packages/graphviz.scm \
gnu/packages/groff.scm \
gnu/packages/grub.scm \
gnu/packages/grue-hunter.scm \
gnu/packages/gsasl.scm \
gnu/packages/gstreamer.scm \
gnu/packages/gtk.scm \
gnu/packages/guile.scm \
gnu/packages/guile-wm.scm \
gnu/packages/gv.scm \
gnu/packages/gxmessage.scm \
gnu/packages/haskell.scm \
gnu/packages/hugs.scm \
gnu/packages/hurd.scm \
gnu/packages/ibus.scm \
gnu/packages/icu4c.scm \
gnu/packages/idutils.scm \
gnu/packages/image.scm \
gnu/packages/imagemagick.scm \
gnu/packages/indent.scm \
gnu/packages/inkscape.scm \
gnu/packages/irssi.scm \
gnu/packages/iso-codes.scm \
gnu/packages/java.scm \
gnu/packages/jemalloc.scm \
gnu/packages/jrnl.scm \
gnu/packages/julia.scm \
gnu/packages/kde.scm \
gnu/packages/key-mon.scm \
gnu/packages/language.scm \
gnu/packages/less.scm \
gnu/packages/lesstif.scm \
gnu/packages/libcanberra.scm \
gnu/packages/libdaemon.scm \
gnu/packages/libedit.scm \
gnu/packages/libevent.scm \
gnu/packages/libffcall.scm \
gnu/packages/libffi.scm \
gnu/packages/libftdi.scm \
gnu/packages/calendar.scm \
gnu/packages/libidn.scm \
gnu/packages/libphidget.scm \
gnu/packages/libreoffice.scm \
gnu/packages/libsigsegv.scm \
gnu/packages/libunistring.scm \
gnu/packages/libusb.scm \
gnu/packages/libunwind.scm \
gnu/packages/libupnp.scm \
gnu/packages/lightning.scm \
gnu/packages/links.scm \
gnu/packages/linux.scm \
gnu/packages/lirc.scm \
gnu/packages/lisp.scm \
gnu/packages/llvm.scm \
gnu/packages/lout.scm \
gnu/packages/lsh.scm \
gnu/packages/lsof.scm \
gnu/packages/lua.scm \
gnu/packages/lxde.scm \
gnu/packages/lxqt.scm \
gnu/packages/lynx.scm \
gnu/packages/m4.scm \
gnu/packages/machine-learning.scm \
gnu/packages/man.scm \
gnu/packages/mail.scm \
gnu/packages/make-bootstrap.scm \
gnu/packages/markdown.scm \
gnu/packages/maths.scm \
gnu/packages/mc.scm \
gnu/packages/mcrypt.scm \
gnu/packages/messaging.scm \
gnu/packages/mg.scm \
gnu/packages/miscfiles.scm \
gnu/packages/mit-krb5.scm \
gnu/packages/moe.scm \
gnu/packages/moreutils.scm \
gnu/packages/mpd.scm \
gnu/packages/mp3.scm \
gnu/packages/mpi.scm \
gnu/packages/multiprecision.scm \
gnu/packages/music.scm \
gnu/packages/mtools.scm \
gnu/packages/nano.scm \
gnu/packages/ncdu.scm \
gnu/packages/ncurses.scm \
gnu/packages/netpbm.scm \
gnu/packages/nettle.scm \
gnu/packages/networking.scm \
gnu/packages/ninja.scm \
gnu/packages/node.scm \
gnu/packages/noweb.scm \
gnu/packages/ntp.scm \
gnu/packages/nutrition.scm \
gnu/packages/nvi.scm \
gnu/packages/ocaml.scm \
gnu/packages/ocr.scm \
gnu/packages/onc-rpc.scm \
gnu/packages/openbox.scm \
gnu/packages/openldap.scm \
gnu/packages/orpheus.scm \
gnu/packages/ots.scm \
gnu/packages/package-management.scm \
gnu/packages/parallel.scm \
gnu/packages/patchutils.scm \
gnu/packages/pciutils.scm \
gnu/packages/pcre.scm \
gnu/packages/pdf.scm \
gnu/packages/pem.scm \
gnu/packages/perl.scm \
gnu/packages/photo.scm \
gnu/packages/pkg-config.scm \
gnu/packages/plotutils.scm \
gnu/packages/polkit.scm \
gnu/packages/popt.scm \
gnu/packages/pth.scm \
gnu/packages/pulseaudio.scm \
gnu/packages/pumpio.scm \
gnu/packages/pretty-print.scm \
gnu/packages/protobuf.scm \
gnu/packages/pv.scm \
gnu/packages/python.scm \
gnu/packages/qemu.scm \
gnu/packages/qt.scm \
gnu/packages/ratpoison.scm \
gnu/packages/rc.scm \
gnu/packages/rdesktop.scm \
gnu/packages/rdf.scm \
gnu/packages/readline.scm \
gnu/packages/rrdtool.scm \
gnu/packages/rsync.scm \
gnu/packages/ruby.scm \
gnu/packages/rush.scm \
gnu/packages/samba.scm \
gnu/packages/sawfish.scm \
gnu/packages/scanner.scm \
gnu/packages/scheme.scm \
gnu/packages/screen.scm \
gnu/packages/sdl.scm \
gnu/packages/search.scm \
gnu/packages/serveez.scm \
gnu/packages/shishi.scm \
gnu/packages/skarnet.scm \
gnu/packages/skribilo.scm \
gnu/packages/slang.scm \
gnu/packages/slim.scm \
gnu/packages/smalltalk.scm \
gnu/packages/ssh.scm \
gnu/packages/stalonetray.scm \
gnu/packages/statistics.scm \
gnu/packages/suckless.scm \
gnu/packages/swig.scm \
gnu/packages/sxiv.scm \
gnu/packages/synergy.scm \
gnu/packages/task-management.scm \
gnu/packages/tbb.scm \
gnu/packages/tcl.scm \
gnu/packages/tcsh.scm \
gnu/packages/telephony.scm \
gnu/packages/texinfo.scm \
gnu/packages/texlive.scm \
gnu/packages/textutils.scm \
gnu/packages/time.scm \
gnu/packages/tls.scm \
gnu/packages/tmux.scm \
gnu/packages/tor.scm \
gnu/packages/tre.scm \
gnu/packages/tv.scm \
gnu/packages/unrtf.scm \
gnu/packages/upnp.scm \
gnu/packages/uucp.scm \
gnu/packages/valgrind.scm \
gnu/packages/version-control.scm \
gnu/packages/video.scm \
gnu/packages/vim.scm \
gnu/packages/vpn.scm \
gnu/packages/vtk.scm \
gnu/packages/w3m.scm \
gnu/packages/wdiff.scm \
gnu/packages/web.scm \
gnu/packages/webkit.scm \
gnu/packages/weechat.scm \
gnu/packages/wget.scm \
gnu/packages/wicd.scm \
gnu/packages/wine.scm \
gnu/packages/wordnet.scm \
gnu/packages/wv.scm \
gnu/packages/wxwidgets.scm \
gnu/packages/xfig.scm \
gnu/packages/xiph.scm \
gnu/packages/xml.scm \
gnu/packages/xnee.scm \
gnu/packages/xdisorg.scm \
gnu/packages/xorg.scm \
gnu/packages/xfce.scm \
gnu/packages/yasm.scm \
gnu/packages/yubico.scm \
gnu/packages/zile.scm \
gnu/packages/zip.scm \
gnu/packages/zsh.scm \
\
gnu/services.scm \
gnu/services/avahi.scm \
gnu/services/base.scm \
gnu/services/databases.scm \
gnu/services/desktop.scm \
gnu/services/dmd.scm \
gnu/services/lirc.scm \
gnu/services/networking.scm \
gnu/services/ssh.scm \
gnu/services/xorg.scm \
\
gnu/system.scm \
gnu/system/file-systems.scm \
gnu/system/grub.scm \
gnu/system/install.scm \
gnu/system/linux.scm \
gnu/system/linux-initrd.scm \
gnu/system/locale.scm \
gnu/system/nss.scm \
gnu/system/shadow.scm \
gnu/system/vm.scm \
\
gnu/build/activation.scm \
gnu/build/file-systems.scm \
gnu/build/install.scm \
gnu/build/linux-boot.scm \
gnu/build/linux-container.scm \
gnu/build/linux-initrd.scm \
gnu/build/linux-modules.scm \
gnu/build/vm.scm
patchdir = $(guilemoduledir)/gnu/packages/patches
dist_patch_DATA = \
gnu/packages/patches/abiword-explictly-cast-bools.patch \
gnu/packages/patches/abiword-link-plugins-against-backend.patch \
gnu/packages/patches/abiword-no-include-glib-internal-headers.patch \
gnu/packages/patches/abiword-pass-no-undefined-to-linker.patch \
gnu/packages/patches/abiword-use-proper-png-api.patch \
gnu/packages/patches/abiword-wmf-version-lookup-fix.patch \
gnu/packages/patches/aegis-constness-error.patch \
gnu/packages/patches/aegis-perl-tempdir1.patch \
gnu/packages/patches/aegis-perl-tempdir2.patch \
gnu/packages/patches/aegis-test-fixup-1.patch \
gnu/packages/patches/aegis-test-fixup-2.patch \
gnu/packages/patches/agg-am_c_prototype.patch \
gnu/packages/patches/alsa-lib-mips-atomic-fix.patch \
gnu/packages/patches/apr-skip-getservbyname-test.patch \
gnu/packages/patches/ath9k-htc-firmware-binutils.patch \
gnu/packages/patches/ath9k-htc-firmware-gcc.patch \
gnu/packages/patches/ath9k-htc-firmware-objcopy.patch \
gnu/packages/patches/audacity-fix-ffmpeg-binding.patch \
gnu/packages/patches/automake-skip-amhello-tests.patch \
gnu/packages/patches/avahi-localstatedir.patch \
gnu/packages/patches/avrdude-fix-libusb.patch \
gnu/packages/patches/bash-completion-directories.patch \
gnu/packages/patches/bowtie-fix-makefile.patch \
gnu/packages/patches/bigloo-gc-shebangs.patch \
gnu/packages/patches/binutils-ld-new-dtags.patch \
gnu/packages/patches/binutils-loongson-workaround.patch \
gnu/packages/patches/bitlbee-configure-doc-fix.patch \
gnu/packages/patches/boost-mips-avoid-m32.patch \
gnu/packages/patches/calibre-drop-unrar.patch \
gnu/packages/patches/calibre-no-updates-dialog.patch \
gnu/packages/patches/cdparanoia-fpic.patch \
gnu/packages/patches/chmlib-inttypes.patch \
gnu/packages/patches/clang-libc-search-path.patch \
gnu/packages/patches/clucene-pkgconfig.patch \
gnu/packages/patches/cmake-fix-tests.patch \
gnu/packages/patches/cpio-CVE-2014-9112-pt1.patch \
gnu/packages/patches/cpio-CVE-2014-9112-pt2.patch \
gnu/packages/patches/cpio-CVE-2014-9112-pt3.patch \
gnu/packages/patches/cpio-CVE-2014-9112-pt4.patch \
gnu/packages/patches/cpio-CVE-2014-9112-pt5.patch \
gnu/packages/patches/cpio-fix-symlink-bad-length-test.patch \
gnu/packages/patches/cpio-gets-undeclared.patch \
gnu/packages/patches/cpufrequtils-fix-aclocal.patch \
gnu/packages/patches/crda-optional-gcrypt.patch \
gnu/packages/patches/crossmap-allow-system-pysam.patch \
gnu/packages/patches/cssc-gets-undeclared.patch \
gnu/packages/patches/cssc-missing-include.patch \
gnu/packages/patches/clucene-contribs-lib.patch \
gnu/packages/patches/cursynth-wave-rand.patch \
gnu/packages/patches/dbus-localstatedir.patch \
gnu/packages/patches/dealii-p4est-interface.patch \
gnu/packages/patches/diffutils-gets-undeclared.patch \
gnu/packages/patches/dfu-programmer-fix-libusb.patch \
gnu/packages/patches/doxygen-test.patch \
gnu/packages/patches/doxygen-tmake.patch \
gnu/packages/patches/duplicity-piped-password.patch \
gnu/packages/patches/duplicity-test_selection-tmp.patch \
gnu/packages/patches/elfutils-tests-ptrace.patch \
gnu/packages/patches/emacs-exec-path.patch \
gnu/packages/patches/eudev-rules-directory.patch \
gnu/packages/patches/findutils-absolute-paths.patch \
gnu/packages/patches/findutils-localstatedir.patch \
gnu/packages/patches/flashrom-use-libftdi1.patch \
gnu/packages/patches/flex-bison-tests.patch \
gnu/packages/patches/fltk-shared-lib-defines.patch \
gnu/packages/patches/fuse-CVE-2015-3202.patch \
gnu/packages/patches/gawk-shell.patch \
gnu/packages/patches/gcc-arm-link-spec-fix.patch \
gnu/packages/patches/gcc-cross-environment-variables.patch \
gnu/packages/patches/gcc-libvtv-runpath.patch \
gnu/packages/patches/gcc-5.0-libvtv-runpath.patch \
gnu/packages/patches/geoclue-config.patch \
gnu/packages/patches/ghostscript-runpath.patch \
gnu/packages/patches/gitolite-openssh-6.8-compat.patch \
gnu/packages/patches/glib-tests-desktop.patch \
gnu/packages/patches/glib-tests-homedir.patch \
gnu/packages/patches/glib-tests-prlimit.patch \
gnu/packages/patches/glib-tests-timer.patch \
gnu/packages/patches/glib-tests-gapplication.patch \
gnu/packages/patches/glibc-bootstrap-system.patch \
gnu/packages/patches/glibc-ldd-x86_64.patch \
gnu/packages/patches/glibc-locales.patch \
gnu/packages/patches/gmp-arm-asm-nothumb.patch \
gnu/packages/patches/gobject-introspection-absolute-shlib-path.patch \
gnu/packages/patches/gobject-introspection-cc.patch \
gnu/packages/patches/gobject-introspection-girepository.patch \
gnu/packages/patches/grep-CVE-2015-1345.patch \
gnu/packages/patches/grub-gets-undeclared.patch \
gnu/packages/patches/grub-freetype.patch \
gnu/packages/patches/gsl-poly-test-fix-pt1.patch \
gnu/packages/patches/gsl-poly-test-fix-pt2.patch \
gnu/packages/patches/guile-1.8-cpp-4.5.patch \
gnu/packages/patches/guile-arm-fixes.patch \
gnu/packages/patches/guile-default-utf8.patch \
gnu/packages/patches/guile-linux-syscalls.patch \
gnu/packages/patches/guile-relocatable.patch \
gnu/packages/patches/gtkglext-disable-disable-deprecated.patch \
gnu/packages/patches/hop-bigloo-4.0b.patch \
gnu/packages/patches/hop-linker-flags.patch \
gnu/packages/patches/hwloc-gather-topology-lstopo.patch \
gnu/packages/patches/hydra-automake-1.15.patch \
gnu/packages/patches/hydra-disable-darcs-test.patch \
gnu/packages/patches/icecat-enable-acceleration-and-webgl.patch \
gnu/packages/patches/icecat-freetype-2.6.patch \
gnu/packages/patches/icecat-libvpx-1.4.patch \
gnu/packages/patches/irrlicht-mesa-10.patch \
gnu/packages/patches/jbig2dec-ignore-testtest.patch \
gnu/packages/patches/julia-0.3.10-fix-empty-array.patch \
gnu/packages/patches/kmod-module-directory.patch \
gnu/packages/patches/lftp-dont-save-unknown-host-fingerprint.patch \
gnu/packages/patches/liba52-enable-pic.patch \
gnu/packages/patches/liba52-link-with-libm.patch \
gnu/packages/patches/liba52-set-soname.patch \
gnu/packages/patches/liba52-use-mtune-not-mcpu.patch \
gnu/packages/patches/libarchive-CVE-2013-0211.patch \
gnu/packages/patches/libarchive-fix-lzo-test-case.patch \
gnu/packages/patches/libarchive-mtree-filename-length-fix.patch \
gnu/packages/patches/libbonobo-activation-test-race.patch \
gnu/packages/patches/libcanberra-sound-theme-freedesktop.patch \
gnu/packages/patches/libevent-dns-tests.patch \
gnu/packages/patches/liboop-mips64-deplibs-fix.patch \
gnu/packages/patches/libmad-armv7-thumb-pt1.patch \
gnu/packages/patches/libmad-armv7-thumb-pt2.patch \
gnu/packages/patches/libmad-frame-length.patch \
gnu/packages/patches/libmad-mips-newgcc.patch \
gnu/packages/patches/libtheora-config-guess.patch \
gnu/packages/patches/libtiff-CVE-2012-4564.patch \
gnu/packages/patches/libtiff-CVE-2013-1960.patch \
gnu/packages/patches/libtiff-CVE-2013-1961.patch \
gnu/packages/patches/libtiff-CVE-2013-4231.patch \
gnu/packages/patches/libtiff-CVE-2013-4232.patch \
gnu/packages/patches/libtiff-CVE-2013-4243.patch \
gnu/packages/patches/libtiff-CVE-2013-4244.patch \
gnu/packages/patches/libtiff-CVE-2014-8127-pt1.patch \
gnu/packages/patches/libtiff-CVE-2014-8127-pt2.patch \
gnu/packages/patches/libtiff-CVE-2014-8127-pt3.patch \
gnu/packages/patches/libtiff-CVE-2014-8127-pt4.patch \
gnu/packages/patches/libtiff-CVE-2014-8128-pt1.patch \
gnu/packages/patches/libtiff-CVE-2014-8128-pt2.patch \
gnu/packages/patches/libtiff-CVE-2014-8128-pt3.patch \
gnu/packages/patches/libtiff-CVE-2014-8128-pt4.patch \
gnu/packages/patches/libtiff-CVE-2014-8128-pt5.patch \
gnu/packages/patches/libtiff-CVE-2014-8129.patch \
gnu/packages/patches/libtiff-CVE-2014-9330.patch \
gnu/packages/patches/libtiff-CVE-2014-9655.patch \
gnu/packages/patches/libtool-skip-tests2.patch \
gnu/packages/patches/libssh-CVE-2014-0017.patch \
gnu/packages/patches/libwmf-CVE-2006-3376.patch \
gnu/packages/patches/libwmf-CVE-2009-1364.patch \
gnu/packages/patches/libwmf-CVE-2015-0848+4588+4695+4696.patch \
gnu/packages/patches/lirc-localstatedir.patch \
gnu/packages/patches/lm-sensors-hwmon-attrs.patch \
gnu/packages/patches/lua51-liblua-so.patch \
gnu/packages/patches/luajit-no_ldconfig.patch \
gnu/packages/patches/luajit-symlinks.patch \
gnu/packages/patches/luit-posix.patch \
gnu/packages/patches/m4-gets-undeclared.patch \
gnu/packages/patches/make-impure-dirs.patch \
gnu/packages/patches/maxima-defsystem-mkdir.patch \
gnu/packages/patches/mc-fix-ncurses-build.patch \
gnu/packages/patches/mcron-install.patch \
gnu/packages/patches/mdadm-gcc-4.9-fix.patch \
gnu/packages/patches/mhash-keygen-test-segfault.patch \
gnu/packages/patches/mit-krb5-init-fix.patch \
gnu/packages/patches/mpc123-initialize-ao.patch \
gnu/packages/patches/mplayer2-theora-fix.patch \
gnu/packages/patches/module-init-tools-moduledir.patch \
gnu/packages/patches/mumps-build-parallelism.patch \
gnu/packages/patches/mupdf-buildsystem-fix.patch \
gnu/packages/patches/mutt-CVE-2014-9116.patch \
gnu/packages/patches/mutt-store-references.patch \
gnu/packages/patches/net-tools-bitrot.patch \
gnu/packages/patches/ngircd-handle-zombies.patch \
gnu/packages/patches/ngircd-no-dns-in-tests.patch \
gnu/packages/patches/ninja-tests.patch \
gnu/packages/patches/ninja-zero-mtime.patch \
gnu/packages/patches/nss-pkgconfig.patch \
gnu/packages/patches/nvi-assume-preserve-path.patch \
gnu/packages/patches/nvi-dbpagesize-binpower.patch \
gnu/packages/patches/nvi-db4.patch \
gnu/packages/patches/openexr-missing-samples.patch \
gnu/packages/patches/openssl-runpath.patch \
gnu/packages/patches/orpheus-cast-errors-and-includes.patch \
gnu/packages/patches/ots-no-include-missing-file.patch \
gnu/packages/patches/patchelf-page-size.patch \
gnu/packages/patches/patchelf-rework-for-arm.patch \
gnu/packages/patches/patchutils-xfail-gendiff-tests.patch \
gnu/packages/patches/patch-hurd-path-max.patch \
gnu/packages/patches/pavucontrol-sigsegv.patch \
gnu/packages/patches/perl-gd-options-passthrough-and-fontconfig.patch \
gnu/packages/patches/perl-module-pluggable-search.patch \
gnu/packages/patches/perl-net-amazon-s3-moose-warning.patch \
gnu/packages/patches/perl-net-ssleay-disable-ede-test.patch \
gnu/packages/patches/perl-no-sys-dirs.patch \
gnu/packages/patches/perl-tk-x11-discover.patch \
gnu/packages/patches/pingus-sdl-libs-config.patch \
gnu/packages/patches/plotutils-libpng-jmpbuf.patch \
gnu/packages/patches/polkit-drop-test.patch \
gnu/packages/patches/portaudio-audacity-compat.patch \
gnu/packages/patches/preseq-1.0.2-install-to-PREFIX.patch \
gnu/packages/patches/preseq-1.0.2-link-with-libbam.patch \
gnu/packages/patches/procps-make-3.82.patch \
gnu/packages/patches/pt-scotch-build-parallelism.patch \
gnu/packages/patches/pulseaudio-fix-mult-test.patch \
gnu/packages/patches/pulseaudio-longer-test-timeout.patch \
gnu/packages/patches/pycairo-wscript.patch \
gnu/packages/patches/pybugz-encode-error.patch \
gnu/packages/patches/pybugz-stty.patch \
gnu/packages/patches/pyqt-configure.patch \
gnu/packages/patches/python-disable-ssl-test.patch \
gnu/packages/patches/python-fix-tests.patch \
gnu/packages/patches/python-libffi-mips-n32-fix.patch \
gnu/packages/patches/python2-rdflib-drop-sparqlwrapper.patch \
gnu/packages/patches/python2-sqlite-3.8.4-test-fix.patch \
gnu/packages/patches/python2-pygobject-2-gi-info-type-error-domain.patch \
gnu/packages/patches/qemu-CVE-2015-3209.patch \
gnu/packages/patches/qemu-CVE-2015-3456.patch \
gnu/packages/patches/qemu-CVE-2015-4037.patch \
gnu/packages/patches/qemu-CVE-2015-4103.patch \
gnu/packages/patches/qemu-CVE-2015-4104.patch \
gnu/packages/patches/qemu-CVE-2015-4105.patch \
gnu/packages/patches/qemu-CVE-2015-4106-pt1.patch \
gnu/packages/patches/qemu-CVE-2015-4106-pt2.patch \
gnu/packages/patches/qemu-CVE-2015-4106-pt3.patch \
gnu/packages/patches/qemu-CVE-2015-4106-pt4.patch \
gnu/packages/patches/qemu-CVE-2015-4106-pt5.patch \
gnu/packages/patches/qemu-CVE-2015-4106-pt6.patch \
gnu/packages/patches/qemu-CVE-2015-4106-pt7.patch \
gnu/packages/patches/qemu-CVE-2015-4106-pt8.patch \
gnu/packages/patches/qt4-ldflags.patch \
gnu/packages/patches/qt4-tests.patch \
gnu/packages/patches/qt5-conflicting-typedefs.patch \
gnu/packages/patches/qt5-runpath.patch \
gnu/packages/patches/ratpoison-shell.patch \
gnu/packages/patches/readline-link-ncurses.patch \
gnu/packages/patches/ripperx-libm.patch \
gnu/packages/patches/sed-hurd-path-max.patch \
gnu/packages/patches/scheme48-tests.patch \
gnu/packages/patches/scotch-test-threading.patch \
gnu/packages/patches/sdl-libx11-1.6.patch \
gnu/packages/patches/serf-comment-style-fix.patch \
gnu/packages/patches/serf-deflate-buckets-test-fix.patch \
gnu/packages/patches/slim-session.patch \
gnu/packages/patches/slim-config.patch \
gnu/packages/patches/slim-sigusr1.patch \
gnu/packages/patches/soprano-find-clucene.patch \
gnu/packages/patches/subversion-sqlite-3.8.9-fix.patch \
gnu/packages/patches/superlu-dist-scotchmetis.patch \
gnu/packages/patches/tar-d_ino_in_dirent-fix.patch \
gnu/packages/patches/tar-skip-unreliable-tests.patch \
gnu/packages/patches/tcsh-fix-autotest.patch \
gnu/packages/patches/teckit-cstdio.patch \
gnu/packages/patches/texi2html-document-encoding.patch \
gnu/packages/patches/texi2html-i18n.patch \
gnu/packages/patches/tidy-CVE-2015-5522+5523.patch \
gnu/packages/patches/tvtime-gcc41.patch \
gnu/packages/patches/tvtime-pngoutput.patch \
gnu/packages/patches/tvtime-videodev2.patch \
gnu/packages/patches/tvtime-xmltv.patch \
gnu/packages/patches/unzip-CVE-2014-8139.patch \
gnu/packages/patches/unzip-CVE-2014-8140.patch \
gnu/packages/patches/unzip-CVE-2014-8141.patch \
gnu/packages/patches/unzip-CVE-2014-9636.patch \
gnu/packages/patches/unzip-allow-greater-hostver-values.patch \
gnu/packages/patches/unzip-increase-size-of-cfactorstr.patch \
gnu/packages/patches/unzip-initialize-symlink-flag.patch \
gnu/packages/patches/unzip-remove-build-date.patch \
gnu/packages/patches/util-linux-tests.patch \
gnu/packages/patches/upower-builddir.patch \
gnu/packages/patches/valgrind-glibc-2.21.patch \
gnu/packages/patches/vpnc-script.patch \
gnu/packages/patches/vtk-mesa-10.patch \
gnu/packages/patches/w3m-fix-compile.patch \
gnu/packages/patches/weex-vacopy.patch \
gnu/packages/patches/wicd-template-instantiation.patch \
gnu/packages/patches/wicd-urwid-1.3.patch \
gnu/packages/patches/wmctrl-64-fix.patch \
gnu/packages/patches/wpa-supplicant-CVE-2015-1863.patch \
gnu/packages/patches/wpa-supplicant-2015-2-fix.patch \
gnu/packages/patches/wpa-supplicant-2015-3-fix.patch \
gnu/packages/patches/wpa-supplicant-2015-4-fix-pt1.patch \
gnu/packages/patches/wpa-supplicant-2015-4-fix-pt2.patch \
gnu/packages/patches/wpa-supplicant-2015-4-fix-pt3.patch \
gnu/packages/patches/wpa-supplicant-2015-4-fix-pt4.patch \
gnu/packages/patches/wpa-supplicant-2015-4-fix-pt5.patch \
gnu/packages/patches/wpa-supplicant-2015-5-fix.patch \
gnu/packages/patches/xf86-video-ark-remove-mibstore.patch \
gnu/packages/patches/xf86-video-ast-remove-mibstore.patch \
gnu/packages/patches/xf86-video-geode-glibc-2.20.patch \
gnu/packages/patches/xf86-video-glint-remove-mibstore.patch \
gnu/packages/patches/xf86-video-i128-remove-mibstore.patch \
gnu/packages/patches/xf86-video-intel-compat-api.patch \
gnu/packages/patches/xf86-video-intel-glibc-2.20.patch \
gnu/packages/patches/xf86-video-mach64-glibc-2.20.patch \
gnu/packages/patches/xf86-video-mga-glibc-2.20.patch \
gnu/packages/patches/xf86-video-nv-remove-mibstore.patch \
gnu/packages/patches/xf86-video-openchrome-glibc-2.20.patch \
gnu/packages/patches/xf86-video-r128-glibc-2.20.patch \
gnu/packages/patches/xf86-video-siliconmotion-remove-mibstore.patch \
gnu/packages/patches/xf86-video-sis-fix-exa-crash.patch \
gnu/packages/patches/xf86-video-sis-update-api.patch \
gnu/packages/patches/xf86-video-tdfx-remove-mibstore.patch \
gnu/packages/patches/xf86-video-tga-remove-mibstore.patch \
gnu/packages/patches/xf86-video-trident-remove-mibstore.patch \
gnu/packages/patches/xf86-video-vmware-glibc-2.20.patch \
gnu/packages/patches/xfce4-panel-plugins.patch \
gnu/packages/patches/xmodmap-asprintf.patch \
gnu/packages/patches/zathura-plugindir-environment-variable.patch
MISC_DISTRO_FILES = \
gnu/packages/ld-wrapper.in
bootstrapdir = $(guilemoduledir)/gnu/packages/bootstrap
bootstrap_x86_64_linuxdir = $(bootstrapdir)/x86_64-linux
bootstrap_i686_linuxdir = $(bootstrapdir)/i686-linux
bootstrap_armhf_linuxdir = $(bootstrapdir)/armhf-linux
bootstrap_mips64el_linuxdir = $(bootstrapdir)/mips64el-linux
dist_bootstrap_x86_64_linux_DATA = \
gnu/packages/bootstrap/x86_64-linux/bash \
gnu/packages/bootstrap/x86_64-linux/mkdir \
gnu/packages/bootstrap/x86_64-linux/tar \
gnu/packages/bootstrap/x86_64-linux/xz
dist_bootstrap_i686_linux_DATA = \
gnu/packages/bootstrap/i686-linux/bash \
gnu/packages/bootstrap/i686-linux/mkdir \
gnu/packages/bootstrap/i686-linux/tar \
gnu/packages/bootstrap/i686-linux/xz
dist_bootstrap_armhf_linux_DATA = \
gnu/packages/bootstrap/armhf-linux/bash \
gnu/packages/bootstrap/armhf-linux/mkdir \
gnu/packages/bootstrap/armhf-linux/tar \
gnu/packages/bootstrap/armhf-linux/xz
dist_bootstrap_mips64el_linux_DATA = \
gnu/packages/bootstrap/mips64el-linux/bash \
gnu/packages/bootstrap/mips64el-linux/mkdir \
gnu/packages/bootstrap/mips64el-linux/tar \
gnu/packages/bootstrap/mips64el-linux/xz
# Big bootstrap binaries are not included in the tarball. Instead, they
# are downloaded.
nodist_bootstrap_x86_64_linux_DATA = \
gnu/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz
nodist_bootstrap_i686_linux_DATA = \
gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz
nodist_bootstrap_armhf_linux_DATA = \
gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz
nodist_bootstrap_mips64el_linux_DATA = \
gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz
# Those files must remain executable, so they remain executable once
# imported into the store.
set-bootstrap-executable-permissions:
chmod +x $(DESTDIR)$(bootstrapdir)/*/{bash,mkdir,tar,xz}
DISTCLEANFILES = \
$(nodist_bootstrap_x86_64_linux_DATA) \
$(nodist_bootstrap_i686_linux_DATA) \
$(nodist_bootstrap_armhf_linux_DATA) \
$(nodist_bootstrap_mips64el_linux_DATA)
# Method to download a file from an external source.
DOWNLOAD_FILE = \
GUILE_LOAD_COMPILED_PATH="$(top_builddir):$$GUILE_LOAD_COMPILED_PATH" \
$(GUILE) --no-auto-compile -L "$(top_builddir)" -L "$(top_srcdir)" \
"$(top_srcdir)/build-aux/download.scm"
gnu/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz:
$(MKDIR_P) `dirname "$@"`
$(DOWNLOAD_FILE) "$@" "037b103522a2d0d7d69c7ffd8de683dfe5bb4b59c1fafd70b4ffd397fd2f57f0"
gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz:
$(MKDIR_P) `dirname "$@"`
$(DOWNLOAD_FILE) "$@" "b757cd46bf13ecac83fb8e955fb50096ac2d17bb610ca8eb816f29302a00a846"
gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz:
$(MKDIR_P) `dirname "$@"`
$(DOWNLOAD_FILE) "$@" "e551d05d4d385d6706ab8d574856a087758294dc90ab4c06e70a157a685e23d6"
gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz:
$(MKDIR_P) `dirname "$@"`
$(DOWNLOAD_FILE) "$@" "994680f0001346864aa2c2cc5110f380ee7518dcd701c614291682b8e948f73b"
+3 -2
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015 Joshua S. Grant <jgrant@parenthetical.io>
;;;
;;; This file is part of GNU Guix.
@@ -32,9 +32,10 @@
(begin
(define %public-modules
'((gnu system)
(gnu system mapped-devices)
(gnu system file-systems)
(gnu system grub) ; 'grub-configuration'
(gnu system linux) ; 'base-pam-services'
(gnu system pam)
(gnu system shadow) ; 'user-account'
(gnu system linux-initrd)
(gnu system nss)
+4 -2
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
@@ -91,7 +91,9 @@
(mkdir-p home)
(for-each (lambda (file)
(let ((target (string-append home "/" file)))
(copy-file (string-append directory "/" file) target)
(copy-recursively (string-append directory "/" file)
target
#:log (%make-void-port "w"))
(make-file-writable target)))
files)))
+186 -38
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -18,11 +18,13 @@
(define-module (gnu build file-systems)
#:use-module (guix build utils)
#:use-module (guix build bournish)
#:use-module (rnrs io ports)
#:use-module (rnrs bytevectors)
#:use-module (ice-9 match)
#:use-module (ice-9 rdelim)
#:use-module (ice-9 format)
#:use-module (ice-9 regex)
#:use-module (system foreign)
#:autoload (system repl repl) (start-repl)
#:use-module (srfi srfi-1)
@@ -30,10 +32,15 @@
#:export (disk-partitions
partition-label-predicate
partition-uuid-predicate
partition-luks-uuid-predicate
find-partition-by-label
find-partition-by-uuid
find-partition-by-luks-uuid
canonicalize-device-spec
uuid->string
string->uuid
MS_RDONLY
MS_NOSUID
MS_NODEV
@@ -74,6 +81,11 @@
"Bind-mount SOURCE at TARGET."
(mount source target "" MS_BIND))
;;;
;;; Ext2 file systems.
;;;
(define-syntax %ext2-endianness
;; Endianness of ext2 file systems.
(identifier-syntax (endianness little)))
@@ -131,6 +143,63 @@ if DEVICE does not contain an ext2 file system."
#f
(list->string (map integer->char bytes))))))
;;;
;;; LUKS encrypted devices.
;;;
;; The LUKS header format is described in "LUKS On-Disk Format Specification":
;; <http://wiki.cryptsetup.googlecode.com/git/LUKS-standard/>. We follow
;; version 1.2.1 of this document.
(define-syntax %luks-endianness
;; Endianness of LUKS headers.
(identifier-syntax (endianness big)))
(define-syntax %luks-header-size
;; Size in bytes of the LUKS header, including key slots.
(identifier-syntax 592))
(define %luks-magic
;; The 'LUKS_MAGIC' constant.
(u8-list->bytevector (append (map char->integer (string->list "LUKS"))
(list #xba #xbe))))
(define (sub-bytevector bv start size)
"Return a copy of the SIZE bytes of BV starting from offset START."
(let ((result (make-bytevector size)))
(bytevector-copy! bv start result 0 size)
result))
(define (read-luks-header file)
"Read a LUKS header from FILE. Return the raw header on success, and #f if
not valid header was found."
(call-with-input-file file
(lambda (port)
(let ((header (make-bytevector %luks-header-size)))
(match (get-bytevector-n! port header 0 (bytevector-length header))
((? eof-object?)
#f)
((? number? len)
(and (= len (bytevector-length header))
(let ((magic (sub-bytevector header 0 6)) ;XXX: inefficient
(version (bytevector-u16-ref header 6 %luks-endianness)))
(and (bytevector=? magic %luks-magic)
(= version 1)
header)))))))))
(define (luks-header-uuid header)
"Return the LUKS UUID from HEADER, as a 16-byte bytevector."
;; 40 bytes are reserved for the UUID, but in practice, it contains the 36
;; bytes of its ASCII representation.
(let ((uuid (sub-bytevector header 168 36)))
(string->uuid (utf8->string uuid))))
;;;
;;; Partition lookup.
;;;
(define (disk-partitions)
"Return the list of device names corresponding to valid disk partitions."
(define (partition? major minor)
@@ -162,42 +231,53 @@ if DEVICE does not contain an ext2 file system."
(loop (cons name parts))
(loop parts))))))))))
(define (read-ext2-superblock* device)
"Like 'read-ext2-superblock', but return #f when DEVICE does not exist
instead of throwing an exception."
(catch 'system-error
(lambda ()
(read-ext2-superblock device))
(lambda args
;; When running on the hand-made /dev,
;; 'disk-partitions' could return partitions for which
;; we have no /dev node. Handle that gracefully.
(if (= ENOENT (system-error-errno args))
(begin
(format (current-error-port)
"warning: device '~a' not found~%" device)
#f)
(apply throw args)))))
(define (ENOENT-safe proc)
"Wrap the one-argument PROC such that ENOENT errors are caught and lead to a
warning and #f as the result."
(lambda (device)
(catch 'system-error
(lambda ()
(proc device))
(lambda args
;; When running on the hand-made /dev,
;; 'disk-partitions' could return partitions for which
;; we have no /dev node. Handle that gracefully.
(if (= ENOENT (system-error-errno args))
(begin
(format (current-error-port)
"warning: device '~a' not found~%" device)
#f)
(apply throw args))))))
(define (partition-predicate field =)
"Return a predicate that returns true if the FIELD of an ext2 superblock is
= to the given value."
(lambda (expected)
"Return a procedure that, when applied to a partition name such as \"sda1\",
(define (partition-predicate read field =)
"Return a predicate that returns true if the FIELD of partition header that
was READ is = to the given value."
(let ((read (ENOENT-safe read)))
(lambda (expected)
"Return a procedure that, when applied to a partition name such as \"sda1\",
returns #t if that partition's volume name is LABEL."
(lambda (part)
(let* ((device (string-append "/dev/" part))
(sblock (read-ext2-superblock* device)))
(and sblock
(let ((actual (field sblock)))
(and actual
(= actual expected))))))))
(lambda (part)
(let* ((device (string-append "/dev/" part))
(sblock (read device)))
(and sblock
(let ((actual (field sblock)))
(and actual
(= actual expected)))))))))
(define partition-label-predicate
(partition-predicate ext2-superblock-volume-name string=?))
(partition-predicate read-ext2-superblock
ext2-superblock-volume-name
string=?))
(define partition-uuid-predicate
(partition-predicate ext2-superblock-uuid bytevector=?))
(partition-predicate read-ext2-superblock
ext2-superblock-uuid
bytevector=?))
(define partition-luks-uuid-predicate
(partition-predicate read-luks-header
luks-header-uuid
bytevector=?))
(define (find-partition-by-label label)
"Return the first partition found whose volume name is LABEL, or #f if none
@@ -213,6 +293,18 @@ or #f if none was found."
(disk-partitions))
(cut string-append "/dev/" <>)))
(define (find-partition-by-luks-uuid uuid)
"Return the first LUKS partition whose unique identifier is UUID (a bytevector),
or #f if none was found."
(and=> (find (partition-luks-uuid-predicate uuid)
(disk-partitions))
(cut string-append "/dev/" <>)))
;;;
;;; UUIDs.
;;;
(define-syntax %network-byte-order
(identifier-syntax (endianness big)))
@@ -228,6 +320,41 @@ like \"6b700d61-5550-48a1-874c-a3d86998990e\"."
(format #f "~8,'0x-~4,'0x-~4,'0x-~4,'0x-~12,'0x"
time-low time-mid time-hi clock-seq node)))
(define %uuid-rx
;; The regexp of a UUID.
(make-regexp "^([[:xdigit:]]{8})-([[:xdigit:]]{4})-([[:xdigit:]]{4})-([[:xdigit:]]{4})-([[:xdigit:]]{12})$"))
(define (string->uuid str)
"Parse STR as a DCE UUID (see <https://tools.ietf.org/html/rfc4122>) and
return its contents as a 16-byte bytevector. Return #f if STR is not a valid
UUID representation."
(and=> (regexp-exec %uuid-rx str)
(lambda (match)
(letrec-syntax ((hex->number
(syntax-rules ()
((_ index)
(string->number (match:substring match index)
16))))
(put!
(syntax-rules ()
((_ bv index (number len) rest ...)
(begin
(bytevector-uint-set! bv index number
(endianness big) len)
(put! bv (+ index len) rest ...)))
((_ bv index)
bv))))
(let ((time-low (hex->number 1))
(time-mid (hex->number 2))
(time-hi (hex->number 3))
(clock-seq (hex->number 4))
(node (hex->number 5))
(uuid (make-bytevector 16)))
(put! uuid 0
(time-low 4) (time-mid 2) (time-hi 2)
(clock-seq 2) (node 6)))))))
(define* (canonicalize-device-spec spec #:optional (title 'any))
"Return the device name corresponding to SPEC. TITLE is a symbol, one of
the following:
@@ -251,9 +378,12 @@ the following:
;; The realm of canonicalization.
(if (eq? title 'any)
(if (string? spec)
(if (string-prefix? "/" spec)
'device
'label)
;; The "--root=SPEC" kernel command-line option always provides a
;; string, but the string can represent a device, a UUID, or a
;; label. So check for all three.
(cond ((string-prefix? "/" spec) 'device)
((string->uuid spec) 'uuid)
(else 'label))
'uuid)
title))
@@ -279,7 +409,11 @@ the following:
;; Resolve the label.
(resolve find-partition-by-label spec identity))
((uuid)
(resolve find-partition-by-uuid spec uuid->string))
(resolve find-partition-by-uuid
(if (string? spec)
(string->uuid spec)
spec)
uuid->string))
(else
(error "unknown device title" title))))
@@ -301,9 +435,10 @@ the following:
(sleep 3)
(reboot))
(code
(format (current-error-port) "'~a' exited with code ~a on ~a; spawning REPL~%"
(format (current-error-port) "'~a' exited with code ~a on ~a; \
spawning Bourne-like REPL~%"
fsck code device)
(start-repl)))))
(start-repl %bournish-language)))))
(define (mount-flags->bit-mask flags)
"Return the number suitable for the 'flags' argument of 'mount' that
@@ -323,6 +458,10 @@ corresponds to the symbols listed in FLAGS."
(()
0))))
(define (regular-file? file-name)
"Return #t if FILE-NAME is a regular file."
(eq? (stat:type (stat file-name)) 'regular))
(define* (mount-file-system spec #:key (root "/root"))
"Mount the file system described by SPEC under ROOT. SPEC must have the
form:
@@ -339,7 +478,16 @@ run a file system check."
(flags (mount-flags->bit-mask flags)))
(when check?
(check-file-system source type))
(mkdir-p mount-point)
;; Create the mount point. Most of the time this is a directory, but
;; in the case of a bind mount, a regular file may be needed.
(if (and (= MS_BIND (logand flags MS_BIND))
(regular-file? source))
(unless (file-exists? mount-point)
(mkdir-p (dirname mount-point))
(call-with-output-file mount-point (const #t)))
(mkdir-p mount-point))
(mount source mount-point type flags options)
;; For read-only bind mounts, an extra remount is needed, as per
+2 -2
View File
@@ -103,7 +103,7 @@ STORE."
(directory ,store 0 30000 #o1775)
(directory "/etc")
(directory "/var/log") ; for dmd
(directory "/var/log") ; for shepherd
(directory "/var/guix/gcroots")
(directory "/var/empty") ; for no-login accounts
(directory "/var/db") ; for dhclient, etc.
@@ -159,7 +159,7 @@ as created and modified at the Epoch."
;; read-only store.
(unless (eq? (stat:type s) 'symlink)
(utime file 0 0 0 0))))
(find-files directory "")))
(find-files directory #:directories? #t)))
(define* (register-closure store closure
#:key (deduplicate? #t))
+14 -17
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -48,7 +48,7 @@
;;; Code:
(define* (mount-essential-file-systems #:key (root "/"))
"Mount /proc and /sys under ROOT."
"Mount /dev, /proc, and /sys under ROOT."
(define (scope dir)
(string-append root
(if (string-suffix? "/" root)
@@ -60,6 +60,10 @@
(mkdir (scope "proc")))
(mount "none" (scope "proc") "proc")
(unless (file-exists? (scope "dev"))
(mkdir (scope "dev")))
(mount "none" (scope "dev") "devtmpfs")
(unless (file-exists? (scope "sys"))
(mkdir (scope "sys")))
(mount "none" (scope "sys") "sysfs"))
@@ -71,7 +75,7 @@
(unless (file-exists? target)
(mkdir target))
(mount dir target "" MS_MOVE)))
'("/proc" "/sys")))
'("/dev" "/proc" "/sys")))
(define (linux-command-line)
"Return the Linux kernel command line as a list of strings."
@@ -100,7 +104,7 @@ with the given MAJOR number, starting with MINOR."
(define* (make-essential-device-nodes #:key (root "/"))
"Make essential device nodes under ROOT/dev."
;; The hand-made udev!
;; The hand-made devtmpfs/udev!
(define (scope dir)
(string-append root
@@ -238,10 +242,10 @@ the last argument of `mknod'."
is true, mount ROOT read-only and make it a union with a writable tmpfs using
UNIONFS."
(define (mark-as-not-killable pid)
;; Tell the 'user-processes' dmd service that PID must be kept alive when
;; shutting down.
(mkdir-p "/root/etc/dmd")
(let ((port (open-file "/root/etc/dmd/do-not-kill" "a")))
;; Tell the 'user-processes' shepherd service that PID must be kept alive
;; when shutting down.
(mkdir-p "/root/etc/shepherd")
(let ((port (open-file "/root/etc/shepherd/do-not-kill" "a")))
(chmod port #o600)
(write pid port)
(newline port)
@@ -255,7 +259,8 @@ UNIONFS."
(mount "none" "/rw-root" "tmpfs")
;; We want read-write /dev nodes.
(make-essential-device-nodes #:root "/rw-root")
(mkdir-p "/rw-root/dev")
(mount "none" "/rw-root/dev" "devtmpfs")
;; Make /root a union of the tmpfs and the actual root. Use
;; 'max_files' to set a high RLIMIT_NOFILE for the unionfs process
@@ -376,7 +381,6 @@ to it are lost."
(start-repl))
(display "loading kernel modules...\n")
(current-module-debugging-port (current-output-port))
(for-each (cut load-linux-module* <>
#:lookup-module lookup-module)
(map lookup-module linux-modules))
@@ -385,9 +389,6 @@ to it are lost."
(unless (configure-qemu-networking)
(display "network interface is DOWN\n")))
;; Make /dev nodes.
(make-essential-device-nodes)
;; Prepare the real root file system under /root.
(unless (file-exists? "/root")
(mkdir "/root"))
@@ -405,10 +406,6 @@ to it are lost."
#:volatile-root? volatile-root?)
(mount "none" "/root" "tmpfs"))
(unless (file-exists? "/root/dev")
(mkdir "/root/dev")
(make-essential-device-nodes #:root "/root"))
;; Mount the specified file systems.
(for-each mount-file-system
(remove root-mount-point? mounts))
+94 -39
View File
@@ -19,16 +19,36 @@
(define-module (gnu build linux-container)
#:use-module (ice-9 format)
#:use-module (ice-9 match)
#:use-module (ice-9 rdelim)
#:use-module (srfi srfi-98)
#:use-module (guix utils)
#:use-module (guix build utils)
#:use-module (guix build syscalls)
#:use-module ((gnu build file-systems) #:select (mount-file-system))
#:export (%namespaces
#:export (user-namespace-supported?
unprivileged-user-namespace-supported?
setgroups-supported?
%namespaces
run-container
call-with-container
container-excursion))
(define (user-namespace-supported?)
"Return #t if user namespaces are supported on this system."
(file-exists? "/proc/self/ns/user"))
(define (unprivileged-user-namespace-supported?)
"Return #t if user namespaces can be created by unprivileged users."
(let ((userns-file "/proc/sys/kernel/unprivileged_userns_clone"))
(if (file-exists? userns-file)
(eqv? #\1 (call-with-input-file userns-file read-char))
#t)))
(define (setgroups-supported?)
"Return #t if the setgroups proc file, introduced in Linux-libre 3.19,
exists."
(file-exists? "/proc/self/setgroups"))
(define %namespaces
'(mnt pid ipc uts user net))
@@ -36,7 +56,9 @@
"Apply THUNK, but exit with a status code of 1 if it fails."
(dynamic-wind
(const #t)
thunk
(lambda ()
(thunk)
(primitive-exit 0))
(lambda ()
(primitive-exit 1))))
@@ -55,6 +77,9 @@ to ROOT, then make ROOT the new root directory for the process."
(define (scope dir)
(string-append root dir))
(define (touch file-name)
(call-with-output-file file-name (const #t)))
(define (bind-mount src dest)
(mount src dest "none" MS_BIND))
@@ -89,8 +114,7 @@ to ROOT, then make ROOT the new root directory for the process."
(for-each (lambda (device)
(when (file-exists? device)
;; Create the mount point file.
(call-with-output-file (scope device)
(const #t))
(touch (scope device))
(bind-mount device (scope device))))
'("/dev/null"
"/dev/zero"
@@ -101,6 +125,15 @@ to ROOT, then make ROOT the new root directory for the process."
"/dev/ptmx"
"/dev/fuse"))
;; Setup the container's /dev/console by bind mounting the pseudo-terminal
;; associated with standard input.
(let ((in (current-input-port))
(console (scope "/dev/console")))
(when (isatty? in)
(touch console)
(chmod console #o600)
(bind-mount (ttyname in) console)))
;; Setup standard input/output/error.
(symlink "/proc/self/fd" (scope "/dev/fd"))
(symlink "/proc/self/fd/0" (scope "/dev/stdin"))
@@ -120,23 +153,17 @@ to ROOT, then make ROOT the new root directory for the process."
(umount "real-root" MNT_DETACH)
(rmdir "real-root")))
(define (initialize-user-namespace pid)
"Configure the user namespace for PID."
(define (initialize-user-namespace pid host-uids)
"Configure the user namespace for PID. HOST-UIDS specifies the number of
host user identifiers to map into the user namespace."
(define proc-dir
(string-append "/proc/" (number->string pid)))
(define (scope file)
(string-append proc-dir file))
;; Only root can map more than a single uid/gid. A range of 65536 uid/gids
;; is used to cover 16 bits worth of users and groups, which is sufficient
;; for most cases.
;;
;; See also: http://www.freedesktop.org/software/systemd/man/systemd-nspawn.html#--private-users=
(let* ((uid (getuid))
(gid (getgid))
(uid-range (if (zero? uid) 65536 1))
(gid-range (if (zero? gid) 65536 1)))
(let ((uid (getuid))
(gid (getgid)))
;; Only root can write to the gid map without first disabling the
;; setgroups syscall.
@@ -149,14 +176,15 @@ to ROOT, then make ROOT the new root directory for the process."
;; within the container.
(call-with-output-file (scope "/uid_map")
(lambda (port)
(format port "0 ~d ~d" uid uid-range)))
(format port "0 ~d ~d" uid host-uids)))
(call-with-output-file (scope "/gid_map")
(lambda (port)
(format port "0 ~d ~d" gid gid-range)))))
(format port "0 ~d ~d" gid host-uids)))))
(define (namespaces->bit-mask namespaces)
"Return the number suitable for the 'flags' argument of 'clone' that
corresponds to the symbols in NAMESPACES."
;; Use the same flags as fork(3) in addition to the namespace flags.
(apply logior SIGCHLD
(map (match-lambda
('mnt CLONE_NEWNS)
@@ -167,55 +195,82 @@ corresponds to the symbols in NAMESPACES."
('net CLONE_NEWNET))
namespaces)))
(define (run-container root mounts namespaces thunk)
(define (run-container root mounts namespaces host-uids thunk)
"Run THUNK in a new container process and return its PID. ROOT specifies
the root directory for the container. MOUNTS is a list of file system specs
that specify the mapping of host file systems into the container. NAMESPACES
is a list of symbols that correspond to the possible Linux namespaces: mnt,
ipc, uts, user, and net."
ipc, uts, user, and net. HOST-UIDS specifies the number of
host user identifiers to map into the user namespace."
;; The parent process must initialize the user namespace for the child
;; before it can boot. To negotiate this, a pipe is used such that the
;; child process blocks until the parent writes to it.
(match (pipe)
((in . out)
(match (socketpair PF_UNIX SOCK_STREAM 0)
((child . parent)
(let ((flags (namespaces->bit-mask namespaces)))
(match (clone flags)
(0
(call-with-clean-exit
(lambda ()
(close out)
(close-port parent)
;; Wait for parent to set things up.
(read in)
(close in)
(purify-environment)
(when (memq 'mnt namespaces)
(mount-file-systems root mounts
#:mount-/proc? (memq 'pid namespaces)
#:mount-/sys? (memq 'net namespaces)))
;; TODO: Manage capabilities.
(thunk))))
(match (read child)
('ready
(purify-environment)
(when (memq 'mnt namespaces)
(catch #t
(lambda ()
(mount-file-systems root mounts
#:mount-/proc? (memq 'pid namespaces)
#:mount-/sys? (memq 'net
namespaces)))
(lambda args
;; Forward the exception to the parent process.
(write args child)
(primitive-exit 3))))
;; TODO: Manage capabilities.
(write 'ready child)
(close-port child)
(thunk))
(_ ;parent died or something
(primitive-exit 2))))))
(pid
(close-port child)
(when (memq 'user namespaces)
(initialize-user-namespace pid))
(initialize-user-namespace pid host-uids))
;; TODO: Initialize cgroups.
(close in)
(write 'ready out)
(close out)
pid))))))
(write 'ready parent)
(newline parent)
(define* (call-with-container mounts thunk #:key (namespaces %namespaces))
;; Check whether the child process' setup phase succeeded.
(let ((message (read parent)))
(close-port parent)
(match message
('ready ;success
pid)
(((? symbol? key) args ...) ;exception
(apply throw key args))
(_ ;unexpected termination
#f)))))))))
(define* (call-with-container mounts thunk #:key (namespaces %namespaces)
(host-uids 1))
"Run THUNK in a new container process and return its exit status.
MOUNTS is a list of file system specs that specify the mapping of host file
systems into the container. NAMESPACES is a list of symbols corresponding to
the identifiers for Linux namespaces: mnt, ipc, uts, pid, user, and net. By
default, all namespaces are used.
default, all namespaces are used. HOST-UIDS is the number of host user
identifiers to map into the container's user namespace, if there is one. By
default, only a single uid/gid, that of the current user, is mapped into the
container. The host user that creates the container is the root user (uid/gid
0) within the container. Only root can map more than a single uid/gid.
Note that if THUNK needs to load any additional Guile modules, the relevant
module files must be present in one of the mappings in MOUNTS and the Guile
load path must be adjusted as needed."
(call-with-temporary-directory
(lambda (root)
(let ((pid (run-container root mounts namespaces thunk)))
(let ((pid (run-container root mounts namespaces host-uids thunk)))
;; Catch SIGINT and kill the container process.
(sigaction SIGINT
(lambda (signum)
+3 -1
View File
@@ -72,7 +72,9 @@ COMPRESS? is true, compress it using GZIP. On success, return OUTPUT."
#:file->header cpio:file->cpio-header*)))
(or (not compress?)
(and (zero? (system* gzip "--best" output))
;; Use '--no-name' so that gzip records neither a file name nor a time
;; stamp in its output.
(and (zero? (system* gzip "--best" "--no-name" output))
(rename-file (string-append output ".gz")
output))
output))
+68 -20
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2016 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -96,6 +96,21 @@ contains module names, not actual file names."
name
(dot-ko name)))
(define (normalize-module-name module)
"Return the \"canonical\" name for MODULE, replacing hyphens with
underscores."
;; See 'modname_normalize' in libkmod.
(string-map (lambda (chr)
(case chr
((#\-) #\_)
(else chr)))
module))
(define (file-name->module-name file)
"Return the module name corresponding to FILE, stripping the trailing '.ko'
and normalizing it."
(normalize-module-name (basename file ".ko")))
(define* (recursive-module-dependencies files
#:key (lookup-module dot-ko))
"Return the topologically-sorted list of file names of the modules depended
@@ -130,6 +145,24 @@ LOOKUP-MODULE to the module name."
(((modules . _) ...)
modules))))
(define (module-black-list)
"Return the black list of modules that must not be loaded. This black list
is specified using 'modprobe.blacklist=MODULE1,MODULE2,...' on the kernel
command line; it is honored by libkmod for users that pass
'KMOD_PROBE_APPLY_BLACKLIST', which includes 'modprobe --use-blacklist' and
udev."
(define parameter
"modprobe.blacklist=")
(let ((command (call-with-input-file "/proc/cmdline"
get-string-all)))
(append-map (lambda (arg)
(if (string-prefix? parameter arg)
(string-tokenize (string-drop arg (string-length parameter))
%not-comma)
'()))
(string-tokenize command))))
(define (module-loaded? module)
"Return #t if MODULE is already loaded. MODULE must be a Linux module name,
not a file name."
@@ -138,29 +171,44 @@ not a file name."
(define* (load-linux-module* file
#:key
(recursive? #t)
(lookup-module dot-ko))
"Load Linux module from FILE, the name of a `.ko' file. When RECURSIVE? is
true, load its dependencies first (à la 'modprobe'.) The actual files
containing modules depended on are obtained by calling LOOKUP-MODULE with the
module name."
(lookup-module dot-ko)
(black-list (module-black-list)))
"Load Linux module from FILE, the name of a '.ko' file; return true on
success, false otherwise. When RECURSIVE? is true, load its dependencies
first (à la 'modprobe'.) The actual files containing modules depended on are
obtained by calling LOOKUP-MODULE with the module name. Modules whose name
appears in BLACK-LIST are not loaded."
(define (slurp module)
;; TODO: Use 'mmap' to reduce memory usage.
;; TODO: Use 'finit_module' to reduce memory usage.
(call-with-input-file file get-bytevector-all))
(when recursive?
(for-each (cut load-linux-module* <> #:lookup-module lookup-module)
(map lookup-module (module-dependencies file))))
(define (black-listed? module)
(let ((result (member module black-list)))
(when result
(format (current-module-debugging-port)
"not loading module '~a' because it's black-listed~%"
module))
result))
(format (current-module-debugging-port)
"loading Linux module from '~a'...~%" file)
(define (load-dependencies file)
(let ((dependencies (module-dependencies file)))
(every (cut load-linux-module* <> #:lookup-module lookup-module)
(map lookup-module dependencies))))
(catch 'system-error
(lambda ()
(load-linux-module (slurp file)))
(lambda args
;; If this module was already loaded and we're in modprobe style, ignore
;; the error.
(unless (and recursive? (= EEXIST (system-error-errno args)))
(apply throw args)))))
(and (not (black-listed? (file-name->module-name file)))
(or (not recursive?)
(load-dependencies file))
(begin
(format (current-module-debugging-port)
"loading Linux module from '~a'...~%" file)
(catch 'system-error
(lambda ()
(load-linux-module (slurp file)))
(lambda args
;; If this module was already loaded and we're in modprobe style, ignore
;; the error.
(or (and recursive? (= EEXIST (system-error-errno args)))
(apply throw args)))))))
;;; linux-modules.scm ends here
+206
View File
@@ -0,0 +1,206 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu build marionette)
#:use-module (srfi srfi-9)
#:use-module (srfi srfi-26)
#:use-module (rnrs io ports)
#:use-module (ice-9 match)
#:export (marionette?
make-marionette
marionette-eval
marionette-control
%qwerty-us-keystrokes
marionette-type))
;;; Commentary:
;;;
;;; Instrumentation tools for QEMU virtual machines (VMs). A "marionette" is
;;; essentially a VM (a QEMU instance) with its monitor connected to a
;;; Unix-domain socket, and with a REPL inside the guest listening on a
;;; virtual console, which is itself connected to the host via a Unix-domain
;;; socket--these are the marionette's strings, connecting it to the almighty
;;; puppeteer.
;;;
;;; Code:
(define-record-type <marionette>
(marionette command pid monitor repl)
marionette?
(command marionette-command) ;list of strings
(pid marionette-pid) ;integer
(monitor marionette-monitor) ;port
(repl marionette-repl)) ;port
(define* (wait-for-monitor-prompt port #:key (quiet? #t))
"Read from PORT until we have seen all of QEMU's monitor prompt. When
QUIET? is false, the monitor's output is written to the current output port."
(define full-prompt
(string->list "(qemu) "))
(let loop ((prompt full-prompt)
(matches '())
(prefix '()))
(match prompt
(()
;; It's useful to set QUIET? so we don't display the echo of our own
;; commands.
(unless quiet?
(for-each (lambda (line)
(format #t "qemu monitor: ~a~%" line))
(string-tokenize (list->string (reverse prefix))
(char-set-complement (char-set #\newline))))))
((chr rest ...)
(let ((read (read-char port)))
(cond ((eqv? read chr)
(loop rest (cons read matches) prefix))
((eof-object? read)
(error "EOF while waiting for QEMU monitor prompt"
(list->string (reverse prefix))))
(else
(loop full-prompt
'()
(cons read (append matches prefix))))))))))
(define* (make-marionette command
#:key (socket-directory "/tmp") (timeout 20))
"Return a QEMU marionette--i.e., a virtual machine with open connections to the
QEMU monitor and to the guest's backdoor REPL."
(define (file->sockaddr file)
(make-socket-address AF_UNIX
(string-append socket-directory "/" file)))
(define extra-options
(list "-nographic"
"-monitor" (string-append "unix:" socket-directory "/monitor")
"-chardev" (string-append "socket,id=repl,path=" socket-directory
"/repl")
"-device" "virtio-serial"
"-device" "virtconsole,chardev=repl"))
(let ((monitor (socket AF_UNIX SOCK_STREAM 0))
(repl (socket AF_UNIX SOCK_STREAM 0)))
(bind monitor (file->sockaddr "monitor"))
(listen monitor 1)
(bind repl (file->sockaddr "repl"))
(listen repl 1)
(match (primitive-fork)
(0
(catch #t
(lambda ()
(close monitor)
(close repl)
(match command
((program . args)
(apply execl program program
(append args extra-options)))))
(lambda (key . args)
(print-exception (current-error-port)
(stack-ref (make-stack #t) 1)
key args)
(primitive-exit 1))))
(pid
(format #t "QEMU runs as PID ~a~%" pid)
(sigaction SIGALRM
(lambda (signum)
(display "time is up!\n") ;FIXME: break
#t))
(alarm timeout)
(match (accept monitor)
((monitor-conn . _)
(display "connected to QEMU's monitor\n")
(close-port monitor)
(wait-for-monitor-prompt monitor-conn)
(display "read QEMU monitor prompt\n")
(match (accept repl)
((repl-conn . addr)
(display "connected to guest REPL\n")
(close-port repl)
(match (read repl-conn)
('ready
(alarm 0)
(sigaction SIGALRM SIG_DFL)
(display "marionette is ready\n")
(marionette (append command extra-options) pid
monitor-conn repl-conn)))))))))))
(define (marionette-eval exp marionette)
"Evaluate EXP in MARIONETTE's backdoor REPL. Return the result."
(match marionette
(($ <marionette> command pid monitor repl)
(write exp repl)
(newline repl)
(read repl))))
(define (marionette-control command marionette)
"Run COMMAND in the QEMU monitor of MARIONETTE. COMMAND is a string such as
\"sendkey ctrl-alt-f1\" or \"screendump foo.ppm\" (info \"(qemu-doc)
pcsys_monitor\")."
(match marionette
(($ <marionette> _ _ monitor)
(display command monitor)
(newline monitor)
(wait-for-monitor-prompt monitor))))
(define %qwerty-us-keystrokes
;; Maps "special" characters to their keystrokes.
'((#\newline . "ret")
(#\space . "spc")
(#\- . "minus")
(#\+ . "shift-equal")
(#\* . "shift-8")
(#\= . "equal")
(#\? . "shift-slash")
(#\[ . "bracket_left")
(#\] . "bracket_right")
(#\( . "shift-9")
(#\) . "shift-0")
(#\/ . "slash")
(#\< . "less")
(#\> . "shift-less")
(#\. . "dot")
(#\, . "comma")
(#\; . "semicolon")
(#\bs . "backspace")
(#\tab . "tab")))
(define* (string->keystroke-commands str
#:optional
(keystrokes
%qwerty-us-keystrokes))
"Return a list of QEMU monitor commands to send the keystrokes corresponding
to STR. KEYSTROKES is an alist specifying a mapping from characters to
keystrokes."
(string-fold-right (lambda (chr result)
(cons (string-append "sendkey "
(or (assoc-ref keystrokes chr)
(string chr)))
result))
'()
str))
(define* (marionette-type str marionette
#:key (keystrokes %qwerty-us-keystrokes))
"Type STR on MARIONETTE's keyboard, using the KEYSTROKES alist to map characters
to actual keystrokes."
(for-each (cut marionette-control <> marionette)
(string->keystroke-commands str keystrokes)))
;;; marionette.scm ends here
+180 -98
View File
@@ -1,5 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21,13 +23,26 @@
#:use-module (guix build store-copy)
#:use-module (gnu build linux-boot)
#:use-module (gnu build install)
#:use-module (guix records)
#:use-module (ice-9 match)
#:use-module (ice-9 regex)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-9)
#:use-module (srfi srfi-26)
#:export (qemu-command
load-in-linux-vm
format-partition
initialize-root-partition
partition
partition?
partition-device
partition-size
partition-file-system
partition-label
partition-bootable?
partition-initializer
root-partition-initializer
initialize-partition-table
initialize-hard-disk))
@@ -40,8 +55,8 @@
(define* (qemu-command #:optional (system %host-type))
"Return the default name of the QEMU command for SYSTEM."
(let ((cpu (substring %host-type 0
(string-index %host-type #\-))))
(let ((cpu (substring system 0
(string-index system #\-))))
(string-append "qemu-system-"
(if (string-match "^i[3456]86$" cpu)
"i386"
@@ -84,7 +99,7 @@ the #:references-graphs parameter of 'derivation'."
(_ #f))
(unless (zero?
(apply system* qemu "-enable-kvm" "-nographic" "-no-reboot"
(apply system* qemu "-nographic" "-no-reboot"
"-m" (number->string memory-size)
"-net" "nic,model=virtio"
"-virtfs"
@@ -98,10 +113,17 @@ the #:references-graphs parameter of 'derivation'."
"-initrd" initrd
"-append" (string-append "console=ttyS0 --load="
builder)
(if make-disk-image?
`("-drive" ,(string-append "file=" image-file
",if=virtio"))
'())))
(append
(if make-disk-image?
`("-drive" ,(string-append "file=" image-file
",if=virtio"))
'())
;; Only enable kvm if we see /dev/kvm exists.
;; This allows users without hardware virtualization to still
;; use these commands.
(if (file-exists? "/dev/kvm")
'("-enable-kvm")
'()))))
(error "qemu failed" qemu))
(if make-disk-image?
@@ -110,24 +132,84 @@ the #:references-graphs parameter of 'derivation'."
(mkdir output)
(copy-recursively "xchg" output))))
(define* (initialize-partition-table device partition-size
;;;
;;; Partitions.
;;;
(define-record-type* <partition> partition make-partition
partition?
(device partition-device (default #f))
(size partition-size)
(file-system partition-file-system (default "ext4"))
(label partition-label (default #f))
(bootable? partition-bootable? (default #f))
(initializer partition-initializer (default (const #t))))
(define (fold2 proc seed1 seed2 lst) ;TODO: factorize
"Like `fold', but with a single list and two seeds."
(let loop ((result1 seed1)
(result2 seed2)
(lst lst))
(if (null? lst)
(values result1 result2)
(call-with-values
(lambda () (proc (car lst) result1 result2))
(lambda (result1 result2)
(loop result1 result2 (cdr lst)))))))
(define* (initialize-partition-table device partitions
#:key
bootable?
(label-type "msdos")
(offset (expt 2 20)))
"Create on DEVICE a partition table of type LABEL-TYPE, with a single
partition of PARTITION-SIZE bytes starting at OFFSET bytes. When BOOTABLE? is
true, set the bootable flag on the partition. Return #t on success."
(format #t "creating partition table with a ~a B partition...\n"
partition-size)
(unless (zero? (apply system* "parted" device "mklabel" label-type
"mkpart" "primary" "ext2"
(format #f "~aB" offset)
(format #f "~aB" partition-size)
(if bootable?
'("set" "1" "boot" "on")
'())))
(error "failed to create partition table")))
"Create on DEVICE a partition table of type LABEL-TYPE, containing the given
PARTITIONS (a list of <partition> objects), starting at OFFSET bytes. On
success, return PARTITIONS with their 'device' field changed to reflect their
actual /dev name based on DEVICE."
(define (partition-options part offset index)
(cons* "mkpart" "primary" "ext2"
(format #f "~aB" offset)
(format #f "~aB" (+ offset (partition-size part)))
(if (partition-bootable? part)
`("set" ,(number->string index) "boot" "on")
'())))
(define (options partitions offset)
(let loop ((partitions partitions)
(offset offset)
(index 1)
(result '()))
(match partitions
(()
(concatenate (reverse result)))
((head tail ...)
(loop tail
;; Leave one sector (512B) between partitions to placate
;; Parted.
(+ offset 512 (partition-size head))
(+ 1 index)
(cons (partition-options head offset index)
result))))))
(format #t "creating partition table with ~a partitions...\n"
(length partitions))
(unless (zero? (apply system* "parted" "--script"
device "mklabel" label-type
(options partitions offset)))
(error "failed to create partition table"))
;; Set the 'device' field of each partition.
(reverse
(fold2 (lambda (part result index)
(values (cons (partition
(inherit part)
(device (string-append device
(number->string index))))
result)
(+ 1 index)))
'()
1
partitions)))
(define MS_BIND 4096) ; <sys/mounts.h> again!
@@ -143,40 +225,67 @@ volume name."
'())))
(error "failed to create partition")))
(define* (initialize-root-partition target-directory
#:key copy-closures? register-closures?
closures system-directory)
"Initialize the root partition mounted at TARGET-DIRECTORY."
(define target-store
(string-append target-directory (%store-directory)))
(define (initialize-partition partition)
"Format PARTITION, a <partition> object with a non-#f 'device' field, mount
it, run its initializer, and unmount it."
(let ((target "/fs"))
(format-partition (partition-device partition)
(partition-file-system partition)
#:label (partition-label partition))
(mkdir-p target)
(mount (partition-device partition) target
(partition-file-system partition))
(when copy-closures?
;; Populate the store.
(populate-store (map (cut string-append "/xchg/" <>) closures)
target-directory))
((partition-initializer partition) target)
;; Populate /dev.
(make-essential-device-nodes #:root target-directory)
(umount target)
partition))
;; Optionally, register the inputs in the image's store.
(when register-closures?
(unless copy-closures?
;; XXX: 'guix-register' wants to palpate the things it registers, so
;; bind-mount the store on the target.
(mkdir-p target-store)
(mount (%store-directory) target-store "" MS_BIND))
(define* (root-partition-initializer #:key (closures '())
copy-closures?
(register-closures? #t)
system-directory)
"Return a procedure to initialize a root partition.
(display "registering closures...\n")
(for-each (lambda (closure)
(register-closure target-directory
(string-append "/xchg/" closure)))
closures)
(unless copy-closures?
(system* "umount" target-store)))
If REGISTER-CLOSURES? is true, register all of CLOSURES is the partition's
store. If COPY-CLOSURES? is true, copy all of CLOSURES to the partition.
SYSTEM-DIRECTORY is the name of the directory of the 'system' derivation."
(lambda (target)
(define target-store
(string-append target (%store-directory)))
;; Add the non-store directories and files.
(display "populating...\n")
(populate-root-file-system system-directory target-directory))
(when copy-closures?
;; Populate the store.
(populate-store (map (cut string-append "/xchg/" <>) closures)
target))
;; Populate /dev.
(make-essential-device-nodes #:root target)
;; Optionally, register the inputs in the image's store.
(when register-closures?
(unless copy-closures?
;; XXX: 'guix-register' wants to palpate the things it registers, so
;; bind-mount the store on the target.
(mkdir-p target-store)
(mount (%store-directory) target-store "" MS_BIND))
(display "registering closures...\n")
(for-each (lambda (closure)
(register-closure target
(string-append "/xchg/" closure)))
closures)
(unless copy-closures?
(umount target-store)))
;; Add the non-store directories and files.
(display "populating...\n")
(populate-root-file-system system-directory target)
;; 'guix-register' resets timestamps and everything, so no need to do it
;; once more in that case.
(unless register-closures?
(reset-timestamps target))))
(define (register-grub.cfg-root target grub.cfg)
"On file system TARGET, register GRUB.CFG as a GC root."
@@ -186,56 +295,29 @@ volume name."
(define* (initialize-hard-disk device
#:key
system-directory
grub.cfg
disk-image-size
(file-system-type "ext4")
file-system-label
(closures '())
copy-closures?
(bootable? #t)
(register-closures? #t))
"Initialize DEVICE, a disk of DISK-IMAGE-SIZE bytes, with a FILE-SYSTEM-TYPE
partition with (optionally) FILE-SYSTEM-LABEL as its volume name, and with
GRUB installed. When BOOTABLE? is true, set the bootable flag on that
partition.
(partitions '()))
"Initialize DEVICE as a disk containing all the <partition> objects listed
in PARTITIONS, and using GRUB.CFG as its bootloader configuration file.
If REGISTER-CLOSURES? is true, register all of CLOSURES is the partition's
store. If COPY-CLOSURES? is true, copy all of CLOSURES to the partition.
SYSTEM-DIRECTORY is the name of the directory of the 'system' derivation."
(define target-directory
"/fs")
Each partition is initialized by calling its 'initializer' procedure,
passing it a directory name where it is mounted."
(let* ((partitions (initialize-partition-table device partitions))
(root (find partition-bootable? partitions))
(target "/fs"))
(unless root
(error "no bootable partition specified" partitions))
(define partition
(string-append device "1"))
(for-each initialize-partition partitions)
(initialize-partition-table device
(- disk-image-size (* 5 (expt 2 20)))
#:bootable? bootable?)
(display "mounting root partition...\n")
(mkdir-p target)
(mount (partition-device root) target (partition-file-system root))
(install-grub grub.cfg device target)
(format-partition partition file-system-type
#:label file-system-label)
;; Register GRUB.CFG as a GC root.
(register-grub.cfg-root target grub.cfg)
(display "mounting partition...\n")
(mkdir target-directory)
(mount partition target-directory file-system-type)
(initialize-root-partition target-directory
#:system-directory system-directory
#:copy-closures? copy-closures?
#:register-closures? register-closures?
#:closures closures)
(install-grub grub.cfg device target-directory)
;; Register GRUB.CFG as a GC root.
(register-grub.cfg-root target-directory grub.cfg)
;; 'guix-register' resets timestamps and everything, so no need to do it
;; once more in that case.
(unless register-closures?
(reset-timestamps target-directory))
(zero? (system* "umount" target-directory)))
(umount target)))
;;; vm.scm ends here
+935
View File
@@ -0,0 +1,935 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
# Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
# Copyright © 2013, 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
# Copyright © 2016 Chris Marusich <cmmarusich@gmail.com>
# Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
#
# This file is part of GNU Guix.
#
# GNU Guix is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# GNU Guix is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
# Definitions for the GNU System: package modules, patches, bootstrap
# binaries.
GNU_SYSTEM_MODULES = \
gnu.scm \
%D%/artwork.scm \
%D%/packages.scm \
%D%/packages/abduco.scm \
%D%/packages/abiword.scm \
%D%/packages/acct.scm \
%D%/packages/acl.scm \
%D%/packages/admin.scm \
%D%/packages/adns.scm \
%D%/packages/algebra.scm \
%D%/packages/aidc.scm \
%D%/packages/animation.scm \
%D%/packages/anthy.scm \
%D%/packages/apl.scm \
%D%/packages/apr.scm \
%D%/packages/aspell.scm \
%D%/packages/assembly.scm \
%D%/packages/attr.scm \
%D%/packages/audacity.scm \
%D%/packages/audio.scm \
%D%/packages/augeas.scm \
%D%/packages/autogen.scm \
%D%/packages/autotools.scm \
%D%/packages/avahi.scm \
%D%/packages/avr.scm \
%D%/packages/backup.scm \
%D%/packages/base.scm \
%D%/packages/bash.scm \
%D%/packages/bdw-gc.scm \
%D%/packages/bioinformatics.scm \
%D%/packages/bittorrent.scm \
%D%/packages/bison.scm \
%D%/packages/boost.scm \
%D%/packages/bootstrap.scm \
%D%/packages/busybox.scm \
%D%/packages/c.scm \
%D%/packages/calcurse.scm \
%D%/packages/ccache.scm \
%D%/packages/cdrom.scm \
%D%/packages/certs.scm \
%D%/packages/check.scm \
%D%/packages/ci.scm \
%D%/packages/cmake.scm \
%D%/packages/code.scm \
%D%/packages/commencement.scm \
%D%/packages/compression.scm \
%D%/packages/conkeror.scm \
%D%/packages/conky.scm \
%D%/packages/connman.scm \
%D%/packages/cook.scm \
%D%/packages/cpio.scm \
%D%/packages/cppi.scm \
%D%/packages/cross-base.scm \
%D%/packages/crypto.scm \
%D%/packages/cryptsetup.scm \
%D%/packages/cups.scm \
%D%/packages/curl.scm \
%D%/packages/cyrus-sasl.scm \
%D%/packages/databases.scm \
%D%/packages/datamash.scm \
%D%/packages/datastructures.scm \
%D%/packages/dav.scm \
%D%/packages/dc.scm \
%D%/packages/debug.scm \
%D%/packages/dejagnu.scm \
%D%/packages/dico.scm \
%D%/packages/dictionaries.scm \
%D%/packages/dillo.scm \
%D%/packages/disk.scm \
%D%/packages/djvu.scm \
%D%/packages/dns.scm \
%D%/packages/docbook.scm \
%D%/packages/docker.scm \
%D%/packages/documentation.scm \
%D%/packages/dunst.scm \
%D%/packages/dvtm.scm \
%D%/packages/ebook.scm \
%D%/packages/ed.scm \
%D%/packages/education.scm \
%D%/packages/elf.scm \
%D%/packages/elixir.scm \
%D%/packages/emacs.scm \
%D%/packages/enchant.scm \
%D%/packages/engineering.scm \
%D%/packages/enlightenment.scm \
%D%/packages/entr.scm \
%D%/packages/erlang.scm \
%D%/packages/fcitx.scm \
%D%/packages/feh.scm \
%D%/packages/figlet.scm \
%D%/packages/file.scm \
%D%/packages/finance.scm \
%D%/packages/firmware.scm \
%D%/packages/fish.scm \
%D%/packages/flashing-tools.scm \
%D%/packages/flex.scm \
%D%/packages/fltk.scm \
%D%/packages/fonts.scm \
%D%/packages/fontutils.scm \
%D%/packages/freedesktop.scm \
%D%/packages/freeipmi.scm \
%D%/packages/ftp.scm \
%D%/packages/fribidi.scm \
%D%/packages/fvwm.scm \
%D%/packages/game-development.scm \
%D%/packages/games.scm \
%D%/packages/gawk.scm \
%D%/packages/gcal.scm \
%D%/packages/gcc.scm \
%D%/packages/gd.scm \
%D%/packages/gdb.scm \
%D%/packages/geo.scm \
%D%/packages/geeqie.scm \
%D%/packages/gettext.scm \
%D%/packages/ghostscript.scm \
%D%/packages/gimp.scm \
%D%/packages/gkrellm.scm \
%D%/packages/gl.scm \
%D%/packages/glib.scm \
%D%/packages/gnome.scm \
%D%/packages/gnu-doc.scm \
%D%/packages/gnucash.scm \
%D%/packages/gnunet.scm \
%D%/packages/gnupg.scm \
%D%/packages/gnustep.scm \
%D%/packages/gnuzilla.scm \
%D%/packages/gnu-pw-mgr.scm \
%D%/packages/golang.scm \
%D%/packages/gperf.scm \
%D%/packages/gprolog.scm \
%D%/packages/gps.scm \
%D%/packages/graphics.scm \
%D%/packages/graphviz.scm \
%D%/packages/groff.scm \
%D%/packages/grub.scm \
%D%/packages/gsasl.scm \
%D%/packages/gstreamer.scm \
%D%/packages/gtk.scm \
%D%/packages/guile.scm \
%D%/packages/guile-wm.scm \
%D%/packages/gv.scm \
%D%/packages/gxmessage.scm \
%D%/packages/haskell.scm \
%D%/packages/hexedit.scm \
%D%/packages/hugs.scm \
%D%/packages/hurd.scm \
%D%/packages/ibus.scm \
%D%/packages/icu4c.scm \
%D%/packages/idutils.scm \
%D%/packages/image.scm \
%D%/packages/imagemagick.scm \
%D%/packages/indent.scm \
%D%/packages/inklingreader.scm \
%D%/packages/inkscape.scm \
%D%/packages/irc.scm \
%D%/packages/iso-codes.scm \
%D%/packages/java.scm \
%D%/packages/jemalloc.scm \
%D%/packages/jrnl.scm \
%D%/packages/julia.scm \
%D%/packages/kde.scm \
%D%/packages/kde-frameworks.scm \
%D%/packages/key-mon.scm \
%D%/packages/kodi.scm \
%D%/packages/language.scm \
%D%/packages/ldc.scm \
%D%/packages/lego.scm \
%D%/packages/less.scm \
%D%/packages/lesstif.scm \
%D%/packages/libbsd.scm \
%D%/packages/libcanberra.scm \
%D%/packages/libdaemon.scm \
%D%/packages/libedit.scm \
%D%/packages/libevent.scm \
%D%/packages/libffcall.scm \
%D%/packages/libffi.scm \
%D%/packages/libftdi.scm \
%D%/packages/calendar.scm \
%D%/packages/libidn.scm \
%D%/packages/libphidget.scm \
%D%/packages/libreoffice.scm \
%D%/packages/libsigsegv.scm \
%D%/packages/libunistring.scm \
%D%/packages/libusb.scm \
%D%/packages/libunwind.scm \
%D%/packages/libupnp.scm \
%D%/packages/links.scm \
%D%/packages/linux.scm \
%D%/packages/lirc.scm \
%D%/packages/lisp.scm \
%D%/packages/llvm.scm \
%D%/packages/lout.scm \
%D%/packages/logging.scm \
%D%/packages/lsof.scm \
%D%/packages/lua.scm \
%D%/packages/lxde.scm \
%D%/packages/lxqt.scm \
%D%/packages/lynx.scm \
%D%/packages/m4.scm \
%D%/packages/machine-learning.scm \
%D%/packages/man.scm \
%D%/packages/mail.scm \
%D%/packages/make-bootstrap.scm \
%D%/packages/markdown.scm \
%D%/packages/marst.scm \
%D%/packages/mate.scm \
%D%/packages/maths.scm \
%D%/packages/mc.scm \
%D%/packages/mcrypt.scm \
%D%/packages/messaging.scm \
%D%/packages/mg.scm \
%D%/packages/mit-krb5.scm \
%D%/packages/moe.scm \
%D%/packages/moreutils.scm \
%D%/packages/mpd.scm \
%D%/packages/mp3.scm \
%D%/packages/mpi.scm \
%D%/packages/multiprecision.scm \
%D%/packages/music.scm \
%D%/packages/mtools.scm \
%D%/packages/nano.scm \
%D%/packages/ncdu.scm \
%D%/packages/ncurses.scm \
%D%/packages/netpbm.scm \
%D%/packages/nettle.scm \
%D%/packages/networking.scm \
%D%/packages/ninja.scm \
%D%/packages/node.scm \
%D%/packages/noweb.scm \
%D%/packages/ntp.scm \
%D%/packages/nutrition.scm \
%D%/packages/nvi.scm \
%D%/packages/ocaml.scm \
%D%/packages/ocr.scm \
%D%/packages/onc-rpc.scm \
%D%/packages/openbox.scm \
%D%/packages/openldap.scm \
%D%/packages/openstack.scm \
%D%/packages/orpheus.scm \
%D%/packages/ots.scm \
%D%/packages/owncloud.scm \
%D%/packages/package-management.scm \
%D%/packages/parallel.scm \
%D%/packages/password-utils.scm \
%D%/packages/patchutils.scm \
%D%/packages/pciutils.scm \
%D%/packages/pcre.scm \
%D%/packages/pdf.scm \
%D%/packages/pem.scm \
%D%/packages/perl.scm \
%D%/packages/photo.scm \
%D%/packages/pkg-config.scm \
%D%/packages/plotutils.scm \
%D%/packages/polkit.scm \
%D%/packages/popt.scm \
%D%/packages/pth.scm \
%D%/packages/pulseaudio.scm \
%D%/packages/pumpio.scm \
%D%/packages/pretty-print.scm \
%D%/packages/protobuf.scm \
%D%/packages/pv.scm \
%D%/packages/python.scm \
%D%/packages/qemu.scm \
%D%/packages/qt.scm \
%D%/packages/ragel.scm \
%D%/packages/rails.scm \
%D%/packages/ratpoison.scm \
%D%/packages/rc.scm \
%D%/packages/rdesktop.scm \
%D%/packages/rdf.scm \
%D%/packages/readline.scm \
%D%/packages/rrdtool.scm \
%D%/packages/rsync.scm \
%D%/packages/ruby.scm \
%D%/packages/rush.scm \
%D%/packages/samba.scm \
%D%/packages/sawfish.scm \
%D%/packages/scanner.scm \
%D%/packages/scheme.scm \
%D%/packages/screen.scm \
%D%/packages/scribus.scm \
%D%/packages/sdl.scm \
%D%/packages/search.scm \
%D%/packages/serialization.scm \
%D%/packages/serveez.scm \
%D%/packages/shellutils.scm \
%D%/packages/shishi.scm \
%D%/packages/skarnet.scm \
%D%/packages/skribilo.scm \
%D%/packages/slang.scm \
%D%/packages/slim.scm \
%D%/packages/smalltalk.scm \
%D%/packages/speech.scm \
%D%/packages/spice.scm \
%D%/packages/ssh.scm \
%D%/packages/stalonetray.scm \
%D%/packages/statistics.scm \
%D%/packages/suckless.scm \
%D%/packages/swig.scm \
%D%/packages/sxiv.scm \
%D%/packages/synergy.scm \
%D%/packages/task-management.scm \
%D%/packages/tbb.scm \
%D%/packages/tcl.scm \
%D%/packages/tcsh.scm \
%D%/packages/telephony.scm \
%D%/packages/terminals.scm \
%D%/packages/texinfo.scm \
%D%/packages/tex.scm \
%D%/packages/textutils.scm \
%D%/packages/time.scm \
%D%/packages/tls.scm \
%D%/packages/tmux.scm \
%D%/packages/tor.scm \
%D%/packages/tre.scm \
%D%/packages/tv.scm \
%D%/packages/unrtf.scm \
%D%/packages/upnp.scm \
%D%/packages/uucp.scm \
%D%/packages/valgrind.scm \
%D%/packages/version-control.scm \
%D%/packages/video.scm \
%D%/packages/vim.scm \
%D%/packages/vpn.scm \
%D%/packages/vtk.scm \
%D%/packages/w3m.scm \
%D%/packages/wdiff.scm \
%D%/packages/web.scm \
%D%/packages/webkit.scm \
%D%/packages/wget.scm \
%D%/packages/wicd.scm \
%D%/packages/wine.scm \
%D%/packages/wm.scm \
%D%/packages/wordnet.scm \
%D%/packages/wv.scm \
%D%/packages/wxwidgets.scm \
%D%/packages/xfig.scm \
%D%/packages/xiph.scm \
%D%/packages/xml.scm \
%D%/packages/xnee.scm \
%D%/packages/xdisorg.scm \
%D%/packages/xorg.scm \
%D%/packages/xfce.scm \
%D%/packages/yubico.scm \
%D%/packages/zile.scm \
%D%/packages/zip.scm \
%D%/packages/zsh.scm \
\
%D%/services.scm \
%D%/services/avahi.scm \
%D%/services/base.scm \
%D%/services/databases.scm \
%D%/services/dbus.scm \
%D%/services/desktop.scm \
%D%/services/dict.scm \
%D%/services/lirc.scm \
%D%/services/mail.scm \
%D%/services/mcron.scm \
%D%/services/networking.scm \
%D%/services/shepherd.scm \
%D%/services/herd.scm \
%D%/services/ssh.scm \
%D%/services/web.scm \
%D%/services/xorg.scm \
\
%D%/system.scm \
%D%/system/file-systems.scm \
%D%/system/grub.scm \
%D%/system/install.scm \
%D%/system/linux-container.scm \
%D%/system/linux-initrd.scm \
%D%/system/locale.scm \
%D%/system/mapped-devices.scm \
%D%/system/nss.scm \
%D%/system/pam.scm \
%D%/system/shadow.scm \
%D%/system/vm.scm \
\
%D%/build/activation.scm \
%D%/build/file-systems.scm \
%D%/build/install.scm \
%D%/build/linux-boot.scm \
%D%/build/linux-container.scm \
%D%/build/linux-initrd.scm \
%D%/build/linux-modules.scm \
%D%/build/marionette.scm \
%D%/build/vm.scm \
\
%D%/tests.scm \
%D%/tests/base.scm \
%D%/tests/install.scm
patchdir = $(guilemoduledir)/%D%/packages/patches
dist_patch_DATA = \
%D%/packages/patches/4store-fix-buildsystem.patch \
%D%/packages/patches/a2ps-CVE-2001-1593.patch \
%D%/packages/patches/a2ps-CVE-2014-0466.patch \
%D%/packages/patches/abiword-explictly-cast-bools.patch \
%D%/packages/patches/abiword-wmf-version-lookup-fix.patch \
%D%/packages/patches/acl-hurd-path-max.patch \
%D%/packages/patches/aegis-constness-error.patch \
%D%/packages/patches/aegis-perl-tempdir1.patch \
%D%/packages/patches/aegis-perl-tempdir2.patch \
%D%/packages/patches/aegis-test-fixup-1.patch \
%D%/packages/patches/aegis-test-fixup-2.patch \
%D%/packages/patches/agg-am_c_prototype.patch \
%D%/packages/patches/alsa-lib-mips-atomic-fix.patch \
%D%/packages/patches/antiword-CVE-2014-8123.patch \
%D%/packages/patches/apr-skip-getservbyname-test.patch \
%D%/packages/patches/arb-ldconfig.patch \
%D%/packages/patches/ath9k-htc-firmware-binutils.patch \
%D%/packages/patches/ath9k-htc-firmware-gcc.patch \
%D%/packages/patches/ath9k-htc-firmware-objcopy.patch \
%D%/packages/patches/audacity-fix-ffmpeg-binding.patch \
%D%/packages/patches/automake-skip-amhello-tests.patch \
%D%/packages/patches/automake-regexp-syntax.patch \
%D%/packages/patches/automake-test-gzip-warning.patch \
%D%/packages/patches/avahi-localstatedir.patch \
%D%/packages/patches/avidemux-install-to-lib.patch \
%D%/packages/patches/awesome-reproducible-png.patch \
%D%/packages/patches/bash-completion-directories.patch \
%D%/packages/patches/bigloo-gc-shebangs.patch \
%D%/packages/patches/binutils-ld-new-dtags.patch \
%D%/packages/patches/binutils-loongson-workaround.patch \
%D%/packages/patches/byobu-writable-status.patch \
%D%/packages/patches/calibre-drop-unrar.patch \
%D%/packages/patches/calibre-no-updates-dialog.patch \
%D%/packages/patches/cdparanoia-fpic.patch \
%D%/packages/patches/chmlib-inttypes.patch \
%D%/packages/patches/clang-libc-search-path.patch \
%D%/packages/patches/clang-3.8-libc-search-path.patch \
%D%/packages/patches/clucene-pkgconfig.patch \
%D%/packages/patches/cmake-fix-tests.patch \
%D%/packages/patches/cpio-gets-undeclared.patch \
%D%/packages/patches/cpio-CVE-2016-2037.patch \
%D%/packages/patches/cpufrequtils-fix-aclocal.patch \
%D%/packages/patches/crda-optional-gcrypt.patch \
%D%/packages/patches/crossmap-allow-system-pysam.patch \
%D%/packages/patches/csound-header-ordering.patch \
%D%/packages/patches/cssc-gets-undeclared.patch \
%D%/packages/patches/cssc-missing-include.patch \
%D%/packages/patches/clucene-contribs-lib.patch \
%D%/packages/patches/cursynth-wave-rand.patch \
%D%/packages/patches/dbus-helper-search-path.patch \
%D%/packages/patches/devil-CVE-2009-3994.patch \
%D%/packages/patches/devil-fix-libpng.patch \
%D%/packages/patches/dico-idxgcide-bug.patch \
%D%/packages/patches/dico-libtool-deterministic.patch \
%D%/packages/patches/diffutils-gets-undeclared.patch \
%D%/packages/patches/dfu-programmer-fix-libusb.patch \
%D%/packages/patches/doc++-include-directives.patch \
%D%/packages/patches/doc++-segfault-fix.patch \
%D%/packages/patches/doxygen-test.patch \
%D%/packages/patches/duplicity-piped-password.patch \
%D%/packages/patches/duplicity-test_selection-tmp.patch \
%D%/packages/patches/elfutils-tests-ptrace.patch \
%D%/packages/patches/elixir-disable-failing-tests.patch \
%D%/packages/patches/einstein-build.patch \
%D%/packages/patches/emacs-exec-path.patch \
%D%/packages/patches/emacs-fix-scheme-indent-function.patch \
%D%/packages/patches/emacs-scheme-complete-scheme-r5rs-info.patch \
%D%/packages/patches/emacs-source-date-epoch.patch \
%D%/packages/patches/eudev-rules-directory.patch \
%D%/packages/patches/evilwm-lost-focus-bug.patch \
%D%/packages/patches/expat-CVE-2012-6702-and-CVE-2016-5300.patch \
%D%/packages/patches/expat-CVE-2015-1283-refix.patch \
%D%/packages/patches/expat-CVE-2016-0718.patch \
%D%/packages/patches/fastcap-mulGlobal.patch \
%D%/packages/patches/fastcap-mulSetup.patch \
%D%/packages/patches/fasthenry-spAllocate.patch \
%D%/packages/patches/fasthenry-spBuild.patch \
%D%/packages/patches/fasthenry-spUtils.patch \
%D%/packages/patches/fasthenry-spSolve.patch \
%D%/packages/patches/fasthenry-spFactor.patch \
%D%/packages/patches/findutils-localstatedir.patch \
%D%/packages/patches/findutils-test-xargs.patch \
%D%/packages/patches/flashrom-use-libftdi1.patch \
%D%/packages/patches/flint-ldconfig.patch \
%D%/packages/patches/fltk-shared-lib-defines.patch \
%D%/packages/patches/fltk-xfont-on-demand.patch \
%D%/packages/patches/fontforge-svg-modtime.patch \
%D%/packages/patches/fossil-test-fixes.patch \
%D%/packages/patches/freeimage-CVE-2015-0852.patch \
%D%/packages/patches/gawk-fts-test.patch \
%D%/packages/patches/gawk-shell.patch \
%D%/packages/patches/gcc-arm-link-spec-fix.patch \
%D%/packages/patches/gcc-cross-environment-variables.patch \
%D%/packages/patches/gcc-libvtv-runpath.patch \
%D%/packages/patches/gcc-5.0-libvtv-runpath.patch \
%D%/packages/patches/gd-fix-gd2-read-test.patch \
%D%/packages/patches/gd-fix-tests-on-i686.patch \
%D%/packages/patches/gegl-CVE-2012-4433.patch \
%D%/packages/patches/geoclue-config.patch \
%D%/packages/patches/ghostscript-CVE-2015-3228.patch \
%D%/packages/patches/ghostscript-runpath.patch \
%D%/packages/patches/gimp-CVE-2016-4994.patch \
%D%/packages/patches/glib-networking-ssl-cert-file.patch \
%D%/packages/patches/glib-tests-timer.patch \
%D%/packages/patches/glibc-bootstrap-system.patch \
%D%/packages/patches/glibc-ldd-x86_64.patch \
%D%/packages/patches/glibc-locales.patch \
%D%/packages/patches/glibc-o-largefile.patch \
%D%/packages/patches/glibc-versioned-locpath.patch \
%D%/packages/patches/gmp-arm-asm-nothumb.patch \
%D%/packages/patches/gmp-faulty-test.patch \
%D%/packages/patches/gnome-tweak-tool-search-paths.patch \
%D%/packages/patches/gnucash-price-quotes-perl.patch \
%D%/packages/patches/gobject-introspection-absolute-shlib-path.patch \
%D%/packages/patches/gobject-introspection-cc.patch \
%D%/packages/patches/gobject-introspection-girepository.patch \
%D%/packages/patches/grep-timing-sensitive-test.patch \
%D%/packages/patches/grub-CVE-2015-8370.patch \
%D%/packages/patches/grub-gets-undeclared.patch \
%D%/packages/patches/grub-freetype.patch \
%D%/packages/patches/guile-1.8-cpp-4.5.patch \
%D%/packages/patches/guile-arm-fixes.patch \
%D%/packages/patches/guile-default-utf8.patch \
%D%/packages/patches/guile-linux-syscalls.patch \
%D%/packages/patches/guile-present-coding.patch \
%D%/packages/patches/guile-relocatable.patch \
%D%/packages/patches/guile-rsvg-pkgconfig.patch \
%D%/packages/patches/gtk2-respect-GUIX_GTK2_PATH.patch \
%D%/packages/patches/gtk2-theme-paths.patch \
%D%/packages/patches/gtk3-respect-GUIX_GTK3_PATH.patch \
%D%/packages/patches/gtkglext-disable-disable-deprecated.patch \
%D%/packages/patches/hdf5-config-date.patch \
%D%/packages/patches/higan-remove-march-native-flag.patch \
%D%/packages/patches/hop-bigloo-4.0b.patch \
%D%/packages/patches/hop-linker-flags.patch \
%D%/packages/patches/hydra-automake-1.15.patch \
%D%/packages/patches/hydra-disable-darcs-test.patch \
%D%/packages/patches/hypre-doc-tables.patch \
%D%/packages/patches/hypre-ldflags.patch \
%D%/packages/patches/icecat-avoid-bundled-includes.patch \
%D%/packages/patches/icecat-CVE-2016-2818-pt1.patch \
%D%/packages/patches/icecat-CVE-2016-2818-pt2.patch \
%D%/packages/patches/icecat-CVE-2016-2818-pt3.patch \
%D%/packages/patches/icecat-CVE-2016-2818-pt4.patch \
%D%/packages/patches/icecat-CVE-2016-2818-pt5.patch \
%D%/packages/patches/icecat-CVE-2016-2818-pt6.patch \
%D%/packages/patches/icecat-CVE-2016-2818-pt7.patch \
%D%/packages/patches/icecat-CVE-2016-2818-pt8.patch \
%D%/packages/patches/icecat-CVE-2016-2818-pt9.patch \
%D%/packages/patches/icecat-CVE-2016-2819.patch \
%D%/packages/patches/icecat-CVE-2016-2821.patch \
%D%/packages/patches/icecat-CVE-2016-2824.patch \
%D%/packages/patches/icecat-CVE-2016-2828.patch \
%D%/packages/patches/icecat-CVE-2016-2831.patch \
%D%/packages/patches/icedtea-remove-overrides.patch \
%D%/packages/patches/icu4c-CVE-2014-6585.patch \
%D%/packages/patches/icu4c-CVE-2015-1270.patch \
%D%/packages/patches/icu4c-CVE-2015-4760.patch \
%D%/packages/patches/id3lib-CVE-2007-4460.patch \
%D%/packages/patches/ilmbase-fix-tests.patch \
%D%/packages/patches/inkscape-drop-wait-for-targets.patch \
%D%/packages/patches/irrlicht-mesa-10.patch \
%D%/packages/patches/jansson-CVE-2016-4425.patch \
%D%/packages/patches/jasper-CVE-2007-2721.patch \
%D%/packages/patches/jasper-CVE-2008-3520.patch \
%D%/packages/patches/jasper-CVE-2008-3522.patch \
%D%/packages/patches/jasper-CVE-2011-4516-and-CVE-2011-4517.patch \
%D%/packages/patches/jasper-CVE-2014-8137.patch \
%D%/packages/patches/jasper-CVE-2014-8138.patch \
%D%/packages/patches/jasper-CVE-2014-8157.patch \
%D%/packages/patches/jasper-CVE-2014-8158.patch \
%D%/packages/patches/jasper-CVE-2014-9029.patch \
%D%/packages/patches/jasper-CVE-2016-1577.patch \
%D%/packages/patches/jasper-CVE-2016-1867.patch \
%D%/packages/patches/jasper-CVE-2016-2089.patch \
%D%/packages/patches/jasper-CVE-2016-2116.patch \
%D%/packages/patches/jbig2dec-ignore-testtest.patch \
%D%/packages/patches/khmer-use-libraries.patch \
%D%/packages/patches/kmod-module-directory.patch \
%D%/packages/patches/ldc-disable-tests.patch \
%D%/packages/patches/lftp-dont-save-unknown-host-fingerprint.patch \
%D%/packages/patches/liba52-enable-pic.patch \
%D%/packages/patches/liba52-link-with-libm.patch \
%D%/packages/patches/liba52-set-soname.patch \
%D%/packages/patches/liba52-use-mtune-not-mcpu.patch \
%D%/packages/patches/libbonobo-activation-test-race.patch \
%D%/packages/patches/libcanberra-sound-theme-freedesktop.patch \
%D%/packages/patches/libcmis-fix-test-onedrive.patch \
%D%/packages/patches/libdrm-symbol-check.patch \
%D%/packages/patches/libevent-dns-tests.patch \
%D%/packages/patches/libextractor-ffmpeg-3.patch \
%D%/packages/patches/liboop-mips64-deplibs-fix.patch \
%D%/packages/patches/libotr-test-auth-fix.patch \
%D%/packages/patches/liblxqt-include.patch \
%D%/packages/patches/libmad-armv7-thumb-pt1.patch \
%D%/packages/patches/libmad-armv7-thumb-pt2.patch \
%D%/packages/patches/libmad-frame-length.patch \
%D%/packages/patches/libmad-mips-newgcc.patch \
%D%/packages/patches/libssh-0.6.5-CVE-2016-0739.patch \
%D%/packages/patches/libtar-CVE-2013-4420.patch \
%D%/packages/patches/libtheora-config-guess.patch \
%D%/packages/patches/libtiff-CVE-2015-8665+CVE-2015-8683.patch \
%D%/packages/patches/libtiff-oob-accesses-in-decode.patch \
%D%/packages/patches/libtiff-oob-write-in-nextdecode.patch \
%D%/packages/patches/libtool-skip-tests2.patch \
%D%/packages/patches/libunwind-CVE-2015-3239.patch \
%D%/packages/patches/libvpx-CVE-2016-2818.patch \
%D%/packages/patches/libwmf-CAN-2004-0941.patch \
%D%/packages/patches/libwmf-CVE-2006-3376.patch \
%D%/packages/patches/libwmf-CVE-2007-0455.patch \
%D%/packages/patches/libwmf-CVE-2007-2756.patch \
%D%/packages/patches/libwmf-CVE-2007-3472.patch \
%D%/packages/patches/libwmf-CVE-2007-3473.patch \
%D%/packages/patches/libwmf-CVE-2007-3477.patch \
%D%/packages/patches/libwmf-CVE-2009-1364.patch \
%D%/packages/patches/libwmf-CVE-2009-3546.patch \
%D%/packages/patches/libwmf-CVE-2015-0848+CVE-2015-4588.patch \
%D%/packages/patches/libwmf-CVE-2015-4695.patch \
%D%/packages/patches/libwmf-CVE-2015-4696.patch \
%D%/packages/patches/libxslt-generated-ids.patch \
%D%/packages/patches/lirc-localstatedir.patch \
%D%/packages/patches/lm-sensors-hwmon-attrs.patch \
%D%/packages/patches/lua-CVE-2014-5461.patch \
%D%/packages/patches/lua-pkgconfig.patch \
%D%/packages/patches/lua51-liblua-so.patch \
%D%/packages/patches/lua52-liblua-so.patch \
%D%/packages/patches/luajit-no_ldconfig.patch \
%D%/packages/patches/luajit-symlinks.patch \
%D%/packages/patches/luit-posix.patch \
%D%/packages/patches/m4-gets-undeclared.patch \
%D%/packages/patches/make-impure-dirs.patch \
%D%/packages/patches/mars-install.patch \
%D%/packages/patches/mars-sfml-2.3.patch \
%D%/packages/patches/matplotlib-setupext-tk.patch \
%D%/packages/patches/maxima-defsystem-mkdir.patch \
%D%/packages/patches/mcron-install.patch \
%D%/packages/patches/mcrypt-CVE-2012-4409.patch \
%D%/packages/patches/mcrypt-CVE-2012-4426.patch \
%D%/packages/patches/mcrypt-CVE-2012-4527.patch \
%D%/packages/patches/mhash-keygen-test-segfault.patch \
%D%/packages/patches/mpc123-initialize-ao.patch \
%D%/packages/patches/mplayer2-theora-fix.patch \
%D%/packages/patches/module-init-tools-moduledir.patch \
%D%/packages/patches/mumps-build-parallelism.patch \
%D%/packages/patches/mupen64plus-ui-console-notice.patch \
%D%/packages/patches/mutt-store-references.patch \
%D%/packages/patches/mysql-fix-failing-test.patch \
%D%/packages/patches/nasm-no-ps-pdf.patch \
%D%/packages/patches/net-tools-bitrot.patch \
%D%/packages/patches/netcdf-config-date.patch \
%D%/packages/patches/ngircd-handle-zombies.patch \
%D%/packages/patches/ngircd-no-dns-in-tests.patch \
%D%/packages/patches/ninja-tests.patch \
%D%/packages/patches/ninja-zero-mtime.patch \
%D%/packages/patches/nss-pkgconfig.patch \
%D%/packages/patches/nvi-assume-preserve-path.patch \
%D%/packages/patches/nvi-dbpagesize-binpower.patch \
%D%/packages/patches/nvi-db4.patch \
%D%/packages/patches/ocaml-CVE-2015-8869.patch \
%D%/packages/patches/ocaml-findlib-make-install.patch \
%D%/packages/patches/openexr-missing-samples.patch \
%D%/packages/patches/openjpeg-CVE-2015-6581.patch \
%D%/packages/patches/openjpeg-use-after-free-fix.patch \
%D%/packages/patches/openssl-runpath.patch \
%D%/packages/patches/openssl-c-rehash-in.patch \
%D%/packages/patches/openssl-CVE-2016-2177.patch \
%D%/packages/patches/openssl-CVE-2016-2178.patch \
%D%/packages/patches/orpheus-cast-errors-and-includes.patch \
%D%/packages/patches/ots-no-include-missing-file.patch \
%D%/packages/patches/patchelf-page-size.patch \
%D%/packages/patches/patchelf-rework-for-arm.patch \
%D%/packages/patches/patchutils-xfail-gendiff-tests.patch \
%D%/packages/patches/patch-hurd-path-max.patch \
%D%/packages/patches/pcre-CVE-2016-3191.patch \
%D%/packages/patches/pcre2-CVE-2016-3191.patch \
%D%/packages/patches/perl-CVE-2015-8607.patch \
%D%/packages/patches/perl-CVE-2016-2381.patch \
%D%/packages/patches/perl-autosplit-default-time.patch \
%D%/packages/patches/perl-deterministic-ordering.patch \
%D%/packages/patches/perl-finance-quote-unuse-mozilla-ca.patch \
%D%/packages/patches/perl-gd-options-passthrough-and-fontconfig.patch \
%D%/packages/patches/perl-io-socket-ssl-openssl-1.0.2f-fix.patch \
%D%/packages/patches/perl-net-amazon-s3-moose-warning.patch \
%D%/packages/patches/perl-net-ssleay-disable-ede-test.patch \
%D%/packages/patches/perl-no-build-time.patch \
%D%/packages/patches/perl-no-sys-dirs.patch \
%D%/packages/patches/perl-module-pluggable-search.patch \
%D%/packages/patches/perl-source-date-epoch.patch \
%D%/packages/patches/pidgin-add-search-path.patch \
%D%/packages/patches/pinball-const-fix.patch \
%D%/packages/patches/pinball-cstddef.patch \
%D%/packages/patches/pinball-missing-separators.patch \
%D%/packages/patches/pinball-src-deps.patch \
%D%/packages/patches/pinball-system-ltdl.patch \
%D%/packages/patches/pingus-sdl-libs-config.patch \
%D%/packages/patches/plink-1.07-unclobber-i.patch \
%D%/packages/patches/plotutils-libpng-jmpbuf.patch \
%D%/packages/patches/polkit-drop-test.patch \
%D%/packages/patches/portaudio-audacity-compat.patch \
%D%/packages/patches/portmidi-modular-build.patch \
%D%/packages/patches/procmail-ambiguous-getline-debian.patch \
%D%/packages/patches/procmail-CVE-2014-3618.patch \
%D%/packages/patches/procps-non-linux.patch \
%D%/packages/patches/pt-scotch-build-parallelism.patch \
%D%/packages/patches/pulseaudio-fix-mult-test.patch \
%D%/packages/patches/pulseaudio-longer-test-timeout.patch \
%D%/packages/patches/pycairo-wscript.patch \
%D%/packages/patches/pybugz-encode-error.patch \
%D%/packages/patches/pybugz-stty.patch \
%D%/packages/patches/pygpgme-disable-problematic-tests.patch \
%D%/packages/patches/pyqt-configure.patch \
%D%/packages/patches/python-2-deterministic-build-info.patch \
%D%/packages/patches/python-2.7-search-paths.patch \
%D%/packages/patches/python-2.7-source-date-epoch.patch \
%D%/packages/patches/python-3-deterministic-build-info.patch \
%D%/packages/patches/python-3-search-paths.patch \
%D%/packages/patches/python-dendropy-exclude-failing-tests.patch \
%D%/packages/patches/python-disable-ssl-test.patch \
%D%/packages/patches/python-fix-tests.patch \
%D%/packages/patches/python-ipython-inputhook-ctype.patch \
%D%/packages/patches/python-rarfile-fix-tests.patch \
%D%/packages/patches/python2-rdflib-drop-sparqlwrapper.patch \
%D%/packages/patches/python-configobj-setuptools.patch \
%D%/packages/patches/python-paste-remove-website-test.patch \
%D%/packages/patches/python-paste-remove-timing-test.patch \
%D%/packages/patches/python2-pygobject-2-gi-info-type-error-domain.patch \
%D%/packages/patches/qt4-ldflags.patch \
%D%/packages/patches/rapicorn-isnan.patch \
%D%/packages/patches/ratpoison-shell.patch \
%D%/packages/patches/readline-link-ncurses.patch \
%D%/packages/patches/ripperx-missing-file.patch \
%D%/packages/patches/rpm-CVE-2014-8118.patch \
%D%/packages/patches/rsem-makefile.patch \
%D%/packages/patches/ruby-concurrent-ignore-broken-test.patch \
%D%/packages/patches/ruby-puma-ignore-broken-test.patch \
%D%/packages/patches/ruby-symlinkfix.patch \
%D%/packages/patches/ruby-tzinfo-data-ignore-broken-test.patch\
%D%/packages/patches/rush-CVE-2013-6889.patch \
%D%/packages/patches/sed-hurd-path-max.patch \
%D%/packages/patches/scheme48-tests.patch \
%D%/packages/patches/scotch-test-threading.patch \
%D%/packages/patches/sdl-libx11-1.6.patch \
%D%/packages/patches/serf-comment-style-fix.patch \
%D%/packages/patches/serf-deflate-buckets-test-fix.patch \
%D%/packages/patches/slim-session.patch \
%D%/packages/patches/slim-config.patch \
%D%/packages/patches/slim-sigusr1.patch \
%D%/packages/patches/slurm-configure-remove-nonfree-contribs.patch \
%D%/packages/patches/soprano-find-clucene.patch \
%D%/packages/patches/superlu-dist-scotchmetis.patch \
%D%/packages/patches/synfig-build-fix.patch \
%D%/packages/patches/t1lib-CVE-2010-2642.patch \
%D%/packages/patches/t1lib-CVE-2011-0764.patch \
%D%/packages/patches/t1lib-CVE-2011-1552+CVE-2011-1553+CVE-2011-1554.patch \
%D%/packages/patches/tar-skip-unreliable-tests.patch \
%D%/packages/patches/tcl-mkindex-deterministic.patch \
%D%/packages/patches/tclxml-3.2-install.patch \
%D%/packages/patches/tcsh-fix-autotest.patch \
%D%/packages/patches/teensy-loader-cli-help.patch \
%D%/packages/patches/texi2html-document-encoding.patch \
%D%/packages/patches/texi2html-i18n.patch \
%D%/packages/patches/tidy-CVE-2015-5522+5523.patch \
%D%/packages/patches/tinyxml-use-stl.patch \
%D%/packages/patches/tk-find-library.patch \
%D%/packages/patches/ttf2eot-cstddef.patch \
%D%/packages/patches/ttfautohint-source-date-epoch.patch \
%D%/packages/patches/tophat-build-with-later-seqan.patch \
%D%/packages/patches/torsocks-dns-test.patch \
%D%/packages/patches/totem-debug-format-fix.patch \
%D%/packages/patches/tuxpaint-stamps-path.patch \
%D%/packages/patches/unzip-CVE-2014-8139.patch \
%D%/packages/patches/unzip-CVE-2014-8140.patch \
%D%/packages/patches/unzip-CVE-2014-8141.patch \
%D%/packages/patches/unzip-CVE-2014-9636.patch \
%D%/packages/patches/unzip-CVE-2015-7696.patch \
%D%/packages/patches/unzip-CVE-2015-7697.patch \
%D%/packages/patches/unzip-allow-greater-hostver-values.patch \
%D%/packages/patches/unzip-attribs-overflow.patch \
%D%/packages/patches/unzip-overflow-on-invalid-input.patch \
%D%/packages/patches/unzip-format-secure.patch \
%D%/packages/patches/unzip-initialize-symlink-flag.patch \
%D%/packages/patches/unzip-overflow-long-fsize.patch \
%D%/packages/patches/unzip-remove-build-date.patch \
%D%/packages/patches/util-linux-tests.patch \
%D%/packages/patches/upower-builddir.patch \
%D%/packages/patches/valgrind-enable-arm.patch \
%D%/packages/patches/vorbis-tools-CVE-2014-9638+CVE-2014-9639.patch \
%D%/packages/patches/vorbis-tools-CVE-2014-9640.patch \
%D%/packages/patches/vorbis-tools-CVE-2015-6749.patch \
%D%/packages/patches/vpnc-script.patch \
%D%/packages/patches/vte-CVE-2012-2738-pt1.patch \
%D%/packages/patches/vte-CVE-2012-2738-pt2.patch \
%D%/packages/patches/vtk-mesa-10.patch \
%D%/packages/patches/w3m-libgc.patch \
%D%/packages/patches/w3m-force-ssl_verify_server-on.patch \
%D%/packages/patches/w3m-disable-sslv2-and-sslv3.patch \
%D%/packages/patches/w3m-disable-weak-ciphers.patch \
%D%/packages/patches/weechat-python.patch \
%D%/packages/patches/weex-vacopy.patch \
%D%/packages/patches/wicd-bitrate-none-fix.patch \
%D%/packages/patches/wicd-get-selected-profile-fix.patch \
%D%/packages/patches/wicd-urwid-1.3.patch \
%D%/packages/patches/wicd-wpa2-ttls.patch \
%D%/packages/patches/wmctrl-64-fix.patch \
%D%/packages/patches/woff2-libbrotli.patch \
%D%/packages/patches/wordnet-CVE-2008-2149.patch \
%D%/packages/patches/wordnet-CVE-2008-3908-pt1.patch \
%D%/packages/patches/wordnet-CVE-2008-3908-pt2.patch \
%D%/packages/patches/wpa-supplicant-CVE-2015-5310.patch \
%D%/packages/patches/wpa-supplicant-CVE-2015-5314.patch \
%D%/packages/patches/wpa-supplicant-CVE-2015-5315.patch \
%D%/packages/patches/wpa-supplicant-CVE-2015-5316.patch \
%D%/packages/patches/wpa-supplicant-CVE-2016-4476.patch \
%D%/packages/patches/wpa-supplicant-CVE-2016-4477-pt1.patch \
%D%/packages/patches/wpa-supplicant-CVE-2016-4477-pt2.patch \
%D%/packages/patches/wpa-supplicant-CVE-2016-4477-pt3.patch \
%D%/packages/patches/wpa-supplicant-CVE-2016-4477-pt4.patch \
%D%/packages/patches/xdotool-fix-makefile.patch \
%D%/packages/patches/xf86-video-ark-remove-mibstore.patch \
%D%/packages/patches/xf86-video-ast-remove-mibstore.patch \
%D%/packages/patches/xf86-video-geode-glibc-2.20.patch \
%D%/packages/patches/xf86-video-glint-remove-mibstore.patch \
%D%/packages/patches/xf86-video-i128-remove-mibstore.patch \
%D%/packages/patches/xf86-video-intel-compat-api.patch \
%D%/packages/patches/xf86-video-intel-glibc-2.20.patch \
%D%/packages/patches/xf86-video-mach64-glibc-2.20.patch \
%D%/packages/patches/xf86-video-nv-remove-mibstore.patch \
%D%/packages/patches/xf86-video-openchrome-glibc-2.20.patch \
%D%/packages/patches/xf86-video-tga-remove-mibstore.patch \
%D%/packages/patches/xfce4-panel-plugins.patch \
%D%/packages/patches/xfce4-session-fix-xflock4.patch \
%D%/packages/patches/xfce4-settings-defaults.patch \
%D%/packages/patches/xmodmap-asprintf.patch \
%D%/packages/patches/libyaml-CVE-2014-9130.patch \
%D%/packages/patches/zathura-plugindir-environment-variable.patch
MISC_DISTRO_FILES = \
%D%/packages/ld-wrapper.in
bootstrapdir = $(guilemoduledir)/%D%/packages/bootstrap
bootstrap_x86_64_linuxdir = $(bootstrapdir)/x86_64-linux
bootstrap_i686_linuxdir = $(bootstrapdir)/i686-linux
bootstrap_armhf_linuxdir = $(bootstrapdir)/armhf-linux
bootstrap_mips64el_linuxdir = $(bootstrapdir)/mips64el-linux
dist_bootstrap_x86_64_linux_DATA = \
%D%/packages/bootstrap/x86_64-linux/bash \
%D%/packages/bootstrap/x86_64-linux/mkdir \
%D%/packages/bootstrap/x86_64-linux/tar \
%D%/packages/bootstrap/x86_64-linux/xz
dist_bootstrap_i686_linux_DATA = \
%D%/packages/bootstrap/i686-linux/bash \
%D%/packages/bootstrap/i686-linux/mkdir \
%D%/packages/bootstrap/i686-linux/tar \
%D%/packages/bootstrap/i686-linux/xz
dist_bootstrap_armhf_linux_DATA = \
%D%/packages/bootstrap/armhf-linux/bash \
%D%/packages/bootstrap/armhf-linux/mkdir \
%D%/packages/bootstrap/armhf-linux/tar \
%D%/packages/bootstrap/armhf-linux/xz
dist_bootstrap_mips64el_linux_DATA = \
%D%/packages/bootstrap/mips64el-linux/bash \
%D%/packages/bootstrap/mips64el-linux/mkdir \
%D%/packages/bootstrap/mips64el-linux/tar \
%D%/packages/bootstrap/mips64el-linux/xz
# Big bootstrap binaries are not included in the tarball. Instead, they
# are downloaded.
nodist_bootstrap_x86_64_linux_DATA = \
%D%/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz
nodist_bootstrap_i686_linux_DATA = \
%D%/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz
nodist_bootstrap_armhf_linux_DATA = \
%D%/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz
nodist_bootstrap_mips64el_linux_DATA = \
%D%/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz
# Those files must remain executable, so they remain executable once
# imported into the store.
set-bootstrap-executable-permissions:
chmod +x $(DESTDIR)$(bootstrapdir)/*/{bash,mkdir,tar,xz}
DISTCLEANFILES = \
$(nodist_bootstrap_x86_64_linux_DATA) \
$(nodist_bootstrap_i686_linux_DATA) \
$(nodist_bootstrap_armhf_linux_DATA) \
$(nodist_bootstrap_mips64el_linux_DATA)
# Method to download a file from an external source.
DOWNLOAD_FILE = \
GUILE_LOAD_COMPILED_PATH="$(top_builddir):$$GUILE_LOAD_COMPILED_PATH" \
$(GUILE) --no-auto-compile -L "$(top_builddir)" -L "$(top_srcdir)" \
"$(top_srcdir)/build-aux/download.scm"
%D%/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz:
$(AM_V_DL)$(MKDIR_P) `dirname "$@"`; \
$(DOWNLOAD_FILE) "$@" \
"037b103522a2d0d7d69c7ffd8de683dfe5bb4b59c1fafd70b4ffd397fd2f57f0"
%D%/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz:
$(AM_V_DL)$(MKDIR_P) `dirname "$@"`; \
$(DOWNLOAD_FILE) "$@" \
"b757cd46bf13ecac83fb8e955fb50096ac2d17bb610ca8eb816f29302a00a846"
%D%/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz:
$(AM_V_DL)$(MKDIR_P) `dirname "$@"`; \
$(DOWNLOAD_FILE) "$@" \
"e551d05d4d385d6706ab8d574856a087758294dc90ab4c06e70a157a685e23d6"
%D%/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz:
$(AM_V_DL)$(MKDIR_P) `dirname "$@"`; \
$(DOWNLOAD_FILE) "$@" \
"994680f0001346864aa2c2cc5110f380ee7518dcd701c614291682b8e948f73b"
+62 -165
View File
@@ -1,7 +1,9 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -22,8 +24,10 @@
#:use-module (guix packages)
#:use-module (guix ui)
#:use-module (guix utils)
#:use-module ((guix ftp-client) #:select (ftp-open))
#:use-module (guix gnu-maintenance)
#:use-module (guix combinators)
#:use-module ((guix build utils)
#:select ((package-name->name+version
. hyphen-separated-name->name+version)))
#:use-module (ice-9 ftw)
#:use-module (ice-9 vlist)
#:use-module (ice-9 match)
@@ -34,23 +38,19 @@
#:use-module (srfi srfi-35)
#:use-module (srfi srfi-39)
#:export (search-patch
search-patches
search-bootstrap-binary
%patch-path
%bootstrap-binaries-path
%package-module-path
fold-packages
scheme-modules ;XXX: for lack of a better place
find-packages-by-name
find-best-packages-by-name
find-newest-available-packages
package-direct-dependents
package-transitive-dependents
package-covering-dependents
check-package-freshness
specification->package
specification->package+output))
@@ -79,6 +79,11 @@
(&message (message (format #f (_ "~a: patch not found")
file-name)))))))
(define-syntax-rule (search-patches file-name ...)
"Return the list of absolute file names corresponding to each
FILE-NAME found in %PATCH-PATH."
(list (search-patch file-name) ...))
(define (search-bootstrap-binary file-name system)
"Search the bootstrap binary FILE-NAME for SYSTEM. Raise an error if not
found."
@@ -154,8 +159,8 @@ returned list is sorted in alphabetical order."
(map string->symbol
(string-tokenize (string-drop-right file 4) not-slash)))))
(define* (package-modules directory #:optional sub-directory)
"Return the list of modules that provide packages for the distribution.
(define* (scheme-modules directory #:optional sub-directory)
"Return the list of Scheme modules available under DIRECTORY.
Optionally, narrow the search to SUB-DIRECTORY."
(define prefix-len
(string-length directory))
@@ -180,9 +185,9 @@ search."
(fold-right (lambda (spec result)
(match spec
((? string? directory)
(append (package-modules directory) result))
(append (scheme-modules directory) result))
((directory . sub-directory)
(append (package-modules directory sub-directory)
(append (scheme-modules directory sub-directory)
result))))
'()
path))
@@ -195,7 +200,8 @@ same package twice."
(fold2 (lambda (module result seen)
(fold2 (lambda (var result seen)
(if (and (package? var)
(not (vhash-assq var seen)))
(not (vhash-assq var seen))
(not (hidden-package? var)))
(values (proc var result)
(vhash-consq var #t seen))
(values result seen)))
@@ -261,63 +267,6 @@ VERSION."
((_ version pkgs ...) pkgs)
(#f '()))))
(define* (vhash-refq vhash key #:optional (dflt #f))
"Look up KEY in the vhash VHASH, and return the value (if any) associated
with it. If KEY is not found, return DFLT (or `#f' if no DFLT argument is
supplied). Uses `eq?' for equality testing."
(or (and=> (vhash-assq key vhash) cdr)
dflt))
(define package-dependencies
(memoize
(lambda ()
"Return a vhash keyed by package, and with associated values that are a
list of packages that depend on that package."
(fold-packages
(lambda (package dag)
(fold
(lambda (in d)
;; Insert a graph edge from each of package's inputs to package.
(vhash-consq in
(cons package (vhash-refq d in '()))
(vhash-delq in d)))
dag
(match (package-direct-inputs package)
(((labels packages . _) ...)
packages) )))
vlist-null))))
(define (package-direct-dependents packages)
"Return a list of packages from the distribution that directly depend on the
packages in PACKAGES."
(delete-duplicates
(concatenate
(map (lambda (p)
(vhash-refq (package-dependencies) p '()))
packages))))
(define (package-transitive-dependents packages)
"Return the transitive dependent packages of the distribution packages in
PACKAGES---i.e. the dependents of those packages, plus their dependents,
recursively."
(let ((dependency-dag (package-dependencies)))
(fold-tree
cons '()
(lambda (node) (vhash-refq dependency-dag node))
;; Start with the dependents to avoid including PACKAGES in the result.
(package-direct-dependents packages))))
(define (package-covering-dependents packages)
"Return a minimal list of packages from the distribution whose dependencies
include all of PACKAGES and all packages that depend on PACKAGES."
(let ((dependency-dag (package-dependencies)))
(fold-tree-leaves
cons '()
(lambda (node) (vhash-refq dependency-dag node))
;; Start with the dependents to avoid including PACKAGES in the result.
(package-direct-dependents packages))))
(define %sigint-prompt
;; The prompt to jump to upon SIGINT.
@@ -340,115 +289,63 @@ return its return value."
(lambda (k signum)
(handler signum))))
(define-syntax-rule (waiting exp fmt rest ...)
"Display the given message while EXP is being evaluated."
(let* ((message (format #f fmt rest ...))
(blank (make-string (string-length message) #\space)))
(display message (current-error-port))
(force-output (current-error-port))
(call-with-sigint-handler
(lambda ()
(dynamic-wind
(const #f)
(lambda () exp)
(lambda ()
;; Clear the line.
(display #\cr (current-error-port))
(display blank (current-error-port))
(display #\cr (current-error-port))
(force-output (current-error-port)))))
(lambda (signum)
(format (current-error-port) " interrupted by signal ~a~%" SIGINT)
#f))))
;;;
;;; Package specification.
;;;
(define ftp-open*
;; Memoizing version of `ftp-open'. The goal is to avoid initiating a new
;; FTP connection for each package, esp. since most of them are to the same
;; server. This has a noticeable impact when doing "guix upgrade -u".
(memoize ftp-open))
(define* (%find-package spec name version #:key fallback?)
(match (find-best-packages-by-name name version)
((pkg . pkg*)
(unless (null? pkg*)
(warning (_ "ambiguous package specification `~a'~%") spec)
(warning (_ "choosing ~a from ~a~%")
(package-full-name pkg)
(location->string (package-location pkg))))
(when fallback?
(warning (_ "deprecated NAME-VERSION syntax; \
use NAME@VERSION instead~%")))
pkg)
(_
(if version
(leave (_ "~A: package not found for version ~a~%") name version)
(if (not fallback?)
;; XXX: Fallback to the older specification style with an hyphen
;; between NAME and VERSION, for backward compatibility.
(call-with-values
(lambda ()
(hyphen-separated-name->name+version name))
(cut %find-package spec <> <> #:fallback? #t))
(define (check-package-freshness package)
"Check whether PACKAGE has a newer version available upstream, and report
it."
;; TODO: Automatically inject the upstream version when desired.
(catch #t
(lambda ()
(when (false-if-exception (gnu-package? package))
(let ((name (package-name package))
(full-name (package-full-name package)))
(match (waiting (latest-release name
#:ftp-open ftp-open*
#:ftp-close (const #f))
(_ "looking for the latest release of GNU ~a...") name)
((? gnu-release? release)
(let ((latest-version
(string-append (gnu-release-package release) "-"
(gnu-release-version release))))
(when (version>? latest-version full-name)
(format (current-error-port)
(_ "~a: note: using ~a \
but ~a is available upstream~%")
(location->string (package-location package))
full-name latest-version))))
(_ #t)))))
(lambda (key . args)
;; Silently ignore networking errors rather than preventing
;; installation.
(case key
((getaddrinfo-error ftp-error) #f)
(else (apply throw key args))))))
;; The fallback case didn't find anything either, so bail out.
(leave (_ "~A: unknown package~%") name))))))
(define (specification->package spec)
"Return a package matching SPEC. SPEC may be a package name, or a package
name followed by a hyphen and a version number. If the version number is not
name followed by an at-sign and a version number. If the version number is not
present, return the preferred newest version."
(let-values (((name version)
(package-name->name+version spec)))
(match (find-best-packages-by-name name version)
((p) ; one match
p)
((p x ...) ; several matches
(warning (_ "ambiguous package specification `~a'~%") spec)
(warning (_ "choosing ~a from ~a~%")
(package-full-name p)
(location->string (package-location p)))
p)
(_ ; no matches
(if version
(leave (_ "~A: package not found for version ~a~%")
name version)
(leave (_ "~A: unknown package~%") name))))))
(let-values (((name version) (package-name->name+version spec)))
(%find-package spec name version)))
(define* (specification->package+output spec #:optional (output "out"))
"Return the package and output specified by SPEC, or #f and #f; SPEC may
optionally contain a version number and an output name, as in these examples:
guile
guile-2.0.9
guile@2.0.9
guile:debug
guile-2.0.9:debug
guile@2.0.9:debug
If SPEC does not specify a version number, return the preferred newest
version; if SPEC does not specify an output, return OUTPUT."
(define (ensure-output p sub-drv)
(if (member sub-drv (package-outputs p))
sub-drv
(leave (_ "package `~a' lacks output `~a'~%")
(package-full-name p)
sub-drv)))
(let-values (((name version sub-drv)
(package-specification->name+version+output spec output)))
(match (find-best-packages-by-name name version)
((p)
(values p (ensure-output p sub-drv)))
((p p* ...)
(warning (_ "ambiguous package specification `~a'~%")
spec)
(warning (_ "choosing ~a from ~a~%")
(package-full-name p)
(location->string (package-location p)))
(values p (ensure-output p sub-drv)))
(()
(leave (_ "~a: package not found~%") spec)))))
(match (%find-package spec name version)
(#f
(values #f #f))
(package
(if (member sub-drv (package-outputs package))
(values package sub-drv)
(leave (_ "package `~a' lacks output `~a'~%")
(package-full-name package)
sub-drv))))))
-70
View File
@@ -1,70 +0,0 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages aarddict)
#:use-module ((guix licenses) #:select (gpl3))
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system python)
#:use-module (gnu packages python)
#:use-module (gnu packages qt))
(define-public aarddict
(package
(name "aarddict")
(version "0.9.3")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/aarddict/desktop/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"12h7m0z7nd7rg8avpi9syd265k0rhh4vbdh464nq0jzdg8m9p28c"))))
(build-system python-build-system)
(inputs
`(("python2-pyicu" ,python2-pyicu)
("python2-pyqt-4" ,python2-pyqt-4)
("python2-setuptools" ,python2-setuptools)
("python2-simplejson" ,python2-simplejson)
("python2-sip" ,python2-sip)))
(arguments
`(#:python ,python-2 ; incompatible with Python 3
#:phases
(alist-cons-before
'build 'configure
;; Force data into the output instead of the python package.
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(substitute* "setup.py"
(("sys.prefix") (string-append "'" out "'")))))
%standard-phases)))
(home-page "http://aarddict.org/index.html")
(synopsis
"Dictionary program and offline Wikipedia reader")
(description
"Aard Dictionary is a free, fast, easy to use word lookup program that
looks up words fast even with huge dictionaries like English Wikipedia;
looks up words in multiple dictionaries in multiple languages without
switching;
works great as offline Wikipedia reader;
is keyboard navigation friendly;
has efficient, highly compressed dictionary data storage format with
ability to verify data integrity built-in.")
(license gpl3)))
+49
View File
@@ -0,0 +1,49 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2016 Leo Famulari <leo@famulari.name>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages abduco)
#:use-module (guix build-system gnu)
#:use-module (guix download)
#:use-module (guix licenses)
#:use-module (guix packages))
(define-public abduco
(package
(name "abduco")
(version "0.6")
(source (origin
(method url-fetch)
(uri (string-append
"http://www.brain-dump.org/projects/abduco/abduco-"
version ".tar.gz"))
(sha256
(base32
"1x1m58ckwsprljgmdy93mvgjyg9x3cqrzdf3mysp0mx97zhhj2f9"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags (list "CC=gcc"
(string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases (modify-phases %standard-phases
(delete 'configure)
(delete 'check)))) ; no test suite
(synopsis "Session management in a clean and simple way")
(description "abduco provides session management i.e. it allows programs to
be run independently from their controlling terminal. That is, programs can
be detached---run in the background---and then later reattached.")
(home-page "http://www.brain-dump.org/projects/abduco/")
(license isc)))
+35 -19
View File
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Marek Benc <merkur32@gmail.com>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -22,6 +23,7 @@
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages boost)
#:use-module (gnu packages compression)
#:use-module (gnu packages enchant)
@@ -41,7 +43,7 @@
(define-public abiword
(package
(name "abiword")
(version "2.8.6")
(version "3.0.1")
(source
(origin
(method url-fetch)
@@ -49,15 +51,10 @@
(string-append "http://abisource.org/downloads/" name "/" version
"/source/" name "-" version ".tar.gz"))
(sha256
(base32 "059sd2apxdmcacc4pll880i7vm18h0kyjsq299m1mz3c7ak8k46r"))
(base32 "1ik591rx15nn3n1297cwykl8wvrlgj78i528id9wbidgy3xzd570"))
(patches
(list
(search-patch "abiword-wmf-version-lookup-fix.patch")
(search-patch "abiword-no-include-glib-internal-headers.patch")
(search-patch "abiword-explictly-cast-bools.patch")
(search-patch "abiword-use-proper-png-api.patch")
(search-patch "abiword-pass-no-undefined-to-linker.patch")
(search-patch "abiword-link-plugins-against-backend.patch")))))
(search-patches "abiword-wmf-version-lookup-fix.patch"
"abiword-explictly-cast-bools.patch"))))
(build-system gnu-build-system)
(arguments ;; NOTE: rsvg is disabled, since Abiword
@@ -65,22 +62,31 @@
(list
"--enable-clipart" ;; TODO: The following plugins have unresolved
"--enable-templates" ;; dependencies: aiksaurus, grammar, wpg, gda,
(string-append ;; wordperfect, psion, mathview, goffice.
(string-append ;; wordperfect, psion, mathview.
"--enable-plugins="
"applix " "babelfish " "bmp " "clarisworks " "collab " "command "
"docbook " "eml " "freetranslation " "garble " "gdict " "gimp "
"google " "hancom " "hrtext " "iscii " "kword " "latex "
"loadbindings " "mht " "mif " "mswrite " "opendocument "
"docbook " "eml " "epub " "freetranslation " "garble " "gdict "
"gimp " "goffice " "google " "hancom " "hrtext " "iscii " "kword "
"latex " "loadbindings " "mht " "mif " "mswrite " "opendocument "
"openwriter " "openxml " "opml " "ots " "paint " "passepartout "
"pdb " "pdf " "presentation " "s5 " "sdw " "t602 " "urldict "
"wikipedia " "wmf " "wml " "xslfo"))))
"wikipedia " "wmf " "wml " "xslfo"))
;; tests fail with: Gtk-CRITICAL **: gtk_settings_get_for_screen:
;; assertion 'GDK_IS_SCREEN (screen)' failed
;; GLib-GObject-CRITICAL **: g_object_get_qdata:
;; assertion 'G_IS_OBJECT (object)' failed
;; Manually starting the X server before the test phase did not help
;; the tests to pass.
#:tests? #f))
(inputs
`(("boost" ,boost)
("enchant" ,enchant)
("fontconfig" ,fontconfig)
("fribidi" ,fribidi)
("glib" ,glib)
("gtk+" ,gtk+-2)
("goffice" ,goffice)
("gtk+" ,gtk+)
("libchamplain" ,libchamplain)
("libglade" ,libglade)
("libgsf" ,libgsf)
("libjpeg" ,libjpeg)
@@ -88,19 +94,29 @@
("librsvg" ,librsvg)
("libwmf" ,libwmf)
("libxml2" ,libxml2)
("libxslt" ,libxslt)
("ots" ,ots)
("popt" ,popt)
("readline" ,readline)
("telepathy" ,telepathy-glib)
("wv" ,wv)
("zlib" ,zlib)))
(native-inputs
`(("intltool" ,intltool)
("glib:bin" ,glib "bin")
("libtool" ,libtool)
("pkg-config" ,pkg-config)))
(home-page "http://abisource.org/")
(synopsis "Word processing program")
(description
"AbiWord is a word processing program. It is rapidly becoming a state
of the art word processor, with lots of features useful for your daily work,
personal needs, or for just some good old typing fun.")
;; HACKERS: The comment below is here so that it shows up early in the
;; .pot file.
;; TRANSLATORS: Dear translator, We would like to inform you that package
;; descriptions may occasionally include Texinfo markup. Texinfo markup
;; looks like "@code{rm -rf}", "@emph{important}", etc. When translating,
;; please leave markup as is.
(description "AbiWord is a word processing program. It is rapidly
becoming a state of the art word processor, with lots of features useful for
your daily work, personal needs, or for just some good old typing fun.")
(license license:gpl2+)))
+5 -6
View File
@@ -26,6 +26,7 @@
#:use-module (gnu packages perl)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (gnu packages)
#:use-module (guix build-system gnu))
(define-public acl
@@ -39,7 +40,8 @@
version ".src.tar.gz"))
(sha256
(base32
"08qd9s3wfhv0ajswsylnfwr5h0d7j9d4rgip855nrh400nxp940p"))))
"08qd9s3wfhv0ajswsylnfwr5h0d7j9d4rgip855nrh400nxp940p"))
(patches (search-patches "acl-hurd-path-max.patch"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; FIXME: Investigate test suite failures
@@ -58,11 +60,8 @@
(inputs `(("attr" ,attr)))
(native-inputs
`(("gettext" ,gnu-gettext)
("perl" ,perl)
("sed" ,sed)))
(home-page
"http://savannah.nongnu.org/projects/acl")
("perl" ,perl)))
(home-page "http://savannah.nongnu.org/projects/acl")
(synopsis
"Library and tools for manipulating access control lists")
(description
+730 -162
View File
File diff suppressed because it is too large Load Diff
+28 -1
View File
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -20,7 +21,8 @@
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
#:use-module (guix build-system gnu)
#:use-module (gnu packages pkg-config))
(define-public adns
(package
@@ -53,3 +55,28 @@ functionality. The library is asynchronous, allowing several concurrent
calls. The package also includes several command-line utilities for use in
scripts.")
(license gpl3+)))
(define-public c-ares
(package
(name "c-ares")
(version "1.11.0")
(source (origin
(method url-fetch)
(uri (string-append
"http://c-ares.haxx.se/download/" name "-" version
".tar.gz"))
(sha256
(base32
"1z9y1f835dpi1ka2a2vzjygm3djdvr01036ml4l2js6r2xk2wqdk"))))
(build-system gnu-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)))
(home-page "http://c-ares.haxx.se/")
(synopsis "C library for asynchronous DNS requests")
(description
"C-ares is a C library that performs DNS requests and name resolution
asynchronously. It is intended for applications which need to perform DNS
queries without blocking, or need to perform multiple DNS queries in parallel.
The primary examples of such applications are servers which communicate with
multiple clients and programs with graphical user interfaces.")
(license (x11-style "http://c-ares.haxx.se/license.html"))))
+12 -9
View File
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 John Darringon <jmd@gnu.org>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -33,9 +34,10 @@
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/barcode/barcode-"
version ".tar.xz"))
(sha256 (base32
"1indapql5fjz0bysyc88cmc54y8phqrbi7c76p71fgjp45jcyzp8"))))
version ".tar.xz"))
(sha256
(base32
"1indapql5fjz0bysyc88cmc54y8phqrbi7c76p71fgjp45jcyzp8"))))
(build-system gnu-build-system)
(synopsis "Convert text strings to printed bars in various standards")
(description "GNU Barcode is a flexible tool to produce printed barcodes
@@ -48,14 +50,15 @@ formats.")
(define-public qrencode
(package
(name "qrencode")
(version "3.4.3")
(version "3.4.4")
(source (origin
(method url-fetch)
(uri (string-append
"http://fukuchi.org/works/qrencode/qrencode-" version
".tar.bz2"))
(sha256 (base32
"163sb580p570p27imc6jhkfdw15kzp8vy1jq92nip1rwa63i9myz"))))
"https://fukuchi.org/works/qrencode/qrencode-" version
".tar.gz"))
(sha256
(base32
"0wiagx7i8p9zal53smf5abrnh9lr31mv0p36wg017401jrmf5577"))))
(build-system gnu-build-system)
(inputs `(("libpng" ,libpng)))
(native-inputs `(("pkg-config" ,pkg-config)))
@@ -65,4 +68,4 @@ symbol, a kind of 2D symbology that can be scanned by handy terminals such as
a mobile phone with CCD. The capacity of QR Code is up to 7000 digits or 4000
characters, and is highly robust.")
(license license:lgpl2.1+)
(home-page "http://fukuchi.org/works/qrencode")))
(home-page "https://fukuchi.org/works/qrencode")))

Some files were not shown because too many files have changed in this diff Show More