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

[PATCH 00/11] Series of patches to support ghcjs packages



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


Reply to: