Merge branch 'haskell' into 'belenos'
Bring recent Haskell tools When you start working with Haskell - developing or installing packages from source - the first step is to install the platform. The two required tools (which can be used to install all the others) are GHC and cabal-install. Debian has packages for them both, but their versions are getting old. Developers use more recent versions, which usually means they download from external, such as PPAs or the Haskell Platform. Ubun7u inherits these from Debian, and Trisquel inherits them from Ubun7u. This merge request brings the recent stable recommended versions of GHC and cabal-install from a PPA, so people can start with Haskell more easily without being confused by all the different external download locations. NOTE ON HOW IT WORKS: In the PPA, there are several GHC versions and each one is built using the previous one, so there is a chain of build-depends between them. I solved the bootstraping problem by having this new GHC 7.8.3 be built using the existing GHC package coming from debian/ubun7u. Jenkinds successfully built it. - The debian package is GHC 7.6.3-10 + some patches - The PPA package used for building the new GHC 7.8.3 is 7.6.3-9 (without debian's patches) Since they're nearly identical (I did a `diff -r` to see all the differences), I gave it a try. I was lucky and GHC 7.8.3 indeed builds with debian's GHC 7.6.3. See merge request !55
This commit is contained in:
commit
0b3778cbfb
2 changed files with 54 additions and 0 deletions
26
helpers/make-cabal-install-1.20
Normal file
26
helpers/make-cabal-install-1.20
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2015 fr33domlover <fr33domlover@riseup.net>
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
VERSION=1
|
||||||
|
EXTERNAL='deb-src http://ppa.launchpad.net/hvr/ghc/ubuntu $UPSTREAM main'
|
||||||
|
SIGNKEY=FF3AEACEF6F88286
|
||||||
|
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
changelog "Bring recent cabal-install from PPA"
|
||||||
|
|
||||||
|
compile
|
||||||
28
helpers/make-ghc-7.8.3
Normal file
28
helpers/make-ghc-7.8.3
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2015 fr33domlover <fr33domlover@riseup.net>
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
VERSION=1
|
||||||
|
EXTERNAL='deb-src http://ppa.launchpad.net/hvr/ghc/ubuntu $UPSTREAM main'
|
||||||
|
SIGNKEY=FF3AEACEF6F88286
|
||||||
|
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
sed -i 's/ghc-7\.6\.3/ghc/g' debian/control
|
||||||
|
|
||||||
|
changelog "Bring recent GHC from PPA"
|
||||||
|
|
||||||
|
compile
|
||||||
Loading…
Add table
Add a link
Reference in a new issue