Commit graph

6251 commits

Author SHA1 Message Date
Ludovic Courtès
0be199c976 gnu: nettle: Make version 3 the default.
* gnu/packages/nettle.scm (nettle): Rename to...
  (nettle-2): ... this.
  (nettle-3): Rename to...
  (nettle): ... this.
* gnu/packages/gnutls.scm (gnutls): Use NETTLE-2.
* gnu/packages/lsh.scm (lsh): Likewise.
2015-04-09 18:49:28 +02:00
Mark H Weaver
1421afa94a gnu: gcc: Do not pass -dynamic-linker to linker when !shared on arm.
Fixes <http://bugs.gnu.org/20102>.

* gnu/packages/patches/gcc-arm-link-spec-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gcc.scm (gcc-4.8, gcc-4.9): Add patch.
* gnu/packages/cross-base.scm (cross-gcc): Preserve patches from gcc-4.8.

Co-Authored-By: Ludovic Courtès <ludo@gnu.org>
2015-04-09 01:58:04 -04:00
Andy Wingo
7b2abd0055 gnu: Add geoclue.
* gnu/packages/gnome.scm (geoclue): New variable.
* gnu/packages/patches/geoclue-config.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-08 14:42:27 +02:00
Andy Wingo
7ce597ff9e gnu: Add colord service.
* gnu-system.am (GNU_SYSTEM_MODULES): Add gnu/services/colord.scm.
* gnu/services/colord.scm: New file.
* doc/guix.texi (Various Services): Document it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-04-08 14:34:32 +02:00
Andy Wingo
75016d07ec gnu: Add colord package.
* gnu/packages/gnome.scm (colord): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-08 14:25:13 +02:00
宋文武
cf3e3e374c Merge branch 'master' into core-updates 2015-04-08 16:04:37 +08:00
宋文武
068a53c36d gnu: at-spi2-core: Move html documentation to 'doc' output.
* gnu/packages/gtk.scm (at-spi2-core)[outputs]: New field.
  [arguments]: Add #:configure-flags.
2015-04-08 16:02:34 +08:00
宋文武
6967cc3f28 gnu: at-spi2-atk: Propagate input at-spi2-core.
* gnu/packages/gtk.scm (at-spi2-atk): Move at-spi2-core to 'propagated-inputs'.
  Move dbus to 'native-inputs'.
2015-04-08 16:02:34 +08:00
宋文武
57fcd22415 gnu: at-spi2-atk: Enable tests.
* gnu/packages/gtk.scm (at-spi2-atk)[arguments]: Remove #:tests? #f.
  Add #:phases.
2015-04-08 16:02:34 +08:00
宋文武
13a9e29190 gnu: atk: Propagate input glib.
* gnu/packages/gtk.scm (atk): Move glib to 'propagated-inputs'.
2015-04-08 16:02:33 +08:00
宋文武
d3d4bc0bc4 gnu: at-spi2-atk: Update to 2.16.0.
* gnu/packages/gtk.scm (at-spi2-atk): Update to 2.16.0.
2015-04-08 16:02:33 +08:00
宋文武
cd0466ebf8 gnu: atk: Move html documentation to 'doc' output.
* gnu/packages/gtk.scm (atk)[outputs]: New field.
  [arguments]: New field.
2015-04-08 16:02:33 +08:00
宋文武
20342b7e7e gnu: atk: Update to 2.16.0.
* gnu/packages/gtk.scm (atk): Update to 2.16.0.
2015-04-08 16:02:33 +08:00
宋文武
50cc7f41b9 gnu: at-spi2-core: Enable GObject introspection.
* gnu/packages/gtk.scm (at-spi2-core)[arguments]: Add #:make-flags.
  [native-inputs]: Add gobject-introspection.
2015-04-08 16:02:33 +08:00
宋文武
c6a552daea gnu: at-spi2-core: Propagate inputs dbus and glib.
* gnu/packages/gtk.scm (at-spi2-core): Move dbus and glib to
  'propagated-inputs'.
2015-04-08 16:02:33 +08:00
宋文武
af10867745 gnu: at-spi2-core: Enable tests.
* gnu/packages/gtk.scm (at-spi2-core)[arguments]: Remove #:tests? #f.
  Add #:phases.
2015-04-08 16:02:33 +08:00
宋文武
0c75803b7c gnu: at-spi2-core: Update to 2.16.0.
* gnu/packages/gtk.scm (at-spi2-core): Update to 2.16.0.
2015-04-08 16:02:33 +08:00
宋文武
6b1f238834 gnu: gtk+-2: Move html documentation to 'doc' output.
* gnu/packages/gtk.scm (gtk+-2)[outputs]: New field.
  [arguments]<#:configure-flags>: Add '--with-html-dir'.
2015-04-08 16:02:32 +08:00
宋文武
dfbce50cdf gnu: gtk+-2: Add more inputs.
* gnu/packages/gtk.scm (gtk+-2)[inputs]: Add cups, libxcomposite,
  libxcursor, libxdamage, libxi, libxinerama and libxrandr.
  [native-inputs]: Add gettext.
  [arguments]: Add #:configure-flags.
2015-04-08 16:02:32 +08:00
宋文武
674fca0e41 gnu: gtk+-2: Update to 2.24.27.
* gnu/packages/gtk.scm (gtk+-2): Update to 2.24.27.
2015-04-08 16:02:32 +08:00
Ricardo Wurmus
de4b3828ca gnu: julia: Pass MARCH make flag.
* gnu/packages/julia.scm (julia)[arguments]: Pass "MARCH" flag for supported
  architectures.
2015-04-08 09:29:38 +02:00
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