summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-12nar: Add support for symlinks.Ludovic Courtès
* guix/nar.scm (write-file): Add case for type `symlink'. (restore-file): Likewise. * tests/nar.scm (random-file-size, make-file-tree, delete-file-tree, with-file-tree, file-tree-equal?, make-random-bytevector, populate-file): New procedures. (%test-dir): New variable. ("write-file + restore-file"): Use `%test-dir' and `file-tree-equal?'. ("write-file + restore-file with symlinks"): New test.
2013-04-12ui: Add a `warning' macro.Ludovic Courtès
* guix/ui.scm (program-name, guix-warning-port): New variables. (warning): New macro. (guix-main): Parametrize PROGRAM-NAME. * guix/scripts/build.scm, guix/scripts/download.scm, guix/scripts/gc.scm, guix/scripts/package.scm: Adjust to use `leave' and `warning' consistently.
2013-04-12nar: Implement restoration from Nar.Ludovic Courtès
* guix/nar.scm (&nar-error, &nar-read-error): New condition types. (dump): New procedure. (write-contents)[dump]: Remove. Use the one above instead. (read-contents, write-file, restore-file): New procedures. (%archive-version-1): New variable.
2013-04-12gnu: shishi: Update to 1.0.2.Nikita Karetnikov
* gnu/packages/shishi.scm (shishi): Update to 1.0.2. * gnu/packages/patches/shishi-gets-undeclared.patch: Remove it. * Makefile.am (dist_patch_DATA): Adjust accordingly.
2013-04-12gnu: Python: fix the compilation of some modules from the standard library.Cyril Roelandt
This commit enables the bz2, dbm, readline, ssl and zlib modules. * gnu/packages/gdbm.scm: Enable the compatibility mode. * gnu/packages/python.scm: Enable a few modules from the standard library. * gnu/packages/patches/python-fix-dbm.patch: New file. * Makefile.am: Add it.
2013-04-12Add (guix nar) and (guix serialization).Ludovic Courtès
* guix/store.scm (write-int, read-int, write-long-long, read-long-long, write-padding, write-string, read-string, read-latin1-string, write-string-list, read-string-list, write-store-path, read-store-path, write-store-path-list, read-store-path-list): Move to serialization.scm. (write-contents, write-file): Move to nar.scm. * guix/nar.scm, guix/serialization.scm: New files. * Makefile.am (MODULES): Add them.
2013-04-12substitute-binary: Fix communication of several store paths to the daemon.Ludovic Courtès
* guix/scripts/substitute-binary.scm (guix-substitute-binary)["--query"]: Emit blank lines only after the complete list of store paths has been returned.
2013-04-12Add preliminary binary substituter.Ludovic Courtès
* guix/scripts/substitute-binary.scm: New file. * Makefile.am (MODULES): Add it. * nix/scripts/substitute-binary.in: New file. * config-daemon.ac: Produce nix/scripts/substitute-binary. * daemon.am (nodist_pkglibexec_SCRIPTS): Add nix/scripts/substitute-binary. * guix/store.scm (substitutable-path-info): Use the `query-substitutable-path-infos' RPC. * nix/nix-daemon/guix-daemon.cc (main): Honor `NIX_SUBSTITUTERS'. * pre-inst-env.in: Set `NIX_SUBSTITUTERS'. * test-env.in: Leave `NIX_SUBSTITUTERS' unchanged. Set `GUIX_BINARY_SUBSTITUTE_URL, and create $NIX_STATE_DIR/substituter-data. Run `guix-daemon' within `./pre-inst-env'. * tests/store.scm ("substitute query"): New test.
2013-04-12gnu: bigloo: Add dependencies on Avahi and libphidget.Ludovic Courtès
* gnu/packages/scheme.scm (bigloo): Add Avahi and libphidget as inputs, and pkg-config as a native input.
2013-04-12gnu: Add libphidget.Ludovic Courtès
* gnu/packages/libphidget.scm: New file. * Makefile.am (MODULES): Add it.
2013-04-12store: Add `store-path-hash-part'.Ludovic Courtès
* guix/store.scm (store-path-hash-part): New procedure. * tests/store.scm ("store-path-hash-part", "store-path-hash-part #f"): New tests.
2013-04-12gnu-maintenance: Adjust `http-fetch' to the various Guile versions.Ludovic Courtès
* guix/gnu-maintenance.scm (http-fetch): Try #:streaming? #t, or 'http-get*', or 'http-get' as a last resort. Check whether DATA is #f, a string, or an input port.
2013-04-12pull: Switch to the cgit URL.Ludovic Courtès
* guix/scripts/pull.scm (%snapshot-url): Switch to the cgit URL, given that the Hydra one is not currently available.
2013-04-11tests: Adjust `gnu-build' test to search path mechanism.Ludovic Courtès
Fixes a regression introduced in a18eda2. Reported by Nikita Karetnikov <nikita@karetnikov.org>. * tests/builders.scm (%bootstrap-search-paths): New variable. ("gnu-build"): Pass #:search-paths.
2013-04-11gnu: Add dwm.Cyril Roelandt
* gnu/packages/dwm.scm: New file. * Makefile.am: Add it.
2013-04-09build-system/gnu: Fix search path computation with implicit inputs.Ludovic Courtès
Reported by Andreas Enge <andreas@enge.fr>. * guix/build-system/gnu.scm (standard-packages): New procedure. (standard-inputs): Use it instead of resolving things locally. (gnu-build)[implicit-search-paths]: Map over (standard-packages), not over STANDARD-INPUTS.
2013-04-04Merge branch 'xorg' into core-updatesAndreas Enge
2013-04-02gnu: xorg: Re-enable tests for xorg-server.Andreas Enge
* gnu/packages/xorg.scm (xorg-server): Re-enable (failing) tests.
2013-03-31gnu: xorg: Remove inputs already available through propagation.Andreas Enge
* gnu/packages/xorg.scm: Remove inputs that are available through propagation.
2013-03-31gnu: Add xpdf.Andreas Enge
* gnu/packages/pdf.scm (xpdf): New variable. * gnu/packages/patches/xpdf-constchar.patch: New file. * Makefile.am (dist_patch_DATA): Add it.
2013-03-31gnu: lesstif: Make package usable by adding propagated input.Andreas Enge
* gnu/packages/lesstif.scm (lesstif): Add propagated input printproto; include/Xm/Print.h from lesstif includes X11/extensions/Print.h from printproto.
2013-03-31gnu: freetype: Make include file ft2build.h work without changing the CPATHAndreas Enge
of dependent packages. * gnu/packages/fontutils.scm (freetype): Add link include/freetype to include/freetype2/freetype.
2013-03-31gnu: xorg: Add libxp and printproto, not included in X11R7.7.Andreas Enge
* gnu/packages/xorg.scm (libxp, printproto): New variables.
2013-03-30gnu: Define `native-search-paths' for Automake, Guile, and Python.Ludovic Courtès
* gnu/packages/autotools.scm (automake)[native-search-paths]: New field. * gnu/packages/guile.scm (guile-1.8)[native-search-paths]: New field. (guile-2.0)[native-search-paths]: New field. * gnu/packages/python.scm (python)[native-search-paths]: New field.
2013-03-30packages: Add `native-search-paths' field and honor it.Ludovic Courtès
* guix/packages.scm (<search-path-specification>): New record type. (search-path-specification->sexp): New procedure. (<package>)[native-search-paths]: New field. (package-derivation): Accumulate the search paths, and pass them as #:search-paths toe BUILDER. * guix/build-system/gnu.scm (gnu-build): Add #:search-paths. Compute `implicit-search-paths'. Pass #:search-paths in BUILDER. * guix/build-system/perl.scm (perl-build): Add #:search-paths, pass it to BUILDER with the search paths of PERL. * guix/build-system/cmake.scm (cmake-build): Add #:search-paths, pass it to BUILDER. * guix/build-system/trivial.scm (trivial-build): Add #:search-paths, ignore it. * guix/build/gnu-build-system.scm (set-paths): Add #:search-paths. Remove explicit settings of CPATH, LIBRARY_PATH, and PKG_CONFIG_PATH. Instead, walk SEARCH-PATHS and call `set-path-environment-variable' for them. * guix/build/perl-build-system.scm (perl-build): Remove PERL5LIB setting. * tests/packages.scm ("search paths"): New test. * gnu/packages/bootstrap.scm (%bootstrap-guile)[raw]: Add #:search-paths. (%bootstrap-gcc): Add `native-search-paths' field. * gnu/packages/perl.scm (perl): Likewise. * gnu/packages/pkg-config.scm (pkg-config): Likewise. * gnu/packages/glib.scm (intltool): Remove `arguments'. * gnu/packages/avahi.scm (avahi): Remove #:phases.
2013-03-30build: Pass the appropriate flags when building `libstore.a'.Ludovic Courtès
* daemon.am (libstore_a_CFLAGS): Rename to... (libstore_a_CXXFLAGS): ... this.
2013-03-30build-system/gnu: Remove #:path-exclusions parameter.Ludovic Courtès
* guix/build/gnu-build-system.scm (set-paths): Remove `path-exclusions' parameter. Replace `relevant-input-directories' by `input-directories'. * guix/build-system/gnu.scm (gnu-build): Remove `path-exclusions' parameter; don't pass it in BUILDER. * guix/build-system/cmake.scm (cmake-build): Likewise.
2013-03-30gnu: xorg: Make font-adobe75dpi and font-adobe100dpi compile (not install).Andreas Enge
* gnu/packages/xorg/scm (font-adobe75dpi, font-adobe100dpi): Add inputs bdftopcf, font-util and mkfontdir.
2013-03-30gnu: xorg: Add mtdev and make xf86-input-synaptics compile (not install).Andreas Enge
* gnu/packages/xorg.scm (mtdev): New variable. * gnu/packages/xorg.scm (xf86-input-synaptics): Add inputs libx11, libxi and mtdev. * gnu/packages/xorg.scm (libxi): Propagate input libxext.
2013-03-30gnu: xorg: Disable not compiling xf86-video-geode.Andreas Enge
* gnu/packages/xorg.scm (xf86-video-geode): Comment out since not compiling (assembler errors).
2013-03-30gnu: xorg: Fix compilation of xorg-server.Andreas Enge
* gnu/packages/xorg.scm (mesa): Propagate input libxxf86vm.
2013-03-30gnu: xorg: Disable xf86-video-glide.Andreas Enge
* gnu/packages/xorg.scm (xf86-video-glide): Comment variable; driver for obsolete graphics cards, depends on libglide, last updated in 2003, and which does not compile out of the box any more.
2013-03-30gnu: xorg: Disable xf86-video-wsfb.Andreas Enge
* gnu/packages/xorg.scm (xf86-video-wsfb): Comment variable, only relevant for the frame buffer on BSD systems.
2013-03-30gnu: xorg: Make xgamma compile.Andreas Enge
* gnu/packages/xorg.scm (libxxf86vm): Propagate inputs libxext and xf86vidmodeproto.
2013-03-30gnu: xorg: Make xvinfo compile.Andreas Enge
* gnu/packages/xorg.scm (libxv): Propagate input videoproto.
2013-03-29Merge branch 'master' into core-updatesLudovic Courtès
Conflicts: Makefile.am gnu/packages/base.scm
2013-03-29gnu: Really add lesstif.Andreas Enge
* Makefile.am (MODULES): Commit the module addition.
2013-03-29gnu: Add lesstif.Andreas Enge
* gnu/packages/lesstif.scm: New file. * Makefile.am (MODULES): Add it.
2013-03-29snix: Adjust import to current Nixpkgs input attribute names.Ludovic Courtès
* guix/snix.scm (snix-derivation->guix-package): Use the new names `nativeBuildInputs' and `propagatedNativeBuildInputs'.
2013-03-28gnu: xorg: Make most xserver related packages compile.Andreas Enge
* gnu/packages/xorg.scm (xf86-*): Add input xorg-server. * gnu/packages/xorg.scm (xf86-video-glint, xf86-video-neomagic, xf86-video-tga, xf86-video-trident, xf86-video-voodoo): Add input xf86dgaproto. * gnu/packages/xorg.scm (xf86-video-ati, xf86-video-mach64, xf86-video-mga, xf86-video-r128, xf86-video-savage, xf86-video-tdfx): Add inputs mesa and xf86driproto. * gnu/packages/xorg.scm (xf86-video-i128): Add inputs libdrm and libx11. * gnu/packages/xorg.scm (xf86-video-openchrome): Add inputs libx11, libxext, libxvmc, mesa and xf86driproto. * gnu/packages/xorg.scm (xf86-video-siliconmotion): Add inputs mesa, xf86dgaproto and xf86driproto. * gnu/packages/xorg.scm (xf86-video-vmware): Add inputs libx11 and libxext. * gnu/packages/xorg.scm (libxvmc): Propagate input libxv. * gnu/packages/xorg.scm (mesa): Propagate input glproto. * gnu/packages/xorg.scm (xf86-video-geode): Correct source hash.
2013-03-28gnu-maintenance: Improve 'official-gnu-packages'; add related procedures.Nikita Karetnikov
* guix/gnu-maintenance.scm (http-fetch): Return an input port. (<gnu-package-descriptor>): Add it. (official-gnu-packages): Use <gnu-package-descriptor>. (find-packages): Add it. (gnu-package?): Adjust accordingly.
2013-03-28Add (guix build-system cmake).Cyril Roelandt
* guix/build/cmake-build-system.scm, guix/build-system/cmake.scm: New files. * Makefile.am (MODULES): Add them.
2013-03-28build: Set `%fresh-auto-compile' in `hydra.scm'.Ludovic Courtès
* hydra.scm: Set `%fresh-auto-compile' to #t.
2013-03-27gnu: make-bootstrap: Import (gnu packages gcc).Ludovic Courtès
* gnu/packages/make-bootstrap.scm: Import (gnu packages gcc).
2013-03-27download: Remove unreliable GNU mirror.Ludovic Courtès
* guix/download.scm (%mirrors)[gnu]: Remove ftp.chg.ru.
2013-03-27gnu: Add libelf.Ludovic Courtès
* gnu/packages/gcc.scm (libelf): New variable.
2013-03-27gnu: Add ISL and CLooG.Ludovic Courtès
* gnu/packages/gcc.scm (%gcc-infrastructure, isl, cloog): New variables.
2013-03-27gnu: Move GCC to its own module.Ludovic Courtès
* gnu/packages/base.scm (gcc-4.7): Move to... * gnu/packages/gcc.scm: ... here. New file. * Makefile.am (MODULES): Add it.
2013-03-27glib: Patch around prlimit(2) failure.Ludovic Courtès
* gnu/packages/glib.scm (glib)[source]: Switch to mirror://gnome. [inputs]: Add `patch/tests-prlimit'. [arguments]: Add it. * gnu/packages/patches/glib-tests-prlimit.patch: New file. * Makefile.am (dist_patch_DATA): Add it.
2013-03-27build: `hydra.scm' changes %load-path to refer to itself.Ludovic Courtès
* hydra.scm: Add `eval-when' clause.