Personal tools

Gentoo

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(new overlay URL)
(Add information on haskell-updater)
Line 23: Line 23:
   
 
Filing bugs can also be used to ask for new packages or new versions of existing packages. We would like to encourage users to suggest any packages they feel are useful but are currently not included in portage. Though note that we generally only package released versions of software where there are tarballs available and where there is an expectation that the software will be maintained. We also greatly prefer packages that are distributed via [http://hackage.haskell.org/ Hackage] as it allows us to use automated tools.
 
Filing bugs can also be used to ask for new packages or new versions of existing packages. We would like to encourage users to suggest any packages they feel are useful but are currently not included in portage. Though note that we generally only package released versions of software where there are tarballs available and where there is an expectation that the software will be maintained. We also greatly prefer packages that are distributed via [http://hackage.haskell.org/ Hackage] as it allows us to use automated tools.
  +
  +
==haskell-updater==
  +
  +
Work is currently progressing on ''haskell-updater'', the replacement for ghc-updater currently installed with dev-lang/ghc. There are four main advantages:
  +
  +
* Now supports pkgcore and paludis, not just portage. This can easily be extended if anyone decides to create Yet Another Gentoo Package Manager.
  +
* Will also rebuild Haskell libraries that have had their dependencies changed (ala revdep-rebuild/reconcilio/etc.). That is, it will rebuild packages corresponding to the libraries listed by "ghc-pkg check".
  +
* It will be shipped separately to GHC, which means we can update it (ghc-updater has been frozen due to not wanting to cause problems with versions already installed, etc.).
  +
* It's written in our favourite language (Haskell, of course) rather than a weird conglomeration of bash and Python. This means it's faster (presumably), more flexible, and we're more likely to maintain it since it's in a language we prefer and are more used to.
  +
  +
The darcs repository is available at [http://code.haskell.org/gentoo/haskell-updater/ here]. For more information, ping ivanm on the #gentoo-haskell [[IRC channel]].
   
 
[[Category:OS]]
 
[[Category:OS]]

Revision as of 12:06, 21 June 2009

Contents

1 Packages

Gentoo Linux has fairly good support for Haskell.

There are packages for GHC and more than 60 other Haskell libraries and tools. There are also packages for other Haskell implementations like Hugs98 and Helium.

You can check the currently available versions of packages:

There is support for most packages on several architectures: x86, amd64, sparc and ppc. There is support for some packages on ppc64, alpha, ia64 and hppa.

2 Gentoo Haskell Overlay

If you want the most up to date (but also most untested) packages you can use the Gentoo Haskell Overlay. "Overlays" are package trees for Portage. They contain additional ebuilds for Gentoo. They are maintained by Gentoo developers, but are distributed separately from the main Portage tree. Haskell has its own dedicated overlay containing lots of haskell projects. See the Gentoo Overlays: Users' Guide for how to use overlays. However, don't forget that like with all overlays, you use the ebuilds there at your own risk. Do not report errors in overlay ebuilds to the Gentoo Bugzilla!

3 Support and bugs

  • Bugs found in ebuilds within the official tree should be reported in the Gentoo bugzilla. Bugs found in the overlay should be reported in the IRC channel.
  • There is a #gentoo-haskell IRC channel on freenode.net for people interested in developing and testing haskell-related ebuilds.

Filing bugs can also be used to ask for new packages or new versions of existing packages. We would like to encourage users to suggest any packages they feel are useful but are currently not included in portage. Though note that we generally only package released versions of software where there are tarballs available and where there is an expectation that the software will be maintained. We also greatly prefer packages that are distributed via Hackage as it allows us to use automated tools.

4 haskell-updater

Work is currently progressing on haskell-updater, the replacement for ghc-updater currently installed with dev-lang/ghc. There are four main advantages:

  • Now supports pkgcore and paludis, not just portage. This can easily be extended if anyone decides to create Yet Another Gentoo Package Manager.
  • Will also rebuild Haskell libraries that have had their dependencies changed (ala revdep-rebuild/reconcilio/etc.). That is, it will rebuild packages corresponding to the libraries listed by "ghc-pkg check".
  • It will be shipped separately to GHC, which means we can update it (ghc-updater has been frozen due to not wanting to cause problems with versions already installed, etc.).
  • It's written in our favourite language (Haskell, of course) rather than a weird conglomeration of bash and Python. This means it's faster (presumably), more flexible, and we're more likely to maintain it since it's in a language we prefer and are more used to.

The darcs repository is available at here. For more information, ping ivanm on the #gentoo-haskell IRC channel.