[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add ghc-sdl-mixer.
From: |
Paul van der Walt |
Subject: |
Re: [PATCH] gnu: Add ghc-sdl-mixer. |
Date: |
Thu, 22 Oct 2015 18:04:19 +0200 |
On 2015-10-22 at 10:47, quoth address@hidden:
>> + `(#:configure-flags
>> + (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
>> + (sdl-mixer-lib (string-append sdl-mixer "/lib"))
>> + (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
>> + (list (string-append "--extra-include-dirs=" sdl-mixer-include)
>> + (string-append "--extra-lib-dirs=" sdl-mixer-lib)))
>
> Is the --extra-lib-dirs argument really necessary? I think
> haskell-build-system already passes flags for every "lib" directory it
> sees in inputs.
Indeed, that was a troubleshooting remnant. Thanks! Removed.
>> + #:phases
>> + (modify-phases %standard-phases
>> + (add-before
>> + 'configure 'fix-/bin/sh
>> + (lambda _
>> + ;; Use `sh', not `/bin/sh'.
>> + (substitute* (find-files "." "Makefile|configure")
>> + (("/bin/sh") "sh")))))))
>
> See comments about ghc-doctest package.
I assume you mean the more elegant CONFIG_SHELL environment variable
patch? If so, it's been fixed.
>> + (propagated-inputs
>> + `(("sdl-mixer" ,sdl-mixer)
>
> I can understand propagating ghc-sdl, but is it necessary to propagate the
> sdl-mixer library too?
You're right, it's not. Removed.
>> + ("ghc-sdl" ,ghc-sdl)))
>> + (home-page
>> + "http://hackage.haskell.org/package/SDL-mixer")
>> + (synopsis "Binding to libSDL_mixer")
>
> "Haskell bindings to libSDL_mixer"
Fixed.
> Similar comments for the ghc-sdl-image patch.
The same changes have been applied to ghc-sdl-image.
Thank you!
p.
- Re: [PATCH] gnu: Add ghc-haskell-src-exts., (continued)
Re: [PATCH] gnu: Add ghc-openglraw., ericbavier, 2015/10/22
Re: [PATCH] gnu: Add ghc-haddock-api., ericbavier, 2015/10/22
Re: [PATCH] gnu: Add ghc-sdl-mixer., ericbavier, 2015/10/22
- Re: [PATCH] gnu: Add ghc-sdl-mixer.,
Paul van der Walt <=
Re: [PATCH] gnu: Add ghc-regex-base., ericbavier, 2015/10/22
Re: [PATCH] gnu: Add ghc-reflection., ericbavier, 2015/10/22
Re: [PATCH] gnu: Add ghc-opengl., ericbavier, 2015/10/22
Re: [PATCH] gnu: Add ghc-pcre-light., ericbavier, 2015/10/22
Re: [PATCH] gnu: Add ghc-regex-tdfa-rc., ericbavier, 2015/10/22