Commit Graph

11885 Commits

Author SHA1 Message Date
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