Difference between revisions of "Arch Linux/6.12 Upgrade"

From HaskellWiki
Jump to: navigation, search
(Removing this page, completely outdated.)
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
When GHC 6.12 comes out, several things will have to change in the Arch binary repositories, and in most Haskell PKGBUILDs.
This article has been removed, all information in it was outdated.
The following are required to be dealt with.
== Smaller core set ==
Arch supports [http://code.haskell.org/haskell-platform/haskell-platform.cabal the Haskell Platform spec] in binary form. GHC 6.12 comes with [[Libraries_released_with_GHC|a smaller set of libraries built in]] than 6.10.4 did, so for those that are no longer shipped with ghc, we need to create binary packages in [extra]. That is, for (those in italics are already moved):
* [http://aur.archlinux.org/packages.php?ID=16011 haskell-xhtml]
* ''[http://www.archlinux.org/packages/extra/i686/haskell-regex-base/ haskell-regex-base]''
* ''[http://www.archlinux.org/packages/extra/i686/haskell-regex-compat/ haskell-regex-compat]''
* ''[http://www.archlinux.org/packages/extra/i686/haskell-regex-posix/ haskell-regex-posix]''
* [http://aur.archlinux.org/packages.php?ID=20324 haskell-quickcheck]
* ''[http://www.archlinux.org/packages/extra/i686/haskell-parsec/ haskell-parsec]''
* [http://aur.archlinux.org/packages.php?ID=17901 haskell-parallel]
* [http://aur.archlinux.org/packages.php?ID=21719 haskell-packedstring]
* ''[http://www.archlinux.org/packages/extra/i686/haskell-network/ haskell-network]''
* ''[http://www.archlinux.org/packages/extra/i686/haskell-mtl/ haskell-mtl]''
* haskell-integer ?? (is this a real package?)
* [http://aur.archlinux.org/packages.php?ID=19759 haskell-hunit]
* [http://www.archlinux.org/packages/extra/i686/haskell-html/ haskell-html]
* [http://aur.archlinux.org/packages.php?ID=20668 haskell-haskell-src]
* [http://aur.archlinux.org/packages.php?ID=21134 haskell-stm]
== Update "provides" list for GHC ==
With these new libraries removed from the default set, two things must be updated:
* The GHC package 'provides' list. It provides all the things [http://haskell.org/haskellwiki/Libraries_released_with_GHC listed here]
* The cabal2arch provides list to match.
cabal2arch '''assumes your pkgbuild tool can handle "provides"'''.
== Update cabal2arch ==
Once cabal2arch has the new provides list, then new PKGBUILDs need to be generated with those new dependencies listed.
== The ./gen-index script ==
The haddock index generation script used in all install hooks for Haskell libraries is in a different place for 6.12. We need to update the GHC package to fix this.
== General breakages ==
Other packages may in general be broken by GHC changes (not Arch-specific things). Those are updated as notcied.

Latest revision as of 21:33, 30 January 2011

This article has been removed, all information in it was outdated.