jackhill/guix/guix.git
9 years agognu: Add GNU direvent.
Ludovic Courtès [Mon, 8 Sep 2014 19:48:54 +0000 (21:48 +0200)]
gnu: Add GNU direvent.

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

9 years agognu: Add testdisk.
Ludovic Courtès [Mon, 8 Sep 2014 19:20:55 +0000 (21:20 +0200)]
gnu: Add testdisk.

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

9 years agognu: youtube-dl: Update to 2014.09.06.
Ludovic Courtès [Mon, 8 Sep 2014 19:00:48 +0000 (21:00 +0200)]
gnu: youtube-dl: Update to 2014.09.06.

* gnu/packages/video.scm (youtube-dl): Update to 2014.09.06.

9 years agoemacs: Improve key bindings for marking the packages.
Alex Kost [Sat, 6 Sep 2014 14:00:45 +0000 (18:00 +0400)]
emacs: Improve key bindings for marking the packages.

Use "U" to upgrade the current package, "^" to upgrade all.

* emacs/guix-list.el: (guix-list-unmark): With prefix, mark all.
  (guix-package-list-mark-outputs): New procedure.
  (guix-package-list-mark-install, guix-package-list-mark-delete)
  (guix-package-list-mark-upgrade): Use it.
  (guix-package-list-mark-upgrades): New command.
* doc/emacs.texi (emacs List buffer): Update the manual accordingly.

9 years agognu: Add tdb.
Ludovic Courtès [Mon, 8 Sep 2014 16:00:03 +0000 (18:00 +0200)]
gnu: Add tdb.

* gnu/packages/databases.scm (tdb): New variable.

9 years agognu: Consolidate databases in (gnu packages databases).
Ludovic Courtès [Mon, 8 Sep 2014 15:48:03 +0000 (17:48 +0200)]
gnu: Consolidate databases in (gnu packages databases).

* gnu/packages/databases.scm: New file, with the contents of the
  following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
  gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
  gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
  gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
  gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
  gnu/packages/package-management.scm, gnu/packages/python.scm,
  gnu/packages/qt.scm, gnu/packages/rdf.scm,
  gnu/packages/version-control.scm: Adjust to new module name.

9 years agognu: Remove extra import in (gnu packages admin).
Ludovic Courtès [Mon, 8 Sep 2014 15:48:34 +0000 (17:48 +0200)]
gnu: Remove extra import in (gnu packages admin).

* gnu/packages/admin.scm: Remove duplicate use of (gnu packages base).

9 years agogexp: 'gexp->script' returns a script that can easily be compiled.
Ludovic Courtès [Sun, 7 Sep 2014 21:57:36 +0000 (23:57 +0200)]
gexp: 'gexp->script' returns a script that can easily be compiled.

* guix/gexp.scm (gexp->script): Produce an 'eval-when' form around
  assignments of %load-path and %load-compiled-path.

9 years agolinux-initrd: Build cpio archives without '--no-absolute-filenames'.
Ludovic Courtès [Sun, 7 Sep 2014 20:57:57 +0000 (22:57 +0200)]
linux-initrd: Build cpio archives without '--no-absolute-filenames'.

* gnu/build/linux-initrd.scm (write-cpio-archive): Remove
  '--no-absolute-filenames'.

9 years agognu: linux-libre: Update to 3.16.2.
Jason Self [Sun, 7 Sep 2014 02:52:38 +0000 (19:52 -0700)]
gnu: linux-libre: Update to 3.16.2.

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

9 years agolinux-initrd: Populate the initrd's store with complete closures.
Ludovic Courtès [Sat, 6 Sep 2014 21:30:28 +0000 (23:30 +0200)]
linux-initrd: Populate the initrd's store with complete closures.

* gnu/system/linux-initrd.scm (expression->initrd): Add 'graph-files'.
  Use (guix build store-copy) and 'populate-store' instead of local
  hack.  Pass #:references-graphs to 'gexp->derivation'.

9 years agognu: unionfs-fuse/static: Remove store references from the executable.
Ludovic Courtès [Sat, 6 Sep 2014 21:26:00 +0000 (23:26 +0200)]
gnu: unionfs-fuse/static: Remove store references from the executable.

* gnu/packages/linux.scm (unionfs-fuse/static)[arguments]: Add #:phases.

9 years agogexp: Allow use of high-level objects in #:references-graphs.
Ludovic Courtès [Sat, 6 Sep 2014 13:45:32 +0000 (15:45 +0200)]
gexp: Allow use of high-level objects in #:references-graphs.

* guix/gexp.scm (lower-reference-graphs): New procedure.
  (gexp->derivation)[graphs-file-names]: New procedure.
  Use 'lower-reference-graphs', and augment #:inputs argument as a
  function of #:references-graphs.
* doc/guix.texi (G-Expressions): Adjust 'gexp->derivation' documentation
  accordingly.
* tests/gexp.scm ("gexp->derivation, store copy"): Remove reference to
  TWO in BUILD-DRV.  Use TWO directly in #:references-graphs argument.
  ("gexp->derivation #:references-graphs"): New test.
* gnu/system/vm.scm (qemu-image): Remove variable 'graph'; use INPUTS as
  the #:references-graphs argument to
  'expression->derivation-in-linux-vm'.

9 years agognu: linux-libre: Revert to 3.16.1.
Jason Self [Sat, 6 Sep 2014 16:33:41 +0000 (09:33 -0700)]
gnu: linux-libre: Revert to 3.16.1.

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

9 years agoemacs: Add a face for installed packages.
Alex Kost [Sat, 6 Sep 2014 08:08:42 +0000 (12:08 +0400)]
emacs: Add a face for installed packages.

* emacs/guix-list.el (guix-package-list-installed): New face.
  (guix-package-list-get-name): Use it.

9 years agognu: linux-libre: Update to 3.16.2.
Jason Self [Sat, 6 Sep 2014 16:19:08 +0000 (09:19 -0700)]
gnu: linux-libre: Update to 3.16.2.

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

9 years agognu: Add python-sphinx.
David Thompson [Fri, 5 Sep 2014 22:23:22 +0000 (18:23 -0400)]
gnu: Add python-sphinx.

* gnu/packages/python.scm (python-sphinx, python2-sphinx): New variables.

9 years agognu: Add python-pygments.
David Thompson [Fri, 5 Sep 2014 22:22:51 +0000 (18:22 -0400)]
gnu: Add python-pygments.

* gnu/packages/python.scm (python-pygments, python2-pygments): New variables.

9 years agognu: Add python-docutils.
David Thompson [Fri, 5 Sep 2014 22:22:21 +0000 (18:22 -0400)]
gnu: Add python-docutils.

* gnu/packages/python.scm (python-docutils, python2-docutils): New variables.

9 years agognu: Add python-jinja2.
David Thompson [Fri, 5 Sep 2014 22:21:28 +0000 (18:21 -0400)]
gnu: Add python-jinja2.

* gnu/packages/python.scm (python-jinja2, python2-jinja2): New variables.

9 years agognu: Add python-markupsafe.
David Thompson [Fri, 5 Sep 2014 14:01:13 +0000 (10:01 -0400)]
gnu: Add python-markupsafe.

* gnu/packages/python.scm (python-markupsafe, python2-markupsafe): New
  variables.

9 years agognu: Add python-virtualenv.
David Thompson [Fri, 5 Sep 2014 13:57:55 +0000 (09:57 -0400)]
gnu: Add python-virtualenv.

* gnu/packages/python.scm (python-virtualenv, python2-virtualenv): New
  variables.

9 years agognu: Add python-itsdangerous.
David Thompson [Fri, 5 Sep 2014 13:54:47 +0000 (09:54 -0400)]
gnu: Add python-itsdangerous.

* gnu/packages/python.scm (python-itsdangerous, python2-itsdangerous): New
  variables.

9 years agognu: Add python-oauthlib.
David Thompson [Fri, 5 Sep 2014 13:52:38 +0000 (09:52 -0400)]
gnu: Add python-oauthlib.

* gnu/packages/python.scm (python-oauthlib, python2-oauthlib): New variables.

9 years agognu: Add python-pyjwt.
David Thompson [Fri, 5 Sep 2014 13:45:52 +0000 (09:45 -0400)]
gnu: Add python-pyjwt.

* gnu/packages/python.scm (python-pyjwt, python2-pyjwt): New variables.

9 years agognu: Add python-discover.
David Thompson [Sat, 6 Sep 2014 00:49:54 +0000 (20:49 -0400)]
gnu: Add python-discover.

* gnu/packages/python.scm (python-discover, python2-discover): New variables.

9 years agognu: Add python-coverage.
David Thompson [Sat, 6 Sep 2014 00:49:23 +0000 (20:49 -0400)]
gnu: Add python-coverage.

* gnu/packages/python.scm (python-coverage, python2-coverage): New variables.

9 years agognu: Add python-testrepository.
David Thompson [Fri, 5 Sep 2014 13:36:45 +0000 (09:36 -0400)]
gnu: Add python-testrepository.

* gnu/packages/python.scm (python-testrepository, python2-testrepository): New
  variables.

9 years agognu: Add python-fixtures.
David Thompson [Fri, 5 Sep 2014 13:33:38 +0000 (09:33 -0400)]
gnu: Add python-fixtures.

* gnu/packages/python.scm (python-fixtures, python2-fixtures): New variables.

9 years agognu: Add python-subunit.
David Thompson [Fri, 5 Sep 2014 13:30:31 +0000 (09:30 -0400)]
gnu: Add python-subunit.

* gnu/packages/python.scm (python-subunit, python2-subunit): New variables.

9 years agognu: Add python-testresources.
David Thompson [Fri, 5 Sep 2014 13:27:41 +0000 (09:27 -0400)]
gnu: Add python-testresources.

* gnu/packages/python.scm (python-testresources, python2-testresources): New
  variables.

9 years agognu: Add python-testscenarios.
David Thompson [Fri, 5 Sep 2014 13:25:17 +0000 (09:25 -0400)]
gnu: Add python-testscenarios.

* gnu/packages/python.scm (python-testscenarios, python2-testscenarios): New
  variables.

9 years agognu: Add python-testtools.
David Thompson [Fri, 5 Sep 2014 13:22:29 +0000 (09:22 -0400)]
gnu: Add python-testtools.

* gnu/packages/python.scm (python-testtools, python2-testtools): New
  variables.

9 years agognu: Add python-scripttest.
David Thompson [Fri, 5 Sep 2014 13:19:23 +0000 (09:19 -0400)]
gnu: Add python-scripttest.

* gnu/packages/python.scm (python-scriptest, python2-scripttest): New
  variables.

9 years agognu: Add python-pytest.
David Thompson [Fri, 5 Sep 2014 13:16:50 +0000 (09:16 -0400)]
gnu: Add python-pytest.

* gnu/packages/python.scm (python-pytest, python2-pytest): New variables.

9 years agognu: Add python-py.
David Thompson [Fri, 5 Sep 2014 12:59:37 +0000 (08:59 -0400)]
gnu: Add python-py.

* gnu/packages/python.scm (python-py, python2-py): New variables.

9 years agognu: Add python-unittest2.
David Thompson [Fri, 5 Sep 2014 12:45:24 +0000 (08:45 -0400)]
gnu: Add python-unittest2.

* gnu/packages/python.scm (python-unittest2, python2-unittest2): New
  variables.

9 years agognu: Add python-nose.
David Thompson [Fri, 5 Sep 2014 12:39:43 +0000 (08:39 -0400)]
gnu: Add python-nose.

* gnu/packages/python.scm (python-nose, python2-nose): New variables.

9 years agognu: Add python-extras.
David Thompson [Fri, 5 Sep 2014 12:37:57 +0000 (08:37 -0400)]
gnu: Add python-extras.

* gnu/packages/python.scm (python-extras, python2-extras): New variables.

9 years agognu: Add python-mimeparse.
David Thompson [Fri, 5 Sep 2014 12:33:45 +0000 (08:33 -0400)]
gnu: Add python-mimeparse.

* gnu/packages/python.scm (python-mimeparse, python2-mimeparse): New
  variables.

9 years agognu: Add python-unidecode.
David Thompson [Thu, 4 Sep 2014 03:12:11 +0000 (23:12 -0400)]
gnu: Add python-unidecode.

* gnu/packages/python.scm (python-unidecode, python2-unidecode): New
  variables.

9 years agognu: Add python-jsonschema.
David Thompson [Wed, 3 Sep 2014 12:06:29 +0000 (08:06 -0400)]
gnu: Add python-jsonschema.

* gnu/packages/python.scm (python-jsonschema, python2-jsonschema): New
  variables.

9 years agognu: Add python2-requests.
David Thompson [Wed, 3 Sep 2014 01:22:43 +0000 (21:22 -0400)]
gnu: Add python2-requests.

* gnu/packages/python.scm (python2-requests): New variable.

9 years agognu: Add python-certifi.
David Thompson [Wed, 3 Sep 2014 01:22:14 +0000 (21:22 -0400)]
gnu: Add python-certifi.

* gnu/packages/python.scm (python-certifi, python2-certifi): New variables.

9 years agognu: Add python-pyld.
David Thompson [Wed, 3 Sep 2014 01:00:40 +0000 (21:00 -0400)]
gnu: Add python-pyld.

* gnu/packages/python.scm (python-pyld, python2-pyld): New variables.

9 years agognu: Add python-exif-read.
David Thompson [Wed, 3 Sep 2014 00:53:31 +0000 (20:53 -0400)]
gnu: Add python-exif-read.

* gnu/packages/python.scm (python-exif-read, python2-exif-read): New
  variables.

9 years agopull: Add a compilation progress report.
Ludovic Courtès [Fri, 5 Sep 2014 21:11:04 +0000 (23:11 +0200)]
pull: Add a compilation progress report.

* guix/build/pull.scm (report-build-progress): New procedure.
  (p-for-each): Add #:progress parameter.
  [loop]: Keep track of the number of completed processes.  Tail-call
  PROGRESS at each loop iteration.
  (build-guix): Add #:debug-port parameter.  Use it for verbose
  messages.  Change 'tar' flags to 'xf'.  Around 'compile-file' call,
  bind CURRENT-WARNING-PORT to DEBUG-PORT.
* guix/scripts/pull.scm (unpack): Add #:verbose? parameter.
  [builder]: Pass #:debug-port to 'build-guix'.
  (guix-pull): Leave CURRENT-BUILD-OUTPUT-PORT unchanged.  Pass
  #:verbose? to 'unpack'.

9 years agovm: Move store copy handling to (guix build store-copy).
Ludovic Courtès [Thu, 4 Sep 2014 21:05:12 +0000 (23:05 +0200)]
vm: Move store copy handling to (guix build store-copy).

* gnu/build/vm.scm (read-reference-graph, populate-store): Move to...
* guix/build/store-copy.scm: ... here.  New file.
* Makefile.am (MODULES): Add it.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Adjust default
  #:modules values accordingly.
* tests/gexp.scm ("gexp->derivation, store copy"): New test.

9 years agolinux-initrd: Move Linux module tree flattening to another derivation.
Ludovic Courtès [Thu, 4 Sep 2014 20:50:10 +0000 (22:50 +0200)]
linux-initrd: Move Linux module tree flattening to another derivation.

* gnu/system/linux-initrd.scm (expression->initrd)[string->regexp]:
  Remove.
  Use 'flat-linux-module-directory'.  Remove the equivalent logic from
  'builder'.
  (flat-linux-module-directory): New procedure.

9 years agoprofiles: Use a real arrow to denote upgrades in ASCII.
Ludovic Courtès [Thu, 4 Sep 2014 19:35:57 +0000 (21:35 +0200)]
profiles: Use a real arrow to denote upgrades in ASCII.

Suggested by Alex Kost.

* guix/profiles.scm (right-arrow): Fall back to "->".
* tests/profiles.scm ("manifest-show-transaction"): Adjust accordingly.

9 years agoAdd Emacs user interface.
Alex Kost [Wed, 27 Aug 2014 12:44:17 +0000 (16:44 +0400)]
Add Emacs user interface.

* configure.ac (emacsuidir): New variable.
  (AC_CONFIG_FILES): Add 'emacs/guix-init.el', 'emacs/guix-helper.scm'.
* Makefile.am: Include 'emacs.am'.
* emacs.am: New file.
* doc/emacs.texi: New file.
* doc/guix.texi: Include 'emacs.texi'.
* emacs/guix-backend.el: New file.
* emacs/guix-base.el: New file.
* emacs/guix-helper.scm.in: New file.
* emacs/guix-history.el: New file.
* emacs/guix-info.el: New file.
* emacs/guix-init.el.in: New file.
* emacs/guix-list.el: New file.
* emacs/guix-main.scm: New file.
* emacs/guix-utils.el: New file.
* emacs/guix.el: New file.

9 years agognu: datamash: Fix license.
Ludovic Courtès [Wed, 3 Sep 2014 13:22:49 +0000 (15:22 +0200)]
gnu: datamash: Fix license.

* gnu/packages/datamash.scm (datamash)[license]: Change to GPL3+.

9 years agolinux-initrd: Factorize cpio archive creation.
Ludovic Courtès [Wed, 3 Sep 2014 13:13:44 +0000 (15:13 +0200)]
linux-initrd: Factorize cpio archive creation.

* gnu/build/linux-initrd.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/system/linux-initrd.scm (expression->initrd): Use (gnu build
  linux-initrd) and 'write-cpio-archive' instead of the inlined code.

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.