Commit Graph

6657 Commits

Author SHA1 Message Date
Manolis Ragkousis
30347caae7 gnu: guile-static: Use Linux syscalls only on Linux-based systems.
* gnu/packages/patches/guile-linux-syscalls.patch: Use Linux
  syscalls only on Linux-based systems.
2015-06-09 22:48:10 +03:00
Mark H Weaver
f8badf151b gnu: commencement: Use our Binutils as soon as possible.
* gnu/packages/commencement.scm (binutils-boot0)[arguments]: Add
  'add-symlinks' phase.
2015-06-08 16:14:03 -04:00
Manolis Ragkousis
56eba3d152 gnu: sed: Set PATH_MAX for Hurd systems.
* gnu/packages/patches/sed-hurd-path-max.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-06-08 22:26:28 +03:00
Ludovic Courtès
8d866b96f7 gnu: Switch to GCC 4.9 as the default cross-compiler.
* gnu/packages/cross-base.scm: Replace all occurrences of "gcc-4.8" with
  "gcc-4.9".
2015-06-04 18:07:26 +02:00
Ludovic Courtès
de4ac32527 gnu: Switch to GCC 4.9 as the default compiler.
* gnu/packages/commencement.scm: Replace all occurrences of "gcc-4.8" with
  "gcc-4.9".
  (gcc-boot0)[arguments]: Add --disable-libcilkrts --disable-libvtv.
2015-06-04 18:05:52 +02:00
Ludovic Courtès
b15389e159 gnu: linux-libre-headers: Do not retain reference to the bootstrap tools.
* gnu/packages/linux.scm (linux-libre-headers)[install-phase]: Remove
  ".install" files from the output.
  [arguments]: Add #:allowed-references.
2015-06-04 14:37:53 +02:00
Ludovic Courtès
67dfa1986d gnu: findutils: Use /var as the localstatedir, for 'updatedb'.
* gnu/packages/patches/findutils-localstatedir.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (findutils)[source]: Use it.
  [arguments]: Pass --localstatedir=/var.
2015-06-04 12:49:43 +02:00
Ludovic Courtès
696062b1f0 gnu: perl: Strip the DSOs.
* gnu/packages/perl.scm (perl)[arguments]: Add 'make-shared-objects-writable'
  phase.
2015-06-04 11:24:07 +02:00
Ludovic Courtès
f683d67d66 gnu: perl: Use 'modify-phases'.
* gnu/packages/perl.scm (perl)[arguments]: Use 'modify-phases' instead of
  'alist-replace'.
2015-06-04 11:18:59 +02:00
Ludovic Courtès
2068559ba0 gnu: gcc: Move patch upstream status in the patch itself.
* gnu/packages/patches/gcc-arm-link-spec-fix.patch: Add bug and patch URLs.
* gnu/packages/gcc.scm (gcc-4.8): Remove them.
2015-06-04 09:30:20 +02:00
Ludovic Courtès
946007f9ce gnu: gawk: Update to 4.1.3.
* gnu/packages/gawk.scm (gawk): Update to 4.1.3.
2015-06-04 08:58:23 +02:00
Mark H Weaver
20a946664d gnu: flex: Fix native-inputs field.
This is a followup to ba42199eb3 and dedaf76f66.

* gnu/packages/flex.scm (flex)[native-inputs]: Add another layer of
  parentheses.
2015-05-31 21:18:54 -04:00
宋文武
7ce3224247 gnu: libxml2: Build python bindings separately.
* gnu/packages/xml.scm (libxml2)[native-inputs]: Remove python.
  [arguments]: Remove.
  (python-libxml2, python2-libxml2): New variables.
2015-06-01 08:59:22 +08:00
宋文武
10ac0f9f24 gnu: libxml2: Update to 2.9.2.
* gnu/packages/xml.scm (libxml2): Update to 2.9.2.
2015-06-01 08:59:15 +08:00
Manolis Ragkousis
94d915d0b0 gnu: base: Fix a bug that occurs in non-Linux systems.
* gnu/packages/base.scm (tar): Apply patch.
* gnu/packages/patches/tar-d_ino_in_dirent-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-05-23 22:24:25 +03:00
Manolis Ragkousis
dedaf76f66 gnu: flex: Add missing quasiquote.
* gnu/packages/flex.scm (flex): Add missing quasiquote at native-inputs.
2015-05-21 18:00:37 +03:00
Manolis Ragkousis
ba42199eb3 gnu: flex: Add m4 as a native input.
* gnu/packages/flex (flex): Add m4 as a native input.
2015-05-21 15:30:06 +03:00
Manolis Ragkousis
74ed6dafb5 gnu: bison: Add m4 as a native input.
* gnu/packages/bison (bison): Add m4 as a native input.
2015-05-21 15:29:53 +03:00
Ludovic Courtès
5ae4169c5f packages: Use packages from '%final-inputs' as the default patch inputs.
Reported by Manolis Ragkousis <manolis837@gmail.com>
at <http://lists.gnu.org/archive/html/guix-devel/2015-05/msg00059.html>.

* guix/packages.scm (%standard-patch-inputs): Add 'canonical', and use
  it in 'ref'.
2015-05-21 15:28:01 +03:00
Taylan Ulrich Bayırlı/Kammer
2fdcc6074e packages: Use %store-directory.
* guix/packages.scm (patch-and-repack): Call %store-directory instead of
  duplicating its code.
2015-05-15 16:42:54 +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
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