Skip to content
Snippets Groups Projects
Commit 0b3778cb authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

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
parents 05dd0ed3 efcb8c88
No related branches found
No related tags found
No related merge requests found
#!/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
#!/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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment