Commit Graph

6198 Commits

Author SHA1 Message Date
Ludovic Courtès 2242ff45fa gexp: Slightly simplify 'lower-inputs'.
* guix/gexp.scm (lower-inputs): Simplify first case by removing the
  'input' binding.
2015-03-29 22:23:33 +02:00
Ludovic Courtès d9ae938f2c gexp: Add 'local-file'.
* guix/gexp.scm (<local-file>): New record type.
  (local-file): New procedure.
  (local-file-compiler): New compiler.
  (gexp->sexp) <struct? thing>: Handle the case where 'lower' returns a
  file name.
  (text-file*): Update docstring.local-file doc
* tests/gexp.scm ("one local file", "gexp->derivation, local-file"): New
  tests.
* doc/guix.texi (G-Expressions): Mention local files early.  Document
  'local-file'.  Update 'text-file*' documentation.
2015-03-29 22:23:33 +02:00
Ludovic Courtès b39fc6f7bc doc: Update gexp wrt. extensibility.
This is a followup to bcb1328.

* doc/guix.texi (G-Expressions): Move paragraph about extensibility
  below.  Remove assumptions that things are either packages or
  derivations.
2015-03-29 22:23:33 +02:00
Eric Bavier 065b795497 gnu: Add tocc.
* gnu/packages/search.scm (libtocc, tocc): New variables.
2015-03-29 14:35:37 -05:00
Eric Bavier b4a9c92467 gnu: Add UnQLite.
* gnu/packages/databases.scm (unqlite): New variable.
2015-03-29 14:35:37 -05:00
Eric Bavier 3bfc99c74c gnu: Add Catch.
* gnu/packages/check.scm (catch-framework): New variable.
2015-03-29 14:28:11 -05:00
Jason Self 2babe98e4e gnu: linux-libre: Update to 3.18.10
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.10.
2015-03-28 19:26:02 -07:00
Taylan Ulrich Bayırlı/Kammer 1c1178cd17 gnu: Add mpv.
* gnu/packages/video.scm (mpv): New variable.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer 6f6c8b6537 gnu: Add vapoursynth.
* gnu/packages/video.scm (vapoursynth): New variable.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer d814be32d5 gnu: Add tesseract-ocr.
* gnu/packages/ocr.scm (tesseract-ocr): New variable.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer 9e617a5419 gnu: Rename (gnu packages ocrad) to (gnu packages ocr).
* gnu/packages/ocrad.scm: Deleted.
* gnu/packages/ocr.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Change ocrad.scm to ocr.scm.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer 894e2cba52 gnu: Add leptonica.
* gnu/packages/image.scm (leptonica): New variable.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer 060ad3def4 gnu: Add libwebp.
* gnu/packages/image.scm (libwebp): New variable.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer 9b5db9be7f gnu: freeglut: Add mesa to propagated inputs.
* gnu/packages/gl.scm (freeglut): Add mesa to propagated inputs.
2015-03-27 19:39:30 +01:00
Taylan Ulrich Bayırlı/Kammer ee3b55ea6d gnu: Add libva.
* gnu/packages/video.scm (libva): New variable.
2015-03-27 19:39:30 +01:00
Taylan Ulrich Bayırlı/Kammer 122c87ead0 Fix remaining references to "substitute-binary".
* nix/nix-daemon/guix-daemon.cc (main): Change substitute-binary to
  substitute.
* po/guix/POTFILES.in: Likewise.
* tests/guix-daemon.sh: Likewise.
* tests/guix-system.sh: Likewise.
2015-03-26 23:54:59 +01:00
Tomáš Čech 24066017a9 gnu: wpa-supplicant: Install DBUS access configuration.
* gnu/packages/admin.scm (wpa-supplicant): Install DBUS configuration file.
2015-03-26 18:05:37 +01:00
Ludovic Courtès e1ac691dfa gnu: global: Update to 6.4.
* gnu/packages/code.scm (global): Update to 6.4.
2015-03-26 16:40:54 +01:00
Ludovic Courtès 9355498dd7 gnu: tor: Update to 0.2.5.11.
* gnu/packages/tor.scm (tor): Update to 0.2.5.11.
2015-03-26 16:40:54 +01:00
Ludovic Courtès 0afc0afede gnu: nano: Update to 2.4.0.
* gnu/packages/nano.scm (nano): Update to 2.4.0.
2015-03-26 16:40:54 +01:00
Alex Kost 52b76622e4 services: guix-service: Add service documentation.
* gnu/services/base.scm (guix-service): Add 'documentation' field to the
  service.
2015-03-26 15:49:03 +03:00
Alex Kost aa4ed92314 services: Add 'lirc-service'.
* gnu/services/lirc.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi (Various Services): New node.  Document 'lirc-service'.
2015-03-26 15:47:40 +03:00
Alex Kost e768277168 gnu: Add LIRC.
* gnu/packages/lirc.scm: New file.
* gnu/packages/patches/lirc-localstatedir.patch: New file.
* gnu-system.am: Add them.
2015-03-26 15:47:39 +03:00
Ricardo Wurmus aad6f5bcda gnu: Add IBus.
* gnu/packages/ibus.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-03-26 09:07:44 +01:00
Ricardo Wurmus af5b817ea9 gnu: openblas: build for all supported CPUs.
* gnu/packages/maths.scm (openblas)[arguments]: Add "DYNAMIC_ARCH=1" to
  make flags.  Remove "#:substitutable? #f".
2015-03-26 07:54:55 +01:00
Mark H Weaver e4160d0585 gnu: openssh: Update to 6.8p1.
* gnu/packages/ssh.scm (openssh): Update to 6.8p1.  Make 'patch-tests'
  substitution more robust.
2015-03-25 23:10:46 -04:00
宋文武 a31a6d22d6 gnu: Add gnome-mines.
* gnu/packages/gnome.scm (gnome-mines): New variable.
2015-03-26 07:30:59 +08:00
Mark H Weaver 4c153a9125 gnu: icecat: Apply fixes for CVE-2015-{0817,0818} and other selected bugs.
* 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-1144991.patch,
  gnu/packages/patches/icecat-bug-1145870.patch,
  gnu/packages/patches/icecat-bug-1146339.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/gnuzilla.scm (icecat): Add patches.
2015-03-25 08:24:10 -04:00
Ludovic Courtès 614c218842 substitute: Rename cache directory from "substitute-binary" to "substitute".
* guix/scripts/substitute.scm (%narinfo-cache-directory): Change
  "substitute-binary" to "substitute".
* tests/store.scm ("substitute query"): Likewise.
* tests/substitute.scm (call-with-narinfo): Likewise.
2015-03-25 10:46:22 +01:00
Ludovic Courtès 2c74fde00e Rename 'guix substitute-binary' to 'guix substitute'.
* guix/scripts/substitute-binary.scm: Rename to...
* guix/scripts/substitute.scm: ... this.  Adjust module name, entry
  point, comments, and help string accordingly.
* nix/scripts/substitute-binary.in: Rename to...
* nix/scripts/substitute.in: ... this.
* pre-inst-env.in (NIX_SUBSTITUTERS): Adjust accordingly.
* tests/substitute-binary.scm: Rename to...
* tests/substitute.scm: ... this.  Adjust references to (guix scripts
  substitute) accordingly.
* guix/ui.scm (show-guix-help)[internal?]: Change "substitute-binary" to
  "substitute".
* Makefile.am (MODULES, SCM_TESTS): Adjust to file renames.
* daemon.am (nodist_pkglibexec_SCRIPTS): Likewise.
* config-daemon.ac: Likewise.
* guix/tests.scm (call-with-derivation-narinfo): Adjust comments and
  docstring.
2015-03-25 10:46:22 +01:00
Ludovic Courtès c3a450fb49 derivations: 'substitution-oracle' now ignores sub-trees that are valid.
Before that, "guix build qt", when only qt itself is missing, would lead
'substitution-oracle' to call 'substitutable-paths' with 318 items.
Now, this is down to 6 items, because it doesn't ask about prerequisites
that are already valid.

* guix/derivations.scm (substitution-oracle)[valid-input?,
  dependencies]: New procedures.
  Use 'dependencies' and remove call to 'remove'.
2015-03-25 10:46:22 +01:00
Ludovic Courtès 3681db5d2c derivations: Add a 'cut?' parameter to 'derivation-prerequisites'.
* guix/derivations.scm (valid-derivation-input?): New procedure.
  (derivation-prerequisites): Add 'cut?' parameter and honor it.
* tests/derivations.scm ("derivation-prerequisites and
  derivation-input-is-valid?"): New test.
2015-03-25 10:46:22 +01:00
Mark H Weaver 1f43445745 gnu: python: Do not use patchelf.
* gnu/packages/python.scm (python-2): Add rpath for lib directory of output to
  LDFLAGS.  Remove 'patchelf' from inputs.  Remove #:modules and
  #:imported-modules from arguments.  Remove 'add-lib-to-runpath' phase.
  (python): Do not add #:modules to inherited package arguments.
2015-03-24 19:30:33 -04:00
Ludovic Courtès c7d1d88f6c derivations: Don't invoke the substituter when an item is already in store.
Fixes <http://bugs.gnu.org/20188>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/derivations.scm (substitution-oracle): Add 'valid?' procedure.
  Remove 'valid?' items from PATHS.
2015-03-24 23:22:23 +01:00
Andreas Enge b655b2154c gnu: calibre: Add a patch to avoid automatic checking for updates.
* gnu/packages/patches/calibre-no-updates-dialog.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
* gnu/packages/ebook.scm (calibre): Use patch.
2015-03-24 20:35:37 +01:00
Ricardo Wurmus 2c16316ef4 gnu: Add pbtranscript-tofu.
* gnu/packages/bioinformatics.scm (pbtranscript-tofu): New variable.
2015-03-24 16:59:47 +01:00
Ricardo Wurmus ad641d53de gnu: Add python2-bx-python.
* gnu/packages/bioinformatics.scm (python2-bx-python): New variable.
2015-03-24 15:00:09 +01:00
Ricardo Wurmus 19ee920144 gnu: Add python2-pbcore.
* gnu/packages/bioinformatics.scm (python2-pbcore): New variable.
2015-03-24 14:58:47 +01:00
Ludovic Courtès e2e21359c5 gnu: guix: Update snapshot.
* gnu/packages/package-management.scm (guix-devel): Update.
2015-03-23 23:13:18 +01:00
Ludovic Courtès 9586011d08 gnu: geiser: Make description more concise and less personal.
* gnu/packages/emacs.scm (geiser)[description]: Tweak.
2015-03-23 22:28:49 +01:00
Ludovic Courtès 1f8ad12a9c gnu: geiser: Update to 0.7.
* gnu/packages/emacs.scm (geiser): Update to 0.7.
2015-03-23 22:28:49 +01:00
Ludovic Courtès cb043c2b13 substitute-binary: Remove thread-safe 'regexp-exec' wrapper.
* guix/scripts/substitute-binary.scm: Remove 'regexp-exec' setting.
2015-03-23 22:28:49 +01:00
Ludovic Courtès d3a652037e substitute-binary: Pipeline HTTP requests instead of using threads.
* guix/scripts/substitute-binary.scm (fetch-narinfo, %lookup-threads,
  n-par-map*): Remove.
  (narinfo-cache-file, cached-narinfo, cache-narinfo!, narinfo-request,
  http-multiple-get, read-to-eof, fetch-narinfos, lookup-narinfos,
  narinfo-from-file): New procedures.
  (lookup-narinfo): Rewrite in terms of 'lookup-narinfos'.
  (guix-substitute-binary): Use 'lookup-narinfos' instead of
  'lookup-narinfo'.
2015-03-23 22:28:49 +01:00
Ludovic Courtès 0561e9ae16 substitute-binary: Allow callers to specify the size of a narinfo.
* guix/scripts/substitute-binary.scm (read-narinfo): Add #:size
  parameter and honor it.
2015-03-23 22:28:49 +01:00
Mark H Weaver 87db65507e Remove unused patchelf inputs.
* gnu/packages/maths.scm (lapack, gmsh), gnu/packages/ssh.scm (libssh): Remove
  unused patchelf from native-inputs.
2015-03-23 13:30:06 -04:00
Ludovic Courtès 69383a4798 gnu: bigloo: Use Emacs with X11 support.
* gnu/packages/scheme.scm (bigloo)[inputs]: Change EMACS-NO-X to EMACS.
2015-03-23 15:18:06 +01:00
宋文武 07780c714e gnu: sdl: Explicitly use mesa as OpenGL driver.
* gnu/packages/sdl.scm (sdl)[arguments]<#:configure-flags>: Add
  'LDFLAGS=-lGL'.
2015-03-23 22:06:57 +08:00
宋文武 83bb3a3ee4 gnu: sdl: Allow dlopen for OpenGL.
Fixes a regression introduced in 666aa99.
Reported by Felipe López and David Thompson.

* gnu/packages/sdl.scm (sdl)[inputs]: Add glu.
  [arguments]<#:configure-flags>: Replace '--disable-sdl-dlopen' with
  '--disable-alsa-shared --disable-pulseaudio-shared --disable-x11-shared'.
2015-03-23 22:06:57 +08:00
Ricardo Wurmus ef5cbf9bae gnu: Add python-h5py and python2-h5py.
* gnu/packages/python.scm (python-h5py, python2-h5py): New variables.
2015-03-23 10:56:13 +01:00
Ricardo Wurmus aa5fac334f gnu: Add Julia.
* gnu/packages/julia.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-03-23 10:38:07 +01:00