jackhill/guix/guix.git
9 years agodoc: Mention "audio" and "video" groups in configuration template.
Ludovic Courtès [Mon, 10 Nov 2014 21:27:28 +0000 (22:27 +0100)]
doc: Mention "audio" and "video" groups in configuration template.

* gnu/system/os-config.tmpl (users): Add "audio" and "video" groups and
  explain.

9 years agoservices: Add 'user-unmount-service' as an essential service.
Ludovic Courtès [Mon, 10 Nov 2014 21:25:39 +0000 (22:25 +0100)]
services: Add 'user-unmount-service' as an essential service.

* gnu/services/base.scm (user-unmount-service): New procedure.
* gnu/system.scm (essential-services): Use it.
* gnu/system/install.scm (cow-store-service): Mention it in comment.

9 years agosyscalls: Add 'mount-points'.
Ludovic Courtès [Mon, 10 Nov 2014 17:14:20 +0000 (18:14 +0100)]
syscalls: Add 'mount-points'.

* guix/build/syscalls.scm (mount-points): New procedure.
* tests/syscalls.scm ("mount-points"): New test.

9 years agoinstall: Add GRUB to the set of global packages.
Ludovic Courtès [Mon, 10 Nov 2014 14:52:39 +0000 (15:52 +0100)]
install: Add GRUB to the set of global packages.

* gnu/system/install.scm (installation-os)[packages]: Add GRUB.

9 years agonls: Add a few more package modules for translation.
Ludovic Courtès [Mon, 10 Nov 2014 14:38:01 +0000 (15:38 +0100)]
nls: Add a few more package modules for translation.

* po/packages/POTFILES.in: List a few more files.

9 years agolicenses: Add 'silofl1.1'.
Alex Kost [Tue, 28 Oct 2014 06:38:04 +0000 (09:38 +0300)]
licenses: Add 'silofl1.1'.

* guix/licenses.scm (silofl1.1): New variable.

9 years agodoc: Mention 'guix environment' in "Features"; add index entries.
Ludovic Courtès [Mon, 10 Nov 2014 14:11:35 +0000 (15:11 +0100)]
doc: Mention 'guix environment' in "Features"; add index entries.

* doc/guix.texi (Features): Add paragraph about 'guix environment'.
  (Build Systems): Add @cindex.
  (Invoking guix environment): Ditto.

9 years agoUpdate NEWS.
Ludovic Courtès [Mon, 10 Nov 2014 14:00:04 +0000 (15:00 +0100)]
Update NEWS.

9 years agoThank Philip Woods.
Ludovic Courtès [Mon, 10 Nov 2014 13:56:36 +0000 (14:56 +0100)]
Thank Philip Woods.

9 years agodoc: Add "GRUB Configuration".
Ludovic Courtès [Mon, 10 Nov 2014 11:33:50 +0000 (12:33 +0100)]
doc: Add "GRUB Configuration".

* doc/guix.texi (operating-system Reference): Add xref to "GRUB
  Configuration".
  (GRUB Configuration): New node.

9 years agodoc: Avoid @indentedblock, which is not supported by Texinfo 4.
Ludovic Courtès [Sun, 9 Nov 2014 22:23:26 +0000 (23:23 +0100)]
doc: Avoid @indentedblock, which is not supported by Texinfo 4.

Reported by Mark H Weaver.

* doc/guix.texi (Security Updates): Use @quotation instead of
  @indentedblock; the latter is not supported by Texinfo 4.

9 years agoemacs: Improve 'guix-redisplay-buffer'.
Alex Kost [Mon, 10 Nov 2014 12:30:21 +0000 (15:30 +0300)]
emacs: Improve 'guix-redisplay-buffer'.

* emacs/guix-base.el (guix-redisplay-buffer): Allow to display new entries.
  Restore point position.

9 years agoemacs: Add 'guix-find-file'.
Alex Kost [Mon, 10 Nov 2014 12:29:04 +0000 (15:29 +0300)]
emacs: Add 'guix-find-file'.

* emacs/guix-utils.el (guix-find-file): New procedure.
* emacs/guix-info.el (guix-file): Use it.

9 years agoemacs: Restore mode-line after operation prompt.
Alex Kost [Sun, 9 Nov 2014 08:00:35 +0000 (11:00 +0300)]
emacs: Restore mode-line after operation prompt.

* emacs/guix-base.el (guix-operation-prompt): Restore 'mode-line-format' after
  prompting.

9 years agoemacs: Add "c" key binding to copy a button link.
Alex Kost [Sat, 8 Nov 2014 17:13:32 +0000 (20:13 +0300)]
emacs: Add "c" key binding to copy a button link.

* emacs/guix-info.el (guix-info-button-map): New variable.
  (guix-info-button-copy-label): New procedure.
* doc/emacs.texi (Emacs Info buffer): Mention a "c" key binding.
  (Emacs Keymaps): Add 'guix-info-button-map'.

9 years agognu: Add polkit-qt.
Andreas Enge [Mon, 10 Nov 2014 12:15:25 +0000 (13:15 +0100)]
gnu: Add polkit-qt.

* gnu/packages/polkit.scm (polkit-qt): New variable.

9 years agognu: Add guile-sdl.
David Thompson [Sun, 2 Nov 2014 16:55:21 +0000 (11:55 -0500)]
gnu: Add guile-sdl.

* gnu/packages/sdl.scm (guile-sdl): New variable.

9 years agognu: Add sdl-union.
David Thompson [Sun, 2 Nov 2014 16:54:20 +0000 (11:54 -0500)]
gnu: Add sdl-union.

* gnu/packages/sdl.scm (sdl-union): New variable.

9 years agopull: Use the build procedure provided by the newly-downloaded Guix.
Ludovic Courtès [Sun, 9 Nov 2014 21:32:21 +0000 (22:32 +0100)]
pull: Use the build procedure provided by the newly-downloaded Guix.

Fixes <http://bugs.gnu.org/18534>.

* guix/scripts/pull.scm (with-environment-variable, with-PATH): New
  macros.
  (temporary-directory, first-directory, interned-then-deleted): New
  procedures.
  (unpack): Rewrite to do the unpacking in the current process rather
  than as a separate derivation.
  (%self-build-file): New variable.
  (build-from-source): New procedure.
  (build-and-install): Use it.
* guix/build/pull.scm (build-guix): Rename 'tarball' argument to
  'source'.  Remove #:tar and #:gzip parameters, as well as 'tar'
  invocation.  Remove 'scandir' invocation.  Wrap body in
  'with-directory-excursion'.
* build-aux/build-self.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.

9 years agogexp: Add #:module-path parameter to 'gexp->derivation'.
Ludovic Courtès [Sun, 9 Nov 2014 21:19:17 +0000 (22:19 +0100)]
gexp: Add #:module-path parameter to 'gexp->derivation'.

* guix/gexp.scm (gexp->derivation): Add #:module-path parameter, and
  pass it to 'imported-modules' and 'compiled-modules'.
* doc/guix.texi (G-Expressions): Adjust accordingly.

9 years agognu: Re-synchronize a couple of synopses with the Womb.
Ludovic Courtès [Sun, 9 Nov 2014 16:56:02 +0000 (17:56 +0100)]
gnu: Re-synchronize a couple of synopses with the Womb.

* gnu/packages/lisp.scm (gcl): Synchronize synopsis.
* gnu/packages/scheme.scm (mit-scheme): Ditto.

9 years agognu: Add polkit.
Andreas Enge [Sun, 9 Nov 2014 17:55:31 +0000 (18:55 +0100)]
gnu: Add polkit.

* gnu/packages/polkit.scm (polkit): New variable.
* gnu/packages/patches/polkit-drop-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch file.

9 years agognu: Add nspr.
Andreas Enge [Sun, 9 Nov 2014 10:08:54 +0000 (11:08 +0100)]
gnu: Add nspr.

* gnu/packages/polkit.scm (nspr): New variable.

9 years agognu: Add Image::ExitTool.
Ludovic Courtès [Sat, 8 Nov 2014 21:24:08 +0000 (22:24 +0100)]
gnu: Add Image::ExitTool.

* gnu/packages/photo.scm (perl-image-exiftool): New variable.

9 years agosystem: grub: Adjust default theme color.
Ludovic Courtès [Sat, 8 Nov 2014 21:11:56 +0000 (22:11 +0100)]
system: grub: Adjust default theme color.

* gnu/system/grub.scm (%default-theme)[color-highlight]: Change
  foreground to cyan, as suggested by Felipe López.

9 years agognu: ffmpeg-2.2: Update to 2.2.10.
Jason Self [Sat, 8 Nov 2014 15:50:55 +0000 (07:50 -0800)]
gnu: ffmpeg-2.2: Update to 2.2.10.

* gnu/packages/video.scm (ffmpeg-2.2): Update to version 2.2.10.

9 years agognu: ffmpeg: Update to 2.4.3.
Jason Self [Sat, 8 Nov 2014 15:46:44 +0000 (07:46 -0800)]
gnu: ffmpeg: Update to 2.4.3.

* gnu/packages/video.scm (ffmpeg): Update to version 2.4.3.

9 years agoservices: udev: Make /dev/kvm 666 as a workaround.
Ludovic Courtès [Sat, 8 Nov 2014 14:09:43 +0000 (15:09 +0100)]
services: udev: Make /dev/kvm 666 as a workaround.

* gnu/services/base.scm (kvm-udev-rule): Change /dev/kvm mode to 666 to
  work around <http://bugs.gnu.org/18994>.

9 years agosystem: grub: Add preliminary support for themes.
Ludovic Courtès [Sat, 8 Nov 2014 14:07:18 +0000 (15:07 +0100)]
system: grub: Add preliminary support for themes.

* gnu/system/grub.scm (<grub-image>, <grub-theme>): New record types.
  (%artwork-repository, %background-image): New variables.
  (<grub-configuration>)[theme]: New field.
  (svg->png, resize-image, grub-background-image, eye-candy): New
  procedures.
  (grub-configuration-file): Use 'eye-candy' and add it in BUILDER.

9 years agovm: The 'run-vm' scripts now passes its arguments to QEMU.
Ludovic Courtès [Sat, 8 Nov 2014 14:02:48 +0000 (15:02 +0100)]
vm: The 'run-vm' scripts now passes its arguments to QEMU.

* gnu/system/vm.scm (system-qemu-image/shared-store-script): Add "$@" at
  the end of the script.
  (common-qemu-options): Remove trailing newline.
* doc/guix.texi (Invoking guix system): Document it.

9 years agoThank Felipe.
Ludovic Courtès [Sat, 8 Nov 2014 13:41:04 +0000 (14:41 +0100)]
Thank Felipe.

9 years agognu: slim: Update URL.
Ludovic Courtès [Sat, 8 Nov 2014 13:47:05 +0000 (14:47 +0100)]
gnu: slim: Update URL.

Reported by Felipe López <felipe.lopez@openmailbox.org>.

* gnu/packages/slim.scm (slim)[origin, home-page]: Update URL.

9 years agovm: Fix 'vm --full-boot' to produce a sufficient disk image.
Ludovic Courtès [Sat, 8 Nov 2014 13:49:13 +0000 (14:49 +0100)]
vm: Fix 'vm --full-boot' to produce a sufficient disk image.

* gnu/system/vm.scm (system-qemu-image/shared-store): Add
  #:disk-image-size and #:full-boot? parameters and honor them.  Pass
  '#:copy-inputs? full-boot?', and change #:inputs argument.
* guix/scripts/system.scm (system-derivation-for-action): Pass
  #:disk-image-size to 'system-qemu-image/shared-store'.
* doc/guix.texi (Invoking guix system): Mention use of '--image-size' in
  conjunction with '--full-boot'.

9 years agognu: acct: Update to 6.6.2.
Andreas Enge [Sat, 8 Nov 2014 11:16:00 +0000 (12:16 +0100)]
gnu: acct: Update to 6.6.2.
 * gnu/packages/acct.scm (acct): Update to 6.6.2.

9 years agognu: Add mozjs (Mozilla Spidermonkey).
Andreas Enge [Sat, 8 Nov 2014 12:24:21 +0000 (13:24 +0100)]
gnu: Add mozjs (Mozilla Spidermonkey).

* gnu/packages/polkit.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Register new file.

9 years agognu: libassuan: Update to 2.1.3.
Andreas Enge [Sat, 8 Nov 2014 11:12:05 +0000 (12:12 +0100)]
gnu: libassuan: Update to 2.1.3.

* gnu/packages/gnupg.scm (libassuan): Update to 2.1.3.

9 years agognu: grub: Add dependency on GNU Unifont.
Ludovic Courtès [Fri, 7 Nov 2014 23:30:52 +0000 (00:30 +0100)]
gnu: grub: Add dependency on GNU Unifont.

* gnu/packages/grub.scm (unifont): New variable.
  (grub)[arguments]: Copy and unzip Unifont in 'patch-stuff' phase.
  [native-inputs]: Add UNIFONT.

9 years agovm: Support 'guix system vm --full-boot'.
Ludovic Courtès [Fri, 7 Nov 2014 21:43:33 +0000 (22:43 +0100)]
vm: Support 'guix system vm --full-boot'.

* gnu/system/vm.scm (system-qemu-image/shared-store-script): Add
  #:full-boot? parameter and honor it.
* guix/scripts/system.scm (system-derivation-for-action): Likewise.
  (perform-action): Likewise.
  (show-help): Document '--full-boot'.
  (%options): Add '--full-boot'.
  (guix-system): Add #:full-boot? argument in call to 'perform-action'.
* doc/guix.texi (Invoking guix system): Document it.

9 years agodoc: Emphasize the availability of two user interfaces.
Ludovic Courtès [Fri, 7 Nov 2014 20:32:50 +0000 (21:32 +0100)]
doc: Emphasize the availability of two user interfaces.

* doc/guix.texi (Package Management): Add a word about the two user
  interfaces.

9 years agoservices: xorg: Add argv[0] in X invocation.
Ludovic Courtès [Fri, 7 Nov 2014 20:30:36 +0000 (21:30 +0100)]
services: xorg: Add argv[0] in X invocation.

* gnu/services/xorg.scm (xorg-start-command): Add missing argv[0] in
  'execl' call.

9 years agognu: xf86-video-intel: Swap input libdrm with mesa.
Andreas Enge [Fri, 7 Nov 2014 21:41:13 +0000 (22:41 +0100)]
gnu: xf86-video-intel: Swap input libdrm with mesa.

* gnu/packages/xorg.scm (xf86-video-intel): Drop input libdrm, add input
    mesa.

9 years agolint: Allow synopses that start with an abbreviation.
Ludovic Courtès [Fri, 7 Nov 2014 16:44:30 +0000 (17:44 +0100)]
lint: Allow synopses that start with an abbreviation.

* guix/scripts/lint.scm (starts-with-abbreviation?): New procedure.
  (check-synopsis-style)[check-start-with-package-name]: Use it.
* tests/lint.scm ("synopsis: start with abbreviation"): New test.

9 years agolint: Skip starting-article test for the synopses of GNU packages.
Ludovic Courtès [Fri, 7 Nov 2014 16:34:15 +0000 (17:34 +0100)]
lint: Skip starting-article test for the synopses of GNU packages.

* guix/scripts/lint.scm (check-synopsis-style)[check-start-article]:
  Change to (const #t) when PACKAGE matches 'gnu-package?'.

9 years agolint: Tolerate sentences that start with a parenthesis or a quote.
Ludovic Courtès [Fri, 7 Nov 2014 16:32:56 +0000 (17:32 +0100)]
lint: Tolerate sentences that start with a parenthesis or a quote.

* guix/scripts/lint.scm (properly-starts-sentence?): Add (, ", and ' as
  valid beginnings.

9 years agolint: Improve check for synopses starting with package name.
Ludovic Courtès [Fri, 7 Nov 2014 13:09:19 +0000 (14:09 +0100)]
lint: Improve check for synopses starting with package name.

* guix/scripts/lint.scm (package-name-regexp): New procedure.
  (check-synopsis-style)[check-start-with-package-name]: Use it instead
  of 'string-prefix-ci?'.
* tests/lint.scm ("synopsis: start with package name prefix"): New test.

9 years agognu: cppunit: Add missing space in description.
Ludovic Courtès [Fri, 7 Nov 2014 13:04:58 +0000 (14:04 +0100)]
gnu: cppunit: Add missing space in description.

* gnu/packages/check.scm (cppunit)[description]: Add missing space.

9 years agolint: Simplify no-warnings tests.
Ludovic Courtès [Fri, 7 Nov 2014 13:04:02 +0000 (14:04 +0100)]
lint: Simplify no-warnings tests.

* tests/lint.scm ("description: may start with a digit"): Replace
  (not (string-contains exp str)) with (string-null? exp).
  ("description: may start with lower-case package name"): Likewise.
  ("description: end-of-sentence detection with abbreviations"):
  Likewise.
  ("synopsis: may start with a digit"): Likewise.
  ("synopsis: ends with 'etc.'"): Likewise.

9 years agognu: Move pkg-config to 'native-inputs' in various places.
Ludovic Courtès [Fri, 7 Nov 2014 12:49:37 +0000 (13:49 +0100)]
gnu: Move pkg-config to 'native-inputs' in various places.

* gnu/packages/glib.scm (libsigc++): Move pkg-config to
  'native-inputs'.
  (glibmm): Likewise.
* gnu/packages/mpd.scm (mpd): Likewise.
* gnu/packages/package-management.scm (guix-0.7): Likewise.
* gnu/packages/sdl.scm (sdl-net): Likewise.
  (sdl-ttf): Likewise.
* gnu/packages/xiph.scm (vorbis-tools): Likewise.

9 years agoemacs: Add 'guix-prettify'.
Alex Kost [Tue, 4 Nov 2014 16:38:27 +0000 (19:38 +0300)]
emacs: Add 'guix-prettify'.

* emacs/guix-prettify.el: New file.
* emacs.am (ELFILES): Add it.
* doc/emacs.texi (Emacs Prettify): New node.
* doc/guix.texi (Features): Mention it.

9 years agoservices: xorg: Allow users to specify a list of resolutions.
Ludovic Courtès [Thu, 6 Nov 2014 22:54:27 +0000 (23:54 +0100)]
services: xorg: Allow users to specify a list of resolutions.

* gnu/services/xorg.scm (xorg-start-command): Add #:resolutions
  parameter and 'screen-section' procedure.  Use it.
* doc/guix.texi (X Window): Adjust accordingly.

9 years agoservices: xorg: Allow users to specify the drivers to use.
Ludovic Courtès [Thu, 6 Nov 2014 22:20:53 +0000 (23:20 +0100)]
services: xorg: Allow users to specify the drivers to use.

* gnu/services/xorg.scm (xorg-start-command): Add #:drivers parameter.
  Add 'device-section' procedure, and use it in 'xserver.conf'.
* doc/guix.texi (X Window): Document it.

9 years agoservices: xorg: Fix typo in xserver.conf.
Ludovic Courtès [Thu, 6 Nov 2014 22:54:39 +0000 (23:54 +0100)]
services: xorg: Fix typo in xserver.conf.

* gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Add missing
  double-quote in AllowMouseOpenFail.

9 years agognu: Add xf86-video-modesetting.
Ludovic Courtès [Thu, 6 Nov 2014 22:57:38 +0000 (23:57 +0100)]
gnu: Add xf86-video-modesetting.

* gnu/packages/xorg.scm (xf86-video-modesetting): New variable.
* gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Add
  ModulePath line for XF86-VIDEO-MODESETTING, commented out.

9 years agovm: Factorize common QEMU options.
Ludovic Courtès [Thu, 6 Nov 2014 21:58:12 +0000 (22:58 +0100)]
vm: Factorize common QEMU options.

* gnu/system/vm.scm (common-qemu-options): New procedure.
  (system-qemu-image/shared-store-script): Use it.

9 years agovm: Remove unused procedure.
Ludovic Courtès [Thu, 6 Nov 2014 18:26:27 +0000 (19:26 +0100)]
vm: Remove unused procedure.

* gnu/system/vm.scm (input->name+output): Remove.  Its last user
  disappeared in commit b53833b.

9 years agotests: Avoid Bash extension in 'tests/guix-lint.sh'.
Ludovic Courtès [Thu, 6 Nov 2014 17:00:51 +0000 (18:00 +0100)]
tests: Avoid Bash extension in 'tests/guix-lint.sh'.

* tests/guix-lint.sh: Remove redundant and non-portable 'export'.

9 years agognu: ots: Make sure the shared library has the '.so' extension.
Ludovic Courtès [Thu, 6 Nov 2014 13:54:40 +0000 (14:54 +0100)]
gnu: ots: Make sure the shared library has the '.so' extension.

Fixes <http://bugs.gnu.org/18521>.

* gnu/packages/ots.scm (ots)[arguments]: Add #:phases.

9 years agognu: Synchronize descriptions with the Womb.
Ludovic Courtès [Wed, 5 Nov 2014 22:23:38 +0000 (23:23 +0100)]
gnu: Synchronize descriptions with the Womb.

Note: some of these changes undo bits of 35b9e4232.

* gnu/packages/base.scm, gnu/packages/gperf.scm, gnu/packages/guile.scm,
  gnu/packages/libidn.scm, gnu/packages/miscfiles.scm,
  gnu/packages/telephony.scm: Adjust synopses and descriptions as
  suggested by 'make sync-descriptions'.

9 years agosystem: Define 'INFOPATH' in /etc/profile.
Ludovic Courtès [Wed, 5 Nov 2014 21:56:10 +0000 (22:56 +0100)]
system: Define 'INFOPATH' in /etc/profile.

* gnu/system.scm (etc-directory)[bashrc]: Set 'INFOPATH'.

9 years agognu: guix: Update development snapshot.
Ludovic Courtès [Wed, 5 Nov 2014 21:55:15 +0000 (22:55 +0100)]
gnu: guix: Update development snapshot.

* gnu/packages/package-management.scm (guix-devel): Update to commit
  84934f4.

9 years agomonads: Remove unused 'nargs' parameter from 'lift'.
Ludovic Courtès [Wed, 5 Nov 2014 21:25:09 +0000 (22:25 +0100)]
monads: Remove unused 'nargs' parameter from 'lift'.

* guix/monads.scm (lift): Remove 'nargs' parameter.

9 years agobuild: Add missing "emacs/guix-messages.el".
Alex Kost [Wed, 5 Nov 2014 11:00:05 +0000 (14:00 +0300)]
build: Add missing "emacs/guix-messages.el".

* emacs.am (ELFILES): Add "emacs/guix-messages.el".

9 years agoimport: pypi: Gracefully handle wrong argument counts.
Ludovic Courtès [Wed, 5 Nov 2014 17:04:16 +0000 (18:04 +0100)]
import: pypi: Gracefully handle wrong argument counts.

* guix/scripts/import/pypi.scm (guix-import-pypi): Use 'leave' to handle
  cases where ARGS has zero or two or more elements.

9 years agoimport: pypi: Gracefully handle non-existent packages.
Ludovic Courtès [Wed, 5 Nov 2014 16:56:39 +0000 (17:56 +0100)]
import: pypi: Gracefully handle non-existent packages.

Fixes <http://bugs.gnu.org/18831>.
Reported by Ian Denhardt <ian@zenhack.net>.

* guix/import/pypi.scm (url-fetch, json-fetch, pypi-fetch): Augment
  docstring to mention #f on failure.
  (pypi->guix-package): Likewise, and actually return #f on failure.
* guix/scripts/import/pypi.scm (guix-import-pypi): Call 'leave' when
  'pypi->guix-package' returns #f.

9 years agoservices: Add NTP service.
Ludovic Courtès [Wed, 5 Nov 2014 09:13:43 +0000 (10:13 +0100)]
services: Add NTP service.

* gnu/services/networking.scm (ntp-service): New procedure.
* doc/guix.texi (Networking Services): Document it.

9 years agoservices: Increase delay before SIGKILL is sent when halting.
Ludovic Courtès [Wed, 5 Nov 2014 08:35:44 +0000 (09:35 +0100)]
services: Increase delay before SIGKILL is sent when halting.

* gnu/services/base.scm (user-processes-service): Increase the default
  value of 'grace-delay'.  This leaves more time for processes to clean
  up their PID files, /tmp/.X0-lock, etc.

9 years agognu: ntp: Build with POSIX capabilities support on GNU/Linux.
Ludovic Courtès [Wed, 5 Nov 2014 08:27:42 +0000 (09:27 +0100)]
gnu: ntp: Build with POSIX capabilities support on GNU/Linux.

* gnu/packages/ntp.scm (ntp)[inputs]: New field.

9 years agovm: Disable swap devices in virtualized OSes.
Ludovic Courtès [Wed, 5 Nov 2014 08:25:59 +0000 (09:25 +0100)]
vm: Disable swap devices in virtualized OSes.

* gnu/system/vm.scm (virtualized-operating-system): Add 'swap-devices'
  field.

9 years agognu: sdl: Fix home page URLs.
Ludovic Courtès [Tue, 4 Nov 2014 22:57:46 +0000 (23:57 +0100)]
gnu: sdl: Fix home page URLs.

* gnu/packages/sdl.scm (sdl-image, sdl-mixer, sdl-net, sdl-ttf): Prepend
  "http://" to 'home-page'.

9 years agognu: calcurse: Update to 3.2.1.
Eric Bavier [Wed, 5 Nov 2014 03:37:14 +0000 (21:37 -0600)]
gnu: calcurse: Update to 3.2.1.

* gnu/packages/calcurse.scm (calcurse): Update to 3.2.1.

9 years agognu: freeimage: Remove MIPS from supported-systems.
David Thompson [Mon, 3 Nov 2014 23:26:38 +0000 (18:26 -0500)]
gnu: freeimage: Remove MIPS from supported-systems.

* gnu/packages/image.scm (freeimage): Drop support for "mips64el-linux".

9 years agognu: phonon: Update to 4.8.2.
Andreas Enge [Tue, 4 Nov 2014 22:47:11 +0000 (23:47 +0100)]
gnu: phonon: Update to 4.8.2.

* gnu/packages/kde.scm (phonon): Update to 4.8.2.

9 years agognu: xf86-video-ati: Update to 6.14.6.
Andreas Enge [Mon, 3 Nov 2014 12:27:59 +0000 (13:27 +0100)]
gnu: xf86-video-ati: Update to 6.14.6.

* gnu/packages/xorg.scm (xf86-video-ati): Update to 6.14.6 to circumvent
    build failures.

9 years agotests: When a store item is to be deleted, make it statistically unique.
Ludovic Courtès [Tue, 4 Nov 2014 20:11:10 +0000 (21:11 +0100)]
tests: When a store item is to be deleted, make it statistically unique.

Fixes <http://bugs.gnu.org/18935>.
Reported by Mark H Weaver <mhw@netris.org>.

Previously, if tests/nar.scm ran concurrently with tests/gexp.scm, the
store item "foo" containing the string "Hello, world!" could be
deleted (via 'delete-paths') from the tests/nar.scm daemon while the
tests/gexp.scm daemon would still consider it live.

* tests/nar.scm ("restore-file-set (missing signature)"):
  Use (random-text) rather than "Hello, world!", to avoid concurrent
  deletion of store item "foo" used in tests/gexp.scm.

9 years agostore: Invalidate caches once GC has run.
Ludovic Courtès [Tue, 4 Nov 2014 19:55:48 +0000 (20:55 +0100)]
store: Invalidate caches once GC has run.

* guix/store.scm (run-gc): Add calls to 'hash-clear!'.
* tests/store.scm ("add-text-to-store vs. delete-paths",
  "add-to-store vs. delete-paths"): New tests.

9 years agognu: qt: Update to 5.3.2.
Andreas Enge [Tue, 4 Nov 2014 18:10:51 +0000 (19:10 +0100)]
gnu: qt: Update to 5.3.2.

* gnu/packages/qt.scm (qt): Update to 5.3.2. Drop configure flag
    -no-neon, which is not supported any more.

9 years agognu: gcc-4.9: Update to 4.9.2.
Ludovic Courtès [Tue, 4 Nov 2014 17:56:25 +0000 (18:56 +0100)]
gnu: gcc-4.9: Update to 4.9.2.

* gnu/packages/gcc.scm (gcc-4.9): Update to 4.9.2.

9 years agognu: Add GNU adns.
Ludovic Courtès [Tue, 4 Nov 2014 17:20:58 +0000 (18:20 +0100)]
gnu: Add GNU adns.

* gnu/packages/adns.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

9 years agognu: evince: Use 'glib-or-gtk-build-system'.
Ludovic Courtès [Tue, 4 Nov 2014 17:13:04 +0000 (18:13 +0100)]
gnu: evince: Use 'glib-or-gtk-build-system'.

* gnu/packages/gnome.scm (evince)[build-system]: Switch to
  GLIB-OR-GTK-BUILD-SYSTEM.

9 years agognu: gdb: Do not install libopcodes and libbfd.
Ludovic Courtès [Tue, 4 Nov 2014 17:12:28 +0000 (18:12 +0100)]
gnu: gdb: Do not install libopcodes and libbfd.

* gnu/packages/gdb.scm (gdb)[arguments]: Add 'post-install' phase.

9 years agognu: gdb: Update to 7.8.1.
Ludovic Courtès [Tue, 4 Nov 2014 11:18:02 +0000 (12:18 +0100)]
gnu: gdb: Update to 7.8.1.

* gnu/packages/gdb.scm (gdb): Update to 7.8.1.

9 years agognu: Add docbook-xml-4.2
Federico Beffa [Tue, 4 Nov 2014 17:43:08 +0000 (18:43 +0100)]
gnu: Add docbook-xml-4.2

* gnu/packages/docbook.scm (docbook-xml-4.2): New variable.

9 years agognu: Add gnome-themes-standard.
Federico Beffa [Tue, 4 Nov 2014 17:33:32 +0000 (18:33 +0100)]
gnu: Add gnome-themes-standard.

* gnu/packages/gnome.scm (gnome-themes-standard): New variable.

9 years agognu: librsvg: Generate complete loaders.cache including support for SVG.
Federico Beffa [Tue, 4 Nov 2014 17:16:12 +0000 (18:16 +0100)]
gnu: librsvg: Generate complete loaders.cache including support for SVG.

* gnu/packages/gnome.scm (librsvg): Add 'generate-full-cache phase.

9 years agognu: qt: Explicitly link with the dbus library.
Andreas Enge [Tue, 4 Nov 2014 14:41:20 +0000 (15:41 +0100)]
gnu: qt: Explicitly link with the dbus library.

* gnu/packages/qt.scm (qt, qt-4): Add a configure flag to link explicitly
    with dbus.

9 years agodoc: emacs: Fix titles of the printed manuals.
Alex Kost [Tue, 4 Nov 2014 07:20:41 +0000 (10:20 +0300)]
doc: emacs: Fix titles of the printed manuals.

* doc/emacs.texi: Use the proper names of the printed manuals in the
  cross references.

9 years agoemacs: Add interface for comparing generations.
Alex Kost [Sun, 2 Nov 2014 10:58:21 +0000 (13:58 +0300)]
emacs: Add interface for comparing generations.

Suggested by Ludovic Courtès.

* doc/emacs.texi (Emacs List buffer): Document new key bindings.
* emacs/guix-base.el (guix-generation-packages-buffer-name-function,
  guix-generation-packages-update-buffer, guix-output-name-width): New
  variables.
  (guix-generation-file, guix-manifest-file, guix-generation-packages,
  guix-generation-packages-buffer-name-default,
  guix-generation-packages-buffer-name-long,
  guix-generation-packages-buffer-name, guix-generation-packages-buffer,
  guix-generation-insert-package, guix-generation-insert-packages,
  guix-profile-generation-manifest-file,
  guix-profile-generation-packages-buffer): New procedures.
* emacs/guix-list.el: Add key bindings for comparing generations.
  (guix-generation-list-generations-to-compare,
  guix-generation-list-show-added-packages,
  guix-generation-list-show-removed-packages, guix-generation-list-compare,
  guix-generation-list-ediff-manifests, guix-generation-list-diff-manifests,
  guix-generation-list-ediff-packages, guix-generation-list-diff-packages,
  guix-generation-list-ediff, guix-generation-list-diff): New procedures.
* emacs/guix-messages.el (guix-messages): Add 'generation-diff' search type.
  (guix-message-outputs-by-diff): New procedure.
* emacs/guix-utils.el (guix-diff-switches): New variable.
  (guix-diff): New procedure.
* emacs/guix-main.scm (package/output-sexps): Handle 'generation-diff' search
  type.
  (manifest-entry->package-specification,
  manifest-entries->package-specifications, generation-package-specifications,
  generation-package-specifications+paths, generation-difference): New
  procedures.

9 years agoemacs: Improve minibuffer messages.
Alex Kost [Sun, 2 Nov 2014 10:50:27 +0000 (13:50 +0300)]
emacs: Improve minibuffer messages.

* emacs/guix-base.el (guix-messages, guix-result-message): Move to
  'guix-messages.el'.
  (guix-set-buffer, guix-history-call, guix-redisplay-buffer): Adjust for
  the modified 'guix-result-message'.
* emacs/guix-messages.el: New file.
  (guix-redisplay-buffer): Add 'profile' argument.
  (guix-message-string-name, guix-message-string-entry-type,
  guix-message-string-entries, guix-message-packages-by-name,
  guix-message-generations-by-time): New procedures.

9 years agognu: swig: Disable input python.
Andreas Enge [Mon, 3 Nov 2014 21:53:50 +0000 (22:53 +0100)]
gnu: swig: Disable input python.

* gnu/packages/swig.scm (swig): Disable input python. Before, it was not
    taken into account during configure; now that it is found, it fails
    its tests. None of the dependent packages need it.

9 years agognu: swig: Update to 3.0.2.
Andreas Enge [Mon, 3 Nov 2014 20:45:02 +0000 (21:45 +0100)]
gnu: swig: Update to 3.0.2.

* gnu/packages/swig.scm (swig): Update to 3.0.2.

9 years agognu: swig: Update to 2.0.12.
Andreas Enge [Mon, 3 Nov 2014 19:59:28 +0000 (20:59 +0100)]
gnu: swig: Update to 2.0.12.

* gnu/packages/swig.scm (swig): Update to 2.0.12.

9 years agognu: python-wrapper: Propagate input python.
Andreas Enge [Sun, 2 Nov 2014 11:47:32 +0000 (12:47 +0100)]
gnu: python-wrapper: Propagate input python.

* gnu/packages/python.scm (python-wrapper): Propagate input python, so that
    the python libraries are made available as well as the python3 binaries
    without the symbolic links.

9 years agognu: Use version-major+minor in gnome and gtk.
Eric Bavier [Tue, 4 Nov 2014 11:02:51 +0000 (05:02 -0600)]
gnu: Use version-major+minor in gnome and gtk.

* gnu/packages/gnome.scm (gnome-desktop, gnome-doc-utils,
  libgnome-keyring, evince, gsettings-desktop-schemas,
  gnome-icon-theme, libnotify, lipeas, glade, libcroco, libgsf,
  librsvg, libidl, orbit2, gconf, gnome-mime-data, gnome-vfs,
  libgnome, libart-lgpl, libgnomecanvas, libgnomeui, libglade,
  libgnomeprint, libgnomeprintui, libbonoboui, goffice, gnumeric): Use
  version-major+minor.
  (shared-mime-info, hicolor-icon-theme): Wrap long uri lines.
* gnu/packages/gtk.scm (atk, pangox-compat, gtksourceview, gdk-pixbuf,
  at-spi2-core, at-spi2-atk, gtk+-2, gtk+, pangomm, atkmm, gtkmm,
  gtkmm-2): Use version-major+minor.

9 years agopackages: 'package-transitive-supported-systems' accounts for indirect deps.
Ludovic Courtès [Mon, 3 Nov 2014 20:26:48 +0000 (21:26 +0100)]
packages: 'package-transitive-supported-systems' accounts for indirect deps.

Reported by Andreas Enge <andreas@enge.fr>.

* guix/packages.scm (first-value): New macro.
  (package-transitive-supported-systems): Rewrite to traverse all the
  DAG rooted at PACKAGE.
* tests/packages.scm ("package-transitive-supported-systems"): Add 'd'
  and 'e', and test them.

9 years agognu: Add Cython.
Federico Beffa [Mon, 20 Oct 2014 17:52:45 +0000 (19:52 +0200)]
gnu: Add Cython.

* gnu/packages/python.scm (cython, cython2): New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agognu: man-pages: Build sequentially.
Ludovic Courtès [Sun, 2 Nov 2014 22:23:43 +0000 (23:23 +0100)]
gnu: man-pages: Build sequentially.

Fixes <http://bugs.gnu.org/18701>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/man.scm (man-pages)[arguments]: Add #:parallel-build? #f.

9 years agosystem: Allow Linux-libre to find our 'modprobe' command.
Ludovic Courtès [Sun, 2 Nov 2014 22:06:17 +0000 (23:06 +0100)]
system: Allow Linux-libre to find our 'modprobe' command.

Fixes <http://bugs.gnu.org/18525>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/build/activation.scm (activate-modprobe): New procedure.
* gnu/system.scm (modprobe-wrapper): New procedure.
  (operating-system-activation-script): Use both.

9 years agognu: kmod: 'kmod static-nodes' command honors $LINUX_MODULE_DIRECTORY.
Ludovic Courtès [Sun, 2 Nov 2014 21:06:19 +0000 (22:06 +0100)]
gnu: kmod: 'kmod static-nodes' command honors $LINUX_MODULE_DIRECTORY.

* gnu/packages/patches/kmod-module-directory.patch: Add hunk for
  tools/static-nodes.c.  Taken from Nixpkgs, where it was added by
  Eelco Dolstra <eelco.dolstra@logicblox.com>.

9 years agoguix-register: Do not attempt to create NIX_STORE_DIR.
Ludovic Courtès [Sun, 2 Nov 2014 20:38:23 +0000 (21:38 +0100)]
guix-register: Do not attempt to create NIX_STORE_DIR.

Fixes <http://bugs.gnu.org/18689>.
Reported by Philip Woods <elzairthesorcerer@gmail.com>.

* nix/guix-register/guix-register.cc (main): Move 'store' instantiation
  above 'settings.nixStore' assignment.

9 years agopackages: Implement grafts.
Ludovic Courtès [Mon, 27 Oct 2014 17:09:00 +0000 (18:09 +0100)]
packages: Implement grafts.

Thanks to Mark H. Weaver <mhw@netris.org> for insightful discussions
and suggestions.

* guix/packages.scm (<package>)[graft]: New field.
  (patch-and-repack): Invoke 'package-derivation' with #:graft? #f.
  (package-source-derivation): Likewise.  Do not use (%guile-for-build)
  in call to 'patch-and-repack', and we could end up using a grafted
  Guile.
  (expand-input): Likewise, also for 'package-cross-derivation' call.
  (package->bag): Add #:graft? parameter.  Honor it.  Use 'strip-append'
  instead of 'package-full-name'.
  (input-graft, input-cross-graft, bag-grafts, package-grafts): New
  procedures.
  (package-derivation, package-cross-derivation): Add #:graft? parameter
  and honor it.
* gnu/packages/bootstrap.scm (package-with-bootstrap-guile): Add
  recursive call on 'graft'.
* guix/build-system/gnu.scm (package-with-explicit-inputs,
  package-with-extra-configure-variable, static-package): Likewise.
  (gnu-build): Use the ungrafted Guile to avoid full rebuilds.
  (gnu-cross-build): Likewise.
* guix/build-system/cmake.scm (cmake-build): Likewise.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build): Likewise.
* guix/build-system/perl.scm (perl-build): Likewise.
* guix/build-system/python.scm (python-build): Likewise.
* guix/build-system/ruby.scm (ruby-build): Likewise.
* guix/build-system/trivial.scm (guile-for-build): Likewise.
* tests/packages.scm ("package-derivation, direct graft",
  "package-cross-derivation, direct graft", "package-grafts,
  indirect grafts", "package-grafts, indirect grafts, cross",
  "package-grafts, indirect grafts, propagated inputs",
  "package-derivation, indirect grafts"): New tests.
  ("bag->derivation", "bag->derivation, cross-compilation"): Wrap in
  'parameterize'.
* doc/guix.texi (Security Updates): New node.
  (Invoking guix build): Document --no-graft.