Commit graph

6648 commits

Author SHA1 Message Date
Eric Bavier
f77bcbc374 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.
2015-05-02 23:15:40 -05:00
Ludovic Courtès
f4bdfe7381 install: Add bash-completion to the packages.
* gnu/system/install.scm (installation-os)[packages]: Add
  BASH-COMPLETION.
2015-05-03 00:08:37 +02:00
Ludovic Courtès
dedb17ad01 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.
2015-05-02 23:57:11 +02:00
Ludovic Courtès
b9212a5455 Merge branch 'core-updates' 2015-05-02 22:42:53 +02:00
Ludovic Courtès
a413bc8bd3 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'.
2015-05-02 22:16:06 +02:00
Ludovic Courtès
2d51666bd0 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.
2015-05-02 22:16:06 +02:00
Ludovic Courtès
16142b3c14 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.
2015-05-02 22:16:06 +02:00
Ricardo Wurmus
5f6887e839 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.
2015-05-02 21:06:52 +02:00
Taylan Ulrich Bayırlı/Kammer
0272ee499d 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.
2015-05-02 10:47:55 +02:00
Taylan Ulrich Bayırlı/Kammer
7e31978b72 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.
2015-05-02 10:47:55 +02:00
Mark H Weaver
2d2abb04f8 gnu: linux-libre: Update to 4.0.1.
* gnu/packages/linux.scm (linux-libre): Update to 4.0.1.
2015-05-01 17:41:07 -04:00
Andreas Enge
ad797b75b8 gnu: ebook: Drop circular inclusion of the module into itself.
* gnu/packages/ebook.scm: Do not import (gnu packages ebook).
2015-05-01 22:43:08 +02:00
Alex Kost
5eca94594d 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>
2015-05-01 21:00:39 +03:00
Ludovic Courtès
868ef9aec7 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.
2015-05-01 17:39:39 +02:00
Ludovic Courtès
cb151c68bf gnu: polkit-qt: Add $libdir to RUNPATH.
* gnu/packages/polkit.scm (polkit-qt)[arguments]: Add
  #:configure-flags.
2015-05-01 17:38:44 +02:00
Ludovic Courtès
78bed82d19 check-available-binaries: Use %HYDRA-SUPPORTED-SYSTEMS.
* build-aux/check-available-binaries.scm: Use %HYDRA-SUPPORTED-SYSTEMS
  instead of %SUPPORTED-SYSTEMS.
2015-05-01 17:38:09 +02:00
Ludovic Courtès
e206f57e95 gnu: mariadb: Remove now unneeded workaround.
This has been redundant since 21e583d.

* gnu/packages/databases.scm (mariadb)[arguments]: Remove LDFLAGS
  definition.
2015-05-01 17:34:03 +02:00
Ludovic Courtès
75c5475f31 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.
2015-05-01 16:10:08 +02:00
Ludovic Courtès
abcbda48c2 packages: Add '%hydra-supported-systems'.
* build-aux/hydra/gnu-system.scm (%hydra-supported-systems): Remove.
* guix/packages.scm (%hydra-supported-systems): New variable.
2015-05-01 16:05:40 +02:00
Ludovic Courtès
ea7f3349ba gnu: ganv: Set the RUNPATH of binaries to $libdir.
* gnu/packages/gtk.scm (ganv)[arguments]: Add 'set-ldflags' phase.
2015-05-01 16:01:49 +02:00
Ludovic Courtès
bf4af30bb2 Merge branch 'master' into core-updates 2015-05-01 15:03:30 +02:00
Ludovic Courtès
bc7d089a9c 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.
2015-05-01 13:10:18 +02:00
Ludovic Courtès
310709ae58 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'.
2015-05-01 12:50:27 +02:00
Taylan Ulrich Bayırlı/Kammer
9e63a388d9 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.
2015-05-01 01:05:50 +02:00
Ludovic Courtès
0aaca4354c Thank Joshua. 2015-05-01 00:06:18 +02:00
Ludovic Courtès
0d8831370f 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'.
2015-05-01 00:06:18 +02:00
Ludovic Courtès
c04681554d 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.
2015-05-01 00:06:17 +02:00
Ludovic Courtès
d17551d943 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.
2015-05-01 00:06:17 +02:00
Andreas Enge
cfaf863f15 gnu: Add orcus.
* gnu/packages/libreoffice.scm (orcus): New variable.
2015-04-30 21:23:29 +02:00
Taylan Ulrich Bayırlı/Kammer
d80ee44237 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.
2015-04-30 16:34:36 +02:00
Taylan Ulrich Bayırlı/Kammer
7e81a761e7 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.
2015-04-30 16:34:36 +02:00
Taylan Ulrich Bayırlı/Kammer
90ea9863c8 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.
2015-04-30 16:34:36 +02:00
Taylan Ulrich Bayırlı/Kammer
a0a0b7162e 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.
2015-04-30 15:35:07 +02:00
Ludovic Courtès
9e7594027d gnu: gcc: Add link to upstream bug report.
* gnu/packages/gcc.scm (gcc-4.8): Add link to bug report in comment.
2015-04-30 13:43:55 +02:00
Ludovic Courtès
7e35b9dd3d 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.
2015-04-30 13:31:59 +02:00
Taylan Ulrich Bayırlı/Kammer
372cf03981 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.
2015-04-30 09:20:48 +02:00
Ludovic Courtès
d9c41939bd install: Make /var/lock.
Reported by 宋文武 <iyzsong@gmail.com>.

* gnu/build/install.scm (directives): Add /var/lock.
2015-04-29 22:27:46 +02:00
宋文武
b416c647e9 gnu: jack2: Add $libdir to the RUNPATH of all the binaries.
* gnu/packages/audio.scm (jack2)[arguments]: Add #:phases.
2015-04-30 00:03:10 +08:00
宋文武
27c4f0cc03 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.
2015-04-29 16:19:52 +08:00
宋文武
3ec4bba4c9 gnu: Add xmp.
* gnu/packages/audio.scm (xmp): New variable.
2015-04-29 14:51:31 +08:00
宋文武
b97b5cda3b gnu: Add libxmp.
* gnu/packages/audio.scm (libxmp): New variable.
2015-04-29 14:51:31 +08:00
宋文武
a176dd7e24 gnu: Add libmodplug.
* gnu/packages/audio.scm (libmodplug): New variable.
2015-04-29 11:03:48 +08:00
Ricardo Wurmus
310d218f64 gnu: Add python-tornado.
* gnu/packages/python.scm (python-tornado, python2-tornado): New variables.
2015-04-28 17:01:01 +02:00
Ricardo Wurmus
ed377cc6cf gnu: Add python2-backport-ssl-match-hostname.
* gnu/packages/python.scm (python2-backport-ssl-match-hostname): New variable.
2015-04-28 17:01:01 +02:00
Ricardo Wurmus
f67890477a gnu: Add icedtea7.
* gnu/packages/java.scm (icedtea7): New variable.
2015-04-28 12:08:08 +02:00
宋文武
e32316e62f 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.
2015-04-28 17:16:18 +08:00
宋文武
477a752e89 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.
2015-04-28 15:45:54 +08:00
Andreas Enge
7b4570b4fb 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>
2015-04-27 22:12:18 +02:00
Christopher Allan Webber
67fa7a27fb gnu: Add extremetuxracer.
* gnu/packages/games.scm (extremetuxracer): New variable.
2015-04-27 14:12:00 -04:00
Alex Kost
85a02905e4 gnu: imlib2: Update to 1.4.7.
* gnu/packages/image.scm (imlib2): Update to 1.4.7.
2015-04-27 20:56:00 +03:00