Personal tools

Gentoo

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
m (Support and Bugs: sentence case.)
(Update repo address -> github)
 
(10 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
[http://gentoo.org/ Gentoo Linux] has fairly good support for Haskell.
 
[http://gentoo.org/ Gentoo Linux] has fairly good support for Haskell.
   
There are packages for [[GHC]] and for quite a few libraries and tools. There are also packages for other Haskell implementations like [[Hugs|Hugs98]] and [[Helium]].
+
There are packages for [[GHC]] and more than 60 other Haskell libraries and tools. There are also packages for other Haskell implementations like [[Hugs|Hugs98]] and [[Helium]].
   
 
You can check the currently available versions of packages:
 
You can check the currently available versions of packages:
   
* [http://packages.gentoo.org/packages/?category=dev-haskell libraries and tools]
+
* [http://packages.gentoo.org/category/dev-haskell libraries and tools]
* [http://packages.gentoo.org/packages/?category=dev-lang;name=ghc ghc]
+
* [http://packages.gentoo.org/package/dev-lang/ghc ghc]
* [http://packages.gentoo.org/packages/?category=dev-lang;name=hugs hugs98]
+
* [http://packages.gentoo.org/package/dev-lang/hugs98 hugs98]
* [http://packages.gentoo.org/packages/?category=dev-util;name=darcs darcs]
+
* [http://packages.gentoo.org/package/dev-util/darcs darcs]
  +
* [http://packages.gentoo.org/package/x11-wm/xmonad xmonad]
   
There is support for most packages on several architectures: ''x86'', ''amd64'', ''sparc'', ''ppc'' and ''ppc64''.
+
There is support for most packages on several architectures: ''x86'', ''amd64'', ''sparc'' and ''ppc''.
There is support for some packages on ''alpha'' and ''hppa''.
+
There is support for some packages on ''ppc64'', ''alpha'', ''ia64'' and ''hppa''.
   
 
==Gentoo Haskell Overlay==
 
==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 [http://www.haskell.org/~gentoo/gentoo-haskell/ its own] dedicated overlay containing lots of haskell projects. See the [http://www.gentoo.org/proj/en/overlays/userguide.xml Gentoo Overlays: Users' Guide] for how to use overlays.
+
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 [https://github.com/gentoo-haskell/gentoo-haskell its own] dedicated overlay containing lots of haskell projects. See the [http://www.gentoo.org/proj/en/overlays/userguide.xml 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!'''
   
 
==Support and bugs==
 
==Support and bugs==
* Bugs should be reported in the Gentoo bugzilla: http://bugs.gentoo.org/
+
* Bugs found in ebuilds within the official tree should be reported in the [http://bugs.gentoo.org 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.
 
* 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).
+
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]. There are ebuilds available both in portage and the [[#Gentoo Haskell Overlay]]. For more information, feel free to visit us at #gentoo-haskell [[IRC channel]].
  +
  +
==Haskell Platform==
  +
  +
The [http://hackage.haskell.org/platform/ Haskell Platform] is a blessed library and tool suite for Haskell distilled from [http://hackage.haskell.org/packages/hackage.html Hackage]. Naturally Gentoo supports it. Find out how to install it on your Gentoo box at [[Gentoo/HaskellPlatform]].
   
 
[[Category:OS]]
 
[[Category:OS]]

Latest revision as of 02:29, 5 February 2011

Contents

[edit] 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.

[edit] 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!

[edit] 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.

[edit] 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. There are ebuilds available both in portage and the #Gentoo Haskell Overlay. For more information, feel free to visit us at #gentoo-haskell IRC channel.

[edit] 5 Haskell Platform

The Haskell Platform is a blessed library and tool suite for Haskell distilled from Hackage. Naturally Gentoo supports it. Find out how to install it on your Gentoo box at Gentoo/HaskellPlatform.