summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-23packages: Mark the `arguments' field of <package> as thunked.Ludovic Courtès
* guix/packages.scm (<package>): Mark `arguments' as thunked. (package-derivation): Adjust accordingly. Parameterize %CURRENT-SYSTEM to SYSTEM, so that arguments can refer to it. * guix/build-system/gnu.scm (package-with-explicit-inputs): Expect `package-arguments' to always return a list, and return a list. (package-with-extra-configure-variable): Likewise. (static-package): Likewise. * gnu/packages/base.scm (patch, findutils, gcc-4.7, binutils-boot0, gcc-boot0, glibc-final-with-bootstrap-bash, cross-gcc-wrapper, static-bash-for-glibc, binutils-final, gcc-final): Change `arguments' from a lambda to a list, and use (%current-system) as needed. (nix-system->gnu-triplet, boot-triplet): Have the first argument default to (%current-system). * gnu/packages/bootstrap.scm (glibc-dynamic-linker): Have `system' default to (%current-system). (%bootstrap-gcc): Change `arguments' to a list. * gnu/packages/gawk.scm (gawk): Likewise. * gnu/packages/m4.scm (m4): Likewise. * gnu/packages/make-bootstrap.scm (%glibc-for-bootstrap): Likewise, and expect `package-arguments' to return a list. (%static-inputs, %gcc-static, tarball-package): Likewise. * gnu/packages/ncurses.scm (ncurses): Likewise.
2013-01-23guix-build: Fix typo.Ludovic Courtès
* guix-build.in (guix-build)[find-package]: Use `x', not `_', to avoid confusion with `gettext'.
2013-01-23gnu: Remove unnecessary closures around `arguments' value.Ludovic Courtès
* gnu/packages/algebra.scm (pari-gp): Remove closure around the value of `arguments'. * gnu/packages/bdb.scm (bdb): Likewise. * gnu/packages/mit-krb5.scm (mit-krb5): Likewise. * gnu/packages/openssl.scm (openssl): Likewise. * gnu/packages/perl.scm (perl): Likewise.
2013-01-23define-record-type*: Add the `thunked' field definition keyword.Ludovic Courtès
* guix/utils.scm (define-record-type*)[make-syntactic-constructor]: Add a `thunked' parameter. (thunked-field?, field-bindings): New procedures. Use the latter when generating `letrec*' bindings. [thunked-field?, thunked-field-accessor-name, field-spec->srfi-9, thunked-field-accessor-name]: New procedures. Use them when generating the `define-record-type' form, and to generated thunk field accessors, along call to `make-syntactic-constructor' with the new argument. * tests/utils.scm ("define-record-type* & thunked", "define-record-type* & thunked & default", "define-record-type* & thunked & inherited"): New tests.
2013-01-23doc: Clarify that `guix-build' really is for developers.Ludovic Courtès
* doc/guix.texi (Invoking guix-build): Make it clear that `guix-build' doesn't access the user's profile, and add cross-ref to `guix-package'. Suggested by Nikita Karetnikov <nikita@karetnikov.org>.
2013-01-23gnu: Add fontconfig.Andreas Enge
* gnu/packages/freetype.scm (fontconfig): New variable.
2013-01-23gnu: libjpeg: Correct name of libjpeg-8 package to allow installation.Andreas Enge
* gnu/packages/libjpeg (libjpeg-8): Switch name field to "libjpeg".
2013-01-23Update `THANKS'.Ludovic Courtès
2013-01-23doc: Improve wording and fix typos in "Features".Ludovic Courtès
* doc/guix.texi (Features): Fix typos, and rephrase according to the suggestions of Alex Sassmannshausen <alex.sassmannshausen@gmail.com>.
2013-01-22gnu: ghostscript: Build and install shared library and header files.Andreas Enge
* gnu/packages/ghostscript (ghostscript): Extend build and install phases.
2013-01-22guix-package: Fix `--roll-back' when `--profile' is not passed.Ludovic Courtès
* guix-package.in (roll-back): Fix file name of PREVIOUS-PROFILE, which could end up containing the dirname twice. Reported by Nikita and Andreas. * tests/guix-package.sh: Add test.
2013-01-22guix-build: Allow version-qualified package names.Ludovic Courtès
* guix-build.in (guix-build)[find-package]: New procedure. Use it instead of using `find-packages-by-name' directly. Suggested by Andreas Enge <andreas@enge.fr>. * tests/guix-build.sh: Add tests. * doc/guix.texi (Invoking guix-build): Add `coreutils-8.20' as an example. Fix guile-1.8 example.
2013-01-22Update `ROADMAP'.Ludovic Courtès
2013-01-22gnu: automake: Adjust test suite to lack of /bin/sh.Ludovic Courtès
* gnu/packages/autotools.scm (autoconf-wrapper): New variable. (automake): Use AUTOCONF-WRAPPER instead of AUTOCONF. Add `automake-skip-amhello-tests.patch' as an input. Add #:patches and #:phases arguments. * gnu/packages/patches/automake-skip-amhello-tests.patch: New file. * Makefile.am (dist_patch_DATA): Add it.
2013-01-22packages: Remove redundant test for inputs-as-procedures.Ludovic Courtès
* guix/packages.scm (package-derivation)[expand-input]: Remove redundant test when the input is a procedure.
2013-01-22doc: Add "The Perfect Setup" in 'HACKING'.Ludovic Courtès
* HACKING (The Perfect Setup): New section.
2013-01-22gnu: Add Geiser.Ludovic Courtès
* gnu/packages/emacs.scm (geiser): New variable.
2013-01-22gnu: gnutls: Remove unneeded import.Ludovic Courtès
* gnu/packages/gnutls.scm: Remove import of (gnu packages base).
2013-01-21gnu: Add groff.Andreas Enge
* gnu/packages/groff.scm: New file. * Makefile.am (MODULES): Add it.
2013-01-21gnu: Add psutils.Andreas Enge
* gnu/packages/ghostscript.scm (psutils): New variable.
2013-01-21gnu: Add netpbm.Andreas Enge
* gnu/packages/netpbm.scm: New file. * Makefile.am (MODULES): Add it.
2013-01-21gnu: Add missing libevent patch.Ludovic Courtès
* gnu/packages/patches/libevent-dns-tests.patch: New file. * Makefile.am (dist_patch_DATA): Add it.
2013-01-21Update 'HACKING'.Nikita Karetnikov
* HACKING (When the platform is supported by Nixpkgs): Update the example.
2013-01-20gnu: Add Tor.Ludovic Courtès
* gnu/packages/tor.scm: New file. * Makefile.am (MODULES): Add it.
2013-01-20Augment `.gitignore'.Ludovic Courtès
2013-01-20Update `NEWS'.Ludovic Courtès
* NEWS: Update.
2013-01-20gnu: Add libevent.Ludovic Courtès
* gnu/packages/libevent.scm: New file. * Makefile.am (MODULES): Add it.
2013-01-20download: Add HTTPS support.Ludovic Courtès
* guix/build/download.scm: Autoload (gnutls). (tls-wrap): New procedure. (open-connection-for-uri): Add support for `https'. Wrap the socket with `tls-wrap' in that case. (url-fetch): Add `https'. * guix/download.scm (gnutls-derivation): New procedure. (url-fetch)[need-gnutls?]: New variable. Call `gnutls-derivation' when NEED-GNUTLS? is true, and add its output to the `GUILE_LOAD_PATH' env. var. in that case.
2013-01-20packages: Have `package-derivation' return a <derivation> as a second value.Ludovic Courtès
* guix/packages.scm (cache): Change the `drv' argument to `thunk'. Memoize all the return values of THUNK. (cached-derivation): Remove. (cached): New macro. (package-derivation): Use `cached' instead of `(or (cached-derivation) …)'. * doc/guix.texi (Defining Packages): Update accordingly.
2013-01-20gnu: mit-krb5: Patch and enable tests.Andreas Enge
* gnu/packages/mit-krb5.scm (mit-krb5): Enable patched tests.
2013-01-20Update `THANKS'.Ludovic Courtès
2013-01-20doc: Run `useradd -g guix-builder -G guix-builder'.Ludovic Courtès
* doc/guix.texi (Setting Up the Daemon): Add `-G guix-builder' when invoking `useradd'. Suggested by Aleix Conchillo Flaqué <aconchillo@gmail.com>.
2013-01-20gnu: screen: correct license to gpl2+Andreas Enge
* gnu/packages/screen.scm (screen): correct license field
2013-01-20Add GNU Screen.Cyril Roelandt
* gnu/packages/screen.scm: New file. * Makefile.am (MODULES): Add it.
2013-01-19build: Use "nix-instantiate" as the default name for that program.Ludovic Courtès
* configure.ac: Have `NIX_INSTANTIATE' default to `nix-instantiate'.
2013-01-19gnu: lout: Add missing dependency on Ghostscript.Ludovic Courtès
* gnu/packages/lout.scm (lout): Add GHOSTSCRIPT as an input. Use a mirror:// URL.
2013-01-19gnu: freetype: Avoid license/package name clash.Ludovic Courtès
* gnu/packages/freetype.scm: Use a renamer for (guix licenses), to avoid a name clash.
2013-01-19distro: glib: Run the test suite; add DBus.Ludovic Courtès
* distro/packages/glib.scm: Rename to... * gnu/packages/glib.scm: ... this. Update module declaration accordingly. (dbus): New variable. (glib): Change version number to 2.34.3, and adjust URL accordingly. Add a "doc" output. Add #:configure-flags, #:patches, and #:phases arguments. Add DBUS as an input, as well a three patches. * Makefile.am (MODULES): Adjust to file renaming. (dist_patch_DATA): Add `glib-tests-timezone.patch', `glib-tests-homedir.patch', and `glib-tests-desktop.patch'.
2013-01-19distro: Add GLib.Nikita Karetnikov
* distro/packages/glib.scm: New file. * Makefile.am (MODULES): Add it.
2013-01-19gnu: libtiff: Add zlib support.Andreas Enge
* gnu/packages/libtiff.scm (libtiff): Add input zlib.
2013-01-19gnu: Add libxml2.Andreas Enge
* gnu/packages/xml.scm (libxml2): New variable.
2013-01-19gnu: Add GNU Ghostscript and its dependencies libpaper and lcms.Andreas Enge
* gnu/packages/ghostscrip.scm: New file. * Makefile.am (MODULES): Add it.
2013-01-19gnu: Add Freetype.Andreas Enge
licenses: Add freetype license. * gnu/packages/freetype.scm: New file. * guix/licenses.scm (freetype): New variable. * Makefile.am (MODULES): Add freetype.scm.
2013-01-19gnu: ddrescue: Fix 'synopsis' and 'description'.Nikita Karetnikov
* gnu/packages/ddrescue.scm (ddrescue): Fix 'synopsis' and 'description'.
2013-01-19gnu: Add GNU Speex.Nikita Karetnikov
* gnu/packages/oggvorbis.scm (speex): Add it. (vorbis-tools): Add 'speex' to 'inputs'.
2013-01-18gnu: Amended previous patch.Andreas Enge
* Makefile.am (MODULES): Add libpng.scm.
2013-01-18gnu: Add libpng.Andreas Enge
* gnu/packages/libpng.scm: New file. * Makefile.am (MODULES): Add it.
2013-01-18licenses: Add 'vim'.Andreas Enge
* guix/licenses.scm (vim): New variable.
2013-01-18gnu: Add libogg, libvorbis and vorbis-tools.Andreas Enge
* gnu/packages/oggvorbis.scm: New file. * Makefile.am (MODULES): Add it.
2013-01-18distro: tcl: Make a `tclsh' symlink.Ludovic Courtès
* gnu/packages/tcl.scm (tcl): Add a `tclsh' symlink.