Commit Graph

6530 Commits

Author SHA1 Message Date
Ricardo Wurmus 9e54e957f9 gnu: julia: Mark as unsupported on ARM and MIPS.
* gnu/packages/julia.scm (julia): Add 'supported-systems' field.
2015-04-08 09:29:31 +02:00
宋文武 60950faa0e gnu: wavpack: Fix wavpack.pc by passing '--libdir' to `configure'.
* gnu/packages/audio.scm (wavpack)[arguments]: New field.
2015-04-08 09:48:35 +08:00
Ludovic Courtès 225dafdee7 doc: Refer to "Substitutes" from "Setting Up the Daemon".
Suggested by Mark H Weaver.

* doc/guix.texi (Setting Up the Daemon): Add xref to "Substitutes".
2015-04-07 22:58:31 +02:00
Ludovic Courtès 60142854af doc: Mention the relation between module names and file names.
* doc/guix.texi (Package Modules): Mention the relation between module
  names and file names.
2015-04-07 22:53:06 +02:00
Ludovic Courtès 391bdd8f7f doc: Mention that the current generation is not deleted.
* doc/guix.texi (Invoking guix package): Mention that the current
  generation is not deleted.  This is a followup to d26eb84.
2015-04-07 22:47:32 +02:00
Ludovic Courtès 4ae7559fd6 gnu: Emit a warning when a package module cannot be loaded.
* guix/ui.scm (warn-about-load-error): New procedure.
* gnu/packages.scm (package-modules): Wrap 'resolve-interface' call in
  'catch #t', and call 'warn-about-load-error' in handler.
2015-04-07 22:28:36 +02:00
Ludovic Courtès 1151f6aeae ui: Add 'report-load-error'.
* guix/scripts/system.scm (read-operating-system): Replace error
  handling code by a call to 'report-load-error'.
* guix/ui.scm (report-load-error): New procedure.
2015-04-07 22:28:36 +02:00
Ludovic Courtès c8bfa5b425 gnu: Change ld-wrapper extension from .scm to .in.
* gnu/packages/ld-wrapper.scm: Rename to...
* gnu/packages/ld-wrapper.in: ... this.
* gnu/packages/base.scm (make-ld-wrapper): Adjust "wrapper" input
  accordingly.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove ld-wrapper.scm.
  (MISC_DISTRO_FILES): New variable.
2015-04-07 22:28:36 +02:00
Ludovic Courtès dfc8bb2071 gnu: gcc: Disable RUNPATH validation for native builds.
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Pass
  #:validate-runpath? #f.
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Override
  #:validate-runpath? with 'substitute-keyword-arguments'.
  (gcc-final)[arguments]: Likewise.
* gnu/packages/cross-base.scm (cross-gcc-arguments): Likewise.
2015-04-07 22:28:36 +02:00
Ludovic Courtès 71b6716814 gnu: ld-wrapper: Add 'GUIX_LD_WRAPPER_DISABLE_RPATH' environment variable.
* gnu/packages/ld-wrapper.scm (%disable-rpath?): New variable.
  (rpath-arguments): Honor it.
2015-04-07 22:28:36 +02:00
Ludovic Courtès 51d0cd9b38 gnu: ld-wrapper: Add '-rpath' flag only for libraries that are in the store.
This avoids adding bogus entries to the RUNPATH of installed binaries,
pointing to the build directory or similar.

* gnu/packages/ld-wrapper.scm (store-file-name?): New procedure.
  (rpath-arguments): Add "-rpath" flag on when FILE matches
  'store-file-name?', not when it matches 'pure-file-name?'.
2015-04-07 22:28:35 +02:00
Ludovic Courtès 41fc0eb900 gnu: ld-wrapper: Extract symlink dereferencing.
* gnu/packages/ld-wrapper.scm (readlink*, dereference-symlinks): New
  procedures.
  (pure-file-name?): Use it instead of local loop.
2015-04-07 22:28:35 +02:00
Mark H Weaver 710b4928c8 gnu: kbd: Update to 2.0.2.
* gnu/packages/linux.scm (kbd): Update to 2.0.2.
2015-04-07 13:18:53 -04:00
Ricardo Wurmus 2c0499ad87 gnu: Add python-drmaa.
* gnu/packages/python.scm (python-drmaa, python2-drmaa): New variables.
2015-04-07 10:51:21 +02:00
Ricardo Wurmus c267cc1578 gnu: Add Solfege.
* gnu/packages/music.scm (solfege): New variable.
2015-04-07 08:34:09 +02:00
Ricardo Wurmus fda85ca67d gnu: Add Csound.
* gnu/packages/audio.scm (csound): New variable.
2015-04-07 08:34:01 +02:00
宋文武 3f7bf86a71 gnu: Add libiec61883.
* gnu/packages/linux.scm (libiec61883): New variable.
2015-04-07 13:25:23 +08:00
Mark H Weaver d70a4a5e87 gnu: apl: Update to 1.5.
* gnu/packages/apl.scm (apl): Update to 1.5.
2015-04-06 22:24:15 -04:00
Mark H Weaver ff03ef0b3a gnu: parallel: Update to 20150322.
* gnu/packages/parallel.scm (parallel): Update to 20150322.
2015-04-06 22:24:15 -04:00
宋文武 6e1bb64201 gnu: Add libsoup.
* gnu/packages/gnome.scm (libsoup): New variable.
2015-04-07 10:17:52 +08:00
Mark H Weaver bb146db14f gnu: dbus: Update to 1.8.16.
* gnu/packages/glib.scm (dbus): Update to 1.8.16.
2015-04-06 22:12:25 -04:00
Mark H Weaver 1e44ebcc83 gnu: gnutls: Update to 3.3.14.
* gnu/packages/gnutls.scm (gnutls): Update to 3.3.14.
2015-04-06 21:55:00 -04:00
Andy Wingo 31b254a324 gnu: gtk+: Update to 3.16.0.
* gnu/packages/gtk.scm (gtk+): Update to 3.16.0.  Add libepoxy to
  propagated-inputs.  Add gettext to native-inputs.  Add a 'pre-configure'
  phase instead of modifying the existing 'configure' phase.  Fix references
  to 'gtk-update-icon-cache' in Makefile.in files.

Co-Authored-By: Mark H Weaver <mhw@netris.org>
2015-04-06 18:11:05 -04:00
Andy Wingo 131ddf991f gnu: Add libepoxy.
* gnu/packages/gl.scm (libepoxy): New variable.

Modified-By: Mark H Weaver <mhw@netris.org>
2015-04-06 18:11:05 -04:00
Andy Wingo d16c9fd80f gnu: Paper over a build circularity problem.
A forthcoming gtk+ update that will import (gnu packages gl) from
(gnu packages gtk) triggers an issue related to circular dependencies
between modules.  This patch works around the issue.

* gnu/packages/sdl.scm: Remove the #:prefix from the (gnu packages fontutils)
  import, and instead #:hide 'freetype' from the (guix licenses) import.

Modified-By: Mark H Weaver <mhw@netris.org>
2015-04-06 17:48:00 -04:00
Ludovic Courtès 347f54ed33 utils: 'find-files' does not follow symlinks by default.
Fixes <http://bugs.gnu.org/20081>.
Reported by Tomáš Čech <sleep_walker@suse.cz>.

* guix/build/utils.scm (find-files): Add #:stat parameter.  Pass it as
  last argument to 'file-system-fold'.
2015-04-06 23:09:54 +02:00
Ludovic Courtès 3107bef832 nls: Add Danish translation.
* po/guix/da.po: New file.
* po/guix/LINGUAS: Add 'da'.
2015-04-06 22:06:12 +02:00
Ludovic Courtès 57b8623754 tests: Move 'guix package' tests that require networking to a separate file.
* tests/guix-package.sh (shebang_not_too_long): Remove.
  Move everything below "if [networking + shebang_not_too_long]" to...
* tests/guix-package-net.sh: ... here.  New file.
* Makefile.am (SH_TESTS): Add it.
2015-04-06 21:52:40 +02:00
Ludovic Courtès 250bc998ac guix package: Avoid 'exit' calls in 'delete-matching-generations'.
* guix/scripts/package.scm (delete-matching-generations): Remove call to
  'exit' when PATTERN is "0".  Call 'leave' instead of 'exit'
  when (null-list? number).
2015-04-06 21:27:35 +02:00
Ludovic Courtès d26eb84d14 guix package: Never remove the current generation and warn about it.
Fixes <http://bugs.gnu.org/19978>.
Reported by taylanbayirli@gmail.com (Taylan Ulrich Bayırlı/Kammer).

* guix/scripts/package.scm (delete-matching-generations): Warn when
  CURRENT is in NUMBERS, and always remove it before calling
  'delete-generations'.
* tests/guix-package.sh: Add --switch-generation=2 invocation before
  --delete-generations=3 invocation.
  Add --delete-generations=1.. test case.
2015-04-06 21:27:32 +02:00
Ludovic Courtès 381ac93b5e tests: Deal with 'mount-points' not returning "/".
Fixes <http://bugs.gnu.org/20261>.
Reported by Mark H Weaver <mhw@netris.org>.

* tests/syscalls.scm ("mount-points"): Check for a few other likely
  mount points in addition to "/".
2015-04-06 21:27:16 +02:00
Ludovic Courtès d45d8904b0 gnu: lsof: Add mirrors.
Reported by Tomáš Čech.

* gnu/packages/lsof.scm (lsof)[source]: Add two mirrors.
2015-04-06 20:50:35 +02:00
Ludovic Courtès 65d428d8f4 guix package: Move generation deletion to its own procedure.
* guix/scripts/package.scm (delete-matching-generations): New procedure,
  with code formerly found...
  (guix-package)[process-actions]: ... here.  Use it.
  Remove 'current-generation-number'.
2015-04-06 20:02:29 +02:00
Eric Bavier d507b277eb gnu: Perl GD: Add real patch.
Replaces the stub patch added in 43754738e0.

* gnu/packages/patches/perl-gd-options-passthrough-and-fontconfig.patch:
  Update patch.

43754738e0
2015-04-06 10:20:23 -05:00
Mark H Weaver e081385af2 gnu: linux-libre-headers: Update to 3.14.37.
* gnu/packages/linux.scm (linux-libre-headers): Update to 3.14.37.
2015-04-06 10:25:03 -04:00
Mark H Weaver 07d4d9b751 gnu: icecat: Fix source URI.
* gnu/packages/gnuzilla.scm (icecat)[source]: Fix source URI computation.
2015-04-06 09:47:40 -04:00
Federico Beffa b198545df6 build-system/gnu: Add docstring to 'delete-info-dir-file'.
* guix/build/gnu-build-system.scm (delete-info-dir-file): Add docstring.
2015-04-06 10:47:31 +02:00
Federico Beffa 26b261ecfe build-system/gnu: Add 'delete-info-dir-file' phase.
* guix/build/gnu-build-system.scm (delete-info-dir-file): New procedure.
  (%standard-phases): Use it.
2015-04-06 10:22:21 +02:00
Mark H Weaver 7e84e1994a gnu: icecat: Update to 31.6.0-gnu1.
* gnu/packages/patches/icecat-CVE-2015-0801.patch,
  gnu/packages/patches/icecat-CVE-2015-0807.patch,
  gnu/packages/patches/icecat-CVE-2015-0815-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-0815-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-0815-pt3.patch,
  gnu/packages/patches/icecat-CVE-2015-0816.patch,
  gnu/packages/patches/icecat-CVE-2015-0817.patch,
  gnu/packages/patches/icecat-CVE-2015-0818-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-0818-pt2.patch,
  gnu/packages/patches/icecat-bug-1127780.patch,
  gnu/packages/patches/icecat-bug-1145870.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/gnuzilla.scm (icecat): Update to 31.6.0-gnu1.  Remove patches.
2015-04-06 02:14:27 -04:00
Mark H Weaver 2bb9b5de7d gnu: nss: Update to 3.18.
* gnu/packages/gnuzilla.scm (nss): Update to 3.18.  Compute source URI
  automatically based on version.
2015-04-05 23:04:03 -04:00
Mark H Weaver 5180717e64 Remove unused module import (gnu packages ed) from (gnu packages commencement).
* gnu/packages/commencement.scm: Remove (gnu packages ed) module import.
2015-04-05 23:03:42 -04:00
Mark H Weaver 8ba4dc6380 gnu: emacs: Add librsvg to inputs.
* gnu/packages/emacs.scm (emacs)[inputs]: Add librsvg.
  (emacs-no-x)[inputs]: Remove librsvg from inherited inputs.
2015-04-05 23:03:28 -04:00
Mark H Weaver 025523f1e4 gnu: linux-libre: Fix drm_wait_one_vblank warnings.
* gnu/packages/patches/linux-libre-vblank-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (linux-libre)[source]: Add patch.
2015-04-05 23:03:21 -04:00
宋文武 1b85e57f11 gnu: glib: Add search path specification for 'GIO_EXTRA_MODULES'.
* gnu/packages/glib.scm (glib): Add specification for 'GIO_EXTRA_MODULES'.
2015-04-05 21:17:03 -04:00
宋文武 f2ca414acb gnu: Add glib-networking.
* gnu/packages/gnome.scm (glib-networking): New variable.
2015-04-06 08:23:51 +08:00
Andy Wingo d8720c5045 gnu: cairo: Update to 1.14.2.
* gnu/packages/gtk.scm (cairo): Update to 1.14.2.
2015-04-05 18:22:23 -04:00
Andy Wingo 6e5c371306 gnu: glib: Update to 2.44.0.
* gnu/packages/glib.scm (glib): Update to 2.44.0.
2015-04-05 18:22:19 -04:00
Andy Wingo 4aaad09db1 gnu: gettext: Link explicitly to libexpat, again.
* gnu/packages/gettext.scm (gnu-gettext): Re-enable patch from
  0e4e4b1329 to explictly link to
  libexpat.  Otherwise libexpat was searched at runtime via dlopen,
  which obviously doesn't work in a Guix context.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-05 23:18:53 +02:00
Ludovic Courtès 29ec55ee27 gnu: util-linux: Install Bash completions under 'etc/bash_completion.d'.
* gnu/packages/linux.scm (util-linux)[arguments]: Pass
  --with-bashcompletiondir.
2015-04-05 23:18:19 +02:00
Ludovic Courtès e26d5076df linux-initrd: Add virtio drivers by default.
* gnu/system/linux-initrd.scm (base-initrd): Change #:virtio? default
  to #t.  This will facilitate the use of GuixSD in VM guests.
2015-04-05 23:15:20 +02:00