jackhill/guix/guix.git
10 years agognu: Add FUSE.
Ludovic Courtès [Sat, 8 Feb 2014 15:07:02 +0000 (16:07 +0100)]
gnu: Add FUSE.

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

10 years agognu: Move root's home directory to /root.
Ludovic Courtès [Fri, 7 Feb 2014 23:18:25 +0000 (00:18 +0100)]
gnu: Move root's home directory to /root.

* gnu/system.scm (operating-system-derivation): Change root's
  'home-directory' to "/root".
* gnu/system/vm.scm (operating-system-default-contents): Add /root.

10 years agognu: python-pysqlite: Point to the latest release tarball.
Ludovic Courtès [Fri, 7 Feb 2014 22:44:26 +0000 (23:44 +0100)]
gnu: python-pysqlite: Point to the latest release tarball.

* gnu/packages/python.scm (python2-pysqlite): Change 'version' to
  "2.6.3a".  Change 'uri' to point to pypi.python.org.
  Reported by Mark H Weaver <mhw@netris.org> and others.
  Update 'home-page' and 'synopsis'.

10 years agognu: Add paperkey.
Eric Bavier [Fri, 7 Feb 2014 16:55:42 +0000 (10:55 -0600)]
gnu: Add paperkey.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: gdb: Upgrade to 7.7.
Ludovic Courtès [Thu, 6 Feb 2014 21:09:52 +0000 (22:09 +0100)]
gnu: gdb: Upgrade to 7.7.

* gnu/packages/gdb.scm (gdb): Upgrade to 7.7.  Remove
  'gdb-loongson-madd-fix.patch', no longer needed.
* gnu/packages/patches/gdb-loongson-madd-fix.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.

10 years agodaemon: Add '--gc-keep-outputs' and '--gc-keep-derivations'.
Ludovic Courtès [Thu, 6 Feb 2014 20:49:47 +0000 (21:49 +0100)]
daemon: Add '--gc-keep-outputs' and '--gc-keep-derivations'.

* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_GC_KEEP_OUTPUTS,
  GUIX_OPT_GC_KEEP_DERIVATIONS): New macros.
  (options): Add 'gc-keep-outputs' and 'gc-keep-derivations'.
  (string_to_bool): New function.
  (parse_opt): Honor GUIX_OPT_GC_KEEP_DERIVATIONS and
  GUIX_OPT_GC_KEEP_OUTPUTS.
* doc/guix.texi (Invoking guix-daemon): Document --gc-keep-outputs and
  --gc-keep-derivations.

10 years agoAdd Raimon to 'AUTHORS'.
Ludovic Courtès [Thu, 6 Feb 2014 18:07:10 +0000 (19:07 +0100)]
Add Raimon to 'AUTHORS'.

10 years agognu: Add luajit
Raimon Grau [Thu, 6 Feb 2014 00:43:31 +0000 (01:43 +0100)]
gnu: Add luajit

* gnu/packages/lua.scm (luajit): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: Add Glade.
John Darrington [Wed, 5 Feb 2014 20:27:20 +0000 (21:27 +0100)]
gnu: Add Glade.

* gnu/packages/gnome.scm (glade): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: imagemagick: Upgrade to 6.8.8-4.
Andreas Enge [Thu, 6 Feb 2014 08:32:12 +0000 (09:32 +0100)]
gnu: imagemagick: Upgrade to 6.8.8-4.

* gnu/packages/imagemagick.scm (imagemagick): Upgrade to 6.8.8-4.

10 years agognu: gnu-pw-mgr: Upgrade to 1.1.
Eric Bavier [Wed, 5 Feb 2014 21:48:19 +0000 (15:48 -0600)]
gnu: gnu-pw-mgr: Upgrade to 1.1.

* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Upgrade to 1.1.

Signed-off-by: Andreas Enge <andreas@enge.fr>
10 years agognu: guile-wm: Upgrade to 1.0.
Ludovic Courtès [Wed, 5 Feb 2014 22:21:24 +0000 (23:21 +0100)]
gnu: guile-wm: Upgrade to 1.0.

* gnu/packages/guile-wm.scm (guile-wm): Upgrade to 1.0.

10 years agognu: system: Build /etc/localtime.
Ludovic Courtès [Wed, 5 Feb 2014 21:22:51 +0000 (22:22 +0100)]
gnu: system: Build /etc/localtime.

* gnu/system.scm (etc-directory)[bashrc]: Use 'text-file*' instead of
  'text-file'.  Adjust users accordingly.
  [files]: Add the /etc/localtime file for TIMEZONE.
  Add TZDATA to the 'file-union' inputs.
  (operating-system-derivation): Pass 'etc-directory' PROFILE-DRV
  instead of PROFILE.

10 years agognu: slim: Upgrade to 1.3.6; allow the choice of a config file at run time.
Ludovic Courtès [Wed, 5 Feb 2014 21:18:14 +0000 (22:18 +0100)]
gnu: slim: Upgrade to 1.3.6; allow the choice of a config file at run time.

* gnu/packages/slim.scm (slim): Upgrade to 1.3.6.  Add patches.  Comment
  out systemd-related stuff from CMakeLists.txt.  Add
  "-DBUILD_SHARED_LIBS=OFF" and "-DCMAKE_SKIP_BUILD_RPATH=ON" to
  #:configure-flags.  Adjust 'home-page' field.
* gnu/packages/patches/slim-config.patch,
  gnu/packages/patches/slim-session.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.

10 years agognu: inkscape: New module
John Darrington [Tue, 4 Feb 2014 15:12:39 +0000 (16:12 +0100)]
gnu: inkscape: New module

* gnu/packages/inkscape.scm,
  gnu/packages/patches/inkscape-stray-comma.patch: New files.
* gnu-system.am (GNU_SYSTEM_MODULES): Add inkscape.scm.
  (dist_patch_DATA): Add inkscape-stray-comma.patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: Add Boost.
John Darrington [Tue, 4 Feb 2014 15:12:38 +0000 (16:12 +0100)]
gnu: Add Boost.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: gxmessage: New module
John Darrington [Tue, 4 Feb 2014 12:48:18 +0000 (13:48 +0100)]
gnu: gxmessage: New module

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: dmd: Use 'text-file*' when building Xorg's config file.
Ludovic Courtès [Mon, 3 Feb 2014 22:37:09 +0000 (23:37 +0100)]
gnu: dmd: Use 'text-file*' when building Xorg's config file.

* gnu/system/dmd.scm (xorg-service)[xserver.conf]: Change to use
  'text-file*' instead of 'text-file'.
  Adjust body accordingly.  Remove now extraneous packages from the
  service's 'inputs' field.

10 years agomonads: Add 'text-file*'.
Ludovic Courtès [Mon, 3 Feb 2014 22:12:54 +0000 (23:12 +0100)]
monads: Add 'text-file*'.

* guix/monads.scm (text-file*): New procedure.
* tests/monads.scm ("text-file*"): New test.
* doc/guix.texi (The Store Monad): Change example since the previous one
  would erroneously fail to retain a reference to Coreutils.  Document
  'text-file*'.

10 years agognu: file: Upgrade to 5.16.
John Darrington [Sun, 2 Feb 2014 10:26:04 +0000 (11:26 +0100)]
gnu: file: Upgrade to 5.16.

* gnu/packages/file.scm (file): Upgrade to 5.16.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: gtkmm-2 New variable
John Darrington [Sun, 2 Feb 2014 10:27:36 +0000 (11:27 +0100)]
gnu: gtkmm-2 New variable

* gnu/packages/gtk.scm (gtkmm-2): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: vm: Create all the user directories.
Ludovic Courtès [Sun, 2 Feb 2014 19:41:53 +0000 (20:41 +0100)]
gnu: vm: Create all the user directories.

* gnu/system/vm.scm (operating-system-default-contents)[user-directories]:
  New procedure.  Use it to create each user's home and GC root
  directories.

10 years agognu: Add xterm.
Ludovic Courtès [Sun, 2 Feb 2014 19:38:03 +0000 (20:38 +0100)]
gnu: Add xterm.

* gnu/packages/xorg.scm (xterm): New variable.

10 years agognu: vm: Add /run/current-system and /bin/sh.
Ludovic Courtès [Sun, 2 Feb 2014 00:34:33 +0000 (01:34 +0100)]
gnu: vm: Add /run/current-system and /bin/sh.

* gnu/system/vm.scm (operating-system-default-contents): Populate
  /run/current-system and create /bin/sh.
* gnu/system.scm (operating-system-profile-derivation,
  operating-system-profile-directory): New procedures.
  (operating-system-derivation): Use it.

10 years agooffload: Have 'build-machines' honor its argument.
Ludovic Courtès [Sun, 2 Feb 2014 00:32:50 +0000 (01:32 +0100)]
offload: Have 'build-machines' honor its argument.

* guix/scripts/offload.scm (build-machines): Honor FILE.

10 years agognu: linux-initrd: Build /dev/input devices.
Ludovic Courtès [Sat, 1 Feb 2014 01:22:23 +0000 (02:22 +0100)]
gnu: linux-initrd: Build /dev/input devices.

* guix/build/linux-initrd.scm (make-essential-device-nodes): Make
  dev/input devices.

10 years agognu: Add preliminary Xorg service.
Ludovic Courtès [Sat, 1 Feb 2014 00:58:37 +0000 (01:58 +0100)]
gnu: Add preliminary Xorg service.

* gnu/system/dmd.scm (xorg-service): New procedure.

10 years agognu: linux-initrd: Make /dev/{mem,kmem}.
Ludovic Courtès [Sat, 1 Feb 2014 00:07:14 +0000 (01:07 +0100)]
gnu: linux-initrd: Make /dev/{mem,kmem}.

* guix/build/linux-initrd.scm (make-essential-device-nodes): Make
  dev/{mem,kmem}.

10 years agognu: xorg-server: Use /var as $localstatedir.
Ludovic Courtès [Fri, 31 Jan 2014 17:22:04 +0000 (18:22 +0100)]
gnu: xorg-server: Use /var as $localstatedir.

* gnu/packages/xorg.scm (xorg-server): Pass --localstatedir=/var.  In
  'configure' phase, patch 'hw/xfree86/Makefile.in'.

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'.