summaryrefslogtreecommitdiff
path: root/guix/build
Commit message (Collapse)AuthorAge
* build-system/gnu: Pass --localstatedir=/var --sharedstatedir=/com.Ludovic Courtès2014-01-27
| | | | | | | | | | | | | Suggested by John Darrington <john@darrington.wattle.id.au> and Mark H Weaver <mhw@netris.org>. * guix/build/gnu-build-system.scm (configure): Pass --localstatedir=/var --sharedstatedir=/com. * gnu/packages/admin.scm (dmd): Remove 'arguments' field. * gnu/packages/avahi.scm (avahi): Remove --localstatedir flag. * gnu/packages/glib.scm (dbus): Likewise. * gnu/packages/package-management.scm (guix): Likewise. * gnu/packages/pulseaudio.scm (pulseaudio): Likewise.
* Merge branch 'master' into core-updatesLudovic Courtès2014-01-25
|\
| * linux-initrd: Make /dev/{null,zero} world-writable.Ludovic Courtès2014-01-18
| | | | | | | | | | | | | | Reported by zerwas on #guix. * guix/build/linux-initrd.scm (make-essential-device-nodes): Make /dev/null and /dev/zero world-writable.
* | gnu: gnu-build-system: Add CC_FOR_BUILD to configure flags.John Darrington2013-12-17
|/ | | | | | | | | * guix/build/gnu-build-system.scm: Add new configure flag: CC_FOR_BUILD=gcc * gnu/packages/gnupg.scm, gnu/packages/guile.scm, gnu/packages/make-bootstrap.scm: remove CC_FOR_BUILD from these package descriptions. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* pull: Move build code to (guix build pull).Ludovic Courtès2013-12-16
| | | | | | * guix/build/pull.scm: New file. * Makefile.am (MODULES): Add it. * guix/scripts/pull.scm (unpack): Use it.
* gnu: gtk+: enable introspection.Cyril Roelandt2013-12-15
| | | | | * gnu/packages/gtk.scm (atk, gdk-pixbuf, gtk+, pango): enable introspection * guix/build/gnome.scm: New file.
* build-system/cmake: Build out of source tree by default.Ludovic Courtès2013-11-28
| | | | | | | * guix/build-system/cmake.scm (cmake-build): Change 'out-of-source?' to default to #t. * guix/build/cmake-build-system.scm (configure): Add 'out-of-source?' keyword parameter and honor it.
* Merge branch 'master' into core-updatesLudovic Courtès2013-11-01
|\
| * union: Do not warn when identical files collide.Ludovic Courtès2013-10-31
| | | | | | | | | | | | * guix/build/union.scm (file=?): New procedure. (union-build)[resolve-collision]: Do not warn when identical files collide.
| * union: Make the log port a parameter.Ludovic Courtès2013-10-30
| | | | | | | | | | * guix/build/union.scm (union-build): Add 'log-port' keyword parameter; use it.
| * guix: Make cmake build system aware of usual paths.Andreas Enge2013-10-13
| | | | | | | | | | * guix/build/cmake-build-system.scm (configure): Set CMAKE_LIBRARY_PATH to LIBRARY_PATH and CMAKE_INCLUDE_PATH to CPATH.
* | utils: 'find-files' always returns a proper list.Ludovic Courtès2013-10-16
| | | | | | | | | | | | | | Reported at <http://bugs.gnu.org/15608>. * guix/build/utils.scm (find-files): Change the 'error' procedure to return RESULT. Before we would end up with an improper list.
* | build-system/{gnu,cmake}: Remove #:patches and #:patch-flags parameters.Ludovic Courtès2013-10-10
|/ | | | | | | | | | * guix/build/gnu-build-system.scm (patch): Remove. (%standard-phases): Remove 'patch'. * guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Remove #:patches and #:patch-flags parameters. * guix/build-system/cmake.scm (cmake-build): Likewise. * guix/build-system/python.scm (package-with-explicit-python): Update comment.
* Merge branch 'master' into core-updatesLudovic Courtès2013-09-23
|\
| * Merge branch 'python'Andreas Enge2013-09-14
| |\
| | * guix: python: Create module installation path and add it to PYTHONPATH duringAndreas Enge2013-09-11
| | | | | | | | | | | | | | | | | | | | | | | | the installation phase. * guix/build/python-build-system.scm (get-python-version): New procedure. * guix/build/python-build-system.scm (install): Create and add path. * gnu/packages/python.scm (python-setuptools): Drop path creation code.
| | * guix: python: Add build phase and factor out calls to setup.py.Andreas Enge2013-09-05
| | | | | | | | | | | | | | | | | | | | | * guix/build/python-build-system.scm (call-setuppy): New procedure. * guix/build/python-build-system.scm (build): New procedure. * guix/build/python-build-system.scm (check, install): Use call-setuppy. * guix/build/python-build-system.scm (%standard-phases): Add call to build.
| | * gnu: python: Honour #:tests? and #:test-target in build system.Andreas Enge2013-09-05
| | | | | | | | | | | | | | | * guix/build/python-build-system.scm (check): Use named parameters tests? and test-target (default now: "test" instead of "check").
| | * guix: python: Switch to python-wrapper as the default version for the pythonAndreas Enge2013-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | build system (switches to Python 3) and compute python-version instead of passing it as a parameter. * guix/build-system/python.scm (default-python): Switch to python-wrapper. * guix/build-system/python.scm (python-build): Drop parameter #:python-version. * guix/build/python-build-system.scm (wrap): Compute python version from input.
| * | linux-initrd: Create /dev/klog and /dev/kmsg.Ludovic Courtès2013-09-11
| | | | | | | | | | | | | | | * guix/build/linux-initrd.scm (make-essential-device-nodes): Make /dev/klog and /dev/kmsg.
* | | utils: 'find-files' returns a sorted list.Ludovic Courtès2013-09-15
|/ / | | | | | | | | * guix/build/utils.scm (find-files): Sort the result lexicographically. * guix/scripts/pull.scm (unpack): Don't sort the result of 'find-files'.
* | gnu: linux-initrd: Fix creation of /dev/tty nodes.Ludovic Courtès2013-09-05
| | | | | | | | | | | | * guix/build/linux-initrd.scm (make-essential-device-nodes): Make /dev/tty. Change from 'block-special' to 'char-special' for /dev/tty* nodes.
* | union: Don't traverse sub-directories only found in one element of the union.Ludovic Courtès2013-09-02
|/ | | | | | | | | | | | This significantly reduces I/O when building profiles, especially with lots of package-specific sub-directories (such as 'share/emacs/24.3', 'texmf', etc.) * guix/build/union.scm (union-build)[file-tree](others-have-it?): New procedure. Use it in the 'enter?' parameter of 'file-system-fold'; change 'skip' parameter accordingly. * tests/union.scm ("union-build"): Ensure that 'include' is a symlink and 'bin' is a directory.
* gnu: linux-initrd: Factorize device node creation.Ludovic Courtès2013-09-02
| | | | | | * guix/build/linux-initrd.scm (make-essential-device-nodes): New procedure. * gnu/packages/linux-initrd.scm (qemu-initrd): Use it.
* gnu: linux-initrd: Make Guile modules accessible in the chroot.Ludovic Courtès2013-08-31
| | | | | | * gnu/packages/linux-initrd.scm (qemu-initrd): Add (guix build utils) to #:modules, and use it. Copy .scm and .go files to /root. * guix/build/linux-initrd.scm (bind-mount): New procedure.
* gnu: linux-initrd: Add (guix build linux-initrd) and use it.Ludovic Courtès2013-08-29
| | | | | | | * gnu/packages/linux-initrd.scm (qemu-initrd): Add #:modules argument. Factorize and move some of the code to... * guix/build/linux-initrd.scm: ... here. New file. * Makefile.am (MODULES): Add it.
* build-system/gnu: Add `dist-package'.Ludovic Courtès2013-08-24
| | | | | | | | * guix/build/gnu-dist.scm: New file. * Makefile.am (MODULES): Add it. * guix/build-system/gnu.scm (%default-modules): New variable. (gnu-build): Use it. (dist-package): New procedure.
* Merge branch 'core-updates'Ludovic Courtès2013-07-09
|\
| * build-system/gnu: Write debug files to the "debug" sub-derivation, if any.Ludovic Courtès2013-07-03
| | | | | | | | | | | | | | | | * guix/build/gnu-build-system.scm (strip): Add `objcopy-command' keyword parameter. [debug-output, debug-file-extension]: New variables. [debug-file, make-debug-file, add-debug-link]: New procedures. [strip-dir]: Use them.
| * utils: Re-export `alist-cons' and `alist-delete'.Ludovic Courtès2013-07-03
| | | | | | | | * guix/build/utils.scm: Re-export `alist-cons' and `alist-delete'.
| * utils: `set-path-environment-variable' calls `unsetenv' for empty values.Ludovic Courtès2013-06-22
| | | | | | | | | | | | | | * guix/build/utils.scm (set-path-environment-variable): When VALUE is the empty string, call `unsetenv' instead of `setenv'. * gnu/packages/guile.scm (guile-2.0)[arguments]: Remove `unsetenv' trick.
| * build-system/gnu: Set #:tests? to #f when cross-compiling.Ludovic Courtès2013-06-22
| | | | | | | | | | * guix/build/gnu-build-system.scm (check): Add `target' formal parameter. Change `tests?' to default to (not target).
| * build-system/gnu: Save `environment-variables' after each phase.Ludovic Courtès2013-06-21
| | | | | | | | | | * guix/build/gnu-build-system.scm (set-paths): Move `system' call to... (gnu-build): ... here.
| * build-system/gnu: Unify with (guix build-system gnu-cross-build).Ludovic Courtès2013-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/gnu-build-system.scm (set-paths): Add `native-inputs' and `native-search-paths' keyword parameters. Honor them. (configure): Add `target' and `native-inputs' keyword parameters. Look for Bash in NATIVE-INPUTS or INPUTS. Pass `--host' when TARGET is true. (strip): Add `strip-command' keyword parameter. Use it. * guix/build/gnu-cross-build.scm: Remove. * Makefile.am (MODULES): Adjust accordingly. * gnu/packages/acl.scm, gnu/packages/attr.scm, gnu/packages/base.scm, gnu/packages/bash.scm, gnu/packages/gawk.scm, gnu/packages/gettext.scm, gnu/packages/guile.scm, gnu/packages/libffi.scm, gnu/packages/libsigsegv.scm, gnu/packages/linux.scm, gnu/packages/ncurses.scm, gnu/packages/readline.scm, guix/build-system/gnu.scm: Replace `%standard-cross-phases' by `%standard-phases'. Remove references to (guix build gnu-cross-build).
* | download: Don't fail when abbreviating `file://' URIs.Ludovic Courtès2013-06-22
|/ | | | | * guix/build/download.scm (uri-abbreviation)[elide-path]: Handle the case where URI has no `host' part.
* substitute-binary: Report progress while downloading.Ludovic Courtès2013-06-20
| | | | | | | * guix/scripts/substitute-binary.scm (decompressed-port): Improve docstring. (progress-report-port): New procedure. (guix-substitute-binary)["--substitute"]: Use it to report progress. * guix/build/download.scm: Export `progress-proc' and `uri-abbreviation'.
* python-build-system: add a check phase.Cyril Roelandt2013-05-28
| | | | | * guix/build/python-build-system.scm (check): New procedure. (%standard-phases): Use it.
* build-system/gnu: Implement cross build.Ludovic Courtès2013-05-24
| | | | | | | | | | | | | | * guix/build-system/gnu.scm (inputs-search-paths): New procedure. (standard-search-paths): Use it. (expand-inputs): New procedure. (standard-inputs): Use it. (standard-cross-packages, standard-cross-inputs, standard-cross-search-paths, gnu-cross-build): New procedures. (gnu-build-system): Set `cross-build' field to `gnu-cross-build'. * gnu/packages/cross-base.scm: Export `cross-gcc', `cross-binutils', and `cross-libc'. * guix/build/gnu-cross-build.scm: New file. * Makefile.am (MODULES): Add it.
* download: Fix premature socket close on TLS connections.Ludovic Courtès2013-05-10
| | | | | | | | This would manifest when downloading a large file such as the Bazaar tarball, leading to an "Error in the pull function" GnuTLS exception. * guix/build/download.scm (add-weak-reference): New procedure. (tls-wrap): Add (add-weak-reference record port).
* Add 'python-build-system'.Nikita Karetnikov2013-05-08
| | | | | * guix/build-system/python.scm, guix/build/python-build-system.scm: New files. * Makefile.am (MODULES): Add them.
* Add (guix build rpath).Ludovic Courtès2013-05-08
| | | | | | | | * guix/build/rpath.scm: New file. * Makefile.am (MODULES): Add it. * gnu/packages/python.scm (python): Use it; remove local copy of the *rpath* procedures. * gnu/packages/samba.scm (samba): Likewise.
* utils: Adjust 'wrap-program'.Nikita Karetnikov2013-04-30
| | | | | | | | * guix/build/utils.scm (wrap-program): Fix computation of PROG-REAL and PROG-TMP when PROG is an absolute file name. Add "$@" in the generated script, and quote PROG-REAL. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* build-system/gnu: Fix default name for the "doc" output directory.Ludovic Courtès2013-04-28
| | | | | * guix/build/gnu-build-system.scm (configure)[package-name]: Drop the prefix corresponding to the hash part of OUT.
* packages: Add `native-search-paths' field and honor it.Ludovic Courtès2013-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* build-system/gnu: Remove #:path-exclusions parameter.Ludovic Courtès2013-03-30
| | | | | | | | | * 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.
* Merge branch 'master' into core-updatesLudovic Courtès2013-03-29
|\ | | | | | | | | | | Conflicts: Makefile.am gnu/packages/base.scm
| * Add (guix build-system cmake).Cyril Roelandt2013-03-28
| | | | | | | | | | * guix/build/cmake-build-system.scm, guix/build-system/cmake.scm: New files. * Makefile.am (MODULES): Add them.
| * Revert "utils: Add 'wrap-program'."Ludovic Courtès2013-03-07
| | | | | | | | This reverts commit 02065130de33e990969fe9b7cc19b9b1c24f3ff7.
| * utils: Add 'wrap-program'.Nikita Karetnikov2013-03-06
| | | | | | | | * guix/build/utils.scm (wrap-program): New procedure.
* | utils: Add 'wrap-program'.Nikita Karetnikov2013-03-07
| | | | | | | | * guix/build/utils.scm (wrap-program): New procedure.