guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#27344] [PATCH v2 06/12] gnu: Add freehdl.


From: Danny Milosavljevic
Subject: [bug#27344] [PATCH v2 06/12] gnu: Add freehdl.
Date: Sat, 24 Jun 2017 09:18:37 +0200

Hi Theodoros,

> +         (add-before 'configure 'patch-pkg-config
> +           (lambda _
> +             (substitute* "freehdl/freehdl-config"
> +               (("pkg-config") (which "pkg-config"))
> +               (("cat") (which "cat")))
> +             #t))

freehdl-config is installed, but it uses a path to pkg-config which is from a 
native-input (so it will not be retained).

Does this ever work again after removing pkg-config from your profile and then 
doing "guix gc" ?  I doubt it...

> +         (add-after 'configure 'patch-freehdl-pc
> +           (lambda _
> +             (substitute* "freehdl.pc"
> +               (("=g\\+\\+") (string-append "=" (which "g++")))
> +               (("=libtool") (string-append "=" (which "libtool"))))
> +             #t))

Same here...

> +         (add-after 'install-scripts 'make-wrapper
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (let ((out (assoc-ref outputs "out")))
> +               (wrap-program (string-append out "/bin/freehdl-config")
> +                 `("PKG_CONFIG_PATH" ":" prefix (,(string-append out 
> "/lib/pkgconfig")))))


> +             #t)))))
> +    (inputs
> +     `(("perl" ,perl)))
> +    (native-inputs
> +     `(("pkg-config" ,pkg-config)
> +       ("libtool" ,libtool)))

I've pushed PATCH v2 01 to 05 (inclusive) to master as:

- bf6e6c39646e6180f57a5146dd77a3a01d870c9e (adms)
- c5c380100635b47afb11c9bbb213ad1fc4cb5f64 (meep)
- 66c3639c468c822a33c746065bcbbae698d5900d (mpb)
- 5738ebee1b5e50e8e876c103be7afc2ec4f4daf0 (guile-libctl)
- 196627c2757c6dd6d2ef792e69eb6a969728cecf (harminv)

I'm not sure how to proceed so I'll stop at this point (with freehdl not in) 
until the path is clear :)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]