jackhill/guix/guix.git
8 years agodoc: Update the "Limitations" section.
Ludovic Courtès [Sun, 19 Jul 2015 20:39:16 +0000 (22:39 +0200)]
doc: Update the "Limitations" section.

* doc/guix.texi (GNU Distribution): Use the new package list URL.
  (Limitations): Mention Enlightenment and improve wording.  Update the
  package count.

8 years agognu: Add gnu-c-manual.
Ludovic Courtès [Sun, 19 Jul 2015 20:27:37 +0000 (22:27 +0200)]
gnu: Add gnu-c-manual.

* gnu/packages/gcc.scm (gnu-c-manual): New variable.

8 years agonls: Add package files for translation.
Ludovic Courtès [Sun, 19 Jul 2015 20:05:36 +0000 (22:05 +0200)]
nls: Add package files for translation.

* po/packages/POTFILES.in: Add a bunch of files.

8 years agobuild: Ensure man pages are not rebuilt by users.
Ludovic Courtès [Sun, 19 Jul 2015 20:01:20 +0000 (22:01 +0200)]
build: Ensure man pages are not rebuilt by users.

* doc.am (doc/guix.1): Remove dependency on 'scripts/guix' since every user
  would end up rebuilding 'guix.1'.  Add dependency on guix/scripts/*.scm.
  (doc/guix-daemon.1): For the same reason, depend on 'guix-daemon.cc' instead
  of 'guix-daemon'.
  (doc/guix-$(1).1): Similarly, remove dependency on 'scripts/guix' and depend
  on 'guix/scripts/$(1).scm' instead of the .go file.

8 years agobuild: Fix instantiation of 'guix-daemon.service' when builddir != srcdir.
Ludovic Courtès [Sun, 19 Jul 2015 19:59:00 +0000 (21:59 +0200)]
build: Fix instantiation of 'guix-daemon.service' when builddir != srcdir.

* daemon.am (etc/guix-daemon.service): Add $(MKDIR_P) invocation.  Add
  $(srcdir) when referring to the source file.

8 years agobuild: Do not distribute the daemon's 'schema.sql.hh' file.
Ludovic Courtès [Sun, 19 Jul 2015 19:58:11 +0000 (21:58 +0200)]
build: Do not distribute the daemon's 'schema.sql.hh' file.

* daemon.am (libstore_headers): Remove nix/libstore/schema.sql.hh.

8 years agobuild: Build coreutils-size-map.eps for the sake of the PS and DVI outputs.
Ludovic Courtès [Sun, 19 Jul 2015 19:55:21 +0000 (21:55 +0200)]
build: Build coreutils-size-map.eps for the sake of the PS and DVI outputs.

* doc.am (EXTRA_DIST): Add coreutils-size-map.eps.
  (.png.eps): New rule.
  (ps-local): Add dependency on coreutils-size-map.eps.
  (dvi-local): New target.

8 years agobuild: Add 'generate-authors.scm' to the distribution.
Ludovic Courtès [Sun, 19 Jul 2015 19:54:42 +0000 (21:54 +0200)]
build: Add 'generate-authors.scm' to the distribution.

* Makefile.am (EXTRA_DIST): Add build-aux/generate-authors.scm.

8 years agobuild: Adjust 'gen-AUTHORS' for 'distcheck' and when run from a tarball.
Ludovic Courtès [Sun, 19 Jul 2015 19:50:57 +0000 (21:50 +0200)]
build: Adjust 'gen-AUTHORS' for 'distcheck' and when run from a tarball.

* Makefile.am (gen-AUTHORS): Don't do anything if '.git' is missing.  Remove
  "$(distdir)/AUTHORS" before invoking 'generate-authors.scm'.

8 years agoAUTHORS: Remove the hand-made list of people.
Ludovic Courtès [Sun, 19 Jul 2015 19:49:58 +0000 (21:49 +0200)]
AUTHORS: Remove the hand-made list of people.

* AUTHORS: Remove the list of people, and add a note saying that this file is
  meant to be generated.

8 years agognu: metabat: Minor tweaks.
Mark H Weaver [Sun, 19 Jul 2015 19:25:54 +0000 (15:25 -0400)]
gnu: metabat: Minor tweaks.

* gnu/packages/bioinformatics.scm (metabat)[arguments]: Fix indentation in
  'fix-includes' phase.
  [license]: Fix misspelling.

8 years agognu: Add metabat.
Ben Woodcroft [Sat, 18 Jul 2015 07:39:05 +0000 (17:39 +1000)]
gnu: Add metabat.

* gnu/packages/bioinformatics.scm (metabat): New variable.

8 years agognu: lxappearance: Add missing slash.
Mathieu Lirzin [Thu, 16 Jul 2015 19:28:50 +0000 (21:28 +0200)]
gnu: lxappearance: Add missing slash.

* gnu/packages/lxde.scm (lxappearance)[source]: Add missing slash.

8 years agognu: emacs-mmm-mode: Use gnu-build-system.
Alex Kost [Thu, 9 Jul 2015 08:48:12 +0000 (11:48 +0300)]
gnu: emacs-mmm-mode: Use gnu-build-system.

* gnu/packages/emacs.scm (emacs-mmm-mode): Replace melpa-stable URL with
  the github URL and use 'gnu-build-system' instead of
  'emacs-build-system'.  Fix typo (add missing space before the
  description).

8 years agognu: mariadb: Update to 10.0.20.
Mark H Weaver [Sun, 19 Jul 2015 08:32:27 +0000 (04:32 -0400)]
gnu: mariadb: Update to 10.0.20.

* gnu/packages/databases.scm (mariadb): Update to 10.0.20.

8 years agognu: guile-opengl: Install compiled modules in the correct place.
David Thompson [Sun, 19 Jul 2015 02:59:46 +0000 (22:59 -0400)]
gnu: guile-opengl: Install compiled modules in the correct place.

* gnu/packages/gl.scm (guile-opengl): Install compiled modules in the same
  directory as the source modules.

8 years agognu: crda: Add forgotten patch.
Ludovic Courtès [Sat, 18 Jul 2015 15:14:09 +0000 (17:14 +0200)]
gnu: crda: Add forgotten patch.

This file should have been added as part of commit cc205da.

* gnu/packages/patches/crda-optional-gcrypt.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.

8 years agobuild-system/ruby: Add #:gem-flags parameter.
pjotrp [Mon, 13 Jul 2015 13:32:36 +0000 (15:32 +0200)]
build-system/ruby: Add #:gem-flags parameter.

* guix/build-system/ruby.scm (build): add 'gem-flags' key
* guix/build/ruby-build-system.scm (build): use 'gem-flags' key
* doc/guix.texi (Build Systems): Mention #:gem-flags.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
8 years agognu: dfu-programmer: Update to 0.7.2.
David Thompson [Sat, 18 Jul 2015 10:47:33 +0000 (06:47 -0400)]
gnu: dfu-programmer: Update to 0.7.2.

* gnu/packages/flashing-tools.scm (dfu-programmer): Update to 0.7.2.  Add
  pkg-config input.

8 years agotests: Fix 'publish' test for nix-base32 format.
Alex Kost [Sat, 18 Jul 2015 14:05:28 +0000 (17:05 +0300)]
tests: Fix 'publish' test for nix-base32 format.

This is a followup to commit 3b307162e892e0050836434b12e14376758419cc.

* tests/publish.scm ("/*.narinfo"): Use 'bytevector->nix-base32-string',
  not 'bytevector->base32-string'.

8 years agognu packages: Clean up synopses and descriptions.
Alex Kost [Fri, 17 Jul 2015 12:16:07 +0000 (15:16 +0300)]
gnu packages: Clean up synopses and descriptions.

* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
  gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
  gnu/packages/code.scm, gnu/packages/compression.scm,
  gnu/packages/databases.scm, gnu/packages/enchant.scm,
  gnu/packages/firmware.scm, gnu/packages/fonts.scm,
  gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
  gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
  gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
  gnu/packages/haskell.scm, gnu/packages/language.scm,
  gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
  gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
  gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
  gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
  gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
  gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
  gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
  gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
  gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
  gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
  gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
  gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
  gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
  Fix typos.  Trim long lines.  Add missing periods in the end of sentences.
  Use double spaces between sentences.  Remove trailing whitespaces.

8 years agognu packages: Avoid description lines with leading "(".
Alex Kost [Thu, 16 Jul 2015 09:14:13 +0000 (12:14 +0300)]
gnu packages: Avoid description lines with leading "(".

* gnu/packages/curl.scm (curl): Reformat description to avoid a line
  beginning with "(" because such lines break font-lock highlighting
  in Emacs.
* gnu/packages/flashing-tools.scm (dfu-programmer): Likewise.
* gnu/packages/games.scm (gnugo): Likewise.
* gnu/packages/gnome.scm (json-glib): Likewise.
* gnu/packages/image.scm (jbig2dec): Likewise.
* gnu/packages/maths.scm (units): Likewise.
* gnu/packages/pdf.scm (mupdf): Likewise.
* gnu/packages/web.scm (perl-encode-locale): Likewise.
* gnu/packages/wordnet.scm (wordnet): Likewise.
* gnu/packages/xml.scm (libxml2):Likewise.

8 years agognu: Document xorg packages.
Alex Kost [Sun, 12 Jul 2015 16:47:39 +0000 (19:47 +0300)]
gnu: Document xorg packages.

* gnu/packages/xorg.scm: Add/improve 'synopsis'/'description' fields of
  many packages.

8 years agoRevert "gnu: calibre: Update to 2.30.0."
Andreas Enge [Sat, 18 Jul 2015 08:21:15 +0000 (10:21 +0200)]
Revert "gnu: calibre: Update to 2.30.0."

The new version requires the SSL package from Python >= 2.7.9.

This reverts commit d5711017707b8e0e8a75c2e0b535fd73b8d78c6c.

8 years agopublish: Write hashes in nix-base32 format.
Ludovic Courtès [Fri, 17 Jul 2015 22:14:04 +0000 (00:14 +0200)]
publish: Write hashes in nix-base32 format.

* guix/scripts/publish.scm (narinfo-string): Use
  'bytevector->nix-base32-string', not 'bytevector->base32-string'.

8 years agosyscalls: Struct deserializer can now return arbitrary objects.
Ludovic Courtès [Fri, 17 Jul 2015 21:31:29 +0000 (23:31 +0200)]
syscalls: Struct deserializer can now return arbitrary objects.

* guix/build/syscalls.scm (read-types): Add RETURN and VALUES parameters.
  (define-c-struct): Add WRAP-FIELDS parameter and pass it to 'read-types'.
  (sockaddr-in, sockaddr-in6): Add first argument that uses
  'make-socket-address'.
  (read-socket-address): Remove 'match' on the result of 'read-sockaddr-in'
  and 'read-sockaddr-in6'.

8 years agodownload: Remove spurious warning about 'https_proxy'.
Ludovic Courtès [Fri, 17 Jul 2015 20:31:12 +0000 (22:31 +0200)]
download: Remove spurious warning about 'https_proxy'.

* guix/build/download.scm (open-connection-for-uri)[with-https-proxy]: Warn
  about 'https_proxy' only when 'getenv' returns a non-empty string.

8 years agofile-systems: Subsystem cgroups now depend on /sys/fs/cgroup.
Ludovic Courtès [Fri, 17 Jul 2015 17:25:09 +0000 (19:25 +0200)]
file-systems: Subsystem cgroups now depend on /sys/fs/cgroup.

* gnu/system/file-systems.scm (%control-groups): Define 'parent' variable.
  Initialize the 'dependencies' field for all the subsystems.

8 years agofile-systems: Add a 'dependencies' field to <file-system>.
Ludovic Courtès [Fri, 17 Jul 2015 17:24:15 +0000 (19:24 +0200)]
file-systems: Add a 'dependencies' field to <file-system>.

* gnu/system/file-systems.scm (<file-system>)[dependencies]: New field.
* gnu/system.scm (other-file-system-services)[requirements]: Honor
  'file-system-dependencies'.
* doc/guix.texi (File Systems): Document it.

8 years agognu: Add Linux-Libre 4.0.8.
Ludovic Courtès [Fri, 17 Jul 2015 13:35:27 +0000 (15:35 +0200)]
gnu: Add Linux-Libre 4.0.8.

* gnu/packages/linux.scm (linux-libre-4.0): New variable.

8 years agosystem: Use the CRDA udev rules.
Ludovic Courtès [Fri, 17 Jul 2015 13:34:09 +0000 (15:34 +0200)]
system: Use the CRDA udev rules.

* gnu/services/base.scm (%base-services): Add CRDA to the #:rules of
  'udev-service'.
* gnu/system/install.scm (installation-services): Likewise.

8 years agognu: Add CRDA.
Ludovic Courtès [Fri, 17 Jul 2015 10:14:48 +0000 (12:14 +0200)]
gnu: Add CRDA.

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

8 years agognu: Add wireless-regdb.
Ludovic Courtès [Fri, 17 Jul 2015 10:14:26 +0000 (12:14 +0200)]
gnu: Add wireless-regdb.

* gnu/packages/linux.scm (wireless-regdb): New variable.

8 years agolicenses: Add Fontana's copyleft-next.
Ludovic Courtès [Fri, 17 Jul 2015 10:13:31 +0000 (12:13 +0200)]
licenses: Add Fontana's copyleft-next.

* guix/licenses.scm (copyleft-next): New variable.

8 years agognu: Add eog.
David Hashe [Thu, 16 Jul 2015 03:52:22 +0000 (22:52 -0500)]
gnu: Add eog.

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

8 years agognu: Add exempi.
David Hashe [Thu, 16 Jul 2015 04:15:45 +0000 (23:15 -0500)]
gnu: Add exempi.

* gnu/packages/freedesktop.scm (exempi): New variable.

8 years agognu: duplicity: Update to 0.6.26.
Eric Bavier [Fri, 17 Jul 2015 07:50:55 +0000 (02:50 -0500)]
gnu: duplicity: Update to 0.6.26.

* gnu/packages/backup.scm (duplicity): Update to 0.6.26.

8 years agognu: Add emacs-pdf-tools.
Ricardo Wurmus [Sun, 5 Jul 2015 17:59:37 +0000 (19:59 +0200)]
gnu: Add emacs-pdf-tools.

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

Co-authored-by: Alex Kost <alezost@gmail.com>
8 years agosystem: Add 'kernel-arguments' field.
Ludovic Courtès [Thu, 16 Jul 2015 23:07:50 +0000 (01:07 +0200)]
system: Add 'kernel-arguments' field.

* gnu/system.scm (<operating-system>)[kernel-arguments]: New field.
  (operating-system-grub.cfg): Honor it.
  (operating-system-parameters-file): Add 'kernel-arguments' to the parameters
  file.
* guix/scripts/system.scm (previous-grub-entries)[system->grub-entry]: Read
  the 'kernel-arguments' field of the parameters file, when available.
* gnu/system/vm.scm (system-qemu-image/shared-store-script):
  Use (operating-system-kernel-arguments os) in '-append'.
* doc/guix.texi (operating-system Reference): Document it.

8 years agosystem: Fix typo in 'PS1' in skeleton '.bashrc'.
Ludovic Courtès [Thu, 16 Jul 2015 08:54:00 +0000 (10:54 +0200)]
system: Fix typo in 'PS1' in skeleton '.bashrc'.

* gnu/system/shadow.scm (default-skeletons): Move misplaced backslash.

8 years agognu: Add gnome-common.
Mathieu Lirzin [Mon, 13 Jul 2015 08:51:46 +0000 (10:51 +0200)]
gnu: Add gnome-common.

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

8 years agognu: Add lxappearance.
Mathieu Lirzin [Sat, 11 Jul 2015 06:25:14 +0000 (08:25 +0200)]
gnu: Add lxappearance.

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

8 years agoinstall: Reset the mtimes of all the files in the binary tarball.
Ludovic Courtès [Thu, 16 Jul 2015 07:56:33 +0000 (09:56 +0200)]
install: Reset the mtimes of all the files in the binary tarball.

* gnu/system/install.scm (self-contained-tarball): Pass "--mtime=@0".  The
  only files whose mtime was not already were those in /var/guix and
  /gnu/store/.links.

8 years agofile-systems: 'uuid' raises a syntax error for invalid UUIDs.
Ludovic Courtès [Thu, 16 Jul 2015 07:49:36 +0000 (09:49 +0200)]
file-systems: 'uuid' raises a syntax error for invalid UUIDs.

* gnu/system/file-systems.scm (uuid): Call 'syntax-violation' when
  'string->uuid' returns #f.
* tests/file-systems.scm ("uuid, syntax error"): New test.

8 years agognu: Update livestreamer to 1.12.2.
Efraim Flashner [Tue, 30 Jun 2015 17:44:02 +0000 (20:44 +0300)]
gnu: Update livestreamer to 1.12.2.

* gnu/packages/video (livestreamer): Update to 1.12.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
8 years agosize: Gracefully handle EPIPE.
Ludovic Courtès [Wed, 15 Jul 2015 16:05:29 +0000 (18:05 +0200)]
size: Gracefully handle EPIPE.

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

8 years agoui: Add 'leave-on-EPIPE'.
Ludovic Courtès [Wed, 15 Jul 2015 16:01:05 +0000 (18:01 +0200)]
ui: Add 'leave-on-EPIPE'.

* guix/scripts/package.scm (leave-on-EPIPE): Move to...
* guix/ui.scm (leave-on-EPIPE): ... here.

8 years agoAdd 'guix-daemon.service' file for systemd.
Ludovic Courtès [Wed, 15 Jul 2015 15:13:16 +0000 (17:13 +0200)]
Add 'guix-daemon.service' file for systemd.

* etc/guix-daemon.service.in: New file, provided by Ricardo Wurmus.
* daemon.am (CLEANFILES): Add etc/guix-daemon.service.
  (systemdservicedir, nodist_systemdservice_DATA): New variables.
  (EXTRA_DIST): Add etc/guix-daemon.service.in.
* doc/guix.texi (Binary Installation, Build Environment Setup): Mention
  'guix-daemon.service'.

8 years agosystem: Make /dev/kvm 660.
Ludovic Courtès [Wed, 15 Jul 2015 14:16:43 +0000 (16:16 +0200)]
system: Make /dev/kvm 660.

* gnu/services/base.scm (kvm-udev-rule): Change /dev/kvm mode to 0660 as a
  followup to the resolution of <http://bugs.gnu.org/18994>.

8 years agodoc: Reinstate bit about creating build accounts.
Ludovic Courtès [Wed, 15 Jul 2015 13:08:07 +0000 (15:08 +0200)]
doc: Reinstate bit about creating build accounts.

* doc/guix.texi (Binary Installation): Reinstate bit about creating group and
  user accounts, which was inadvertently removed in 01dbc7e0.

8 years agognu: icecat: Update to 31.8.0-gnu1.
Mark H Weaver [Wed, 15 Jul 2015 19:28:36 +0000 (15:28 -0400)]
gnu: icecat: Update to 31.8.0-gnu1.

* gnu/packages/patches/icecat-enable-acceleration-and-webgl.patch: New file.
* gnu/packages/patches/icecat-CVE-2015-2722-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-2722-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-2724-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-2724-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-2724-pt3.patch,
  gnu/packages/patches/icecat-CVE-2015-2724-pt4.patch,
  gnu/packages/patches/icecat-CVE-2015-2728-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-2728-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-2733-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-2733-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-2735.patch,
  gnu/packages/patches/icecat-CVE-2015-2736.patch,
  gnu/packages/patches/icecat-CVE-2015-2738.patch,
  gnu/packages/patches/icecat-CVE-2015-2739.patch,
  gnu/packages/patches/icecat-CVE-2015-2740.patch,
  gnu/packages/patches/icecat-CVE-2015-2743.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove them, and add the new file.
* gnu/packages/gnuzilla.scm (icecat): Update to 31.8.0-gnu1.  Remove the
  outdated patches and add the new one.

8 years agognu: libpcap: Enable plain "linux" backend.
Ricardo Wurmus [Wed, 15 Jul 2015 14:11:50 +0000 (16:11 +0200)]
gnu: libpcap: Enable plain "linux" backend.

* gnu/packages/admin.scm (libpcap)[arguments]: Add "--with-pcap=linux"
  configure flag.

8 years agognu: setbfree: Disable unsupported optimizations on non-x86.
Ricardo Wurmus [Sun, 5 Jul 2015 18:40:56 +0000 (20:40 +0200)]
gnu: setbfree: Disable unsupported optimizations on non-x86.

* gnu/packages/music.scm (setbfree)[arguments]: Override default OPTIMIZATIONS
  variable on non-x86 systems.

8 years agognu: eigen: Use parallel-job-count.
Eric Bavier [Wed, 15 Jul 2015 01:49:43 +0000 (20:49 -0500)]
gnu: eigen: Use parallel-job-count.

* gnu/packages/algebra.scm (eigen)[arguments]: 'current-processor-count' ->
  'parallel-job-count'.

8 years agognu: ccache: Update to 3.2.2.
Eric Bavier [Fri, 10 Jul 2015 07:31:26 +0000 (02:31 -0500)]
gnu: ccache: Update to 3.2.2.

* gnu/packages/ccache.scm (ccache): Update to 3.2.2.
  [arguments]: Rename 'patch-test-shebangs phase to 'setup-tests.  Set the
  SHELL environment variable.

8 years agoemacs: Fill package heading in Info buffers.
Ludovic Courtès [Mon, 13 Jul 2015 20:08:11 +0000 (22:08 +0200)]
emacs: Fill package heading in Info buffers.

* emacs/guix-info.el (guix-package-info-fill-heading): New variable.
  (guix-package-info-insert-heading): Fill heading if needed.

Co-authored-by: Alex Kost <alezost@gmail.com>
8 years agognu: Add dunst.
Alex Kost [Wed, 8 Jul 2015 18:03:49 +0000 (21:03 +0300)]
gnu: Add dunst.

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

8 years agognu: Add libxdg-basedir.
Alex Kost [Wed, 8 Jul 2015 16:32:20 +0000 (19:32 +0300)]
gnu: Add libxdg-basedir.

* gnu/packages/freedesktop.scm (libxdg-basedir): New variable.

8 years agofile-systems: Allow users to specify file system UUIDs as strings.
Ludovic Courtès [Tue, 14 Jul 2015 13:06:46 +0000 (15:06 +0200)]
file-systems: Allow users to specify file system UUIDs as strings.

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

* gnu/system/file-systems.scm (%uuid-rx): New variable.
  (string->uuid): New procedure.
  (uuid): New macro.
* tests/file-systems.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* doc/guix.texi (File Systems): Give an example of UUID.

8 years agofile-systems: Implement partition lookup by UUID.
Ludovic Courtès [Tue, 14 Jul 2015 10:34:38 +0000 (12:34 +0200)]
file-systems: Implement partition lookup by UUID.

* gnu/build/file-systems.scm (read-ext2-superblock*, partition-predicate): New
  procedures.
  (partition-label-predicate): Rewrite in terms of 'partition-predicate'.
  (partition-uuid-predicate, find-partition-by-uuid, uuid->string): New
  procedures.
  (%network-byte-order): New macro.
  (canonicalize-device-spec)[canonical-title]: Check whether SPEC is a string.
  [resolve]: New procedure.
  Add 'uuid' case and use it.

8 years agognu: nss: Upgrade to 3.19.2.
Ludovic Courtès [Tue, 14 Jul 2015 10:28:19 +0000 (12:28 +0200)]
gnu: nss: Upgrade to 3.19.2.

* gnu/packages/gnuzilla.scm (nss): Upgrade to 3.19.2.

8 years agofile-systems: Use (guix build syscalls) at build time if needed.
Ludovic Courtès [Mon, 13 Jul 2015 20:30:01 +0000 (22:30 +0200)]
file-systems: Use (guix build syscalls) at build time if needed.

* gnu/build/file-systems.scm: Wrap 'module-use!' statement in 'eval-when'.

8 years agognu: Add rc.
Jeff Mickey [Fri, 10 Jul 2015 00:39:42 +0000 (17:39 -0700)]
gnu: Add rc.

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

8 years agognu: linux-libre: Update to 4.1.2.
Mark H Weaver [Mon, 13 Jul 2015 19:04:54 +0000 (15:04 -0400)]
gnu: linux-libre: Update to 4.1.2.

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

8 years agognu: boost: Patch to avoid -m32 flag on mips.
Andreas Enge [Fri, 10 Jul 2015 13:11:24 +0000 (15:11 +0200)]
gnu: boost: Patch to avoid -m32 flag on mips.

* gnu/packages/patches/boost-mips-avoid-m32.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
* gnu/packages/boost.scm (boost): Use it.

8 years agognu: boost: Update to 1.58.0.
Andreas Enge [Wed, 8 Jul 2015 21:18:40 +0000 (23:18 +0200)]
gnu: boost: Update to 1.58.0.

* gnu/packages/boost.scm (boost): Update to 1.58.0.

8 years agosubstitute: Improve functional decomposition.
Ludovic Courtès [Mon, 13 Jul 2015 15:51:02 +0000 (17:51 +0200)]
substitute: Improve functional decomposition.

* guix/scripts/substitute.scm (display-narinfo-data,
  process-query, process-substitution): New procedures.  Code moved from...
  (guix-substitute): ... here.  Use them.

8 years agoguix build: Add '--substitute-urls' client option.
Ludovic Courtès [Mon, 13 Jul 2015 14:07:59 +0000 (16:07 +0200)]
guix build: Add '--substitute-urls' client option.

* guix/scripts/build.scm (%standard-build-options,
  show-build-options-help): Add --substitute-urls=URLS.
  (set-build-options-from-command-line): Honor it.
* guix/store.scm (%default-substitute-urls): Make public.
* doc/guix.texi (Substitutes): Add xref to the client --substitute-urls
  option.
  (Invoking guix build): Document it.
  (Invoking guix-daemon): Add 'daemon-substitute-urls' anchor.

8 years agosubstitute: Honor "substitute-urls" option passed by "untrusted" clients.
Ludovic Courtès [Mon, 13 Jul 2015 13:46:12 +0000 (15:46 +0200)]
substitute: Honor "substitute-urls" option passed by "untrusted" clients.

* guix/scripts/substitute.scm (or*): New macro.
  (%cache-url): Honor "untrusted-substitute-urls".
* guix/tests.scm (%test-substitute-urls): New variable.
  (open-connection-for-tests): Use it.
* tests/derivations.scm ("derivation-prerequisites-to-build and substitutes",
  "derivation-prerequisites-to-build and substitutes, non-substitutable
  build", "derivation-prerequisites-to-build and substitutes, local build"):
  Pass it to 'set-build-options'.
* tests/guix-daemon.sh: Likewise.
* tests/store.scm ("substitute query, alternating URLs"): New test.
  ("substitute query", "substitute", "substitute + build-things with output
  path", "substitute, corrupt output hash", "substitute --fallback"): Pass
  #:substitute-urls to 'set-build-options'.

8 years agosubstitute: Store cached narinfo in cache-specific sub-directories.
Ludovic Courtès [Mon, 13 Jul 2015 13:52:29 +0000 (15:52 +0200)]
substitute: Store cached narinfo in cache-specific sub-directories.

This ensures that switching between different substitute servers doesn't lead
to a polluted narinfo cache.

* guix/scripts/substitute.scm (narinfo-cache-file): Add 'cache-url'
  parameter.  Add the base32 of CACHE-URL as a sub-directory under
  %NARINFO-CACHE-DIRECTORY.  Update callers.
  (cached-narinfo): Likewise.  Call 'mkdir-p' on the dirname of the cache
  file.  Update callers.
  (remove-expired-cached-narinfos): Add 'directory' parameter and use it
  instead of %NARINFO-CACHE-DIRECTORY.
  (narinfo-cache-directories): New procedure.
  (maybe-remove-expired-cached-narinfo): Call 'remove-expired-cached-narinfos'
  for each item returned by 'narinfo-cache-directories'.

8 years agosubstitute: Pass the cache URL instead of <cache> objects.
Ludovic Courtès [Mon, 13 Jul 2015 09:38:31 +0000 (11:38 +0200)]
substitute: Pass the cache URL instead of <cache> objects.

* guix/scripts/substitute.scm (<cache>): Rename to...
  (<cache-info>): ... this.
  (open-cache): Rename to...
  (download-cache-info): ... this.  Return a <cache-info> or #f.
  (open-cache*): Remove.
  (cache-narinfo!): Take a URL instead of a <cache> as the first parameter.
  (fetch-narinfos): Likewise.  Call 'download-cache-info'.  Remove use of
  'force'.
  (guix-substitute): Replace calls to 'open-cache*' with %CACHE-URL.

8 years agosubstitute: Remove unneeded conditionals.
Ludovic Courtès [Mon, 13 Jul 2015 09:35:56 +0000 (11:35 +0200)]
substitute: Remove unneeded conditionals.

* guix/scripts/substitute.scm (guix-substitute): Remove unneeded (if cache
  ...) forms since CACHE is always true (it's a promise.)

8 years agognu: file-systems: Fix typo.
Mathieu Lirzin [Mon, 13 Jul 2015 14:10:40 +0000 (16:10 +0200)]
gnu: file-systems: Fix typo.

* gnu/system/file-systems.scm (%container-file-systems): Fix typo in a
  comment.

8 years agoguix lint: Remove duplicated module lines.
Alex Kost [Mon, 13 Jul 2015 07:14:32 +0000 (10:14 +0300)]
guix lint: Remove duplicated module lines.

* guix/scripts/lint.scm (guix): Remove duplicated lines for using
  'srfi-34' and 'srfi-35' modules.  These lines were introduced twice by
  commits b210b35 and 002c57c.

8 years agognu: Add rhythmbox.
David Hashe [Fri, 10 Jul 2015 04:43:56 +0000 (23:43 -0500)]
gnu: Add rhythmbox.

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

8 years agognu: Add 'libstdc++-doc'.
Ludovic Courtès [Sun, 12 Jul 2015 21:09:44 +0000 (23:09 +0200)]
gnu: Add 'libstdc++-doc'.

* gnu/packages/gcc.scm (make-libstdc++-doc): New procedure.
  (libstdc++-doc-4.9, libstdc++-doc-5.1): New variables.

8 years agognu: Add execline.
Claes Wallin [Thu, 25 Jun 2015 12:47:41 +0000 (14:47 +0200)]
gnu: Add execline.

* gnu/package/skarnet.scm (execline): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
8 years agognu: Add skalibs.
Claes Wallin [Thu, 25 Jun 2015 10:00:06 +0000 (12:00 +0200)]
gnu: Add skalibs.

* gnu/package/skarnet.scm (skalibs): New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
8 years agognu: pumpa: Update to 0.9.1.
Claes Wallin [Wed, 8 Jul 2015 22:28:34 +0000 (00:28 +0200)]
gnu: pumpa: Update to 0.9.1.

* gnu/packages/pumpio.scm (pumpa): Update to 0.9.1.  Change URL.

Signed-off-by: Mathieu Lirzin <mthl@openmailbox.org>
8 years agognu: polkit: Update to 0.113.
Mark H Weaver [Sat, 11 Jul 2015 23:02:58 +0000 (19:02 -0400)]
gnu: polkit: Update to 0.113.

* gnu/packages/polkit.scm (polkit): Update to 0.113.

8 years agognu: openssh: Update to 6.9p1.
Mark H Weaver [Sat, 11 Jul 2015 22:38:44 +0000 (18:38 -0400)]
gnu: openssh: Update to 6.9p1.

* gnu/packages/ssh.scm (openssh): Update to 6.9p1.
  [source]: Use http mirrors.  Add mirror from Erlangen.

8 years agoinstall: Fix variable reference to iproute2 package.
Mark H Weaver [Sat, 11 Jul 2015 20:38:33 +0000 (16:38 -0400)]
install: Fix variable reference to iproute2 package.

This is a followup to commit d43002f64599fb80294d4c00e3a682a2776c885c.

* gnu/system/install.scm (installation-os)[packages]: Refer to IPROUTE instead
  of IPROUTE2.

8 years agognu: openssl: Update to 1.0.2d.
Mark H Weaver [Thu, 9 Jul 2015 16:35:24 +0000 (12:35 -0400)]
gnu: openssl: Update to 1.0.2d.

* gnu/packages/tls.scm (openssl): Update to 1.0.2d.

8 years agognu: ntp: Update to 4.2.8p3; use system libevent.
Mark H Weaver [Sat, 11 Jul 2015 08:23:46 +0000 (04:23 -0400)]
gnu: ntp: Update to 4.2.8p3; use system libevent.

* gnu/packages/ntp.scm (ntp): Update to 4.2.8p3.
  [source]: Add snippet to remove bundled copy of libevent.
  [inputs]: Add libevent.
  [arguments]: Add 'disable-network-test' phase.

8 years agoemacs: Find autoloads in "guix.d" subdirectories.
Alex Kost [Fri, 19 Jun 2015 09:31:59 +0000 (12:31 +0300)]
emacs: Find autoloads in "guix.d" subdirectories.

Co-authored-by: Federico Beffa <beffa@fbengineering.ch>.
* emacs/guix-emacs.el (guix-emacs-find-autoloads-in-directory,
  guix-emacs-subdirs): New functions.
  (guix-emacs-find-autoloads): Search for autoloads in "guix.d"
  subdirectories.
  (guix-emacs-load-autoloads): Add subdirectories to 'load-path'.
* emacs/guix-init.el.in: Do not add guix emacs directory to 'load-path'
  because it will be done by 'guix-emacs-load-autoloads'.  Move
  requiring 'guix-emacs' from the top-level to a clause for checking for
  'guix-package-enable-at-startup'.

8 years agoinstall: Add iproute2 to the installation image.
Ludovic Courtès [Sat, 11 Jul 2015 09:45:34 +0000 (11:45 +0200)]
install: Add iproute2 to the installation image.

Fixes <http://bugs.gnu.org/21019>.
Reported by <info@danieleparisi.me>.

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

8 years agognu: gnome-terminal: Move dconf to propagated-inputs.
Mark H Weaver [Sat, 11 Jul 2015 06:45:29 +0000 (02:45 -0400)]
gnu: gnome-terminal: Move dconf to propagated-inputs.

* gnu/packages/gnome.scm (gnome-terminal): Move dconf from inputs to
  propagated-inputs.

8 years agotests: Skip namespace-related tests when that feature is missing.
Ludovic Courtès [Fri, 10 Jul 2015 21:36:26 +0000 (23:36 +0200)]
tests: Skip namespace-related tests when that feature is missing.

* tests/syscalls.scm ("clone", "setns", "pivot-root"): Skip
  unless (user-namespace (getpid)) exists.

8 years agoRevert "gnu: boost: Update to 1.58.0."
Mark H Weaver [Fri, 10 Jul 2015 16:35:50 +0000 (12:35 -0400)]
Revert "gnu: boost: Update to 1.58.0."

This reverts commit 16de69c950c473cc3d386cd7569bd1d6051614b6.

8 years agognu: Include (guix build syscalls) module in initrd/VM derivations.
David Thompson [Fri, 10 Jul 2015 13:47:07 +0000 (09:47 -0400)]
gnu: Include (guix build syscalls) module in initrd/VM derivations.

This bug was introduced in commit 85c3127.

Thanks to Christopher Webber for reporting it.

* gnu/syste/linux-initrd.scm (base-initrd): Include (guix build syscalls)
  module in derivation.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.

8 years agognu: brasero: Update to 3.12.1, Add inputs.
David Hashe [Thu, 9 Jul 2015 04:40:21 +0000 (23:40 -0500)]
gnu: brasero: Update to 3.12.1, Add inputs.

* gnu/packages/gnome.scm (brasero): Update to 3.12.1.
  [inputs]: Add gobject-introspection, nettle, and totem-pl-parser.

8 years agognu: guix: Update snapshot.
Mark H Weaver [Thu, 9 Jul 2015 21:41:38 +0000 (17:41 -0400)]
gnu: guix: Update snapshot.

* gnu/packages/package-management.scm (guix-devel): Update to dd91141.
  [arguments]: Use 'modify-phases'.  Add 'disable-container-tests' phase.

8 years agoRevert "gnu: guix: Update snapshot."
Mark H Weaver [Thu, 9 Jul 2015 19:15:06 +0000 (15:15 -0400)]
Revert "gnu: guix: Update snapshot."

This reverts commit bfabd1fbb8c3b74b986147449727906f47115ec0.

8 years agognu: guix: Update snapshot.
Mark H Weaver [Thu, 9 Jul 2015 16:04:06 +0000 (12:04 -0400)]
gnu: guix: Update snapshot.

* gnu/packages/package-management.scm (guix-devel): Update to 9f04196.

8 years agoRevert "gnu: libgpg-error: Update to 1.19."
Mark H Weaver [Thu, 9 Jul 2015 16:51:17 +0000 (12:51 -0400)]
Revert "gnu: libgpg-error: Update to 1.19."

This reverts commit 552b98a20890905a3e756139aedf9b347a429988.

8 years agognu: libgpg-error: Update to 1.19.
Paul van der Walt [Thu, 9 Jul 2015 11:08:15 +0000 (13:08 +0200)]
gnu: libgpg-error: Update to 1.19.

* gnu/packages/gnupg.scm (libgpg-error): Update to 1.19.

8 years agognu: pinentry: Update to 1.9.5; add input libassuan.
Paul van der Walt [Thu, 9 Jul 2015 12:14:36 +0000 (14:14 +0200)]
gnu: pinentry: Update to 1.9.5; add input libassuan.

* gnu/packages/gnupg.scm (pinentry): Update to 1.9.5. Add input libassuan.

8 years agognu: libksba: Update to 1.3.3.
Paul van der Walt [Thu, 9 Jul 2015 12:01:23 +0000 (14:01 +0200)]
gnu: libksba: Update to 1.3.3.

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

8 years agognu: gpgme: Update to 1.5.5.
Paul van der Walt [Thu, 9 Jul 2015 11:59:03 +0000 (13:59 +0200)]
gnu: gpgme: Update to 1.5.5.

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

8 years agognu: npth: Update to 1.2.
Paul van der Walt [Thu, 9 Jul 2015 11:54:55 +0000 (13:54 +0200)]
gnu: npth: Update to 1.2.

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