summary refs log tree commit diff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2014-01-24Add 'guix offload' as a daemon build hook.Ludovic Courtès
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_NO_BUILD_HOOK): New macro. (options): Add '--no-build-hook'. (parse_opt): Handle it. (main)[HAVE_DAEMON_OFFLOAD_HOOK]: Set 'useBuildHook' by default. Set $NIX_BUILD_HOOK to our offload hook unless otherwise specified. [!HAVE_DAEMON_OFFLOAD_HOOK]: Clear 'useBuildHook'. * pre-inst-env.in: Set and export NIX_BUILD_HOOK. * nix/scripts/offload.in, guix/scripts/offload.scm: New files. * guix/ui.scm (show-guix-help)[internal?]: Add "offload". * config-daemon.ac: Call 'GUIX_CHECK_UNBUFFERED_CBIP'. Instantiate 'nix/scripts/offload'. Set 'BUILD_DAEMON_OFFLOAD' conditional, and optionally define 'HAVE_DEAMON_OFFLOAD_HOOK' cpp macro. * daemon.am (nodist_pkglibexec_SCRIPTS)[BUILD_DAEMON_OFFLOAD]: Add it. * Makefile.am (MODULES)[BUILD_DAEMON_OFFLOAD]: Add 'guix/scripts/offload.scm'. (EXTRA_DIST)[!BUILD_DAEMON_OFFLOAD]: Likewise. * m4/guix.m4 (GUIX_CHECK_UNBUFFERED_CBIP): New macro. * doc/guix.texi (Setting Up the Daemon): Move most of the body to... (Build Environment Setup): ... this. New subsection. (Daemon Offload Setup): New subsection.
2013-12-29Add (guix pki).Ludovic Courtès
* guix/pki.scm, tests/pki.scm: New files. * Makefile.am (MODULES): Add 'guix/pki.scm'. (SCM_TESTS): Add 'tests/pki.scm'.
2013-12-22Add 'guix archive'.Ludovic Courtès
* guix/scripts/archive.scm, tests/guix-archive.sh: New files. * Makefile.am (MODULES): Add 'archive.scm'. (SH_TESTS): Add 'guix-archive.sh'. * doc/guix.texi (Invoking guix archive): New section. * guix/scripts/build.scm: Export 'derivation-from-expression'. * guix/scripts/package.scm: Export 'specification->package+output'.
2013-12-21authenticate: Add test.Ludovic Courtès
* tests/guix-authenticate.sh: New file. * Makefile.am (SH_TESTS): Add it.
2013-12-20daemon: Implement signed archive import/export.Ludovic Courtès
* guix/scripts/authenticate.scm, nix/scripts/guix-authenticate.in, tests/signing-key.pub, tests/signing-key.sec: New files. * po/POTFILES.in: Add 'guix/scripts/authenticate.scm'. * guix/store.scm (dump-port): New procedure. (process-stderr): Add 'user-port' optional parameter. Handle the %STDERR-WRITE and %STDERR-READ cases as expected. (import-paths, export-path, export-paths): New procedures. * tests/store.scm ("export/import several paths", "import corrupt path"): New tests. * Makefile.am (MODULES): Add 'guix/scripts/authenticate.scm'. (EXTRA_DIST): Add 'tests/signing-key.{pub,sec}'. * daemon.am (libstore_a_CPPFLAGS)[-DNIX_CONF_DIR]: Change 'NIX_CONF_DIR' to .../guix. Change 'OPENSSL_PATH' to 'guix-authenticate'. * config-daemon.ac: Instantiate 'nix/scripts/guix-authenticate'. * nix/nix-daemon/guix-daemon.cc (main): Augment $PATH to include 'settings.nixLibexecDir'. * test-env.in: Export 'NIX_CONF_DIR' and 'NIX_LIBEXEC_DIR'. Populate $NIX_CONF_DIR.
2013-12-20Add (guix pk-crypto).Ludovic Courtès
* guix/pk-crypto.scm, tests/pk-crypto.scm: New files. * Makefile.am (MODULES, SCM_TESTS): Add them.
2013-12-16pull: Move build code to (guix build pull).Ludovic Courtès
* guix/build/pull.scm: New file. * Makefile.am (MODULES): Add it. * guix/scripts/pull.scm (unpack): Use it.
2013-12-15gnu: gtk+: enable introspection.Cyril Roelandt
* gnu/packages/gtk.scm (atk, gdk-pixbuf, gtk+, pango): enable introspection * guix/build/gnome.scm: New file.
2013-12-05build: Work around build problem on systems that lack (gnutls).Ludovic Courtès
Reported at <https://lists.gnu.org/archive/html/guix-devel/2013-12/msg00002.html>. * Makefile.am (MODULES): Shuffle modules to work around build failure on systems that lack the (gnutls) module.
2013-11-01guix package: Allow removal of a specific package output.Ludovic Courtès
Fixes <http://bugs.gnu.org/15756>. * guix/profiles.scm (<manifest-pattern>): New record type. (remove-manifest-entry): Remove. (entry-predicate, manifest-matching-entries): New procedures. (manifest-remove): Accept a list of <manifest-pattern>. (manifest-installed?): Replace 'name' parameter by 'pattern', a <manifest-pattern>. * guix/scripts/package.scm (options->removable): Return a list of <manifest-pattern>. (guix-package)[process-action]: Use 'manifest-matching-entries' to compute the list of packages to remove. * tests/profiles.scm: New file. * Makefile.am (SCM_TESTS): Add it.
2013-11-01Add (guix profiles).Ludovic Courtès
* guix/scripts/package.scm (show-what-to-remove/install): New procedure, moved from... (guix-package): ... here. (<manifest>, make-manifest, <manifest-entry>, profile-manifest, manifest->sexp, sexp->manifest, read-manifest, write-manifest, remove-manifest-entry, manifest-remove, manifest-installed?, manifest=?, profile-regexp, generation-numbers, previous-generation-number, profile-derivation, generation-number, generation-file-name, generation-time, lower-input): Move to... * guix/profiles.scm: ... here. New file. * Makefile.am (MODULES): Add it.
2013-10-15build: Add 'clean-go' target.Ludovic Courtès
* Makefile.am (clean-go): New phony target.
2013-10-09build: 'sync-descriptions' now compares GNU package descriptions.Ludovic Courtès
* build-aux/sync-synopses.scm: Rename to... * build-aux/sync-descriptions.scm: ... this. Compare the value of 'gnu-package-doc-description' and 'package-description' and report any mismatch. * Makefile.am (EXTRA_DIST): Adjust accordingly. (sync-synopses): Rename to... (sync-descriptions): ... this.
2013-10-03Add (guix monads).Ludovic Courtès
* guix/monads.scm: New file. * tests/monads.scm: New file. * Makefile.am (MODULES): Add guix/monads.scm. (SCM_TESTS): Add tests/monads.scm. * doc/guix.texi (The Store Monad): New node. (The Store): Reference it.
2013-09-23Add 'guix-register'.Ludovic Courtès
* nix/guix-register/guix-register.cc, tests/guix-register.sh: New files. * Makefile.am (SH_TESTS)[BUILD_DAEMON]: Add tests/guix-register.sh. * daemon.am (sbin_PROGRAMS, guix_register_SOURCES, guix_register_CPPFLAGS, guix_register_LDADD): New variables. * test-env.in: Export 'storedir', 'prefix', 'datarootdir', 'datadir', and 'localstatedir'.
2013-08-29build: Build docs from the top-level Makefile.Ludovic Courtès
This undoes commit 575ed8d ("doc: Create own Makefile.am in subdirectory."), and fixes a bug whereby "make pdf" or "make ps" wouldn't do anything. * doc/Makefile.am: Remove. * doc.am: New file. Use `-local' rules to build the image. * Makefile.am: Include it. * configure.ac: Use `-Woverride' to avoid undesired overridding of Automake rules.
2013-08-29gnu: linux-initrd: Add (guix build linux-initrd) and use it.Ludovic Courtès
* 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.
2013-08-28doc: Create own Makefile.am in subdirectory.Andreas Enge
* doc/Makefile.am: New file. * Makefile.am: Reference subdirectory doc.
2013-08-24hydra: Add job to run "make distcheck" on Guix.Ludovic Courtès
* build-aux/hydra/guix.scm: New file. * Makefile.am (EXTRA_DIST): Add it.
2013-08-24build-system/gnu: Add `dist-package'.Ludovic Courtès
* 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.
2013-07-17build: Provide a replacement (srfi srfi-37) when the user's one is broken.Ludovic Courtès
* srfi/srfi-37.scm.in: New file, taken from Guile 2.0.9. * m4/guix.m4: New macro. * configure.ac: Use it. Define Automake conditional `INSTALL_SRFI_37'. * Makefile.am (nobase_nodist_guilemodule_DATA)[INSTALL_SRFI_37]: Add srfi/srfi-37.scm. (GOBJECTS)[INSTALL_SRFI_37]: Add srfi/srfi-37.go. (srfi/srfi-37.scm)[INSTALL_SRFI_37]: New target. (EXTRA_DIST): Add srfi/srfi-37.scm.in.
2013-07-15build: Check for the availability of binaries upon "distcheck".Ludovic Courtès
* build-aux/check-available-binaries.scm: New file. * Makefile.am (EXTRA_DIST): Add it. (distcheck-hook, assert-binaries-available): New target.
2013-07-14Rename (guix web) to (guix http-client).Ludovic Courtès
* guix/web.scm: Rename to... * guix/http-client.scm: ... this. * guix/gnu-maintenance.scm, guix/scripts/substitute-binary.scm, Makefile.am, po/POTFILES.in: Update accordingly.
2013-07-10Add `build-aux/list-packages.scm'.Ludovic Courtès
* build-aux/list-packages.scm: New file. * Makefile.am (EXTRA_DIST): Add it.
2013-07-09Merge branch 'core-updates'Ludovic Courtès
2013-07-07doc: Add a "Boostrapping" section.Ludovic Courtès
* doc/guix.texi (Package Modules): New node, with material formerly under "GNU Distribution". (Bootstrapping): New node. * Makefile.am (EXTRA_DIST): Add doc/images/bootstrap-graph.dot and doc/images/bootstrap-graph.eps. (infoimagedir, dist_infoimage_DATA, DOT_OPTIONS): New variable. (.dot.png, .dot.eps, doc/guix.pdf, doc/guix.info, doc/guix.ps): New targets. * doc/images/bootstrap-graph.dot: New file.
2013-07-02hash: Add `open-sha256-port'.Ludovic Courtès
* guix/hash.scm (GCRY_MD_SHA256): New macro. (sha256): Use it. (open-sha256-md, md-write, md-read, md-close, open-sha256-port, port-sha256): New procedures. * tests/hash.scm: New file. * Makefile.am (SCM_TESTS): Add it.
2013-07-01Move `sha256' to (guix hash).Ludovic Courtès
* guix/utils.scm (sha256): Move to... * guix/hash.scm: ... here. New file. * Makefile.am (MODULES): Add it. * guix/derivations.scm, guix/scripts/download.scm, guix/scripts/hash.scm, guix/scripts/refresh.scm, tests/base32.scm, tests/derivations.scm, tests/store.scm: Use (guix hash).
2013-06-21build-system/gnu: Unify with (guix build-system gnu-cross-build).Ludovic Courtès
* 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).
2013-06-20build: Move Hydra recipe to build-aux/hydra.Ludovic Courtès
* hydra.scm: Rename to... * build-aux/hydra/gnu-system.scm: ... this. * Makefile.am (EXTRA_DIST): Adjust accordingly.
2013-06-19build: Split Makefile.am into two parts.Ludovic Courtès
* Makefile.am (MODULES): Move gnu/* to gnu-system.am. (patchdir, dist_patch_DATA, bootstrapdir, bootstrap_x86_64_linuxdir, bootstrap_i686_linuxdir, dist_bootstrap_x86_64_linux_DATA, dist_bootstrap_i686_linux_DATA, nodist_bootstrap_x86_64_linux_DATA, nodist_bootstrap_i686_linux_DATA, install-data-hook, DISTCLEANFILES, DOWNLOAD_FILE, gnu/packages/bootstrap/x86_64-linux/guile-2.0.7.tar.xz, gnu/packages/bootstrap/i686-linux/guile-2.0.7.tar.xz): Move to... * gnu-system.am: ... here. New file.
2013-06-19gnu: Add ImageMagick.Ludovic Courtès
* gnu/packages/imagemagick.scm: New file. * Makefile.am (MODULES): Add it. * guix/download.scm (%mirrors): Add `imagemagick' entry.
2013-06-17gnu: Move subversion with the other version control systems.Cyril Roelandt
* gnu/packages/subversion.scm: Remove file. * gnu/packages/version-control.scm (subversion): New variable. * Makefile.am (MODULES): remove subversion.scm.
2013-06-17build: Remove non-existent git.scm from Makefile.am.Ludovic Courtès
* Makefile.am (MODULES): Remove git.scm.
2013-06-17gnu: Add Graphviz.Ludovic Courtès
* gnu/packages/graphviz.scm: New file. * Makefile.am (MODULES): Add it.
2013-06-16gnu: Add GD.Ludovic Courtès
* gnu/packages/gd.scm: New file. * Makefile.am (MODULES): Add it.
2013-06-14gnu: Add cairo.Andreas Enge
* gnu/packages/gtk.scm (cairo): New variable.
2013-06-12gnu: Add GNU gcal.Ludovic Courtès
* gnu/packages/gcal.scm: New file. * Makefile.am (MODULES): Add it.
2013-06-08gnu: glib: Update to 2.37.1.Ludovic Courtès
* gnu/packages/glib.scm (glib): Update to 2.37.1. Add Bash and tzdata as inputs. Remove `glib-tests-timezone.patch'. Augment `pre-build' phase to set `TZDIR', `XDG_CACHE_HOME', and to modify makefiles to honor $(TESTS_ENVIRONMENT). * gnu/packages/patches/glib-tests-desktop.patch, gnu/packages/patches/glib-tests-homedir.patch: Update. * gnu/packages/patches/glib-tests-timezone.patch: Remove. * Makefile.am (dist_patch_DATA): Update accordingly.
2013-06-04gnu: Add WordNet.Ludovic Courtès
* gnu/packages/wordnet.scm: New file. * Makefile.am (MODULES): Add it.
2013-06-03gnu: Add Grue Hunter.Nikita Karetnikov
* gnu/packages/grue-hunter.scm: New file. * Makefile.am (MODULES): Add it.
2013-06-01gnu: Add XLockMore.Ludovic Courtès
* gnu/packages/xlockmore.scm: New file. * Makefile.am (MODULES): Add it.
2013-05-24build-system/gnu: Implement cross build.Ludovic Courtès
* 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.
2013-05-24gnu: Add UnRTF.Ludovic Courtès
* gnu/packages/unrtf.scm: New file. * Makefile.am (MODULES): Add it.
2013-05-22gnu: Add GNU Plotutils.Ludovic Courtès
* gnu/packages/plotutils.scm: New file. * Makefile.am (MODULES): Add it.
2013-05-12build: Make sure the distribution doesn't embed store file names.Ludovic Courtès
* Makefile.am (assert-no-store-file-names): New target. (dist-hook): Depend on it.
2013-05-12build: Generate a ChangeLog file upon "make dist".Ludovic Courtès
* Makefile.am (sync-synopses): New rule, formerly `dist-hook. (gen-ChangeLog): New rule. (dist-hook): Depend on these two targets.
2013-05-12Move record utilities to (guix records).Ludovic Courtès
* guix/utils.scm (define-record-type*): Move to... * guix/records.scm: ... here. New file. * guix/build-system.scm, guix/packages.scm: Use it. * guix/gnu-maintenance.scm: Likewise. (official-gnu-packages)[alist->record]: Remove. * guix/scripts/substitute-binary.scm: Likewise. (alist->record, object->fields): Remove. * tests/utils.scm ("define-record-type*", "define-record-type* with letrec* behavior", "define-record-type* & inherit", "define-record-type* & inherit & letrec* behavior", "define-record-type* & thunked", "define-record-type* & thunked & default", "define-record-type* & thunked & inherited"): Move to... * tests/records.scm: ... here. New file.
2013-05-11gnu: Add GNU RCS.Ludovic Courtès
* gnu/packages/bazaar.scm: Rename to... * gnu/packages/version-control.scm: ... this. (rcs): New variable. * Makefile.am (MODULES): Adjust accordingly.
2013-05-11build: Really clean .log files from SRFI-64.Ludovic Courtès
* Makefile.am (CLEANFILES): Really catch .log files from SRFI-64.