Commit Graph

4661 Commits (04074a95de695a7d4f0d3f4f0aa53e519a193abb)

Author SHA1 Message Date
Alex Kost 4c8425b783 gnu: tzdata: Update to 2014j.
* gnu/packages/base.scm (tzdata): Update to 2014j.
2014-12-07 10:03:15 +03:00
宋文武 fa9d665385 gnu: fish: Use /etc as sysconfdir.
* gnu/packages/fish.scm (fish) [arguments]: Add #:configure-flags.
  [origin]: Add snippet.
2014-12-07 11:52:22 +08:00
Ludovic Courtès 6036453fff gnu: Add libyubikey and ykclient.
* gnu/packages/yubico.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-12-07 00:02:43 +01:00
Ludovic Courtès c9e46f1c39 guix system: Fix typo affecting 'guix system init'.
Fixes <http://bugs.gnu.org/19279>.
Fixes a regression introduced in cc7fa59.
Reported by Tomas Cech <tcech@suse.cz>.

* guix/scripts/system.scm (install): Fix order of arguments to 'lift'
  and 'lift2'.
2014-12-07 00:00:42 +01:00
nebuli 847391fe62 guix: scripts: Parse $GUIX_BUILD_OPTIONS separately.
Appending to "raw" args broke optional parameters in 'guix package -I'
and 'guix package -A', and possibly other places.  Therefore, switch to
parsing each set of options on its own and append resulting alists
together afterwards.

* guix/scripts/archive.scm (parse-options-from): Rename from
  (parse-options) and add explicit argument.  New form of (parse-options)
  using its old algorithm via -from function.
* guix/scripts/build.scm: Ditto.
* guix/scripts/environment.scm: Ditto.
* guix/scripts/package.scm: Ditto.
* guix/scripts/system.scm: Ditto.
* tests/guix-package.sh: Add test.
* doc/guix.texi (Invoking guix build): Make it clear that the options
  are parsed independently.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2014-12-06 16:03:49 +01:00
Ludovic Courtès 6496de9bc2 activation: Don't create unneeded "/var/guix/gcroots/etc-directory".
* gnu/build/activation.scm (activate-etc): Don't create
  "/var/guix/gcroots/etc-directory".
2014-12-06 16:03:49 +01:00
宋文武 4c8d523f93 gnu: fish: Update to 2.1.1.
* gnu/packages/fish.scm (fish): Update to 2.1.1.
2014-12-06 19:09:07 +08:00
Ludovic Courtès 39d1f82b52 system: Make /boot/grub/grub.cfg an indirect GC root.
Fixes <http://bugs.gnu.org/19160>.

* guix/scripts/system.scm (install-grub*): Make /boot/grub/grub.cfg an
  indirect GC root.
* gnu/build/install.scm (install-grub): Make TARGET a symlink.
* gnu/build/vm.scm (register-grub.cfg-root): New procedure.
  (initialize-hard-disk): Use it.
2014-12-04 23:53:16 +01:00
Ludovic Courtès 764ee9e808 nls: Update Hungarian translation. 2014-12-04 23:53:16 +01:00
Ludovic Courtès c3e79cde06 guix system: Factorize 'grub-install' error handling, and use more 'mbegin'.
* guix/scripts/system.scm (install-grub*): New procedure.
  (install): Use it, and use 'mwhen?'.
  (perform-action) <reconfigure>: Likewise.
2014-12-04 23:53:16 +01:00
Federico Beffa bb986599e6 gnu: Add scipy.
* gnu/packages/python.scm (python-scipy, python2-scipy): New variables.
2014-12-04 16:06:40 +01:00
宋文武 65a056900f gnu: Add dmenu.
* gnu/packages/dwm.scm (dmenu): New variable.
2014-12-04 18:51:14 +08:00
Ludovic Courtès f47f676120 gnu: glib: Update to 2.40.2.
* gnu/packages/glib.scm (glib): Update to 2.40.2.
2014-12-03 22:52:19 +01:00
Ludovic Courtès 36d2a3afeb gnu: glib: Work around unreliable GIO test.
Fixes <http://bugs.gnu.org/18445>.

* gnu/packages/patches/glib-tests-gapplication.patch: New file
* gnu/packages/glib.scm (glib)[source]: Add it.
* gnu-system.am (dist_patch_DATA): Add it.
2014-12-03 22:52:19 +01:00
Ludovic Courtès f2122ed1dc gnu: dbus: Update to 1.8.10.
* gnu/packages/glib.scm (dbus): Update to 1.8.10.
  (dbus-1.8.10): Remove.
2014-12-03 22:52:19 +01:00
Ludovic Courtès 845d48e7a1 nls: Add Hungarian translation.
* po/packages/hu.po: New file.
* po/packages/LINGUAS: Add it.
2014-12-03 22:52:19 +01:00
Alex Kost 5ec98c3de5 doc: emacs: Fix typo.
Reported by Ludovic Courtès <ludo@gnu.org>.

* doc/emacs.texi (Emacs Initial Setup): Replace "inbuilt" with "built-in".
2014-12-03 20:25:27 +03:00
John Darrington 1567bb1976 gnu: Add tre (including the agrep utility)
* gnu/packages/tre.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-12-03 11:14:57 +01:00
Alex Kost a7f862e4da doc: emacs: Document autoloading Emacs packages.
* doc/emacs.texi (Emacs Initial Setup): Describe how Emacs packages installed
  in a user profile are autoloaded by "guix.el"
2014-12-02 22:09:24 +03:00
Alex Kost d51cafb041 gnu: emacs: Add autoloads for Emacs packages.
* gnu/packages/emacs.scm (geiser): Make "geiser-autoloads.el" by
  symlinking "geiser-install.el".
  (emacs-w3m): Make "w3m-autoloads.el" by symlinking "w3m-load.el".
  (emms): Make "emms-autoloads.el" by symlinking "emms-auto.el".
  (paredit): Generate "paredit-autoloads.el".
  (magit): Generate "magit-autoloads.el".
  (emacs-wget): Generate "wget-autoloads.el".
2014-12-02 22:09:24 +03:00
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