~ruther/guix-local

bda1bc6c51a3a0176d19f2b7b66e192fc7e0dc78 — Ludovic Courtès 12 years ago 0562dbe
gnu: Make libgc 7.4 the default.

* gnu/packages/bdw-gc.scm (libgc): Rename to...
  (libgc-7.2): ... this.
  (libgc-7.4): Rename to...
  (libgc): ... this.
* gnu/packages/guile.scm (guile-2.0): Switch to LIBGC.
  (guile-2.0/fixed): Alias GUILE-2.0.
2 files changed, 5 insertions(+), 13 deletions(-)

M gnu/packages/bdw-gc.scm
M gnu/packages/guile.scm
M gnu/packages/bdw-gc.scm => gnu/packages/bdw-gc.scm +3 -3
@@ 23,7 23,7 @@
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages pkg-config))

(define-public libgc
(define-public libgc-7.2
  (package
   (name "libgc")
   (version "7.2e")


@@ 86,8 86,8 @@ lock-free code, experiment with thread programming paradigms, etc.")
    ;; Some source files are X11-style, others are GPLv2+.
    (license gpl2+)))

(define-public libgc-7.4
  (package (inherit libgc)
(define-public libgc
  (package (inherit libgc-7.2)
    (version "7.4.0")
    (source (origin
              (method url-fetch)

M gnu/packages/guile.scm => gnu/packages/guile.scm +2 -10
@@ 136,7 136,7 @@ without requiring the source code to be rewritten.")

      ;; The headers and/or `guile-2.0.pc' refer to these packages, so they
      ;; must be propagated.
      ("bdw-gc" ,libgc-7.4)
      ("bdw-gc" ,libgc)
      ("gmp" ,gmp)))

   (self-native-input? #t)


@@ 175,15 175,7 @@ without requiring the source code to be rewritten.")
(define-public guile-2.0/fixed
  ;; A package of Guile 2.0 that's rarely changed.  It is the one used
  ;; in the `base' module, and thus changing it entails a full rebuild.
  (package (inherit guile-2.0)
    (location (source-properties->location (current-source-location)))

    ;; Keep using the stable libgc.
    (propagated-inputs (map (match-lambda
                             (("bdw-gc" _)
                              `("bdw-gc" ,libgc))
                             (x x))
                            (package-propagated-inputs guile-2.0)))))
  guile-2.0)


;;;