jackhill/guix/guix.git
9 years agoMove part of (gnu build linux-boot) to (gnu build file-systems).
Ludovic Courtès [Wed, 3 Sep 2014 12:19:51 +0000 (14:19 +0200)]
Move part of (gnu build linux-boot) to (gnu build file-systems).

* gnu/build/linux-boot.scm (%ext2-endianness, %ext2-sblock-magic,
  %ext2-sblock-creator-os, %ext2-sblock-uuid, %ext2-sblock-volume-name,
  read-ext2-superblock, ext2-superblock-uuid,
  ext2-superblock-volume-name, disk-partitions,
  partition-label-predicate, find-partition-by-label,
  canonicalize-device-spec, MS_RDONLY, MS_NOSUID, MS_NODEV, MS_NOEXEC,
  MS_BIND, MS_MOVE, bind-mount, check-file-system,
  mount-flags->bit-mask, mount-file-system): Move to...
* gnu/build/file-systems.scm: ... here.  New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/services/base.scm: Use (gnu build file-systems).
* gnu/services/dmd.scm (dmd-configuration-file): Likewise.
* gnu/system.scm (operating-system-activation-script): Likewise.
* gnu/system/linux-initrd.scm (base-initrd): Likewise.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.

9 years agoRename (gnu build linux-initrd) to (gnu build linux-boot).
Ludovic Courtès [Wed, 3 Sep 2014 09:14:12 +0000 (11:14 +0200)]
Rename (gnu build linux-initrd) to (gnu build linux-boot).

* gnu/build/linux-initrd.scm: Rename to...
* gnu/build/linux-boot.scm: ... this.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/build/activation.scm, gnu/build/vm.scm, gnu/services/base.scm,
  gnu/services/dmd.scm, gnu/system.scm, gnu/system/linux-initrd.scm,
  gnu/system/vm.scm: Adjust accordingly.

9 years agoMove operating system helpers from (guix build …) to (gnu build …).
Ludovic Courtès [Wed, 3 Sep 2014 08:47:05 +0000 (10:47 +0200)]
Move operating system helpers from (guix build …) to (gnu build …).

* guix/build/activation.scm, guix/build/install.scm,
  guix/build/linux-initrd.scm, guix/build/vm.scm: Move to...
* gnu/build: ... here.
* Makefile.am (MODULES): Remove the above guix/build/ files.
* gnu-system.am (GNU_SYSTEM_MODULES): Add the above gnu/build/ files
  here.
* gnu/services/base.scm, gnu/services/dmd.scm, gnu/system.scm,
  gnu/system/linux-initrd.scm, gnu/system/vm.scm,
  guix/scripts/system.scm: Adjust to the new module names.

9 years agodoc: Mention 'guix lint' and '--list-dependent' in 'HACKING'.
Ludovic Courtès [Wed, 3 Sep 2014 08:41:13 +0000 (10:41 +0200)]
doc: Mention 'guix lint' and '--list-dependent' in 'HACKING'.

* HACKING (Submitting Patches): Mention 'guix lint' and 'guix refresh
  --list-dependent'.

9 years agoguix lint: Remove "guix lint: " prefix from warnings.
Ludovic Courtès [Wed, 3 Sep 2014 07:01:28 +0000 (09:01 +0200)]
guix lint: Remove "guix lint: " prefix from warnings.

This allows editors to parse warnings correctly.

* guix/scripts/lint.scm (emit-warning): Use 'format' instead of
  'warning', to avoid the "guix lint: " prefix in messages.
* tests/lint.scm (call-with-warnings): Indent.

9 years agognu: Add postgresql.
David Thompson [Tue, 2 Sep 2014 23:06:45 +0000 (19:06 -0400)]
gnu: Add postgresql.

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

9 years agoscripts: add guix lint
Cyril Roelandt [Mon, 1 Sep 2014 00:13:21 +0000 (02:13 +0200)]
scripts: add guix lint

* guix/scripts/lint.scm: New file. Defines a 'lint' tool for Guix packages.
* tests/lint.scm: New file.
* Makefile.am (MODULES, SCM_TESTS): Add them.
* po/guix/Makevars: Update appropriately.
* po/guix/POTFILES.in: Update appropriately.
* doc/guix.texi: Document "guix lint".

9 years agoMove specification->package to gnu/packages.scm.
Cyril Roelandt [Sun, 31 Aug 2014 23:45:09 +0000 (01:45 +0200)]
Move specification->package to gnu/packages.scm.

* guix/scripts/build.scm (specification->package): Move from here...
* gnu/packages.scm: ... to here.

9 years agodaemon: Do not use 'vfork'.
Ludovic Courtès [Tue, 2 Sep 2014 20:52:45 +0000 (22:52 +0200)]
daemon: Do not use 'vfork'.

This fixes random EBADF errors in the daemon on ancient Linux kernels
such as version 2.6.32.

* config-daemon.ac: Remove detection of 'vfork'.

9 years agognu: Add nvi.
Marek Benc [Tue, 2 Sep 2014 13:18:20 +0000 (15:18 +0200)]
gnu: Add nvi.

* gnu/packages/nvi.scm: New file.
* gnu/packages/patches/nvi-assume-preserve-path.patch: New file.
* gnu-system.am: Add them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agoprofiles: Report version numbers in a separate column.
Ludovic Courtès [Tue, 2 Sep 2014 19:25:57 +0000 (21:25 +0200)]
profiles: Report version numbers in a separate column.

* guix/profiles.scm (manifest-show-transaction)[package-strings,
  upgrade-strings]: Show version number in separate column.  Show OUTPUT
  in first column, and only when it's different from "out".

9 years agoprofiles: Report the old and new version number in upgrades.
Ludovic Courtès [Tue, 2 Sep 2014 19:12:59 +0000 (21:12 +0200)]
profiles: Report the old and new version number in upgrades.

* guix/profiles.scm (manifest-lookup): New procedure.
  (manifest-installed?): Use it.
  (manifest-transaction-effects): Return a pair of entries for upgrades.
  (right-arrow): New procedure.
  (manifest-show-transaction)[upgrade-string, →]: New variables.
  Report upgrades using 'upgrade-string'.
* tests/profiles.scm ("manifest-show-transaction"): New test.
  ("manifest-transaction-effects"): Match UPGRADE against a pair.

9 years agodoc: Update "Installing Guix from Guix".
Ludovic Courtès [Tue, 2 Sep 2014 15:44:56 +0000 (17:44 +0200)]
doc: Update "Installing Guix from Guix".

* README: Make 'guix package' command line more readable.  Mention
  --localstatedir.

9 years agognu: ucommon: Update to 6.1.10.
Ludovic Courtès [Mon, 1 Sep 2014 22:01:38 +0000 (00:01 +0200)]
gnu: ucommon: Update to 6.1.10.

* gnu/packages/telephony.scm (ucommon): Update to 6.1.10.

9 years agognu: libtasn1: Update to 4.1.
Ludovic Courtès [Mon, 1 Sep 2014 22:01:11 +0000 (00:01 +0200)]
gnu: libtasn1: Update to 4.1.

* gnu/packages/gnutls.scm (libtasn1): Update to 4.1.

9 years agognu: datamash: Update to 1.0.6.
Ludovic Courtès [Mon, 1 Sep 2014 21:57:05 +0000 (23:57 +0200)]
gnu: datamash: Update to 1.0.6.

* gnu/packages/datamash.scm (datamash): Update to 1.0.6.

9 years agognu: parallel: Update to 20140822.
Ludovic Courtès [Mon, 1 Sep 2014 21:56:01 +0000 (23:56 +0200)]
gnu: parallel: Update to 20140822.

* gnu/packages/parallel.scm (parallel): Update to 20140822.

9 years agognu: help2man: Update to 1.46.1.
Ludovic Courtès [Mon, 1 Sep 2014 21:55:23 +0000 (23:55 +0200)]
gnu: help2man: Update to 1.46.1.

* gnu/packages/man.scm (help2man): Update to 1.46.1.

9 years agodoc: Clarify system installation and configuration details.
Ludovic Courtès [Mon, 1 Sep 2014 21:25:44 +0000 (23:25 +0200)]
doc: Clarify system installation and configuration details.

Reported by leth on #guix.

* doc/guix.texi (System Installation): Suggest running 'reboot' instead
  of 'umount /mnt'.
  (Initial RAM Disk): Add xref to SRFI-26.

9 years agosync-with-upstream: Generate 'nix/AUTHORS'.
Ludovic Courtès [Mon, 1 Sep 2014 21:00:42 +0000 (23:00 +0200)]
sync-with-upstream: Generate 'nix/AUTHORS'.

* nix/sync-with-upstream: Use 'git shortlog' to generate nix/AUTHORS.

9 years agoThank Frederico.
Ludovic Courtès [Sun, 31 Aug 2014 20:20:20 +0000 (22:20 +0200)]
Thank Frederico.

9 years agognu: gcc-toolchain: Inherit GCC's search path specifications.
Ludovic Courtès [Sun, 31 Aug 2014 20:18:47 +0000 (22:18 +0200)]
gnu: gcc-toolchain: Inherit GCC's search path specifications.

Reported by Federico Beffa <beffa@ieee.org>.

* gnu/packages/commencement.scm (gcc-toolchain): Add
  'native-search-paths' and 'search-paths' fields.

9 years agoguix package: Fix search path lookup when an obsolete version is installed.
Ludovic Courtès [Sun, 31 Aug 2014 20:17:56 +0000 (22:17 +0200)]
guix package: Fix search path lookup when an obsolete version is installed.

Before that, 'guix package --search-paths' would not work if, say,
'foo-0.2' is installed but the distro provides 'foo-0.3'.

* guix/scripts/package.scm (search-path-environment-variables)[manifest-entry->package]:
  Handle the case where 'find-best-packages-by-name' returns '().

9 years agodaemon: Rename '--disable-store-optimization' to '--disable-deduplication'.
Ludovic Courtès [Sun, 31 Aug 2014 12:29:09 +0000 (14:29 +0200)]
daemon: Rename '--disable-store-optimization' to '--disable-deduplication'.

* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_DISABLE_STORE_OPTIMIZATION):
  Rename to...
  (GUIX_OPT_DISABLE_DEDUPLICATION): ... this.  Adjust user accordingly.
  (options): Add "disable-deduplication".  Make
  "disable-store-optimization" a hidden alias.
* doc/guix.texi (Invoking guix-daemon): Adjust to new option name.  Add
  index entry.  Improve description.

9 years agodaemon: Really enable automatic deduplication by default.
Ludovic Courtès [Sun, 31 Aug 2014 12:43:38 +0000 (14:43 +0200)]
daemon: Really enable automatic deduplication by default.

* nix/nix-daemon/guix-daemon.cc (main): Set 'autoStoreOptimise' to
  true.  Add 'printMsg' call.
* tests/derivations.scm ("identical files are deduplicated"): New test.

9 years agoprofiles: Compute transaction effects in a functional way.
Ludovic Courtès [Sat, 30 Aug 2014 19:52:32 +0000 (21:52 +0200)]
profiles: Compute transaction effects in a functional way.

* guix/profiles.scm (manifest-transaction-effects): New procedure.
  (manifest-show-transaction): Use it instead of locally computing it.
* tests/profiles.scm (glibc): New variable.
  ("manifest-transaction-effects"): New test.

9 years agooffload: Ignore EEXIST when registering a .drv as a GC root.
Ludovic Courtès [Fri, 29 Aug 2014 12:53:15 +0000 (14:53 +0200)]
offload: Ignore EEXIST when registering a .drv as a GC root.

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

* guix/scripts/offload.scm (register-gc-root)[script]: Wrap 'symlink'
  call in "catch 'system-error", and ignore EEXIST errors.

9 years agooffload: Ignore unreachable machines.
Ludovic Courtès [Fri, 29 Aug 2014 12:37:58 +0000 (14:37 +0200)]
offload: Ignore unreachable machines.

Fixes <http://bugs.gnu.org/18070>.
Reported by Andreas Enge <andreas@enge.fr>.

* guix/scripts/offload.scm (remote-pipe): Augment docstring.
  (machine-load): Return +inf.0 instead of 1 if MACHINE does not respond
  or responds badly.

9 years agognu: Add nss-mdns.
Ludovic Courtès [Fri, 29 Aug 2014 12:13:26 +0000 (14:13 +0200)]
gnu: Add nss-mdns.

* gnu/packages/avahi.scm (nss-mdns): New variable.

9 years agodoc: %final-inputs is now in (gnu packages commencement).
Mark H Weaver [Thu, 28 Aug 2014 17:58:58 +0000 (13:58 -0400)]
doc: %final-inputs is now in (gnu packages commencement).

* doc/guix.texi (Bootstrapping): Adjust the text to reflect that
  '%final-inputs' is now in (gnu packages commencement).

9 years agohydra: Adjust to (gnu packages commencement) split from (gnu packages base).
Mark H Weaver [Thu, 28 Aug 2014 17:57:08 +0000 (13:57 -0400)]
hydra: Adjust to (gnu packages commencement) split from (gnu packages base).

* build-aux/hydra/gnu-system.scm: Import (gnu packages commencement).

9 years agognu: Add perl-archive-zip.
John Darrington [Thu, 28 Aug 2014 16:20:13 +0000 (18:20 +0200)]
gnu: Add perl-archive-zip.

* gnu/packages/perl.scm (perl-archive-zip): New variable.

9 years agognu: Add bison-2.7
John Darrington [Tue, 26 Aug 2014 18:09:06 +0000 (20:09 +0200)]
gnu: Add bison-2.7

* gnu/packages/bison.scm (bison-2.7): New variable.
  Bison 3.x and 2.x are incompatible.  Some programs require 2.x

9 years agognu: libwebsockets: Update to 1.3.
Ludovic Courtès [Thu, 28 Aug 2014 09:38:12 +0000 (11:38 +0200)]
gnu: libwebsockets: Update to 1.3.

* gnu/packages/web.scm (libwebsockets): Update to 1.3.  Switch to
  CMAKE-BUILD-SYSTEM.  Remove #:phases parameter and add #:tests?.
  Remove AUTOCONF, AUTOMAKE, and LIBTOOL from 'native-inputs'.

9 years agognu: Add Guile-Charting.
Ludovic Courtès [Thu, 28 Aug 2014 08:09:28 +0000 (10:09 +0200)]
gnu: Add Guile-Charting.

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

9 years agognu: guile-cairo: Propagate Cairo.
Ludovic Courtès [Thu, 28 Aug 2014 08:06:48 +0000 (10:06 +0200)]
gnu: guile-cairo: Propagate Cairo.

* gnu/packages/gtk.scm (guile-cairo): Move CAIRO to 'propagated-inputs'.

9 years agognu: Split (gnu packages base), adding (gnu packages commencement).
Ludovic Courtès [Tue, 26 Aug 2014 22:25:17 +0000 (00:25 +0200)]
gnu: Split (gnu packages base), adding (gnu packages commencement).

* gnu/packages/base.scm (gnu-make-boot0, diffutils-boot0,
  findutils-boot0, %boot0-inputs, nix-system->gnu-triplet, boot-triplet,
  binutils-boot0, gcc-boot0, perl-boot0, linux-libre-headers-boot0,
  texinfo-boot0, %boot1-inputs, glibc-final-with-bootstrap-bash,
  cross-gcc-wrapper, static-bash-for-glibc, glibc-final,
  gcc-boot0-wrapped, %boot2-inputs, binutils-final, libstdc++,
  gcc-final, ld-wrapper-boot3, %boot3-inputs, bash-final, %boot4-inputs,
  guile-final, gnu-make-final, ld-wrapper, coreutils-final, grep-final,
  %boot5-inputs, %final-inputs, canonical-package, gcc-toolchain,
  gcc-toolchain-4.8, gcc-toolchain-4.9): Move to...
* gnu/packages/commencement.scm: ... here.  New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* build-aux/check-final-inputs-self-contained.scm: Adjust accordingly.
* gnu/packages/cross-base.scm: Likewise.
* gnu/packages/make-bootstrap.scm: Likewise.
* guix/build-system/cmake.scm (cmake-build): Likewise.
* guix/build-system/gnu.scm (standard-packages, gnu-build,
  gnu-cross-build): Likewise.
* guix/build-system/perl.scm (perl-build): Likewise.
* guix/build-system/python.scm (python-build): Likewise.
* guix/build-system/trivial.scm (guile-for-build): Likewise.
* guix/download.scm (url-fetch): Likewise.
* guix/gexp.scm (default-guile): Likewise.
* guix/git-download.scm (git-fetch): Likewise.
* guix/monads.scm (run-with-store): Likewise.
* guix/packages.scm (default-guile): Likewise.
* guix/scripts/package.scm (guix-package): Likewise.
* guix/scripts/refresh.scm: Likewise.
* guix/svn-download.scm (svn-fetch): Likewise.
* tests/builders.scm (%bootstrap-inputs, %bootstrap-search-paths):
  Likewise.
* tests/packages.scm ("GNU Make, bootstrap"): Likewise.
* tests/guix-package.sh: Likewise.
* gnu/services/base.scm: Use 'canonical-package' instead of xxx-final.
* gnu/services/xorg.scm: Likewise.
* gnu/system/vm.scm: Likewise.
* guix/scripts/pull.scm (guix-pull): Likewise.

9 years agolinux-initrd: Wait a bit longer for partitions to appear.
Ludovic Courtès [Thu, 28 Aug 2014 07:20:40 +0000 (09:20 +0200)]
linux-initrd: Wait a bit longer for partitions to appear.

Reported by Sveltana on #guix.

* guix/build/linux-initrd.scm (canonicalize-device-spec): Increase
  MAX-TRIALS.  Add "waiting for partition" 'format' call.

9 years agoprofiles: Add gzip to $PATH before invoking 'install-info'.
Ludovic Courtès [Wed, 27 Aug 2014 09:00:11 +0000 (11:00 +0200)]
profiles: Add gzip to $PATH before invoking 'install-info'.

* guix/profiles.scm (info-dir-file)[gzip]: New variable.
  [build]: Add 'setenv' call.

9 years agobuild-system/perl: Add handling of flags for parallel build and testing.
Andreas Enge [Wed, 27 Aug 2014 10:17:23 +0000 (12:17 +0200)]
build-system/perl: Add handling of flags for parallel build and testing.

* guix/build-system/perl.scm (perl-build): Add support for variables
    parallel-build? and parallel-tests?.
* guix/build-system/gnu.scm (gnu-build): Add a line break for clarity.

9 years agognu: Add unclutter.
Alex Kost [Sun, 24 Aug 2014 12:56:17 +0000 (16:56 +0400)]
gnu: Add unclutter.

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

9 years agotests: Fix typo in guix-build.sh.
Ludovic Courtès [Tue, 26 Aug 2014 22:26:47 +0000 (00:26 +0200)]
tests: Fix typo in guix-build.sh.

* tests/guix-build.sh: Refer to the '%bootstrap' variables from (gnu
  packages bootstrap), not (gnu packages base).

9 years agodoc: Replace /nix/store with /gnu/store in README.
John Darrington [Tue, 26 Aug 2014 18:00:40 +0000 (20:00 +0200)]
doc: Replace /nix/store with /gnu/store in README.

    * README update anachronistic reference to /nix/store

9 years agoprofiles: Handle packages without a 'share/info' directory.
Ludovic Courtès [Mon, 25 Aug 2014 08:27:20 +0000 (10:27 +0200)]
profiles: Handle packages without a 'share/info' directory.

Reported by Mark H. Weaver.

* guix/profiles.scm (info-dir-file): Handle the case where 'scandir'
  returns #f.

9 years agobuild: Fix typo.
Alex Kost [Sat, 23 Aug 2014 09:40:27 +0000 (13:40 +0400)]
build: Fix typo.

* pre-inst-env.in: Fix typo in commentary.

9 years agoguix-register: By default, attempt to deduplicate registered items.
Ludovic Courtès [Sun, 24 Aug 2014 22:16:49 +0000 (00:16 +0200)]
guix-register: By default, attempt to deduplicate registered items.

* nix/guix-register/guix-register.cc (GUIX_OPT_DEDUPLICATE): New macro.
  (options): Add --no-deduplication.
  (deduplication): New variable.
  (parse_opt): Handle GUIX_OPT_DEDUPLICATE.
  (register_validity): Add 'optimize' parameter and honor it.
  (main): Move 'store' instanatiation after 'settings.nixStore'
  assignment.
* tests/guix-register.sh: Add test for deduplication.
* guix/nar.scm (finalize-store-file): Update comment above
  'register-path' call.

9 years agognu: libgcrypt: Update to 1.6.2.
Ludovic Courtès [Sun, 24 Aug 2014 12:02:21 +0000 (14:02 +0200)]
gnu: libgcrypt: Update to 1.6.2.

* gnu/packages/gnupg.scm (libgcrypt): Update to 1.6.2.

9 years agognu: libgc-7.2: Update to 7.2f.
Mark H Weaver [Sun, 24 Aug 2014 00:31:47 +0000 (20:31 -0400)]
gnu: libgc-7.2: Update to 7.2f.

* gnu/packages/bdw-gc.scm (libgc-7.2): Update to 7.2f.

9 years agognu: libgcrypt-1.5: Update to 1.5.4.
Mark H Weaver [Sun, 24 Aug 2014 00:26:28 +0000 (20:26 -0400)]
gnu: libgcrypt-1.5: Update to 1.5.4.

* gnu/packages/gnupg.scm (libgcrypt-1.5): Update to 1.5.4.

9 years agosvn-download: Rewrite using gexps.
Ludovic Courtès [Sat, 23 Aug 2014 18:52:25 +0000 (20:52 +0200)]
svn-download: Rewrite using gexps.

* guix/svn-download.scm (subversion-package): New procedure.
  (svn-fetch): Use it.  Remove 'svn-for-build'.  Use a gexp and
  'gexp->derivation'.

9 years agogit-download: Rewrite using gexps.
Ludovic Courtès [Sat, 23 Aug 2014 20:57:16 +0000 (22:57 +0200)]
git-download: Rewrite using gexps.

* guix/git-download.scm (git-package): New procedure.
  (git-fetch): Use it.  Remove 'git-for-build'.
  Use a gexp and 'gexp->derivation'.
* guix/download.scm (gnutls-package): Fix docstring.

9 years agoFactorize test suite support in (guix tests).
Ludovic Courtès [Sat, 23 Aug 2014 17:18:01 +0000 (19:18 +0200)]
Factorize test suite support in (guix tests).

* guix/tests.scm: New file.
* Makefile.am (noinst_DATA): New variable.
  (GOBJECTS): Add guix/tests.go.
* tests/builders.scm (%store): Use 'open-connection-for-tests'
  from (guix tests).
* tests/derivations.scm: Likewise.
* tests/monads.scm: Likewise.
* tests/packages.scm: Likewise.
* tests/profiles.scm: Likewise.
* tests/union.scm: Likewise.
* tests/gexp.scm: Likewise.
  (guile-for-build): Remove.  Use (%guile-for-build) instead.
* tests/nar.scm (make-random-bytevector, %seed, random-text): Remove.
  (populate-file): Change 'make-random-bytevector' to 'random-bytevector'.
  Use (guix tests).
* tests/store.scm (%seed, random-text): Remove.
  Use (guix tests).

9 years agoThank Brandon.
Ludovic Courtès [Sat, 23 Aug 2014 16:41:43 +0000 (18:41 +0200)]
Thank Brandon.

9 years agoprofiles: Produce a top-level Info 'dir' file.
Ludovic Courtès [Sat, 23 Aug 2014 16:41:14 +0000 (18:41 +0200)]
profiles: Produce a top-level Info 'dir' file.

Fixes <http://bugs.gnu.org/18305>.
Reported by Brandon Invergo <brandon@gnu.org>.

* guix/profiles.scm (manifest-inputs, info-dir-file): New procedures.
  (profile-derivation): Use them.  Add #:info-dir? parameter and honor
  it.
* guix/scripts/package.scm (guix-package): Call 'profile-derivation'
  with #:info-dir? #f when the 'bootstrap? option is set.
* tests/profiles.scm ("profile-derivation"): Pass #:info-dir? #f.

9 years agoprofiles: Report about upgrades.
Alex Kost [Wed, 20 Aug 2014 11:52:36 +0000 (15:52 +0400)]
profiles: Report about upgrades.

* guix/profiles.scm (manifest-show-transaction): Report about upgrades.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agognu: ffmpeg: Update to 2.3.3.
Jason Self [Wed, 20 Aug 2014 16:06:25 +0000 (09:06 -0700)]
gnu: ffmpeg: Update to 2.3.3.

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

9 years agoMove 'check-package-freshness' from 'guix package' to 'packages'.
Alex Kost [Sat, 16 Aug 2014 18:00:34 +0000 (22:00 +0400)]
Move 'check-package-freshness' from 'guix package' to 'packages'.

* guix/scripts/package.scm (%sigint-prompt, call-with-sigint-handler)
  (waiting, ftp-open*, check-package-freshness): Move to...
* gnu/packages.scm: ... here.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agopackages: Remove dead code.
Alex Kost [Sun, 17 Aug 2014 17:49:16 +0000 (21:49 +0400)]
packages: Remove dead code.

* gnu/packages.scm (_): Remove.
  Remove an extra space.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agoguix package: Use 'manifest-transaction'.
Alex Kost [Wed, 13 Aug 2014 20:15:48 +0000 (00:15 +0400)]
guix package: Use 'manifest-transaction'.

* guix/scripts/package.scm (guix-package)[process-actions]: Use
  'manifest-transaction' instead of the equivalent code.
  (show-what-to-remove/install): Remove.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agoprofiles: Add 'manifest-transaction'.
Alex Kost [Wed, 13 Aug 2014 20:03:53 +0000 (00:03 +0400)]
profiles: Add 'manifest-transaction'.

* guix/profiles.scm (<manifest-transaction>): New record-type.
  (manifest-perform-transaction): New procedure.
  (manifest-show-transaction): New procedure.
* tests/profiles.scm ("manifest-perform-transaction"): New test.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
9 years agogexp: Add 'ungexp-native' and 'ungexp-native-splicing'.
Ludovic Courtès [Mon, 18 Aug 2014 12:53:10 +0000 (14:53 +0200)]
gexp: Add 'ungexp-native' and 'ungexp-native-splicing'.

* guix/gexp.scm (<gexp>)[natives]: New field.
  (write-gexp): Use both 'gexp-references' and
  'gexp-native-references'.
  (gexp->derivation): Use both 'gexp-inputs' and 'gexp-native-inputs',
  and append them.
  (gexp-inputs): Add 'references' parameter and honor it.
  (gexp-native-inputs): New procedure.
  (gexp->sexp)[reference->sexp]: Add 'native?' parameter and honor it.
  Use it, and use 'gexp-native-references'.
  (gexp)[collect-native-escapes]: New procedure.
  [escape->ref]: Handle 'ungexp-native' and 'ungexp-native-splicing'.
  [substitute-ungexp, substitute-ungexp-splicing]: New procedures.
  [substitute-references]: Use them, and handle 'ungexp-native' and
  'ungexp-native-splicing'.
  Adjust generated 'make-gexp' call to provide both normal references
  and native references.
  [read-ungexp]: Support 'ungexp-native' and
  'ungexp-native-splicing'.
  Add reader extension for #+.
* tests/gexp.scm (gexp-native-inputs): New procedure.
  (gexp->sexp*): Add 'target' parameter.
  ("ungexp + ungexp-native",
  "input list + ungexp-native",
  "input list splicing + ungexp-native-splicing",
  "gexp->derivation, ungexp-native",
  "gexp->derivation, ungexp + ungexp-native"): New tests.
  ("sugar"): Add tests for #+ and #+@.
* doc/guix.texi (G-Expressions): Document 'ungexp-native' et al.

9 years agogexp: Add #:target parameter to 'gexp->derivation'.
Ludovic Courtès [Sun, 17 Aug 2014 19:20:11 +0000 (21:20 +0200)]
gexp: Add #:target parameter to 'gexp->derivation'.

* guix/gexp.scm (lower-inputs): Add #:system and #:target.  Use
  'package->cross-derivation' when TARGET is true.  Honor SYSTEM.
  (gexp->derivation): Add #:target argument.  Pass SYSTEM and TARGET to
  'lower-inputs' and 'gexp->sexp'.
  (gexp->sexp): Add #:system and #:target.  Pass them in recursive call
  and to 'package-file'.
* tests/gexp.scm (gexp->sexp*): Add 'system' and 'target' parameters.
  ("gexp->derivation, cross-compilation"): New test.

9 years agomonads: 'package-file' uses '%current-system' at '>>=' time.
Ludovic Courtès [Sun, 17 Aug 2014 19:08:06 +0000 (21:08 +0200)]
monads: 'package-file' uses '%current-system' at '>>=' time.

* guix/monads.scm (package-file): Leave #:system to #f by default.
* tests/monads.scm ("package-file, default system"): New test.

9 years agomonads: Add 'package->cross-derivation' and #:target for 'package-file'.
Ludovic Courtès [Sun, 17 Aug 2014 18:56:47 +0000 (20:56 +0200)]
monads: Add 'package->cross-derivation' and #:target for 'package-file'.

* guix/monads.scm (package-file): Add #:target keyword parameter and
  honor it.
  (package->cross-derivation): New procedure.
* tests/monads.scm ("package-file + package->cross-derivation"): New test.
* doc/guix.texi (The Store Monad): Update 'package-file' documentation.
  Add 'package->cross-derivation'.

9 years agognu: lightning: Update to 2.0.5.
Ludovic Courtès [Sun, 17 Aug 2014 09:59:29 +0000 (11:59 +0200)]
gnu: lightning: Update to 2.0.5.

* gnu/packages/lightning.scm (lightning): Update to 2.0.5.

9 years agognu: guile-json: Update to 0.4.0.
David Thompson [Sat, 16 Aug 2014 23:30:26 +0000 (19:30 -0400)]
gnu: guile-json: Update to 0.4.0.

* gnu/packages/guile.scm (guile-json): Update to 0.4.0.

9 years agognu: apr: Disable parallel tests.
Mark H Weaver [Sat, 16 Aug 2014 16:54:16 +0000 (12:54 -0400)]
gnu: apr: Disable parallel tests.

* gnu/packages/apr.scm (apr): Disable parallel tests.

9 years agognu: apr-util: Update to 1.5.3.
Mark H Weaver [Sat, 16 Aug 2014 16:35:37 +0000 (12:35 -0400)]
gnu: apr-util: Update to 1.5.3.

* gnu/packages/apr.scm (apr-util): Update to 1.5.3.

9 years agognu: apr: Update to 1.5.1.
Mark H Weaver [Sat, 16 Aug 2014 16:32:04 +0000 (12:32 -0400)]
gnu: apr: Update to 1.5.1.

* gnu/packages/apr.scm (apr): Update to 1.5.1.

9 years agognu: texi2html: Fix tests in the absense of gettext.
Eric Bavier [Sat, 16 Aug 2014 05:56:42 +0000 (00:56 -0500)]
gnu: texi2html: Fix tests in the absense of gettext.

* gnu/packages/patches/texi2html-i18n.patch: New patch.
* gnu/packages/texinfo.scm (texi2html)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.

9 years agognu: subversion: Update to 1.7.18.
Mark H Weaver [Sat, 16 Aug 2014 06:19:07 +0000 (02:19 -0400)]
gnu: subversion: Update to 1.7.18.

* gnu/packages/version-control.scm (subversion): Update to 1.7.18.

9 years agoAdd (guix monad-repl).
Ludovic Courtès [Fri, 15 Aug 2014 14:22:11 +0000 (16:22 +0200)]
Add (guix monad-repl).

* guix/monad-repl.scm: New file.
* guix.scm: Add it.
* Makefile.am (MODULES): Add it.
* doc/guix.texi (The Store Monad): Document it.

9 years agolinux-initrd: Do not create /etc/resolv.conf.
Ludovic Courtès [Fri, 15 Aug 2014 14:06:21 +0000 (16:06 +0200)]
linux-initrd: Do not create /etc/resolv.conf.

* guix/build/linux-initrd.scm (configure-qemu-networking): Don't create
  /etc/resolv.conf.

9 years agoUpdate AUTHORS and THANKS.
Ludovic Courtès [Fri, 15 Aug 2014 10:00:22 +0000 (12:00 +0200)]
Update AUTHORS and THANKS.

9 years agolinux-initrd: Load fscache.ko before the 9p modules.
Ludovic Courtès [Thu, 14 Aug 2014 09:56:22 +0000 (11:56 +0200)]
linux-initrd: Load fscache.ko before the 9p modules.

* gnu/system/linux-initrd.scm (base-initrd)[virtio-9p-modules]: Add
  "fscache.ko", required by Linux-libre 3.16.

9 years agognu: Fix synopses for emacs-wget and fetchmail.
Mark H Weaver [Fri, 15 Aug 2014 06:10:26 +0000 (02:10 -0400)]
gnu: Fix synopses for emacs-wget and fetchmail.

* gnu/packages/emacs.scm (emacs-wget): Improve synopsis.
* gnu/packages/mail.scm (fetchmail): Fix typo in synopsis.

9 years agodoc: Fix mention of default log location.
Mark H Weaver [Fri, 15 Aug 2014 05:16:31 +0000 (01:16 -0400)]
doc: Fix mention of default log location.

* doc/guix.texi (Invoking guix-daemon): Fix mention of default log location.

9 years agognu: Add emacs-wget.
Mark H Weaver [Sun, 27 Jul 2014 20:37:13 +0000 (16:37 -0400)]
gnu: Add emacs-wget.

* gnu/packages/emacs.scm (emacs-wget): New variable.

9 years agognu: Add emacs-w3m.
Mark H Weaver [Thu, 24 Jul 2014 15:38:42 +0000 (11:38 -0400)]
gnu: Add emacs-w3m.

* gnu/packages/emacs.scm (emacs-w3m): New variable.

9 years agognu: Add paredit.
Mark H Weaver [Sun, 3 Aug 2014 00:01:48 +0000 (20:01 -0400)]
gnu: Add paredit.

* gnu/packages/emacs.scm (paredit): New variable.

9 years agognu: Add magit.
Mark H Weaver [Sun, 3 Aug 2014 02:20:23 +0000 (22:20 -0400)]
gnu: Add magit.

* gnu/packages/emacs.scm (magit): New variable.

9 years agoAdd (guix build emacs-utils).
Mark H Weaver [Sat, 2 Aug 2014 23:24:50 +0000 (19:24 -0400)]
Add (guix build emacs-utils).

* guix/build/emacs-utils.scm: New file.
* Makefile.am (MODULES): Add it.
* .dir-locals.el: Add indentation rules.

9 years agognu: linux-libre: Update to 3.16.1.
Jason Self [Thu, 14 Aug 2014 17:57:29 +0000 (10:57 -0700)]
gnu: linux-libre: Update to 3.16.1.

* gnu/packages/linux.scm (linux-libre): Update to version 3.16.1.

9 years agognu: apl: Update to 1.4, add sqlite support.
Mark H Weaver [Thu, 14 Aug 2014 17:46:00 +0000 (13:46 -0400)]
gnu: apl: Update to 1.4, add sqlite support.

* gnu/packages/apl.scm (apl): Update to 1.4.  Add 'sqlite' as an input.
  Pass --with-sqlite3 to configure.

9 years agognu: mysql: Update to 5.1.73.
Mark H Weaver [Thu, 14 Aug 2014 17:29:02 +0000 (13:29 -0400)]
gnu: mysql: Update to 5.1.73.

* gnu/packages/mysql.scm (mysql): Update to 5.1.73.  Update source URI.

9 years agognu: gpgme: Update to 1.5.1.
Mark H Weaver [Thu, 14 Aug 2014 14:03:00 +0000 (10:03 -0400)]
gnu: gpgme: Update to 1.5.1.

* gnu/packages/gnupg.scm (gpgme): Update to 1.5.1.  Pass "GPG=gpg2"
  to 'make'.

9 years agognu: lvm2: Upgrade, use udev, improve synopsis and description.
Ludovic Courtès [Wed, 13 Aug 2014 10:19:25 +0000 (12:19 +0200)]
gnu: lvm2: Upgrade, use udev, improve synopsis and description.

* gnu/packages/linux.scm (lvm2): New variable.
* gnu/packages/lvm.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove it.
* gnu/packages/cryptsetup.scm: Adjust accordingly.

9 years agosystem: grub: Change the default default-entry to 0.
Mark H Weaver [Fri, 8 Aug 2014 04:50:53 +0000 (00:50 -0400)]
system: grub: Change the default default-entry to 0.

* gnu/system/grub.scm (<grub-configuration>)[default-entry]: Change the
  default to 0.

9 years agognu: gnupg: Update to 2.0.26.
Mark H Weaver [Wed, 13 Aug 2014 06:47:53 +0000 (02:47 -0400)]
gnu: gnupg: Update to 2.0.26.

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

9 years agognu: Add terminus-font.
Guy Grant [Wed, 13 Aug 2014 01:33:58 +0000 (20:33 -0500)]
gnu: Add terminus-font.

* gnu/packages/fonts.scm (terminus-font): New variable.

9 years agoRemove ftp.sunet.se mirror.
David Thompson [Tue, 12 Aug 2014 13:48:34 +0000 (09:48 -0400)]
Remove ftp.sunet.se mirror.

* guix/download.scm (%mirrors): Remove ftp.sunet.se URIs.

9 years agoprofiles: Adjust to unintended manifest format change.
Ludovic Courtès [Tue, 12 Aug 2014 20:09:42 +0000 (22:09 +0200)]
profiles: Adjust to unintended manifest format change.

Reported by Andreas Enge.

* guix/profiles.scm (sexp->manifest): Adjust to handle unintended format
  change introduced in 4ca0b41.

9 years agoguix package: Remove leftover internal procedure.
Ludovic Courtès [Tue, 12 Aug 2014 19:41:45 +0000 (21:41 +0200)]
guix package: Remove leftover internal procedure.

Reported by Alex Kost <alezost@gmail.com>.

* guix/scripts/package.scm (guix-package)[process-actions]: Remove
  'same-package?'.

9 years agognu: Add detox.
Eric Bavier [Tue, 12 Aug 2014 18:36:35 +0000 (13:36 -0500)]
gnu: Add detox.

* gnu/packages/admin.scm (detox): New variable.

9 years agoguix package: Use 'manifest-add'.
Ludovic Courtès [Tue, 12 Aug 2014 14:10:32 +0000 (16:10 +0200)]
guix package: Use 'manifest-add'.

* guix/scripts/package.scm (guix-package)[process-actions]: Use
  'manifest-add' instead of the equivalent code.

9 years agoprofiles: Add 'manifest-add'.
Alex Kost [Tue, 12 Aug 2014 08:32:16 +0000 (12:32 +0400)]
profiles: Add 'manifest-add'.

* guix/profiles.scm (manifest-add): New procedure.
* tests/profiles.scm (guile-1.8.8): New variable.
  ("manifest-add"): New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agoRevert "nls: Use xgettext and msgmerge with --no-wrap."
Ludovic Courtès [Tue, 12 Aug 2014 13:45:55 +0000 (15:45 +0200)]
Revert "nls: Use xgettext and msgmerge with --no-wrap."

This reverts commit 648453e8d6005a7a2caec688cc035db86fe73c02.

See <http://lists.gnu.org/archive/html/bug-gettext/2014-08/msg00005.html>
for the rationale.

9 years agognu: texi2html: Remove dependency on Gettext.
Ludovic Courtès [Tue, 12 Aug 2014 13:44:40 +0000 (15:44 +0200)]
gnu: texi2html: Remove dependency on Gettext.

Partly fixes <http://bugs.gnu.org/18247>.

* gnu/packages/texinfo.scm (texi2html)[source]: Add 'snippet' field.

9 years agognu: Add orpheus.
Eric Bavier [Fri, 25 Jul 2014 04:40:44 +0000 (23:40 -0500)]
gnu: Add orpheus.

* gnu/packages/orpheus.scm: New file.
* gnu/packages/patches/orpheus-cast-errors-and-includes.patch: New patch.
* gnu-system.am (GNU_SYSTEM_MODULES): Add file.
  (dist_patch_DATA): Add patch.

9 years agognu: Add emacs-no-x-toolkit.
Taylan Ulrich Bayirli/Kammer [Tue, 29 Jul 2014 08:00:56 +0000 (10:00 +0200)]
gnu: Add emacs-no-x-toolkit.

* gnu/packages/emacs.scm (emacs-no-x-toolkit): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>