jackhill/guix/guix.git
10 years agognu: vm: Add support for running a VM that shares its store with the host.
Ludovic Courtès [Fri, 31 Jan 2014 13:36:48 +0000 (14:36 +0100)]
gnu: vm: Add support for running a VM that shares its store with the host.

* gnu/system/vm.scm (qemu-image): Check whether GUIX is #f.
  (operating-system-build-gid, operating-system-default-contents): New
  procedures.
  (system-qemu-image): Use 'operating-system-build-gid'.
  (system-qemu-image/shared-store,
  system-qemu-image/shared-store-script): New procedures.
* gnu/system.scm: Add missing exports.

10 years agognu: linux-initrd: Allow the root file system to be volatile.
Ludovic Courtès [Fri, 31 Jan 2014 13:26:30 +0000 (14:26 +0100)]
gnu: linux-initrd: Allow the root file system to be volatile.

* gnu/system/linux-initrd.scm (qemu-initrd): Add 'volatile-root?'
  parameter.
* guix/build/linux-initrd.scm (boot-system): Likewise.  Honor it.

10 years agognu: linux: Really build 9p/virtio modules.
Ludovic Courtès [Fri, 31 Jan 2014 13:23:54 +0000 (14:23 +0100)]
gnu: linux: Really build 9p/virtio modules.

* gnu/packages/linux.scm (linux-libre): Add CONFIG_NET_9P and
  CONFIG_9P_FS.

10 years agognu: linux-initrd: Recognize 9p file systems.
Ludovic Courtès [Fri, 31 Jan 2014 11:21:10 +0000 (12:21 +0100)]
gnu: linux-initrd: Recognize 9p file systems.

* gnu/system/linux-initrd.scm (qemu-initrd)[virtio-9p-modules]: New
  variable.
  [linux-modules]: Append VIRTIO-9P-MODULES when a 9p file system is in
  MOUNTS.
* guix/build/linux-initrd.scm (mount-qemu-9p): New procedure.
  (boot-system): Recognize '9p' in MOUNTS, and use 'mount-qemu-9p'.

10 years agognu: linux-initrd: Match kernel module file names exactly.
Ludovic Courtès [Fri, 31 Jan 2014 11:01:23 +0000 (12:01 +0100)]
gnu: linux-initrd: Match kernel module file names exactly.

* gnu/system/linux-initrd.scm (expression->initrd)[string->regexp]: New
  procedure.  Use it in the call to 'find-files'.

10 years agognu: linux-initrd: Properly distinguish between /dev/sda* and /dev/vda*.
Ludovic Courtès [Fri, 31 Jan 2014 00:43:16 +0000 (01:43 +0100)]
gnu: linux-initrd: Properly distinguish between /dev/sda* and /dev/vda*.

* guix/build/linux-initrd.scm (make-essential-device-nodes): Rename
  devices with major = 8 to /dev/sda*.  Make /dev/vda* devices.
* gnu/system/vm.scm (qemu-image): Change '/dev/vda' to '/dev/sda'.
* gnu/system.scm (operating-system-derivation): Likewise.

10 years agognu: linux-initrd: Start a REPL when the root could not be mounted.
Ludovic Courtès [Fri, 31 Jan 2014 00:40:02 +0000 (01:40 +0100)]
gnu: linux-initrd: Start a REPL when the root could not be mounted.

* guix/build/linux-initrd.scm (boot-system): Catch errors when mounting
  ROOT and call 'start-repl' upon error.

10 years agognu: linux-libre: Build more virtio modules.
Ludovic Courtès [Thu, 30 Jan 2014 23:24:26 +0000 (00:24 +0100)]
gnu: linux-libre: Build more virtio modules.

* gnu/packages/linux.scm (linux-libre): Append CONFIG_NET_9P_VIRTIO and
  CONFIG_VIRTIO_{NET,BLK,BALLOON} to '.config'.

10 years agognu: vm: Run QEMU with '-enable-kvm'.
Ludovic Courtès [Thu, 30 Jan 2014 22:32:22 +0000 (23:32 +0100)]
gnu: vm: Run QEMU with '-enable-kvm'.

* gnu/system/vm.scm (expression->derivation-in-linux-vm): Pass QEMU
  '-enable-kvm'.

10 years agognu: Add GNU Octave.
John Darrington [Thu, 30 Jan 2014 13:22:49 +0000 (14:22 +0100)]
gnu: Add GNU Octave.

* gnu/packages/maths.scm (octave): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: linux-libre: Build virtio modules.
Ludovic Courtès [Wed, 29 Jan 2014 22:42:36 +0000 (23:42 +0100)]
gnu: linux-libre: Build virtio modules.

* gnu/packages/linux.scm (linux-libre): Build modules matching
  CONFIG.*VIRTIO.

10 years agognu: linux-libre: Upgrade to 3.13.
Ludovic Courtès [Wed, 29 Jan 2014 22:34:47 +0000 (23:34 +0100)]
gnu: linux-libre: Upgrade to 3.13.

* gnu/packages/linux.scm (linux-libre): Upgrade to 3.13.

10 years agognu: gnunet: Add gnurl 7.34.0.
Sree Harsha Totakura [Wed, 29 Jan 2014 12:59:11 +0000 (13:59 +0100)]
gnu: gnunet: Add gnurl 7.34.0.

* gnu/packages/gnunet.scm (gnurl): New variable. Thanks to Zerwas for
  the initial recipe.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: libgcrypt: Upgrade to 1.6.1.
Ludovic Courtès [Wed, 29 Jan 2014 21:37:53 +0000 (22:37 +0100)]
gnu: libgcrypt: Upgrade to 1.6.1.

* gnu/packages/gnupg.scm (libgcrypt): Upgrade to 1.6.1.

10 years agognu: linux-initrd: Factorize boot code.
Ludovic Courtès [Wed, 29 Jan 2014 20:57:56 +0000 (21:57 +0100)]
gnu: linux-initrd: Factorize boot code.

* guix/build/linux-initrd.scm (boot-system): New procedure.
* gnu/system/linux-initrd.scm (qemu-initrd): Add keyword parameters
  'guile-modules-in-chroot?' and 'mounts'.  Change builder to simply
  call 'boot-system'.
  (gnu-system-initrd): Change to a simple call to 'qemu-initrd'.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Call
  'qemu-initrd' with #:guile-modules-in-chroot?.

10 years agognu: Lower initrd makers from packages to monadic procedures.
Ludovic Courtès [Wed, 29 Jan 2014 12:04:00 +0000 (13:04 +0100)]
gnu: Lower initrd makers from packages to monadic procedures.

* gnu/packages/linux-initrd.scm: Remove.
* gnu/system/linux-initrd.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/system.scm (<operating-system>): Change default 'initrd' value
  to (gnu-system-initrd).
  (operating-system-derivation): Bind 'operating-system-initrd'.  Pass
  'menu-entry' an initrd file name instead of a package.
* gnu/system/grub.scm (grub-configuration-file): Expect 'initrd' to be
  file name.

10 years agomonads: Add 'imported-modules' and 'compiled-modules'.
Ludovic Courtès [Wed, 29 Jan 2014 12:04:48 +0000 (13:04 +0100)]
monads: Add 'imported-modules' and 'compiled-modules'.

* guix/monads.scm (package-file): Fix typo.
  (imported-modules, compiled-modules): New procedures.

10 years agognu: qemu-initrd: Adjust to allow booting with a non-empty /root.
Ludovic Courtès [Tue, 28 Jan 2014 22:38:19 +0000 (23:38 +0100)]
gnu: qemu-initrd: Adjust to allow booting with a non-empty /root.

* gnu/packages/linux-initrd.scm (qemu-initrd): Use 'mkdir-p' instead of
  'mkdir' for /root/xchg and /root/{share,lib}.  When TO-LOAD is a
  symlink, resolve it.
  (gnu-system-initrd): Fix typo in message.

10 years agodownload: Add archive.apache.org to the Apache mirrors.
Ludovic Courtès [Mon, 27 Jan 2014 22:31:28 +0000 (23:31 +0100)]
download: Add archive.apache.org to the Apache mirrors.

* guix/download.scm (%mirrors)[apache]: Add archive.apache.org as a last
  resort.

10 years agooffload: Do not try to retrieve anything upon build failure.
Ludovic Courtès [Mon, 27 Jan 2014 20:32:59 +0000 (21:32 +0100)]
offload: Do not try to retrieve anything upon build failure.

* guix/scripts/offload.scm (offload): Add 'log-port' keyword parameter.
  Handle log display here.  Return the result of (close-pipe pipe).
  (process-request): Adjust 'offload' call site accordingly.  Call
  'retrieve-files' only when 'offload' returns zero; exit when 'offload'
  returns non-zero.

10 years agognu: iotop: Fix typos.
Ludovic Courtès [Mon, 27 Jan 2014 18:02:51 +0000 (19:02 +0100)]
gnu: iotop: Fix typos.

* gnu/packages/linux.scm (iotop): Fix typos introduced by myself.

10 years agognu: linux: Add iotop-0.6.
Sree Harsha Totakura [Mon, 27 Jan 2014 16:45:21 +0000 (17:45 +0100)]
gnu: linux: Add iotop-0.6.

* gnu/packages/linux.scm (iotop): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: Add asciidoc.
Ludovic Courtès [Sun, 26 Jan 2014 22:52:59 +0000 (23:52 +0100)]
gnu: Add asciidoc.

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

10 years agognu: qemu: Add note about 9p.
Ludovic Courtès [Sun, 26 Jan 2014 22:25:55 +0000 (23:25 +0100)]
gnu: qemu: Add note about 9p.

* gnu/packages/qemu.scm (qemu/smb-shares): Add comment.

10 years agognu: Add gnuplot
John Darrington [Sun, 26 Jan 2014 09:09:21 +0000 (10:09 +0100)]
gnu: Add gnuplot

* gnu/packages/maths.scm (gnuplot): New variable

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agobuild: Set 'NIX_LIBEXEC_DIR' in 'pre-inst-env'.
Ludovic Courtès [Sun, 26 Jan 2014 14:53:34 +0000 (15:53 +0100)]
build: Set 'NIX_LIBEXEC_DIR' in 'pre-inst-env'.

Reported by Nikita Karetnikov <nikita@karetnikov.org>.

* test-env.in: Move 'NIX_LIBEXEC_DIR' setting to...
* pre-inst-env.in: ... here.

10 years agognu: lapack: Update to 3.5.0.
Andreas Enge [Sun, 26 Jan 2014 12:03:20 +0000 (13:03 +0100)]
gnu: lapack: Update to 3.5.0.

* gnu/packages/maths.scm (lapack): Update to 3.5.0.

10 years agognu: sdl: Explicitly link against libXext.
Ludovic Courtès [Sat, 25 Jan 2014 21:16:52 +0000 (22:16 +0100)]
gnu: sdl: Explicitly link against libXext.

* gnu/packages/sdl.scm (sdl): Add #:configure-flags to 'arguments'.
  Move PKG-CONFIG to 'native-inputs'.

10 years agognu: apl: Update to 1.2.
Andreas Enge [Sat, 25 Jan 2014 18:08:13 +0000 (19:08 +0100)]
gnu: apl: Update to 1.2.

* gnu/packages/apl.scm (apl): Update to 1.2.

10 years agognu: global: Update to 6.2.10.
Andreas Enge [Sat, 25 Jan 2014 18:06:02 +0000 (19:06 +0100)]
gnu: global: Update to 6.2.10.

* gnu/packages/global.scm (global): Update to 6.2.10.

10 years agognu: lightning: Update to 2.0.3.
Andreas Enge [Sat, 25 Jan 2014 18:01:23 +0000 (19:01 +0100)]
gnu: lightning: Update to 2.0.3.

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

10 years agognu: parallel: Update to 20140122.
Andreas Enge [Sat, 25 Jan 2014 16:18:06 +0000 (17:18 +0100)]
gnu: parallel: Update to 20140122.

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

10 years agoderivations: Add #:local-build? parameter for derivations.
Ludovic Courtès [Sat, 25 Jan 2014 16:04:35 +0000 (17:04 +0100)]
derivations: Add #:local-build? parameter for derivations.

* guix/derivations.scm (derivation): Add #:local-build? parameter and
  honor it.
  (build-expression->derivation): Likewise.
* doc/guix.texi (Derivations): Update documentation of these
  procedures.

10 years agognu: fltk: New module
John Darrington [Sat, 25 Jan 2014 08:27:14 +0000 (09:27 +0100)]
gnu: fltk: New module

* gnu/packages/fltk.scm: New file
* gnu-system.am: New file fltk.scm

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: libxft: Propagate input.
John Darrington [Sat, 25 Jan 2014 07:01:25 +0000 (08:01 +0100)]
gnu: libxft: Propagate input.

* gnu/packages/xorg.scm (libxft): Propagate input libxrender.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: ncdu: New module
John Darrington [Sat, 25 Jan 2014 08:17:39 +0000 (09:17 +0100)]
gnu: ncdu: New module

* gnu/packages/ncdu.scm: New file
* gnu-system.am: New file ncdu.scm

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: Add Corkscrew 2.0.
Sree Harsha Totakura [Sat, 25 Jan 2014 00:51:29 +0000 (01:51 +0100)]
gnu: Add Corkscrew 2.0.

* gnu/packages/ssh.scm (corkscrew): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: Add ncdc-1.18.1.
Sree Harsha Totakura [Fri, 24 Jan 2014 17:36:34 +0000 (18:36 +0100)]
gnu: Add ncdc-1.18.1.

* gnu/packages/dc.scm : New module.
* gnu-system.am (GNU_SYSTEM_MODULES): Add module.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agoprofiles: Remove misleading message.
Ludovic Courtès [Fri, 24 Jan 2014 21:10:07 +0000 (22:10 +0100)]
profiles: Remove misleading message.

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

* guix/profiles.scm (profile-derivation)[builder]: Remove "building
  profile '~a' with ~a packages" message.

10 years agodoc: More about offloading.
Ludovic Courtès [Fri, 24 Jan 2014 20:52:05 +0000 (21:52 +0100)]
doc: More about offloading.

* doc/guix.texi (Daemon Offload Setup): Start with "When desired".  Say
  more on what can go in 'machines.scm', and mention Guile-Avahi.
  (Invoking guix-daemon): Document '--no-build-hook'.
  (Invoking guix build): Add xref to "Daemon Offload Setup".

10 years agowget: Upgrade to 1.15.
Ludovic Courtès [Fri, 24 Jan 2014 17:19:46 +0000 (18:19 +0100)]
wget: Upgrade to 1.15.

* gnu/packages/wget.scm (wget): Upgrade to 1.15.  Remove Gettext from
  'inputs'.  Move Perl to 'native-inputs'.

10 years agognu: ffmpeg: Update to 2.1.3.
Andreas Enge [Fri, 24 Jan 2014 21:40:44 +0000 (22:40 +0100)]
gnu: ffmpeg: Update to 2.1.3.

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

10 years agognu: ffmpeg: Add input opus.
Andreas Enge [Fri, 24 Jan 2014 21:22:42 +0000 (22:22 +0100)]
gnu: ffmpeg: Add input opus.

* gnu/packages/video.scm (ffmpeg): Add input opus.

10 years agoAdd Sree to 'AUTHORS'.
Ludovic Courtès [Fri, 24 Jan 2014 13:03:12 +0000 (14:03 +0100)]
Add Sree to 'AUTHORS'.

10 years agognu: Add Opus 1.1.
Sree Harsha Totakura [Thu, 23 Jan 2014 18:38:39 +0000 (19:38 +0100)]
gnu: Add Opus 1.1.

* gnu/packages/xiph.scm (opus): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agoAdd 'guix offload' as a daemon build hook.
Ludovic Courtès [Thu, 23 Jan 2014 22:48:34 +0000 (23:48 +0100)]
Add 'guix offload' as a daemon build hook.

* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_NO_BUILD_HOOK): New macro.
  (options): Add '--no-build-hook'.
  (parse_opt): Handle it.
  (main)[HAVE_DAEMON_OFFLOAD_HOOK]: Set 'useBuildHook' by default.
  Set $NIX_BUILD_HOOK to our offload hook unless otherwise specified.
  [!HAVE_DAEMON_OFFLOAD_HOOK]: Clear 'useBuildHook'.
* pre-inst-env.in: Set and export NIX_BUILD_HOOK.
* nix/scripts/offload.in, guix/scripts/offload.scm: New files.
* guix/ui.scm (show-guix-help)[internal?]: Add "offload".
* config-daemon.ac: Call 'GUIX_CHECK_UNBUFFERED_CBIP'.
  Instantiate 'nix/scripts/offload'.  Set 'BUILD_DAEMON_OFFLOAD'
  conditional, and optionally define 'HAVE_DEAMON_OFFLOAD_HOOK' cpp
  macro.
* daemon.am (nodist_pkglibexec_SCRIPTS)[BUILD_DAEMON_OFFLOAD]: Add it.
* Makefile.am (MODULES)[BUILD_DAEMON_OFFLOAD]: Add
  'guix/scripts/offload.scm'.
  (EXTRA_DIST)[!BUILD_DAEMON_OFFLOAD]: Likewise.
* m4/guix.m4 (GUIX_CHECK_UNBUFFERED_CBIP): New macro.
* doc/guix.texi (Setting Up the Daemon): Move most of the body to...
  (Build Environment Setup): ... this.  New subsection.
  (Daemon Offload Setup): New subsection.

10 years agostore: Add 'topologically-sorted'.
Ludovic Courtès [Thu, 23 Jan 2014 21:13:27 +0000 (22:13 +0100)]
store: Add 'topologically-sorted'.

* guix/store.scm (topologically-sorted): New procedure.
* tests/store.scm ("topologically-sorted, one item",
  "topologically-sorted, several items", "topologically-sorted, more
  difficult"): New tests.

10 years agonar: Add 'restore-file-set', for use by build hooks.
Ludovic Courtès [Wed, 22 Jan 2014 16:09:21 +0000 (17:09 +0100)]
nar: Add 'restore-file-set', for use by build hooks.

* guix/nar.scm (&nar-invalid-hash-error, &nar-signature-error): New
  condition types.
  (&nar-error): Add 'file' and 'port' fields.
  (&nar-read-error): Remove 'port' and 'file' fields.
  (lock-store-file, unlock-store-file, finalize-store-file,
  temporary-store-directory, restore-file-set): New procedures.
* tests/nar.scm (%seed): New variable.
  (random-text): New procedure.
  ("restore-file-set (signed, valid)", "restore-file-set (missing
  signature)", "restore-file-set (corrupt)"): New tests.
* po/Makevars (XGETTEXT_OPTIONS): Add '--keyword=message'.nar fixes
* po/POTFILES.in: Add guix/nar.scm.

10 years agostore: Add 'with-store' convenience macro.
Ludovic Courtès [Sun, 19 Jan 2014 22:03:43 +0000 (23:03 +0100)]
store: Add 'with-store' convenience macro.

* guix/store.scm (with-store): New macro.

10 years agohash: Add 'open-sha256-input-port', for Guile > 2.0.9.
Ludovic Courtès [Sun, 19 Jan 2014 17:16:28 +0000 (18:16 +0100)]
hash: Add 'open-sha256-input-port', for Guile > 2.0.9.

* guix/hash.scm (open-sha256-input-port): New procedure.
* tests/hash.scm (supports-unbuffered-cbip?): New procedure.
  ("open-sha256-input-port, empty", "open-sha256-input-port, hello",
  "open-sha256-input-port, hello, one two",
  "open-sha256-input-port, hello, read from wrapped port"): New tests.

10 years agopki: Factorize signature manipulation procedures.
Ludovic Courtès [Thu, 23 Jan 2014 21:23:22 +0000 (22:23 +0100)]
pki: Factorize signature manipulation procedures.

* guix/pki.scm (signature-subject, signature-signed-data,
  valid-signature?): New procedures.
* guix/scripts/authenticate.scm (guix-authenticate): Adjust to use
  them.

10 years agoutils: Add 'fcntl-flock'.
Ludovic Courtès [Fri, 10 Jan 2014 22:27:39 +0000 (23:27 +0100)]
utils: Add 'fcntl-flock'.

* guix/utils.scm (%struct-flock, F_SETLKW, F_xxLCK): New variables.
  (fcntl-flock): New procedure.
* tests/utils.scm ("fcntl-flock"): New test.

10 years agostore: Add 'register-path' procedure.
Ludovic Courtès [Sat, 11 Jan 2014 16:11:14 +0000 (17:11 +0100)]
store: Add 'register-path' procedure.

* guix/store.scm (register-path): New procedure.
* tests/store.scm ("register-path"): New test.
* guix/config.scm.in (%guix-register-program): New variable.
* configure.ac: Compute and substitute 'guix_sbindir'.  Compute
  'guix_prefix'.
* pre-inst-env.in: Define 'GUIX_REGISTER'.

10 years agoguix-register: Support registration in the current store, without '--prefix'.
Ludovic Courtès [Sat, 11 Jan 2014 15:55:04 +0000 (16:55 +0100)]
guix-register: Support registration in the current store, without '--prefix'.

* nix/guix-register/guix-register.cc (register_validity): Leave
  'info.path' unmodified when PREFIX is empty.
  (main): Call 'settings.processEnvironment' early on.
  Leave 'settings.nixStore' unmodified when PREFIX is empty.

10 years agostore: Add comments for the %stderr constants.
Ludovic Courtès [Thu, 9 Jan 2014 22:59:07 +0000 (23:59 +0100)]
store: Add comments for the %stderr constants.

* guix/store.scm (process-stderr): Add comments for the various
  constants, to help when stracing.

10 years agoui: Filter out internal commands from '--help'.
Ludovic Courtès [Mon, 6 Jan 2014 22:31:17 +0000 (23:31 +0100)]
ui: Filter out internal commands from '--help'.

* guix/ui.scm (show-guix-help)[internal?]: New procedure.
  Use it to filter out internal commands reported by '--help'.

10 years agognu: Rename (gnu packages oggvorbis) to (gnu packages xiph).
Andreas Enge [Thu, 23 Jan 2014 18:05:09 +0000 (19:05 +0100)]
gnu: Rename (gnu packages oggvorbis) to (gnu packages xiph).

* gnu/packages/oggvorbis.scm: Rename this ...
* gnu/packages/xiph.scm: ... to this. Adjust module name accordingly.
* gnu-system.am (GNU_SYSTEM_MODULES): Update.
* gnu/packages/{gnunet.scm, libcanberra.scm, mp3.scm, pulseaudio.scm, sdl.scm,
    video.scm}: Use new module name.

10 years agognu: sqlite: Upgrade to 3.8.2.
Sree Harsha Totakura [Wed, 22 Jan 2014 17:00:09 +0000 (18:00 +0100)]
gnu: sqlite: Upgrade to 3.8.2.

* gnu/packages/sqlite.scm (sqlite): Upgrade to 3.8.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: guile-2.0: Switch to libgc 7.4.0.
Ludovic Courtès [Wed, 22 Jan 2014 22:45:44 +0000 (23:45 +0100)]
gnu: guile-2.0: Switch to libgc 7.4.0.

* gnu/packages/guile.scm (guile-2.0): Use LIBGC-7.4.
  (guile-2.0/fixed): Keep using LIBGC.

10 years agognu: Add libatomic_ops 7.4.0 and libgc 7.4.0.
Ludovic Courtès [Wed, 22 Jan 2014 22:44:20 +0000 (23:44 +0100)]
gnu: Add libatomic_ops 7.4.0 and libgc 7.4.0.

* gnu/packages/bdw-gc.scm (libatomic-ops, libgc-7.4): New variables.

10 years agognu: libgc: Explicitly mark license as 'x11-style'.
Ludovic Courtès [Wed, 22 Jan 2014 22:15:07 +0000 (23:15 +0100)]
gnu: libgc: Explicitly mark license as 'x11-style'.

* gnu/packages/bdw-gc.scm (libgc)[license]: Use 'x11-style'.

10 years agognu: isc-dhcp: Fix license.
Ludovic Courtès [Tue, 21 Jan 2014 23:25:43 +0000 (00:25 +0100)]
gnu: isc-dhcp: Fix license.

* gnu/packages/admin.scm (isc-dhcp): Change license to ISC.

10 years agognu: gnubik: Synchornize synopsis and description.
Ludovic Courtès [Tue, 21 Jan 2014 23:22:16 +0000 (00:22 +0100)]
gnu: gnubik: Synchornize synopsis and description.

* gnu/packages/games.scm (gnubik): Synchornize synopsis and description.

10 years agognu: Add GNU V.E.R.A.
Ludovic Courtès [Tue, 21 Jan 2014 23:21:19 +0000 (00:21 +0100)]
gnu: Add GNU V.E.R.A.

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

10 years agolicenses: Add GNU FDL 1.3+.
Ludovic Courtès [Tue, 21 Jan 2014 23:20:40 +0000 (00:20 +0100)]
licenses: Add GNU FDL 1.3+.

* guix/licenses.scm (fdl1.3+): New variable.

10 years agognu: glib: Upgrade to 2.39.1.
Ludovic Courtès [Mon, 20 Jan 2014 00:06:22 +0000 (01:06 +0100)]
gnu: glib: Upgrade to 2.39.1.

* gnu/packages/glib.scm (glib): Upgrade to 2.39.1.  Run tests
  sequentially.
* gnu/packages/patches/glib-tests-desktop.patch: Adjust for 2.39.1.  Add
  hunk for gsettings.c.

10 years agodoc: List what's in the chroot.
Ludovic Courtès [Sat, 18 Jan 2014 21:04:30 +0000 (22:04 +0100)]
doc: List what's in the chroot.

* doc/guix.texi (Setting Up the Daemon): List what's in the chroot.

10 years agoUpdate 'nix-upstream' sub-module; adjust build system, doc, and substituter.
Ludovic Courtès [Sat, 18 Jan 2014 15:48:29 +0000 (16:48 +0100)]
Update 'nix-upstream' sub-module; adjust build system, doc, and substituter.

* nix-upstream: Update sub-module.
* daemon.am (libutil_a_SOURCES): Add affinity.cc.
  (libutil_headers): Add affinity.hh.
  (libexec_PROGRAMS, nix_setuid_helper_SOURCES,
  nix_setuid_helper_CPPFLAGS, nix_setuid_helper_LDADD): Remove.
* doc/guix.texi (Setting Up the Daemon): Remove paragraph about
  'nix-setuid-helper'.
* guix/scripts/substitute-binary.scm (guix-substitute-binary): Exit 0 when
  %CACHE-URL has an HTTP scheme and looking up its host fails.
  Always print a newline to stdout when starting.

10 years agolinux-initrd: Make /dev/{null,zero} world-writable.
Ludovic Courtès [Sat, 18 Jan 2014 14:08:33 +0000 (15:08 +0100)]
linux-initrd: Make /dev/{null,zero} world-writable.

Reported by zerwas on #guix.

* guix/build/linux-initrd.scm (make-essential-device-nodes): Make
  /dev/null and /dev/zero world-writable.

10 years agognu: mesa: Propagate input.
Andreas Enge [Sat, 18 Jan 2014 14:14:00 +0000 (15:14 +0100)]
gnu: mesa: Propagate input.

* gnu/packages/gl.scm (mesa): Propagate input libx11.

10 years agohydra: Add debugging for the Guix job set.
Ludovic Courtès [Sat, 18 Jan 2014 13:41:33 +0000 (14:41 +0100)]
hydra: Add debugging for the Guix job set.

* build-aux/hydra/guix.scm: Set '%load-verbosely'.

10 years agognu: gl: Correct copyright notice.
Andreas Enge [Sat, 18 Jan 2014 13:15:39 +0000 (14:15 +0100)]
gnu: gl: Correct copyright notice.
* gnu/packages/gl.scm: Add copyright notice for mesa, moved here from
    module xorg in commit 200726e.

10 years agognu: Add DocBook DTD and XSL style sheets.
Ludovic Courtès [Fri, 17 Jan 2014 22:47:31 +0000 (23:47 +0100)]
gnu: Add DocBook DTD and XSL style sheets.

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

10 years agodoc: Distinguish between (gnu packages ...) and "GNU packages".
Ludovic Courtès [Fri, 17 Jan 2014 21:52:10 +0000 (22:52 +0100)]
doc: Distinguish between (gnu packages ...) and "GNU packages".

* doc/guix.texi (Package Modules): Add a footnote stating that (gnu
  packages ...) has nothing to do with "GNU packages."

10 years agoui: Update copyright year in '--version' output.
Ludovic Courtès [Fri, 17 Jan 2014 21:49:42 +0000 (22:49 +0100)]
ui: Update copyright year in '--version' output.

* guix/ui.scm (show-version-and-exit): Increment copyright year.

10 years agognu: Add libexif, libgphoto2, and gphoto2.
Ludovic Courtès [Wed, 15 Jan 2014 21:47:55 +0000 (22:47 +0100)]
gnu: Add libexif, libgphoto2, and gphoto2.

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

10 years agognu: pspp: Upgrade to 0.8.2
John Darrington [Wed, 15 Jan 2014 17:50:10 +0000 (18:50 +0100)]
gnu: pspp: Upgrade to 0.8.2

* gnu/packages/maths.scm (pspp): Update to 0.8.2.
* gnu/packages/patches/pspp-tests.patch: Deleted.
* gnu-system.am: Removed pspp-tests.patch from the manifest.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: git: 'git-submodule' works even if Perl is not in $PATH.
Ludovic Courtès [Wed, 15 Jan 2014 12:06:50 +0000 (13:06 +0100)]
gnu: git: 'git-submodule' works even if Perl is not in $PATH.

* gnu/packages/version-control.scm (git): Add 'native-inputs' field;
  move Gettext there from 'inputs'.  In 'split' phase, wrap the
  'git-submodule' script.

10 years agognu: valgrind: Update to 2.9.0.
Andreas Enge [Wed, 15 Jan 2014 14:11:57 +0000 (15:11 +0100)]
gnu: valgrind: Update to 2.9.0.

* gnu/packages/valgrind.scm (valgrind): Update to 2.9.0.

10 years agoUpdate 'sr.po'.
Ludovic Courtès [Tue, 14 Jan 2014 23:24:46 +0000 (00:24 +0100)]
Update 'sr.po'.

10 years agognu: Add Taylor UUCP.
Ludovic Courtès [Tue, 14 Jan 2014 23:15:55 +0000 (00:15 +0100)]
gnu: Add Taylor UUCP.

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

10 years agognu: inetutils: Upgrade to 1.9.2.
Ludovic Courtès [Tue, 14 Jan 2014 08:11:13 +0000 (09:11 +0100)]
gnu: inetutils: Upgrade to 1.9.2.

* gnu/packages/admin.scm (inetutils): Upgrade to 1.9.2.  Add Readline
  as an input.

10 years agodoc: Fix another reference to (gnu packages admin).
Ludovic Courtès [Tue, 14 Jan 2014 08:00:29 +0000 (09:00 +0100)]
doc: Fix another reference to (gnu packages admin).

* doc/guix.texi (Using the Configuration System): Change module name
  to (gnu packages admin).

10 years agognu: Add mpc123.
Ludovic Courtès [Mon, 13 Jan 2014 23:14:12 +0000 (00:14 +0100)]
gnu: Add mpc123.

* gnu/packages/mp3.scm (libmpcdec, mpc123): New variables.

10 years agognu: Changes references to (gnu packages admin).
Ludovic Courtès [Mon, 13 Jan 2014 22:21:47 +0000 (23:21 +0100)]
gnu: Changes references to (gnu packages admin).

* gnu/packages/version-control.scm, gnu/packages/vim.scm,
  gnu/system.scm, gnu/system/dmd.scm, gnu/system/shadow.scm,
  gnu/system/vm.scm: Change references to (gnu packages system) to (gnu
  packages admin).
  This is a followup to commit 4aeea89.

10 years agognu: Rename (gnu packages system) to (gnu packages admin).
Ludovic Courtès [Mon, 13 Jan 2014 20:32:39 +0000 (21:32 +0100)]
gnu: Rename (gnu packages system) to (gnu packages admin).

* gnu/packages/system.scm: Rename to...
* gnu/packages/admin.scm: ... this.  Adjust module name accordingly.
* gnu-system.am (GNU_SYSTEM_MODULES): Update.

10 years agognu: Add ISC's DHCP implementation.
Ludovic Courtès [Mon, 13 Jan 2014 20:27:57 +0000 (21:27 +0100)]
gnu: Add ISC's DHCP implementation.

* gnu/packages/system.scm (isc-dhcp): New variable.

10 years agognu: Add libtirpc.
Ludovic Courtès [Mon, 13 Jan 2014 17:53:26 +0000 (18:53 +0100)]
gnu: Add libtirpc.

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

10 years agoguix package: Gracefully handle EPIPE on '--search'.
Ludovic Courtès [Mon, 13 Jan 2014 17:51:07 +0000 (18:51 +0100)]
guix package: Gracefully handle EPIPE on '--search'.

* guix/scripts/package.scm (guix-package): Wrap body of 'search' in
  'leave-on-EPIPE'.

10 years agoui: Don't use hyphens in 'package->recutils' output.
Ludovic Courtès [Mon, 13 Jan 2014 17:49:26 +0000 (18:49 +0100)]
ui: Don't use hyphens in 'package->recutils' output.

* guix/ui.scm (package->recutils): Rename recutils field from
  'home-page' to 'homepage'.

10 years agognu: Add aumix.
Ludovic Courtès [Mon, 13 Jan 2014 17:47:59 +0000 (18:47 +0100)]
gnu: Add aumix.

* gnu/packages/linux.scm (aumix): New variable.

10 years agognu: Add GnuPG's pinentry.
Ludovic Courtès [Mon, 13 Jan 2014 17:47:31 +0000 (18:47 +0100)]
gnu: Add GnuPG's pinentry.

* gnu/packages/gnupg.scm (pinentry): New variable.

10 years agognu: guile-ssh: Remove now unneeded cruft.
Ludovic Courtès [Sun, 12 Jan 2014 23:37:16 +0000 (00:37 +0100)]
gnu: guile-ssh: Remove now unneeded cruft.

* gnu/packages/ssh.scm (guile-ssh): Remove libssh version hack from
  'autoreconf' phase.

10 years agognu: Add Aspell dictionaries.
Ludovic Courtès [Sun, 12 Jan 2014 21:44:39 +0000 (22:44 +0100)]
gnu: Add Aspell dictionaries.

* gnu/packages/aspell.scm (aspell-dictionary): New procedure.
  (aspell-dict-en, aspell-dict-eo, aspell-dict-es, aspell-dict-fr): New
  variables.

10 years agoconfig: '%store-directory' always honors $NIX_STORE_DIR.
Ludovic Courtès [Wed, 8 Jan 2014 20:37:06 +0000 (21:37 +0100)]
config: '%store-directory' always honors $NIX_STORE_DIR.

* guix/config.scm.in (%store-directory): Honor $NIX_STORE_DIR.
* guix/store.scm (%store-prefix): Use %store-directory directly.

10 years agoconfig: '%state-directory' always honors $NIX_STATE_DIR.
Ludovic Courtès [Wed, 8 Jan 2014 20:12:55 +0000 (21:12 +0100)]
config: '%state-directory' always honors $NIX_STATE_DIR.

* guix/config.scm.in (%state-directory): Honor $NIX_STATE_DIR.
* guix/scripts/package.scm (%profile-directory): Use %state-directory
  directly.
* guix/store.scm (%default-socket-path, log-file): Likewise.

10 years agostore: Fix 'log-file' to support uncompressed logs.
Ludovic Courtès [Wed, 8 Jan 2014 18:23:33 +0000 (19:23 +0100)]
store: Fix 'log-file' to support uncompressed logs.

* guix/store.scm (log-file): Report the file without '.bz2' if it
  exists.

10 years agoarchive: Add '--missing'.
Ludovic Courtès [Mon, 6 Jan 2014 21:25:29 +0000 (22:25 +0100)]
archive: Add '--missing'.

* guix/scripts/archive.scm (show-help, %options): Add '--missing'.
  (guix-archive)[lines]: New procedure.
  Use it to honor '--missing'.
* tests/guix-archive.sh: Add tests.
* doc/guix.texi (Invoking guix archive): Document '--missing'.

10 years agognu: lsh: Move generic patching to 'snippet'.
Ludovic Courtès [Sun, 5 Jan 2014 22:46:45 +0000 (23:46 +0100)]
gnu: lsh: Move generic patching to 'snippet'.

* gnu/packages/lsh.scm (lsh): Move generic patching to the 'snippet'
  field of 'origin'.

10 years agoarchive: Make sure $sysconfdir/guix exists.
Ludovic Courtès [Sun, 5 Jan 2014 22:40:06 +0000 (23:40 +0100)]
archive: Make sure $sysconfdir/guix exists.

* guix/pki.scm (ensure-acl): Make sure the directory of %ACL-FILE
  exists.
* guix/scripts/archive.scm (generate-key-pair): Likewise for
  %PUBLIC-KEY-FILE.