jackhill/guix/guix.git
9 years agognu: Fix incorrect references to %GNU-BUILD-SYSTEM-MODULES.
Ludovic Courtès [Fri, 10 Apr 2015 08:34:04 +0000 (10:34 +0200)]
gnu: Fix incorrect references to %GNU-BUILD-SYSTEM-MODULES.

Fixes a regression introduced in 8ff3df5.

* gnu/packages/emacs.scm (emacs-w3m)[arguments]: Use quasiquote, not
  quote.
  (emacs-wget)[arguments]: Likewise, and use unquote-splicing for
  %GNU-BUILD-SYSTEM-MODULES.
  (emms): Likewise.
* gnu/packages/haskell.scm (ghc): Likewise.
* gnu/packages/samba.scm (samba): Likewise.

9 years agolint: Report patches that cannot be found.
Ludovic Courtès [Fri, 10 Apr 2015 08:27:26 +0000 (10:27 +0200)]
lint: Report patches that cannot be found.

* guix/scripts/lint.scm (check-patch-file-names): Wrap body in 'guard'.
* tests/lint.scm ("patches: not found"): New test.

9 years agolint: Rename 'check-patches' to 'check-patch-file-names'.
Ludovic Courtès [Fri, 10 Apr 2015 08:08:49 +0000 (10:08 +0200)]
lint: Rename 'check-patches' to 'check-patch-file-names'.

* guix/scripts/lint.scm (check-patches): Rename to...
  (check-patch-file-names): ... this.  Rename 'filename' to 'file'.
  (%checkers): Adjust accordingly.
* tests/lint.scm ("patches: file names"): Likewise.

9 years agognu: curl: Update to 7.41.0. Support CURLOPT_CAPATH on GnuTLS.
Tomáš Čech [Fri, 27 Mar 2015 22:33:47 +0000 (23:33 +0100)]
gnu: curl: Update to 7.41.0.  Support CURLOPT_CAPATH on GnuTLS.

Fixes <http://bugs.gnu.org/20121>.

* gnu/packages/patches/curl-gss-api-fix.patch: Delete file.
* gnu/packages/patches/curl-support-capath-on-gnutls.patch,
  gnu/packages/patches/curl-support-capath-on-gnutls-conf.patch: New files.
* gnu-system.am (dist_patch_DATA): Add new patches and remove old one.
* gnu/packages/curl.scm (curl): Update to 7.41.0.  Add new patches and remove
  old one.  Disable one unit test.

Modified-By: Mark H Weaver <mhw@netris.org>
9 years agognu: gnome-themes-standard: Update to 3.16.0.
宋文武 [Fri, 10 Apr 2015 02:15:51 +0000 (10:15 +0800)]
gnu: gnome-themes-standard: Update to 3.16.0.

This is a followup to 12f7f4a.

* gnu/packages/gnome.scm (gnome-themes-standard): Update hash.

9 years agognu: python-2: Restore python-libffi-mips-n32-fix.patch.
Mark H Weaver [Thu, 9 Apr 2015 22:57:52 +0000 (18:57 -0400)]
gnu: python-2: Restore python-libffi-mips-n32-fix.patch.

This patch was removed in 08c045091e8d8da3b4c677540ed577e8f2448b0d,
but it's still needed for python-2.

* gnu/packages/patches/python-libffi-mips-n32-fix.patch: Restore it.
* gnu-system.am (dist_patch_DATA): Add it back.

9 years agopython: Update to 3.4.3
Cyril Roelandt [Thu, 9 Apr 2015 22:19:20 +0000 (00:19 +0200)]
python: Update to 3.4.3

* gnu/packages/python.scm (python): Update from 3.3.5 to 3.4.3.
* gnu/packages/patches/python-fix-tests.patch: Update the required test fixes.
* gnu/packages/patches/python-libffi-mips-n32-fix.patch: Remove it...
* gnu-system.am (dist_patch_DATA): ... and do not reference it here.

9 years agognu: Add geocode-glib.
Andy Wingo [Tue, 7 Apr 2015 09:49:40 +0000 (11:49 +0200)]
gnu: Add geocode-glib.

* gnu/packages/gnome.scm (geocode-glib): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agognu: gnome-desktop: Update to 3.16.0.
Andy Wingo [Sun, 5 Apr 2015 10:08:11 +0000 (12:08 +0200)]
gnu: gnome-desktop: Update to 3.16.0.

* gnu/packages/gnome.scm (gnome-desktop): Update to 3.16.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agoMerge branch 'master' into core-updates
Ludovic Courtès [Thu, 9 Apr 2015 19:10:46 +0000 (21:10 +0200)]
Merge branch 'master' into core-updates

9 years agognu: libtasn1: Update to 4.4 [fix for CVE-2015-2806].
Ludovic Courtès [Thu, 9 Apr 2015 17:04:02 +0000 (19:04 +0200)]
gnu: libtasn1: Update to 4.4 [fix for CVE-2015-2806].

* gnu/packages/gnutls.scm (libtasn1): Update to 4.4.

9 years agognu: nettle: Update to 3.1.
Ludovic Courtès [Thu, 9 Apr 2015 16:42:08 +0000 (18:42 +0200)]
gnu: nettle: Update to 3.1.

* gnu/packages/nettle.scm (nettle): Update to 3.1.  Add 'arguments'
  field.

9 years agognu: nettle: Make version 3 the default.
Ludovic Courtès [Thu, 9 Apr 2015 16:32:32 +0000 (18:32 +0200)]
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.

9 years agognu: gcc: Do not pass -dynamic-linker to linker when !shared on arm.
Mark H Weaver [Thu, 9 Apr 2015 05:48:05 +0000 (01:48 -0400)]
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>
9 years agohttp-client: Add workaround for HTTP pipelining on Guile <= 2.0.9.
Ludovic Courtès [Wed, 8 Apr 2015 19:38:52 +0000 (21:38 +0200)]
http-client: Add workaround for HTTP pipelining on Guile <= 2.0.9.

Reported by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

* guix/http-client.scm (make-delimited-input-port): New procedure.
  Install it in (web response) for Guile <= 2.0.9.

9 years agoactivation: Remove undeclared user accounts and groups.
Ludovic Courtès [Wed, 8 Apr 2015 19:23:45 +0000 (21:23 +0200)]
activation: Remove undeclared user accounts and groups.

Fixes <http://bugs.gnu.org/19795>.
Reported by David Thompson <dthompson2@worcester.edu>.

* gnu/build/activation.scm (enumerate, current-users, current-groups,
  delete-user, delete-group): New procedures.
  (activate-users+groups): Add calls to 'delete-user' and
  'delete-group'.
* doc/guix.texi (User Accounts): Add a paragraph about statelessness.
  Explain that passwords are preserved.

9 years agognu: Add ghc-http.
Federico Beffa [Fri, 27 Mar 2015 18:17:57 +0000 (19:17 +0100)]
gnu: Add ghc-http.

* gnu/packages/haskell.scm (ghc-http): New variable.

9 years agognu: Add ghc-network-uri.
Federico Beffa [Fri, 27 Mar 2015 18:15:21 +0000 (19:15 +0100)]
gnu: Add ghc-network-uri.

* gnu/packages/haskell.scm (ghc-network-uri): New variable.

9 years agognu: Add ghc-network.
Federico Beffa [Fri, 27 Mar 2015 17:58:03 +0000 (18:58 +0100)]
gnu: Add ghc-network.

* gnu/packages/haskell.scm (ghc-network): New variable.

9 years agognu: Add ghc-vector.
Federico Beffa [Fri, 27 Mar 2015 17:37:19 +0000 (18:37 +0100)]
gnu: Add ghc-vector.

* gnu/packages/haskell.scm (ghc-vector): New variable.

9 years agognu: Add ghc-parsec.
Federico Beffa [Fri, 27 Mar 2015 17:30:06 +0000 (18:30 +0100)]
gnu: Add ghc-parsec.

* gnu/packages/haskell.scm (ghc-parsec): New variable.

9 years agognu: Add ghc-split.
Federico Beffa [Fri, 27 Mar 2015 17:20:18 +0000 (18:20 +0100)]
gnu: Add ghc-split.

* gnu/packages/haskell.scm (ghc-split): New variable.

9 years agognu: Add ghc-unordered-containers.
Federico Beffa [Fri, 27 Mar 2015 17:12:43 +0000 (18:12 +0100)]
gnu: Add ghc-unordered-containers.

* gnu/packages/haskell.scm (ghc-unordered-containers): New variable.

9 years agognu: Add ghc-fgl.
Federico Beffa [Fri, 27 Mar 2015 17:03:49 +0000 (18:03 +0100)]
gnu: Add ghc-fgl.

* gnu/packages/haskell.scm (ghc-fgl): New variable.

9 years agognu: Add ghc-containers.
Federico Beffa [Fri, 27 Mar 2015 16:59:16 +0000 (17:59 +0100)]
gnu: Add ghc-containers.

* gnu/packages/haskell.scm (ghc-containers): New variable.

9 years agognu: Add ghc-syb.
Federico Beffa [Fri, 27 Mar 2015 16:51:04 +0000 (17:51 +0100)]
gnu: Add ghc-syb.

* gnu/packages/haskell.scm (ghc-syb): New variable.

9 years agognu: Add ghc-case-insensitive.
Federico Beffa [Fri, 27 Mar 2015 16:43:11 +0000 (17:43 +0100)]
gnu: Add ghc-case-insensitive.

* gnu/packages/haskell.scm (ghc-case-insensitive): New variable.

9 years agognu: Add ghc-quickcheck.
Federico Beffa [Tue, 7 Apr 2015 12:03:00 +0000 (14:03 +0200)]
gnu: Add ghc-quickcheck.

* gnu/packages/haskell.scm (ghc-quickcheck): New variable.

9 years agognu: Add ghc-tf-random.
Federico Beffa [Fri, 27 Mar 2015 16:29:42 +0000 (17:29 +0100)]
gnu: Add ghc-tf-random.

* gnu/packages/haskell.scm (ghc-tf-random): New variable.

9 years agognu: Add ghc-primitive.
Federico Beffa [Fri, 27 Mar 2015 16:27:11 +0000 (17:27 +0100)]
gnu: Add ghc-primitive.

* gnu/packages/haskell.scm (ghc-primitive): New variable.

9 years agognu: Add ghc-random.
Federico Beffa [Fri, 27 Mar 2015 15:31:56 +0000 (16:31 +0100)]
gnu: Add ghc-random.

* gnu/packages/haskell.scm (ghc-random): New variable.

9 years agognu: Add ghc-hunit
Federico Beffa [Fri, 27 Mar 2015 15:08:00 +0000 (16:08 +0100)]
gnu: Add ghc-hunit

* gnu/packages/haskell.scm (ghc-hunit): New variable.

9 years agognu: Add ghc-hashable.
Federico Beffa [Fri, 27 Mar 2015 15:03:35 +0000 (16:03 +0100)]
gnu: Add ghc-hashable.

* gnu/packages/haskell.scm (ghc-hashable): New variable.

9 years agognu: Add ghc-text.
Federico Beffa [Fri, 27 Mar 2015 14:54:30 +0000 (15:54 +0100)]
gnu: Add ghc-text.

* gnu/packages/haskell.scm (ghc-text): New variable.

9 years agognu: Add ghc-parallel.
Federico Beffa [Fri, 27 Mar 2015 14:11:50 +0000 (15:11 +0100)]
gnu: Add ghc-parallel.

* gnu/packages/haskell.scm (ghc-parallel): New variable.

9 years agognu: Add ghc-stm.
Federico Beffa [Fri, 27 Mar 2015 13:49:39 +0000 (14:49 +0100)]
gnu: Add ghc-stm.

* gnu/packages/haskell.scm (ghc-stm): New variable.

9 years agognu: Add ghc-zlib.
Federico Beffa [Fri, 27 Mar 2015 13:31:40 +0000 (14:31 +0100)]
gnu: Add ghc-zlib.

* gnu/packages/haskell.scm (ghc-zlib): New variable.

9 years agognu: Add ghc-paths.
Federico Beffa [Thu, 26 Mar 2015 16:55:23 +0000 (17:55 +0100)]
gnu: Add ghc-paths.

* gnu/packages/haskell.scm: (ghc-paths): New variable.

9 years agognu: Add ghc-mtl.
Federico Beffa [Wed, 25 Mar 2015 16:32:33 +0000 (17:32 +0100)]
gnu: Add ghc-mtl.

* gnu/packages/haskell.scm: (ghc-mtl): New variable.

9 years agoprofiles: Generate GHC's package database cache.
Federico Beffa [Sat, 4 Apr 2015 20:51:13 +0000 (22:51 +0200)]
profiles: Generate GHC's package database cache.

* guix/profiles.scm (ghc-package-cache-file): New procedure.
  (profile-derivation): Add 'ghc-package-cache?' keyword argument.  If true
  (the default), add the result of 'ghc-package-cache-file' to 'inputs'.
* guix/scripts/package.scm (guix-package)[process-actions]: Pass
  #:ghc-package-cache? to 'profile-generation'.
* tests/packages.scm ("--search-paths with pattern"): Likewise.
* tests/profiles.scm ("profile-derivation"): Likewise.

9 years agobuild-system/haskell: Update configure flags, 'haddock' and %standard-phases.
Federico Beffa [Sat, 4 Apr 2015 09:16:37 +0000 (11:16 +0200)]
build-system/haskell: Update configure flags, 'haddock' and %standard-phases.

* guix/build/haskell-build-system.scm (%standard-phases): move 'haddock phase
  before 'install phase.
* guix/build/haskell-build-system.scm (haddock): Simplify it as the 'install
  phase takes care of copying files.
* guix/build/haskell-build-system.scm (configure): Add '--libsubdir' flag.
  Fix use of '--extra-include-dirs' and '--extra-lib-dirs' flags.  Use 'doc',
  'bin' and 'lib' outputs if they are defined.
* guix/build/haskell-build-system.scm (make-ghc-package-database, register):
  Aligh location of 'package.conf.d' directory with '--libsubdir' flag.

9 years agoimport: Add hackage importer.
Federico Beffa [Sun, 8 Mar 2015 06:48:38 +0000 (07:48 +0100)]
import: Add hackage importer.

* guix/import/hackage.scm: New file.
* tests/hackage.scm: New file.

9 years agoimport: Add hackage importer.
Federico Beffa [Sat, 7 Mar 2015 16:23:14 +0000 (17:23 +0100)]
import: Add hackage importer.

* guix/scripts/import.scm (importers): Add hackage.
* guix/scripts/import/hackage.scm: New file.
* po/guix/POTFILES.in: Add guix/scripts/import.scm.
* doc/guix.texi: Add section on 'hackage' importer.

9 years agognu: Add libsecret.
宋文武 [Tue, 7 Apr 2015 09:43:53 +0000 (17:43 +0800)]
gnu: Add libsecret.

* gnu/packages/gnome.scm (libsecret): New variable.

9 years agognu: Add geoclue.
Andy Wingo [Tue, 7 Apr 2015 07:42:36 +0000 (09:42 +0200)]
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>
9 years agognu: Add colord service.
Andy Wingo [Sun, 5 Apr 2015 15:33:43 +0000 (17:33 +0200)]
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>
9 years agognu: Add colord package.
Andy Wingo [Sun, 5 Apr 2015 12:49:51 +0000 (14:49 +0200)]
gnu: Add colord package.

* gnu/packages/gnome.scm (colord): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agobuild: Enable silent rules by default.
Ludovic Courtès [Wed, 8 Apr 2015 08:42:48 +0000 (10:42 +0200)]
build: Enable silent rules by default.

* configure.ac: Use 'AM_SILENT_RULES'.

9 years agognu: guix: Update development snapshot.
Ludovic Courtès [Wed, 8 Apr 2015 08:41:27 +0000 (10:41 +0200)]
gnu: guix: Update development snapshot.

* gnu/packages/package-management.scm (guix-devel): Update to 0b13161.

9 years agotests: Skip 'guix-package-net.sh' when prerequisites aren't met.
Ludovic Courtès [Wed, 8 Apr 2015 08:20:25 +0000 (10:20 +0200)]
tests: Skip 'guix-package-net.sh' when prerequisites aren't met.

* tests/guix-package-net.sh: Reinstate networking and shebang test that
  inadvertently vanished in commit 57b8623.

9 years agognu: inetutils: Apply syslogd patch.
Ludovic Courtès [Wed, 8 Apr 2015 07:44:49 +0000 (09:44 +0200)]
gnu: inetutils: Apply syslogd patch.

* gnu/packages/patches/inetutils-syslogd.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (inetutils)[source]: Use it.
  [native-inputs]: New field.

9 years agoMerge branch 'master' into core-updates
宋文武 [Wed, 8 Apr 2015 08:04:37 +0000 (16:04 +0800)]
Merge branch 'master' into core-updates

9 years agognu: at-spi2-core: Move html documentation to 'doc' output.
宋文武 [Wed, 8 Apr 2015 03:30:58 +0000 (11:30 +0800)]
gnu: at-spi2-core: Move html documentation to 'doc' output.

* gnu/packages/gtk.scm (at-spi2-core)[outputs]: New field.
  [arguments]: Add #:configure-flags.

9 years agognu: at-spi2-atk: Propagate input at-spi2-core.
宋文武 [Wed, 8 Apr 2015 03:24:40 +0000 (11:24 +0800)]
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'.

9 years agognu: at-spi2-atk: Enable tests.
宋文武 [Wed, 8 Apr 2015 03:17:06 +0000 (11:17 +0800)]
gnu: at-spi2-atk: Enable tests.

* gnu/packages/gtk.scm (at-spi2-atk)[arguments]: Remove #:tests? #f.
  Add #:phases.

9 years agognu: atk: Propagate input glib.
宋文武 [Wed, 8 Apr 2015 03:11:50 +0000 (11:11 +0800)]
gnu: atk: Propagate input glib.

* gnu/packages/gtk.scm (atk): Move glib to 'propagated-inputs'.

9 years agognu: at-spi2-atk: Update to 2.16.0.
宋文武 [Wed, 8 Apr 2015 03:08:24 +0000 (11:08 +0800)]
gnu: at-spi2-atk: Update to 2.16.0.

* gnu/packages/gtk.scm (at-spi2-atk): Update to 2.16.0.

9 years agognu: atk: Move html documentation to 'doc' output.
宋文武 [Wed, 8 Apr 2015 03:07:12 +0000 (11:07 +0800)]
gnu: atk: Move html documentation to 'doc' output.

* gnu/packages/gtk.scm (atk)[outputs]: New field.
  [arguments]: New field.

9 years agognu: atk: Update to 2.16.0.
宋文武 [Wed, 8 Apr 2015 03:03:07 +0000 (11:03 +0800)]
gnu: atk: Update to 2.16.0.

* gnu/packages/gtk.scm (atk): Update to 2.16.0.

9 years agognu: at-spi2-core: Enable GObject introspection.
宋文武 [Wed, 8 Apr 2015 02:44:05 +0000 (10:44 +0800)]
gnu: at-spi2-core: Enable GObject introspection.

* gnu/packages/gtk.scm (at-spi2-core)[arguments]: Add #:make-flags.
  [native-inputs]: Add gobject-introspection.

9 years agognu: at-spi2-core: Propagate inputs dbus and glib.
宋文武 [Wed, 8 Apr 2015 02:39:02 +0000 (10:39 +0800)]
gnu: at-spi2-core: Propagate inputs dbus and glib.

* gnu/packages/gtk.scm (at-spi2-core): Move dbus and glib to
  'propagated-inputs'.

9 years agognu: at-spi2-core: Enable tests.
宋文武 [Wed, 8 Apr 2015 02:31:21 +0000 (10:31 +0800)]
gnu: at-spi2-core: Enable tests.

* gnu/packages/gtk.scm (at-spi2-core)[arguments]: Remove #:tests? #f.
  Add #:phases.

9 years agognu: at-spi2-core: Update to 2.16.0.
宋文武 [Wed, 8 Apr 2015 02:24:07 +0000 (10:24 +0800)]
gnu: at-spi2-core: Update to 2.16.0.

* gnu/packages/gtk.scm (at-spi2-core): Update to 2.16.0.

9 years agognu: gtk+-2: Move html documentation to 'doc' output.
宋文武 [Wed, 8 Apr 2015 07:09:26 +0000 (15:09 +0800)]
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'.

9 years agognu: gtk+-2: Add more inputs.
宋文武 [Wed, 8 Apr 2015 07:05:11 +0000 (15:05 +0800)]
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.

9 years agognu: gtk+-2: Update to 2.24.27.
宋文武 [Wed, 8 Apr 2015 06:45:35 +0000 (14:45 +0800)]
gnu: gtk+-2: Update to 2.24.27.

* gnu/packages/gtk.scm (gtk+-2): Update to 2.24.27.

9 years agognu: julia: Pass MARCH make flag.
Ricardo Wurmus [Tue, 7 Apr 2015 08:41:57 +0000 (10:41 +0200)]
gnu: julia: Pass MARCH make flag.

* gnu/packages/julia.scm (julia)[arguments]: Pass "MARCH" flag for supported
  architectures.

9 years agognu: julia: Mark as unsupported on ARM and MIPS.
Ricardo Wurmus [Tue, 7 Apr 2015 08:39:25 +0000 (10:39 +0200)]
gnu: julia: Mark as unsupported on ARM and MIPS.

* gnu/packages/julia.scm (julia): Add 'supported-systems' field.

9 years agognu: wavpack: Fix wavpack.pc by passing '--libdir' to `configure'.
宋文武 [Tue, 7 Apr 2015 03:01:29 +0000 (11:01 +0800)]
gnu: wavpack: Fix wavpack.pc by passing '--libdir' to `configure'.

* gnu/packages/audio.scm (wavpack)[arguments]: New field.

9 years agodoc: Refer to "Substitutes" from "Setting Up the Daemon".
Ludovic Courtès [Tue, 7 Apr 2015 20:58:31 +0000 (22:58 +0200)]
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".

9 years agodoc: Mention the relation between module names and file names.
Ludovic Courtès [Tue, 7 Apr 2015 20:53:06 +0000 (22:53 +0200)]
doc: Mention the relation between module names and file names.

* doc/guix.texi (Package Modules): Mention the relation between module
  names and file names.

9 years agodoc: Mention that the current generation is not deleted.
Ludovic Courtès [Tue, 7 Apr 2015 20:47:32 +0000 (22:47 +0200)]
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.

9 years agognu: Emit a warning when a package module cannot be loaded.
Ludovic Courtès [Tue, 7 Apr 2015 20:27:45 +0000 (22:27 +0200)]
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.

9 years agoui: Add 'report-load-error'.
Ludovic Courtès [Tue, 7 Apr 2015 20:07:25 +0000 (22:07 +0200)]
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.

9 years agognu: Change ld-wrapper extension from .scm to .in.
Ludovic Courtès [Tue, 7 Apr 2015 19:36:04 +0000 (21:36 +0200)]
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.

9 years agognu: gcc: Disable RUNPATH validation for native builds.
Ludovic Courtès [Tue, 7 Apr 2015 19:24:37 +0000 (21:24 +0200)]
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.

9 years agognu: ld-wrapper: Add 'GUIX_LD_WRAPPER_DISABLE_RPATH' environment variable.
Ludovic Courtès [Tue, 7 Apr 2015 08:29:51 +0000 (10:29 +0200)]
gnu: ld-wrapper: Add 'GUIX_LD_WRAPPER_DISABLE_RPATH' environment variable.

* gnu/packages/ld-wrapper.scm (%disable-rpath?): New variable.
  (rpath-arguments): Honor it.

9 years agognu: ld-wrapper: Add '-rpath' flag only for libraries that are in the store.
Ludovic Courtès [Tue, 7 Apr 2015 08:21:36 +0000 (10:21 +0200)]
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?'.

9 years agognu: ld-wrapper: Extract symlink dereferencing.
Ludovic Courtès [Tue, 7 Apr 2015 07:47:43 +0000 (09:47 +0200)]
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.

9 years agognu: kbd: Update to 2.0.2.
Mark H Weaver [Tue, 7 Apr 2015 17:18:22 +0000 (13:18 -0400)]
gnu: kbd: Update to 2.0.2.

* gnu/packages/linux.scm (kbd): Update to 2.0.2.

9 years agognu: Add python-drmaa.
Ricardo Wurmus [Wed, 1 Apr 2015 09:59:01 +0000 (11:59 +0200)]
gnu: Add python-drmaa.

* gnu/packages/python.scm (python-drmaa, python2-drmaa): New variables.

9 years agognu: Add Solfege.
Ricardo Wurmus [Wed, 11 Mar 2015 08:02:34 +0000 (09:02 +0100)]
gnu: Add Solfege.

* gnu/packages/music.scm (solfege): New variable.

9 years agognu: Add Csound.
Ricardo Wurmus [Tue, 31 Mar 2015 20:28:08 +0000 (22:28 +0200)]
gnu: Add Csound.

* gnu/packages/audio.scm (csound): New variable.

9 years agognu: Add libiec61883.
宋文武 [Tue, 7 Apr 2015 05:22:40 +0000 (13:22 +0800)]
gnu: Add libiec61883.

* gnu/packages/linux.scm (libiec61883): New variable.

9 years agognu: apl: Update to 1.5.
Mark H Weaver [Tue, 7 Apr 2015 02:22:03 +0000 (22:22 -0400)]
gnu: apl: Update to 1.5.

* gnu/packages/apl.scm (apl): Update to 1.5.

9 years agognu: parallel: Update to 20150322.
Mark H Weaver [Tue, 7 Apr 2015 02:13:48 +0000 (22:13 -0400)]
gnu: parallel: Update to 20150322.

* gnu/packages/parallel.scm (parallel): Update to 20150322.

9 years agognu: Add libsoup.
宋文武 [Mon, 6 Apr 2015 15:56:35 +0000 (23:56 +0800)]
gnu: Add libsoup.

* gnu/packages/gnome.scm (libsoup): New variable.

9 years agognu: dbus: Update to 1.8.16.
Mark H Weaver [Tue, 7 Apr 2015 02:12:00 +0000 (22:12 -0400)]
gnu: dbus: Update to 1.8.16.

* gnu/packages/glib.scm (dbus): Update to 1.8.16.

9 years agognu: gnutls: Update to 3.3.14.
Mark H Weaver [Tue, 7 Apr 2015 01:55:00 +0000 (21:55 -0400)]
gnu: gnutls: Update to 3.3.14.

* gnu/packages/gnutls.scm (gnutls): Update to 3.3.14.

9 years agognu: gtk+: Update to 3.16.0.
Andy Wingo [Sat, 4 Apr 2015 20:46:47 +0000 (22:46 +0200)]
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>
9 years agognu: Add libepoxy.
Andy Wingo [Sun, 5 Apr 2015 09:28:32 +0000 (11:28 +0200)]
gnu: Add libepoxy.

* gnu/packages/gl.scm (libepoxy): New variable.

Modified-By: Mark H Weaver <mhw@netris.org>
9 years agognu: Paper over a build circularity problem.
Andy Wingo [Sun, 5 Apr 2015 18:25:30 +0000 (20:25 +0200)]
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>
9 years agoutils: 'find-files' does not follow symlinks by default.
Ludovic Courtès [Mon, 6 Apr 2015 21:09:54 +0000 (23:09 +0200)]
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'.

9 years agonls: Add Danish translation.
Ludovic Courtès [Mon, 6 Apr 2015 20:06:12 +0000 (22:06 +0200)]
nls: Add Danish translation.

* po/guix/da.po: New file.
* po/guix/LINGUAS: Add 'da'.

9 years agotests: Move 'guix package' tests that require networking to a separate file.
Ludovic Courtès [Mon, 6 Apr 2015 19:52:40 +0000 (21:52 +0200)]
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.

9 years agoguix package: Avoid 'exit' calls in 'delete-matching-generations'.
Ludovic Courtès [Mon, 6 Apr 2015 19:27:03 +0000 (21:27 +0200)]
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).

9 years agoguix package: Never remove the current generation and warn about it.
Ludovic Courtès [Mon, 6 Apr 2015 19:26:12 +0000 (21:26 +0200)]
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.

9 years agotests: Deal with 'mount-points' not returning "/".
Ludovic Courtès [Mon, 6 Apr 2015 19:05:38 +0000 (21:05 +0200)]
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 "/".

9 years agognu: lsof: Add mirrors.
Ludovic Courtès [Mon, 6 Apr 2015 18:50:35 +0000 (20:50 +0200)]
gnu: lsof: Add mirrors.

Reported by Tomáš Čech.

* gnu/packages/lsof.scm (lsof)[source]: Add two mirrors.

9 years agoguix package: Move generation deletion to its own procedure.
Ludovic Courtès [Mon, 6 Apr 2015 18:02:22 +0000 (20:02 +0200)]
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'.