Fedora Haskell

Introduction

Fedora Haskell provides repositories of packages of various Haskell projects for Fedora Core, which are gradually being contributed to Fedora Extras.

Currently available packages:

alex-2.0.1, c2hs-0.13.4, cpphs-0.9, (darcs),

DrIFT-2.1.1, (ghc), greencard-3.01, (gtk2hs-0.9.10),

(haddock-0.7), happy-1.15, hircules-0.3,

hs-plugins-0.9.10, (hugs98-Mar2005), wxhaskell-0.9.4

(Packages in parentheses are in Fedora Extras now.)

Browse

For more details you can directly browse the package repositories or see the html repoviews below for what packages are available for which versions and archs, and recent changelog entries: Source, FC5/i386, FC5/x86_64, FC4/i386, FC4/x86_64, FC3/i386, FC3/x86_64 (FC2/i386 is no longer being updated).

News

- 2006-05-15: gtk2hs added to Extras

- 2006-04-22: hugs98 is now in Extras

- 2006-04-14: gtk2hs builds for FC5

- 2006-01-20: hs-plugins-0.9.10 snapshot build from September

- 2005-11-07: gtk2hs updated to 0.9.10 and renamed to ghc641-gtk2hs-*

- 2005-09-29: haddock-0.7 into Fedora Extras

- 2005-08-22: ghc-6.4.1 into Fedora Extras

- 2005-08-16: added cpphs

- 2005-07-04: ghc-6.4.1.20050626 snapshot for x86_64

- 2005-07-02: darcs is now in Fedora Extras

- 2005-06-22: darcs-1.0.3 for fc3 and fc4 (NB epoch dropped to 0!). gtk2hs-0.9.8 for fc3 and fc4 i386.

- 2005-06-09: gtk2hs-0.9.7.91 for i386. Updated repo info.

- 2005-05-31: ghc added to Fedora Extras

- 2005-05-12: one-off ghc-6.4 for ppc

- 2005-05-11: ghc packages now relocatable

- 2005-05-10: added repoviews of repositories

- 2005-05-09: gtk2hs for ghc-6.4.i386 available

- 2005-05-06: wxhaskell-0.9.4 for ghc-6.4.i386; alex added

- 2005-04-20: DriFT package added. Support for apt-get has been dropped for now.

- 2005-03-12: ghc 6.4 and hugs98 Mar2005

- 2005-03-09: hugs98 20050308 snapshot

- 2005-03-03: wxhaskell-0.9 added

- 2005-02-25: darcs-1.0.2 for FC2. Fixed problem with fc2 repo when using yum.

- 2005-02-23: hs-plugins-0.9.8

- 2005-02-21: There is now a mailing list for announcements and discussion.

- 2005-02-08: darcs-1.0.2 for FC3

- 2005-02-03: darcs-1.0.1 i386 for FC3 finally; cabal-0.4

- 2005-01-25: gtk2hs-0.9.7 for i386

- 2005-01-24: c2hs built for x86_64

- 2005-01-21: x86_64 port opened with unregisterized ghc build: darcs, happy and hs-plugins

- 2005-01-19: happy-1.15 and darcs-1.0.1 (FC2)

- 2005-01-14: new gtk2hs snapshot

- 2004-12-10: darcs-1.0.1rc2 package for Fedora Core 2

- 2004-12-07: darcs-1.0.1rc1 package for Fedora Core 3

- 2004-12-07: the repositories for Fedora Core 2 and 3 have been separated, since darcs requires libcurl.so which is different in the two (currently darcs is the only difference between the two repos).

- 2004-12-07: updated ghc package with separate ghc with bin symlinks and utilities and ghc622 containing the version dependent binaries and libs (can be parallel installed)

- 2004-11-25: added new ghc622 package of (ghc-6.2.2), darcs-1.0 and 1.0.1pre1, c2hs-0.13.4, and built latest hs-plugins snapshot for ghc622

- 2004-11-10: New RPM-GPG-KEY now being used.

- 2004-10-14: added hs-plugins package

- 2004-08-19: new gtk2hs-0.9.6 packages added with shiny new Haddock generated documentation. However note that the new packages are named differently from the old packages (see Package naming policy) and therefore conflict with them: so please uninstall gtk2hs-*ghc6.2.1 before installing gtk2hs-*ghc621.

- 2004-08-09: signed all package with gpg key

- 2004-08-04: added greencard built for ghc-6.2.1

- 2004-08-03: Repository opened with packages of c2hs, cabal, darcs, ghc, gtk2hs, haddock, happy and hircules.

Mailing list

Please send reports of problems or suggestions to fedora-haskell@haskell.org. You can browse the archive and subscribe to the list here.

Configuration

First please read UsingExtras for how to setup and use Fedora Extras.

yum

To use with yum, add the following to the file "/etc/yum.conf" or say "/etc/yum.repos.d/haskell.repo".
[haskell-stable]
name=Haskell Packages (stable)
baseurl=http://haskell.org/fedora/haskell/$releasever/$basearch
gpgkey=http://haskell.org/fedora/RPM-GPG-KEY
gpgcheck=1

up2date

To use the yum repository with up2date and/or have the rhn_applet show updates, add also the following line to "/etc/sysconfig/rhn/sources".
repomd haskell-stable http://haskell.org/fedora/haskell/

RPM package key

All packages in the repository are signed for RPM-GPG-KEY (fingerprint A69D DB29 8977 9824 E41B 84AD 6B93 C9EB AEDF 7EBB). It is recommended that you import this key into rpm before using the repository. The above yum configuration does this for you automatically. To import the key by hand do:
rpm --import http://haskell.org/fedora/RPM-GPG-KEY

Package naming policy

Library packages built with ghc have a suffix -ghcZYX. (Formerly the suffix was -ghcX.Y.Z.) Packaging of ghc-6.2.2 and later have a main ghc package which houses the utilities and the symlinks to the versioned binaries in ghcXYZ. This allows for clean parallel installations and smoother upgrading of libraries. You can only have one ghc package installed, but multiple ghcXYZ packages (for different XYZs versions).

Note about upgrading from libraries with -ghcX.Y.Z suffix

Note that library packages with the new -ghcZYX suffix conflict with the older -ghcX.Y.Z suffixed packages. This is necessary due to the way that rpm %post and %preun scripts work: otherwise the %preun script of the old packages would cause the ghc-pkg registration of the new package to be removed when it is uninstalled after the new package is installed. So to upgrade, please remove the old package first before installing the new one.

Todo

- public svn repository (svn to avoid bootstrapping problems)