jackhill/guix/guix.git
9 years agostore: Add 'store-lower'.
Ludovic Courtès [Wed, 14 Jan 2015 13:25:58 +0000 (14:25 +0100)]
store: Add 'store-lower'.

* guix/store.scm (store-lower): New procedure.
* tests/store.scm ("store-lower"): New test.

9 years agomonads: Move '%store-monad' and related procedures where they belong.
Ludovic Courtès [Wed, 14 Jan 2015 12:34:52 +0000 (13:34 +0100)]
monads: Move '%store-monad' and related procedures where they belong.

This turns (guix monads) into a generic module for monads, and moves the
store monad and related monadic procedures in their corresponding
module.

* guix/monads.scm (store-return, store-bind, %store-monad, store-lift,
  text-file, interned-file, package-file, package->derivation,
  package->cross-derivation, origin->derivation, imported-modules,
  compiled, modules, built-derivations, run-with-store): Move to...
* guix/store.scm (store-return, store-bind, %store-monad, store-lift,
  text-file, interned-file): ... here.
  (%guile-for-build): New variable.
  (run-with-store): Moved from monads.scm.  Remove default value for
  #:guile-for-build.
* guix/packages.scm (default-guile): Export.
  (set-guile-for-build): New procedure.
  (package-file, package->derivation, package->cross-derivation,
  origin->derivation): Moved from monads.scm.
* guix/derivations.scm (%guile-for-build): Remove.
  (imported-modules): Rename to...
  (%imported-modules): ... this.
  (compiled-modules): Rename to...
  (%compiled-modules): ... this.
  (built-derivations, imported-modules, compiled-modules): New
  procedures.
* gnu/services/avahi.scm, gnu/services/base.scm, gnu/services/dbus.scm,
  gnu/services/dmd.scm, gnu/services/networking.scm,
  gnu/services/ssh.scm, gnu/services/xorg.scm, gnu/system/install.scm,
  gnu/system/linux-initrd.scm, gnu/system/shadow.scm, guix/download.scm,
  guix/gexp.scm, guix/git-download.scm, guix/profiles.scm,
  guix/svn-download.scm, tests/monads.scm: Adjust imports accordingly.
* guix/monad-repl.scm (default-guile-derivation): New procedure.
  (store-monad-language, run-in-store): Use it.
* build-aux/hydra/gnu-system.scm (qemu-jobs): Add explicit
  'set-guile-for-build' call.
* guix/scripts/archive.scm (derivation-from-expression): Likewise.
* guix/scripts/build.scm (options/resolve-packages): Likewise.
* guix/scripts/environment.scm (guix-environment): Likewise.
* guix/scripts/system.scm (guix-system): Likewise.
* doc/guix.texi (The Store Monad): Adjust module names accordingly.

9 years agodoc: Move 'text-file*' to the gexp section.
Ludovic Courtès [Wed, 14 Jan 2015 10:22:51 +0000 (11:22 +0100)]
doc: Move 'text-file*' to the gexp section.

This is a follow-up to commit 462a3fa.

* doc/guix.texi (The Store Monad): Move 'text-file*'...
  (G-Expressions): ... to here.

9 years agognu: Add zerofree.
Ludovic Courtès [Tue, 13 Jan 2015 21:14:43 +0000 (22:14 +0100)]
gnu: Add zerofree.

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

9 years agognu: e2fsprogs: Install libext2fs.
Ludovic Courtès [Tue, 13 Jan 2015 21:13:00 +0000 (22:13 +0100)]
gnu: e2fsprogs: Install libext2fs.

* gnu/packages/linux.scm (e2fsprogs)[source]: Add 'snippet'.
  [arguments]: Add --enable-elf-shlibs to #:configure-flags.
  Add #:make-flags.

9 years agognu: Add GLEW.
Ludovic Courtès [Tue, 13 Jan 2015 17:02:32 +0000 (18:02 +0100)]
gnu: Add GLEW.

* gnu/packages/gl.scm (glew): New variable.

9 years agoservices: user-processes: Really honor the grace delay.
Ludovic Courtès [Tue, 13 Jan 2015 16:22:39 +0000 (17:22 +0100)]
services: user-processes: Really honor the grace delay.

* gnu/services/base.scm (user-processes-service): Change #:grace-delay
  default value to 4.  Define 'sleep*' and use it.

9 years agosystem: Add iw to '%base-packages'.
Ludovic Courtès [Tue, 13 Jan 2015 10:42:52 +0000 (11:42 +0100)]
system: Add iw to '%base-packages'.

* gnu/system.scm (%base-packages): Add IW.

9 years agognu: wireless-tools: Describe it as deprecated.
Ludovic Courtès [Tue, 13 Jan 2015 10:42:24 +0000 (11:42 +0100)]
gnu: wireless-tools: Describe it as deprecated.

* gnu/packages/linux.scm (wireless-tools)[description]: Explain that it
  is deprecated in favor of 'iw'.

9 years agognu: guix: Update snapshot.
Ludovic Courtès [Tue, 13 Jan 2015 10:41:51 +0000 (11:41 +0100)]
gnu: guix: Update snapshot.

* gnu/packages/package-management.scm (guix-devel): Update snapshot.
  Remove now-unneeded sub-module stuff in the 'bootstrap' phase.

9 years agognu: Add QPDF.
Ricardo Wurmus [Wed, 7 Jan 2015 16:49:00 +0000 (17:49 +0100)]
gnu: Add QPDF.

* gnu/packages/pdf.scm (qpdf): New variable.

9 years agotests: Properly synchronize threads in the 'home-page' lint tests.
Ludovic Courtès [Tue, 13 Jan 2015 10:08:23 +0000 (11:08 +0100)]
tests: Properly synchronize threads in the 'home-page' lint tests.

* tests/lint.scm (%http-server-lock, %http-server-ready): New
  variables.
  (http-open): New procedure.
  (stub-http-server): Use it.
  (call-with-http-server): Wrap body in 'with-mutex'.  Call
  'wait-condition-variable' after 'make-thread'.

9 years agodoc: Change some occurrences of "the GNU system" to "Guixotic".
Ludovic Courtès [Tue, 13 Jan 2015 10:06:12 +0000 (11:06 +0100)]
doc: Change some occurrences of "the GNU system" to "Guixotic".

* doc/guix.texi (GNU Distribution): Explain what "Guixotic" is.
  (System Installation): Replace "the GNU system" by "Guixotic".
  (System Configuration): Likewise.
  (Invoking guix system): Likewise.

9 years agobuild/glib-or-gtk-build-system: Fix 'generate-icon-cache'.
Federico Beffa [Tue, 13 Jan 2015 08:11:51 +0000 (09:11 +0100)]
build/glib-or-gtk-build-system: Fix 'generate-icon-cache'.

Reported by Mark H Weaver <mhw@netris.org>

* guix/build/glib-or-gtk-build-system.scm (generate-icon-cache): Add check for
  existence of icons directory.

9 years agognu: Add iw.
Mark H Weaver [Mon, 12 Jan 2015 23:12:16 +0000 (18:12 -0500)]
gnu: Add iw.

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

9 years agognu: libnl: Update to 3.2.25.
Mark H Weaver [Mon, 12 Jan 2015 22:53:09 +0000 (17:53 -0500)]
gnu: libnl: Update to 3.2.25.

* gnu/packages/linux.scm (libnl): Update to 3.2.25.

9 years agomonads: Remove 'derivation-expression'.
Ludovic Courtès [Mon, 12 Jan 2015 22:32:34 +0000 (23:32 +0100)]
monads: Remove 'derivation-expression'.

* guix/monads.scm (lower-inputs, derivation-expression): Remove.
* tests/monads.scm (derivation-expression, "mlet* +
  derivation-expression"): Remove.

9 years agomonads: Rewrite 'text-file*' using gexps.
Ludovic Courtès [Mon, 12 Jan 2015 22:26:52 +0000 (23:26 +0100)]
monads: Rewrite 'text-file*' using gexps.

* guix/monads.scm (text-file*): Move to...
* guix/gexp.scm (text-file*): ... here.  Rewrite using gexps.
* tests/monads.scm ("text-file*"): Move to...
* tests/gexp.scm ("text-file*"): ... here.

9 years agoservices: user-processes: Write debugging messages to the output port.
Ludovic Courtès [Mon, 12 Jan 2015 21:41:05 +0000 (22:41 +0100)]
services: user-processes: Write debugging messages to the output port.

* gnu/services/base.scm (user-processes-service): Write "sending all
  processes..." message to the current output port, not to /dev/console.

9 years agognu: Move xlockmore to (gnu packages xdisorg).
Ludovic Courtès [Mon, 12 Jan 2015 20:15:15 +0000 (21:15 +0100)]
gnu: Move xlockmore to (gnu packages xdisorg).

* gnu/packages/xlockmore.scm: Remove.
* gnu/packages/xdisorg.scm (xlockmore): New variable, from
  xlockmore.scm.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove xlockmore.scm.

9 years agognu: xlockmore: Update to 5.45.
Ludovic Courtès [Mon, 12 Jan 2015 20:12:28 +0000 (21:12 +0100)]
gnu: xlockmore: Update to 5.45.

* gnu/packages/xlockmore.scm (xlockmore): Update to 5.45.
  [arguments]: Add #:configure-flags.

9 years agognu: evince: Add inputs.
Federico Beffa [Thu, 18 Dec 2014 20:48:43 +0000 (21:48 +0100)]
gnu: evince: Add inputs.

* gnu/packages/gnome.scm (evince): Add 'dconf' and 'libcanberra' inputs.
  Remove custom phase 'set-mime-search-path which is now handled by
  glib-or-gtk-build-system.

9 years agognu: libcanberra: Add default sounds support.
Federico Beffa [Thu, 18 Dec 2014 20:32:34 +0000 (21:32 +0100)]
gnu: libcanberra: Add default sounds support.

* gnu/packages/libcanberra.scm (libcanberra): Add input
  'sound-theme-freedesktop'.  Add "libcanberra-sound-theme-freedesktop.patch"
  and related phase 'patch-default-sounds-directory to patch the default
  sounds directory.

9 years agognu: dconf: Add dconf.
Federico Beffa [Thu, 18 Dec 2014 20:23:52 +0000 (21:23 +0100)]
gnu: dconf: Add dconf.

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

9 years agoguix: build/glib-or-gtk-build-system: Add support for GIO and XDG theming.
Federico Beffa [Thu, 18 Dec 2014 19:58:18 +0000 (20:58 +0100)]
guix: build/glib-or-gtk-build-system: Add support for GIO and XDG theming.

* guix/build/glib-or-gtk-build-system.scm (data-directories): Rename
  'schemas-directories' to 'data-directories' and add support for XDG theming
  data.

* guix/build/glib-or-gtk-build-system.scm (gio-module-directories): New
  function.

* guix/build/glib-or-gtk-build-system.scm (wrap-all-programs): Update names to
  reflect that we are dealing with more types of data and not only with
  schemas.  Add handling of GIO modules.

* guix/build-system/glib-or-gtk.scm (lower): Import the 'bin' output of GLib
  instead of 'out'.  This was an error since we need the program
  'glib-compile-schemas'.  Update the description.

9 years agognu: ffmpeg: Update to 2.5.3
Jason Self [Mon, 12 Jan 2015 16:00:21 +0000 (08:00 -0800)]
gnu: ffmpeg: Update to 2.5.3

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

9 years agognu: ffmpeg-2.2: Update to 2.2.11
Jason Self [Mon, 12 Jan 2015 15:59:17 +0000 (07:59 -0800)]
gnu: ffmpeg-2.2: Update to 2.2.11

* gnu/packages/video.scm (ffmpeg-2.2): Update to version 2.2.11.

9 years agognu: gp2c: Update to 0.0.9pl2.
Andreas Enge [Mon, 12 Jan 2015 12:31:35 +0000 (13:31 +0100)]
gnu: gp2c: Update to 0.0.9pl2.

* gnu/packages/algebra.scm (gp2c): Update to 0.0.9pl2.

9 years agognu: pari-gp: Update to 2.7.2.
Andreas Enge [Mon, 12 Jan 2015 12:27:59 +0000 (13:27 +0100)]
gnu: pari-gp: Update to 2.7.2.

* gnu/packages/algebra.scm (pari-gp): Update to 2.7.2.

9 years agoderivations: Use a set for 'substitution-oracle'.
Ludovic Courtès [Sun, 11 Jan 2015 22:20:57 +0000 (23:20 +0100)]
derivations: Use a set for 'substitution-oracle'.

* guix/derivations.scm (substitution-oracle): Use sets instead of lists.

9 years agoderivations: Use sets for 'derivations-prerequisites'.
Ludovic Courtès [Sun, 11 Jan 2015 22:04:07 +0000 (23:04 +0100)]
derivations: Use sets for 'derivations-prerequisites'.

This yields a 46% improvement in 'derivation-prerequisites' invocations
on the Emacs derivation.

* guix/derivations.scm (derivation-prerequisites): Add 'input-set'
  variable, and use it in iterations.

9 years agoAdd (guix sets).
Ludovic Courtès [Sun, 11 Jan 2015 22:43:30 +0000 (23:43 +0100)]
Add (guix sets).

* guix/sets.scm, tests/sets.scm: New files.sets
* Makefile.am (MODULES, SCM_TESTS): Add them.

9 years agognu: qt: Add more inputs.
宋文武 [Sun, 11 Jan 2015 11:51:51 +0000 (19:51 +0800)]
gnu: qt: Add more inputs.

* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
  libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
  pcre, sqlite, eudev to 'inputs'.
  Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.

9 years agognu: qt: Update to 5.4.0.
宋文武 [Sat, 3 Jan 2015 06:12:01 +0000 (14:12 +0800)]
gnu: qt: Update to 5.4.0.

* gnu/packages/qt.scm (qt): Update to 5.4.0.
  [origin]: Add snippet.

9 years agognu: Add ninja.
宋文武 [Fri, 9 Jan 2015 13:37:30 +0000 (21:37 +0800)]
gnu: Add ninja.

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

9 years agognu: Add nss.
宋文武 [Tue, 6 Jan 2015 15:57:31 +0000 (23:57 +0800)]
gnu: Add nss.

* gnu/packages/patches/nss-pkgconfig.patch: New file.
* gnu-system.scm (dist_patch_DATA): Add it.
* gnu/packages/gnuzilla.scm (nss): New variable.

9 years agognu: Move mozjs and nspr to (gnu packages gnuzilla).
宋文武 [Sun, 11 Jan 2015 01:29:10 +0000 (09:29 +0800)]
gnu: Move mozjs and nspr to (gnu packages gnuzilla).

* gnu/packages/polkit.scm (mozjs, nspr): Move to...
* gnu/packages/gnuzilla.scm (mozjs, nspr): ... here. New variables.

9 years agognu: linux-libre: Update to 3.18.2
Jason Self [Sat, 10 Jan 2015 05:19:43 +0000 (21:19 -0800)]
gnu: linux-libre: Update to 3.18.2

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

9 years agoderivations: Add 'substitution-oracle' and use it.
Ludovic Courtès [Fri, 9 Jan 2015 23:39:59 +0000 (00:39 +0100)]
derivations: Add 'substitution-oracle' and use it.

This makes 'guix environment PACKAGE' significantly faster when
substitutes are enabled.  Before that, it would lead to many invocations
of 'guix substitute-binary', one per 'derivation-prerequisites-to-build'
call.  Now, all these are replaced by a single invocation.

* guix/derivations.scm (derivation-output-paths, substitution-oracle):
  New procedures.
  (derivation-prerequisites-to-build): Replace #:use-substitutes? with
  #:substitutable?.  Remove the local 'derivation-output-paths' and
  'substitutable?'.
* guix/ui.scm (show-what-to-build): Add 'substitutable?'.  Pass it to
  'derivation-prerequisites-to-build'.
  [built-or-substitutable?]: Use it instead of 'has-substitutes?'.
* tests/derivations.scm ("derivation-prerequisites-to-build and
  substitutes"): Use #:substitutable? instead of #:use-substitutes?.

9 years agoderivations: Add 'derivation-output-names'.
Ludovic Courtès [Fri, 9 Jan 2015 22:33:42 +0000 (23:33 +0100)]
derivations: Add 'derivation-output-names'.

* guix/derivations.scm (derivation-output-names): New procedure.
  (derivation-prerequisites-to-build): Use it for #:outputs.
  (map-derivation): Likewise.
* tests/derivations.scm ("derivation-output-names"): New test.

9 years agonls: Update 'eo' translation.
Ludovic Courtès [Fri, 9 Jan 2015 22:33:05 +0000 (23:33 +0100)]
nls: Update 'eo' translation.

9 years agoimport: Add CPAN importer.
Eric Bavier [Thu, 8 Jan 2015 20:51:13 +0000 (14:51 -0600)]
import: Add CPAN importer.

* guix/import/cpan.scm, guix/scripts/import/cpan.scm, tests/cpan.scm:
  New files.
* Makefile.am (MODULE)[HAVE_GUILE_JSON]: Add them.
* guix/scripts/import.scm (importers): Add cpan.
* doc/guix.texi (Requirements): Mention `guix import cpan` as a user
  of guile-json.
  (Invoking guix import): Document new `guix import cpan` command.

9 years agotests: import: Factorize utility function.
Eric Bavier [Thu, 8 Jan 2015 20:41:15 +0000 (14:41 -0600)]
tests: import: Factorize utility function.

* tests/pypi.scm (mock): Move this...
* guix/tests.scm: to here.

9 years agoimport: Factorize utility functions.
Eric Bavier [Thu, 8 Jan 2015 20:38:54 +0000 (14:38 -0600)]
import: Factorize utility functions.

* guix/import/pypi.scm (hash-table->alist, flatten, assoc-ref*,
  url-fetch, json-fetch): Pull procedures from here into...
* guix/import/utils.scm: Here and...
* guix/import/json.scm: Here.  New file.
* Makefile.am (MODULE)[HAVE_GUILE_JSON]: Add it.
* guix/import/gnu.scm (file-sha256): Move from here to...
* guix/hash.scm: Here.
* tests/pypi.scm (pypi->guix-package): Update mock module reference.

9 years agoimport: gnu: Propagate the key-download argument.
Eric Bavier [Wed, 7 Jan 2015 23:01:17 +0000 (17:01 -0600)]
import: gnu: Propagate the key-download argument.

* guix/import/gnu.scm (gnu->guix-package): Pass the key-download
  argument on to gnu-package->sexp.

9 years agognu: poppler: build with openjpeg and lcms
Ricardo Wurmus [Wed, 7 Jan 2015 16:43:18 +0000 (17:43 +0100)]
gnu: poppler: build with openjpeg and lcms

* gnu/packages/pdf.scm (poppler): build poppler with openjpeg 1.5 and lcms.

9 years agognu: openjpeg: Update to 2.0.1.
Ricardo Wurmus [Wed, 7 Jan 2015 16:47:37 +0000 (17:47 +0100)]
gnu: openjpeg: Update to 2.0.1.

* gnu/packages/image.scm (openjpeg): Update to 2.0.1.

9 years agognu: Add openjpeg-1.
Ricardo Wurmus [Wed, 7 Jan 2015 16:40:13 +0000 (17:40 +0100)]
gnu: Add openjpeg-1.

* gnu/packages/image.scm (openjpeg-1): New variable.

9 years agognu: openjpeg: update home page URL.
Ricardo Wurmus [Wed, 7 Jan 2015 16:34:08 +0000 (17:34 +0100)]
gnu: openjpeg: update home page URL.

* gnu/packages/image.scm (openjpeg)[home-page]: Update URL.

9 years agosubstitute-binary: Micro-optimize 'narinfo-sha256'.
Ludovic Courtès [Fri, 9 Jan 2015 00:10:31 +0000 (01:10 +0100)]
substitute-binary: Micro-optimize 'narinfo-sha256'.

* guix/scripts/substitute-binary.scm (narinfo-signature->canonical-sexp):
  Change "~a" to "~s" in error message.
  (%signature-line-rx): Remove.
  (narinfo-sha256): Use 'string-contains' instead of 'regexp-exec', and
  'string-take' instead of 'match:substring'.

9 years agorecords: Optimize 'recutils->alist' by avoiding regexps.
Ludovic Courtès [Fri, 9 Jan 2015 00:07:57 +0000 (01:07 +0100)]
records: Optimize 'recutils->alist' by avoiding regexps.

* guix/records.scm (%recutils-field-rx, %recutils-comment-rx,
  %recutils-plus-rx): Remove.
  (%recutils-field-charset): New variable.
  (recutils->alist): Adjust to use tests (string-ref line 0) instead of
  regexps.

9 years agobase64: Inline arithmetic operations.
Ludovic Courtès [Fri, 9 Jan 2015 00:01:04 +0000 (01:01 +0100)]
base64: Inline arithmetic operations.

* guix/base64.scm (define-alias): New macro.
  (fxbit-field, fxarithmetic-shift, fxarithmetic-shift-left, fxand,
  fxior, fxxor): New aliases.

9 years agotests: Add missing copyright line.
Ludovic Courtès [Wed, 7 Jan 2015 21:33:21 +0000 (22:33 +0100)]
tests: Add missing copyright line.

* tests/lint.scm: Add missing copyright line for commit 907c98ac and
  others.

9 years agognu: automake: Update to 1.15.
Ludovic Courtès [Tue, 6 Jan 2015 16:54:25 +0000 (17:54 +0100)]
gnu: automake: Update to 1.15.

* gnu/packages/autotools.scm (automake): Update to 1.15.

9 years agognu: git-manpages: Install under $out/share/man, not $out/share.
Ludovic Courtès [Tue, 6 Jan 2015 14:20:12 +0000 (15:20 +0100)]
gnu: git-manpages: Install under $out/share/man, not $out/share.

* gnu/packages/version-control.scm (git-manpages)[argument]: Install
  under $out/share/man, not $out/share.

9 years agognu: Add git-manpages.
Ludovic Courtès [Tue, 6 Jan 2015 14:07:22 +0000 (15:07 +0100)]
gnu: Add git-manpages.

* gnu/packages/version-control.scm (git-manpages): New variable.

9 years agognu: git: Update to 2.2.1.
Ludovic Courtès [Tue, 6 Jan 2015 14:06:38 +0000 (15:06 +0100)]
gnu: git: Update to 2.2.1.

* gnu/packages/version-control.scm (git): Update to 2.2.1.

9 years agognu: libtool-2.4.4: Disable tests on MIPS.
Ludovic Courtès [Tue, 6 Jan 2015 13:52:56 +0000 (14:52 +0100)]
gnu: libtool-2.4.4: Disable tests on MIPS.

* gnu/packages/autotools.scm (libtool-2.4.4)[arguments]: New field.

9 years agolinux-boot: Make /etc/mtab a symlink to /proc/self/mounts.
宋文武 [Mon, 5 Jan 2015 14:07:03 +0000 (22:07 +0800)]
linux-boot: Make /etc/mtab a symlink to /proc/self/mounts.

Fixes <http://bugs.gnu.org/19491>.

* gnu/build/linux-boot.scm (mount-root-file-system): Make /root/etc/mtab
  a symlink to /proc/self/mounts.
* gnu/build/file-systems.scm (mount-file-system): Don't update /etc/mtab.
* guix/build/syscalls.scm (mount, umount): Have #:update-mtab? default to
  #f.

9 years agodoc: guix-daemon now automatically creates '…/profiles/per-user'.
Ludovic Courtès [Sun, 4 Jan 2015 22:42:51 +0000 (23:42 +0100)]
doc: guix-daemon now automatically creates '…/profiles/per-user'.

Fixes <http://bugs.gnu.org/19315>.
Reported by rekado <rekado@elephly.net>.

* doc/guix.texi (Invoking guix package): Adjust text to new guix-daemon
  behavior introduced in commit 15ddeff.

9 years agobuild: Check for <tr1/unordered_set>, now used by the daemon.
Ludovic Courtès [Sun, 4 Jan 2015 22:28:18 +0000 (23:28 +0100)]
build: Check for <tr1/unordered_set>, now used by the daemon.

* config-daemon.ac: Check for <tr1/unordered_set>.

9 years agoMerge commit a1dd396cc02922372314c35c8035a38bfeea08df of branch 'nix'.
Ludovic Courtès [Sun, 4 Jan 2015 22:27:34 +0000 (23:27 +0100)]
Merge commit a1dd396cc02922372314c35c8035a38bfeea08df of branch 'nix'.

9 years agopk-crypto: Improve docstring of signature-related procedures.
Ludovic Courtès [Sun, 4 Jan 2015 17:00:23 +0000 (18:00 +0100)]
pk-crypto: Improve docstring of signature-related procedures.

* guix/pk-crypto.scm (bytevector->hash-data, sign): Augment docstring.

9 years agognu: gcc-4.9: Fix build on MIPS.
Mark H Weaver [Sun, 4 Jan 2015 04:44:11 +0000 (23:44 -0500)]
gnu: gcc-4.9: Fix build on MIPS.

* gnu/packages/gcc.scm (gcc-4.9): Add 'join-two-line-dynamic-linker-defns
  phase.

9 years agognu: Search for patches under $GUIX_PACKAGE_PATH.
Ludovic Courtès [Sat, 3 Jan 2015 22:49:42 +0000 (23:49 +0100)]
gnu: Search for patches under $GUIX_PACKAGE_PATH.

Fixes <http://bugs.gnu.org/19364>.
Reported by Tomáš Čech <sleep_walker@suse.cz>
and Mark H Weaver <mhw@netris.org>.

* gnu/packages.scm (%patch-path): Move after definition of
  %package-module-path'.  Append "/gnu/packages/patches" only to
  %DISTRO-ROOT-DIRECTORY.
* tests/guix-package.sh: Add 'emacs-foo-bar-patched' test.

9 years agognu: libtool: Add 2.4.4.
Ludovic Courtès [Sat, 3 Jan 2015 22:35:43 +0000 (23:35 +0100)]
gnu: libtool: Add 2.4.4.

* gnu/packages/patches/libtool-2.4-skip-tests.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/autotools.scm (libtool-2.4.4): New variable.

9 years agognu: minetest: Update to 0.4.11.
David Thompson [Fri, 2 Jan 2015 15:28:47 +0000 (10:28 -0500)]
gnu: minetest: Update to 0.4.11.

* gnu/packages/patches/minetest-subgame-env-var.patch: Delete.
* gnu-system.am (dist_patch_DATA): Remove patch.
* gnu/packages/games.scm (minetest, minetest-data): Update to 0.4.11.

9 years agognu: icon-naming-utils: Wrap with PERL5LIB to find XML::Simple.
宋文武 [Thu, 1 Jan 2015 01:30:23 +0000 (09:30 +0800)]
gnu: icon-naming-utils: Wrap with PERL5LIB to find XML::Simple.

Fixes <http://bugs.gnu.org/19367>.

* gnu/packages/gnome.scm (icon-naming-utils)[arguments]: New field.

9 years agognu: perl-xml-simple: Propagate XML::Parser.
宋文武 [Thu, 1 Jan 2015 01:23:24 +0000 (09:23 +0800)]
gnu: perl-xml-simple: Propagate XML::Parser.

* gnu/packages/xml.scm (perl-xml-simple): Move XML::Parser from 'inputs'
  to 'propagated-inputs'.

9 years agognu: mesa: Fix build on non-intel systems.
Mark H Weaver [Thu, 1 Jan 2015 06:55:37 +0000 (01:55 -0500)]
gnu: mesa: Fix build on non-intel systems.

* gnu/packages/gl.scm (mesa): On non-intel systems, pass
  "--with-dri-drivers=" configure flag with i915 and i965 removed.

9 years agognu: libdrm: Remove old version 2.4.33.
Mark H Weaver [Thu, 1 Jan 2015 04:15:07 +0000 (23:15 -0500)]
gnu: libdrm: Remove old version 2.4.33.

* gnu/packages/xdisorg.scm (libdrm-2.4.33): Remove, as it is no longer needed.

9 years agognu: mutt: Add fix for CVE-2014-9116.
Mark H Weaver [Tue, 30 Dec 2014 20:17:44 +0000 (15:17 -0500)]
gnu: mutt: Add fix for CVE-2014-9116.

* gnu/packages/patches/mutt-CVE-2014-9116.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/mail.scm (mutt): Add patch.

9 years agognu: Import (gnu packages) into (gnu packages zip).
Mark H Weaver [Tue, 30 Dec 2014 20:10:30 +0000 (15:10 -0500)]
gnu: Import (gnu packages) into (gnu packages zip).

Should have been included in: e5da2f38c3ca8d4626c1b87e045d00d28c1bf4d0.

* gnu/packages/zip.scm: Import (gnu packages).

9 years agognu: unzip: Add fixes for CVE-2014-{8139,8140,8141}.
Mark H Weaver [Tue, 30 Dec 2014 19:46:21 +0000 (14:46 -0500)]
gnu: unzip: Add fixes for CVE-2014-{8139,8140,8141}.

* gnu/packages/patches/unzip-CVE-2014-8139.patch,
  gnu/packages/patches/unzip-CVE-2014-8140.patch,
  gnu/packages/patches/unzip-CVE-2014-8141.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/zip.scm (unzip): Add patches.

9 years agognu: cpio: Add fixes for CVE-2014-9112.
Mark H Weaver [Tue, 30 Dec 2014 19:13:20 +0000 (14:13 -0500)]
gnu: cpio: Add fixes for CVE-2014-9112.

* gnu/packages/patches/cpio-CVE-2014-9112-pt1.patch,
  gnu/packages/patches/cpio-CVE-2014-9112-pt2.patch,
  gnu/packages/patches/cpio-CVE-2014-9112-pt3.patch,
  gnu/packages/patches/cpio-CVE-2014-9112-pt4.patch,
  gnu/packages/patches/cpio-CVE-2014-9112-pt5.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/cpio.scm (cpio): Add patches.  Add 'autoconf' to
  native-inputs.

9 years agolist-packages: Expand 'mirror://' URIs for patches.
Ludovic Courtès [Mon, 29 Dec 2014 19:52:08 +0000 (20:52 +0100)]
list-packages: Expand 'mirror://' URIs for patches.

* build-aux/list-packages.scm (package->sxml)[patches](patch-url): Use
  'maybe-expand-mirrors' to get the real URL.

9 years agodownload: Export 'maybe-expand-mirrors'.
Ludovic Courtès [Mon, 29 Dec 2014 19:51:12 +0000 (20:51 +0100)]
download: Export 'maybe-expand-mirrors'.

* guix/build/download.scm (uri-vicinity, maybe-expand-mirrors): New
  procedures.
  (url-fetch): Remove them from here.

9 years agotests: Make the 'lint' tests slightly more concise.
Ludovic Courtès [Mon, 29 Dec 2014 19:44:10 +0000 (20:44 +0100)]
tests: Make the 'lint' tests slightly more concise.

* tests/lint.scm (with-warnings): New macro.
  Replace all uses of 'call-with-warnings' with the corresponding
  'with-warnings' form.

9 years agotests: Factorize the 'dummy-package' macro.
Ludovic Courtès [Mon, 29 Dec 2014 18:11:09 +0000 (19:11 +0100)]
tests: Factorize the 'dummy-package' macro.

* guix/tests.scm (dummy-package): New macro.
* tests/lint.scm (dummy-package): Remove.
* tests/packages.scm (dummy-package): Remove.

9 years agolint: Add tests for the 'home-page' checker.
Ludovic Courtès [Mon, 29 Dec 2014 19:39:58 +0000 (20:39 +0100)]
lint: Add tests for the 'home-page' checker.

Suggested by Cyril Roelandt <tipecaml@gmail.com>.

* tests/lint.scm (%http-server-port, %http-server-socket, %local-url,
  stub-http-server): New variables.
  (http-write, call-with-http-server): New procedures.
  (with-http-server): New macro.
  ("home-page: wrong home-page", "home-page: invalid URI", "home-page:
  host not found", "home-page: Connection refused", "home-page: 200",
  "home-page: 404"): New tests.
* guix/scripts/lint.scm (check-home-page): Export.

9 years agognu: Fix misuses of 'x11-style' licenses.
Ludovic Courtès [Mon, 29 Dec 2014 11:15:22 +0000 (12:15 +0100)]
gnu: Fix misuses of 'x11-style' licenses.

* gnu/packages/xorg.scm (libevdev)[license]: Actually call
  'license:x11-style'.
  (libxshmfence): Likewise.

9 years agolint: Report on the package being checked.
Ludovic Courtès [Sun, 28 Dec 2014 17:21:53 +0000 (18:21 +0100)]
lint: Report on the package being checked.

* guix/scripts/lint.scm (run-checkers): Check
  whether (current-error-port) is a tty, and print the package being
  checked and the checker currently running when it is.

9 years agognu: Fix or update a number of 'home-page' fields.
Ludovic Courtès [Sun, 28 Dec 2014 16:57:16 +0000 (17:57 +0100)]
gnu: Fix or update a number of 'home-page' fields.

* gnu/packages/fltk.scm (fltk): Fix 'home-page'.
* gnu/packages/fonts.scm (font-bitstream-vera): Likewise, and fix
  license URL.
* gnu/packages/games.scm (gnubg, cmatrix, chess): Fix 'home-page'.
* gnu/packages/kde.scm (attica): Likewise.
* gnu/packages/mail.scm (fetchmail): Likewise.
* gnu/packages/popt.scm (popt): Likewise.
* gnu/packages/python.scm (python-mock): Likewise.
* gnu/packages/stalonetray.scm (stalonetray): Likewise.

9 years agolint: Add 'home-page' checker.
Ludovic Courtès [Sun, 28 Dec 2014 16:55:16 +0000 (17:55 +0100)]
lint: Add 'home-page' checker.

* guix/build/download.scm (open-connection-for-uri): Export.
* guix/scripts/lint.scm (probe-uri, check-home-page): New procedures.
  (%checkers): Add 'home-page' checker.

9 years agoMerge branch 'xorg-updates'
Mark H Weaver [Sat, 27 Dec 2014 17:03:04 +0000 (12:03 -0500)]
Merge branch 'xorg-updates'

9 years agognu: vtk: Fix build with mesa-10.
Mark H Weaver [Sat, 27 Dec 2014 15:01:44 +0000 (10:01 -0500)]
gnu: vtk: Fix build with mesa-10.

* gnu/packages/patches/vtk-mesa-10.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/vtk.scm (vtk): Add patch.  Add glu to inputs.

9 years agognu: gmsh: Add glu to inputs.
Mark H Weaver [Sat, 27 Dec 2014 14:14:09 +0000 (09:14 -0500)]
gnu: gmsh: Add glu to inputs.

* gnu/packages/maths.scm (gmsh): Add glu to inputs.

9 years agonls: Add French translation for packages.
Ludovic Courtès [Fri, 26 Dec 2014 22:08:21 +0000 (23:08 +0100)]
nls: Add French translation for packages.

9 years agognu: Add pysam.
Ricardo Wurmus [Tue, 23 Dec 2014 11:41:31 +0000 (12:41 +0100)]
gnu: Add pysam.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agognu: Add fastjar.
Ricardo Wurmus [Mon, 22 Dec 2014 17:03:02 +0000 (18:03 +0100)]
gnu: Add fastjar.

* gnu/packages/compression.scm (fastjar): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agognu: irrlicht: Fix build with mesa-10.
Mark H Weaver [Fri, 26 Dec 2014 20:48:26 +0000 (15:48 -0500)]
gnu: irrlicht: Fix build with mesa-10.

* gnu/packages/patches/irrlicht-mesa-10.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/games.scm (irrlicht): Add patch.  Add glu to inputs.

9 years agoMerge branch 'master' into xorg-updates
Mark H Weaver [Fri, 26 Dec 2014 14:05:25 +0000 (09:05 -0500)]
Merge branch 'master' into xorg-updates

9 years agognu: qemu: Update to 2.2.0.
Mark H Weaver [Fri, 26 Dec 2014 14:00:12 +0000 (09:00 -0500)]
gnu: qemu: Update to 2.2.0.

* gnu/packages/qemu.scm (qemu): Update to 2.2.0.

9 years agognu: pingus: Add glu to inputs.
Mark H Weaver [Fri, 26 Dec 2014 05:51:56 +0000 (00:51 -0500)]
gnu: pingus: Add glu to inputs.

* gnu/packages/games.scm (pingus): Add glu to inputs.

9 years agognu: gnubik: Add glu to inputs.
Mark H Weaver [Fri, 26 Dec 2014 05:43:47 +0000 (00:43 -0500)]
gnu: gnubik: Add glu to inputs.

* gnu/packages/games.scm (gnubik): Add glu to inputs.

9 years agognu: gnubg: Add glu to inputs.
Mark H Weaver [Fri, 26 Dec 2014 05:43:05 +0000 (00:43 -0500)]
gnu: gnubg: Add glu to inputs.

* gnu/packages/games.scm (gnubg): Add glu to inputs.

9 years agognu: sdl: Fix incompatibility with libx11-1.6.
Mark H Weaver [Fri, 26 Dec 2014 05:32:48 +0000 (00:32 -0500)]
gnu: sdl: Fix incompatibility with libx11-1.6.

* gnu/packages/patches/sdl-libx11-1.6.patch: New file
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/sdl.scm (sdl): Add patch.

9 years agognu: gtkglext: Add glu to inputs.
Mark H Weaver [Fri, 26 Dec 2014 04:59:27 +0000 (23:59 -0500)]
gnu: gtkglext: Add glu to inputs.

* gnu/packages/gnome.scm (gtkglext): Add glu to inputs.

9 years agognu: ntp: Update to 4.2.8.
Mark H Weaver [Thu, 25 Dec 2014 05:17:39 +0000 (00:17 -0500)]
gnu: ntp: Update to 4.2.8.

* gnu/packages/ntp.scm (ntp): Update to 4.2.8.  Add openssl to inputs.
  Add pkg-config to native-inputs.  Change source URI to archive.ntp.org.

9 years agognu: ntp: Update to 4.2.8.
Mark H Weaver [Thu, 25 Dec 2014 05:17:39 +0000 (00:17 -0500)]
gnu: ntp: Update to 4.2.8.

* gnu/packages/ntp.scm (ntp): Update to 4.2.8.  Add openssl to inputs.
  Add pkg-config to native-inputs.  Change source URI to archive.ntp.org.