Commit Graph

4481 Commits

Author SHA1 Message Date
Ludovic Courtès 7c4885f0d7 linux-modules: Correctly propagate error code from 'init_module'.
* gnu/packages/patches/guile-linux-syscalls.patch (scm_load_linux_module):
  Leave 'errno' unchanged when ERR != 0.
* gnu/build/linux-modules.scm (load-linux-module*): Check for the errno
  value of ARGS to determine whether the module was already loaded.
2014-11-28 15:08:56 +01:00
Ludovic Courtès 08b1990a93 linux-initrd: Remove the ".ko" suffix from module names in 'base-initrd'.
* gnu/system/linux-initrd.scm (base-initrd): Remove the .ko suffix from
  module names.
2014-11-28 00:10:28 +01:00
Ludovic Courtès d7e66f6295 linux-initrd: Remove now redundant module names.
* gnu/system/linux-initrd.scm (base-initrd)[virtio-modules]: Remove
  "virtio.ko" and "virtio_ring.ko".
  [virtio-9p-modules]: Remove "fscache.ko" and "9pnet.ko".
  [linux-modules]: Remove "libahci.ko".
2014-11-28 00:10:28 +01:00
Ludovic Courtès 0e704a2d4e linux-boot: Load modules and their dependencies, à la 'modprobe'.
* gnu/build/linux-boot.scm: Use (gnu build linux-modules).
  (load-linux-module*): Remove.
  (boot-system): Add #:linux-module-directory parameter.
  [lookup-module]: New procedure.
  Call 'current-module-debugging-port'.  Pass #:lookup-module to
  'load-linux-module*'.  Map LOOKUP-MODULE on LINUX-MODULES.
* gnu/system/linux-initrd.scm (base-initrd): Adjust 'boot-system' call
  accordingly.  Adjust #:modules argument as well.
* gnu/system.scm (operating-system-activation-script)[%modules]: Likewise.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
2014-11-28 00:10:28 +01:00
Ludovic Courtès 600c285b63 linux-initrd: Copy modules and their dependencies to the initrd.
* gnu/system/linux-initrd.scm (flat-linux-module-directory)[build-exp]:
  Add 'lookup' procedure.  Use 'recursive-module-dependencies' to
  compute the list of modules to copy.
  Adjust #:modules parameter.
2014-11-28 00:10:28 +01:00
Ludovic Courtès fcaa5f44a1 system: Add (gnu build linux-modules).
* gnu/build/linux-modules.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-11-28 00:10:28 +01:00
Ludovic Courtès d5d1668630 Add (guix elf).
* guix/elf.scm: New file.  Taken from Guile 'master', commit 3f826e3.
* Makefile.am (MODULES): Add it.
* THANKS: Thank Andy, who wrote this module.
2014-11-28 00:10:28 +01:00
Ludovic Courtès 1f6f57df7c doc: Update stale references in "Bootstrapping".
* doc/guix.texi (Bootstrapping): Final definitions are in (gnu packages
  commencement).
  Change gnu-build-system xref to "Build Systems".
2014-11-28 00:10:27 +01:00
Ludovic Courtès d616c05529 substitute-binary: Change "unresponsive" to "slow".
* guix/scripts/substitute-binary.scm (fetch): Change "unresponsive" to
  "somewhat slow".  I'm being told that the former is often
  misunderstood as "broken".
2014-11-28 00:10:27 +01:00
Andreas Enge 4625141126 gnu: gcl: Drop 'strip phase.
* gnu/packages/lisp.scm (gcl): Drop 'strip phase to make maxima build.
2014-11-27 23:34:46 +01:00
Federico Beffa ec00de358e gnu: Add numpydoc.
* gnu/packages/python.scm (python-numpydoc, python2-numpydoc): New variables.
2014-11-27 09:50:47 +01:00
Ludovic Courtès 598e19dca1 system: Build system-wide locale definitions.
* gnu/system/locale.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/system.scm (<operating-system>)[locale]: Change the default to
  "en_US.utf8".
  (operating-system-locale-directory): New procecure.
  (operating-system-derivation): Use it.
* doc/guix.texi (Using the Configuration System): Change example locale
  to "fr_FR.utf8".
  (operating-system Reference): Add xref to "Locales".  Document
  'locale-definitions'.
  (Locales): New section.
* po/guix/POTFILES.in: Add gnu/system.scm.
2014-11-27 08:55:46 +01:00
Andreas Enge 9b4d1e7321 gnu: ccrtp: Update to 2.1.1.
* gnu/packages/telephony.scm (ccrtp): Update to 2.1.1.
2014-11-26 21:29:42 +01:00
Alex Kost cbbc877134 emacs: Add missing directory to the guile load path.
Reported by Adam Pribyl and David Thompson.

* emacs/guix-helper.scm.in (set-paths!): Add guile module dir to '%load-path'.
2014-11-26 23:07:16 +03:00
Andreas Enge d57b88bed5 Update gnupg mirrors.
* guix/download.scm (%mirrors): Update mirror list for gnupg.
2014-11-26 19:52:11 +01:00
Andreas Enge e26e134b4a gnu: ucommon: Update to 6.2.2.
* gnu/packages/telephony.scm (ucommon): Update to 6.2.2.
2014-11-26 14:56:51 +01:00
Andreas Enge 07ba213a39 gnu: sipwitch: Update to 1.9.3.
* gnu/packages/telephony.scm (sipwitch): Update to 1.9.3.
2014-11-26 14:56:51 +01:00
Ludovic Courtès 67979e42c3 linux-boot: Call 'pre-mount' before 'mount-root-file-system'.
Partly fixes <http://bugs.gnu.org/19190>.
Reported by Nikita Karetnikov <nikita@karetnikov.org>.

* gnu/build/linux-boot.scm (boot-system): Move PRE-MOUNT call before
  'mount-root-file-system' is called.
2014-11-26 11:58:06 +01:00
Ludovic Courtès 76bacc8264 linux-boot: Error out when 'pre-mount' returns #f.
* gnu/build/linux-boot.scm (boot-system): Call 'error' when PRE-MOUNT
  returns #f.
2014-11-26 11:54:21 +01:00
Ludovic Courtès 2d2a2bacc0 gnu: emms: Enable the 'mp3info' back-end for MP3 meta-data.
* gnu/packages/emacs.scm (emms)[arguments]: Properly initialize
  'emms-info-mp3info-program-name'.  This allows the 'emms-info-mp3info'
  back-end to be enabled by default, even when 'mp3info' is not in
  $PATH.
2014-11-26 09:24:06 +01:00
Ludovic Courtès 588a781396 gnu: pkg-config: Add pkg.m4 to the cross pkg-config.
Suggested by John Darrington.

* gnu/packages/pkg-config.scm (cross-pkg-config): Make
  $out/share/aclocal a symlink to %PKG-CONFIG/share/aclocal.
2014-11-25 23:12:42 +01:00
Ludovic Courtès 90fad2880d emacs: Disable build traces produced by the daemon.
* emacs/guix-main.scm (process-package-actions,
  package-source-build-derivation): Pass #:print-build-trace #f to
  'set-build-options', to reduce verbosity.
2014-11-25 23:01:48 +01:00
Andreas Enge e43c2a0b89 gnu: gss: Update to 1.0.3.
* gnu/packages/gsasl.scm (gss): Update to 1.0.3.
2014-11-25 22:47:51 +01:00
Ludovic Courtès f6526eb330 guix build: Add '--max-jobs' option.
Suggested by Deck Pickard <deck.r.pickard@gmail.com>.

* guix/scripts/build.scm (show-build-options-help): Document
  --max-jobs.
  (set-build-options-from-command-line): Pass #:max-build-jobs.
  (%standard-build-options): Add --max-jobs.
* doc/guix.texi (Invoking guix-daemon): Document the meaning of
  '--max-jobs 0'.
  (Invoking guix build): Document --max-jobs, with a reference to
  "Invoking guix-daemon'.
2014-11-25 22:37:44 +01:00
Taylan Ulrich Bayırlı/Kammer 1b366ee4f6 doc: Fix syntax errors.
* doc/guix.texi (Package Naming):
  (Fonts): Remove space between '@foo' and '{'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-25 22:37:44 +01:00
Federico Beffa 15bfe6d635 gnu: Add pyparsing.
* gnu/packages/python.scm (python-pyparsing, python2-pyparsing): New
  variables.
2014-11-25 22:04:38 +01:00
Ludovic Courtès a82bec4e89 gnu: Remove #:select on circular dependency.
* gnu/packages/mp3.scm: Remove #:select on (gnu packages linux) so that
  the circular dependency is correctly handled.
2014-11-25 21:49:20 +01:00
Ludovic Courtès 77c9286d4a gnu: Add EMMS.
* gnu/packages/emacs.scm (emms): New variable.
2014-11-25 18:01:59 +01:00
Ludovic Courtès 4d6b879cb5 file-systems: 'file-system-needed-for-boot?' always returns #t for "/".
Reported by Nikita Karetnikov.

* gnu/system/file-systems.scm (<file-system>): Rename 'needed-for-boot?'
  accessor to '%file-system-needed-for-boot?'.
  (file-system-needed-for-boot?): New inlinable procedure.
* gnu/system.scm (other-file-system-services)[file-systems]: Rely on
  'file-system-needed-for-boot?' to handle the "/" case.
  (operating-system-initrd-file)[boot-file-systems]: Likewise.
2014-11-25 18:01:59 +01:00
Ludovic Courtès 6eef465eea gnu: libksba: Update to 1.3.2 [security fix].
* gnu/packages/gnupg.scm (libksba): Update to 1.3.2.
2014-11-25 18:01:59 +01:00
Ludovic Courtès c63bc533c1 build: Bump version number.
* configure.ac: Bump to 0.9.
2014-11-25 18:01:59 +01:00
Ludovic Courtès db84467a90 install: Add wpa-supplicant to the image.
Reported by Amirouche Boubekki <amirouche.boubekki@gmail.com>.

* gnu/system/install.scm (installation-os)[packages]: Add
  WPA-SUPPLICANT.
2014-11-25 18:01:59 +01:00
Ludovic Courtès 086518ddf3 gnu: Add TagLib.
* gnu/packages/mp3.scm (taglib): New variable.
2014-11-25 18:01:59 +01:00
Ludovic Courtès 0ae332d3ef licenses: Add MPL 1.1.
* guix/licenses.scm (mpl1.1): New variable.
2014-11-25 18:01:59 +01:00
Ludovic Courtès 68ff528c75 gnu: Add mp3info.
* gnu/packages/mp3.scm (mp3info): New variable.
2014-11-25 18:01:59 +01:00
Ludovic Courtès 2cdda52b1a import: gnu: Write the hash in nix-base32 format.
* guix/import/gnu.scm (gnu-package->sexp): Use
  'bytevector->nix-base32-string', not 'bytevector->base32-string'.
2014-11-25 18:01:59 +01:00
Andreas Enge e6c1e91d8b gnu: gcl: Update to 2.6.12.
* gnu/packages/lisp.scm (gcl): Update to 2.6.12.
2014-11-25 08:55:26 +01:00
Federico Beffa 0da9853360 gnu: Add numpy-bootstrap.
* gnu/packages/python.scm (python-numpy-bootstrap, python2-numpy-bootstrap):
  New file-local variables.
2014-11-24 22:22:20 +01:00
Taylan Ulrich B 2d8dc79c1e gnu: Add rTorrent.
* gnu/packages/bittorrent.scm (rtorrent): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-24 22:01:47 +01:00
Ludovic Courtès df66fee79a gnu: Add libTorrent.
* gnu/packages/bittorrent.scm (libtorrent): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-24 22:01:08 +01:00
Julien Lepiller e8435c4d28 gnu: Add claws-mail.
* gnu/packages/mail.scm (claws-mail): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-24 21:52:39 +01:00
Julien Lepiller f58f767b6d gnu: Add libetpan.
* gnu/packages/mail.scm (libetpan): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-24 21:52:39 +01:00
Ludovic Courtès aaa3eaa97e doc: Add detailed node listing.
* doc/guix.texi (Top): Add @detailmenu.
2014-11-24 21:52:39 +01:00
宋文武 98e9e22feb gnu: Add getmail.
* gnu/packages/mail.scm (getmail): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-24 21:52:39 +01:00
Ludovic Courtès 20dd519cdb doc: Add xrefs to the lsh manual.
Suggested by Adam Pribyl <pribyl@lowlevel.cz>.

* gnu/services/ssh.scm (lsh-service): Update docstring with xrefs to
  the lsh manual.  Fix typos.
* doc/guix.texi (Networking Services): Synchronize.
2014-11-24 21:52:39 +01:00
Alex Kost 1619111731 gnu: Add 'font-liberation'.
* gnu/packages/fonts.scm (font-liberation): New variable.
2014-11-24 23:18:50 +03:00
Federico Beffa faef3b153a gnu: xfig: Add 'wrap-xfig phase.
* gnu/packages/xfig.scm (xfig): Set XAPPLRESDIR environment variable to help
  xfig find the app-defaults resource files.
2014-11-24 18:28:52 +01:00
Alex Kost fa1e31b8a5 doc: Fix typos.
* doc/guix.texi (Base Services): Fix 'lsh-service' name.
  (Networking Services): Fix (gnu services networking) module name.
2014-11-24 01:55:00 +03:00
Andreas Enge 47757541b9 gnu: vera: Update to 1.22.
* gnu/packages/dictionaries.scm (vera): Update to 1.22.
2014-11-23 22:13:13 +01:00
Andreas Enge 723fa420b4 gnu: ddrescue: Update to 1.19.
* gnu/packages/disk.scm (ddrescue): Update to 1.19.
2014-11-23 22:13:13 +01:00