aboutsummaryrefslogtreecommitdiff
path: root/build-aux
AgeCommit message (Collapse)Author
2013-09-23build: check-available-binaries: Adjust to derivation API change.Ludovic Courtès
* build-aux/check-available-binaries.scm: Use 'derivation->output-path' instead of 'derivation-path->output-path'.
2013-09-18hydra: Pass the directory name of the Nix checkout.Ludovic Courtès
* build-aux/hydra/guix.scm (hydra-jobs): Extract the 'file-name' item from NIX-CHECKOUT, and pass that to 'tarball-package'.
2013-09-18hydra: Fix typo.Ludovic Courtès
* build-aux/hydra/guix.scm (tarball-package): Unquote 'nix-checkout'.
2013-09-18hydra: Add missing import.Ludovic Courtès
* build-aux/hydra/gnu-system.scm, build-aux/hydra/guix.scm: Use (guix derivations).
2013-09-18hydra: Return the .drv file names, not the <derivation> objects.Ludovic Courtès
* build-aux/hydra/gnu-system.scm (package->alist): Call 'derivation-file-name' on the result of 'package-derivation'. * build-aux/hydra/guix.scm (package->alist): Likewise.
2013-09-18hydra: Point the Git submodule to our local copy.Ludovic Courtès
* build-aux/hydra/guix.scm (tarball-package): Add 'nix-checkout' parameter. Replace 'patch-bootstrap-script' phase by 'set-nix-module'. (hydra-jobs): Get the 'nix' value from ARGUMENTS, and pass it to 'tarball-package'.
2013-09-08hydra: Support a 'subset' argument.Ludovic Courtès
* build-aux/hydra/gnu-system.scm (%core-packages): New variable. (%packages-to-cross-build): Make an alias for %CORE-PACKAGES. (hydra-jobs): Check for the 'subset' argument, and honor it for values "all" and "core".
2013-09-03hydra: Add Graphviz as an input to the "tarball" job.Ludovic Courtès
* build-aux/hydra/guix.scm (tarball-package): Add GRAPHVIZ to `native-inputs'.
2013-09-03hydra: Add Git as an input to the "tarball" job.Ludovic Courtès
* build-aux/hydra/guix.scm (tarball-package): Add `native-inputs' field.
2013-08-28list-packages: Tidy CSS in preparation for split into external file.Alex Sassmannshausen
* build-aux/list-packages.scm (insert-css): Tidy CSS alignment etc. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-08-25hydra: Comment out all Git invocations in `bootstrap'.Ludovic Courtès
* build-aux/hydra/guix.scm (tarball-package): Comment out all `git' invocations.
2013-08-25hydra: Add missing import.Ludovic Courtès
* build-aux/hydra/guix.scm: Use (srfi srfi-26).
2013-08-25hydra: Return a symbol/thunk pair.Ludovic Courtès
* build-aux/hydra/guix.scm (hydra-jobs): Return a symbol/thunk pair.
2013-08-24hydra: Extract the actual file name from the Guix checkout.Ludovic Courtès
* build-aux/hydra/guix.scm (hydra-jobs): Extract the `file-name' part of CHECKOUT.
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-19list-packages: properly specify the size of images.Cyril Roelandt
* build-aux/list-packages.scm (package->sxml, packages->sxml): specify the size of images in pixels (see http://www.w3.org/TR/html5/embedded-content-0.html#attr-dim-height)
2013-08-19list-packages: Add missing closing </div> after footer include.Alex Sassmannshausen
* build-aux/list-packages.scm (list-packages): Add missing closing </div> after footer include. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-08-17list-packages: Remove a useless "colspan" attribute.Cyril Roelandt
* build-aux/list-packages.scm (package->sxml): remove a useless "colspan" attribute.
2013-08-17list-packages: Add an "alt" attribute for the logos.Cyril Roelandt
* build-aux/list-packages.scm (package->sxml): add an alternative text for the logos of the packages.
2013-08-15list-packages: remove useless "language" attribute of "script" elementCyril Roelandt
See http://www.w3.org/TR/html5-diff/#changed-attributes for more information. * build-aux/list-packages.html (insert-js): remove "language" attribute, useless for the "script" element.
2013-08-15list-packages: remove deprecated "height" attribute on "td" element.Cyril Roelandt
See http://www.w3.org/TR/html5-diff/#obsolete-attributes for more information. * build-aux/list-packages.html(package-sxml)[description-id]: remove "height" attribute for "td" elements.
2013-08-15list-packages: Tidying and refactoring in preparation for substantive changes.Alex Sassmannshausen
* build-aux/list-packages.scm (package->sxml)[license, status]: Add title for <a> element. Add alt and title for gnu-logo <img> element. Add title to package website <a> element. (packages->sxml): Wrap <div id="intro"> intro paragraph in <p> element. Add table header row to <table id="packages"> Add <a> back to top of the page beneath table. (insert-css, insert-js): New procedures. (list-packages): Move JavaScript to 'insert-js', and CSS to 'insert-css'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-08-15list-packages: Centralise CSS styling in <head>.Alex Sassmannshausen
* build-aux/list-packages.scm (package-logo): Assign class of 'package-description' to package synopsis div; 'package-logo'. Move inline CSS where possible. (packages->sxml): Assign id of 'intro' to intro div, 'packages' to the table. Move inline CSS. (list-packages): Create new <style> section, containing all inline CSS. Move JavaScript <script> section to above banner include to place it in <head>. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-07-17build: Check the availability of i686-linux binaries.Ludovic Courtès
* build-aux/check-available-binaries.scm (%supported-systems): New variable. (native): Map over these.
2013-07-16list-packages: Add links to hydra.gnu.org.Ludovic Courtès
* build-aux/list-packages.scm (package->sxml)[status]: New procedure. Use it at the end of each description. (packages->sxml): Add link to hydra.gnu.org.
2013-07-16hydra: Fix typo.Ludovic Courtès
* build-aux/hydra/gnu-system.scm (hydra-jobs): Use `cons', not `append'.
2013-07-16hydra: Build for all the specified systems.Ludovic Courtès
* build-aux/hydra/gnu-system.scm (hydra-jobs): Pick all the `system' keys in ARGUMENTS. [cross-jobs]: Turn into a procedure, with a `system' parameter. Build packages for all of SYSTEMS and %CROSS-TARGETS.
2013-07-16hydra: Distinguish between jobs for different system types.Ludovic Courtès
* build-aux/hydra/gnu-system.scm (package-job, package-cross-job): Append `.SYSTEM' to the job name.
2013-07-16hydra: Honor the `system' argument.Ludovic Courtès
* build-aux/hydra/gnu-system.scm (hydra-jobs): Really look up the `system' symbol in ARGUMENTS.
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-10list-packages: Show the package logo, when available.Ludovic Courtès
* build-aux/list-packages.scm (lookup-gnu-package): New procedure. (package->sxml): Add the package logo, when available, next to the description.
2013-07-10list-packages: Write out the HTML page as UTF-8.Ludovic Courtès
* build-aux/list-packages.scm (list-packages): Install the "C" locale. Write out as UTF-8.
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-04Import (guix hash) in build-aux/download.scm.Ludovic Courtès
* build-aux/download.scm: Import (guix hash). Reported by Matthew Lien <bluet@bluet.org>.
2013-06-26build: Add "mips64el-linux-gnuabi64" as a cross build target.Ludovic Courtès
* build-aux/hydra/gnu-system.scm (%packages-to-cross-build): Add %bootstrap-tarballs. (%cross-targets): Add "mips64el-linux-gnuabi64".
2013-06-25build: Build the bootstrap tarballs on Hydra.Ludovic Courtès
* build-aux/hydra/gnu-system.scm (%packages-to-cross-build): Uncomment the bootstrap tarball packages.
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-05-12build: Add `gitlog-to-changelog'.Ludovic Courtès
* build-aux/gitlog-to-changelog: New file, from Gnulib.
2013-04-25packages: Use `read' and source properties for `package-field-location'.Ludovic Courtès
* guix/packages.scm (package-field-location): Rewrite using `read' and source properties. Change to return #f upon failure. * tests/packages.scm ("package-field-location"): Check for #f upon failure. * build-aux/sync-synopses.scm: Adjust accordingly.
2013-04-22packages: Add `package-field-location'.Ludovic Courtès
* guix/packages.scm (package-field-location): New procedure. * build-aux/sync-synopses.scm: Use it instead of `package-location'. * tests/packages.scm ("package-field-location"): New test.
2013-04-17build: Add `sync-synopses.scm'.Ludovic Courtès
* build-aux/sync-synopses.scm: New file. * Makefile.am (EXTRA_DIST): Add it. (dist-hook): New target.
2013-03-19Work around <http://bugs.gnu.org/13095> in build-aux/download.scm.Ludovic Courtès
* build-aux/download.scm: Annihilate `shutdown' in (web client). Reported by Aljosha Papsch.
2013-01-15distro: Fetch bootstrap binaries from alpha.gnu.org.Ludovic Courtès
* build-aux/download.scm (%url-base): Change to alpha.gnu.org. * distro/packages/bootstrap.scm (%bootstrap-base-url): Rename to... (%bootstrap-base-urls): ... this. Add alpha.gnu.org as the first URL. Update users.
2013-01-06Merge branch 'master' into core-updatesLudovic Courtès
Conflicts: build-aux/download.scm distro/packages/autotools.scm distro/packages/base.scm distro/packages/bootstrap.scm distro/packages/lsh.scm distro/packages/make-bootstrap.scm distro/packages/ncurses.scm distro/packages/perl.scm tests/derivations.scm tests/union.scm
2013-01-06distro: Update bootstrap binaries to an nscd-less libc.Ludovic Courtès
Update bootstrap binaries following changes in commit d3b5972 ("Build glibc without nscd, and with static NSS modules.") * Makefile.am (distro/packages/bootstrap/x86_64-linux/guile-2.0.7.tar.xz, distro/packages/bootstrap/i686-linux/guile-2.0.7.tar.xz): Update hashes. * build-aux/download.scm (file-name->uri): Update URL. * distro/packages/bootstrap.scm (%bootstrap-coreutils&co, %bootstrap-binutils, %bootstrap-glibc, %bootstrap-gcc): Update URLs and hashes.
2013-01-06Update license headers.Ludovic Courtès
Change all license headers, except guix/build/* and ld-wrapper.scm, with this code: (use-modules (guix build utils) (srfi srfi-1)) (fluid-set! %default-port-encoding "UTF-8") (substitute* (remove (lambda (f) (or (string-contains f ".tar.") (string-contains f ".git/") (string-contains f ".so") (string-suffix? ".o" f) (string-suffix? ".a" f) (string-suffix? ".go" f) (string-suffix? ".pdf" f) (string-suffix? ".png" f) (string-suffix? ".info" f) (equal? (basename f) "guix-daemon") (equal? (basename f) "nix-setuid-helper") (string-contains f "nix-upstream/") (string-contains f "distro/packages/bootstrap/"))) (find-files "." "\\.[a-z]+$")) (("^([[:graph:]]+) This file is part of Guix." _ comment-start) (string-append comment-start " This file is part of GNU Guix.")) (("^([[:graph:]]+) Guix --- Nix package management.*" _ comment-start) (string-append comment-start " GNU Guix --- Functional package management for GNU\n")) (("^([[:graph:]]+) Guix is " _ comment-start) (string-append comment-start " GNU Guix is ")) (("^([[:graph:]]+) along with Guix." _ comment-start) (string-append comment-start " along with GNU Guix.")) (("^([[:graph:]]+) Copyright \\(C\\)" _ comment-start) (string-append comment-start " Copyright ©"))) Change headers using C-style comments manually.
2012-12-20distro: Update bootstrap binaries.Ludovic Courtès
Use bootstrap binaries that were generated with the `make-bootstrap' changes introduced in previous commit. * Makefile.am (nodist_bootstrap_x86_64_linux_DATA, nodist_bootstrap_i686_linux_DATA): Change Guile tarball name. (distro/packages/bootstrap/x86_64-linux/guile-2.0.7.tar.xz, distro/packages/bootstrap/i686-linux/guile-2.0.7.tar.xz): New targets. (distro/packages/bootstrap/x86_64-linux/guile-bootstrap-2.0.6.tar.xz, distro/packages/bootstrap/i686-linux/guile-bootstrap-2.0.6.tar.xz): Remove. * build-aux/download.scm (file-name->uri): Use "20121219" directory. * distro/packages/bootstrap.scm (%bootstrap-guile): Update file name. (%bootstrap-coreutils&co, %bootstrap-binutils, %bootstrap-glibc, %bootstrap-gcc): Update directory name and hashes.
2012-11-16distro: Rebuild bootstrap Binutils and GCC.Ludovic Courtès
These new binaries are built with the `--with-lib-path' and `--with-local-prefix' flags, respectively, as introduced in commit 01d4540. * distro/packages/bootstrap.scm (%bootstrap-coreutils&co, %bootstrap-glibc): Update URL. (%bootstrap-binutils, %bootstrap-gcc): Update URL and hashes. * build-aux/download.scm (file-name->uri): Update URL.
2012-10-17distro: Use our own pre-built Guile to bootstrap.Ludovic Courtès
* distro/packages/base.scm (%bootstrap-guile): Build from a tarball containing a pre-built Guile. * distro.scm (%bootstrap-binaries-directory): New variable. (search-bootstrap-binary): New procedure. * Makefile.am (bootstrapdir, bootstrap_x86_64_linuxdir, dist_bootstrap_x86_64_linux_DATA, DISTCLEANFILES, DOWNLOAD_FILE): New variables. (distro/packages/bootstrap/x86_64-linux/guile-bootstrap-2.0.6.tar.xz): New rule. (EXTRA_DIST): Add `build-aux/download.scm'. (.scm.go): Define the `DISTRO_BOOTSTRAP_DIRECTORY' and `DISTRO_INSTALLED_BOOTSTRAP_DIRECTORY' environment variables. * pre-inst-env.in: Define `DISTRO_BOOTSTRAP_DIRECTORY'. * build-aux/download.scm: New file. * distro/packages/bootstrap/x86_64-linux/{bash, mkdir, tar, xz}: New files.