[Fedora-haskell-list] [Bug 460304] Add macros to GHC for packaging cabal packages for GHC

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 5 10:49:29 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=460304


Rajesh Krishnan <fedora at krishnan.cc> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fedora at krishnan.cc




--- Comment #16 from Rajesh Krishnan <fedora at krishnan.cc>  2008-09-05 06:49:28 EDT ---
Everyone, 

The default Yaakov's macros.ghc or Jens' macros.haskell are NOT adequate for
building cabal packages that have mixed-case package names.  I had to modify
those a little bit to get the test package (Cabal-1.4.0.2) working:

For the updated macros.ghc that could build a mixed-case cabal package, look
at:
http://krishnan.cc/devel/repository/fedora/MISC/macros.ghc

For the updated macros.haskell that could build a mixed-case cabal package,
look at:
http://krishnan.cc/devel/repository/fedora/MISC/macros.haskell

The files are quite small, so open either of those along with the corresponding
original ones in Kompare (or any other favorite diff program you prefer) to
note the differences (there are a few 'echo' traces in the file, let me know if
they are not needed and I would remove those).

For an example of package (with a mixed-case package-name) that builds with
this updated macros.ghc file, look at:
http://krishnan.cc/devel/repository/fedora/SRPMS/ghc-cabal-1.4.0.2-2.fc9.src.rpm

This is important because there are a lot of cabal based packages in Hackage
that have mixed-case package names.  I have already mentioned this before on
the Fedora Haskell List where I submitted Cabal-1.4.0.2 package for review.

I am attaching both here along with this comment.  

-Rajesh Krishnan

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-haskell-list mailing list