Ludovic Courtès
d4f1ce4da0
list-packages: Show a list of patches for each package.
...
* build-aux/list-packages.scm (list-join): New procedure.
(package->sxml)[patch-url]: New procedure.
Use it.
2013-10-09 21:52:22 +02:00
Ludovic Courtès
668d48a684
build: 'sync-descriptions' now compares GNU package descriptions.
...
* 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-09 16:13:02 +02:00
Alex Sassmannshausen
a4141d6d53
list-packages: Progressive Enhancement approach to JS.
...
* build-aux/list-packages.scm (package->sxml): Add parameters previous,
description-ids and remaining, update docstring accordingly. Introduce logic
for fold-values process.
(insert-tr): Moved sxml package table-row generation to new function; remove
<a> elements and JS function calls. These are created through JS
(prep_pkg_descs). Add insert-js-call for every 15th package, and the last.
(insert-js-call): New function.
(packages->sxml): Change map to fold values; add init params.
(insert-js): show_hide: add compatibility check, introduce, use thingLink
prep: new JS function.
bulk_show_hide: new JS function.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-09-23 17:49:39 +02:00
Ludovic Courtès
f59e9eaac8
build: check-available-binaries: Adjust to derivation API change.
...
* build-aux/check-available-binaries.scm: Use 'derivation->output-path'
instead of 'derivation-path->output-path'.
2013-09-23 00:33:50 +02:00
Ludovic Courtès
72d9148fbf
hydra: Pass the directory name of the Nix checkout.
...
* build-aux/hydra/guix.scm (hydra-jobs): Extract the 'file-name' item
from NIX-CHECKOUT, and pass that to 'tarball-package'.
2013-09-18 23:07:45 +02:00
Ludovic Courtès
1210c32ecc
hydra: Fix typo.
...
* build-aux/hydra/guix.scm (tarball-package): Unquote 'nix-checkout'.
2013-09-18 20:58:49 +02:00
Ludovic Courtès
97d010b7f8
hydra: Add missing import.
...
* build-aux/hydra/gnu-system.scm, build-aux/hydra/guix.scm: Use (guix
derivations).
2013-09-18 20:49:47 +02:00
Ludovic Courtès
3301f17970
hydra: Return the .drv file names, not the <derivation> objects.
...
* 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-18 19:37:50 +02:00
Ludovic Courtès
37c0ce3d27
hydra: Point the Git submodule to our local copy.
...
* 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-18 19:00:13 +02:00
Ludovic Courtès
6bf25b7b05
hydra: Support a 'subset' argument.
...
* 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-08 12:10:25 +02:00
Ludovic Courtès
0280ef2203
hydra: Add Graphviz as an input to the "tarball" job.
...
* build-aux/hydra/guix.scm (tarball-package): Add GRAPHVIZ to
`native-inputs'.
2013-09-03 22:21:48 +02:00
Ludovic Courtès
7eed1d0438
hydra: Add Git as an input to the "tarball" job.
...
* build-aux/hydra/guix.scm (tarball-package): Add `native-inputs' field.
2013-09-03 22:07:21 +02:00
Alex Sassmannshausen
3d1b29a5c5
list-packages: Tidy CSS in preparation for split into external file.
...
* build-aux/list-packages.scm (insert-css): Tidy CSS alignment etc.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-08-28 14:18:29 +02:00
Ludovic Courtès
ef4eca529b
hydra: Comment out all Git invocations in `bootstrap'.
...
* build-aux/hydra/guix.scm (tarball-package): Comment out all `git'
invocations.
2013-08-25 20:37:59 +02:00
Ludovic Courtès
d29aa3b5a3
hydra: Add missing import.
...
* build-aux/hydra/guix.scm: Use (srfi srfi-26).
2013-08-25 18:58:15 +02:00
Ludovic Courtès
6ad507ae54
hydra: Return a symbol/thunk pair.
...
* build-aux/hydra/guix.scm (hydra-jobs): Return a symbol/thunk pair.
2013-08-25 16:48:10 +02:00
Ludovic Courtès
f29f066439
hydra: Extract the actual file name from the Guix checkout.
...
* build-aux/hydra/guix.scm (hydra-jobs): Extract the `file-name' part of
CHECKOUT.
2013-08-24 18:24:17 +02:00
Ludovic Courtès
59e6ae6cf1
hydra: Add job to run "make distcheck" on Guix.
...
* build-aux/hydra/guix.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2013-08-24 17:30:32 +02:00
Cyril Roelandt
ba95e7028f
list-packages: properly specify the size of images.
...
* 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-19 01:29:56 +02:00
Alex Sassmannshausen
b866e4b379
list-packages: Add missing closing </div> after footer include.
...
* 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-19 00:28:17 +02:00
Cyril Roelandt
251fbfddb7
list-packages: Remove a useless "colspan" attribute.
...
* build-aux/list-packages.scm (package->sxml): remove a useless "colspan"
attribute.
2013-08-17 23:08:31 +02:00
Cyril Roelandt
0e5b0f78f6
list-packages: Add an "alt" attribute for the logos.
...
* build-aux/list-packages.scm (package->sxml): add an alternative text for the
logos of the packages.
2013-08-17 20:05:48 +02:00
Cyril Roelandt
1b50671ee1
list-packages: remove useless "language" attribute of "script" element
...
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-15 19:30:21 +02:00
Cyril Roelandt
2ad6bfaba8
list-packages: remove deprecated "height" attribute on "td" element.
...
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-15 17:19:34 +02:00
Alex Sassmannshausen
0938cd2731
list-packages: Tidying and refactoring in preparation for substantive changes.
...
* 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-15 16:42:29 +02:00
Alex Sassmannshausen
8bdf5241dc
list-packages: Centralise CSS styling in <head>.
...
* 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-08-15 16:32:58 +02:00
Ludovic Courtès
c71493c8b9
build: Check the availability of i686-linux binaries.
...
* build-aux/check-available-binaries.scm (%supported-systems): New
variable.
(native): Map over these.
2013-07-17 11:07:28 +02:00
Ludovic Courtès
73d9f3c5b6
list-packages: Add links to hydra.gnu.org.
...
* 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-16 22:28:06 +02:00
Ludovic Courtès
4ec09bb410
hydra: Fix typo.
...
* build-aux/hydra/gnu-system.scm (hydra-jobs): Use `cons', not `append'.
2013-07-16 15:27:15 +02:00
Ludovic Courtès
77bed84246
hydra: Build for all the specified systems.
...
* 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-16 13:42:34 +02:00
Ludovic Courtès
195e81aa52
hydra: Distinguish between jobs for different system types.
...
* build-aux/hydra/gnu-system.scm (package-job, package-cross-job):
Append `.SYSTEM' to the job name.
2013-07-16 09:59:25 +02:00
Ludovic Courtès
4b7f3407e9
hydra: Honor the `system' argument.
...
* build-aux/hydra/gnu-system.scm (hydra-jobs): Really look up the
`system' symbol in ARGUMENTS.
2013-07-16 09:47:48 +02:00
Ludovic Courtès
56fbf2629f
build: Check for the availability of binaries upon "distcheck".
...
* build-aux/check-available-binaries.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
(distcheck-hook, assert-binaries-available): New target.
2013-07-15 23:51:28 +02:00
Ludovic Courtès
d04434c067
list-packages: Show the package logo, when available.
...
* build-aux/list-packages.scm (lookup-gnu-package): New procedure.
(package->sxml): Add the package logo, when available, next to the
description.
2013-07-10 23:16:07 +02:00
Ludovic Courtès
edd258fd6b
list-packages: Write out the HTML page as UTF-8.
...
* build-aux/list-packages.scm (list-packages): Install the "C" locale.
Write out as UTF-8.
2013-07-10 11:52:35 +02:00
Ludovic Courtès
b592f7113e
Add `build-aux/list-packages.scm'.
...
* build-aux/list-packages.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2013-07-10 00:27:53 +02:00
Ludovic Courtès
c769406010
Merge branch 'core-updates'
2013-07-09 22:17:18 +02:00
Ludovic Courtès
a1c39ede7d
Import (guix hash) in build-aux/download.scm.
...
* build-aux/download.scm: Import (guix hash).
Reported by Matthew Lien <bluet@bluet.org>.
2013-07-04 13:44:24 +02:00
Ludovic Courtès
58ab9f9b8e
build: Add "mips64el-linux-gnuabi64" as a cross build target.
...
* build-aux/hydra/gnu-system.scm (%packages-to-cross-build): Add
%bootstrap-tarballs.
(%cross-targets): Add "mips64el-linux-gnuabi64".
2013-06-26 22:41:09 +02:00
Ludovic Courtès
9306d350b2
build: Build the bootstrap tarballs on Hydra.
...
* build-aux/hydra/gnu-system.scm (%packages-to-cross-build): Uncomment
the bootstrap tarball packages.
2013-06-25 23:45:34 +02:00
Ludovic Courtès
f3211ef386
build: Move Hydra recipe to build-aux/hydra.
...
* hydra.scm: Rename to...
* build-aux/hydra/gnu-system.scm: ... this.
* Makefile.am (EXTRA_DIST): Adjust accordingly.
2013-06-20 23:41:31 +02:00
Ludovic Courtès
f5ebf5c6ac
build: Add `gitlog-to-changelog'.
...
* build-aux/gitlog-to-changelog: New file, from Gnulib.
2013-05-12 22:41:11 +02:00
Ludovic Courtès
f903dc056a
packages: Use read' and source properties for
package-field-location'.
...
* 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-25 00:13:56 +02:00
Ludovic Courtès
d66c70967f
packages: Add `package-field-location'.
...
* 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-22 23:07:13 +02:00
Ludovic Courtès
0e993428ce
build: Add `sync-synopses.scm'.
...
* build-aux/sync-synopses.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
(dist-hook): New target.
2013-04-17 18:09:43 +02:00
Ludovic Courtès
881a4cf13a
Work around < http://bugs.gnu.org/13095 > in build-aux/download.scm.
...
* build-aux/download.scm: Annihilate `shutdown' in (web client).
Reported by Aljosha Papsch.
2013-03-19 16:57:46 +01:00
Ludovic Courtès
04732c37ca
distro: Fetch bootstrap binaries from alpha.gnu.org.
...
* 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-15 11:34:54 +01:00
Ludovic Courtès
4050e5d6cf
Merge branch 'master' into core-updates
...
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-06 17:33:02 +01:00
Ludovic Courtès
79580eb698
distro: Update bootstrap binaries to an nscd-less libc.
...
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-06 01:16:14 +01:00
Ludovic Courtès
233e76769a
Update license headers.
...
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.
2013-01-06 00:47:50 +01:00