Merge branch 'master' into core-updates
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.
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'.
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.
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.
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.
gnu: Add orcus.
* gnu/packages/libreoffice.scm (orcus): New variable.
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.
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.
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.
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.
gnu: gcc: Add link to upstream bug report.
* gnu/packages/gcc.scm (gcc-4.8): Add link to bug report in comment.
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.
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.
install: Make /var/lock.
Reported by 宋文武 <iyzsong@gmail.com>.
* gnu/build/install.scm (directives): Add /var/lock.
gnu: jack2: Add $libdir to the RUNPATH of all the binaries.
* gnu/packages/audio.scm (jack2)[arguments]: Add #:phases.
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.
gnu: Add xmp.
* gnu/packages/audio.scm (xmp): New variable.