summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Expand)Author
2017-05-14build: 'assert-no-store-file-names' depends on ChangeLog....This fixes a bug whereby "make distcheck -j4" might invoke 'assert-no-store-file-names' when the temporary $(distdir)/cl-t exists (and contains store file names), before $(distdir)/ChangeLog has been created. * Makefile.am (assert-no-store-file-names): Depend on $(distdir)/ChangeLog. (dist-hook): Depend on $(distdir)/ChangeLog instead of 'gen-ChangeLog'. (gen-ChangeLog): Add $(distdir)/ChangeLog left of the colon. Ludovic Courtès
2017-05-10guix: Add java-utils....* guix/build/java-utils.scm: New file. * guix/build-system/ant.scm: Use it. * Makefile.am (MODULES): Add it. Co-authored-by: Ricardo Wurmus <rekado@elephly.net> Hartmut Goebel
2017-05-09maint: Tweak the 'release' target....* Makefile.am (SUPPORTED_SYSTEMS, GUIXSD_SUPPORTED_SYSTEMS): Use "?=" instead of "=". (release): Do "git checkout ." in po/ early on. Abort upon uncommitted changes. Print a message at the end. Ludovic Courtès
2017-05-09maint: Add 'release' target....Suggested by Jan Nieuwenhuizen. * Makefile.am (releasedir, PACKAGE_FULL_TARNAME, SOURCE_TARBALLS) (SUPPORTED_SYSTEMS, BINARY_TARBALLS, GUIXSD_SUPPORTED_SYSTEMS) (GUIXSD_IMAGE_BASE, GUIXSD_INSTALLATION_IMAGE_SIZE): New variables. (release): New target. (.PHONY): Add it. Ludovic Courtès
2017-05-08maint: Add bayfront.guixsd.org signing key....* bayfront.guixsd.org.pub: New file. * Makefile.am (dist_pkgdata_DATA): Add it. Ludovic Courtès
2017-05-08maint: "distcheck" inherits the test root directory....* Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): Add 'ac_cv_guix_test_root'. Ludovic Courtès
2017-05-07build: Use 'guix pack -K' for the 'guix-binary*.tar.xz' targets....* Makefile.am (guix-binary.%.tar.xz): Add -K flag for 'guix pack'. Ludovic Courtès
2017-05-07maint: Add 'update-guix-package' target....* build-aux/update-guix-package.scm: New file. * Makefile.am (EXTRA_DIST): Add it. (update-guix-package): New target. (.PHONY): Add it. * gnu/packages/package-management.scm (guix): Mention it. Ludovic Courtès
2017-05-05Revert "guix: git: Add new module."...This reverts commit a70b784708fb5e1b78430aa793d89ca04bc641a8. Commit a70b784708f caused `guix pull` to fail: ERROR: In procedure scm-error: ERROR: no code for module (git) Leo Famulari
2017-05-05guix: git: Add new module....* guix/git.scm: New file. * configure.ac: Check for (guile git). * Makefile.am: Build guix/git.scm if (guile git) is available. Mathieu Othacehe
2017-05-04build: Use Gnulib's 'git-version-gen'....* Makefile.am (EXTRA_DIST, BUILT_SOURCES): Add $(top_srcdir)/.version. ($(top_srcdir)/.version, gen-tarball-version): New targets. (dist-hook): Depend on 'gen-tarball-version'. (.PHONY): Add 'gen-tarball-version'. * build-aux/git-version-gen: New file, from Gnulib v0.1-1312-ga87d5e5c6. * configure.ac: Use it in 'AC_INIT'. Use 'https' for the URL. Ludovic Courtès
2017-05-04build: Remove 'sync-descriptions' target....This target predates 'guix lint'. Nowadays it makes little sense to run it upon 'make dist'. * Makefile.am (sync-descriptions): Remove. (dist-hook, .PHONY): Remove reference to 'sync-descriptions'. Ludovic Courtès
2017-05-03Add (guix discovery)....* guix/discovery.scm, tests/discovery.scm: New files. * gnu/packages.scm (scheme-files, file-name->module-name) (scheme-modules, all-package-modules): Remove. (fold-packages): Rewrite in terms of 'fold-module-public-variables'. * gnu/tests.scm: Use (guix discovery). * Makefile.am (MODULES): Add guix/discovery.scm. (SCM_TESTS): Add tests/discovery.scm. Ludovic Courtès
2017-05-02build: Install gnu/build/svg.scm....Fixes a regression introduced in commit 960887b2974ff5c3e63f58a1d89cd8d0dcb5e045. * Makefile.am (MODULES_NOT_COMPILED): New variable. (nobase_dist_guilemodule_DATA): Add $(MODULES_NOT_COMPILED). (EXTRA_DIST): Remove gnu/build/svg.scm. * gnu/local.mk (MODULES_NOT_COMPILED): New variable. Ludovic Courtès
2017-05-02build: 'check-system' now depends on the bootstrap Guile tarballs....Reported by Chris Marusich <cmmarusich@gmail.com>. * gnu/local.mk (BOOTSTRAP_GUILE_TARBALLS): New variable. (DISTCLEANFILES): Define as an alias for 'BOOTSTRAP_GUILE_TARBALLS'. * Makefile.am (check-system): Depend on $(BOOTSTRAP_GUILE_TARBALLS). Ludovic Courtès
2017-05-01gnu: linux-libre: Update to 4.11....* gnu/packages/linux.scm (%linux-libre-version): Update to 4.11. (%linux-libre-hash): Update hash. * gnu/packages/aux-files/linux-libre/4.10-i686.conf, gnu/packages/aux-files/linux-libre/4.10-x86_64.conf: Delete files. * gnu/packages/aux-files/linux-libre/4.11-i686.conf, gnu/packages/aux-files/linux-libre/4.11-x86_64.conf: New files. * Makefile.am (AUX_FILES): Adjust accordingly. Mark H Weaver
2017-04-21store: Support 'ssh://' URIs in 'GUIX_DAEMON_SOCKET'....This allows 'guix' commands to talk to a remote store over SSH. * guix/store.scm (connect-to-daemon)[connect]: Call 'resolve-interface' for unknown URI schemes. * guix/store/ssh.scm: New file. * Makefile.am (MODULES): Add it. * doc/guix.texi (The Store): Document it. Mark remote access as experimental. Ludovic Courtès
2017-04-18Add (guix cache) and use it in (guix scripts substitute)....* guix/cache.scm, tests/cache.scm: New files. * Makefile.am (MODULES, SCM_TESTS): Add them. * guix/scripts/substitute.scm (obsolete?): Remove. (remove-expired-cached-narinfos): Rename to... (cached-narinfo-expiration-time): ... this. Remove the removal part and only keep the expiration time part. (narinfo-cache-directories): Add optional 'directory' parameter and honor it. (maybe-remove-expired-cached-narinfo): Remove. (cached-narinfo-files): New procedure. (guix-substitute): Use 'maybe-remove-expired-cache-entries' instead of 'maybe-remove-expired-cached-narinfo'. Ludovic Courtès
2017-04-18Add (guix workers)....* guix/workers.scm, tests/workers.scm: New files. * Makefile.am (MODULES, SCM_TESTS): Add them. * .dir-locals.el: Add rule for 'eventually'. Ludovic Courtès
2017-04-14build: Stop building gnu/build/svg.scm....* Makefile.am (EXTRA_DIST): Add gnu/build/svg.scm. * gnu/local.mk (GNU_SYSTEM_MODULES): Remove gnu/build/svg.scm. It fixes the following build warnings: gnu/build/svg.scm:36:12: warning: possibly unbound variable `cairo-create' gnu/build/svg.scm:36:26: warning: possibly unbound variable `cairo-image-surface-create' gnu/build/svg.scm:38:4: warning: possibly unbound variable `cairo-scale' gnu/build/svg.scm:39:4: warning: possibly unbound variable `cairo-set-source-surface' Signed-off-by: Ludovic Courtès <ludo@gnu.org> Mathieu Othacehe
2017-04-14build: Remove build-aux/hydra/demo-os.scm from EXTRA_DIST....* Makefile.am (EXTRA_DIST): Remove build-aux/hydra/demo-os.scm. The file was removed of guix in this commit a3a27745013f3e5a287de3bf0187b2f72beb6965. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Mathieu Othacehe
2017-04-07build: Include 'glibc-utf8-locales' in the binary tarball....* Makefile.am (guix-binary.%.tar.xz): Add 'glibc-utf8-locales' and 'glibc-final' to the 'guix pack' command line. * doc/guix.texi (Binary Installation): Mention 'etc/profile'. Ludovic Courtès
2017-03-27Merge branch 'master' into core-updatesLeo Famulari
2017-03-26import: stackage: Compile only if guile-json is available....* Makefile.am (MODULES): Move "guix/import/stackage.scm" within "if HAVE_GUILE_JSON". Sort the modules within that conditional. Mark H Weaver
2017-03-22Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
2017-03-20build: Install .go files to $libdir/guile/X.Y....* configure.ac: Define and substitute 'guileobjectdir'. * Makefile.am (nobase_nodist_guilemodule_DATA): Remove $(GOBJECTS). (nobase_nodist_guileobject_DATA): New variable. (guix_install_go_files): Adjust accordingly. (install-data-hook): Likewise. * scripts/guix.in (config-lookup): Add 'exec_prefix' and 'guileobjectdir'. Add '_' in VAR-REF-REGEXP. (maybe-augment-load-paths!): Distinguish OBJECT-DIR from MODULE-DIR. Ludovic Courtès
2017-03-19Merge branch 'master' into core-updatesMark H Weaver
2017-03-16utils: Move base16 procedures to (guix base16)....* guix/utils.scm (bytevector->base16-string, base16-string->bytevector): Move to... * guix/base16.scm: ... here. New file. * tests/utils.scm ("bytevector->base16-string->bytevector"): Move to... * tests/base16.scm: ... here. New file. * Makefile.am (MODULES): Add guix/base16.scm. (SCM_TESTS): Add tests/base16.scm. * build-aux/download.scm, guix/derivations.scm, guix/docker.scm, guix/import/snix.scm, guix/pk-crypto.scm, guix/scripts/authenticate.scm, guix/scripts/download.scm, guix/scripts/hash.scm, guix/store.scm, tests/hash.scm, tests/pk-crypto.scm: Adjust imports accordingly. Ludovic Courtès
2017-03-15Merge branch 'master' into core-updatesMarius Bakke
2017-03-14pack: Add unit test....* guix/scripts/pack.scm (self-contained-tarball): Add #:tar option. [build](tar-supports-sort?): New variable. Use it. * tests/pack.scm: New file. * Makefile.am (SCM_TESTS): Add it. Ludovic Courtès
2017-03-14pack: Add '--localstatedir' option....* guix/scripts/pack.scm (self-contained-tarball): Add #:localstatedir? parameter and honor it. (%options, show-help): Add '--localstatedir'. (guix-pack): Honor it. * gnu/build/install.scm (populate-single-profile-directory): Add #:register? parameter and honor it. * doc/guix.texi (Binary Installation): Use '--localstatedir' in example. (Invoking guix pack): Document it. Ludovic Courtès
2017-03-13Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
2017-03-12Add 'guix pack'....* gnu/system/install.scm (self-contained-tarball): Move to... * guix/scripts/pack.scm: ... here. New file. * doc/guix.texi (Binary Installation): Mention 'guix pack'. (Invoking guix pack): New node. * build-aux/make-binary-tarball.scm: Remove. * Makefile.am (MODULES): Add guix/scripts/pack.scm. (EXTRA_DIST): Remove build-aux/make-binary-tarball.scm. (guix-binary.%.tar.xz): Rewrite using 'guix pack'. * build-aux/hydra/gnu-system.scm (tarball-jobs): Adjust accordingly. Ludovic Courtès
2017-03-09Merge branch 'master' into core-updatesLudovic Courtès
2017-02-27gnu: emacs: Move "guix-emacs.el" to "aux-files"....* emacs/guix-emacs.el: Rename to... * gnu/packages/aux-files/emacs/guix-emacs.el: ... this. * Makefile.am (AUX_FILES): Add it. * gnu/packages/emacs.scm (emacs)[inputs]: Remove 'guix' source. [native-inputs]: Add "guix-emacs.el" auxiliary file. [arguments]: Adjust 'install-site-start' phase accordingly. Alex Kost
2017-02-27gnu: linux: Move configuration files to "aux-files"....* gnu/packages/linux-libre-4.1-i686.conf: Rename to... * gnu/packages/aux-files/linux-libre/4.1-i686.conf: ... this. * gnu/packages/linux-libre-4.1-x86_64.conf: Rename to... * gnu/packages/aux-files/linux-libre/4.1-x86_64.conf: ... this. * gnu/packages/linux-libre-4.4-i686.conf: Rename to... * gnu/packages/aux-files/linux-libre/4.4-i686.conf: ... this. * gnu/packages/linux-libre-4.4-x86_64.conf: Rename to... * gnu/packages/aux-files/linux-libre/4.4-x86_64.conf: ... this. * gnu/packages/linux-libre-4.9-i686.conf: Rename to... * gnu/packages/aux-files/linux-libre/4.9-i686.conf: ... this. * gnu/packages/linux-libre-4.9-x86_64.conf: Rename to... * gnu/packages/aux-files/linux-libre/4.9-x86_64.conf: ... this. * gnu/packages/linux-libre-4.10-i686.conf: Rename to... * gnu/packages/aux-files/linux-libre/4.10-i686.conf: ... this. * gnu/packages/linux-libre-4.10-x86_64.conf: Rename to... * gnu/packages/aux-files/linux-libre/4.10-x86_64.conf: ... this. * gnu/packages/linux.scm (kernel-config): Use 'search-auxiliary-file' to find configuration files. * Makefile.am (KCONFIGS): Rename to... (AUX_FILES): ... this. Adjust accordingly. Alex Kost
2017-02-20Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
2017-02-20gnu: linux-libre: Update to 4.10. Keep 4.9 as longterm release....* gnu/packages/linux.scm (%linux-libre-version): Update to 4.10. (%linux-libre-hash): Update hash. (linux-libre-4.9): New variable. * gnu/packages/linux-libre-4.10-x86_64.conf, gnu/packages/linux-libre-4.10-i686.conf: New files. * Makefile.am (KCONFIGS): Add them. Mark H Weaver
2017-02-10Merge branch 'master' into core-updatesLudovic Courtès
2017-02-10gnu: Add dub-build-system....* guix/build-system/dub.scm: New file. * guix/build/dub-build-system.scm: New file. * Makefile.am (MODULES): Add them. * doc/guix.texi: Add section for dub-build-system. Danny Milosavljevic
2017-02-09import: Add stackage importer and updater....* guix/import/stackage.scm: New file. * guix/scripts/import/stackage.scm: New file. * Makefile.am (MODULES): Add new files. * guix/scripts/import.scm (importers): Add "stackage". * guix/scripts/refresh.scm (%updaters): Add %stackage-updater. * doc/guix.texi (Invoking 'guix import'): Document the importer. (Invoking 'guix refresh'): Add stackage to option --type valid values. * guix/import/hackage.scm (guix-package->hackage-name, hackage-fetch, hackage-source-url, hackage-cabal-url, hackage-package?): Export them. Federico Beffa
2017-02-02Merge branch 'master' into core-updatesLeo Famulari
2017-01-28Add (guix memoization)....* guix/combinators.scm (memoize): Remove. * guix/memoization.scm: New file. * Makefile.am (MODULES): Add it. * gnu/packages.scm, gnu/packages/bootstrap.scm, guix/build-system/gnu.scm, guix/build-system/python.scm, guix/derivations.scm, guix/gnu-maintenance.scm, guix/import/cran.scm, guix/import/elpa.scm, guix/modules.scm, guix/scripts/build.scm, guix/scripts/graph.scm, guix/scripts/lint.scm, guix/store.scm, guix/utils.scm: Adjust imports accordingly. Ludovic Courtès
2017-01-23Merge branch 'master' into core-updatesLudovic Courtès
2017-01-23search-paths: Allow specs with #f as their separator....This adds support for single-entry search paths. Fixes <http://bugs.gnu.org/25422>. Reported by Leo Famulari <leo@famulari.name>. * guix/search-paths.scm (<search-path-specification>)[separator]: Document as string or #f. (evaluate-search-paths): Add case for SEPARATOR as #f. (environment-variable-definition): Handle SEPARATOR being #f. * guix/build/utils.scm (list->search-path-as-string): Add case for SEPARATOR as #f. (search-path-as-string->list): Likewise. * guix/build/profiles.scm (abstract-profile): Likewise. * tests/search-paths.scm: New file. * Makefile.am (SCM_TESTS): Add it. * tests/packages.scm ("--search-paths with single-item search path"): New test. * gnu/packages/version-control.scm (git)[native-search-paths](separator): New field. Ludovic Courtès
2017-01-07gnu: linux-libre: Update to 4.9.1....* gnu/packages/linux.scm (%linux-libre-version, %linux-libre-hash) (linux-libre): Update to 4.9.1. * gnu/packages/linux-libre-4.8-x86_64.conf, gnu/packages/linux-libre-4.8-i686.conf: Delete files. * gnu/packages/linux-libre-4.9-x86_64.conf, gnu/packages/linux-libre-4.9-i686.conf: New files. * Makefile.am (KCONFIGS): Update accordingly. Mark H Weaver
2017-01-06guix: Add Docker image export....* guix/docker.scm: New file. * Makefile.am (MODULES): Register it. * guix/scripts/archive.scm (show-help, %options, guix-archive): Add support for "--format". * doc/guix.texi (Invoking guix archive): Document it. Ricardo Wurmus
2017-01-04gnu: Add ocaml-build-system....* guix/build/ocaml-build-system.scm: New file. * guix/build-system/ocaml.scm: New file. * Makefile.am (MODULES): Add them. * gnu/packages/ocaml.scm (ocaml)[native-search-paths]: Adjuste OCAMLPATH. Signed-off-by: David Craven <david@craven.ch> Julien Lepiller
2016-12-31Add 'guix copy'....* guix/scripts/copy.scm: New file. * guix/scripts/archive.scm (options->derivations+files): Export. * doc/guix.texi (Invoking guix copy): New node. * Makefile.am (MODULES) [HAVE_GUILE_SSH]: Add guix/scripts/copy.scm. * po/guix/POTFILES.in: Likewise. Ludovic Courtès
2016-12-31Add (guix ssh) module....* guix/scripts/offload.scm (connect-to-remote-daemon) (store-import-channel, store-export-channel, send-files) (retrieve-files): Move to (guix ssh). (nonce): Add optional 'name' parameter and use it. (retrieve-files*): New procedure. (transfer-and-offload): Use it instead of 'retrieve-files', and add first parameter to 'send-files'. (assert-node-can-import): Likewise. (assert-node-can-export): Use 'retrieve-files' instead of 'store-export-channel'. * guix/ssh.scm: New file. * configure.ac: Use 'GUIX_CHECK_GUILE_SSH' and define 'HAVE_GUILE_SSH' Automake conditional. * Makefile.am (MODULES) [HAVE_GUILE_SSH]: Add guix/ssh.scm. Ludovic Courtès