Commit Graph

6677 Commits

Author SHA1 Message Date
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
Ricardo Wurmus 47c8ba5a51 gnu: icedtea6: Split test fixing phases.
* gnu/packages/java.scm (icedtea6)[arguments]: Split phase 'fix-tests into
  three phases 'fix-test-framework, 'fix-hotspot-tests, and 'fix-jdk-tests.
2015-04-27 15:13:35 +02:00
Ricardo Wurmus 4ca009c036 gnu: flexbar: Enable tests.
* gnu/packages/bioinformatics.scm (flexbar): Enable tests.
2015-04-27 15:12:47 +02:00
Ricardo Wurmus 02ed8be3ac gnu: tbb: Set rpath in LDFLAGS.
* gnu/packages/tbb.scm (tbb)[arguments]: Set rpath to "/lib" output directory
  in LDFLAGS.
2015-04-27 15:12:46 +02:00
David Thompson 5809ffccc5 gnu: Add sfml.
* gnu/packages/game-development.scm (sfml): New variable.
2015-04-27 08:35:40 -04:00
宋文武 7482b3403b gnu: mpv: Update to 0.9.0.
* gnu/packages/video.scm (mpv): Update to 0.9.0.
2015-04-27 16:58:00 +08:00
宋文武 27350ef8bf gnu: ffmpeg: Don't use patchelf.
* gnu/packages/video.scm (ffmpeg)[inputs]: Remove patchelf.
  [arguments]: Remove #:modules, #:imported-modules and 'add-lib-to-runpath
  phase.  Pass '--extra-ldflags=-Wl,-rpath=$libdir' to `configure'.
2015-04-27 15:24:58 +08:00
宋文武 769436b862 gnu: ffmpeg: Update to 2.6.2.
* gnu/packages/video.scm (ffmpeg): Update to 2.6.2.
2015-04-27 15:24:58 +08:00
Christopher Allan Webber 6bc2406315 gnu: Add guile-minikanren.
* gnu/packages/guile.scm (guile-minikanren): New variable.
2015-04-26 21:38:37 -04:00
Andreas Enge 4ac0d6444d Merge branch 'master' into core-updates. 2015-04-26 20:08:49 +02:00
Andreas Enge 7bde30e18d gnu: evas-generic-loaders: Update to 1.13.2.
* gnu/packages/enlightenment.scm (evas-generic-loaders): Update to 1.13.2.
  Use https for the URL to avoid a redirection.
2015-04-26 17:44:47 +02:00
Andreas Enge c514385197 gnu: gpgme: Update to 1.5.4.
* gnu/packages/gnupg.scm (gpgme): Update to 1.5.4.
2015-04-26 17:24:51 +02:00
Andreas Enge 003e8d5e04 Merge branch 'wip-glib' into master.
Conflicts:
	gnu/packages/package-management.scm
2015-04-26 16:05:39 +02:00
Ricardo Wurmus f62a8417ba gnu: Add calf plugins.
* gnu/packages/audio.scm (calf): New variable.
2015-04-26 15:59:13 +02:00
Ricardo Wurmus e4f43b56c3 gnu: Add fluidsynth.
* gnu/packages/audio.scm (fluidsynth): New variable.
2015-04-26 15:59:01 +02:00
Andreas Enge f763eaaaf9 gnu: Add mdds.
* gnu/packages/boost.scm (mdds): New variable.
2015-04-26 14:38:23 +02:00
David Thompson 378b01dc09 gnu: Add gitolite.
* gnu/packages/version-control.scm (gitolite): New variable.
* gnu/packages/patches/gitolite-openssh-6.8-compat.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-04-24 10:04:08 -04:00
David Thompson f93b916c3d gnu: nginx: Update to 1.8.0.
* gnu/packages/web.scm (nginx): Update to 1.8.0.
2015-04-24 08:08:02 -04:00
Mark H Weaver 23d00fb0ed gnu: wpa-supplicant: Add fix for CVE-2015-1863.
* gnu/packages/patches/wpa-supplicant-CVE-2015-1863.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (wpa-supplicant): Add patch.
2015-04-23 20:32:35 -04:00
Ludovic Courtès d074e2f991 build-system/{cmake,glib-or-gtk}: Add #:validate-runpath? parameter.
* guix/build-system/cmake.scm (cmake-build): Add #:validate-runpath?
  parameter and pass it to BUILDER.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build): Likewise.
2015-04-23 18:52:40 +02:00
Ludovic Courtès 0bd4377566 build-system/gnu: #:validate-runpath? now defaults to #t.
* guix/build/gnu-build-system.scm (validate-runpath): Change default
  value of VALIDATE-RUNPATH? to #t.
2015-04-23 18:52:40 +02:00
Ludovic Courtès cb85eb5e65 build-system/gnu: Gracefully handle dangling symlinks.
Fixes <http://bugs.gnu.org/20081>.
Reported by Tomáš Čech <tcech@suse.cz>.

* guix/build/gnu-build-system.scm (patch-source-shebangs): Remove files
  that don't pass 'file-exists?'.
  (patch-generated-file-shebangs): Likewise.
2015-04-23 18:52:40 +02:00