Commit graph

8012 commits

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