Commit Graph

4579 Commits

Author SHA1 Message Date
宋文武 02f707c590 system: Add skeleton '.zlogin'.
* gnu/system/shadow.scm (default-skeletons): Add .zlogin.
2014-12-09 18:52:11 +08:00
宋文武 4e2a21d3d2 system: Cleanup bash startup files.
* gnu/system.scm (etc-directory) (bashrc): Rename to 'profile'.
* gnu/system/shadow.scm (default-skeletons): Rename '.bashrc' to
  '.bash_profile'. Don't source /etc/profile.
2014-12-09 18:51:01 +08:00
宋文武 fecbf86eaa gnu: Add libwnck.
* gnu/packages/gnome.scm (libwnck, libwnck-1): New variables.
2014-12-09 18:50:01 +08:00
宋文武 a693bba135 gnu: Add startup-notification.
* gnu/packages/xdisorg.scm (startup-notification): New variable.
2014-12-09 18:50:01 +08:00
Ludovic Courtès 6005bd0700 build: Make sure the installed 'config.go' is newer than 'config.scm'.
Fixes <http://bugs.gnu.org/19317>.
Reported by rekado <rekado@elephly.net>.

* gnu-system.am (install-data-hook): Rename to...
  (set-bootstrap-executable-permissions): ... this.
* Makefile.am (install-data-hook): New target.
2014-12-09 11:44:21 +01:00
Ludovic Courtès 9f6f1aacf6 Thank rekado. 2014-12-09 11:34:24 +01:00
Ludovic Courtès 659a92fc7b doc: Explain how to set the ownership and permissions of /gnu/store.
Fixes <http://bugs.gnu.org/19316>.
Reported by rekado <rekado@elephly.net>.

* doc/guix.texi (Build Environment Setup): Show commands to set the
  ownership and permissions of /gnu/store.
2014-12-09 11:30:26 +01:00
Ludovic Courtès 5f742c84d4 substitute-binary: Add missing newline in download progress report.
Fixes <http://bugs.gnu.org/19313>.
Reported by rekado <rekado@elephly.net>.

* guix/scripts/substitute-binary.scm (guix-substitute-binary)
  <--substitute>: Add 'newline' call.
2014-12-09 11:24:56 +01:00
Ludovic Courtès 6412e58a68 system: Don't make /boot/grub/grub.cfg a symlink to the store.
This would not work when /boot is a separate partition, as reported by
Nikita Karetnikov <nikita@karetnikov.org> in <http://bugs.gnu.org/19220>.
This fixes a regression introduced in 39d1f82.

* gnu/build/install.scm (install-grub): Copy GRUB.CFG instead of
  symlinking it, as was the case before 39d1f82.
* gnu/build/vm.scm (register-grub.cfg-root): Add 'grub.cfg' parameter.
  Make it a permanent GC root instead of an indirect GC root.
  (initialize-hard-disk): Adjust accordingly.
* guix/scripts/system.scm (install-grub*): Replace use of
  'add-indirect-root' by the addition of a permanent GC root in
  %GC-ROOTS-DIRECTORY.
2014-12-09 11:06:50 +01:00
Ludovic Courtès f6d9b3ded7 gnu: Add socat.
* gnu/packages/socat.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-12-08 23:29:23 +01:00
Ludovic Courtès a182e94e25 linux-initrd: Add the 'virtio_console' module for QEMU guests.
* gnu/system/linux-initrd.scm (base-initrd)[virtio-modules]: Add
  "virtio_console".
2014-12-08 23:29:23 +01:00
Federico Beffa c3ea85d110 build-system/python: Add handling of 'propagated-inputs' in
'package-with-explicit-python'.

* guix/build-system/python.scm (package-with-explicit-python): Add mapping for
  'propagated-inputs'.
2014-12-08 09:54:34 +01:00
Federico Beffa 01480b9e1c gnu: atlas: Remove MIPS from 'supported-systems'.
* gnu/packages/maths.scm (atlas): Drop support for "mips64el-linux".
2014-12-08 09:54:34 +01:00
Jason Self e1bdb56e3b gnu: linux-libre: Update to 3.18
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.
2014-12-07 20:52:55 -08:00
Ludovic Courtès 18316d8656 system: Add 'man-db' to '%base-packages'.
Suggested by Tsutsukakushi on #guix.

* gnu/system.scm (%base-packages): Add MAN-DB.
2014-12-07 22:59:46 +01:00
Ludovic Courtès d8b94dbd76 doc: Give example uses of 'deco'.
Suggested by Sleep_Walker on #guix.

* doc/guix.texi (Services): Add 'deco' examples.
2014-12-07 22:55:06 +01:00
Ludovic Courtès 9668b3bb38 nls: Update 'eo' translation. 2014-12-07 21:50:58 +01:00
Ludovic Courtès 0d6a83390d gnu: python2-py2cairo: Fix 'license' field.
* gnu/packages/gtk.scm (python2-py2cairo)[license]: Change to a list of
  <license> (was a list of symbols.)
2014-12-07 12:14:19 +01:00
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