Difference between revisions of "Arch Linux/6.12 Upgrade"

From HaskellWiki
Jump to navigation Jump to search
m
Line 7: Line 7:
 
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):
 
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/x86_64/haskell-xhtml/ haskell-xhtml]''
 
* ''[http://www.archlinux.org/packages/extra/i686/haskell-regex-base/ haskell-regex-base]''
 
* ''[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-compat/ haskell-regex-compat]''
 
* ''[http://www.archlinux.org/packages/extra/i686/haskell-regex-posix/ haskell-regex-posix]''
 
* ''[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-quickcheck/ haskell-quickcheck]''
 
* ''[http://www.archlinux.org/packages/extra/i686/haskell-parsec/ haskell-parsec]''
 
* ''[http://www.archlinux.org/packages/extra/i686/haskell-parsec/ haskell-parsec]''
* [http://aur.archlinux.org/packages.php?ID=17901 haskell-parallel]
+
* ''[http://www.archlinux.org/packages/extra/i686/haskell-parallel/ haskell-parallel]''
* [http://aur.archlinux.org/packages.php?ID=21719 haskell-packedstring]
+
* ''[http://www.archlinux.org/packages/extra/i686/haskell-packedstring/ haskell-packedstring]
 
* ''[http://www.archlinux.org/packages/extra/i686/haskell-network/ haskell-network]''
 
* ''[http://www.archlinux.org/packages/extra/i686/haskell-network/ haskell-network]''
 
* ''[http://www.archlinux.org/packages/extra/i686/haskell-mtl/ haskell-mtl]''
 
* ''[http://www.archlinux.org/packages/extra/i686/haskell-mtl/ haskell-mtl]''
 
* ''[http://www.archlinux.org/packages/extra/i686/haskell-hunit/ haskell-hunit]''
* 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://www.archlinux.org/packages/extra/i686/haskell-html/ haskell-html]
+
* ''[http://www.archlinux.org/packages/extra/i686/haskell-haskell-src/ haskell-haskell-src]''
* [http://aur.archlinux.org/packages.php?ID=20668 haskell-haskell-src]
+
* ''[http://www.archlinux.org/packages/extra/i686/haskell-stm/ haskell-stm]''
* [http://aur.archlinux.org/packages.php?ID=21134 haskell-stm]
 
   
 
== Update "provides" list for GHC ==
 
== Update "provides" list for GHC ==
   
  +
Done.
Done: ''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 GHC package 'provides' list. It provides all the things [http://haskell.org/haskellwiki/Libraries_released_with_GHC listed here]
Line 44: Line 43:
   
 
Other packages may in general be broken by GHC changes (not Arch-specific things). Those are updated as noticed.
 
Other packages may in general be broken by GHC changes (not Arch-specific things). Those are updated as noticed.
  +
  +
== yaourt is obsolete! ==
  +
  +
And the big final thing, yaourt is obsolete. Tools that don't support 'provides' won't work.

Revision as of 23:19, 24 January 2010

When GHC 6.12 comes out, several things will have to change in the Arch binary repositories, and in most Haskell PKGBUILDs.

The following are required to be dealt with.

Smaller core set

Arch supports the Haskell Platform spec in binary form. GHC 6.12 comes with 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):

Update "provides" list for GHC

Done.

  • The GHC package 'provides' list. It provides all the things 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

Done: 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 noticed.

yaourt is obsolete!

And the big final thing, yaourt is obsolete. Tools that don't support 'provides' won't work.