aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAge
* build: Factorize module compilation in (guix build compile).Ludovic Courtès2017-10-22
| | | | | | | | | | | | | | * guix/build/compile.scm: New file. * Makefile.am (MODULES): Add it. * build-aux/compile-all.scm: Use it. (warnings, file->module, load-module-file) (%default-optimizations, %lightweight-optimizations) (optimization-options, compile-file*): Remove. <top level>: Use 'compile-files'. * guix/build/pull.scm (%default-optimizations) (%lightweight-optimizations, optimization-options): Remove. (build-guix): Rewrite as a call to 'compile-files'. * guix/discovery.scm (file-name->module-name): Export.
* download: Download a nar when a VCS checkout fails.Ludovic Courtès2017-10-19
| | | | | | | | | | | | Fixes <https://bugs.gnu.org/28709>. * guix/build/download-nar.scm: New file. * Makefile.am (MODULES): Add it. * guix/cvs-download.scm (cvs-fetch)[zlib, config.scm, modules]: New variables. [build]: Use MODULES. Add call to 'download-nar'. * guix/git-download.scm (git-fetch): Likewise. * guix/hg-download.scm (hg-fetch): Likewise.
* Add (guix progress).Ludovic Courtès2017-10-19
| | | | | | | | | | | | | | | | | | Among other things, this removes (guix utils), (guix ui), (guix config), etc. from the closure of (guix build download), as was the case since 798648515b77507c242752457b4dc17c155bad6e. * guix/utils.scm (<progress-reporter>, call-with-progress-reporter): Move to... * guix/progress.scm: ... here. New file. * Makefile.am (MODULES): Add it. * guix/build/download.scm (current-terminal-columns) (nearest-exact-integer, duration->seconds, seconds->string) (byte-count->string, progress-bar, string-pad-middle) (rate-limited, progress-reporter/file, dump-port*) (time-monotonic): Move to progress.scm. * guix/scripts/download.scm: Adjust accordingly. * guix/scripts/substitute.scm: Likewise.
* build: Add the Go build system.Leo Famulari2017-10-12
| | | | | | | * guix/build-system/go.scm, guix/build/go-build-system.scm: New files. * Makefile.am (MODULES): Add new files. * doc/guix.texi (Build Systems): Document the go-build-system.
* cuirass: Add 'cuirass-jobs.scm' target to compute the Cuirass jobs.Jan Nieuwenhuizen2017-09-28
| | | | | * build-aux/hydra/evaluate.scm: Support "cuirass" command line option. * Makefile.am (cuirass-jobs.scm): New target.
* import: Add JSON importer.Ricardo Wurmus2017-09-28
| | | | | | | * doc/guix.texi (Invoking guix import): Document it. * guix/scripts/import/json.scm: New file. * Makefile.am (MODULES): Add it. * guix/scripts/import.scm (importers): Add json importer.
* import: Add package->code.Ricardo Wurmus2017-09-28
| | | | | | | * guix/import/print.scm: New file. * tests/print.scm: New file. * Makefile.am (SCM_TESTS): Add new test file. (MODULES): Add print.scm.
* build: Build (guix import gnome) only when we have Guile-JSON.Ludovic Courtès2017-09-26
| | | | | * Makefile.am (MODULES): Move guix/import/gnome.scm under "if HAVE_GUILE_JSON".
* upstream: Add new GNOME updater.Ludovic Courtès2017-09-26
| | | | | | | | | | Partly fixes <https://bugs.gnu.org/28159>. Reported by Hartmut Goebel <h.goebel@crazy-compilers.com>. * guix/import/gnome.scm: New file. * Makefile.am (MODULES): Add it. * guix/gnu-maintenance.scm (latest-gnome-release) (%gnome-updater): Remove.
* build-system: Add 'meson-build-system'.Peter Mikkelsen2017-09-16
| | | | | | | | | | * Makefile.am (MODULES): Add 'guix/build-system/meson.scm' and 'guix/build/meson-build-system.scm'. * guix/build-system/meson.scm: New file. * guix/build/meson-build-system.scm: New file. * doc/guix.texi (Build Systems): Add 'meson-build-system'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* guix system: Add 'search' command.Ludovic Courtès2017-09-16
| | | | | | | | | | | | | | * guix/scripts/system.scm (resolve-subcommand): New procedure. (process-command): Handle 'search'. (guix-system): Likewise. (show-help): Augment. * guix/scripts/system/search.scm: New file. * po/guix/POTFILES.in: Add it. * Makefile.am (MODULES): Add it. * guix/ui.scm (%text-width): Export. * doc/guix.texi (Invoking guix system): Document it. (Service Types and Services): Mention 'guix system search'. * tests/guix-system.sh: Test it.
* uuid: Move tests to 'tests/uuid.scm'.Ludovic Courtès2017-09-14
| | | | | | | * tests/file-systems.scm ("uuid->string", "string->uuid") ("uuid", "uuid, syntax error"): Move to... * tests/uuid.scm: ... here. New file. ("uuid, ISO-9660, format preserved"): New test.
* gnu: linux-libre: Update to 4.13.Mark H Weaver2017-09-04
| | | | | | | | | | * gnu/packages/linux.scm (%linux-libre-version): Update to 4.13. (%linux-libre-hash): Update hash. * gnu/packages/aux-files/linux-libre/4.12-i686.conf, gnu/packages/aux-files/linux-libre/4.12-x86_64.conf: Delete files. * gnu/packages/aux-files/linux-libre/4.13-i686.conf, gnu/packages/aux-files/linux-libre/4.13-x86_64.conf: New files. * Makefile.am (AUX_FILES): Adjust accordingly.
* maint: Create an ISO9660 installation image in the 'release' target.Danny Milosavljevic2017-08-19
| | | | | | * Makefile.am (GUIXSD_IMAGE_BASE): Adapt target file name. (release): Use file-system-type iso9660. * doc/guix.texi: Document installation from DVD.
* build: Add minify build system.Ricardo Wurmus2017-08-04
| | | | | | | * guix/build-system/minify.scm: New file. * guix/build/minify-build-system: New file. * Makefile.am (MODULES): Add new files. * doc/guix.texi (Build Systems): Document minify-build-system.
* build: Make Guile-Git a hard requirement.Ludovic Courtès2017-08-02
| | | | | | * configure.ac: Error out when (git) is missing. * doc/guix.texi (Requirements): Mention Guile-Git. * Makefile.am (MODULES): Add guix/git.scm unconditionally.
* Add 'guix weather'.Ludovic Courtès2017-07-25
| | | | | | | | | | * guix/scripts/weather.scm: New file. * Makefile.am (MODULES): Add it. * doc/guix.texi (Substitutes, Invoking guix publish): Mention "guix weather". (Invoking guix weather): New node. Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
* gnu: linux-libre: Update to 4.12.Mark H Weaver2017-07-04
| | | | | | | | | | * gnu/packages/linux.scm (%linux-libre-version): Update to 4.12. (%linux-libre-hash): Update hash. * gnu/packages/aux-files/linux-libre/4.11-i686.conf, gnu/packages/aux-files/linux-libre/4.11-x86_64.conf: Delete files. * gnu/packages/aux-files/linux-libre/4.12-i686.conf, gnu/packages/aux-files/linux-libre/4.12-x86_64.conf: New files. * Makefile.am (AUX_FILES): Update accordingly.
* maint: Disk image size is automatically guessed.Ludovic Courtès2017-06-30
| | | | | | * Makefile.am (GUIXSD_VM_IMAGE_SIZE): Remove. (release): Remove --image-size argument from 'guix system disk-image' command.
* build: Remove check for broken (srfi srfi-37).Ludovic Courtès2017-06-30
| | | | | | | | | | | | This was for Guile < 2.0.9 and we've been requiring 2.0.9+ for some time already. * configure.ac: Remove 'GUIX_CHECK_SRFI_37' use and 'INSTALL_SRFI_37' conditional. * Makefile.am: Remove code in "if INSTALL_SRFI_37". (EXTRA_DIST): Remove srfi/srfi-37.scm.in. * srfi/srfi-37.scm.in: Remove. * m4/guix.m4 (GUIX_CHECK_SRFI_37): Remove.
* guix: Add texlive importer.Ricardo Wurmus2017-06-15
| | | | | | | | | | * guix/import/texlive.scm: New file. * guix/scripts/import/texlive.scm: New file. * Makefile.am (MODULES): Add them. * tests/texlive.scm: New file. * Makefile.am (SCM_TESTS): Add it. * guix/scripts/import.scm (importers): Add texlive importer. * doc/guix.texi (Invoking guix import): Document it.
* build-system: Add 'texlive-build-system'.Ricardo Wurmus2017-06-15
| | | | | | | | | * guix/build-system/texlive.scm: New file. * guix/build/texlive-build-system.scm: New file. * Makefile.am (MODULES): Add them. * doc/guix.texi (Build Systems): Document it. * gnu/packages/tex.scm (%texlive-tag, %texlive-revision): Remove variables. (texlife-ref): Remove procedure.
* guix: git: Add new module.Mathieu Othacehe2017-06-09
| | | | | | * guix/git.scm: New file. * configure.ac: Check for (guile git). * Makefile.am: Build guix/git.scm if (guile git) is available.
* build-system: Add 'font-build-system'.Arun Isaac2017-05-28
| | | | | | | | * Makefile.am (MODULES): Add 'guix/build-system/font.scm' and 'guix/build/font-build-system.scm'. * guix/build-system/font.scm: New file. * guix/build/font-build-system.scm: New file. * doc/guix.texi (Build Systems): Add 'font-build-system'.
* maint: The 'release' target builds a VM image.Leo Famulari2017-05-20
| | | | | | | | | | * gnu/system/examples/vm-image.tmpl: New file. * Makefile.am (GUIXSD_VM_SYSTEMS, GUIXSD_VM_IMAGE_BASE, GUIXSD_VM_IMAGE_SIZE): New variables. (release): Add logic to build a VM image. (EXAMPLES): Add 'gnu/system/examples/vm-image.tmpl'. * doc/guix.texi (Running GuixSD in a VM, Installing GuixSD in a VM): Mention the pre-built VM image.
* build: Compile stackage only if 'guile-json' is available.Alex Kost2017-05-20
| | | | | | | | | | Fixes <http://bugs.gnu.org/26860>. This is a followup to commit 3089b5d3f5a31b191b68ce3aa9255b646940b642. * Makefile.am (MODULES): Move "guix/scripts/import/stackage.scm" within 'if HAVE_GUILE_JSON'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* maint: Add 'update-NEWS' target.Ludovic Courtès2017-05-18
| | | | | | | | * build-aux/update-NEWS.scm: New file. * Makefile.am (EXTRA_DIST): Add it. (GUIX_MAINTENANCE_DIRECTORY): New variable. (update-NEWS): New target. (.PHONY): Add it.
* maint: 'release' now depends on 'dist', not 'distcheck'.Ludovic Courtès2017-05-14
| | | | * Makefile.am (release): Depend on 'dist' instead of 'distcheck'.
* maint: Really build GuixSD for different systems.Ludovic Courtès2017-05-14
| | | | | * Makefile.am (release): Add missing --system flag to 'guix system disk-image'. Reported by Leo Famulari.
* build: 'assert-no-store-file-names' depends on ChangeLog.Ludovic Courtès2017-05-14
| | | | | | | | | | | 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.
* guix: Add java-utils.Hartmut Goebel2017-05-10
| | | | | | | | * 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>
* maint: Tweak the 'release' target.Ludovic Courtès2017-05-09
| | | | | | | * 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.
* maint: Add 'release' target.Ludovic Courtès2017-05-09
| | | | | | | | | | 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.
* maint: Add bayfront.guixsd.org signing key.Ludovic Courtès2017-05-08
| | | | | * bayfront.guixsd.org.pub: New file. * Makefile.am (dist_pkgdata_DATA): Add it.
* maint: "distcheck" inherits the test root directory.Ludovic Courtès2017-05-08
| | | | * Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): Add 'ac_cv_guix_test_root'.
* build: Use 'guix pack -K' for the 'guix-binary*.tar.xz' targets.Ludovic Courtès2017-05-07
| | | | * Makefile.am (guix-binary.%.tar.xz): Add -K flag for 'guix pack'.
* maint: Add 'update-guix-package' target.Ludovic Courtès2017-05-07
| | | | | | | | * 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.
* Revert "guix: git: Add new module."Leo Famulari2017-05-05
| | | | | | | | | This reverts commit a70b784708fb5e1b78430aa793d89ca04bc641a8. Commit a70b784708f caused `guix pull` to fail: ERROR: In procedure scm-error: ERROR: no code for module (git)
* guix: git: Add new module.Mathieu Othacehe2017-05-05
| | | | | | * guix/git.scm: New file. * configure.ac: Check for (guile git). * Makefile.am: Build guix/git.scm if (guile git) is available.
* build: Use Gnulib's 'git-version-gen'.Ludovic Courtès2017-05-04
| | | | | | | | | * 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.
* build: Remove 'sync-descriptions' target.Ludovic Courtès2017-05-04
| | | | | | | | 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'.
* Add (guix discovery).Ludovic Courtès2017-05-03
| | | | | | | | | | * 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.
* build: Install gnu/build/svg.scm.Ludovic Courtès2017-05-02
| | | | | | | | | | 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.
* build: 'check-system' now depends on the bootstrap Guile tarballs.Ludovic Courtès2017-05-02
| | | | | | | | 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).
* gnu: linux-libre: Update to 4.11.Mark H Weaver2017-05-01
| | | | | | | | | | * 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.
* store: Support 'ssh://' URIs in 'GUIX_DAEMON_SOCKET'.Ludovic Courtès2017-04-21
| | | | | | | | | | | 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.
* Add (guix cache) and use it in (guix scripts substitute).Ludovic Courtès2017-04-18
| | | | | | | | | | | | | | | * 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'.
* Add (guix workers).Ludovic Courtès2017-04-18
| | | | | | * guix/workers.scm, tests/workers.scm: New files. * Makefile.am (MODULES, SCM_TESTS): Add them. * .dir-locals.el: Add rule for 'eventually'.
* build: Stop building gnu/build/svg.scm.Mathieu Othacehe2017-04-14
| | | | | | | | | | | | | | * 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>
* build: Remove build-aux/hydra/demo-os.scm from EXTRA_DIST.Mathieu Othacehe2017-04-14
| | | | | | | | * 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>