~ruther/guix-local

ref: aad560a56f7c5c9ea2bcf7c3e51973ef826f736f guix-local/build-aux/list-packages.scm -rwxr-xr-x 14.4 KiB
aad560a5 — Ludovic Courtès 12 years ago
list-packages: Make 'snippet-link' more tolerant.

* build-aux/list-packages.scm (package->sxml)[snippet-link]: If
  'package-field-location' returns #f, use 'package-location.
edae5b3d — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates

Conflicts:
	guix/packages.scm
a2543006 — Ludovic Courtès 12 years ago
list-packages: Produce link to the origin snippet, if any.

* build-aux/list-packages.scm (package->sxml)[patches](snippet-link):
  New procedure.
  Use it to produce a link to the 'origin-snippet', if any.
d4f1ce4d — Ludovic Courtès 12 years ago
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.
7facbf2b — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates
a4141d6d — Alex Sassmannshausen 12 years ago
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>
8ce3104e — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates
3d1b29a5 — Alex Sassmannshausen 12 years ago
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>
ba95e702 — Cyril Roelandt 12 years ago
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)
b866e4b3 — Alex Sassmannshausen 12 years ago
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>
251fbfdd — Cyril Roelandt 12 years ago
list-packages: Remove a useless "colspan" attribute.

* build-aux/list-packages.scm (package->sxml): remove a useless "colspan"
  attribute.
0e5b0f78 — Cyril Roelandt 12 years ago
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.
1b50671e — Cyril Roelandt 12 years ago
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.
2ad6bfab — Cyril Roelandt 12 years ago
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.
0938cd27 — Alex Sassmannshausen 12 years ago
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>
8bdf5241 — Alex Sassmannshausen 12 years ago
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>
73d9f3c5 — Ludovic Courtès 12 years ago
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.
d04434c0 — Ludovic Courtès 12 years ago
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.
edd258fd — Ludovic Courtès 12 years ago
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.
b592f711 — Ludovic Courtès 12 years ago
Add `build-aux/list-packages.scm'.

* build-aux/list-packages.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.