In all honesty I think the issue is that archlinux AUR packages are being generated in a very naive way (and not a Archlinux philosophy in general). The whole point of AUR is that its supposed to make it very easy for people to upload packages/libraries.
On 25 August 2010 14:56, Mathew de Detrich <deteego@gmail.com> wrote:Which I've argued with Don about before. Automation is good, but you
> Thanks for clearing the stuff up. The issue is Ivan, that the archlinux aur
> packages are auto generated (even the "official ones"). The only packages
> that I believe were ever done by hand was gt2hs (old gtk version) and since
> its changed to gtk that isn't the case anymore
should then double-check what it spits out.
(Note also that in Gentoo, we abstract away the actual interaction
with Cabal so for simple libraries we just have to specify things like
dependencies, download location, etc.).
Yup: I think Don's approach of "oh, if we want to change something
> If there is some issue (like you explained with the --flag=-have-gio flag)
> archlinux aur would have the same problem. To make things more clear, here
> is an example of the pkgbuild for gtk (from AUR)
> http://aur.archlinux.org/packages/haskell-gtk/haskell-gtk/PKGBUILD
> As you can see, all the script does is invoke runhaskell
> configure/build/haddock etc etc and then registers it with GHC. Thats the
> exact same with every other AUR package, and it isn't any different from
> doing a cabal install (which invokes configure/build/haddock anyways). That
> pkgbuild generates the actual package you install through pacman, only
> difference being the library is already built (but it still registers
> through GHC). Likewise the uninstalling is the same story
we'll just re-generate them all" rather short-minded (then again, that
seems to be the whole point of Arch, one reason why if I give up
Gentoo I'm more likely to go to Fedora than Arch).
Except if you help out with AUR, you can try to make these things better... ;-)
> So the issues you stated would also be the case with AUR, which means I am
> not worse off using cabal-install
And that uninstallation with AUR should be easier/better than what
cabal-install can do, and the ability to specify non-Haskell deps.
--