jackhill/guix/guix.git
9 years agoenvironment: Use 'evaluate-search-paths'.
Ludovic Courtès [Tue, 5 May 2015 12:10:57 +0000 (14:10 +0200)]
environment: Use 'evaluate-search-paths'.

This allows 'guix environment' to correctly handle non-directory
and/or pattern search-path specifications, such as that for
'XML_CATALOG_FILES'.

* guix/scripts/environment.scm (for-each-search-path): Use
  'evaluate-search-paths' instead of 'search-path-as-list' & co.

9 years agosearch-paths: Define the 'PATH' environment variable.
Ludovic Courtès [Tue, 5 May 2015 11:57:59 +0000 (13:57 +0200)]
search-paths: Define the 'PATH' environment variable.

* guix/search-paths.scm ($PATH): New variable.
* guix/scripts/environment.scm (for-each-search-path): Use it.

9 years agosearch-paths: 'evaluate-search-paths' can be passed a list of directories.
Ludovic Courtès [Tue, 5 May 2015 11:55:03 +0000 (13:55 +0200)]
search-paths: 'evaluate-search-paths' can be passed a list of directories.

* guix/search-paths.scm (evaluate-search-paths): Change 'directory' to
  'directories', and adjust 'search-path-as-list' accordingly.
* guix/scripts/package.scm (search-path-environment-variables): Adjust
  call accordingly.

9 years agognu-maintenance: 'gnu-package?' returns #t for R and for GNOME packages.
Ludovic Courtès [Tue, 5 May 2015 11:46:20 +0000 (13:46 +0200)]
gnu-maintenance: 'gnu-package?' returns #t for R and for GNOME packages.

Reported by John Darrington.

* guix/gnu-maintenance.scm (gnu-package?)[mirror-type]: Add "gnome" to
  the list of GNU mirrors.  Return #f for "cran".

9 years agoenvironment: Use (guix search-paths).
Ludovic Courtès [Tue, 5 May 2015 08:59:26 +0000 (10:59 +0200)]
environment: Use (guix search-paths).

* guix/scripts/environment.scm: Use (guix search-paths).  Fixes a
  regression introduced in e89431b.

9 years agognu: vcftools: Remove "-m64" from CFLAGS.
Ricardo Wurmus [Mon, 4 May 2015 10:17:14 +0000 (12:17 +0200)]
gnu: vcftools: Remove "-m64" from CFLAGS.

* gnu/packages/bioinformatics.scm (vcftools): Explicitly set CFLAGS to
  remove "-m64" flag.

9 years agognu: fltk: Fix undefined symbol errors for shared libraries.
Eric Bavier [Tue, 5 May 2015 05:38:59 +0000 (00:38 -0500)]
gnu: fltk: Fix undefined symbol errors for shared libraries.

* gnu/packages/patches/fltk-shared-lib-defines.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/fltk.scm (source)[patches]: New field.

9 years agognu: ardour: Add library dirs to RUNPATH.
Ricardo Wurmus [Tue, 5 May 2015 04:24:41 +0000 (06:24 +0200)]
gnu: ardour: Add library dirs to RUNPATH.

* gnu/packages/audio.scm (ardour)[arguments]: Add a build phase to add all
  library output directories to the rpath using linker flags.

9 years agognu: Add bluez.
David Thompson [Sun, 26 Apr 2015 21:49:53 +0000 (17:49 -0400)]
gnu: Add bluez.

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

9 years agognu: Add libical.
David Thompson [Sun, 26 Apr 2015 21:46:57 +0000 (17:46 -0400)]
gnu: Add libical.

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

9 years agognu: Add soil.
David Thompson [Sun, 26 Apr 2015 20:41:25 +0000 (16:41 -0400)]
gnu: Add soil.

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

9 years agorecords: Make 'make-syntactic-constructor' available at load/eval/expand.
Ludovic Courtès [Mon, 4 May 2015 21:18:14 +0000 (23:18 +0200)]
records: Make 'make-syntactic-constructor' available at load/eval/expand.

* guix/records.scm (make-syntactic-constructor): Wrap in 'eval-when'.

9 years agoprofiles: Use a &message error condition instead of 'error'.
Ludovic Courtès [Mon, 4 May 2015 20:41:31 +0000 (22:41 +0200)]
profiles: Use a &message error condition instead of 'error'.

* guix/profiles.scm (sexp->manifest): Use 'raise' instead of 'error'.

9 years agosearch-paths: 'evaluate-search-paths' now returns spec/value pairs.
Ludovic Courtès [Mon, 4 May 2015 20:27:11 +0000 (22:27 +0200)]
search-paths: 'evaluate-search-paths' now returns spec/value pairs.

* guix/search-paths.scm (evaluate-search-paths): Return
  specification/value pairs instead of variable/value pairs.
* guix/scripts/package.scm (search-path-environment-variables): Adjust
  accordingly.  Pass #:separator to 'environment-variable-definition'.

9 years agosearch-paths: Add 'environment-variable-definition'.
Ludovic Courtès [Mon, 4 May 2015 20:06:24 +0000 (22:06 +0200)]
search-paths: Add 'environment-variable-definition'.

* guix/search-paths.scm (environment-variable-definition): New variable.
* guix/scripts/package.scm (search-path-environment-variables): Use it.

9 years agosearch-paths: Add 'evaluate-search-paths', from (guix scripts package).
Ludovic Courtès [Mon, 4 May 2015 19:44:52 +0000 (21:44 +0200)]
search-paths: Add 'evaluate-search-paths', from (guix scripts package).

* guix/scripts/package.scm (with-null-error-port,
  evaluate-search-paths): Move to...
* guix/search-paths.scm: ... here.
* guix/utils.scm (string-tokenize*): Move to...
* guix/search-paths.scm: ... here.
* tests/utils.scm ("string-tokenize*"): Adjust accordingly.

9 years agoMove search path specifications to (guix search-paths).
Ludovic Courtès [Mon, 4 May 2015 20:11:37 +0000 (22:11 +0200)]
Move search path specifications to (guix search-paths).

* guix/packages.scm (<search-path-specification>,
  search-path-specification->sexp, sexp->search-path-specification):
  Move to...
* guix/search-paths.scm: ... here.  New file.
* Makefile.am (MODULES): Add it.
* guix/build-system/cmake.scm, guix/build-system/glib-or-gtk.scm,
  guix/build-system/gnu.scm, guix/build-system/haskell.scm,
  guix/build-system/perl.scm, guix/build-system/python.scm,
  guix/build-system/ruby.scm, guix/build-system/waf.scm,
  guix/profiles.scm, guix/scripts/package.scm: Use it.

9 years agognu: Add markdown.
Mathieu Lirzin [Thu, 30 Apr 2015 20:26:57 +0000 (22:26 +0200)]
gnu: Add markdown.

* gnu/packages/textutils.scm (markdown): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agosubstitute: Increase TTL from 24h to 36h.
Ludovic Courtès [Mon, 4 May 2015 13:38:30 +0000 (15:38 +0200)]
substitute: Increase TTL from 24h to 36h.

* guix/scripts/substitute.scm (%narinfo-ttl): Increase to 36h.

9 years agognu: Add libwpg.
Andreas Enge [Mon, 4 May 2015 20:27:32 +0000 (22:27 +0200)]
gnu: Add libwpg.

* gnu/packages/libreoffice.scm (libwpg): New variable.

9 years agoguix: build: Fix indentation for --sources in help output.
Eric Bavier [Mon, 4 May 2015 19:16:28 +0000 (14:16 -0500)]
guix: build: Fix indentation for --sources in help output.

* guix/scripts/build.scm (show-help)[--sources]: Make indentation
  consistent with other long options.

9 years agognu: curl: Update to 7.42.1.
Mark H Weaver [Sun, 3 May 2015 14:54:30 +0000 (10:54 -0400)]
gnu: curl: Update to 7.42.1.

* gnu/packages/patches/curl-support-capath-on-gnutls-conf.patch,
  gnu/packages/patches/curl-support-capath-on-gnutls.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/curl.scm (curl): Update to 7.42.1.  Remove patches.

9 years agognu: Add python-sympy.
Ricardo Wurmus [Wed, 29 Apr 2015 13:03:24 +0000 (15:03 +0200)]
gnu: Add python-sympy.

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

9 years agodoc: Fix dangling references in the 'sh-symlink' monad example.
Ludovic Courtès [Mon, 4 May 2015 13:05:13 +0000 (15:05 +0200)]
doc: Fix dangling references in the 'sh-symlink' monad example.

Reported by Christopher A. Webber <cwebber@dustycloud.org>.

* doc/guix.texi (The Store Monad): Reintroduce 'mlet' in 'sh-symlink'
  example.  Move the simplified version below.  Explain that the 'store'
  parameter is threaded.

9 years agodoc: Suggest 'groupadd --system'.
Ludovic Courtès [Mon, 4 May 2015 12:31:17 +0000 (14:31 +0200)]
doc: Suggest 'groupadd --system'.

* doc/guix.texi (Build Environment Setup): Use 'groupadd --system'.

9 years agodoc: Clarify installation from the binary tarball.
Ludovic Courtès [Mon, 4 May 2015 12:31:00 +0000 (14:31 +0200)]
doc: Clarify installation from the binary tarball.

* doc/guix.texi (Binary Installation): Specifically refer to
  group/account creation, and add an item for substitutes.  Mention
  verifiability.

9 years agognu: bamtools: Set rpath via LDFLAGS.
Ricardo Wurmus [Mon, 4 May 2015 09:27:39 +0000 (11:27 +0200)]
gnu: bamtools: Set rpath via LDFLAGS.

* gnu/packages/bioinformatics.scm (bamtools): Add a pre-configure phase
  setting $LDFLAGS to set the rpath to $out/lib/bamtools.

9 years agognu: Add taskwarrior.
Tomáš Čech [Wed, 11 Mar 2015 21:00:07 +0000 (22:00 +0100)]
gnu: Add taskwarrior.

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

9 years agognu: Add samtools-0.1.19.
Ricardo Wurmus [Tue, 28 Apr 2015 09:28:16 +0000 (11:28 +0200)]
gnu: Add samtools-0.1.19.

* gnu/packages/bioinformatics.scm (samtools-0.1): New variable.

9 years agognu: samtools: Install libbam.a library.
Ricardo Wurmus [Thu, 23 Apr 2015 14:42:50 +0000 (16:42 +0200)]
gnu: samtools: Install libbam.a library.

* gnu/packages/bioinformatics.scm (samtools)[arguments]: Add phase
  "install-library" to install the libbam.a library.

9 years agognu: samtools: Remove patch-makefile-curses phase.
Ricardo Wurmus [Thu, 23 Apr 2015 13:23:26 +0000 (15:23 +0200)]
gnu: samtools: Remove patch-makefile-curses phase.

* gnu/packages/bioinformatics.scm (samtools)[arguments]: Remove
  patch-makefile-curses phase, use make-flags instead.

9 years agognu: gcc-5.1: Add specific libvtv patch.
Ludovic Courtès [Sun, 3 May 2015 22:23:55 +0000 (00:23 +0200)]
gnu: gcc-5.1: Add specific libvtv patch.

* gnu/packages/patches/gcc-5.0-libvtv-runpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gcc.scm (gcc-5.1)[source]: Use it.

9 years agoguix package: Introduce 'evaluate-search-paths'.
Ludovic Courtès [Sun, 3 May 2015 21:01:35 +0000 (23:01 +0200)]
guix package: Introduce 'evaluate-search-paths'.

* guix/scripts/package.scm (evaluate-search-paths): New procedure, with
  most of the code formerly in 'search-path-environment-variables'.
  (search-path-environment-variables): Use it.

9 years agoguix package: Move profile cleaning out of 'search-path-environment-variables'.
Ludovic Courtès [Sun, 3 May 2015 20:33:27 +0000 (22:33 +0200)]
guix package: Move profile cleaning out of 'search-path-environment-variables'.

* guix/scripts/package.scm (user-friendly-profile): New procedure.
  (search-path-environment-variables): Remove 'profile' local variable.
  (display-search-paths): Explicitly call 'user-friendly-profile' for
  the argument to 'search-path-environment-variables'.
  (guix-package)[process-query]: Likewise.

9 years agognu: Add totem-pl-parser.
David Hashe [Sun, 3 May 2015 06:07:40 +0000 (01:07 -0500)]
gnu: Add totem-pl-parser.

* gnu/packages/gnome.scm (totem-pl-parser): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agodoc: Replace reference to profile.sh with sh-symlink
Christopher Allan Webber [Fri, 1 May 2015 13:54:33 +0000 (08:54 -0500)]
doc: Replace reference to profile.sh with sh-symlink

* doc/guix.texi (The Store Monad): Replace reference to "profile.sh",
  which is not defined until the next node, with "sh-symlink", which
  is defined immediately above

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agognu: Add libe-book.
Andreas Enge [Sun, 3 May 2015 20:43:48 +0000 (22:43 +0200)]
gnu: Add libe-book.

* gnu/packages/libreoffice.scm (libe-book): New variable.

Co-authored-by: John Darrington <jmd@gnu.org>
9 years agognu: Add zeromq.
Ricardo Wurmus [Wed, 29 Apr 2015 14:52:46 +0000 (16:52 +0200)]
gnu: Add zeromq.

* gnu/packages/networking.scm (zeromq): New variable.

9 years agognu: rename (gnu packages socat) to (gnu packages networking).
Ricardo Wurmus [Wed, 29 Apr 2015 14:26:34 +0000 (16:26 +0200)]
gnu: rename (gnu packages socat) to (gnu packages networking).

* gnu/packages/socat.scm: Rename this ...
* gnu/packages/networking.scm: ... to this.
* gnu-system.am (GNU_SYSTEM_MODULES): Change socat.scm to networking.scm.

9 years agognu: subversion: Update to 1.8.13.
Mark H Weaver [Sun, 3 May 2015 17:21:09 +0000 (13:21 -0400)]
gnu: subversion: Update to 1.8.13.

* gnu/packages/version-control.scm (subversion): Update to 1.8.13.

9 years agognu: gnupg: Update to 2.1.3.
Mark H Weaver [Sun, 3 May 2015 17:10:00 +0000 (13:10 -0400)]
gnu: gnupg: Update to 2.1.3.

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

9 years agognu: Add dovecot.
Mark H Weaver [Thu, 23 Apr 2015 08:58:58 +0000 (04:58 -0400)]
gnu: Add dovecot.

* gnu/packages/mail.scm (dovecot): New variable.

9 years agognu: acpica: Update to 20150410.
Mark H Weaver [Tue, 28 Apr 2015 04:44:51 +0000 (00:44 -0400)]
gnu: acpica: Update to 20150410.

* gnu/packages/admin.scm (acpica): Update to 20150410.

9 years agognu: wpa-supplicant: Update to 2.4.
Mark H Weaver [Sun, 3 May 2015 14:59:02 +0000 (10:59 -0400)]
gnu: wpa-supplicant: Update to 2.4.

* gnu/packages/admin.scm (wpa-supplicant): Update to 2.4.

9 years agognu: parallel: Update to 20150422.
Ludovic Courtès [Sun, 3 May 2015 14:00:54 +0000 (16:00 +0200)]
gnu: parallel: Update to 20150422.

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

9 years agognu: help2man: Update to 1.46.6.
Ludovic Courtès [Sun, 3 May 2015 14:00:33 +0000 (16:00 +0200)]
gnu: help2man: Update to 1.46.6.

* gnu/packages/man.scm (help2man): Update to 1.46.6.

9 years agognu: dejagnu: Update to 1.5.3.
Ludovic Courtès [Sun, 3 May 2015 14:00:12 +0000 (16:00 +0200)]
gnu: dejagnu: Update to 1.5.3.

* gnu/packages/dejagnu.scm (dejagnu): Update to 1.5.3.

9 years agognu: Add libwpd.
Andreas Enge [Sun, 3 May 2015 12:28:09 +0000 (14:28 +0200)]
gnu: Add libwpd.

* gnu/packages/libreoffice.scm (libwpd): New variable.

9 years agognu: Add librevenge.
Andreas Enge [Sun, 3 May 2015 11:05:58 +0000 (13:05 +0200)]
gnu: Add librevenge.

* gnu/packages/libreoffice.scm (librevenge): New variable.

Co-authored-by: John Darrington <jmd@gnu.org>
9 years agognu: cppunit: Explicitly link with libdl.
Andreas Enge [Sun, 3 May 2015 10:53:38 +0000 (12:53 +0200)]
gnu: cppunit: Explicitly link with libdl.

* gnu/packages/check.scm (cppunit)[arguments]: Add #:make-flags.

9 years agoguix: build: Add transitive source building.
Eric Bavier [Wed, 28 Jan 2015 19:33:28 +0000 (13:33 -0600)]
guix: build: Add transitive source building.

* guix/scripts/build.scm (%options, options->derivations): Add --sources
  option.
* doc/guix.texi (Invoking guix build): Document --sources option.
* tests/guix-build.sh: Add tests.

9 years agoguix: packages: Add package-direct-sources and package-transitive-sources.
Eric Bavier [Fri, 24 Apr 2015 12:57:51 +0000 (07:57 -0500)]
guix: packages: Add package-direct-sources and package-transitive-sources.

* guix/tests.scm (dummy-origin): New syntax.
* guix/packages.scm (package-direct-sources)
  (package-transitive-sources): New procedures.
* tests/packages.scm ("package-direct-sources, no source")
  ("package-direct-sources, #f source")
  ("package-direct-sources, not input source", "package-direct-sources")
  ("package-transitive-sources"): Test them.

9 years agoinstall: Add bash-completion to the packages.
Ludovic Courtès [Sat, 2 May 2015 22:08:37 +0000 (00:08 +0200)]
install: Add bash-completion to the packages.

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

9 years agoprofiles: Store search paths in manifests.
Ludovic Courtès [Sat, 2 May 2015 21:55:24 +0000 (23:55 +0200)]
profiles: Store search paths in manifests.

Discussed in <http://bugs.gnu.org/20255>.

* guix/packages.scm (sexp->search-path-specification): New variable.
* guix/profiles.scm (<manifest-entry>)[search-paths]: New field.
  (package->manifest-entry): Initialize it.
  (manifest->gexp): Match it.  Wrap #$deps in (propagated-inputs ...).
  Emit (search-paths ...).  Increment version.
  (find-package): New procedure.
  (sexp->manifest)[infer-search-paths]: New procedure.
  Use it to initialize the 'search-paths' field for versions 0 and 1.
  Add case for version 2.
* guix/scripts/package.scm (search-path-environment-variables)[manifest-entry->package]:
  Remove.
  Use 'manifest-entry-search-paths' instead of 'manifest-entry->package'
  plus 'package-native-search-paths'.
* tests/profiles.scm ("profile-manifest, search-paths"): New test.

9 years agoMerge branch 'core-updates'
Ludovic Courtès [Sat, 2 May 2015 20:42:53 +0000 (22:42 +0200)]
Merge branch 'core-updates'

9 years agohydra: Update Guix job set.
Ludovic Courtès [Fri, 1 May 2015 20:09:00 +0000 (22:09 +0200)]
hydra: Update Guix job set.

* build-aux/hydra/guix.scm (tarball-package): Remove 'nix-checkout'
  parameter.  Remove 'arguments', 'native-inputs', and 'location'
  fields.  Adjust caller accordingly.
  (hydra-jobs): Remove 'nix-checkout'.

9 years agobuild-system/gnu: 'dist-package' preserves the package's native inputs.
Ludovic Courtès [Fri, 1 May 2015 20:06:50 +0000 (22:06 +0200)]
build-system/gnu: 'dist-package' preserves the package's native inputs.

* guix/build-system/gnu.scm (dist-package)[native-inputs]: Preserve P's
  native-inputs.

9 years agobuild-system/gnu: Adjust to removal of a "bin" output for Libtool.
Ludovic Courtès [Fri, 1 May 2015 20:05:10 +0000 (22:05 +0200)]
build-system/gnu: Adjust to removal of a "bin" output for Libtool.

* guix/build-system/gnu.scm (dist-package): Change libtool:bin input to
  just libtool.

9 years agognu: gcj: Remove broken symlink and conflicting files.
Ricardo Wurmus [Thu, 30 Apr 2015 15:11:39 +0000 (17:11 +0200)]
gnu: gcj: Remove broken symlink and conflicting files.

* gnu/packages/gcc.scm (gcj)[arguments]: Add a build phase to remove a broken
  symlink and generic stump binaries.

9 years agognu: mesa: Update to 10.5.4.
Taylan Ulrich Bayırlı/Kammer [Sat, 25 Apr 2015 10:02:33 +0000 (12:02 +0200)]
gnu: mesa: Update to 10.5.4.

* gnu/packages/gl.scm (mesa): Update version to 10.5.4.  Add libxvmc to
  inputs.  Remove python, gettext, flex, and bison from native-inputs.  Remove
  hack that was necessary to prevent rebuilding parts of the build system.

9 years agognu: mesa: Add libva input.
Taylan Ulrich Bayırlı/Kammer [Tue, 28 Apr 2015 13:08:47 +0000 (15:08 +0200)]
gnu: mesa: Add libva input.

There is a circular dependency between Mesa and libVA, so we use a
libva-no-mesa package that builds libVA without GLX and EGL support, and use
that for building Mesa.

* gnu/packages/gl.scm (libva-for-mesa): New variable.
(mesa): Add as input.

9 years agognu: linux-libre: Update to 4.0.1.
Mark H Weaver [Fri, 1 May 2015 15:18:56 +0000 (11:18 -0400)]
gnu: linux-libre: Update to 4.0.1.

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

9 years agognu: ebook: Drop circular inclusion of the module into itself.
Andreas Enge [Fri, 1 May 2015 20:43:08 +0000 (22:43 +0200)]
gnu: ebook: Drop circular inclusion of the module into itself.

* gnu/packages/ebook.scm: Do not import (gnu packages ebook).

9 years agoservices: Add console-keymap service.
Alex Kost [Sat, 25 Apr 2015 19:52:29 +0000 (22:52 +0300)]
services: Add console-keymap service.

* gnu/services/base.scm (console-keymap-service): New procedure.
* doc/guix.texi (Base Services): Document it.

Co-authored-by: 宋文武 <iyzsong@gmail.com>
9 years agobash completion: Complete long options with no short variant.
Ludovic Courtès [Fri, 1 May 2015 15:39:39 +0000 (17:39 +0200)]
bash completion: Complete long options with no short variant.

* etc/completion/bash/guix (_guix_complete_option): Change grep regexp
  to match options that don't have a short option name.

9 years agognu: polkit-qt: Add $libdir to RUNPATH.
Ludovic Courtès [Fri, 1 May 2015 15:38:44 +0000 (17:38 +0200)]
gnu: polkit-qt: Add $libdir to RUNPATH.

* gnu/packages/polkit.scm (polkit-qt)[arguments]: Add
  #:configure-flags.

9 years agocheck-available-binaries: Use %HYDRA-SUPPORTED-SYSTEMS.
Ludovic Courtès [Fri, 1 May 2015 15:38:09 +0000 (17:38 +0200)]
check-available-binaries: Use %HYDRA-SUPPORTED-SYSTEMS.

* build-aux/check-available-binaries.scm: Use %HYDRA-SUPPORTED-SYSTEMS
  instead of %SUPPORTED-SYSTEMS.

9 years agognu: mariadb: Remove now unneeded workaround.
Ludovic Courtès [Fri, 1 May 2015 15:34:03 +0000 (17:34 +0200)]
gnu: mariadb: Remove now unneeded workaround.

This has been redundant since 21e583d.

* gnu/packages/databases.scm (mariadb)[arguments]: Remove LDFLAGS
  definition.

9 years agolist-packages: Add status link only for systems supported on Hydra.
Ludovic Courtès [Fri, 1 May 2015 14:10:08 +0000 (16:10 +0200)]
list-packages: Add status link only for systems supported on Hydra.

* build-aux/list-packages.scm (package->sxml)[status]:
  Intersect (package-transitive-supported-systems package) with
  %HYDRA-SUPPORTED-SYSTEMS.

9 years agopackages: Add '%hydra-supported-systems'.
Ludovic Courtès [Fri, 1 May 2015 14:05:40 +0000 (16:05 +0200)]
packages: Add '%hydra-supported-systems'.

* build-aux/hydra/gnu-system.scm (%hydra-supported-systems): Remove.
* guix/packages.scm (%hydra-supported-systems): New variable.

9 years agognu: ganv: Set the RUNPATH of binaries to $libdir.
Ludovic Courtès [Fri, 1 May 2015 14:01:49 +0000 (16:01 +0200)]
gnu: ganv: Set the RUNPATH of binaries to $libdir.

* gnu/packages/gtk.scm (ganv)[arguments]: Add 'set-ldflags' phase.

9 years agoMerge branch 'master' into core-updates
Ludovic Courtès [Fri, 1 May 2015 13:03:30 +0000 (15:03 +0200)]
Merge branch 'master' into core-updates

9 years agoserialization: Adjust the permissive UTF-8 decoder to Guile 2.0.12ish.
Ludovic Courtès [Fri, 1 May 2015 11:10:18 +0000 (13:10 +0200)]
serialization: Adjust the permissive UTF-8 decoder to Guile 2.0.12ish.

* guix/serialization.scm (read-maybe-utf8-string): Use
  'set-port-encoding!' and 'set-port-conversion-strategy!' instead of
  setting '%default-port-encoding' and
  '%default-port-conversion-strategy'.  This accounts for Guile commit
  d574d96, which changes bytevector input ports to use ISO-8859-1.

9 years agosubstitute: Fix file descriptor leak in 'http-multiple-get'.
Ludovic Courtès [Fri, 1 May 2015 10:50:27 +0000 (12:50 +0200)]
substitute: Fix file descriptor leak in 'http-multiple-get'.

In practice we would not leak much since we reconnect after ~100
requests (with nginx running on hydra.gnu.org.)

* guix/scripts/substitute.scm (http-multiple-get): Call 'close-port'
  before 'connect'.

9 years agognu: qt: Add patch for i686 build problem.
Taylan Ulrich Bayırlı/Kammer [Thu, 30 Apr 2015 21:25:54 +0000 (23:25 +0200)]
gnu: qt: Add patch for i686 build problem.

See <https://bugreports.qt.io/browse/QTBUG-45205>.

* gnu/packages/patches/qt5-conflicting-typedefs.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/qt.scm (qt): Add the patch.

9 years agoThank Joshua.
Ludovic Courtès [Thu, 30 Apr 2015 22:02:11 +0000 (00:02 +0200)]
Thank Joshua.

9 years agodownload: Honor the 'http_proxy' and 'https_proxy' env. vars.
Ludovic Courtès [Thu, 30 Apr 2015 21:54:06 +0000 (23:54 +0200)]
download: Honor the 'http_proxy' and 'https_proxy' env. vars.

Fixes <http://bugs.gnu.org/20402>.
Reported by Joshua Randall <jcrandall@alum.mit.edu>.

* guix/download.scm (url-fetch): Pass #:leaked-env-vars to
  'gexp->derivation'.

9 years agoderivations: Add #:leaked-env-vars parameter.
Ludovic Courtès [Thu, 30 Apr 2015 21:51:44 +0000 (23:51 +0200)]
derivations: Add #:leaked-env-vars parameter.

Suggested by Joshua Randall <jcrandall@alum.mit.edu>
in <http://bugs.gnu.org/20402>.

* guix/derivations.scm (derivation): Add #:leaked-env-vars parameter.
  [user+system-env-vars]: Honor it.
* guix/gexp.scm (gexp->derivation): Add #:leaked-env-vars and pass it to
  'raw-derivation'.
* doc/guix.texi (Derivations, G-Expressions): Adjust accordingly.

9 years agodownload: Simplify 'open-connection-for-uri' to support HTTP proxies.
Ludovic Courtès [Thu, 30 Apr 2015 20:13:04 +0000 (22:13 +0200)]
download: Simplify 'open-connection-for-uri' to support HTTP proxies.

Partly fixes <http://bugs.gnu.org/20402>.
Reported by Joshua Randall <jcrandall@alum.mit.edu>.

* guix/build/download.scm (open-connection-for-uri): Rewrite to be a
  small wrapper around 'open-socket-for-uri'.  This procedure was
  initially introduced in d14ecda to work around the lack of NSS modules
  during bootstrap but that has become unnecessary since 0621349, which
  introduced a bootstrap Guile that uses static NSS modules (from commit
  d3b5972.)
  On Guile >= 2.0.10, this allows the 'http_proxy' environment variable
  to be used.

9 years agognu: Add orcus.
Andreas Enge [Thu, 30 Apr 2015 19:23:29 +0000 (21:23 +0200)]
gnu: Add orcus.

* gnu/packages/libreoffice.scm (orcus): New variable.

9 years agognu: lilv: Set rpath via LDFLAGS.
Taylan Ulrich Bayırlı/Kammer [Thu, 30 Apr 2015 14:33:06 +0000 (16:33 +0200)]
gnu: lilv: Set rpath via LDFLAGS.

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

* gnu/packages/audio.scm (lilv): Add a pre-configure phase setting $LDFLAGS to
  set the rpath to $out/lib.

9 years agognu: sord: Set rpath via LDFLAGS.
Taylan Ulrich Bayırlı/Kammer [Thu, 30 Apr 2015 14:32:30 +0000 (16:32 +0200)]
gnu: sord: Set rpath via LDFLAGS.

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

* gnu/packages/rdf.scm (sord): Add a pre-configure phase setting $LDFLAGS to
  set the rpath to $out/lib.

9 years agognu: serd: Set rpath via LDFLAGS.
Taylan Ulrich Bayırlı/Kammer [Thu, 30 Apr 2015 14:30:41 +0000 (16:30 +0200)]
gnu: serd: Set rpath via LDFLAGS.

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

* gnu/packages/rdf.scm (serd): Add a pre-configure phase setting $LDFLAGS to
  set the rpath to $out/lib.

9 years agognu: wxwidgets: Set rpath in LDFLAGS.
Taylan Ulrich Bayırlı/Kammer [Thu, 30 Apr 2015 12:29:05 +0000 (14:29 +0200)]
gnu: wxwidgets: Set rpath in LDFLAGS.

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

* gnu/packages/wxwidgets.scm (wxwidgets): Add a make flag to set rpath to
  $out/lib via LDFLAGS.

9 years agognu: gcc: Add link to upstream bug report.
Ludovic Courtès [Thu, 30 Apr 2015 11:43:55 +0000 (13:43 +0200)]
gnu: gcc: Add link to upstream bug report.

* gnu/packages/gcc.scm (gcc-4.8): Add link to bug report in comment.

9 years agognu: gcc: Add $libdir to the RUNPATH of libvtv.so.
Ludovic Courtès [Thu, 30 Apr 2015 11:31:59 +0000 (13:31 +0200)]
gnu: gcc: Add $libdir to the RUNPATH of libvtv.so.

* gnu/packages/gcc.scm (gcc-4.9): Inherit from GCC-4.8.
  [source]: Add 'gcc-libvtv-runpath.patch'.
  (gcc-5.1): Inherit from GCC-4.9.
  [source]: Use patches from GCC-4.9.
* gnu/packages/patches/gcc-libvtv-runpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.

9 years agognu: libva: Patch a dlopen call, set drivers path.
Taylan Ulrich Bayırlı/Kammer [Tue, 28 Apr 2015 15:48:24 +0000 (17:48 +0200)]
gnu: libva: Patch a dlopen call, set drivers path.

* gnu/packages/video.scm (libva): Patch the reference to libva-x11.so (passed
  to dlopen()) to use an absolute path.  Add --with-drivers-path= to
  #:configure-flags with a value pointing to mesa's $prefix/lib/dri.

9 years agoinstall: Make /var/lock.
Ludovic Courtès [Wed, 29 Apr 2015 20:27:46 +0000 (22:27 +0200)]
install: Make /var/lock.

Reported by 宋文武 <iyzsong@gmail.com>.

* gnu/build/install.scm (directives): Add /var/lock.

9 years agognu: jack2: Add $libdir to the RUNPATH of all the binaries.
宋文武 [Wed, 29 Apr 2015 16:03:10 +0000 (00:03 +0800)]
gnu: jack2: Add $libdir to the RUNPATH of all the binaries.

* gnu/packages/audio.scm (jack2)[arguments]: Add #:phases.

9 years agognu: Remove gstreamer-0.10 and gst-plugins-base-0.10.
宋文武 [Wed, 29 Apr 2015 08:19:52 +0000 (16:19 +0800)]
gnu: Remove gstreamer-0.10 and gst-plugins-base-0.10.

* gnu/packages/gstreamer.scm (gstreamer-0.10, gst-plugins-base-0.10):
  Remove variables.
* gnu/packages/patches/gstreamer-0.10-bison3.patch,
  gnu/packages/patches/gstreamer-0.10-silly-test.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove them.

9 years agognu: Add xmp.
宋文武 [Wed, 29 Apr 2015 06:48:55 +0000 (14:48 +0800)]
gnu: Add xmp.

* gnu/packages/audio.scm (xmp): New variable.

9 years agognu: Add libxmp.
宋文武 [Wed, 29 Apr 2015 06:48:26 +0000 (14:48 +0800)]
gnu: Add libxmp.

* gnu/packages/audio.scm (libxmp): New variable.

9 years agognu: Add libmodplug.
宋文武 [Wed, 29 Apr 2015 03:03:48 +0000 (11:03 +0800)]
gnu: Add libmodplug.

* gnu/packages/audio.scm (libmodplug): New variable.

9 years agognu: Add python-tornado.
Ricardo Wurmus [Tue, 28 Apr 2015 08:18:22 +0000 (10:18 +0200)]
gnu: Add python-tornado.

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

9 years agognu: Add python2-backport-ssl-match-hostname.
Ricardo Wurmus [Tue, 28 Apr 2015 08:17:49 +0000 (10:17 +0200)]
gnu: Add python2-backport-ssl-match-hostname.

* gnu/packages/python.scm (python2-backport-ssl-match-hostname): New variable.

9 years agognu: Add icedtea7.
Ricardo Wurmus [Tue, 24 Mar 2015 11:09:29 +0000 (12:09 +0100)]
gnu: Add icedtea7.

* gnu/packages/java.scm (icedtea7): New variable.

9 years agognu: cmake: Disable parallel tests.
宋文武 [Tue, 28 Apr 2015 09:16:18 +0000 (17:16 +0800)]
gnu: cmake: Disable parallel tests.

* gnu/packages/cmake.scm (cmake)[arguments]: Add #:parallel-tests?.
  Set 'CTEST_OUTPUT_ON_FAILURE' to 'TRUE' in 'set-paths phase.

9 years agognu: cmake: Update to 3.2.2.
宋文武 [Tue, 28 Apr 2015 07:29:17 +0000 (15:29 +0800)]
gnu: cmake: Update to 3.2.2.

* gnu/packages/cmake.scm (cmake): Update to 3.2.2.
* gnu/packages/patches/cmake-fix-tests.patch: Skip test for BundleUtilities.

9 years agognu: Add ixion.
Andreas Enge [Mon, 27 Apr 2015 20:09:15 +0000 (22:09 +0200)]
gnu: Add ixion.

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

Co-authored-by: John Darrington <jmd@gnu.org>
9 years agognu: Add extremetuxracer.
Christopher Allan Webber [Mon, 27 Apr 2015 04:40:40 +0000 (23:40 -0500)]
gnu: Add extremetuxracer.

* gnu/packages/games.scm (extremetuxracer): New variable.