Commit Graph

6459 Commits

Author SHA1 Message Date
Alex Kost 0b08600ca5 build: emacs-utils: Add 'emacs-generate-autoloads'.
* guix/build/emacs-utils.scm (emacs-generate-autoloads): New procedure.
2014-12-02 22:09:23 +03:00
Alex Kost 12f2490aa3 emacs: Handle autoloading Emacs packages installed with Guix.
* emacs/guix-emacs.el: New file.
* emacs.am (ELFILES): Add it.
* emacs/guix-backend.el (guix-after-repl-operation-hook): Add
  'guix-emacs-load-autoloads-maybe'.
* emacs/guix-init.el.in: Autoload emacs packages.
  (guix-package-enable-at-startup): New variable.
2014-12-02 22:09:23 +03:00
Alex Kost 3db349cb09 emacs: Move profiles code to "guix-profiles.el.in".
* emacs/guix-base.el (guix-user-profile, guix-default-profile,
  guix-current-profile, guix-profile-prompt, guix-set-current-profile): Move
  to...
* emacs/guix-init.el.in (guix-default-profile): Move to...
* emacs/guix-profiles.el.in: ... here.  New file.
* configure.ac (AC_CONFIG_FILES): Add "emacs/guix-profiles.el".
* emacs.am (nodist_lisp_DATA): Likewise.
2014-12-02 22:09:22 +03:00
Ludovic Courtès ece9b4173b gnu: Add more missing (gnu packages xdisorg) import.
This is a followup to 3c156c8..

* gnu/packages/qemu.scm, gnu/packages/texlive.scm: Use (gnu packages
  xdisorg).
2014-12-02 18:29:55 +01:00
Ludovic Courtès b2b7def1cc gnu: Add missing (gnu packages xdisorg) import.
This is a followup to 3c156c8..

* gnu/packages/gl.scm: Use (gnu packages xdisorg).
2014-12-02 17:47:42 +01:00
Ludovic Courtès 6c0e878e68 gnu: Add missing uses of (gnu packages xdisorg).
This is a followup to 3c156c8.

* gnu/packages/gtk.scm: Use (gnu packages xdisorg).
* gnu/packages/xorg.scm: Likewise.
2014-12-02 17:16:58 +01:00
Ludovic Courtès ec38437f94 packages: Use the target's system Guile when downloading patches.
* guix/packages.scm (patch-and-repack)[patch-inputs]: Pass SYSTEM in
  'package-source-derivation' call.
2014-12-02 16:51:43 +01:00
Ludovic Courtès 7ce7361b76 derivations: Export 'derivation-builder'.
* guix/derivations.scm: Export 'derivation-builder'.
2014-12-02 16:51:43 +01:00
Ludovic Courtès bc73aa439f doc: Adjust misleading 'user-account' example.
Reported by Sleep_Walker on #guix.

* doc/guix.texi (Using the Configuration System): Remove numeric UID and
  GID from example.
2014-12-02 16:51:43 +01:00
Ludovic Courtès b307c06456 monads: Add 'lift0'.
* guix/monads.scm (lift0): New variable.
2014-12-02 16:51:43 +01:00
Ludovic Courtès 21caa6deeb monads: Add 'mwhen' and 'munless'.
* guix/monads.scm (mbegin): Add special '%current-monad' syntactic
  keyword.
  (mwhen, munless): New macros.
2014-12-02 16:51:43 +01:00
Ludovic Courtès cc7fa5929c guix system: Use 'mbegin' for 'install'.
* guix/scripts/system.scm (install): Use 'mbegin'.  Lift FORMAT and
  POPULATE-ROOT-FILE-SYSTEM, and use the result.
2014-12-02 16:51:43 +01:00
Eric Bavier f4c4513d47 gnu: Add gourmet.
* gnu/packages/nutrition.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-12-02 08:35:06 -06:00
Eric Bavier 0b96fb2ac0 gnu: Add python2-pygtk.
* gnu/packages/gtk.scm (python2-pygtk): New variable.
2014-12-02 08:35:06 -06:00
Eric Bavier a1de06b6ab gnu: Add python-pygobject.
* gnu/packages/patches/python2-pygobject-2-gi-info-type-error-domain.patch:
  New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/glib.scm (python-pygobject, python2-pygobject-2): New
  variables.
2014-12-02 08:35:06 -06:00
Eric Bavier fbcfa73074 gnu: Add python-pycairo.
* gnu/packages/gtk.scm (python-pycairo, python2-py2cairo): New variables.
2014-12-02 08:35:06 -06:00
Eric Bavier ea5456c88c gnu: Add python-elib.intl.
* gnu/packages/python.scm (python-elib.intl, python2-elib.intl): New
  variables.
2014-12-02 08:35:06 -06:00
Eric Bavier 1671c07cc7 gnu: Add python-distutils-extra.
* gnu/packages/python.scm (python-distutils-extra, python2-distutils-extra):
  New variables.
2014-12-02 08:35:06 -06:00
Eric Bavier c937562e2f gnu: Add python-pillow.
* gnu/packages/python.scm (python-pillow, python2-pillow): New variables.
2014-12-02 08:35:06 -06:00
Eric Bavier 94914805c2 gnu: Add python-sqlalchemy.
* gnu/packages/python.scm (python-sqlalchemy, python2-sqlalchemy): New
  variables.
2014-12-02 08:35:06 -06:00
Eric Bavier b88e1b0a62 gnu: python: Add sqlite input.
* gnu/packages/patches/python-sqlite-3.8.4-test-fix.patch,
  gnu/packages/patches/python2-sqlite-3.8.4-test-fix.patch: New patches.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/python.scm (python-2)[source]: Add patch.
  [inputs]: Add sqlite.
  (python)[source]: Add patch.
2014-12-02 08:33:31 -06:00
Eric Bavier 7639105b12 gnu: subversion: Fix libtool wrapper execution in hooks.
* gnu/packages/version-control.scm (subversion)[arguments]: New
  'patch-libtool-wrapper-ls phase.
2014-12-02 08:33:30 -06:00
John Darrington de878f1b29 gnu: Add xclip.
* gnu/packages/xdisorg.scm (xclip): New variable.
2014-12-02 15:13:10 +01:00
John Darrington 3c156c8a94 gnu: move xorg to xdisorg
* gnu/packages/xorg.scm (xeyes, pixman, libdrm, libdrm-2.4.33, mtdev):
  Move to ...
* gnu/packages/xdisorg.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-12-02 15:13:10 +01:00
Federico Beffa 2ee8869a69 gnu: Add numpy.
* gnu/packages/python.scm (python-numpy, python2-numpy): New variables.
2014-12-02 11:12:44 +01:00
Ludovic Courtès 4cdec09a39 gnu: bittorrent: Build with 'glib-or-gtk-build-system'.
Fixes <http://bugs.gnu.org/19128>.

* gnu/packages/bittorrent.scm (transmission)[build-system]: Change to
  GLIB-OR-GTK-BUILD-SYSTEM.
  [arguments]: Add #:glib-or-gtk-wrap-excluded-outputs argument.
2014-12-01 22:41:04 +01:00
Ludovic Courtès 73aa8ddb75 build-system/glib-or-gtk: Allow specific outputs to be excluded from wrapping.
* guix/build/glib-or-gtk-build-system.scm (wrap-all-programs): Add
  #:glib-or-gtk-wrap-excluded-outputs parameter and honor it.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build): Add
  #:glib-or-gtk-wrap-excluded-outputs parameter and pass it in BUILDER.
* doc/guix.texi (Build Systems): Mention it.
2014-12-01 22:41:04 +01:00
Ludovic Courtès c8b7569558 build-system/glib-or-gtk: Correctly handle multiple-output packages.
* guix/build/glib-or-gtk-build-system.scm (wrap-all-programs): Move body
  to 'handle-output' inner procedure, and parametrize it by output name
  and directory.  Call it for each element of OUTPUTS.
  (compile-glib-schemas): Likewise.
2014-12-01 22:41:04 +01:00
Ludovic Courtès 4efdabb810 build-system/glib-or-gtk: Use 'for-each' and 'cut' as appropriate.
* guix/build/glib-or-gtk-build-system.scm (wrap-all-programs): Use
  'for-each' instead of 'map' in for-effect contexts.  Use 'cut' instead
  of 'lambda' when appropriate.
2014-12-01 22:41:04 +01:00
Ludovic Courtès 85dbd3dcd0 build-system/glib-or-gtk: Clean up whitespace.
* guix/build/glib-or-gtk-build-system.scm: M-x whitespace-cleanup.
2014-12-01 22:41:04 +01:00
Andreas Enge e823c14918 gnu: libgpg-error: Update to 1.17.
* gnu/packages/gnupg.scm (libgpg-error): Update to 1.17.
2014-12-01 22:39:47 +01:00
Andreas Enge 29cafd17f8 gnu: libtasn1: Update to 4.2.
* gnu/packages/gnutls.scm (libtasn1): Update to 4.2.
2014-12-01 22:35:39 +01:00
Andreas Enge 0bee13a4d9 gnu: parallel: Update to 20141122.
* gnu/packages/parallel.scm (parallel): Update to 20141122.
2014-12-01 22:33:44 +01:00
Andreas Enge fc205802ed gnu: ocrad: Update to 0.24.
* gnu/packages/ocrad.scm (ocrad): Update to 0.24.
2014-12-01 22:32:03 +01:00
Andreas Enge 98a11f81d1 gnu: libmicrohttpd: Update to 0.9.38.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.38.
2014-12-01 22:30:39 +01:00
Andreas Enge 8cb3f90074 gnu: freeipmi: Update to 1.4.6.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.4.6.
2014-12-01 22:24:32 +01:00
Andreas Enge 3de92182a4 gnu: help2man: Update to 1.46.4.
* gnu/packages/man.scm (help2man): Update to 1.46.4.
2014-12-01 22:21:18 +01:00
Andreas Enge bdeb576793 gnu: global: Update to 6.3.3.
* gnu/packages/global.scm (global): Update to 6.3.3.
2014-12-01 22:19:46 +01:00
Andreas Enge 4f7181b5df gnu: ucommon: Update to 6.2.3.
* gnu/packages/telephony.scm (ucommon): Update to 6.2.3.
2014-12-01 21:46:32 +01:00
Andreas Enge d514bedb05 gnu: cd-discid: Fix download location.
* gnu/packages/cdrom.scm (cd-discid): Fix download location.
2014-12-01 21:42:21 +01:00
Ludovic Courtès 7cc7dec139 build-system/gnu: Add 'compress-documentation' phase.
* guix/build/gnu-build-system.scm (compress-documentation): New
  procedure.
  (%standard-phases): Add it.
2014-12-01 16:50:28 +01:00
Ludovic Courtès 9741aca9a5 utils: Add 'symbolic-link?'.
* guix/build/utils.scm (symbolic-link?): New procedure.
2014-12-01 15:46:38 +01:00
Ludovic Courtès d68fe74162 build-system/gnu: Add 'validate-documentation-location' phase.
* guix/build/gnu-build-system.scm (validate-documentation-location): New
  procedure.
  (%standard-phases): Add it.
2014-12-01 14:09:36 +01:00
Eric Bavier a63094a752 gnu: Add git-test-sequence.
* gnu/packages/version-control.scm (git-test-sequence): New variable.
2014-12-01 00:23:24 -06:00
Eric Bavier c7810bd1a8 gnu: Add git-flow.
* gnu/packages/version-control.scm (git-flow, shflags): New variables.
2014-12-01 00:23:23 -06:00
Ludovic Courtès 40b4c6d606 gnu: wpa-supplicant: Remove dependency on DBus.
* gnu/packages/admin.scm (wpa-supplicant): Remove dependency on DBUS.
2014-11-30 23:23:24 +01:00
nebuli 16eb115ef4 guix: scripts: Add GUIX_BUILD_OPTIONS environment handling.
* doc/guix.texi (Invoking guix build): Mention 'GUIX_BUILD_OPTIONS'.
* guix/scripts/archive.scm: (append args (environment-build-options)).
* guix/scripts/build.scm: Ditto.
* guix/scripts/environment.scm: Ditto.
* guix/scripts/package.scm: Ditto.
* guix/scripts/system.scm: Ditto.
* guix/ui.scm (environment-build-options): New function.
* guix/utils.scm (arguments-from-environment-variable): New function.
* tests/guix-build.sh: Add tests.
* test-env.in: Unset GUIX_BUILD_OPTIONS.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2014-11-30 18:54:07 +01:00
Ludovic Courtès 6efc160efe daemon: Default to '--cores=0'.
Suggested by Deck Pickard <deck.r.pickard@gmail.com>.

* nix/nix-daemon/guix-daemon.cc (main): Set 'settings.buildCores' to 0.
* doc/guix.texi (Invoking guix-daemon): Adjust accordingly.
2014-11-30 18:54:07 +01:00
Ludovic Courtès 5f86a66efd doc: Explain that 'file-system' must refer to mapped devices by file name.
* doc/guix.texi (File Systems): Clarify what to do when mapped devices
  are used.
2014-11-30 18:54:07 +01:00
Ludovic Courtès 9cb426b8bf Revert "system: Add a 'needed-for-boot?' field to 'mapped-device'."
This reverts commit 3b09332adf, which
turned out to be a bad idea because we need to have dependency
information between the device-mapping service and the file-system
service that uses it.
2014-11-30 18:54:07 +01:00