Commit Graph

11605 Commits

Author SHA1 Message Date
Ludovic Courtès d4aaf95401 build-system/gnu: Make 'package-with-explicit-inputs' idempotent.
* guix/build-system/gnu.scm (package-with-explicit-inputs): Use
  'ensure-keyword-arguments' instead of appending to ARGS.
* gnu/packages/commencement.scm (static-bash-for-glibc): Add missing
  #:guile argument.
2016-01-06 23:08:22 +01:00
Ludovic Courtès 6071122b71 utils: Add 'ensure-keyword-arguments'.
* guix/utils.scm (delkw, ensure-keyword-arguments): New procedures.
* tests/utils.scm ("ensure-keyword-arguments"): New test.
2016-01-06 23:08:22 +01:00
Ludovic Courtès 793a43f409 http-client: Work around <http://bugs.gnu.org/22273>.
* guix/http-client.scm (read-header-line): New procedure.  Use it.
2016-01-06 23:08:22 +01:00
Ludovic Courtès dff9141c5e gnu: guix: Update development snapshot to f888c0b.
* gnu/packages/package-management.scm (guix-devel): Update to f888c0b.
2016-01-06 23:08:22 +01:00
Ludovic Courtès 1c63dafce6 http-client: Fix erroneous comment.
* guix/http-client.scm: Fix Guile version number in comment for Guile
commit 5a10e41.
2016-01-06 23:08:22 +01:00
Efraim Flashner bfcb7bcb73 gnu: libffi: Update to 3.2.1.
* gnu/packages/libffi.scm (libffi): Update to 3.2.1.
2016-01-06 20:28:57 +02:00
Eric Bavier c7b08410de gnu: gmsh: Update to 2.11.0.
* gnu/packages/maths.scm (gmsh): Update to 2.11.0.
  [arguments]: Replace 'check phase.
2016-01-06 10:49:23 -06:00
Ludovic Courtès f888c0b120 lint: cve: Catch host name lookup errors.
* guix/scripts/lint.scm (package-vulnerabilities): Catch
'getaddrinfo-error'.
2016-01-06 15:54:12 +01:00
Ludovic Courtès 7b78f359d1 gnu: sudo: Use /var/run/sudo instead of /run/sudo.
* gnu/packages/admin.scm (sudo)[arguments]: Pass
--with-rundir=/var/run/sudo since /var/run is cleaned up at boot time on
GuixSD whereas /run is not.
2016-01-06 15:51:31 +01:00
Ludovic Courtès 3c4c8c3e06 services: cleanup-service: Catch 'system-error' instead of everything.
This makes sure that critical errors such as unbound-variable do not go
undetected.

* gnu/services.scm (cleanup-gexp): Introduce local 'fail-safe' macro and
use it.  Remove uses of 'false-if-exception'.
2016-01-06 14:49:48 +01:00
Ludovic Courtès 341ae58213 gnu: ldc: Fix license.
* gnu/packages/ldc.scm (ldc)[license]: Replace invalid use of
'license:x11-style' by LICENSE:BOOST1.0.
2016-01-06 14:21:53 +01:00
Ben Woodcroft 7266848ace build: ruby: Remove cached gem after install.
The .gem file stored in GEM_HOME after install is both redundant and an
archive that stores timestamped files which makes builds
non-deterministic, so delete it after 'gem install'.

* guix/build/ruby-build-system.scm (install): Remove cached gem after
  install.
2016-01-06 12:42:41 +01:00
Ricardo Wurmus a243e12aba gnu: icedtea7: Rename to icedtea-7.
* gnu/packages/java.scm (icedtea7): Rename variable to...
(icedtea-7): ...this.
(icedtea): Refer to "icedtea-7".
2016-01-06 11:38:50 +01:00
Ricardo Wurmus d028740622 gnu: icedtea6: Rename to icedtea-6.
* gnu/packages/java.scm (icedtea6): Rename variable to...
(icedtea-6): ...this.
2016-01-06 11:38:50 +01:00
Ricardo Wurmus 5452588c1a gnu: icedtea6, icedtea7: Rename package to "icedtea".
* gnu/packages/java.scm (icedtea6): Change package name to "icedtea".
(icedtea7): Inherit package name.
2016-01-06 11:38:50 +01:00
Ricardo Wurmus d2540f80c2 gnu: Add and use default IcedTea.
* gnu/packages/java.scm (icedtea): New variable.
(swt)[native-inputs]: Replace "icedtea6" with "icedtea".
* gnu/packages/bioinformatics.scm (htsjdk)[native-inputs]: Likewise.
(ngs-java)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[native-inputs]: Replace "icedtea7" with
"icedtea".
* gnu/packages/ruby.scm (ruby-rjb)[native-inputs]: Replace "icedtea7"
with "icedtea".
2016-01-06 11:38:50 +01:00
Ricardo Wurmus d91488908b gnu: icedtea6, icedtea7: Unpack to "openjdk.src".
* gnu/packages/java.scm (icedtea6)[arguments]: Unpack OpenJDK sources to
"openjdk.src".
(icedtea7)[arguments]: Inherit "--with-openjdk-src-dir" flag; refer to
"openjdk.src" in build phases; simplify "unpack" phase.
[native-inputs]: Rename "openjdk-drop" to "openjdk-src".
2016-01-06 11:38:50 +01:00
Ricardo Wurmus 43c565d2e7 gnu: Add Jellyfish.
* gnu/packages/bioinformatics.scm (jellyfish): New variable.
2016-01-06 11:10:46 +01:00
Ludovic Courtès 03cea32031 build: Bump version number.
* configure.ac: Change version to 0.9.1.
2016-01-05 23:55:26 +01:00
Michael Vetter f9b9a0330d doc: Remove double occurrence of words.
* doc/guix.texi: substitute 'the the' with 'the'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-01-05 23:55:26 +01:00
Taylan Ulrich Bayırlı/Kammer f07041f7d2 build: pull: Compile .scm files in one process.
* guix/build/pull.scm (call-with-process, report-build-progress)
(p-for-each): Remove.
(build-guix): Load and compile files in one process.
2016-01-05 23:30:30 +01:00
Andreas Enge 7d1f8d4f52 gnu: calibre: Update to 2.48.0.
* gnu/packages/ebook.scm (calibre): Update to 2.48.0.
2016-01-05 22:46:54 +01:00
Efraim Flashner e5f037624e gnu: gettext: Use "modify-phases" syntax.
* gnu/packages/gettext.scm (gettext)[arguments]: Use "modify-phases" syntax.
2016-01-05 21:13:57 +02:00
Efraim Flashner d99861d39d gnu: gettext: Update to 0.19.7.
* gnu/packages/gettext.scm (gettext): Update to 0.19.7.
2016-01-05 21:06:59 +02:00
Efraim Flashner 5a75865f9d gnu: gnutls: Update to 3.4.7.
* gnu/packages/tls.scm (gnutls): Update to 3.4.7.
[source]: Remove gnutls-doc-fix.patch.
[arguments]: Remove delete-prebuilt-unfixed-info-file phase.
[native-inputs]: Remove texinfo.
* gnu-system.am (dist_patch_DATA): Remove gnutls-doc-fix.patch
2016-01-05 21:06:59 +02:00
Efraim Flashner 3ea110b704 gnu: libtasn1: Update to 4.7.
* gnu/packages/tls.scm (libtan1): Update to 4.7.
[native-inputs]: Remove texinfo.
2016-01-05 21:06:59 +02:00
Roel Janssen a7ec569c98 gnu: Add LDC.
* gnu/packages/ldc.scm: New file.
* gnu/packages/patches/ldc-disable-tests.patch: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add ldc.scm.
  (dist_patch_DATA): Add patch file.
2016-01-05 16:24:57 +01:00
Ludovic Courtès 0beb65b450 build-system/gnu: Add 'set-SOURCE-DATE-EPOCH' phase.
This phase is inherited by other build systems, which ensures
'SOURCE_DATE_EPOCH' is always set in practice.

* guix/build/python-build-system.scm (set-SOURCE-DATE-EPOCH): Remove.
(%standard-phases): Don't add it.
* guix/build/gnu-build-system.scm (set-SOURCE-DATE-EPOCH): New
procedure.
(%standard-phases): Add it.
(gnu-build): Remove 'setenv' call for "SOURCE_DATE_EPOCH".
2016-01-05 15:52:42 +01:00
Ludovic Courtès e8e2e18b84 gnu: Read 'C_INCLUDE_PATH' instead of 'CPATH'.
This is a followup to 009b53fd.

* gnu/packages/cmake.scm (cmake)[arguments]: Use (getenv
"C_INCLUDE_PATH") instead of (getenv "CPATH").
* gnu/packages/package-management.scm (rpm)[arguments]: Likewise.
* gnu/packages/video.scm (avidemux)[arguments]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[arguments]: Likewise.
* gnu/packages/cross-base.scm (cross-gcc-arguments): Likewise, and unset
'C_INCLUDE_PATH' and 'CPLUS_INCLUDE_PATH'.
2016-01-05 14:11:54 +01:00
Ludovic Courtès a2ab82db9a gnu: python: Honor 'C_INCLUDE_PATH'.
This is a followup to 009b53fd.

* gnu/packages/patches/python-3-search-paths.patch: Check
'C_INCLUDE_PATH' instead of 'CPATH'.
* gnu/packages/patches/python-2.7-search-paths.patch: Likewise.
2016-01-05 13:13:17 +01:00
Dmitry Bogatov 1075b43737 gnu: Add emacs-undo-tree.
* gnu/packages/emacs.scm (emacs-undo-tree): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-01-05 00:28:42 +01:00
Ludovic Courtès fe542b9762 gnu: emacs: Remove 'info.info'.
* gnu/packages/emacs.scm (emacs)[arguments]: Use 'modify-phases'.  Add
'remove-info.info' phase.
2016-01-05 00:28:42 +01:00
Ludovic Courtès fb74174958 linux-boot: Remove verbose output for module loads.
* gnu/build/linux-boot.scm (boot-system): Leave
'current-module-debugging-port' unchanged.
* gnu/build/linux-modules.scm (load-linux-module*): Update comment about
'mmap'.
2016-01-05 00:28:42 +01:00
Ludovic Courtès be7be9e8dd services: Move /tmp cleanup to a separate service.
* gnu/services.scm (compute-boot-script): Remove /tmp and /var/run
deletion code from here.
(cleanup-gexp): New procedure with /tmp and /var/run deletion code
formerly in 'compute-boot-script'.
(cleanup-service-type): New variable.
* gnu/system.scm (essential-services): Add an instance of
CLEANUP-SERVICE-TYPE.
2016-01-05 00:28:42 +01:00
Ludovic Courtès 94af9daa73 services: boot: Reinstate /tmp and /var/run deletion.
For some time /tmp and /var/run were not being deleted because
'delete-file-recursively' was unbound.

* gnu/services.scm (compute-boot-script)[%modules, modules, compiled]:
New variables.  Use them to augment the module search path.
2016-01-05 00:28:42 +01:00
Ludovic Courtès db5a94445f guix package: Allow multiple '--search' flags.
* guix/scripts/package.scm (find-packages-by-description): Change 'rx'
parameter to 'regexps'.
[matches-all?, matches-one?]: New procedures.
Use them.
(process-query): Collect regexps from all 'search' queries, and pass
them to 'find-packages-by-description'.
* tests/guix-package.sh: Add tests.
* doc/guix.texi (Invoking guix package): Document it.
2016-01-05 00:28:42 +01:00
Ludovic Courtès d28ef43937 ui: Update copyright year in '--version' output.
* guix/ui.scm (show-version-and-exit): Increment copyright year.
2016-01-05 00:28:42 +01:00
Ludovic Courtès 35a6dabcf1 git-download: Correctly implement recursive checkouts.
Previously, the 'git checkout' invocation would remove sub-modules that
had been initialized by 'git clone --recursive'.

* guix/build/git.scm (git-fetch): Never use "git clone --recursive".
Invoke "git submodule update --init --recursive" after "git checkout".
Remove '.git' directories as the last step.
2016-01-05 00:28:42 +01:00
Ricardo Wurmus 4828ff91ff gnu: gtk+: Add patch to support GUIX_GTK3_PATH.
* gnu/packages/patches/gtk3-respect-GUIX_GTK3_PATH: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gtk.scm (gtk+) [source]: Add patch.
[native-search-paths]: Add search path for GUIX_GTK3_PATH.
2016-01-04 16:11:10 -05:00
Ricardo Wurmus 2a6afac905 gnu: gtk+-2: Add patch to support GUIX_GTK2_PATH.
* gnu/packages/patches/gtk2-respect-GUIX_GTK2_PATH: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gtk.scm (gtk+-2) [source]: Add patch.
[native-search-paths]: Add search path for GUIX_GTK2_PATH.
2016-01-04 16:11:10 -05:00
Efraim Flashner 4f2ca23493 gnu: libgcrypt: Update to 1.6.4.
* gnu/packages/gnupg.scm (libgcrypt): Update to 1.6.4.
2016-01-04 22:29:08 +02:00
Manolis Ragkousis 4478dbd58c gnu: libgpg-error: Update to 1.21.
* gnu/packages/gnupg.scm (libgpg-error): Update to 1.21.
2016-01-04 18:23:29 +02:00
Efraim Flashner 82cb8519bc gnu: tzdata: Update to 2015g.
* gnu/packages/base.scm (tzdata): Update to 2015g.
2016-01-04 16:59:13 +02:00
Ricardo Wurmus c2e87caaa6 gnu: julia: Update to 0.4.2.
* gnu/packages/patches/julia-0.3.10-fix-empty-array.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/julia.scm (julia): Update to 0.4.2.
[arguments]: Remove phase "fix-building-with-mcjit-llvm"; replace phase
"patch-include-path" with "fix-include-and-link-paths"; add phase
"hardcode-paths"; add missing make-flags.
[inputs]: Replace "pcre" with "pcre2"; replace "git" with "libgit2"; add
"coreutils"; add "libuv-julia"; add "wget"; add "which".
[native-inputs]: Remove "which".
2016-01-04 11:35:57 +01:00
Ricardo Wurmus 50b40d0709 gnu: Add libuv-julia.
* gnu/packages/julia.scm (libuv-julia): New variable.
2016-01-04 11:35:57 +01:00
Ricardo Wurmus f1e3a8aed2 gnu: utf8proc: Update to 1.3.1.
* gnu/packages/textutils.scm (utf8proc): Update to 1.3.1.
[arguments]: Remove custom "install" phase.
2016-01-04 11:35:57 +01:00
Leo Famulari 77553dff86 gnu: samba: Update to 4.3.3.
Fixes CVE-2015-{3223,5252,5299,5296,8467,5330}.

* gnu/packages/samba.scm (samba): Update to 4.3.3.
2016-01-03 14:59:49 -05:00
Leo Famulari f6cddbefcc gnu: ldb: Update to 1.1.24.
Required for samba-4.3.3 in order to fix CVE-2015-5330 and
CVE-2015-3223.

* gnu/packages/samba.scm (ldb): Update to 1.2.24.
2016-01-03 14:59:49 -05:00
Ludovic Courtès 53334dd6e9 Merge branch 'master' into core-updates 2016-01-03 14:53:03 +01:00
Ludovic Courtès 1575dcd134 gnu: grep: Skip timing-sensitive test.
This avoids failures on loaded machines as seen
at <http://hydra.gnu.org/build/906900/log/raw>.

* gnu/packages/patches/grep-timing-sensitive-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (grep): Use it.
2016-01-03 14:50:29 +01:00