I should have mentioned that these patches are for the haskell-devscripts package. Also, I've been using them for over a year, the 150 builds I mention are just for this version 0.9 compatibility update.On Fri, Mar 27, 2015 at 8:41 AM, David Fox <dsf@seereason.com> wrote:These eleven patches start with some bug fixes, followed by some
fairly major changes to parameterize the haskell compiler name,
finally adding support for ghcjs specifically. A lot of the changes
are due to translating make rules to bash code, moving them from
hlibrary.mk to Dh_Haskell.sh, leaving function calls in hlibrary.mk.
Then additional rules are added to hlibrary.mk for the ghcjs packages,
with modified function parameters. Finally, some disabled debugging
code is added to give a nice trace of the execution, but this patch is
optional.
I've successfully built about 100 ghc packages and 50 ghcjs packages
with these changes.
David Fox (11):
Allow building of documentation when when package has no Haskell
modules
Fix a bash error - single quote prevents expansion of shell variables
Remove support for obsolete doc package prefix 'haskell-'
Pass --with-haddock and --with-ghc to haddock, --package-db to cabal
configure
Reword some error messages and indicate where they originate
Add functions to Dh_Haskell.hs
Turn the Make rules into shell functions
Parameterize the compiler name
Add support for building ghcjs packages
Add a compiler parameter to the dh_haskell_blurbs script
Debugging code (disabled)
Dh_Haskell.sh | 343 ++++++++++++++++++++++++++++++++++++++++++++---
dh_haskell_blurbs | 24 +++-
dh_haskell_depends | 30 +++--
dh_haskell_extra_depends | 8 +-
dh_haskell_provides | 26 ++--
dh_haskell_shlibdeps | 15 ++-
hlibrary.mk | 121 +++++++----------
7 files changed, 438 insertions(+), 129 deletions(-)
--
1.9.1
--
To UNSUBSCRIBE, email to debian-haskell-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] CAM8C2CDb8q9fRAq-RAOMkrvooVHuehQLOA+2yauoVnH4_7-Ymw@mail.gmail.com" target="_blank">https://lists.debian.org/[🔎] CAM8C2CDb8q9fRAq-RAOMkrvooVHuehQLOA+2yauoVnH4_7-Ymw@mail.gmail.com