~ruther/guix-local

ref: 20848f3637af2bb97db03e9cd2e01d11494c6f02 guix-local/guix/packages.scm -rw-r--r-- 43.6 KiB
adc90e0e — Ludovic Courtès 10 years ago
Merge branch 'core-updates'
85b81cf8 — Ludovic Courtès 10 years ago
packages: Use locales from the /X.Y sub-directory of the locale package.

This is a followup to commit f2d7bbb.

* guix/packages.scm (patch-and-repack)[build]: Append "/X.Y" to
  LOCPATH.
afd3d931 — Ludovic Courtès 10 years ago
Use "normalized codesets" everywhere.

In other words, change "xx_YY.UTF-8" to "xx_YY.utf8".

* guix/profiles.scm (ca-certificate-bundle): Use "en_US.utf8" instead of
  "en_US.UTF-8".
* guix/packages.scm (patch-and-repack): Likewise.
* guix/build/gnu-build-system.scm (install-locale): Likewise.
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Likewise.
* gnu/packages/python.scm (python-ipython): Likewise.
* gnu/packages/gawk.scm (gawk): Likewise.
* build-aux/hydra/demo-os.scm: Likewise.
* gnu/packages/guile.scm (guile-ncurses)[arguments]: Remove
  'change-locale' phase.
e1556533 — Ludovic Courtès 10 years ago
Merge branch 'core-updates'
bd90127a — Mark H Weaver 10 years ago
Merge branch 'master' into core-updates
3b4d0103 — Eric Bavier 10 years ago
guix: packages: Add origin-actual-file-name.

* guix/scripts/graph.scm (uri->file-name, node-full-name): Move origin file
  name logic to...
* guix/packages.scm (origin-actual-file-name): ...here.
* tests/packages.scm ("origin-actual-file-name")
  ("origin-actual-file-name, file-name"): New tests.
75710da6 — Ludovic Courtès 10 years ago
Merge branch 'master' into core-updates
a6d0b306 — Eric Bavier 10 years ago
guix: packages: Add transitive-input-references.

* guix/packages.scm (transitive-input-references): New procedure.
* gnu/packages/version-control.scm (package-transitive-propagated-labels*)
  (package-propagated-input-refs): Delete.
  (git)[arguments]: Adjust to transitive-input-references.
140b4bc6 — Mark H Weaver 10 years ago
packages: Build tarballs in sorted order even if tar doesn't support it.

This is a followup to commit 92226a470ddc980e54863632e5b179bf40444bd7.

* guix/packages.scm (patch-and-repack)[build]: Determine if tar supports the
  "--sort=name" option using a run-time test.  If not supported, generate the
  sorted file list with 'find-files' and pass it to tar using "--files-from".
035b6ff7 — Ludovic Courtès 10 years ago
packages: Define '%hurd-systems'.

* guix/packages.scm (%hurd-systems): New variable.
92226a47 — Mark H Weaver 10 years ago
Build tarballs with deterministic file ordering.

* guix/packages.scm (patch-and-repack)[build],
  gnu/system/install.scm (self-contained-tarball)[build],
  gnu/packages/make-bootstrap.scm (tarball-package),
  gnu/packages/admin.scm (isc-dhcp),
  gnu/packages/video.scm (avidemux): Pass "--sort=name" to 'tar'.
52c20d8e — Mark H Weaver 10 years ago
packages: Add 'armhf-linux' to '%hydra-supported-systems'.

* guix/packages.scm (%hydra-supported-systems): Do not remove 'armhf-linux'
  from it.  It is now equal to '%supported-systems'.
e1705718 — Mark H Weaver 10 years ago
Merge branch 'core-updates'
2e9511df — Mark H Weaver 10 years ago
packages: patch-and-repack: Build tarballs deterministically.

* guix/packages.scm (patch-and-repack)[build]: When invoking 'tar' to repack
  the archive, pass "--mtime=@0", "--owner=root:0", and "--group=root:0".
161094c8 — Ludovic Courtès 10 years ago
packages: Rewrite 'transitive-inputs' to be linear and remove duplicates.

There were two issues:

  1. Use of 'delete-duplicates', which is quadratic, was a serious problem for
     closures with lots of propagated inputs, such as that of the 'hydra'
     package (several minutes for 'guix build hydra -n'!).

  2. The 'delete-duplicates' call essentially had no effect since duplicate
     inputs typically had a different label and were thus kept.  For
     instance, (bag-transitive-inputs (package->bag inkscape)) would return
     216 items whereas (delete-duplicates (map cdr THAT)) contains only 67
     items.

     The new implementation returns 67 items in this case.  For 'hydra', we're
     down from 42211 items to 361, and roughly 13s for 'guix build hydra'.

* guix/packages.scm (transitive-inputs): Rewrite as a breadth-first
  traversal.  Remove duplicate propagated inputs.
* tests/packages.scm ("package-transitive-inputs", "package->bag, propagated
  inputs"): Adjust to use simple labels for propagated inputs, without "/".
  ("package-transitive-inputs, no duplicates"): New test.
bcf2971f — Mark H Weaver 10 years ago
Merge branch 'master' into core-updates

Conflicts:
	gnu/packages/commencement.scm
	gnu/packages/xml.scm
0004c590 — Ludovic Courtès 10 years ago
packages: Make 'location' field innate.

* guix/packages.scm (<package>)[location]: Add 'innate' property.
* guix/build-system/gnu.scm (static-package): Remove 'loc' parameter and
  'location' field.
* gnu/packages/autotools.scm (autoconf-wrapper): Remove 'location' field.
* gnu/packages/commencement.scm (gnu-make-boot0, diffutils-boot0, gcc-final):
  Likewise.
* gnu/packages/cross-base.scm (cross): Likewise.
* gnu/packages/emacs.scm (emacs-no-x, emacs-no-x-toolkit): Likewise.
* gnu/packages/make-bootstrap.scm (tarball-package): Likewise.
* gnu/packages/maths.scm (petsc-complex): Likewise.
14928016 — Mark H Weaver 10 years ago
Merge branch 'master' into core-updates
86a81222 — 宋文武 10 years ago
Merge branch 'master' into gtk-rebuild

Conflicts:
	gnu/packages/gtk.scm
5ae4169c — Ludovic Courtès 11 years ago
packages: Use packages from '%final-inputs' as the default patch inputs.

Reported by Manolis Ragkousis <manolis837@gmail.com>
at <http://lists.gnu.org/archive/html/guix-devel/2015-05/msg00059.html>.

* guix/packages.scm (%standard-patch-inputs): Add 'canonical', and use
  it in 'ref'.
Next