aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* monads: Move '%store-monad' and related procedures where they belong.Ludovic Courtès2015-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This turns (guix monads) into a generic module for monads, and moves the store monad and related monadic procedures in their corresponding module. * guix/monads.scm (store-return, store-bind, %store-monad, store-lift, text-file, interned-file, package-file, package->derivation, package->cross-derivation, origin->derivation, imported-modules, compiled, modules, built-derivations, run-with-store): Move to... * guix/store.scm (store-return, store-bind, %store-monad, store-lift, text-file, interned-file): ... here. (%guile-for-build): New variable. (run-with-store): Moved from monads.scm. Remove default value for #:guile-for-build. * guix/packages.scm (default-guile): Export. (set-guile-for-build): New procedure. (package-file, package->derivation, package->cross-derivation, origin->derivation): Moved from monads.scm. * guix/derivations.scm (%guile-for-build): Remove. (imported-modules): Rename to... (%imported-modules): ... this. (compiled-modules): Rename to... (%compiled-modules): ... this. (built-derivations, imported-modules, compiled-modules): New procedures. * gnu/services/avahi.scm, gnu/services/base.scm, gnu/services/dbus.scm, gnu/services/dmd.scm, gnu/services/networking.scm, gnu/services/ssh.scm, gnu/services/xorg.scm, gnu/system/install.scm, gnu/system/linux-initrd.scm, gnu/system/shadow.scm, guix/download.scm, guix/gexp.scm, guix/git-download.scm, guix/profiles.scm, guix/svn-download.scm, tests/monads.scm: Adjust imports accordingly. * guix/monad-repl.scm (default-guile-derivation): New procedure. (store-monad-language, run-in-store): Use it. * build-aux/hydra/gnu-system.scm (qemu-jobs): Add explicit 'set-guile-for-build' call. * guix/scripts/archive.scm (derivation-from-expression): Likewise. * guix/scripts/build.scm (options/resolve-packages): Likewise. * guix/scripts/environment.scm (guix-environment): Likewise. * guix/scripts/system.scm (guix-system): Likewise. * doc/guix.texi (The Store Monad): Adjust module names accordingly.
* doc: Move 'text-file*' to the gexp section.Ludovic Courtès2015-01-14
| | | | | | | This is a follow-up to commit 462a3fa. * doc/guix.texi (The Store Monad): Move 'text-file*'... (G-Expressions): ... to here.
* gnu: Add zerofree.Ludovic Courtès2015-01-13
| | | | * gnu/packages/linux.scm (zerofree): New variable.
* gnu: e2fsprogs: Install libext2fs.Ludovic Courtès2015-01-13
| | | | | | * gnu/packages/linux.scm (e2fsprogs)[source]: Add 'snippet'. [arguments]: Add --enable-elf-shlibs to #:configure-flags. Add #:make-flags.
* gnu: Add GLEW.Ludovic Courtès2015-01-13
| | | | * gnu/packages/gl.scm (glew): New variable.
* services: user-processes: Really honor the grace delay.Ludovic Courtès2015-01-13
| | | | | * gnu/services/base.scm (user-processes-service): Change #:grace-delay default value to 4. Define 'sleep*' and use it.
* system: Add iw to '%base-packages'.Ludovic Courtès2015-01-13
| | | | * gnu/system.scm (%base-packages): Add IW.
* gnu: wireless-tools: Describe it as deprecated.Ludovic Courtès2015-01-13
| | | | | * gnu/packages/linux.scm (wireless-tools)[description]: Explain that it is deprecated in favor of 'iw'.
* gnu: guix: Update snapshot.Ludovic Courtès2015-01-13
| | | | | * gnu/packages/package-management.scm (guix-devel): Update snapshot. Remove now-unneeded sub-module stuff in the 'bootstrap' phase.
* gnu: Add QPDF.Ricardo Wurmus2015-01-13
| | | | * gnu/packages/pdf.scm (qpdf): New variable.
* tests: Properly synchronize threads in the 'home-page' lint tests.Ludovic Courtès2015-01-13
| | | | | | | | | * tests/lint.scm (%http-server-lock, %http-server-ready): New variables. (http-open): New procedure. (stub-http-server): Use it. (call-with-http-server): Wrap body in 'with-mutex'. Call 'wait-condition-variable' after 'make-thread'.
* doc: Change some occurrences of "the GNU system" to "Guixotic".Ludovic Courtès2015-01-13
| | | | | | | * doc/guix.texi (GNU Distribution): Explain what "Guixotic" is. (System Installation): Replace "the GNU system" by "Guixotic". (System Configuration): Likewise. (Invoking guix system): Likewise.
* build/glib-or-gtk-build-system: Fix 'generate-icon-cache'.Federico Beffa2015-01-13
| | | | | | | Reported by Mark H Weaver <mhw@netris.org> * guix/build/glib-or-gtk-build-system.scm (generate-icon-cache): Add check for existence of icons directory.
* gnu: Add iw.Mark H Weaver2015-01-12
| | | | * gnu/packages/linux.scm (iw): New variable.
* gnu: libnl: Update to 3.2.25.Mark H Weaver2015-01-12
| | | | * gnu/packages/linux.scm (libnl): Update to 3.2.25.
* monads: Remove 'derivation-expression'.Ludovic Courtès2015-01-12
| | | | | | * guix/monads.scm (lower-inputs, derivation-expression): Remove. * tests/monads.scm (derivation-expression, "mlet* + derivation-expression"): Remove.
* monads: Rewrite 'text-file*' using gexps.Ludovic Courtès2015-01-12
| | | | | | | * guix/monads.scm (text-file*): Move to... * guix/gexp.scm (text-file*): ... here. Rewrite using gexps. * tests/monads.scm ("text-file*"): Move to... * tests/gexp.scm ("text-file*"): ... here.
* services: user-processes: Write debugging messages to the output port.Ludovic Courtès2015-01-12
| | | | | * gnu/services/base.scm (user-processes-service): Write "sending all processes..." message to the current output port, not to /dev/console.
* gnu: Move xlockmore to (gnu packages xdisorg).Ludovic Courtès2015-01-12
| | | | | | | * gnu/packages/xlockmore.scm: Remove. * gnu/packages/xdisorg.scm (xlockmore): New variable, from xlockmore.scm. * gnu-system.am (GNU_SYSTEM_MODULES): Remove xlockmore.scm.
* gnu: xlockmore: Update to 5.45.Ludovic Courtès2015-01-12
| | | | | * gnu/packages/xlockmore.scm (xlockmore): Update to 5.45. [arguments]: Add #:configure-flags.
* gnu: evince: Add inputs.Federico Beffa2015-01-12
| | | | | | * gnu/packages/gnome.scm (evince): Add 'dconf' and 'libcanberra' inputs. Remove custom phase 'set-mime-search-path which is now handled by glib-or-gtk-build-system.
* gnu: libcanberra: Add default sounds support.Federico Beffa2015-01-12
| | | | | | | * gnu/packages/libcanberra.scm (libcanberra): Add input 'sound-theme-freedesktop'. Add "libcanberra-sound-theme-freedesktop.patch" and related phase 'patch-default-sounds-directory to patch the default sounds directory.
* gnu: dconf: Add dconf.Federico Beffa2015-01-12
| | | | * gnu/packages/gnome.scm (dconf): New variable.
* guix: build/glib-or-gtk-build-system: Add support for GIO and XDG theming.Federico Beffa2015-01-12
| | | | | | | | | | | | | | | | | * guix/build/glib-or-gtk-build-system.scm (data-directories): Rename 'schemas-directories' to 'data-directories' and add support for XDG theming data. * guix/build/glib-or-gtk-build-system.scm (gio-module-directories): New function. * guix/build/glib-or-gtk-build-system.scm (wrap-all-programs): Update names to reflect that we are dealing with more types of data and not only with schemas. Add handling of GIO modules. * guix/build-system/glib-or-gtk.scm (lower): Import the 'bin' output of GLib instead of 'out'. This was an error since we need the program 'glib-compile-schemas'. Update the description.
* gnu: ffmpeg: Update to 2.5.3Jason Self2015-01-12
| | | | * gnu/packages/video.scm (ffmpeg): Update to version 2.5.3.
* gnu: ffmpeg-2.2: Update to 2.2.11Jason Self2015-01-12
| | | | * gnu/packages/video.scm (ffmpeg-2.2): Update to version 2.2.11.
* gnu: gp2c: Update to 0.0.9pl2.Andreas Enge2015-01-12
| | | | * gnu/packages/algebra.scm (gp2c): Update to 0.0.9pl2.
* gnu: pari-gp: Update to 2.7.2.Andreas Enge2015-01-12
| | | | * gnu/packages/algebra.scm (pari-gp): Update to 2.7.2.
* derivations: Use a set for 'substitution-oracle'.Ludovic Courtès2015-01-11
| | | | * guix/derivations.scm (substitution-oracle): Use sets instead of lists.
* derivations: Use sets for 'derivations-prerequisites'.Ludovic Courtès2015-01-11
| | | | | | | | This yields a 46% improvement in 'derivation-prerequisites' invocations on the Emacs derivation. * guix/derivations.scm (derivation-prerequisites): Add 'input-set' variable, and use it in iterations.
* Add (guix sets).Ludovic Courtès2015-01-11
| | | | | * guix/sets.scm, tests/sets.scm: New files.sets * Makefile.am (MODULES, SCM_TESTS): Add them.
* gnu: qt: Add more inputs.宋文武2015-01-11
| | | | | | | * gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor, libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss, pcre, sqlite, eudev to 'inputs'. Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
* gnu: qt: Update to 5.4.0.宋文武2015-01-11
| | | | | * gnu/packages/qt.scm (qt): Update to 5.4.0. [origin]: Add snippet.
* gnu: Add ninja.宋文武2015-01-11
| | | | | * gnu/packages/ninja.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu: Add nss.宋文武2015-01-11
| | | | | | * gnu/packages/patches/nss-pkgconfig.patch: New file. * gnu-system.scm (dist_patch_DATA): Add it. * gnu/packages/gnuzilla.scm (nss): New variable.
* gnu: Move mozjs and nspr to (gnu packages gnuzilla).宋文武2015-01-11
| | | | | * gnu/packages/polkit.scm (mozjs, nspr): Move to... * gnu/packages/gnuzilla.scm (mozjs, nspr): ... here. New variables.
* gnu: linux-libre: Update to 3.18.2Jason Self2015-01-09
| | | | * gnu/packages/linux.scm (linux-libre): Update to version 3.18.2.
* derivations: Add 'substitution-oracle' and use it.Ludovic Courtès2015-01-10
| | | | | | | | | | | | | | | | | | This makes 'guix environment PACKAGE' significantly faster when substitutes are enabled. Before that, it would lead to many invocations of 'guix substitute-binary', one per 'derivation-prerequisites-to-build' call. Now, all these are replaced by a single invocation. * guix/derivations.scm (derivation-output-paths, substitution-oracle): New procedures. (derivation-prerequisites-to-build): Replace #:use-substitutes? with #:substitutable?. Remove the local 'derivation-output-paths' and 'substitutable?'. * guix/ui.scm (show-what-to-build): Add 'substitutable?'. Pass it to 'derivation-prerequisites-to-build'. [built-or-substitutable?]: Use it instead of 'has-substitutes?'. * tests/derivations.scm ("derivation-prerequisites-to-build and substitutes"): Use #:substitutable? instead of #:use-substitutes?.
* derivations: Add 'derivation-output-names'.Ludovic Courtès2015-01-09
| | | | | | | * guix/derivations.scm (derivation-output-names): New procedure. (derivation-prerequisites-to-build): Use it for #:outputs. (map-derivation): Likewise. * tests/derivations.scm ("derivation-output-names"): New test.
* nls: Update 'eo' translation.Ludovic Courtès2015-01-09
|
* import: Add CPAN importer.Eric Bavier2015-01-09
| | | | | | | | | | * guix/import/cpan.scm, guix/scripts/import/cpan.scm, tests/cpan.scm: New files. * Makefile.am (MODULE)[HAVE_GUILE_JSON]: Add them. * guix/scripts/import.scm (importers): Add cpan. * doc/guix.texi (Requirements): Mention `guix import cpan` as a user of guile-json. (Invoking guix import): Document new `guix import cpan` command.
* tests: import: Factorize utility function.Eric Bavier2015-01-09
| | | | | * tests/pypi.scm (mock): Move this... * guix/tests.scm: to here.
* import: Factorize utility functions.Eric Bavier2015-01-09
| | | | | | | | | | | * guix/import/pypi.scm (hash-table->alist, flatten, assoc-ref*, url-fetch, json-fetch): Pull procedures from here into... * guix/import/utils.scm: Here and... * guix/import/json.scm: Here. New file. * Makefile.am (MODULE)[HAVE_GUILE_JSON]: Add it. * guix/import/gnu.scm (file-sha256): Move from here to... * guix/hash.scm: Here. * tests/pypi.scm (pypi->guix-package): Update mock module reference.
* import: gnu: Propagate the key-download argument.Eric Bavier2015-01-09
| | | | | * guix/import/gnu.scm (gnu->guix-package): Pass the key-download argument on to gnu-package->sexp.
* gnu: poppler: build with openjpeg and lcmsRicardo Wurmus2015-01-09
| | | | * gnu/packages/pdf.scm (poppler): build poppler with openjpeg 1.5 and lcms.
* gnu: openjpeg: Update to 2.0.1.Ricardo Wurmus2015-01-09
| | | | * gnu/packages/image.scm (openjpeg): Update to 2.0.1.
* gnu: Add openjpeg-1.Ricardo Wurmus2015-01-09
| | | | * gnu/packages/image.scm (openjpeg-1): New variable.
* gnu: openjpeg: update home page URL.Ricardo Wurmus2015-01-09
| | | | * gnu/packages/image.scm (openjpeg)[home-page]: Update URL.
* substitute-binary: Micro-optimize 'narinfo-sha256'.Ludovic Courtès2015-01-09
| | | | | | | | * guix/scripts/substitute-binary.scm (narinfo-signature->canonical-sexp): Change "~a" to "~s" in error message. (%signature-line-rx): Remove. (narinfo-sha256): Use 'string-contains' instead of 'regexp-exec', and 'string-take' instead of 'match:substring'.
* records: Optimize 'recutils->alist' by avoiding regexps.Ludovic Courtès2015-01-09
| | | | | | | | * guix/records.scm (%recutils-field-rx, %recutils-comment-rx, %recutils-plus-rx): Remove. (%recutils-field-charset): New variable. (recutils->alist): Adjust to use tests (string-ref line 0) instead of regexps.