Difference between revisions of "Arch Linux/6.12 Upgrade"
m |
DonStewart (talk | contribs) |
||
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:// |
+ | * ''[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:// |
+ | * ''[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:// |
+ | * ''[http://www.archlinux.org/packages/extra/i686/haskell-parallel/ haskell-parallel]'' |
− | * [http:// |
+ | * ''[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]'' |
||
⚫ | |||
− | * haskell-integer ?? (is this a real package?) |
||
− | * [http:// |
+ | * ''[http://www.archlinux.org/packages/extra/i686/haskell-html/ haskell-html]'' |
− | * [http://www.archlinux.org/packages/extra/i686/haskell- |
+ | * ''[http://www.archlinux.org/packages/extra/i686/haskell-haskell-src/ haskell-haskell-src]'' |
− | * [http:// |
+ | * ''[http://www.archlinux.org/packages/extra/i686/haskell-stm/ 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):
- haskell-xhtml
- haskell-regex-base
- haskell-regex-compat
- haskell-regex-posix
- haskell-quickcheck
- haskell-parsec
- haskell-parallel
- haskell-packedstring
- haskell-network
- haskell-mtl
- haskell-hunit
- haskell-html
- haskell-haskell-src
- haskell-stm
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.