ghc (8.0.1-17+rpi1) stretch-staging; urgency=medium
authorRaspbian forward porter <root@raspbian.org>
Fri, 30 Dec 2016 02:30:41 +0000 (02:30 +0000)
committerRaspbian forward porter <root@raspbian.org>
Fri, 30 Dec 2016 02:30:41 +0000 (02:30 +0000)
  [changes brought forward from 7.6.3-21+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Sun, 19 Apr 2015 14:00:16 +0000]
  * Change compiler defaults for armv6
  * Force llvm cpu and float abi options
  [changes introduced in 7.8.4-9+rpi1 by Peter Michael Green]
  * no longer set Option "-float-abi=hard" in force-llc-settings, ghc now
    sets it without help and setting it twice makes llc fail.
  [changed introduced in 7.10.3-2+rpi1 by Peter Michael Green]
  * Add call to dh_autoreconf_clean

[dgit import unpatched ghc 8.0.1-17+rpi1]

48 files changed:
1  2 
debian/changelog
debian/clean
debian/compat
debian/control
debian/copyright
debian/gen_contents_index
debian/ghc-doc.doc-base.users-guide
debian/ghc-doc.links.in
debian/ghc-doc.postinst
debian/ghc-doc.preinst
debian/ghc-doc.prerm
debian/ghc-doc.triggers
debian/ghc-haddock.manpages
debian/ghc-pkg.man
debian/ghc.postinst
debian/ghc.preinst
debian/ghc.prerm
debian/ghc.triggers
debian/ghc6-doc.prerm
debian/ghc6.preinst
debian/haddock.man
debian/index.html
debian/patches/ARM-VFPv3D16
debian/patches/R_X86_64_REX_GOTPCRELX
debian/patches/add-missing-MO_WriteBarrier
debian/patches/armel-revert-ghci-fixes.patch
debian/patches/buildpath-abi-stability.patch
debian/patches/compiler-cmm-PprC-sparc-alignment.patch
debian/patches/do-not-use-SHELL
debian/patches/find-tycon-panic
debian/patches/fix-ppc-lwa-generation
debian/patches/force-llc-settings
debian/patches/get-linker-flags-correctly
debian/patches/hurd.diff
debian/patches/no-missing-haddock-file-warning
debian/patches/no-pie
debian/patches/osdecommitmemory-compat.patch
debian/patches/reproducible-tmp-names
debian/patches/series
debian/patches/smp-arm-fix.patch
debian/patches/use-debian-gen_contents_index
debian/patches/x32-use-native-x86_64-insn.patch
debian/provided_substvars
debian/rules
debian/runghc.man
debian/source/format
debian/upstream/signing-key.asc
debian/watch

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..16228b3845d59351e09f511b40f1ab2eaaf9d8e4
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2737 @@@
++ghc (8.0.1-17+rpi1) stretch-staging; urgency=medium
++
++  [changes brought forward from 7.6.3-21+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Sun, 19 Apr 2015 14:00:16 +0000]
++  * Change compiler defaults for armv6
++  * Force llvm cpu and float abi options
++  [changes introduced in 7.8.4-9+rpi1 by Peter Michael Green]
++  * no longer set Option "-float-abi=hard" in force-llc-settings, ghc now
++    sets it without help and setting it twice makes llc fail.
++  [changed introduced in 7.10.3-2+rpi1 by Peter Michael Green]
++  * Add call to dh_autoreconf_clean
++
++ -- Raspbian forward porter <root@raspbian.org>  Fri, 30 Dec 2016 02:30:41 +0000
++
++ghc (8.0.1-17) unstable; urgency=medium
++
++  * Add upstream patch "Add relocation type R_X86_64_REX_GOTPCRELX".
++
++ -- Clint Adams <clint@debian.org>  Fri, 16 Dec 2016 21:44:45 -0500
++
++ghc (8.0.1-16) unstable; urgency=medium
++
++  * Patch to fix SMP support enablement on armhf.
++
++ -- Clint Adams <clint@debian.org>  Wed, 14 Dec 2016 23:10:26 -0500
++
++ghc (8.0.1-15) unstable; urgency=high
++
++  * Add osdecommitmemory-compat.patch (Closes: #847677).
++
++ -- Sean Whitton <spwhitton@spwhitton.name>  Sat, 10 Dec 2016 15:03:42 -0700
++
++ghc (8.0.1-14) unstable; urgency=medium
++
++  * Upload to unstable.
++
++ -- Clint Adams <clint@debian.org>  Mon, 14 Nov 2016 11:35:40 -0500
++
++ghc (8.0.1-13) experimental; urgency=medium
++
++  * Include ghc --info output in build log.
++  * PPC/CodeGen: fix lwa instruction generation.   closes: #844323
++
++ -- Clint Adams <clint@debian.org>  Mon, 14 Nov 2016 11:10:09 -0500
++
++ghc (8.0.1-12) experimental; urgency=medium
++
++  * Use upstream patch for '-no-pie'.
++    Drop our custom 'opt-pic' and 'no-pie' patches and use one provided by
++    the upstream developers.
++
++ -- Ilias Tsitsimpis <i.tsitsimpis@gmail.com>  Fri, 11 Nov 2016 17:45:03 +0200
++
++ghc (8.0.1-11) unstable; urgency=medium
++
++  * Team upload.
++
++  [ John Paul Adrian Glaubitz ]
++  * Add patch x32-use-native-x86_64-insn.patch to support
++    x32 architecture (Closes: #814657)
++
++ -- Gianfranco Costamagna <locutusofborg@debian.org>  Sun, 06 Nov 2016 23:31:09 +0100
++
++ghc (8.0.1-10) unstable; urgency=medium
++
++  [ Emilio Pozuelo Monfort ]
++  * Re-enable parallel builds, broken since 7.10.1.20150630-1.
++
++  [ Clint Adams ]
++  * Upstream patch c30b179a73d9fd3f6edcdda5e881523cd6edd46a to Cabal,
++    fixing incorrect retrieval of ld flags.
++
++ -- Clint Adams <clint@debian.org>  Sun, 06 Nov 2016 15:32:00 -0500
++
++ghc (8.0.1-9) unstable; urgency=medium
++
++  [ Ilias Tsitsimpis ]
++  * Add upstream patch to avoid find_tycon panic (Closes: #842679).
++
++  [ Clint Adams ]
++  * Patch from James Clarke to prevent unaligned accesses on sparc64.
++    closes: #842780.
++  * Reduce memory usage when building on mips/mipsel.
++
++ -- Clint Adams <clint@debian.org>  Tue, 01 Nov 2016 11:18:03 -0400
++
++ghc (8.0.1-8) unstable; urgency=medium
++
++  * Upload to unstable to start GHC 8 transition.
++
++ -- Clint Adams <clint@debian.org>  Thu, 27 Oct 2016 18:32:16 -0400
++
++ghc (8.0.1-7) experimental; urgency=medium
++
++  * Disable PIC on powerpc.
++
++ -- Clint Adams <clint@debian.org>  Tue, 25 Oct 2016 23:56:41 -0400
++
++ghc (8.0.1-6) experimental; urgency=medium
++
++  * Patch GHC to pass `-no-pie' along with `-Wl,-r'.
++  * Do not disable PIE during package configuration in d/rules.
++    The above patch seems sufficient.
++
++ -- Ilias Tsitsimpis <i.tsitsimpis@gmail.com>  Mon, 24 Oct 2016 19:48:26 +0300
++
++ghc (8.0.1-5) experimental; urgency=medium
++
++  * Switch PIC default to on for all architectures.
++
++ -- Clint Adams <clint@debian.org>  Sat, 22 Oct 2016 18:20:02 -0400
++
++ghc (8.0.1-4) experimental; urgency=medium
++
++  [ Balint Reczey ]
++  * Disable PIE to fix build when PIE is the default in gcc
++    (change taken/revised from Ubuntu, Closes: #712228)
++
++ -- Sven Bartscher <kritzefitz@debian.org>  Thu, 13 Oct 2016 18:49:00 +0200
++
++ghc (8.0.1-3) experimental; urgency=low
++
++  * Removed the empty ghc-dbgsym package.
++
++ -- Sven Bartscher <kritzefitz@debian.org>  Tue, 11 Oct 2016 16:43:21 +0200
++
++ghc (8.0.1-2) experimental; urgency=medium
++
++  [ Joachim Breitner ]
++  * Merge from unstable (up to 7.0.3-9)
++
++  [ Matthias Klose ]
++  * Disable PIE on amd64 and ppc64el.
++
++  [ Gianfranco Costamagna ]
++  * Fix VCS fields
++
++  [ Sven Bartscher ]
++  * Depend on haskell-devscripts-minimal instead of duplicating its
++    functionality.
++
++ -- Sven Bartscher <kritzefitz@debian.org>  Fri, 05 Aug 2016 16:51:50 +0200
++
++ghc (8.0.1-1) experimental; urgency=medium
++
++  * New upstream release
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 21 May 2016 17:03:18 +0200
++
++ghc (8.0.0.20160421-1) experimental; urgency=medium
++
++  * New upstream release candidate (8.0.1-rc4)
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 23 Apr 2016 17:56:45 +0200
++
++ghc (8.0.0.20160411-1) experimental; urgency=medium
++
++  * New upstream release candidate (8.0.1-rc3)
++
++ -- Joachim Breitner <nomeata@debian.org>  Tue, 19 Apr 2016 09:11:57 +0200
++
++ghc (8.0.0.20160204-2) experimental; urgency=medium
++
++  * Build-Conflict: Do not bootstrap with ghc-8.0.1-rc1, as this is broken.
++
++ -- Joachim Breitner <nomeata@debian.org>  Tue, 09 Feb 2016 10:05:24 +0100
++
++ghc (8.0.0.20160204-1) experimental; urgency=medium
++
++  [ Gianfranco Costamagna ]
++  * Re-enable and refresh patches/armel-revert-ghci-fixes.patch on armel.
++    - drop a little part on Linker.c, upstreamed.
++
++  [ Joachim Breitner ]
++  * New upstream release candidate (8.0.1-rc2)
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 08 Feb 2016 12:34:51 +0100
++
++ghc (8.0.0.20160111-3) experimental; urgency=medium
++
++  * Ah, there is llvm-3.7 in Debian. Must have been confused by the LLVM
++    packaging... let’s use that.
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 18 Jan 2016 09:29:29 +0100
++
++ghc (8.0.0.20160111-2) experimental; urgency=medium
++
++  * Try to see if it builds without
++    patches/armel-revert-ghci-fixes.patch on armel.
++  * Try to build with LLVM 3.8 (upstream wants 3.7, but that is not in Debian
++    any more)
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 18 Jan 2016 09:17:25 +0100
++
++ghc (8.0.0.20160111-1) experimental; urgency=medium
++
++  * New upstream release candiate (8.0.1-rc1)
++    Dropped patches
++    + cabal-show-detail-direct
++    + sh4-platform-detection-support
++    + parc64-initial-platform-support
++  * Configure haddock to use locally provided mathjax files, and let ghc-doc
++    depend on libjs-mathjax.
++  * Backport upstream patch D1782 to unbreak manpage building
++  * Add gpg key ot debian/upstream and use it in debian/watch
++
++ -- Joachim Breitner <nomeata@debian.org>  Thu, 14 Jan 2016 16:16:37 +0100
++
++ghc (7.10.3-10) unstable; urgency=medium
++
++  [ Clint Adams ]
++  * Backport upstream 563a4857abcee4a6e43c68323274309c58f42aa0 to use gcc's
++    SMP primitives instead of GHC's broken ones.
++  * Backport upstream 7053019e7b04842dd7364039381d8c4c069489a2 to add a
++    missing MO_WriteBarrier to emitPrimOp.
++
++ -- Clint Adams <clint@debian.org>  Wed, 05 Oct 2016 15:27:23 -0400
++
++ghc (7.10.3-9) unstable; urgency=medium
++
++  * Improve debian/watch file.
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 23 May 2016 16:12:09 +0200
++
++ghc (7.10.3-8) unstable; urgency=medium
++
++  [ Dmitry Bogatov ]
++  * Use secure (https) uri in Vcs-Git field in 'debian/control'
++  * Bump standards version to 3.9.8 (no changes needed)
++  * Convert `debian/copyright' to dep5 format
++
++  [ Joachim Breitner ]
++  * Ensure that the shebang in the generated wrapper scripts use /bin/sh, and
++    not the value of SHELL of the current user.
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 23 May 2016 12:44:05 +0200
++
++ghc (7.10.3-7) unstable; urgency=medium
++
++  [ Joachim Breitner ]
++  * Tighten build-depends on llvm-3.5, to pull in backported version
++  * Tighten build-depends on ghc; this does not build against 7.6 any more, so
++    let's use the 7.8 already in backports.
++
++  [ Colin Watson ]
++  * Run /usr/lib/ghc-doc/gen_contents_index from ghc-doc.postinst with HOME
++    set to a temporary directory, so that it doesn't pick up stray user
++    configuration and so that it works reliably in autopkgtests.
++
++ -- Colin Watson <cjwatson@debian.org>  Fri, 29 Jan 2016 15:58:13 +0000
++
++ghc (7.10.3-6) unstable; urgency=medium
++
++  * Let GHC break cabal-install (<< 1.22), due to
++    "ghc no longer supports single-file style package databases"
++
++ -- Joachim Breitner <nomeata@debian.org>  Tue, 12 Jan 2016 10:37:19 +0100
++
++ghc (7.10.3-5) unstable; urgency=medium
++
++  * ghc-doc Breaks/Replaces libghc-terminfo-doc (<< 0.3.2.5-4),
++    libghc-transformers-doc (<< 0.3.0.0-6), libghc-xhtml-doc (<<
++    3000.2.1-5), now that these are all shipped with ghc (closes: #800423).
++
++ -- Colin Watson <cjwatson@debian.org>  Tue, 05 Jan 2016 10:22:34 +0000
++
++ghc (7.10.3-4.1) unstable; urgency=medium
++
++  * Non-maintainer upload.
++  * Add debian/patches/armel-revert-ghci-fixes.patch which reverts
++    the ARM ghci fixes, but apply the patch on armel only with
++    the help of the debian/rules file (Closes: #807020).
++
++ -- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>  Sun, 20 Dec 2015 17:01:39 +0100
++
++ghc (7.10.3-4) unstable; urgency=medium
++
++  [ Colin Watson ]
++  * Disable PIE on s390x, since Ubuntu's toolchain defaults to enabling it
++    there (closes: #807366).
++
++  [ Joachim Breitner ]
++  * Add patch for Sparc64. Again thanks to John Paul Adrian Glaubitz for the
++    patch (Closes: #807777).
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 14 Dec 2015 09:09:52 +0100
++
++ghc (7.10.3-3) unstable; urgency=medium
++
++  * Platform detection support for sh4 (Closes: #807108). Thanks to John Paul
++    Adrian Glaubitz for the patch.
++
++ -- Joachim Breitner <nomeata@debian.org>  Sun, 06 Dec 2015 14:00:32 +0100
++
++ghc (7.10.3-2) unstable; urgency=medium
++
++  * Switch Vcs-Git/Vcs-Browser headers to new location.
++
++ -- Clint Adams <clint@debian.org>  Thu, 03 Dec 2015 14:54:02 -0500
++
++ghc (7.10.3-1) experimental; urgency=medium
++
++  * New upstream version.
++
++ -- Clint Adams <clint@debian.org>  Thu, 03 Dec 2015 10:38:40 -0500
++
++ghc (7.10.2.20151030-3) experimental; urgency=medium
++
++  * Apply a patch by Peter Trommler to fix
++    "PPC.Ppr: Shift by 32 bits is not allowed." on powerpc
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 09 Nov 2015 18:58:11 +0100
++
++ghc (7.10.2.20151030-2) experimental; urgency=medium
++
++  * Patch Cabal to provide --show-detail=direct, mostly to work around
++    problems with `setup test` on architectures with insufficient threading
++    support in GHC: https://github.com/haskell/cabal/issues/2398
++
++ -- Joachim Breitner <nomeata@debian.org>  Thu, 05 Nov 2015 12:38:32 +0100
++
++ghc (7.10.2.20151030-1) experimental; urgency=medium
++
++  * New upstream release (7.10.3-rc1)
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 02 Nov 2015 17:44:43 +0100
++
++ghc (7.10.2-2) experimental; urgency=medium
++
++  * Backport patch to fix GHC bug #10549, to unbreak shake’s test suite
++
++ -- Joachim Breitner <nomeata@debian.org>  Sun, 16 Aug 2015 15:05:54 +0200
++
++ghc (7.10.2-1) experimental; urgency=medium
++
++  * New upstream release
++
++ -- Joachim Breitner <nomeata@debian.org>  Wed, 22 Jul 2015 11:17:24 +0200
++
++ghc (7.10.1.20150630-2) experimental; urgency=medium
++
++  * Remove PPC-relocations.patch
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 04 Jul 2015 10:06:16 +0200
++
++ghc (7.10.1.20150630-1) experimental; urgency=medium
++
++  [ Joachim Breitner ]
++  * New upstream release candidate, 7.10.2-rc2
++  * Clean up debian/control a bit, based on a patch by Gianfranco
++
++  [ Gianfranco Costamagna ]
++  * Bump std version
++  * Refactor rules file to use dh
++
++ -- Joachim Breitner <nomeata@debian.org>  Fri, 03 Jul 2015 12:28:07 +0200
++
++ghc (7.10.1.20150612-1) experimental; urgency=medium
++
++  * Calculate haddock interface version using the built haddock, not the
++    installed (Thanks to David Fox for noticing).
++  * New upstream release randidate (7.10.2-rc1)
++  * Merge from unstable
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 15 Jun 2015 09:41:16 +0200
++
++ghc (7.10.1-5) experimental; urgency=medium
++
++  * Merge from unstable (Closes: #785282, #785194 )
++  * A lucky guess at making GHC build reproducible, by not putting the process
++    id in temporary filenames.
++
++ -- Joachim Breitner <nomeata@debian.org>  Sun, 24 May 2015 10:47:09 +0200
++
++ghc (7.10.1-4) experimental; urgency=medium
++
++  * Fix patch/ghc-7.8.4-3-aarch64.patch; dropped a hunk when upgrading to
++    7.10 that I should not have dropped. Thanks Gianfranco Costamagna for
++    noticing.
++
++ -- Joachim Breitner <nomeata@debian.org>  Thu, 14 May 2015 23:16:55 +0200
++
++ghc (7.10.1-3) experimental; urgency=medium
++
++  * Apply patch by Sergei Trofimovich to implement load_/store_load_barrier on
++    armv6 and older (upstream ticket #10244)
++
++ -- Joachim Breitner <nomeata@debian.org>  Thu, 14 May 2015 09:37:06 +0200
++
++ghc (7.10.1-2) experimental; urgency=medium
++
++  * Build against llvm-3.5 (Closes: 784245) 
++
++ -- Joachim Breitner <nomeata@debian.org>  Wed, 13 May 2015 11:18:54 +0200
++
++ghc (7.10.1-1) experimental; urgency=medium
++
++  * New upstream release. Optimistically dropping lots of patches, lets see
++    what now works out of the box.
++  * Ship haddock with ghc, and leave (most) paths as they are. It is easier to
++    not fight against the way upstream builds and installs stuff.
++  * Remove the hack introduced in 7.2.0 for a clean upgrade from 7.0.3.
++
++ -- Joachim Breitner <nomeata@debian.org>  Tue, 12 May 2015 12:41:40 +0200
++
++ghc (7.8.4-9) unstable; urgency=medium
++
++  * Another stab at making GHC more reproducible: Use a hash of the command
++    line instead of the pid when calculating a "random" directory name.
++
++ -- Joachim Breitner <nomeata@debian.org>  Sun, 07 Jun 2015 16:21:38 +0200
++
++ghc (7.8.4-8) unstable; urgency=medium
++
++  * debian/patches/stable-specialization-rule-names: Root out another cause of
++    binary ABI instability.
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 25 May 2015 19:28:56 +0200
++
++ghc (7.8.4-7) unstable; urgency=medium
++
++  * Remove useless *.haddock.t files (upstream bug 10410)
++  * A lucky guess at making GHC build reproducible, by not putting the process
++    id in temporary filenames.
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 25 May 2015 11:06:54 +0200
++
++ghc (7.8.4-6) unstable; urgency=medium
++
++  * Hack to get stable ABIs even when the build path changes. Closes:
++    #785282
++
++ -- Joachim Breitner <nomeata@debian.org>  Thu, 21 May 2015 10:35:25 +0200
++
++ghc (7.8.4-5) unstable; urgency=medium
++
++  * New patch patches/PPC-relocations.patch by Colin Watson, Closes: #785194 
++
++ -- Joachim Breitner <nomeata@debian.org>  Wed, 13 May 2015 21:06:05 +0200
++
++ghc (7.8.4-4) unstable; urgency=medium
++
++  * Apply hurd compatibility patch by Pino
++  * Put .haddock files of libraries shipped with GHC into
++    /usr/lib/ghc-doc/haddock/ghc/<pkg> instead of
++    /usr/lib/ghc-doc/haddock/<pkg>. This avoids overriding such a file if a
++    -doc package of the same package and version is installed.
++    Closes: #783863.
++  * Use ld.gold on arm64 and enable GHCi. Thanks to Edmund Grimley Evans for
++    digging up the relevant upstream patches, and for Erik de Castro Lopo for
++    writing them in the first place. Closes: #783987
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 04 May 2015 09:47:07 +0200
++
++ghc (7.8.4-3) unstable; urgency=medium
++
++  * Remove LLVM path hacks, ghc-7.8 properly remembers the value passed via
++    --with-opt=opt-3.4 and use it at runtime (at least I think it does).
++
++ -- Joachim Breitner <nomeata@debian.org>  Thu, 30 Apr 2015 19:42:52 +0200
++
++ghc (7.8.4-2) unstable; urgency=medium
++
++  * Fix debian/rules syntax (tab instead of spaces) to unbreak build on armel,
++    armhf
++  * Apply all hacks for armel and armhf also on arm64 
++
++ -- Joachim Breitner <nomeata@debian.org>  Thu, 30 Apr 2015 09:08:39 +0200
++
++ghc (7.8.4-1) unstable; urgency=medium
++
++  * Upload to unstable.
++  * Fix version glitch now, so that it never affects anything besides
++    experimental.
++  * ghc-doc: Conflict with libghc-xhtml-doc
++  * Merge from unstable:
++    - Let ghc-haddock break on ghc-doc (<< 7.6.3-20~). Closes #781649.
++    - Improve watch file
++    - Mark all triggers -noawait. Closes: #769554
++    - Joey Hess: armel,armhf: Force use of llvm-3.4, rather than unversioned
++      lvm, which can have abi changes that break ghc. Closes: #763078
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 27 Apr 2015 11:17:38 +0200
++
++ghc (7.8.20141223-1) experimental; urgency=medium
++
++  * New upstream release (7.8.4)
++  * Drop patches always_build_arm_spinlocks.patch, linker-detection-fix,
++    dll-split-fix.patch, TcSplice-no-GHCi-fix; applied upstream.
++
++ -- Joachim Breitner <nomeata@debian.org>  Tue, 23 Dec 2014 15:29:00 +0100
++
++ghc (7.8.20141119-8) experimental; urgency=medium
++
++  * Now that the package builds on armel and armhf, try to build with GHCi
++    enabled. 
++
++ -- Joachim Breitner <nomeata@debian.org>  Tue, 09 Dec 2014 14:29:13 +0100
++
++ghc (7.8.20141119-7) experimental; urgency=medium
++
++  * Apply patches taken from GHC HEAD that help building on ARM  
++    - always_build_arm_spinlocks.patch
++    - dll-split-fix.patch
++    - linker-detection-fix
++  * Replace patches/Fix-documentation-build-failure-without-GHCi.patch by the
++    equivalent patch from GHC HEAD (./patches/TcSplice-no-GHCi-fix)
++  * Pass -fuse-ld=gold to gcc when used as alinker on arm
++    (patches/use-gold-on-arm) and make sure this setting does not affect other
++    parts (patches/saner-linker-opt-handling).
++  * Try to handle autoreconf saner, by simply calling perl bool 
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 08 Dec 2014 19:08:01 +0100
++
++ghc (7.8.20141119-6) experimental; urgency=medium
++
++  * According to Ben Gamari, the flag is -optl-B..., not -optc-B... 
++  * Do not pass -mlong-calls to gcc on arm, on the grounds that upstream is
++    not doing it.
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 01 Dec 2014 09:41:21 +0100
++
++ghc (7.8.20141119-5) experimental; urgency=medium
++
++  * Try using ld.gold on arm, using -optc-B/usr/bin/ld.gold 
++
++ -- Joachim Breitner <nomeata@debian.org>  Sun, 30 Nov 2014 18:51:45 +0100
++
++ghc (7.8.20141119-4) experimental; urgency=medium
++
++  * Try using ld.gold on arm. 
++
++ -- Joachim Breitner <nomeata@debian.org>  Fri, 28 Nov 2014 22:15:29 +0100
++
++ghc (7.8.20141119-3) experimental; urgency=medium
++
++  * Explicitly call opt-3.4, and avoid the generic opt command.
++
++ -- Joachim Breitner <nomeata@debian.org>  Wed, 26 Nov 2014 22:11:34 +0100
++
++ghc (7.8.20141119-2) experimental; urgency=medium
++
++  * Explicitly depend on llvm-3.4 on arm, maybe that works better. 
++
++ -- Joachim Breitner <nomeata@debian.org>  Wed, 26 Nov 2014 16:14:54 +0100
++
++ghc (7.8.20141119-1) experimental; urgency=medium
++
++  * New upstream release candidate (7.8.4-rc1) 
++
++ -- Joachim Breitner <nomeata@debian.org>  Wed, 26 Nov 2014 10:12:08 +0100
++
++ghc (7.8.20140710-4) experimental; urgency=medium
++
++   * Add support for mips and mipsel.
++     Add mips-support.patch.
++     Patch by Dejan Latinovic <Dejan.Latinovic@imgtec.com>.
++     Closes:  #751479.
++
++ -- Joachim Breitner <nomeata@debian.org>  Fri, 18 Jul 2014 22:47:43 +0200
++
++ghc (7.8.20140710-3) experimental; urgency=medium
++
++  * Depend on libncurses5-dev, since we ship terminfo in ghc now. Thanks to
++    David Fox for noticing. 
++
++ -- Joachim Breitner <nomeata@debian.org>  Wed, 16 Jul 2014 19:50:39 +0200
++
++ghc (7.8.20140710-2) experimental; urgency=medium
++
++  * Also ship terminfo, haskeline, and xhtml. Thanks to David Fox for the
++    patch and testing.
++
++ -- Joachim Breitner <nomeata@debian.org>  Sun, 13 Jul 2014 17:49:18 +0200
++
++ghc (7.8.20140710-1) experimental; urgency=medium
++
++  * New upstream release (7.8.3)
++    The version number is a work-around for a glitch earlier, see below.
++
++ -- Joachim Breitner <nomeata@debian.org>  Thu, 10 Jul 2014 10:17:36 +0200
++
++ghc (7.8.20140411-5) experimental; urgency=medium
++
++  * Merge 7.6.3-13 from unstable
++
++ -- Joachim Breitner <nomeata@debian.org>  Wed, 11 Jun 2014 10:03:28 +0200
++
++ghc (7.8.20140411-4) experimental; urgency=medium
++
++  * Merge 7.6.3-9 to 7.6.3-12 from unstable 
++
++ -- Joachim Breitner <nomeata@debian.org>  Tue, 10 Jun 2014 12:25:10 +0200
++
++ghc (7.8.20140411-3) experimental; urgency=medium
++
++  * Do not pass -optc-mminimal-toc on ppc64 (Closes: #747089), thanks to
++    Hiroyuki Yamamoto for the patch.
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 05 May 2014 20:52:26 +0200
++
++ghc (7.8.20140411-2) experimental; urgency=medium
++
++  * Try building without hardening and see what architectures work then. 
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 28 Apr 2014 16:21:08 +0200
++
++ghc (7.8.20140411-1) experimental; urgency=medium
++
++  * New upstream release (7.8.2)
++    The version number is a work-around for a glitch earlier, see below.
++  * Fix haddock build on armhf (Upstream bug #8988, patch by Colin Watson)
++  * debian/watch: Refer to xz-compressed tarball
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 12 Apr 2014 00:13:34 +0200
++
++ghc (7.8.20140408-1) experimental; urgency=medium
++
++  * New upstream release (7.8.1)
++    The version number is a work-around for a glitch earlier. When uploading
++    to Debian unstable, the proper 7.8.1 can be used. This way, the glich will
++    be confined to experimental, and only until 7.9 or 7.10 is uploaded to
++    experimental.
++
++ -- Joachim Breitner <nomeata@debian.org>  Tue, 08 Apr 2014 15:49:58 +0200
++
++ghc (7.8.20140228-1) experimental; urgency=medium
++
++  * New release candiate (7.8 RC 2)
++  * Do not provide stm or parallel, these are not officially part of the GHC
++    distribution.
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 03 Mar 2014 14:34:17 +0100
++
++ghc (7.8.20140130-3) experimental; urgency=medium
++
++  * transformers now comes with ghc, put it in the Provides line 
++
++ -- Joachim Breitner <nomeata@debian.org>  Sun, 09 Feb 2014 20:54:01 +0000
++
++ghc (7.8.20140130-2) experimental; urgency=medium
++
++  * Call ghc and ghc-pkg via the wrappers in /usr/bin in the postinst script
++    (Closes: 738183)
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 08 Feb 2014 12:28:59 +0000
++
++ghc (7.8.20140130-1) experimental; urgency=low
++
++  * New upstream release candidate
++  * Drop ghc-dynamic, now contained in ghc
++
++ -- Joachim Breitner <nomeata@debian.org>  Wed, 05 Feb 2014 10:51:51 +0000
++
++ghc (7.6.3-21) unstable; urgency=medium
++
++  * Fix watch file.
++  * Let ghc-haddock break on ghc-doc (<< 7.6.3-20~). If I used piuparts
++    correctly, this finally closes: #781649.
++
++ -- Joachim Breitner <nomeata@debian.org>  Wed, 01 Apr 2015 13:35:10 +0200
++
++ghc (7.6.3-20) unstable; urgency=medium
++
++  * Mark all triggers -noawait. Possibly Closes: #769554
++
++ -- Joachim Breitner <nomeata@debian.org>  Sun, 23 Nov 2014 11:20:59 +0100
++
++ghc (7.6.3-19) unstable; urgency=medium
++
++  * Fix armel/armhf script munging; ghci and runghc are not available on
++    those arches.
++
++ -- Joey Hess <joeyh@debian.org>  Mon, 29 Sep 2014 16:28:23 +0100
++
++ghc (7.6.3-18) unstable; urgency=medium
++
++  * Fix accidental line wrap in debian/rules
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 29 Sep 2014 09:52:40 +0200
++
++ghc (7.6.3-17) unstable; urgency=medium
++
++  * armel,armhf: Force use of llvm-3.4, rather than unversioned lvm,
++    which can have abi changes that break ghc. Closes: #763078
++
++ -- Joey Hess <joeyh@debian.org>  Sun, 28 Sep 2014 19:16:16 +0100
++
++ghc (7.6.3-16) unstable; urgency=medium
++
++  * Also do not conflict with libghc-binary-doc
++
++ -- Joachim Breitner <nomeata@debian.org>  Tue, 29 Jul 2014 14:21:49 +0200
++
++ghc (7.6.3-15) unstable; urgency=medium
++
++  * Do not conflict with libghc-binary-dev.
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 26 Jul 2014 15:32:10 +0200
++
++ghc (7.6.3-14) unstable; urgency=medium
++
++  * Backport from 7.8: Do not panic when annotations are encountered on non-TH
++    architectures. Less work this way than patching all the library code.
++    (Closes: 752460). Thanks to Dejan Latinovic to provide the patch.
++
++ -- Joachim Breitner <nomeata@debian.org>  Tue, 01 Jul 2014 09:18:02 +0200
++
++ghc (7.6.3-13) unstable; urgency=medium
++
++  * Actually use the conflicting-devs variable in debian/control. No idea what
++    went wrong yesterday.
++
++ -- Joachim Breitner <nomeata@debian.org>  Wed, 11 Jun 2014 09:55:30 +0200
++
++ghc (7.6.3-12) unstable; urgency=medium
++
++  * Last update broke the calculation of the Provides fields, fixing.
++    (Closes: #751051)
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 09 Jun 2014 22:19:03 +0200
++
++ghc (7.6.3-11) unstable; urgency=medium
++
++  * Do no conflict with libghc-cabal-dev. 
++
++ -- Joachim Breitner <nomeata@debian.org>  Sun, 08 Jun 2014 13:56:51 +0200
++
++ghc (7.6.3-10) unstable; urgency=medium
++
++  * Team upload.
++  * Add ppc64el support.
++
++ -- Colin Watson <cjwatson@debian.org>  Sat, 12 Apr 2014 02:26:04 +0100
++
++ghc (7.6.3-9) unstable; urgency=medium
++
++  * Team upload.
++  * Ensure that all copies of config.guess and config.sub in the tree are up
++    to date at build time.
++  * Add arm64 support.
++
++ -- Colin Watson <cjwatson@debian.org>  Sat, 05 Apr 2014 02:00:21 +0100
++
++ghc (7.6.3-8) unstable; urgency=medium
++
++  * Apply a4b1a435 from upstream, to fix building on 64 big endian platforms
++    such as s390x. Thanks to Aurelien Jarno for pointing out the fix.
++    Closes: #740144
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 03 Mar 2014 09:12:47 +0100
++
++ghc (7.6.3-7) unstable; urgency=low
++
++  [ Gianfranco Costamagna ]
++  * Bumped standard version to 3.9.5, no changes required.
++
++  [ Joachim Breitner ]
++  * Depend on gcc (Closes: #736472)
++
++ -- Joachim Breitner <nomeata@debian.org>  Sun, 09 Feb 2014 12:21:48 +0000
++
++ghc (7.6.3-6) unstable; urgency=medium
++
++  * Closes: #731597: llvm-3.3 compatibility (patch from upstream)
++
++ -- Joachim Breitner <nomeata@debian.org>  Sun, 08 Dec 2013 18:28:30 +0000
++
++ghc (7.6.3-5) unstable; urgency=low
++
++  [ Gianfranco Costamagna ]
++  * Removing gcc from control file build-deps
++
++  [ Louis Bettens ]
++  * fix cabal bug #1087 in current version
++
++ -- Gianfranco Costamagna <costamagnagianfranco@yahoo.it>  Wed, 28 Aug 2013 16:14:21 +0200
++
++ghc (7.6.3-4) unstable; urgency=low
++
++  [ Colin Watson ]
++  * Enable verbose build output (see
++    http://lists.debian.org/debian-devel/2013/06/msg00539.html).
++
++  [ Gianfranco Costamagna ]
++
++  * Switch to llvm (Closes: #711948)
++  * removed deprecated DM-Upload-Allowed
++  * removed some version checks, higher versions are already in oldstable.
++  * Added dpkg-buildflags as build-dep, fixing lintian warning.
++
++ -- Joachim Breitner <nomeata@debian.org>  Fri, 16 Aug 2013 14:40:37 +0200
++
++ghc (7.6.3-3) unstable; urgency=low
++
++  * Add patches/Handle-sign-bit-when-generating-veneer-for-ARM-Thumb.patch,
++    patch by Colin Watson
++  * Disable GHCi on arm, as it is severly borken (for more information see
++    http://hackage.haskell.org/trac/ghc/ticket/7794)
++  * Do not create system-wide documentation index if /usr/share/doc is
++    missing. (Closes: #709911)
++  * Create a symlink from prof_scc.png to prof_scc (Closes: #664043) 
++
++ -- Joachim Breitner <nomeata@debian.org>  Wed, 05 Jun 2013 20:57:49 +0200
++
++ghc (7.6.3-2) unstable; urgency=low
++
++  * Enable compat level 9
++  * Remove transitional ghc6-* packages 
++
++ -- Joachim Breitner <nomeata@debian.org>  Fri, 24 May 2013 11:12:19 +0200
++
++ghc (7.6.3-1) experimental; urgency=low
++
++  * New upstream release
++
++ -- Joachim Breitner <nomeata@debian.org>  Sun, 21 Apr 2013 19:12:24 +0200
++
++ghc (7.6.2-1) experimental; urgency=low
++
++  * New upstream release
++
++ -- Joachim Breitner <nomeata@debian.org>  Tue, 29 Jan 2013 21:16:52 +0100
++
++ghc (7.6.1.20121207-2) experimental; urgency=low
++
++  * Typo in ghc-haddock’s Provides, thanks to David Fox for noticing. 
++
++ -- Joachim Breitner <nomeata@debian.org>  Thu, 13 Dec 2012 18:33:48 +0100
++
++ghc (7.6.1.20121207-1) experimental; urgency=low
++
++  * New upstream release (aka 7.6.1-rc).
++    + Closes: #677096 (huge number of wakeups)
++  * Remove debian/patches/armhf_llvm_abi, applied upstream, thanks to Shawn
++    Landden for noticing (Closes: #695739)
++  * Hardcode in debian/rules that haddock supportin interface version 22 also
++    supports interface version 21.
++
++ -- Joachim Breitner <nomeata@debian.org>  Wed, 12 Dec 2012 12:32:48 +0100
++
++ghc (7.6.1-3) experimental; urgency=low
++
++  * Bump standards version, no change
++  * Change VCS fields back to regular repo 
++  * Build the runtime also in the thr_debug_p way, suggestion by Michał J.
++    Gajda
++
++ -- Joachim Breitner <nomeata@debian.org>  Tue, 04 Dec 2012 22:00:27 +0100
++
++ghc (7.6.1-2) experimental; urgency=low
++
++  * Do not Provide transformers, it is only used internally.
++  * Ensure this is not used with unstable’s haskell-devscripts 
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 08 Oct 2012 22:41:46 +0200
++
++ghc (7.6.1-1) experimental; urgency=low
++
++  * New upstream release 
++    Dropped patches, applied upstream:
++     + Fix-GHCi-segfault-on-linux-powerpc
++     + hurd-is-ELF
++     + use-llvm-3.0
++     + memcpy-ffi
++     + fix-PPC-right-shift-bug
++     + no-useless-time
++     + fix-ppc-ghci-segfault
++  * Configure the use of llc-3.0 and opt-3.0 via ./configure 
++  * Bump standards version
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 08 Oct 2012 15:48:21 +0200
++
++ghc (7.4.2-2) experimental; urgency=low
++
++  [ Erik de Castro Lopo ]
++  * Add patch to fix GHCi segfault on startup on PowerPC (Closes: #631073).
++  * Remove patch no_ghci_on_powerpc.
++
++  [ Iain Lane ]
++  * Update Vcs-* to point to experimental branch
++
++ -- Erik de Castro Lopo <erikd@mega-nerd.com>  Mon,  6 Aug 2012 20:19:46 +1000
++
++ghc (7.4.2-1) experimental; urgency=low
++
++   * New upstream.
++   * debian/patches/series
++     - Remove patch fix-ARM-s-StgCRun-clobbered-register-list-for-both-A,
++       fix-ARM-StgCRun-to-not-save-and-restore-r11-fp-regis and memcpy-ffi.patch
++       (in upstream).
++     - Refresh other patches.
++
++ -- Erik de Castro Lopo <erikd@mega-nerd.com>  Mon, 11 Jun 2012 15:21:26 +1000
++
++ghc (7.4.1-4) unstable; urgency=low
++
++  [ Erik de Castro Lopo ]
++  * Add debian/patches/fix-PPC-right-shift-bug which fixes upstream GHC bug:
++    http://hackage.haskell.org/trac/ghc/ticket/6156 (Closes: #677591)
++  * Refresh other patches.
++  * debian/contol: Add myself to uploaders and set DM-Upload-Allowed to yes.
++
++  [ Joachim Breitner ]
++  * debian/patches/no-useless-timer: Backported from GHC 7.4.2, (Closes:
++    #677096)
++  * Make sure GHC is using ld.bfd, as it passes arguments not understood by
++    the gold linker (Closes: #673081) 
++  * Use a saner priority for the runhaskell alternative. (Closes: #676970).
++    TODO for later: Consider removing the alternatives code altogether.
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 16 Jun 2012 12:48:18 +0200
++
++ghc (7.4.1-3) unstable; urgency=low
++
++  * Remove the ghc-doc symlink logic from 7.0.4-3, as with 7.4.1, every
++    documentation package had to be rebuit.
++  * ghc-doc: Conflict on libghc-haddock-doc, as it contains files that moved
++    into ghc-doc. (Closes: #659081)
++  * Added debian/patches/memcpy-ffi.patch, backported from upstream master
++    branch. See http://hackage.haskell.org/trac/ghc/ticket/5967.
++
++ -- Joachim Breitner <nomeata@debian.org>  Sun, 06 May 2012 21:51:17 +0200
++
++ghc (7.4.1-2) unstable; urgency=low
++
++  [ Iain Lane ]
++
++  * Two new patches (backported by Iulian Udrea) to fix armel build
++    failures. See upstream bug #5824.
++    - fix-ARM-s-StgCRun-clobbered-register-list-for-both-A
++    - fix-ARM-StgCRun-to-not-save-and-restore-r11-fp-regis
++  * Use dh_autoreconf{,_clean} to autoreconf, mainly so we can have proper
++    clean support.
++  * armhf support (thanks to Jani Monoses):
++    - debian/patches/ARM-VFPv3D16: Use vfp3-d16 FPU for ARM builds.
++    - debian/patches/armhf_llvm_abi: Pass -float-abi=hard to llc on armhf if
++      __ARM_PCS_VFP is defined (needs to be preprocessed for this)
++    - debian/rules: Define __ARM_PCS_VFP on armhf for the above patch.
++
++  [ Joachim Breitner]
++
++  * patches/hurd-is-ELF added, Closes: #659530, thanks to Samuel
++    Thibault
++  * Also conflict with any provided libghc-*-dev packages. Thus, if a packages
++    is moved _into_ ghc that was outside before, no external package can be
++    installed (as was the case with binary).
++  * patches/no-missing-haddock-file-warning: Quench warning, as it is quite
++    common on Debian installations.
++  * build-depends-indep on hscolour and fop, to ensure most documentation is
++    built.
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 10 Mar 2012 19:32:34 +0100
++
++ghc (7.4.1-1) unstable; urgency=low
++
++  * New upstream release.
++
++ -- Joachim Breitner <nomeata@debian.org>  Fri, 03 Feb 2012 16:27:31 +0100
++
++ghc (7.4.0.20120126-1) experimental; urgency=low
++
++  * New upstream release candidate (7.4.1-rc2)
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 28 Jan 2012 13:31:10 -0500
++
++ghc (7.4.0.20120108-1) experimental; urgency=low
++
++  * s/armef/armhf/ in debian/control
++  * New upstream release, drop all patches introduced in 7.4.0.20111219-3,
++    applied upstream.
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 09 Jan 2012 13:22:18 +0100
++
++ghc (7.4.0.20111219-4) experimental; urgency=low
++
++  * Prefix haddock interface number with "haddock-interface" in
++    Depends/Provides pair
++  * Switch to llvm and registered builds on arm*
++  * Do not set UseLibFFIForAdjustors in debian/rules, as the code in
++    ./mk/config.mk.in seems to do the same anyways.
++  * Do not set GhcWithInterpreter=YES for kfreebsd-*, done in
++    ./mk/config.mk.in by now.
++  * Do not set GhcUnregisterised=YES in debian/rules, ./mk/config.mk.in
++    already makes the right choice.
++  * Do not build the accidentally included dph libraries.
++  * Explicitly depend on llv-3.0 and use corresponding binary names.
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 02 Jan 2012 20:39:42 +0100
++
++ghc (7.4.0.20111219-3) experimental; urgency=low
++
++  * patches/kfreebsd-OS: KFreeBSD is an ELF-based OK
++  * patches/S390-Arch: Mention bitness of S390(x)
++  * patches/ArchMips: Add more missing Arch values
++
++ -- Joachim Breitner <nomeata@debian.org>  Fri, 30 Dec 2011 18:05:33 +0100
++
++ghc (7.4.0.20111219-2) experimental; urgency=low
++
++  * Fix building bundeled haddock out-of-tree (We need to re-think this
++    approach).
++  * Drop patches/lpthread-bootstrap-workaround, probably not needed any
++    more. Also drop autoconf dependency.
++
++ -- Joachim Breitner <nomeata@debian.org>  Fri, 23 Dec 2011 09:23:42 +0100
++
++ghc (7.4.0.20111219-1) experimental; urgency=low
++
++  * New upstream release (AKA 7.4.1-rc1)
++    + Closes: #635587 (GHCi linker could not find libstdc++)
++    + Closes: #514720 (cabal installation wrecks permissions) (was actually
++      closed earlier, I think)
++    + Closes: #533022 (Data.Word should define instances of Random for each
++      type)
++
++ -- Joachim Breitner <nomeata@debian.org>  Thu, 22 Dec 2011 14:34:50 +0100
++
++ghc (7.2.2-1) experimental; urgency=low
++
++  * New upstream release
++  * Call autoconf and remove configure in clean, to avoid having an
++    autoreconf-patch in debian/patches.
++  * Drop patches/hash-version-number, applied upstream
++  * Drop improve_linker_script_handling, applied upstream
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 19 Nov 2011 18:34:17 +0100
++
++ghc (7.2.1-1) experimental; urgency=low
++
++  * New upstream release.
++
++ -- Joachim Breitner <nomeata@debian.org>  Tue, 23 Aug 2011 20:58:31 +0200
++
++ghc (7.2.0.20110728-1) experimental; urgency=low
++
++  * Remove ghc-doc dependency on ghc, it did not have the desired effect.
++    Instead call ghc-pkg recache in ghc-doc’s trigger as well.
++  * Install 7.2.1-rc1 to experimental.
++  * Undo the symlink-workarounds introduced in 7.0.4-3. The -doc work-around
++    is still needed, as the haddock interface version did not change.
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 06 Aug 2011 19:50:04 +0200
++
++ghc (7.0.4-9) UNRELEASED; urgency=low
++
++  * Suggest llvm package
++
++ -- Joachim Breitner <nomeata@debian.org>  Thu, 10 Nov 2011 19:19:41 +0100
++
++ghc (7.0.4-8) unstable; urgency=low
++
++  * Remove ghci support on powerpc (Closes: #631073)
++
++ -- Joachim Breitner <nomeata@debian.org>  Sun, 30 Oct 2011 17:56:23 +0100
++
++ghc (7.0.4-7) unstable; urgency=low
++
++  [ Joachim Breitner ]
++  * patches/configure-s390x: Add s390x to the list of known architectures.
++  * add armhf in debian/rules (Patch by Riku Voipio, Closes: #640811)
++
++  [ Iain Lane ]
++  * Handle linker scripts for which dlopen returns "file too short" and/or
++    which contain INPUT statements (for example libncurses.so) (Closes:
++    #644591)
++  * Standards-Version → 3.9.2, no changes required
++
++ -- Iain Lane <laney@debian.org>  Tue, 18 Oct 2011 17:09:39 +0100
++
++ghc (7.0.4-6) unstable; urgency=low
++
++  * Fix #609445 by actually removing the patch for #566331, not needed any
++    more since this upstream commit:
++
++      Sat Jul 31 12:55:06 BST 2010  Ian Lynagh <igloo@earth.li>
++      * Expose the functions haddock needs even when haddock is disabled; #3558
++
++
++ -- Joachim Breitner <nomeata@debian.org>  Wed, 31 Aug 2011 08:44:33 +0200
++
++ghc (7.0.4-5) unstable; urgency=low
++
++  * Remove ghc-doc dependency on ghc, it did not have the desired effect.
++    Instead call ghc-pkg recache in ghc-doc’s trigger as well.
++  * Fix missing instance documentation (Closes: #609445)
++    This was a Debian-specific regression, introduced in the fix for #566331
++    or later caused by it, and fixed by building haddock with -DGHCI.
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 30 Jul 2011 16:09:07 +0200
++
++ghc (7.0.4-4) unstable; urgency=low
++
++  * Let ghc-doc depend on ghc. It already does via ghc-haddock, making this
++    explicit ensures that the triggers run in the right order.
++  * debian/patches/hash-version-number: Include the upstream version number in
++    the ABI hash. We do need to recompile everything, even after a minor ghc
++    upgrade. This allows to use the same mechanism to ensure correctness and
++    detect that we need to recompile something as for other kind of
++    recompilations. (Closes: #633828)
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 16 Jul 2011 11:23:09 +0200
++
++ghc (7.0.4-3) unstable; urgency=low
++
++  * Employ similar symlink work-around to merge /var/lib/ghc-*/package.conf.d
++    into /var/lib/ghc/package.conf.d. Also remove version number from
++    /usr/lib/ghc path.
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 11 Jul 2011 13:13:45 +0200
++
++ghc (7.0.4-2) unstable; urgency=low
++
++  * Fix ghc-ghci existance check logic
++
++ -- Joachim Breitner <nomeata@debian.org>  Sun, 10 Jul 2011 15:23:55 +0200
++
++ghc (7.0.4-1) unstable; urgency=low
++
++  * New upstream release (Closes: #622731)
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 09 Jul 2011 19:50:41 +0200
++
++ghc (7.0.3-2) unstable; urgency=low
++
++  * Mention correct haddock version in package description.
++  * Install .haddock files under /usr/lib/ghc-doc/haddock, a path valid across
++    ghc-versions. Also move them to the ghc-doc package.
++  * In ghc-doc.prerm, do a better job of cleaning
++    /usr/share/doc/ghc-doc/html/libraries of files generated when creating the
++    haddock index.
++  * Make Provides: ghc-ghci dependent on existence of ghci binary
++    (Closes: #629038)
++  * Make ghc-haddock depend on the exact version of ghc, just to be on the
++    safe side. (Closes: #539312)
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 18 Jun 2011 21:07:06 +0200
++
++ghc (7.0.3-1) unstable; urgency=low
++
++  * Remove Build-Conflict on dash, as a fixed package has been uploaded.
++  * Do not provide utf8-string or xhtml, as they are only built internally.
++  * Remove Build-Depend alternative ghc6, and also remove Provides: ghc6, as
++    this is a lie and I see no techical reason for it.
++  * New upstream release
++  * Avoid "hPutChar: resource vanished" message and simplify postinst script
++    (Closes: #619403)
++  * Remove package cache in prerm, even on upgrade. This is the right thing to
++    do if upgrading to a new upstream release, and does not hurt in the other
++    cases.
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 09 Apr 2011 21:43:15 +0530
++
++ghc (7.0.2-7) unstable; urgency=low
++
++  * Upload to unstable
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 26 Mar 2011 21:45:53 +0530
++
++ghc (7.0.2-6) experimental; urgency=low
++
++  * Set a dummy HOME variable upon build. Some build daemons do not set HOME,
++    but ghc-cabal expects it to be available.
++
++ -- Joachim Breitner <nomeata@debian.org>  Fri, 25 Mar 2011 12:47:29 +0530
++
++ghc (7.0.2-5) experimental; urgency=low
++
++  * Build-Conflict with broken version of dash (See #618023)
++  * Link ghc-doc to haddock via virtual package "haddock-interface-<n>"
++  * Remove redundand Build-dependency on autoconf
++
++ -- Joachim Breitner <nomeata@debian.org>  Wed, 23 Mar 2011 12:03:56 +0530
++
++ghc (7.0.2-4) experimental; urgency=low
++
++  * ghc6-preinst: Remove package.cache file of any ghc6 installation to avoid
++    dpkg warning at upgrade time.
++  * Build-conflict with ccache. pbuilder installs ccache by default, which
++    causes ghc to pick up a wrong path for "gcc".
++  * Pass -lpthread everywhere. This can possibly be dropped later.
++
++ -- Joachim Breitner <nomeata@debian.org>  Fri, 11 Mar 2011 14:00:11 +0530
++
++ghc (7.0.2-3) experimental; urgency=low
++
++  [ Iain Lane ]
++  * debian/rules: Build with -mminimal-toc on ppc64 — thanks to Colin
++    Watson for investigation and patch.
++
++  [ Joachim Breitner ]
++  * Disable the use of epoll_create1 and use epoll_create, as the former is
++    not available on Linux kernels earlier than 2.6.27.
++    http://hackage.haskell.org/trac/ghc/ticket/5005
++
++ -- Joachim Breitner <nomeata@debian.org>  Wed, 09 Mar 2011 21:44:50 +0530
++
++ghc (7.0.2-2) experimental; urgency=low
++
++  [ Joachim Breitner ]
++  * Remove procps dependency (watcher.hs has been removed since a while)
++  * Build-depend and depend on libgmp-dev instead of libgmp3-dev.
++
++  [ Erik de Castro Lopo ]
++  * Add patch to fix powerpc compile error (powerpc-compile-616635)
++    (Closes: #616635)
++
++  [ Joachim Breitner ]
++  * fix FTBFUS by removing left-over binaries
++
++ -- Joachim Breitner <nomeata@debian.org>  Tue, 08 Mar 2011 13:01:18 +0530
++
++ghc (7.0.2-1) experimental; urgency=low
++
++  * (Closes: 554174) Segfaults at startup not observable any more
++  * Tweak debian/copyright
++  * New upstream release (Should help to close 616494)
++
++ -- Joachim Breitner <nomeata@debian.org>  Sat, 05 Mar 2011 22:04:21 +0530
++
++ghc (7.0.1-1) experimental; urgency=low
++
++  [ Joachim Breitner ]
++  * New upstream release, some patches included.
++  * Package adopted by the Debian Haskell Group. Thanks to kaol for his
++    work!
++  * Rename source and binary packages to ghc, include transitional dummy
++    package
++  * Standards-Version 3.9.1 (no changes necessary)
++
++  [ Erik de Castro Lopo ]
++  * Re-enable building of ghci on powerpc. (Closes: 557185)
++
++ -- Joachim Breitner <nomeata@debian.org>  Mon, 17 Jan 2011 12:49:24 +0530
++
++ghc6 (6.12.3-1) experimental; urgency=low
++
++  * New upstream release
++    * ghci :m now works with module names containing ' (Closes: #580568)
++  * Put haddock and the shared libraries into their own packages.
++    (Closes: #571537)
++  * Only insert packages in gen_contents_index which are both registered
++    and for which the html directory exists.
++  * Use ghc-pkg --global in ghc6's trigger to avoid accessing HOME.
++    (Closes: #578679)
++  * Fix directories in haddock manpage.  (Closes: #578321)
++  * Apply some patches from Gentoo (thanks, Sergei Trofimovich) hopefully
++    fixing ia64 build.
++  * Downgrade ghc6's dependency on perl to Suggests and have ghc6-doc
++    depend on perl.  (Closes: #553332)
++  * Standards-Version 3.9.0 (no changes necessary)
++  * ghc6 package now provides ghc6-ghci on architectures where it's
++    supported (i386 and amd64 only currently).
++
++ -- Kari Pahula <kaol@debian.org>  Tue, 20 Jul 2010 19:19:20 +0300
++
++ghc6 (6.12.1-13) unstable; urgency=low
++
++  * Remove debian/watcher.sh.  (Closes: #571824)
++  * Don't ship /var/lib/ghc-6.12.1/package.conf.d/package.cache with ghc6.
++    (Closes: #574417)
++  * Patch compiler/rename/RnSource.lhs to make hlist happy.
++  * Remove some more generated .hc files in debian/rules clean.
++  * Don't ship broken symlink /usr/lib/ghc-6.12.1/package.conf
++
++ -- Kari Pahula <kaol@debian.org>  Sat, 17 Apr 2010 10:35:25 +0300
++
++ghc6 (6.12.1-12) unstable; urgency=low
++
++  * Fix the kfreebsd-* patch.
++  * Don't die in ghc6's trigger if ghc-pkg check fails.  (Closes: #570921)
++  * Recognise DEB_BUILD_OPTIONS=parallel.
++
++ -- Kari Pahula <kaol@debian.org>  Mon, 22 Feb 2010 15:08:48 +0200
++
++ghc6 (6.12.1-11) unstable; urgency=low
++
++  * Add "unset LC_ALL\nexport LC_CTYPE=en_US" to bin/ghc wrapper on ia64.
++  * Actually append GhcWithInterpreter=YES to mk/build.mk on kfreebsd-*,
++    don't just echo it to stdout.
++
++ -- Kari Pahula <kaol@debian.org>  Mon, 22 Feb 2010 03:24:02 +0200
++
++ghc6 (6.12.1-10) unstable; urgency=low
++
++  * Use dh_haskell_depends from haskell-devscripts to create provides
++    including the packages ABI.
++  * Make provided substvar for utf8-string too.
++  * Run "ghc-pkg check" in ghc6's trigger also.
++  * Added a stub /usr/share/doc/ghc6-doc/index.html that redirects to
++    html/index.html.
++
++ -- Kari Pahula <kaol@debian.org>  Fri, 19 Feb 2010 18:08:57 +0200
++
++ghc6 (6.12.1-9) unstable; urgency=low
++
++  * Remove /usr/lib/ghc-$(ProjectVersion)/lib/haddock (ie. the internal
++    haddock binary that ghc6 used at build time) from the ghc6 package.
++  * Install haddock's files from /usr/share/haddock-$VERSION in ghc6
++    package, not ghc6-doc.
++
++ -- Kari Pahula <kaol@debian.org>  Sat, 13 Feb 2010 02:49:11 +0200
++
++ghc6 (6.12.1-8) unstable; urgency=low
++
++  * Use tabs instead of 8 spaces in debian/rules for ia64 specific flags.
++
++ -- Kari Pahula <kaol@debian.org>  Wed, 10 Feb 2010 13:19:32 +0200
++
++ghc6 (6.12.1-7) unstable; urgency=low
++
++  * Include patches to haddock to ghc6's own patches and don't apply them
++    in debian/rules.
++  * Update the patch for alpha.
++  * ghc6-doc depends on ghc6 (>= ${binary:Version}), not haddock.
++  * Upload to unstable.
++
++ -- Kari Pahula <kaol@debian.org>  Tue, 09 Feb 2010 23:45:14 +0200
++
++ghc6 (6.12.1-6) experimental; urgency=low
++
++  * Use some more compiler flags to make ghc6 build on ia64 for real.
++  * Patch TcForeign.lhs and EventLog.c to make ghc6 build on alpha.
++
++ -- Kari Pahula <kaol@debian.org>  Mon, 08 Feb 2010 13:58:59 +0200
++
++ghc6 (6.12.1-5) experimental; urgency=low
++
++  * Included haddock with the ghc6 package.  Provides, conflicts and
++    replaces haddock.  Copied over haddock.1 from the haddock package.
++  * Build with UseLibFFIForAdjustors=YES on alpha.
++  * Set ghc6 depend on libc6-dev. (Closes: #567809)
++  * Standards-Version 3.8.4, no changes necessary.
++  * Patch up the sources some more for kfreebsd. (Closes: #567298)
++
++ -- Kari Pahula <kaol@debian.org>  Fri, 05 Feb 2010 12:05:15 +0200
++
++ghc6 (6.12.1-4) experimental; urgency=low
++
++  * Patched utils/haddock/src/Haddock/Interface/Create.hs to use
++    lookupGlobalName instead of lookupName when GHCI is
++    unavailable. (Closes: #566331)
++
++ -- Kari Pahula <kaol@debian.org>  Thu, 28 Jan 2010 11:46:55 +0200
++
++ghc6 (6.12.1-3) experimental; urgency=low
++
++  * Updated ghc-pkg's man page.
++  * Added a trigger to run ghc-pkg recache when files are added to
++    /var/lib/ghc-6.12.1/package.conf.d/.
++  * Patch rts/posix/OSThreads.c to define _GNU_SOURCE on kfreebsd
++    too. (Closes: #565818)
++  * Patch utils/haddock/src/Haddock/Interface/AttachInstances.hs to use
++    Nothing as mb_info in attachInstances when GHCI is
++    unavailable. (Closes: #566331)
++  * Breaks cabal-install (<< 0.8.0).
++
++ -- Kari Pahula <kaol@debian.org>  Wed, 27 Jan 2010 23:37:32 +0200
++
++ghc6 (6.12.1-2) experimental; urgency=low
++
++  * Added missing build dependency: libncurses5-dev.
++  * Use the included haddock to build documentation and drop the
++    build-depends-indep on haddock.
++
++ -- Kari Pahula <kaol@debian.org>  Wed, 13 Jan 2010 10:02:15 +0200
++
++ghc6 (6.12.1-1) experimental; urgency=low
++
++  * New upstream release (Closes: #539789)
++    * System.Posix.Semaphore fixed. (Closes: #544127)
++  * Switch to dpkg-source 3.0 (quilt) format
++  * Standards-Version 3.8.3 (no changes necessary).
++  * Added a dependency on libbsd-dev (Closes: #549403)
++  * Patched compiler/utils/Panic.lhs to add a message to internal GHC
++    error messages, suggesting removing .hi files and pointing to
++    README.Debian. (Closes: #532443)
++  * Don't alter Binary.hs and just let Ints to be stored in architecture
++    native format.
++  * Don't set XMLDocWays in build.mk since it's not used anymore.
++  * Remove lpia arch from debian/rules.
++  * Split debian/rules binary to binary-arch and binary-indep. (Closes: #543972)
++  * Set SRC_HC_OPTS += -lffi in build.mk and update the patch
++    system-libffi to use Debian's packaged libffi.
++  * Update the patch to make the build system use /usr/bin/haddock and not
++    build its own.
++
++ -- Kari Pahula <kaol@debian.org>  Tue, 12 Jan 2010 16:29:03 +0200
++
++ghc6 (6.10.4-2) unstable; urgency=low
++
++  * Patch libraries/unix/System/Posix/Semaphore.hsc
++
++ -- Kari Pahula <kaol@debian.org>  Sat, 29 Aug 2009 10:08:42 +0300
++
++ghc6 (6.10.4-1) unstable; urgency=low
++
++  * New upstream release
++  * Pass UseLibFFIForAdjustors=YES to build options on armel.
++  * Standards-Version 3.8.2 (no changes necessary).
++  * Pass GhcUnregisterised=NO to build options on lpia (for Ubuntu's
++    benefit).
++
++ -- Kari Pahula <kaol@debian.org>  Wed, 22 Jul 2009 15:22:36 +0300
++
++ghc6 (6.10.3-3) unstable; urgency=low
++
++  * Patch mkWeakForeignEnv# in rts/PrimOps.cmm to avoid random
++    segfaults. (re:
++    https://bugs.launchpad.net/ubuntu/+source/ghc6/+bug/382803)
++  * Exclude internal boot libraries from generated Provides: libghc6-*
++    substvars. (Closes: #531318)
++
++ -- Kari Pahula <kaol@debian.org>  Sat, 27 Jun 2009 17:58:49 +0300
++
++ghc6 (6.10.3-2) unstable; urgency=low
++
++  * Only call ghc-pkg6 in ghc6-doc's trigger if ghc6 is installed.
++    (Closes: #530732)
++  * Fix the test for seeing if ghci would work.
++  * Build a registerised build on powerpc, but disable ghci.
++
++ -- Kari Pahula <kaol@debian.org>  Thu, 28 May 2009 12:40:17 +0300
++
++ghc6 (6.10.3-1) unstable; urgency=low
++
++  * New upstream release
++    * GHCi uses stdio in blocking mode now. (Closes: #512762)
++    * GHC can cope with missing setitimer(ITIMER_VIRTUAL) support.
++      (Closes: #509252)
++    * Uses haskeline instead of editline.
++  * Only provide ghci and runghc on archs that support it.
++    (Closes: #320335)
++  * Patched compiler/utils/Binary.hs to store Ints as Int64s on 32 bit
++    architectures and warn if it needed to truncate when unserialising.
++  * Moved package.conf to /var/lib/ghc-$VERSION/.
++  * Added a /var/lib/ghc-$VERSION/package.conf.d/ dir.
++  * Set symlinks from /usr/lib/ghc-$VERSION/package.conf* to /var.
++  * Don't ship generated index files in /usr/share/doc/ghc6-doc/libraries/
++    and remove them in postrm. (Closes: #501188)
++  * Remove any leftover index.html files in
++    /usr/share/doc/ghc6-doc/html/libraries/. (Closes: #461323)
++  * Bumped to debhelper compat 7 and Standards-Version 3.8.1 (no changes
++    needed).
++  * Section: haskell for ghc6 and ghc6-prof.
++  * Fix up generated Provides for ghc6 and ghc6-doc.
++    (Closes: #514085, #518400)
++  * Added man pages for runghc and ghc-pkg. (Closes: #460425, #315763)
++  * Removed alternative for /usr/bin/ghcprof. (Closes: #527382)
++  * Build an unregisterised build on powerpc. (Closes: #514946)
++  * Build-depend on a newer binutils on [arm armel].  Add -mlong-calls to
++    gcc's flags.
++  * gen_contents_index reintroduced, this time as a perl script.
++  * Added /usr/share/ghc6-doc/ghc-$VERSION/desc/ for copies of package
++    conf info in -doc packages.
++  * Added a preinst for ghc6, to remove a package.conf file from a removed
++    but not purged old version.
++
++ -- Kari Pahula <kaol@debian.org>  Mon, 18 May 2009 22:18:18 +0300
++
++ghc6 (6.10.1+dfsg1-13) unstable; urgency=low
++
++  * Haddock again just a B-D-I, now with (>= 2.4.1-4).
++  * Patched compiler/utils/Binary.hs to store Ints as Int32s on 64 bit
++    arches, too.
++  * Put .haddock files back to ghc6-doc.
++
++ -- Kari Pahula <kaol@debian.org>  Wed, 25 Feb 2009 05:53:48 +0200
++
++ghc6 (6.10.1+dfsg1-12) unstable; urgency=low
++
++  * Put haddock in Build-Depends on [i386 amd64 sparc powerpc mips mipsel
++    s390 kfreebsd-i386].
++
++ -- Kari Pahula <kaol@debian.org>  Sat, 21 Feb 2009 14:08:08 +0200
++
++ghc6 (6.10.1+dfsg1-11) unstable; urgency=low
++
++  * Put .haddock files in ghc6, not ghc6-doc.
++  * Don't call ghc-pkg in a loop in ghc6-doc's trigger, use perl instead.
++  * Don't remove packages.conf on upgrade from one 6.10.1+dfsg1 version to
++    another.
++  * Generate haddock index in ghc6-doc's postinst configure, too.
++
++ -- Kari Pahula <kaol@debian.org>  Sat, 21 Feb 2009 10:00:19 +0200
++
++ghc6 (6.10.1+dfsg1-10) unstable; urgency=low
++
++  * chmod +x debian/mk_provided_substvars before calling it.
++
++ -- Kari Pahula <kaol@debian.org>  Tue, 17 Feb 2009 19:03:49 +0200
++
++ghc6 (6.10.1+dfsg1-9) unstable; urgency=low
++
++  * Made ghc6-doc's postinst only call haddock on haddock files that are
++    actually installed.
++
++ -- Kari Pahula <kaol@debian.org>  Tue, 17 Feb 2009 12:52:37 +0200
++
++ghc6 (6.10.1+dfsg1-8) unstable; urgency=low
++
++  * Moved xsltproc, docbook-xsl, docbook-xml back as Build-Depends.
++
++ -- Kari Pahula <kaol@debian.org>  Tue, 17 Feb 2009 09:52:55 +0200
++
++ghc6 (6.10.1+dfsg1-7) unstable; urgency=low
++
++  * Set build deps related to doc building as Build-Depends-Indep.
++  * Set BUILD_HADDOCK_DOCS at build time, depending on haddock's
++    presence.  See debian/rules for rationale.
++  * Replaced /usr/lib/ghc6-doc/gen_contents_index with a symlink to
++    /bin/true.
++  * Amended ghc6-doc's "postinst triggered" to perform what g_c_i did.
++  * Added GhcDebugged=YES and some other flags to build.mk on ia64 and hppa.
++  * Moved provided-{dev,prof,doc} generation to its own script and catch
++    errors in it. (Closes: #514085, #514086)
++  * Further cleanups to debian/rules.
++
++ -- Kari Pahula <kaol@debian.org>  Mon, 16 Feb 2009 12:28:56 +0200
++
++ghc6 (6.10.1+dfsg1-6) experimental; urgency=low
++
++  * This time actually change the build on ia64 to be unregisterised.
++  * Dropped ghc6's dependency on haskell-utils.
++  * Removed calls to haskell-utils from prerm and postinst.
++  * Build haddock docs on i386 and amd64. (Closes: #514088)
++
++ -- Kari Pahula <kaol@debian.org>  Thu, 05 Feb 2009 14:14:01 +0200
++
++ghc6 (6.10.1+dfsg1-5) experimental; urgency=low
++
++  * Add libffi-dev as a dependency for ghc6. (Closes: #513289)
++  * Replaced libreadline5-dev with libedit-dev from ghc6's deps.
++  * Don't add any extra flags to GhcRTSWays build variable.
++  * Build a registerised build on kfreebsd-i386. (Closes: #513198)
++  * Build an unregisterised build on ia64.
++
++ -- Kari Pahula <kaol@debian.org>  Wed, 28 Jan 2009 09:23:11 +0200
++
++ghc6 (6.10.1+dfsg1-4) experimental; urgency=low
++
++  * Add pkg-config as a build dep.
++  * Explicitly build an unregisterised version of the compiler on other
++    arches but i386, amd64, powerpc, ia64. (Closes: #512827)
++  * Remove --relax altogether from ia64's ld flags.
++
++ -- Kari Pahula <kaol@debian.org>  Mon, 26 Jan 2009 15:10:54 +0200
++
++ghc6 (6.10.1+dfsg1-3) experimental; urgency=low
++
++  * Again, use the same build options for all arches and just use what
++    arch-specific exceptions upstream provided.
++
++ -- Kari Pahula <kaol@debian.org>  Fri, 23 Jan 2009 08:24:45 +0200
++
++ghc6 (6.10.1+dfsg1-2) experimental; urgency=low
++
++  * Patched the build system to use haddock from /usr/bin/, not build its
++    own.
++  * Disabled building haddock docs for this version.
++  * Re-enabled some of 6.8.2's build options for non-i386, non-amd64.
++  * Patch compiler/Makefile's ia64 build options;
++    s/--ld-option=-Wl,--relax/--ld-option=--relax/.
++
++ -- Kari Pahula <kaol@debian.org>  Wed, 21 Jan 2009 23:33:11 +0200
++
++ghc6 (6.10.1+dfsg1-1) experimental; urgency=low
++
++  * New upstream release (Closes: #495126)
++    * Change the calling conventions for unboxed tuples slightly.
++      (Closes: #365497)
++    * Better documentation for swapMVar. (Closes: #405717)
++    * Don't change code in error messages. (Closes: #499137)
++    * Improve error reporting for 'deriving' (Closes: #499216)
++    * Better error message when -XRankNTypes is missing. (Closes: #499217)
++    * ghc-pkg respects --global with 'field' option. (Closes: #510499)
++  * Repackaged to remove a copy of GNU MP library.
++  * Enable building the stage2 compiler on all architectures.
++  * Added information about libffi (which is included with GHC) to
++    debian/copyright.
++  * Manage changes to the source with quilt.
++  * Link against the system's libffi and add libffi-dev as a build
++    dependency.
++  * Build-dep on haddock >= 2.4.1-1.
++  * Build-dep on libedit-dev, removed build-dep on libreadline-dev.
++  * Patched gen_contents_index: fixed the case when not run inplace; trac
++    #2764
++  * Patched libraries/base/Data/Data.hs: use Prelude.(,,) for
++    tuple3DataType; trac #2750
++  * Added a trigger to ghc6-doc for /usr/share/doc/ghc6-doc/libraries to
++    run gen_contents_index. (Closes: #506568)
++
++ -- Kari Pahula <kaol@debian.org>  Mon, 19 Jan 2009 12:03:16 +0200
++
++ghc6 (6.8.2dfsg1-1) unstable; urgency=medium
++
++  * Repackaged the upstream tarball to remove a copy of GNU MP library
++    with GFDLed docs w/ invariant sections.  (Closes: #511756)
++
++ -- Kari Pahula <kaol@debian.org>  Thu, 15 Jan 2009 07:42:47 +0200
++
++ghc6 (6.8.2-7) unstable; urgency=medium
++
++  * Build-Depend on hurd as an alternative to procps. (Closes: #481343)
++  * Added AC_SYS_LARGEFILE to libraries/unix/configure.ac and ran
++    autoreconf. (Closes: #500407)
++
++ -- Kari Pahula <kaol@debian.org>  Sun, 28 Sep 2008 10:32:20 +0300
++
++ghc6 (6.8.2-6) unstable; urgency=medium
++
++  * New maintainer.
++  * Made the perl script driver/split/ghc-split not use the obsolete $*
++    var (Closes: #489157)
++  * Copied libraries/unix/System/Posix/Resource.hsc and
++    libraries/base/include/HsBase.h from 6.8.3 to fix issues with
++    setResourceLimit. (Closes: #491909)
++
++ -- Kari Pahula <kaol@debian.org>  Wed, 03 Sep 2008 23:41:18 +0300
++
++ghc6 (6.8.2-5) unstable; urgency=low
++
++  * Don't build template-haskell if we're not building GHCi.
++    The package is largely useless without GHCi, and some of the buildds
++    were having trouble building template-haskell. We'll need to fix
++    this some other way if GHCi is to be available on every arch, though...
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Thu, 01 May 2008 12:32:13 +0000
++
++ghc6 (6.8.2-4) unstable; urgency=low
++
++  * Small wibbles to debian/watcher.sh.
++  * Add a build-dep on procps (debian/watcher.sh runs ps).
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Wed, 26 Mar 2008 17:12:18 +0000
++
++ghc6 (6.8.2-3) unstable; urgency=low
++
++  * Every 10 minutes, print any "ps ux" lines that mention gcc or ghc.
++    According to folks on IRC, this is standard practice. It means that
++    we don't have to worry about security buildds having different
++    timeouts to the normal builders.
++  * Apply upstream patch:
++        FIX #2073: Don't add empty lines to GHCI's history
++        Ian Lynagh <igloo@earth.li>**20080224143256
++    Closes: #461170.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Mon, 24 Mar 2008 22:09:02 +0000
++
++ghc6 (6.8.2-2) unstable; urgency=low
++
++  * Apply upstream patch:
++        Tweak the splitter
++        Ian Lynagh <igloo@earth.li>**20080116195612
++        We were generating a label ".LnLC7", which the splitter was confusing
++        with a literal constant (LC). The end result was the assembler tripping
++        up on ".Ln.text".
++    Closes: #466262.
++  * Make an hpc symlink in /usr/bin. Closes: #461146.
++  * Add a dep and build-dep on gcc >= 4:4.2 as we need the
++    -fno-toplevel-reorder flag. Closes: #461332.
++  * Put the right upstream source URL in debian/copyright.
++    Closes: #465058.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Wed, 20 Feb 2008 17:32:52 +0000
++
++ghc6 (6.8.2-1) unstable; urgency=low
++
++  * Strengthen haddock dep and build-dep to 0.8-2 as we need the
++    version that makes compatible files on 32 and 64 bit arches.
++    Closes: #433251.
++  * Add a build-dep on hscolour. We now use it when making the
++    documentation, so the haddock docs link to syntax highlighted
++    source.
++  * Remove the libsrc package. ghc6-doc now includes the sources anyway.
++    Closes: #432706.
++  * gen_contents_index is now provided by the upstream install, so we
++    no longer ship our own copy. However, we do have to move it into
++    /usr/lib rather than /usr/share/doc.
++  * Remove the stat2resid slave of the GHC symlink, as stat2resid
++    no longer exists. Closes: #432715.
++  * We set bindir, docdir, htmldir, dvidir, pdfdir and psdir in
++    mk/build.mk rather than with configure flags, as the way configure
++    currently works means they can't be set relative to other variables
++    if set with configure flags.
++  * We no longer pass --datadir to configure; we used to use this to
++    get the docs in the right place.
++  * When doing the install step, we now use DESTDIR rather than prefix
++    to override where the files go.
++  * We now need to set HADDOCK_DOCS=YES in mk/build.mk in order to get the
++    haddock docks built.
++  * Removed "html/" from the documentation path in ghc6-doc.postinst,
++    ghc6-doc.prerm and ghc6-doc.doc-base.users-guide.
++  * Use "[ ! -f mk/config.mk ] ||" to guard "make distclean" rather than
++    ignoring all errors from it.
++  * Use ${binary:Version} rather than ${Source-Version} to specify the
++    dependency of ghc6-prof on ghc6.
++  * All the libraries now install LICENSE files, so we remove them after
++    the install step.
++  * Follow change in man path from /usr/man to /usr/share/man.
++  * lintian thinks that Cabal's Distribution/License.hi is an extra
++    licence file, so add a lintian override.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Tue, 18 Dec 2007 22:05:22 +0000
++
++ghc6 (6.6.1-2) unstable; urgency=low
++
++  * ghc6-doc now depends on haddock as it needs to run
++    gen_contents_index in postinst. Closes: #423561.
++  * ghc6-doc and ghc6-libsrc depend on ${shlibs:Depends}, ${misc:Depends}.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Tue, 15 May 2007 14:12:53 +0000
++
++ghc6 (6.6.1-1) unstable; urgency=low
++
++  * New upstream version.
++  * Policy 3.7.2 compliant.
++  * ghc6-doc provides libghc6-PACKAGE-doc for the various packages it
++    has docs for.
++  * Tweaked debian/rules to handle changes.
++  * Remove build-dep on xutils; we no longer use lndir (which has now
++    moved to xutils-dev anyway!)
++  * Remove build-dep on cpio; we now let dh_install do all the moving
++    rather than doing it ourselves with cpio.
++  * Remove build-dep on time; no longer used.
++  * Remove build-deps on libx11-dev, libsm-dev, libice-dev, libxmu-dev,
++    libxi-dev; the X11 stuff is now in separate Cabal packages.
++  * Manpages generation script removed s it is now in upstream.
++  * Pass --datadir to ./configure rather than "make install-docs"
++    so the haddock fields in package.conf get set correctly.
++    Closes: #417325.
++  * In mk/config.mk.in, don't put ghc-6.6.1/ on the end of datadir.
++  * Use $(INSTALL) rather than hardcoding /usr/bin/install everywhere.
++  * Don't generate or install library HTML doc contents and index.
++  * Do install libraries-footer.txt, libraries-header.txt and the various
++    prologue.txt's.
++  * Install a gen_contents_index script for generating the haddock
++    contents and index.
++  * Add -X.haddock to the dh_compress call to make sure the .haddock
++    files aren't getting compressed.
++  * Give ghc6-doc a postinst to generate the haddock contents and index
++    when it is installed.
++  * Give ghc6-doc a prerm to clean up the above.
++  * Revert these earlier changes as we now have haddock 0.8:
++    * Remove the --source-module argument to haddock in mk/package.mk
++      as haddock 0.7 doesn't support it.
++    * Re-add the -optP-P when generating .raw-hs files as haddock 0.7
++      doesn't cope with line numbers in the files.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Sun, 29 Apr 2007 00:47:00 +0100
++
++ghc6 (6.6-3) unstable; urgency=low
++
++  * Add arm to the list of arches that have ghc6.
++  * Add arm to the arches in compiler/cmm/PprC.hs for which
++    loads and stores to be printed in a way that works if they are not
++    aligned as the arch wishes.
++  * For arm's odd floating point numbers:
++    * Add FPTOOLS_FLOAT_WORD_ORDER_BIGENDIAN test to aclocal.m4
++    * Call FPTOOLS_FLOAT_WORD_ORDER_BIGENDIAN after AC_C_BIGENDIAN
++      in configure.ac.
++    * Extra section for the FPTOOLS_FLOAT_WORD_ORDER_BIGENDIAN test in
++      configure.
++    * Add "#undef FLOAT_WORDS_BIGENDIAN" to mk/config.h.in.
++    * Add FLOAT_WORDS_BIGENDIAN cases to rts/StgPrimFloat.c.
++  * Apply the following upstream patch, to fix potential problems
++    compiling ghc6 on amd64 (and possibly others):
++
++    Fri Oct 20 16:39:25 BST 2006  Simon Marlow <simonmar@microsoft.com>
++      * In hashExpr, use Word32 rather than relying on wrapping behaviour of Int
++      Fixes #952, as it turns out.
++
++      When compiling via C, we are at the mercy of C's undefined behaviour
++      with respect to overflow of signed integer operations, and this was
++      biting us here.
++
++      Perhaps we should always add the -fwrapv flag to gcc, but since
++      Haskell doesn't define overflow on Int either, it seemed the right
++      thing to do to fix this code anyway.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Sun, 22 Oct 2006 22:36:32 +0000
++
++ghc6 (6.6-2) unstable; urgency=low
++
++  * Add mips and mipsel to the list of arches that have ghc6.
++  * Add mips and mipsel to the arches in compiler/cmm/PprC.hs for which
++    loads and stores to be printed in a way that works if they are not
++    aligned as the arch wishes.
++  * Removed the -static flag for mips from compiler/main/DynFlags.hs.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Mon, 16 Oct 2006 14:20:08 +0100
++
++ghc6 (6.6-1) unstable; urgency=low
++
++  * New upstream version.
++  * Drop ghc6-hopengl package as HOpenGL is now split off from the
++    GHC core.
++  * Removed:
++    * ghc6-hopengl.README.debian
++    * ghc6-hopengl.examples
++    * ghc6-hopengl.postinst.in
++    * ghc6-hopengl.prerm.in
++  * Removed opengl examples.
++  * debian/scripts.mk no longer makes:
++    * debian/ghc6-hopengl.postinst
++    * debian/ghc6-hopengl.prerm
++  * Removed all opengl-related commands from debian/rules.
++  * Drop build-deps on
++      xlibmesa-gl-dev, libglu1-xorg-dev | libglu-dev, libglut3-dev
++    now we don't build the OpenGL libs.
++  * Added note to manpage that ghci is not yet available on all arches.
++  * Add ppc64 to the list of arches that have ghc6. Closes: #375623.
++  * Update locations of README and ANNOUNCE in ghc6.docs.
++  * Don't include ghc/mk/version.mk in debian/scripts.mk as it no longer
++    exists. Instead, get ProjectVersion with some shell magic.
++  * Don't include ghc/mk/version.mk in debian/scripts.mk as it no longer
++    exists. Instead, pass $(ProjectVersion) in from debian/rules.
++  * Remove mk/build.mk before we start filling it so the commands can be
++    more symmetric.
++  * Don't build the threaded RTS except on x86/amd64.
++  * Don't try to link ghc6 with the threaded RTS except on x86/amd64.
++  * Remove debian/test-build before creating it, so we can restart
++    builds part-way through without them falling over.
++  * Various paths in debian/rules lose their ghc/ prefix.
++  * Clean up debian/test-build/ after doing the test.
++  * hslibs no longer exists, so remove everything relating to it in
++    debian/rules.
++  * Remove register declarations from rts/StgCRun.c that break the
++    unregisterised build on alpha.
++  * Add to compiler/cmm/PprC.hs an option for loads and stores to be
++    printed in a way that works if they are not aligned as the arch
++    wishes. Enable this option for alpha.
++  * Remove the --source-module argument to haddock in mk/package.mk
++    as haddock 0.7 doesn't support it.
++  * Re-add the -optP-P when generating .raw-hs files as haddock 0.7
++    doesn't cope with line numbers in the files.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Thu, 12 Oct 2006 01:22:24 +0000
++
++ghc6 (6.4.2-2) unstable; urgency=low
++
++  * Have ghc-pkg not create ~/.ghc when it doesn't need to, and return
++    the empty package file when trying to read a package file that
++    doesn't exist. Closes: #375166, #375188.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Sat, 24 Jun 2006 09:41:01 +0000
++
++ghc6 (6.4.2-1) unstable; urgency=low
++
++  * New upstream release. Closes: #369947.
++  * Add --nonet to XSLTPROC_OPTS.
++  * Add GhcWithInterpreter=NO on arches we don't build registerised
++    due to http://hackage.haskell.org/trac/ghc/ticket/631
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Mon, 19 Jun 2006 22:43:02 +0100
++
++ghc6 (6.4.1-2.1) unstable; urgency=high
++
++  * Non-maintainer upload.
++  * Add docbook-xml to build-dep (Closes: #356015).
++
++ -- Luk Claes <luk@debian.org>  Sat, 25 Mar 2006 18:43:52 +0100
++
++ghc6 (6.4.1-2) unstable; urgency=low
++
++  * Due to problems with xmltex's uninstallability and its long-standing
++    bugs with lists rendering some docs unbuildable:
++    * Set XMLDocWays to "html" in debian/rules, rather than "html dvi ps".
++    * Remove build-deps on jade, docbook-utils, xmltex, docbook-xml.
++  * Change ghc6-hopengl's dep on "libc6-dev" to
++    "libc6-dev | libc6.1-dev | libc-dev"
++  * Fix building cabal packages that build executables with HS-Source-Dir.
++    Closes: #337909.
++  * Use "tail -n +2" rather than the deprecated "tail +2" in debian/rules.
++    Closes: #339606.
++  * On the list of arches we build registerised:
++    * Add amd64. Closes: #354872.
++    * Remove sparc (it has bitrotted).
++    List now reads "i386 amd64".
++  * Remove ghc6.README.Debian (appeal for registerised ports). The problems
++    when they bitrot outweigh the advantages IMO, at least until we have a
++    testsuite we can run when building.
++  * Apply fix for ghci failing to start ("Unable to mmap( MAP_FIXED ) for
++    Jump Islands") from Ryan Lortie. Closes: #343428.
++  * Delete ".SECONDARY:" from mk/suffix.mk as make >3.80 was taking
++    forever due to bug #346248. Closes: #348633.
++  * Changed xlibs-dev build-dep to:
++    libx11-dev, libsm-dev, libice-dev, libxmu-dev, libxi-dev.
++    Closes: #346752.
++  * Add "GhcWithNativeCodeGen=NO" to mk/build.mk when we are building
++    unregisterised.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Fri, 03 Mar 2006 00:32:06 +0000
++
++ghc6 (6.4.1-1) unstable; urgency=low
++
++  * New upstream release. Closes: #329322.
++  * Relax the libgmp3-dev build-dep to make backporting easier.
++  * Don't force using gcc-3.3 to build; drop gcc-3.3 build-dep.
++  * Apply patch to add support for kfreebsdgnu to configure(.ac) and the
++    mangler. Closes: #332977.
++  * Add kfreebsd-i386 to ghc6_arches.
++  * Add missing deps on libx11-dev, libsm-dev, libice-dev, libxmu-dev,
++    libxi-dev, libc6-dev to ghc6-hopengl. Closes: #317069.
++  * Update (build-)dep xlibmesa-glu-dev to libglu1-xorg-dev | libglu-dev.
++  * Standards version 3.6.1 -> 3.6.2.
++  * Upstream fixed a panic to give a sensible error message.
++    Closes: #319294.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Fri, 14 Oct 2005 10:44:34 +0000
++
++ghc6 (6.4-4.1) unstable; urgency=low
++
++  * Non-maintainer upload.
++  * C++ ABI transition: Relink against new libgmp3c2 package.
++    This will require a manual bootstrapping on each arch since ghc6
++    build depends on itself and the new and old version of gmp3
++    conflict with each other.  (Closes: #319222)
++    - Versioned build dependency on libgmp3-dev (>= 4.1.4-6)
++  * Build using gcc-3.3 since this version doesn't build/work using 4.0
++    and a new upstream version that fixes it isn't available yet.
++
++  See instructions in debian/bootstrap-extracted on how to build this.
++
++ -- Kurt Roeckx <kurt@roeckx.be>  Wed, 31 Aug 2005 19:08:22 +0200
++
++ghc6 (6.4-4) unstable; urgency=low
++
++  * Use &(arr->payload) instead of BYTE_ARR_CTS(arr) in Adjustor.c on
++    ia64 as we no longer have the definition of BYTE_ARR_CTS to hand.
++  * Use ASSIGN_DBL and PK_DBL in generated C code from CMM code to avoid
++    unaligned access SIGBUSes on some arches. Closes: #309025.
++  * Use the stage2 ghc-inplace when checking "hello world" works.
++  * Build-dep on xmltex, docbook-xsl and docbook-xml.
++  * Set XMLDocWays rather than SGMLDocWays. Closes: #309016.
++  * Disable dvi and ps docs as they don't build.
++  * Remove ps and dvi sections from debian/ghc6-doc.doc-base.users-guide.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Fri, 20 May 2005 12:42:52 +0000
++
++ghc6 (6.4-3) unstable; urgency=low
++
++  * Removed powerpc from the list of arches to do a registerised build with
++    object splitting as there are bootstrapping issues from earlier GHCs.
++  * Change a stray "6.4" to $(ProjectVersion) in debian/rules
++  * Fix "SOURCE:" lines in {pre,post}{inst,rm}.in files.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Wed, 04 May 2005 17:07:08 +0100
++
++ghc6 (6.4-2) experimental; urgency=low
++
++  * Don't create user package.conf if not modifying.
++  * Change "#ifdef darwin_REGS" to "#if darwin_REGS" in
++    ghc/includes/MachRegs.h to fix build on powerpc (from upstream CVS).
++  * Add powerpc to the list of arches to do a registerised build with
++    object splitting.
++  * Fix checkFEDArgs in ghc/compiler/typecheck/TcForeign.lhs so it compiles
++    again.
++  * Remove OpenGL and GLUT packages from package.conf.shipped.
++    Have the postinst/prerm add/remove them.
++  * ghc6-hopengl provides libghc6-{opengl,glut}-{dev,prof}
++  * Other exposed libraries are provided as libghc6-foo-dev by ghc6 and
++    libghc6-foo-prof by ghc6-prof.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Mon, 21 Mar 2005 03:26:35 +0000
++
++ghc6 (6.4-1) experimental; urgency=low
++
++  * New upstream release; just for experimental for now.
++  * Remove xmlise-flags.sgml as upstream now ships flags.xml.
++  * Rejig how files are put in the right packages to follow upstream changes.
++  * Separate build target into build and install.
++  * No longer allow ghc4 or ghc5 to be used for building as they are no longer
++    supported.
++  * Handle /usr/bin/ghc6 et al. and the alternatives without the 6 suffix
++    better.
++  * Add a /usr/bin/runhaskell alternative, priority 8600000600.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Sun, 13 Mar 2005 04:25:20 +0000
++
++ghc6 (6.2.2-3) unstable; urgency=low
++
++  * Backport runghc from CVS.
++  * Build-dep prefers libreadline5-dev rather than libreadline4-dev.
++  * Compiled with libreadline5-dev.  Closes: #291126.
++  * Remove package.conf{,.old} when changing to a different upstream
++    version as well as when purging. Closes: #277606.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Fri, 28 Jan 2005 01:55:31 +0000
++
++ghc6 (6.2.2-2) unstable; urgency=low
++
++  * Add build-depends on autotools-dev.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Wed, 20 Oct 2004 14:40:47 +0100
++
++ghc6 (6.2.2-1) unstable; urgency=low
++
++  * Add "Modes of operation" flags to flag reference in the users guide,
++    and hence to the automatically generated manpage.
++  * Create /usr/bin/ghc-pkg6.
++  * Revert changes to support mips/mipsel. They need changes in
++    glibc/gcc to work, supported by different changes in ghc.
++  * Support the spirit of noopt and nostrip values of DEB_BUILD_OPTIONS
++  * Make symlinks for /usr/bin/{ghc,ghc-pkg,ghci}-$version into
++    /usr/lib/ghc-$version/bin/.
++  * Add manpage symlinks for {ghc,ghci}-$version.
++  * Bump Standards-Version to 3.6.1.
++  * Remove mention of threaded packages from the manpage as they no
++    longer exist.
++  * Add grep-dctrl to build-dep list and use grep-status to build a
++    depends line for the set of installed packages providing
++    libreadline-dev (should have cardinality 1).
++    Replaced libreadline4-dev dependency with ${readline}.
++    Switch order of libreadline4-dev and libreadline-dev in build-deps
++    so the concrete package is first.
++  * Change how configure/config.sub/config.guess are handled in line
++    with /usr/share/doc/autotools-dev/README.Debian.gz.
++  * Added varfile /usr/lib/haskell-utils/ghc6_vars.
++  * Remove docs/building/building.out and
++    ghc6-6.2.2/docs/docbook-cheat-sheet/docbook-cheat-sheet.out when
++    cleaning.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Tue, 19 Oct 2004 18:12:55 +0000
++
++ghc6 (6.2.1-5) unstable; urgency=low
++
++  * Join build-deps onto a single line.
++  * Eliminate {,} bashisms in debian/rules.
++  * Build-dep on xlibs-dev for building the X11 package.
++  * Additionally build the RTS the following ways:
++    debug_p thr_debug thr_debug_p
++    (which, together with those done by default, gives us all ways).
++  * Install initial /usr/lib/ghc-$version/package.conf as
++    /usr/lib/ghc-$version/package.conf.shipped and copy it to
++    /usr/lib/ghc-$version/package.conf in postinst if it doesn't exist.
++    This means other library information isn't lost across upgrades.
++  * Remove /usr/lib/ghc-$version/package.conf{,.old} in postrm purge.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Sat, 07 Aug 2004 12:03:31 +0000
++
++ghc6 (6.2.1-4) unstable; urgency=low
++
++  * Remove IA64 from the unregisterised arches list to try to fix the
++    unaligned accesses.
++  * Add -mlong-calls flag for mips* in both DriverFlags and SRC_CC_OPTS
++    in mk/config.mk.in. Fixes problem where a step in gdb on a call to
++    mp_set_memory_functions lands us in the middle of Show.hc.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Thu, 08 Jul 2004 17:19:06 +0000
++
++ghc6 (6.2.1-3) unstable; urgency=low
++
++  * Up gcc build-dep to "gcc-3.3 (>= 1:3.3.4)" to fix
++    "charToUtf8 1884139800" panic when compiling
++    'module Foo where foo 5 = 6'.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Fri, 18 Jun 2004 18:09:15 -0400
++
++ghc6 (6.2.1-2) unstable; urgency=low
++
++  * Change the mangler to allow a tab before .section on sparc.
++    Fixes a problem which shows up as symbols not being made global
++    so not being defined when compiling with gcc >= 3.something.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Tue, 13 Apr 2004 12:26:41 +0000
++
++ghc6 (6.2.1-1) unstable; urgency=low
++
++  * New upstream (stable branch) release.
++  * Don't use -static on any arches (remove per-arch "-static"s in
++    ghc/compiler/main/DriverFlags.hs).
++  * Remove threaded packages (functionality now handled by main packages).
++  * We now depend and build-depend on "gcc-3.3 (>= 1:3.3.3-2)" which should
++    give correct code on all arches.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Tue, 23 Mar 2004 20:47:13 +0000
++
++ghc6 (6.2-3) unstable; urgency=low
++
++  * More HOpenGL example tweaking.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Sat, 24 Jan 2004 20:16:57 +0000
++
++ghc6 (6.2-2) unstable; urgency=low
++
++  * Apply fix so OpenGL docs build when the compiling compiler doesn't
++    support OpenGL.
++  * Tweaked HOpenGL example, including suggestions from Sven Panne (HOpenGL
++    author).
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Wed, 21 Jan 2004 23:57:22 +0000
++
++ghc6 (6.2-1) unstable; urgency=low
++
++  * New upstream version.
++  * ghc/docs/users_guide/flags.sgml is now xmlised by a script rather
++    than by hand.
++  * Added an HOpenGL example.
++  * Removed build dependency on happy (it has been pre-run on the tarball).
++  * Build dependency on haddock is now >= 0.6 (we need some of its new
++    options).
++  * For the normal ghc6 deb pass GhcLibsWithOpenGL=NO GhcLibsWithGLUT=NO
++    rather than GhcLibsWithHOpenGL=NO
++  * Add config.status and libraries.txt to CLEAN_FILES and a rule to
++    remove the HTML directory for the extraclean target in
++    libraries/Makefile
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Tue, 16 Dec 2003 18:09:11 +0000
++
++ghc6 (6.0.1-10) unstable; urgency=low
++
++  * Change #ifdef IN_STG_CODE to #if IN_STG_CODE in the alpha section of
++    ghc/includes/TailCalls.h
++  * Add __muldi3 to RTS_LIBGCC_SYMBOLS in ghc/rts/Linker.c (ghci was
++    complaining about it being unknown on sparc).
++  * Provide a /usr/bin/haskell-compiler alternative.
++  * Depend on haskell-utils
++  * Register /usr/bin/ghc6 and ghc6 with haskell-utils
++  * Register /usr/bin/ghc6-threaded and ghc6-threaded with haskell-utils
++  * Tidy up postinst/prerm.
++  * Add ghc6-threaded as an alternative for /usr/bin/ghc (priority 590,
++    i.e. between ghc5 and ghc6).
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Sat, 11 Oct 2003 11:07:00 +0000
++
++ghc6 (6.0.1-9) unstable; urgency=low
++
++  * Move the TailCalls.h include in ghc/includes/Stg.h below the config.h
++    include. Fixes the undefined reference warnings in -8. Closes: #211430.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Wed, 17 Sep 2003 22:04:57 +0000
++
++ghc6 (6.0.1-8) unstable; urgency=low
++
++  * If we are not on an i386, sparc or ia64 machine then do an
++    unregisterised build.
++  * Unregisterised builds should be possible for any architecture, so
++    set the architecture to any.
++  * Add s390, m68k, mips, hppa, arm and powerpc Linux to configure{,.in}
++  * Write a README.Debian about the registerised/unregisterised deal.
++  * Change a couple of machine/foo.h includes on alpha to asm/foo.h
++  * Add the x86-64 hack from upstream to MBlock.h, generalising it to all
++    8-bit arches.
++  * Add -optc-mbig-switch to SRC_HC_OPTS in libraries/OpenGL/Makefile
++    on hppa (fixes an assembler failure for at least
++    Graphics/Rendering/OpenGL/GL/QueryUtils.p_o).
++  * Tweak ghc/includes/TailCalls.h so it only steals a register for STG
++    code.
++  * Move the include of TailCalls.h in ghc/includes/Stg.h up so it is
++    before all the procedure definitions.
++  * Change an IF_OS_darwin to an IF_ARCH_powerpc in
++    ghc/compiler/nativeGen/MachCode.lhs
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Tue, 16 Sep 2003 20:40:43 +0000
++
++ghc6 (6.0.1-7) unstable; urgency=low
++
++  * Add ia64 to Architecture field of the packages.
++  * Apply various IA64 fixes from upstream CVS.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Wed, 10 Sep 2003 13:47:56 +0000
++
++ghc6 (6.0.1-6) unstable; urgency=low
++
++  * We need docbook-utils even for a binary-only build as the build fails
++    if it can't build the documentation.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Mon, 08 Sep 2003 00:34:51 +0000
++
++ghc6 (6.0.1-5) unstable; urgency=low
++
++  * Add jade to the build-deps.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Sun, 07 Sep 2003 10:11:54 +0000
++
++ghc6 (6.0.1-4) unstable; urgency=low
++
++  * Remove unnecessary flex build-dep and comment it out of
++    configure{,.in}.
++  * Resurrect the "SGMLDocWays  := html dvi ps" line in build.mk that
++    got lost.
++  * Do a test compilation+run after building to make sure things aren't
++    *completely* screwed up.
++  * make distclean rather than maintainer-clean
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Sat, 06 Sep 2003 11:07:08 +0000
++
++ghc6 (6.0.1-3) unstable; urgency=low
++
++  * Put sparc-unknown-linux entry in configure and configure.in
++  * Add sparc Linux support to ghc/driver/mangler/ghc-asm.lprl
++  * Build depend on gcc-2.95 [sparc]
++  * Change ghc6's dependency on gcc to ${gcc}.
++    This is set to either gcc-2.95 (if we are on a sparc) or gcc
++    (otherwise) in debian/ghc6.substvars
++  * Removed quotes around ${WithGhc-ghc} in configure and aclocal.m4 so
++    arguments can be given (e.g. to point at a certain gcc) with the
++    flag
++  * Pass flags giving the location of ghc and, in the case of sparc,
++    gcc to ./configure
++  * Added sparc to Architecture field of the packages
++  * touch configure early in the build and clean targets to stop the
++    build system trying to regenerate it with autoconf.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Thu, 14 Aug 2003 07:24:18 -0400
++
++ghc6 (6.0.1-2) unstable; urgency=low
++
++  * Ask for the correct name to be removed by update-alternatives
++  * Have manpage variables substituted
++  * Fix problem with files not getting installed into ghc6-libsrc package
++  * Put ghc/{README,ANNOUNCE} in /usr/share/doc/ghc6
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Sat, 02 Aug 2003 20:27:44 +0000
++
++ghc6 (6.0.1-1) unstable; urgency=low
++
++  * New upstream version
++  * Now policy 3.6.0 compliant
++  * Fixed manpage alternatives to create a manpage for ghc, not ghc6.
++  * Added manpages for ghci, ghci6 and the -threaded variants of
++    these and ghc. Manpage now also mentions ghci.
++  * Reinstate the -libsrc package.
++  * Remove redundant build dependencies on autoconf and autotools-dev
++  * Comment out fix for compiling GL stuff with older GHCs as it really
++    uses the in-place compiler
++  * Have all packages (except ghc6-doc due to issues with an empty depends
++    line) depend on ${shlibs:Depends}, ${misc:Depends}
++  * Create a /usr/bin/ghc6 and /usr/bin/ghci6
++  * Also build a threaded-rts binary and make various related -threaded files
++    and symlinks. Put in a separate package (ghc6-threaded-rts) due to size.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Wed, 30 Jul 2003 12:37:21 +0000
++
++ghc6 (6.0-2) unstable; urgency=low
++
++  * Fix GET_PROC_ADDRESS properly so opengl libraries can be used (from
++    upstream CVS)
++  * GLUT libraries are also installed in the hopengl deb
++  * Update build-depends and depends to libglut3-dev, xlibmesa-gl-dev
++    and xlibmesa-glu-dev from glutg3-dev and xlibmesa-dev.
++  * Require at least version 0.4.0 of haddock.
++  * Fix doc-base control file links.
++  * Policy 3.5.10 compliant.
++  * Create the hp2ps-ghc6.1 manpage correctly.  Closes: #199786.
++  * Change glActiveTexture to glActiveTextureARB. ghci now loads with
++    the OpenGL and GLUT packages.
++  * Update build-depend on debhelper to >= 4.
++  * Correct "GHC5" to "GHC6" in the doc-base title.
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Sun, 06 Jul 2003 14:42:40 +0000
++
++ghc6 (6.0-1) unstable; urgency=low
++
++  * New upstream version
++  * New maintainer, with the old maintainer's blessing
++  * changed package name to ghc6
++  * Building process simplified as GHC's build system now handles multiple
++    stages itself
++  * Patches from upstream:
++    + Removed comments from cpp functions in a couple of source files to
++      counteract changes in 3.3 meaning they didn't compile
++    + Evil mangler tweaked to allow extra whitespace gcc 3.3 puts in
++      and for changes to generated assembly for _module_registered
++    + Rename "--list-packages-local" to "--list-local-packages"
++  * Added missing quotes to
++    libraries/OpenGL/Graphics/Rendering/OpenGL/GL/Extensions.hs
++    so it compiles
++  * Removed fptags as it doesn't have a clear licence; should probably
++    be in its own package anyway as I imagine it is equally useful with
++    any Haskell compiler
++  * Changed libraries/OpenGL/specs/enumerant to use this compiler rather
++    than the installed one; in particular this means that the profiling
++    libraries don't need to be installed
++
++ -- Ian Lynagh (wibble) <igloo@debian.org>  Sat, 07 Jun 2003 17:16:25 +0000
++
++ghc5 (5.04.2-1) unstable; urgency=low
++
++  * CVS Version from 2002-12-05 (tag: ghc-5-04-2)
++    + fix for inet_ntoa linking error (upstream)
++      (closes: Bug#164573)
++    + export TimeLocale constructor (upstream)
++      (closes: Bug#167647)
++  * implemented proper auto* handling (config.*, autoconf)
++  * added autotools-dev to build-deps, bumped needed autoconf version to
++    >= 2.52
++  * removed cpio from Build-Deps (no longer needed)
++  * added man page for ghc
++    (closes: Bug#110037)
++  * added links for user_guide/user-guide.html and hslibs/book-hslibs.html
++    (closes: Bug#153795)
++  * necessary adjustments for debian_libraries_hopengl.dpatch
++  * libdir adjustments (always in sync with Debian package version now)
++  * added notes in ghc5-hopengl.README.Debian
++  * removed cygnus-stylesheets from Build-Deps-Indep
++    (closes: Bug#170112)
++  * moved ghcprof icons to /usr/share/ tree
++    (debian_ghcprof_datadir.dpatch)
++  * edited debian/copyright to make lintian shut up ("Upstream Author(s)")
++  * backport of "*_stub.o link failure" fix from ghc-5-04-branch
++    (debian_compManager_findstubs.dpatch)
++    (closes: Bug#171518)
++
++ -- Michael Weber <michaelw@debian.org>  Sat,  7 Dec 2002 19:38:10 +0100
++
++ghc5 (5.04-1) unstable; urgency=low
++
++  * CVS Version from 2002-07-15 (tag: ghc-5-04)
++    (closes: Bug#153020)
++    + spurious ghci dynamic linkage error solved by upstream update
++      (closes: Bug#151126)
++  * added Depends: libreadline4-dev (though I don't like it
++    and it just covers a technical issue), because too many people
++    get bitten by this :(
++    (closes: Bug#134950)
++  * build process revamped
++    + much easier to understand/maintain (KISS)
++      (it's a build script, no need to be too fancy)
++    + support for full bootstrap builds (needed for buildds)
++    + moved source to upstream-ghc/
++    + adjusted patches; must contain `upstream-ghc/' in
++      the path from now on (new source layout)
++    + uses shadow trees (lndir)
++    + added "-e noidref" to docbook2* tool calls, so that they
++      don't barf on missing ids (there are 2 currently)
++    + use upstream doc install mechanism now that it's usable
++      for Debian (slight changes in the dir layout, though)
++    + removed support for `debian/rules cvs-update'
++    + removed ghc5-libsrc package, now that decent library
++      docs start to pop up
++    + removed debian_build.dpatch (now debian/build.mk-stage*)
++  * renamed ghc4_ghc_includes_gmp.dpatch debian_ghc_includes_gmp.dpatch
++    because it's Debian specific
++  * added Build-Depends: haddock
++  * adjusted *.doc-base.* again to reflect new doc layout
++    (only ghc5-doc.doc-base.users-guide left)
++  * _really_ changed CVS/Root to :pserver:anoncvs@cvs.haskell.org:/cvs
++    this time (no idea what happened to the last changes)
++  * updated CVS checkout instructions in copyright
++  * updated upstream authors in copyright
++  * updated README.Debian to reflect changes
++  * fixed missing "sec-concurrent-haskell" SGML id
++  * added hasktags program to update-alternatives
++  * new package ghc5-hopengl (finally!)
++    (closes: Bug#116984)
++  * added Build-Depends: xlibmesa-dev, glutg3-dev (for HOpenGL)
++
++ -- Michael Weber <michaelw@debian.org>  Fri, 19 Jul 2002 15:34:43 +0200
++
++ghc5 (5.02.2-1) unstable; urgency=low
++
++  * CVS Version from 2002-02-14 (tag: ghc-5-02-2)
++    (closes: Bug#133595)
++  * buggy Makefile which prevented building with make-3.77 fixed
++    by update
++    (closes: Bug#117883)
++  * The "You Asked For It" release =)
++  * _NOT_ the "I Solved All Problems" release
++  * changed CVS/Root to :pserver:anoncvs@cvs.haskell.org:/cvs
++  * updated copyright
++  * removed lib6-dev from Depends: (no longer necessary)
++  * docbook build-deps now: docbook-utils | cygnus-stylesheets
++    (closes: Bug#123180)
++  * added time to Depends: (lost during backporting potato stuff)
++  * added build-deps: xutils (for lndir), time (used by build process)
++  * added build-deps: devscripts (for debchange, thanks to
++    Peter Gammie)
++  * readline build-deps now: libreadline-dev | libreadline4-dev
++  * priority: extra -> optional (as requested from the ftpmasters)
++  * for the -prof package, section: libs -> devel (as requested from
++    the ftpmasters)
++  * spelling correction in control file (cpu -> CPU)
++    (closes: Bug#124668)
++  * removed getSocketOption patch
++    (ghc5_getSocketOption.dpatch)
++  * added index.html symlinks for html docs
++  * adjusted  *.doc-base.*
++  * removed ghc5-doc.doc-base.hslibs (accessible via
++    the user's guide)
++  * bumped Standards-Version to 3.5.6.0
++
++ -- Michael Weber <michaelw@debian.org>  Thu, 14 Feb 2002 21:01:14 +0100
++
++ghc5 (5.02-1) unstable; urgency=low
++
++  * CVS Version from 2001-10-15 (tag: ghc-5-02-branch)
++  * adjusted debian_glafp-utils_docbook.dpatch
++  * typo in docs fixed
++    (closes: Bug#110038)
++  * added hotfix for getSocketOption b0rkage (already fixed in CVS)
++    (ghc5_getSocketOption.dpatch)
++
++ -- Michael Weber <michaelw@debian.org>  Mon, 15 Oct 2001 19:59:43 +0200
++
++ghc5 (5.00.2-1) unstable; urgency=low
++
++  * CVS Version from 2001-07-16 (tag: ghc-5-00-2)
++    (closes: Bug#106756)
++  * upstream fix for .ghci problem
++    (closes: Bug#94739)
++  * removed patches which went into upstream
++    (ghc5_glitches.dpatch)
++
++ -- Michael Weber <michaelw@debian.org>  Tue, 31 Jul 2001 10:54:45 +0200
++
++ghc5 (5.00-2) unstable; urgency=low
++
++  * added dependency on libc6-dev as a workaround
++    (ghci needs the libm.so link)
++  * adjusted ghc5_glitches.dpatch slightly
++
++ -- Michael Weber <michaelw@debian.org>  Thu, 26 Apr 2001 15:07:04 +0200
++
++ghc5 (5.00-1) unstable; urgency=low
++
++  * CVS Version from 2001-04-11 (tag: ghc-5-00)
++  * changed package name to ghc5
++  * some more reorganizations to prepare dual ghc4/ghc5 installation
++  * added some missing build-deps
++  * now using libgmp3(-dev)
++  * removed some obsolete patches
++    (ghc4_hclose_bug.dpatch,ghc4_signal_bug.dpatch)
++  * added some other patches
++    (ghc5_glitches.dpatch)
++  * updated build.mk-patch once more
++  * DH_COMPAT=2
++  * added more docs (ffi-art)
++  * added support for CVS happy's
++
++ -- Michael Weber <michaelw@debian.org>  Wed, 18 Apr 2001 00:19:35 +0200
++
++ghc4 (4.08.1-4) unstable; urgency=low
++
++  * first upload as proper maintainer
++  * changed email address to @debian.org
++
++ -- Michael Weber <michaelw@debian.org>  Sun, 14 Jan 2001 01:56:05 +0100
++
++ghc4 (4.08.1-3) unstable; urgency=low
++
++  * unofficial version
++  * backported signal-bug patch from CVS trunk
++    (ghc4_signal_bug.dpatch)
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Tue, 10 Oct 2000 13:34:28 +0200
++
++ghc4 (4.08.1-2) unstable; urgency=low
++
++  * unofficial version
++  * backported hClose-bug patch from CVS trunk
++    (ghc4_hclose_bug.dpatch)
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Tue, 10 Oct 2000 13:33:56 +0200
++
++ghc4 (4.08.1-1) unstable; urgency=low
++
++  * !!NOTE!!
++    This version replaced aaronv's upload of 4.04.19990916-3 (thanks
++    to wli@debian.org for the sponsor upload).  All versions in
++    between were never officially available on the debian servers.
++  * CVS Version from 2000-09-02 (4.08.1)
++  * official 4.08.1 version
++  * uncommented `cvs upd' commands (accidently commented)
++  * changed `cvs-update' target again (first step of upcoming
++    "experimental" support)
++  * updated build.mk-patch
++  * set.{ps,dvi} accidently were not copied into the package,
++    (fixed now)
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Mon, 25 Sep 2000 14:02:52 +0200
++
++ghc4 (4.08.0-1) unstable; urgency=low
++
++  * CVS Version from 2000-06-29 (4.08.0)
++  * this is a snap of the official 4.08 release candidate
++  * need (happy >= 1.7) from now on
++  * unset DOCBOOK_PREFIX in order to use installed db tools
++  * an installed ghc4-prof pkg. must have the same version as the
++    corresponding ghc4 pkg.
++  * added option `-k' to make when cleaning, so it won't stumble over
++    errors
++  * ghc now understands option '--numeric-version', which will be
++    supported in the upcoming unstable version anyway...
++    (ghc4_numeric_version.dpatch)
++  * sync'ed base documents in doc-base entries with reality
++  * rearranged `docs',`build' targets
++  * rearranged documentation to sync with upstream
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Mon,  3 Jul 2000 14:52:12 +0200
++
++ghc4 (4.07.20000526-1) unstable; urgency=low
++
++  * CVS Version from 2000-05-26 (4.07)
++  * update to ghc-4-07-branch
++  * disabled debian_glafp-utils_docbook.dpatch, because it's not
++    necessary on this branch
++  * !! UNRELEASED due to building problem !!
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Fri, 26 May 2000 20:33:32 +0200
++
++ghc4 (4.07.20000523-1) unstable; urgency=low
++
++  * CVS Version from 2000-05-23 (4.07)
++  * removed ghc4_docbook.dpatch (incorporated by upstream, finally :-))
++  * removed ghc4_hslibs_tools_clean.dpatch (incorporated by upstream)
++  * removed ghc4_hslibs_util_clean.dpatch (incorporated by upstream)
++  * removed building of docbook (Debian does have a working docbook
++    environment)
++    (debian_glafp-utils_docbook.dpatch)
++  * added fptags to distribution (in a really q'n'd way)
++  * added debian/rules options (UN)PATCHOPTS, default is now
++    `PATCHOPTS = --ignore-whitespace --forward'
++  * added notes about debian/rules options to README.Debian
++  * adjusted build depends
++  * added more hints in README.debian
++  * !! UNRELEASED due to building problem !!
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Fri, 26 May 2000 20:02:20 +0200
++
++ghc4 (4.07.20000504-1) unstable; urgency=low
++
++  * CVS Version from 2000-05-04 (4.07)
++  * hslibs/utils/Readline_stub.p_o not cleaned
++    (ghc4_hslibs_util_clean.dpatch)
++  * added DrIFT, DtdToHaskell, Xtract as update-alternatives
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Mon,  8 May 2000 01:05:37 +0200
++
++ghc4 (4.07.20000429-1) unstable; urgency=low
++
++  * CVS Version from 2000-04-29 (4.07)
++  * removed ghc4_hslibs_util_clean.dpatch (solved by upstream)
++  * Main.hi not cleaned in hslibs/tools/* dirs
++    (ghc4_hslibs_tools_clean.dpatch)
++  * changed clean targets from `realclean' to `maintainer-clean'
++    (due to upstream change)
++  * !! UNRELEASED due to stage1 problems !!
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Sun, 30 Apr 2000 01:06:47 +0200
++
++ghc4 (4.07.20000411-1) unstable; urgency=low
++
++  * CVS Version from 2000-04-11 (4.07)
++  * removed ghc4_configure_readline.dpatch (incorporated by upstream)
++  * adjusted Build-depends (this version can only be build with GHC 4.06)
++  * `debian/rules patch' now doesn't try to apply patches, if they're
++    already applied
++  * added option `StripLibraries = YES'
++  * !! UNRELEASED due to stage2 problems !!
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Thu, 13 Apr 2000 00:37:29 +0200
++
++ghc4 (4.07.20000202-1) unstable; urgency=low
++
++  * CVS Version from 2000-02-02 (4.07)
++  * added target `cvs-update' (see README.Debian)
++  * replaced sgml-tools by cygnus-stylesheets in Build-Depends
++  * removed ghc4_hslibs_cstring.dpatch (incorporated by upstream)
++  * removed ghc4_ghc_mk.dpatch (incorporated by upstream)
++  * removed debian_sgml.dpatch (no longer necessary)
++  * use autoreconf instead of autoconf (in debian/rules.local)
++  * html docs back in action
++  * renamed doc-base ID ghc4-installation to ghc4-building
++  * YARP [Just Another Readline Patch]: doesn't find termcap
++    (ghc4_configure_readline.dpatch)
++  * Readline_stub--stamp was not removed on clean
++    (ghc4_hslibs_util_clean.dpatch)
++  * removed hardcoded DTD paths in docs/fptools-both.dsl
++    (ghc4_docbook.dpatch)
++  * added `docs' target
++  * `debian/rules clean' again checks for root priv. (cf. packaging#3.2.1)
++  * added build option `-split-objs' (produces smaller executables)
++  * added build option `GhcLibHcOpts = -O' (won't compile otherwise, because
++    of a compiler bug in 4.06)
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Thu,  3 Feb 2000 17:47:00 +0100
++
++ghc4 (4.06.20000109-1) unstable; urgency=low
++
++  * CVS version from 2000-01-09 (4.06)
++  * debian/rules clean doesn't check for root priv. any more
++  * removed emacs local variable (add-log-mailing-address) in changelog.
++    (closes: Bug#54515)
++  * references to `haskell-doc' in control and debian/*doc-base*.
++    (closes: Bug#52729)
++  * Arch back to `i386' only, although sparc should be possible, too (with
++    minor changes, really). (closes: Bug#52794)
++  * bumped Standards-Version to 3.1.0
++  * introduced build dependencies
++  * removed ghc4_clean.dpatch (incorporated by upstream)
++  * removed ghc4_makefiles.dpatch (incorporated by upstream)
++  * removed ghc4_mk.dpatch (incorporated by upstream)
++  * removed ghc4_readline.dpatch (incorporated by upstream)
++  * removed ghc4_stat2resid.dpatch (incorporated by upstream)
++  * autoconf changes to rules, rules.local
++  * corrected bug in ghc/mk/paths.mk (wrt. variable referencing)
++    (ghc4_ghc_mk.dpatch)
++  * corrected bug in hslibs/CString.lhs (ghc4_hslibs_cstring.dpatch)
++  * added patch for sgmltools, removed {html,txt} because of problems
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Sun,  9 Jan 2000 15:45:36 +0100
++
++ghc4 (4.05.19991206-1) unstable; urgency=low
++
++  * CVS version from 1999-12-06 (4.05)
++  * removed distrib/Makefile-bin.in patch (solved by upstream)
++  * removed ghc/compiler/Makefile patch (solved by upstream)
++  * adjusted mk/target.mk patch
++  * moved $(libdir)/ghc/$(version) -> $(libdir)/ghc-$(version) (upstream-like)
++  * dropped users-guide.info (wasn't complete, anyway)
++  * added postscript and plain text docs
++  * heap size back to 120M :-(
++  * changed the build process heavily
++  * fixed `missing symbol in libHSutil*.a' (formerly libHSmisc*.a) bug
++  * some cleanup patches
++  * updated URLs to the Haskell report in control and debian/*doc-base*
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Wed,  8 Dec 1999 23:37:37 +0100
++
++ghc4 (4.04.19990916-3local1) unstable; urgency=low
++
++  * added warning message about fragile `clean' target
++  * cut down memory req's for building GHC (100M heap should be ok)
++  * Arch: field back to ``i386''
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Tue, 30 Nov 1999 23:32:36 +0100
++
++ghc4 (4.04.19990916-3) unstable; urgency=low
++
++  * First revision to be uploaded to Debian
++  * Changed maintainer fields where necessary
++  * Changed binary packages to Architecture: any
++
++ -- Aaron Van Couwenberghe <aaronv@debian.org>  Tue, 30 Nov 1999 14:27:18 -0800
++
++ghc4 (4.04.19990916-2) unstable; urgency=low
++
++  * fixed typo in copyright
++  * bumped Standards-Version to 3.0.1
++  * doc-base support
++  * moved (un)patch rules to debian/rules.local
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Wed, 17 Nov 1999 18:06:25 +0100
++
++ghc4 (4.04.19990916-1) unstable; urgency=low
++
++  * added haskell-doc, ghc4-prof to Suggests
++  * new version numbering scheme
++  * improved build process (targets stage1,clean)
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Sun, 19 Sep 1999 21:49:25 +0200
++
++ghc4 (4.04-9) unstable; urgency=low
++
++  * added libgmp2-dev to Depends
++  * CVS version from 1999/09/16
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Thu, 16 Sep 1999 22:09:11 +0200
++
++ghc4 (4.04-8) unstable; urgency=low
++
++  * fixed manpage packaging bug in ghc4-prof
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Sat,  7 Aug 1999 21:59:05 +0200
++
++ghc4 (4.04-7) unstable; urgency=low
++
++  * Standards-Version 3.0.0.0
++  * removed undocumented manpages (lintian complains)
++  * moved usr/info -> usr/share/info according to FHS
++  * added 'perl | perl5' to Depends
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Sat,  7 Aug 1999 21:54:39 +0200
++
++ghc4 (4.04-6) unstable; urgency=low
++
++  * removed patch for happy version check (now in upstream)
++  * GHC is working again
++  * CVS version from 1999/08/03
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Wed,  4 Aug 1999 18:12:07 +0200
++
++ghc4 (4.04-5) unstable; urgency=low
++
++  * local version, GHC doesn't work
++  * removed hstags from alternatives because it's non-functional
++  * removed mkdependHS from alternatives because directly running it
++    is deprecated now (now 'ghc -M')
++  * re-added info file
++  * removed obsolete HAVE_READLINE variable in mk/build.mk
++  * removed patch for {hscpp,mkdependHS} "absolute path" fix (now in upstream)
++  * moved to patch system (taken from glibc package)
++  * CVS version from 1999/07/31
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Sun,  1 Aug 1999 02:09:44 +0200
++
++ghc4 (4.04-4) unstable; urgency=low
++
++  * got rid of absolute cpp paths in {hscpp,mkdependHS}
++  * removed info files due to problem with sgmltools
++  * first glibc-2.1.1 version
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Tue, 13 Jul 1999 15:35:28 +0000
++
++ghc4 (4.04-3) unstable; urgency=low
++
++  * moved profiling libs into separate package
++  * added hscpp as alternative (useful for hugs)
++  * CVS version from 1999/07/10
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Sat, 10 Jul 1999 19:20:49 +0200
++
++ghc4 (4.04-2) unstable; urgency=low
++
++  * compiled with use of happy-1.6 parser generator
++  * fixed some "unclean" directories
++  * added info entry
++  * added dwww index-file
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Sat,  3 Jul 1999 03:04:13 +0200
++
++ghc4 (4.04-1) unstable; urgency=low
++
++  * added missing *.prl files
++  * added mkdependHS as alternative
++  * new CVS version as of 1999/06/30
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Wed, 30 Jun 1999 19:53:09 +0200
++
++ghc4 (4.03-1) unstable; urgency=low
++
++  * Initial Release.
++
++ -- Michael Weber <michael.weber@post.rwth-aachen.de>  Sat, 26 Jun 1999 17:52:29 +0200
++
++
diff --cc debian/clean
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8d3ee0029870678b361885f1cc25e121b564d755
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++libraries/dph
++libraries/primitive
++libraries/vector
++libraries/random
diff --cc debian/compat
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++9
diff --cc debian/control
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8c1c3b2c986f3f3521908e6a02bc52b98cf9963f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,107 @@@
++Source: ghc
++Section: haskell
++Priority: extra
++Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
++Uploaders: Joachim Breitner <nomeata@debian.org>, Clint Adams <clint@debian.org>
++Standards-Version: 3.9.8
++Build-Depends:
++  debhelper (>= 9),
++  haskell-devscripts-minimal,
++  devscripts,
++  dh-autoreconf,
++  autotools-dev,
++  grep-dctrl,
++  pkg-config,
++  ghc (>= 7.8),
++  libgmp-dev,
++  llvm-3.7 [arm64 armel armhf],
++  libffi-dev,
++  binutils [arm64 armel armhf],
++  libncurses5-dev,
++  python-sphinx,
++  dpkg-dev (>= 1.16.1.1)
++Build-Depends-Indep:
++  hscolour,
++  fop
++Build-Conflicts:
++  ccache,
++  ghc (= 8.0.0.20160111-3),
++Homepage: http://haskell.org/ghc/
++Vcs-Git: https://anonscm.debian.org/git/pkg-haskell/DHG_packages.git
++Vcs-Browser: https://anonscm.debian.org/cgit/pkg-haskell/DHG_packages.git/
++
++Package: ghc
++Architecture: any
++Depends:
++  llvm-3.7 [arm64 armel armhf],
++  gcc,
++  libgmp-dev,
++  libffi-dev,
++  libbsd-dev,
++  libc6-dev,
++  libncurses5-dev,
++  ${shlibs:Depends},
++  ${misc:Depends}
++Pre-Depends: dpkg (>= 1.16.1)
++Provides:
++  haskell-compiler,
++  ghc-dynamic,
++  ${ghci},
++  ${provided-devs},
++  ${haskell:Provides},
++  haddock,
++  ghc-haddock,
++  ${haddock:Provides}
++Replaces: ghc6 (<< 7), ghc-dynamic (<< 7.8), ghc-haddock (<< 7.10)
++Conflicts: ghc6 (<< 7), ghc-dynamic (<< 7.8), ${conflicting-devs}
++Breaks: cabal-install (<< 1.22), haskell-devscripts (<< 0.8.13), ghc-doc (<< 7.10), ghc-haddock (<< 7.10)
++Suggests: perl, ghc-prof, ghc-doc, haskell-doc, llvm-3.7
++Description: The Glasgow Haskell Compilation system
++ The Glorious Glasgow Haskell Compilation system (GHC) is a compiler for
++ Haskell.
++ .
++ Haskell is "the" standard lazy functional programming language.  The language
++ definition and additional documentation can be found in the `haskell-doc'
++ package.  Alternatively, there is an online version at
++ http://haskell.org/onlinereport/.
++
++Package: ghc-prof
++Architecture: any
++Provides: ${provided-profs}, ${haskell:Provides}
++Depends: ghc (= ${binary:Version}), ${misc:Depends}
++Replaces: ghc6-prof (<< 7)
++Conflicts: ghc6-prof (<< 7)
++Description: Profiling libraries for the Glasgow Haskell Compilation system
++ The Glorious Glasgow Haskell Compilation system (GHC) is a compiler for
++ Haskell.
++ .
++ Haskell is "the" standard lazy functional programming language.  The language
++ definition and additional documentation can be found in the `haskell-doc'
++ package.  Alternatively, there is an online version at
++ http://haskell.org/onlinereport/.
++ .
++ This package contains additional profiling libraries. They are only needed,
++ if you want to take a closer look on where exactly your program burns CPU
++ cycles.
++
++Package: ghc-doc
++Section: doc
++Architecture: all
++Suggests: haskell-doc
++Provides: ${provided-docs}
++Replaces: ghc6-doc (<< 7), libghc-terminfo-doc (<< 0.3.2.5-4), libghc-transformers-doc (<< 0.3.0.0-6), libghc-xhtml-doc (<< 3000.2.1-5)
++Conflicts: ghc6-doc (<< 7), ghc (<= 7.0.3-1)
++Breaks: libghc-terminfo-doc (<< 0.3.2.5-4), libghc-transformers-doc (<< 0.3.0.0-6), libghc-xhtml-doc (<< 3000.2.1-5)
++Depends: ${haddock:Depends}, ${misc:Depends}, perl, libjs-mathjax
++Pre-Depends: dpkg (>= 1.16.1)
++Description: Documentation for the Glasgow Haskell Compilation system
++ The Glorious Glasgow Haskell Compilation system (GHC) is a compiler for
++ Haskell.
++ .
++ Haskell is "the" standard lazy functional programming language.  The language
++ definition and additional documentation can be found in the `haskell-doc'
++ package.  Alternatively, there is an online version at
++ http://haskell.org/onlinereport/.
++ .
++ This package includes HTML, DVI and PS versions of the SGML-based
++ documentation around GHC.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..4ddd8662e50dc861752ba970922b008b67ea47ac
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,63 @@@
++Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: ghc
++Upstream-Contact: Simon Marlow <marlowsd@gmail.com>
++Source: http://downloads.haskell.org/~ghc/
++
++Files: *
++License: BSD-3-clause
++Copyright: 2007                  Andy Gill
++           2006                  Esa Ilari Vuokko
++           2007                  Ian Lynagh
++           2009                  Isaac Dupree
++           2010                  Jargen Nicklisch-Franken
++           2008                  Jose Iborra
++           2008                  Lennart Kolmodin
++           1997-2003             Alastair Reid
++           2009                  Andres Loeh
++           2007                  Bjorn Bringert
++           2007-2014             Bryan O'Sullivan
++           1999-2001             Daan Leijner
++           2005                  David Himmelstrup
++           2006-2010             David Waern
++           2007-2009,2012-2013   Duncan Coutts
++           2003-2007             Isaac Jones
++           2011                  Johan Tibell
++           2003-2005             Malcolm Wallace
++           2004                  Martin Sjgren
++           2004,2013-2014        Mateusz Kowalczyk
++           1993-1995             Microsoft Coprporation
++           2006-2008             Neil Mitchell
++           2002-2012             Simon Marlow
++           1995-2014             The GHC Team
++           1993-2013             The University of Glasgow
++           2010,2011             Thomas Tuegel
++
++Files: debian/*
++Copyright: held by the contributors mentioned in debian/changelog
++License: BSD-3-clause
++
++License: BSD-3-clause
++ Redistribution and use in source and binary forms, with or without modification,
++ are permitted provided that the following conditions are met:
++ .
++     1. Redistributions of source code must retain the above copyright notice,
++        this list of conditions and the following disclaimer.
++ .
++     2. Redistributions in binary form must reproduce the above copyright
++        notice, this list of conditions and the following disclaimer in the
++        documentation and/or other materials provided with the distribution.
++ .
++     3. Neither the name of copyright holder(s) nor the names of its contributors may be used
++        to endorse or promote products derived from this software without
++        specific prior written permission.
++ .
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
++ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
++ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
++ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
++ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
++ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
++ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
++ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..fad9e2d17675b7433a77f6d6c6a7568b827f85fe
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,63 @@@
++#! /usr/bin/perl
++# gen_contents_index, written for Debian by Kari Pahula
++# Copyright 2009 Kari Pahula
++# Licensed under BSD3, see /usr/share/common-licenses/BSD
++
++my @ifaces;
++my %pkgs;
++
++# Only do something if we actually have /usr/share/doc
++exit 0 unless (-d "/usr/share/doc/ghc-doc/html/libraries/" and -r "/usr/share/doc/ghc-doc/html/libraries/prologue.txt");
++
++# Add everything from the global Cabal registry to index.
++if (-e '/usr/bin/ghc-pkg') {
++    open CABAL, 'ghc-pkg dump --global |' or warn "ghc-pkg dump failed: $!";
++    addInfo (\*CABAL, \%pkgs, \@ifaces);
++    close CABAL;
++}
++
++exec ('haddock', '--gen-index', '--gen-contents',
++      '-o', '/usr/share/doc/ghc-doc/html/libraries/',
++      '-t'. 'Haskell Hierarchical Libraries',
++      '-p', '/usr/share/doc/ghc-doc/html/libraries/prologue.txt',
++      @ifaces);
++
++sub addInfo {
++    my $fh = shift;
++    my %dat;
++    while (<$fh>) {
++      if (/^name: (.*)/) {
++          $dat{pkg} = $1;
++      } elsif (/^version: (.*)/) {
++          $dat{ver} = $1;
++      } elsif (/^haddock-interfaces: (.*)/) {
++          $dat{ifaces} = $1;
++      } elsif (/^haddock-html: (.*)/) {
++          $dat{html} = $1;
++      } elsif (/^---/) {
++          process(\%dat, @_);
++          %dat = ();
++      }
++    }
++    process(\%dat, @_);
++}
++
++sub process {
++    my $dat = shift;
++    my $pkgs = shift;
++    my $ifaces = shift;
++    my $path;
++    return undef if $$dat{pkg} eq 'ghc';
++    my $p = $$dat{pkg}.'-'.$$dat{ver};
++    return undef if (exists $$pkgs{$p});
++    if ($$dat{html} =~ m,^/usr/share/doc/ghc-doc/html/libraries/(.*),) {
++      $path = $1;
++    } elsif ($$dat{html} =~ m,^/usr/share/doc/([^/]*-doc/html/.*),) {
++      $path = "../../../$1";
++    }
++
++    if (defined $path && -r $$dat{ifaces}) {
++      $$pkgs{$p} = 1;
++      push @ifaces, "--read-interface=$path,$$dat{ifaces}";
++    }
++}
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..41742e1a11ac2bff62713ff0c5e79a79babc4e18
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,16 @@@
++Document: ghc-users-guide
++Title: GHC6 User's manual
++Author: The GHC Team
++Abstract: Glorious Glasgow Haskell Compilation system
++ (GHC). GHC is a compiler for Haskell98.
++ <br>
++ Haskell is "the" standard lazy functional programming language. Haskell98
++ is the current version of the language. The language definition and
++ additional documentation can be found in the `haskell-doc' package.
++ Alternatively, there is an online version at
++ http://haskell.org/onlinereport/.
++Section: Programming/Haskell
++
++Format: HTML
++Index: /usr/share/doc/ghc-doc/html/users_guide/index.html
++Files: /usr/share/doc/ghc-doc/html/users_guide/*.html
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..37dd53f182363d33522043b5f063de61f5d87c39
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++/usr/share/doc/ghc-doc/html/users_guide/prof_scc.png /usr/share/doc/ghc-doc/html/users_guide/prof_scc
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..4b0760d6e2fa534acf6649ab68fff5601887d6f2
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,44 @@@
++#! /bin/sh
++# postinst script for ghc-doc
++#
++set -e
++
++# summary of how this script can be called:
++#        * <postinst> `configure' <most-recently-configured-version>
++#        * <old-postinst> `abort-upgrade' <new version>
++#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
++#          <new-version>
++#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
++#          <failed-install-package> <version> `removing'
++#          <conflicting-package> <version>
++# for details, see /usr/doc/packaging-manual/
++#
++# quoting from the policy:
++#     Any necessary prompting should almost always be confined to the
++#     post-installation script, and should be protected with a conditional
++#     so that unnecessary prompting doesn't happen if a package's
++#     installation fails and the `postinst' is called with `abort-upgrade',
++#     `abort-remove' or `abort-deconfigure'.
++
++case "$1" in
++    triggered|configure)
++      if test -x /usr/bin/ghc-pkg; then /usr/bin/ghc-pkg recache --global; fi
++      tmpdir="$(mktemp -d)"
++      cleanup () { rmdir "$tmpdir"; }
++      trap cleanup EXIT
++      HOME="$tmpdir" /usr/lib/ghc-doc/gen_contents_index
++      ;;
++    abort-upgrade|abort-remove|abort-deconfigure)
++      ;;
++    *)
++        echo "postinst called with unknown argument \`$1'" >&2
++        exit 0
++      ;;
++esac
++
++# dh_installdeb will replace this with shell code automatically
++# generated by other debhelper scripts.
++
++#DEBHELPER#
++
++exit 0
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..257f5ca2bc61afa37beb009e8f463430334d9997
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,21 @@@
++#! /bin/sh
++
++set -e
++
++case "$1" in
++    upgrade|install)
++      if [ -e /usr/share/doc/ghc-doc/html/libraries/ ] ; then
++          rm -f /usr/share/doc/ghc-doc/html/libraries/index.html \
++              /usr/share/doc/ghc-doc/html/libraries/index-frames.html \
++              /usr/share/doc/ghc-doc/html/libraries/doc-index.html
++          rmdir --ignore-fail-on-non-empty /usr/share/doc/ghc-doc/html/libraries/
++          rmdir --ignore-fail-on-non-empty /usr/share/doc/ghc-doc/html/
++      fi
++      ;;
++    *)
++      ;;
++esac
++
++#DEBHELPER#
++
++exit 0
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..025d0abaffbced43de7a64d15cd9db1d83c52a20
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,43 @@@
++#! /bin/sh
++# prerm script for ghc-doc
++#
++
++set -e
++
++# summary of how this script can be called:
++#        * <prerm> `remove'
++#        * <old-prerm> `upgrade' <new-version>
++#        * <new-prerm> `failed-upgrade' <old-version>
++#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
++#        * <deconfigured's-prerm> `deconfigure' `in-favour'
++#          <package-being-installed> <version> `removing'
++#          <conflicting-package> <version>
++# for details, see /usr/doc/packaging-manual/
++
++case "$1" in
++    remove|upgrade|deconfigure|failed-upgrade)
++        # Remove files generated by the postinst trigger
++      rm -f /usr/share/doc/ghc-doc/html/libraries/index.html \
++          /usr/share/doc/ghc-doc/html/libraries/doc-index*.html \
++          /usr/share/doc/ghc-doc/html/libraries/frames.html \
++          /usr/share/doc/ghc-doc/html/libraries/index-frames.html \
++          /usr/share/doc/ghc-doc/html/libraries/haddock-util.js \
++          /usr/share/doc/ghc-doc/html/libraries/hslogo-16.png \
++          /usr/share/doc/ghc-doc/html/libraries/minus.gif \
++          /usr/share/doc/ghc-doc/html/libraries/plus.gif \
++          /usr/share/doc/ghc-doc/html/libraries/ocean.css \
++          /usr/share/doc/ghc-doc/html/libraries/synopsis.png
++    ;;
++    *)
++        echo "prerm called with unknown argument \`$1'" >&2
++        exit 0
++    ;;
++esac
++
++# dh_installdeb will replace this with shell code automatically
++# generated by other debhelper scripts.
++
++#DEBHELPER#
++
++exit 0
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..e98aefb73009e1b6ca6246b34e5b102fe9b1cbd4
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++interest-noawait /usr/lib/ghc-doc/haddock
++interest-noawait /var/lib/ghc/package.conf.d
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..263f3318d751a58b2f00cb960a00d6868caed3ab
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++debian/haddock.1
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ccac8e476f8d13d6535c2637954ecff1bcc3c44d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,228 @@@
++.TH ghc-pkg 1 "2010-01-27"
++.SH NAME
++ghc-pkg \- GHC Haskell Cabal package manager
++.SH SYNOPSIS
++.B ghc-pkg
++.I action
++.RI [ OPTION ]...
++.SH DESCRIPTION
++A package is a library of Haskell modules known to the compiler.  The
++.B ghc-pkg
++tool allows adding or removing them from a package database. By
++default, the system-wide package database is modified, but
++alternatively the user's local package database or another specified
++file can be used.
++.PP
++To make a package available for
++.BR ghc ,
++.B ghc-pkg
++can be used to register it.  Unregistering it removes it from the
++database.  Also, packages can be hidden, to make
++.B ghc
++ignore the package by default, without uninstalling it.  Exposing a
++package makes a hidden package available.  Additionally,
++.B ghc-pkg
++has various commands to query the package database.
++.PP
++Where a package name is required, the package can be named in full
++including the version number (e.g.
++.BR network-1.0 ),
++or without the version number. Naming a package without the version
++number matches all versions of the package; the specified action will
++be applied to all the matching packages. A package specifier that
++matches all version of the package can also be written
++.BR pkg-* ,
++to make it clearer that multiple packages are being matched.
++.SH ACTIONS
++.TP
++\fBregister\fP \fIfilename\fP|\fB-\fP
++Register the package using the specified installed package
++description.
++.TP
++\fBupdate\fP \fIfilename\fP|\fB-\fP
++Register the package, overwriting any other package with the same
++name.
++.TP
++\fBunregister\fP \fIpkg-id\fP
++Unregister the specified package.
++.TP
++\fBexpose\fP \fIpkg-id\fP
++Expose the specified package.
++.TP
++\fBhide\fP \fIpkg-id\fP
++Hide the specified package
++.TP
++\fBlist\fP \fR[\fIpkg\fR]...\fP
++List registered packages in the global database, and also the user
++database if
++.B --user
++is given. If a package name is given all the registered versions will
++be listed in ascending order.  Accepts the
++.B --simple-output
++flag.
++.TP
++.B dot
++Generate a graph of the package dependencies in a form suitable for
++input for the graphviz tools.  For example, to generate a PDF of the
++dependency graph:
++.br
++\fB    dot \| tred \| dot -Tpdf >pkgs.pdf\fP
++.TP
++\fBfind-module\fP \fImodule\fP
++List registered packages exposing module
++.I module
++in the global database, and also the user database if
++.B --user
++is given. All the registered versions will be listed in ascending
++order.  Accepts the
++.B --simple-output
++flag.
++.TP
++\fBlatest\fP \fIpkg-id\fP
++Prints the highest registered version of a package.
++.TP
++.B check
++Check the consistency of package dependencies and list broken
++packages.  Accepts the
++.B --simple-output
++flag.
++.TP
++\fBdescribe\fP \fIpkg\fP
++Give the registered description for the
++specified package. The description is returned in precisely the syntax
++required by ghc-pkg register.
++.TP
++\fBfield\fP \fIpkg field\fP
++Extract the specified field of the package description for the
++specified package.  Accepts comma-separated multiple fields.
++.TP
++.B dump
++Dump the registered description for every package. This is like
++.BR ghc-pkg\ describe\ '*' ,
++expect that it is intended to be used by tools that parse the results,
++rather than humans.
++.TP
++.B recache
++Regenerate the package database cache.  This command should only be
++necessary if you added a package to the database by dropping a file
++into the database directory manyally.  By default, the global DB is
++recached; to recache a different DB use
++.B --user
++or
++.B --package-conf
++as appropriate.
++.SH OPTIONS
++When asked to modify a database
++.RB ( register ,\  unregister ,\  update ,\  hide ,\  expose ,\ and\ also\  check ),
++.B ghc-pkg
++modifies the global database by
++default.  Specifying
++.B --user
++causes it to act on the user database,
++or
++.B --package-conf
++can be used to act on another database
++entirely. When multiple of these options are given, the rightmost
++one is used as the database to act upon.
++.PP
++Commands that query the package database
++.RB ( list ,\  latest ,\  describe ,\  field )
++operate on the list of databases specified by the flags
++.BR --user ,\  --global ,
++and
++.BR --package-conf .
++If none of these flags are
++given, the default is
++.BR --global\ --user .
++.TP
++.B --user
++Use the current user's package database.
++.TP
++.B --global
++Use the global package database.
++.TP
++\fB-f\fP \fIFILE\fP, \fB--package-conf=\fIFILE\fP
++Use the specified package config file.
++.TP
++.BI --global-conf= FILE
++Location of the global package config.
++.TP
++.B --force
++Ignore missing dependencies, directories, and libraries.
++.TP
++.B --force-files
++Ignore missing directories and libraries only.
++.TP
++.BR -g ,\  --auto-ghc-libs
++Automatically build libs for GHCi (with register).
++.TP
++.BR -? ,\  --help
++Display a help message and exit.
++.TP
++.BR -V ,\  --version
++Output version information and exit.
++.TP
++.B --simple-output
++Print output in easy-to-parse format for some commands.
++.TP
++.B --names-only
++Only print package names, not versions; can only be used with
++.BR list\ --simple-output .
++.TP
++.B --ignore-case
++Ignore case for substring matching.
++.SH ENVIRONMENT VARIABLES
++.TP
++.B GHC_PACKAGE_PATH
++The
++.B GHC_PACKAGE_PATH
++environment variable may be set to a
++.BR : -separated
++list of files containing package databases. This list of package
++databases is used by
++.B ghc
++and
++.BR ghc-pkg ,
++with earlier databases in the list overriding later ones. This order
++was chosen to match the behaviour of the
++.B PATH
++environment variable; think of it as a list of package databases that
++are searched left-to-right for packages.
++
++If
++.B GHC_PACKAGE_PATH
++ends in a separator, then the default user and system package
++databases are appended, in that order. e.g. to augment the usual set
++of packages with a database of your own, you could say:
++
++.br
++\fB     export GHC_PACKAGE_PATH=$HOME/.my-ghc-packages.conf:\fP
++.br
++
++To check whether your
++.B GHC_PACKAGE_PATH
++setting is doing the right thing,
++.B ghc-pkg list
++will list all the databases in use, in the reverse order they are
++searched.
++.SH FILES
++Both of these locations are changed for Debian.  Upstream still keeps
++these under
++.IR /usr .
++Some programs may refer to that, but look in
++.I /var
++instead.
++.TP
++.I /var/lib/ghc/package.conf
++Global package.conf file.
++.TP
++.I /var/lib/ghc/package.conf.d/
++Directory for library specific package.conf files.  These are added to
++the global registry.
++.SH "SEE ALSO"
++.BR ghc (1),
++.BR runghc (1),
++.BR hugs (1).
++.SH AUTHOR
++This manual page was written by Kari Pahula <kaol@debian.org>, for the
++Debian project (and may be used by others).
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..5286b11466652ca12dd4d7422538da190e3868c2
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,57 @@@
++#! /bin/sh
++# postinst script for ghc
++#
++set -e
++
++execdir=/usr/bin
++libdir=/usr/lib/ghc
++bindir=$libdir/bin
++mandir=/usr/share/man
++vardir=/var/lib/ghc
++
++# summary of how this script can be called:
++#        * <postinst> `configure' <most-recently-configured-version>
++#        * <old-postinst> `abort-upgrade' <new version>
++#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
++#          <new-version>
++#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
++#          <failed-install-package> <version> `removing'
++#          <conflicting-package> <version>
++# for details, see /usr/doc/packaging-manual/
++#
++# quoting from the policy:
++#     Any necessary prompting should almost always be confined to the
++#     post-installation script, and should be protected with a conditional
++#     so that unnecessary prompting doesn't happen if a package's
++#     installation fails and the `postinst' is called with `abort-upgrade',
++#     `abort-remove' or `abort-deconfigure'.
++
++case "$1" in
++    configure|abort-upgrade|abort-remove|abort-deconfigure)
++      if $execdir/ghc --info | grep '"Have interpreter","YES"' >/dev/null ; then
++            update-alternatives \
++              --install $execdir/runhaskell runhaskell $execdir/runghc 600 \
++              --slave $mandir/man1/runhaskell.1.gz runhaskell.1.gz $mandir/man1/runghc.1.gz
++      fi
++        update-alternatives \
++            --install $execdir/haskell-compiler haskell-compiler $execdir/ghc 600 \
++            --slave $mandir/man1/haskell-compiler.1.gz haskell-compiler.1.gz $mandir/man1/ghc.1.gz
++      $execdir/ghc-pkg recache --global
++      $execdir/ghc-pkg check --global || true
++    ;;
++    triggered)
++      $execdir/ghc-pkg recache --global
++      $execdir/ghc-pkg check --global || true
++      ;;
++    *)
++        echo "postinst called with unknown argument \`$1'" >&2
++        exit 0
++    ;;
++esac
++
++# dh_installdeb will replace this with shell code automatically
++# generated by other debhelper scripts.
++
++#DEBHELPER#
++
++exit 0
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..9a99ab1946256448db43a5246ef91154bf38a31c
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,29 @@@
++#! /bin/sh
++# preinst script for ghc
++
++set -e
++
++case "$1" in
++    install)
++      if test -n "$2"; then
++          if dpkg --compare-versions "$2" "<<" "6.10.3" && dpkg --compare-versions "$2" ">>" "6.10.1"; then
++              rm -f /usr/lib/ghc-6.10.1/package.conf*
++              rmdir --ignore-fail-on-non-empty /usr/lib/ghc-6.10.1
++          fi
++      fi
++      ;;
++    upgrade|abort-upgrade)
++      exit 0
++      ;;
++    *)
++        echo "postinst called with unknown argument \`$1'" >&2
++        exit 0
++      ;;
++esac
++
++# dh_installdeb will replace this with shell code automatically
++# generated by other debhelper scripts.
++
++#DEBHELPER#
++
++exit 0
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..2293bbc6f082a5b86ae8fe13208aaadc7e561860
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,41 @@@
++#! /bin/sh
++# prerm script for ghc
++#
++# SOURCE: ghc.prerm.in
++
++set -e
++
++execdir=/usr/bin
++libdir=/usr/lib/ghc
++bindir=$libdir/bin
++vardir=/var/lib/ghc
++
++# summary of how this script can be called:
++#        * <prerm> `remove'
++#        * <old-prerm> `upgrade' <new-version>
++#        * <new-prerm> `failed-upgrade' <old-version>
++#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
++#        * <deconfigured's-prerm> `deconfigure' `in-favour'
++#          <package-being-installed> <version> `removing'
++#          <conflicting-package> <version>
++# for details, see /usr/doc/packaging-manual/
++
++case "$1" in
++    remove|upgrade|deconfigure|failed-upgrade)
++        update-alternatives --remove runhaskell $execdir/runghc
++        update-alternatives --remove haskell-compiler $execdir/ghc
++      rm -f $vardir/package.conf.d/package.cache
++    ;;
++    *)
++        echo "prerm called with unknown argument \`$1'" >&2
++        exit 0
++    ;;
++esac
++
++# dh_installdeb will replace this with shell code automatically
++# generated by other debhelper scripts.
++
++#DEBHELPER#
++
++exit 0
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..741e8505ac50062ef044c7f95676e0f129d9295b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++interest-noawait /var/lib/ghc/package.conf.d
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..38448357b4e7864ef3efbf9d26fb66deb05da603
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,39 @@@
++#! /bin/sh
++# prerm script for ghc6-doc
++
++set -e
++
++# summary of how this script can be called:
++#        * <prerm> `remove'
++#        * <old-prerm> `upgrade' <new-version>
++#        * <new-prerm> `failed-upgrade' <old-version>
++#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
++#        * <deconfigured's-prerm> `deconfigure' `in-favour'
++#          <package-being-installed> <version> `removing'
++#          <conflicting-package> <version>
++# for details, see /usr/doc/packaging-manual/
++
++case "$1" in
++    remove|upgrade|deconfigure|failed-upgrade)
++        rm -f /usr/share/doc/ghc6-doc/libraries/doc-index*.html
++        rm -f /usr/share/doc/ghc6-doc/libraries/haddock.css
++        rm -f /usr/share/doc/ghc6-doc/libraries/haddock.js
++        rm -f /usr/share/doc/ghc6-doc/libraries/index.html
++        rm -f /usr/share/doc/ghc6-doc/libraries/libraries.txt
++        rm -f /usr/share/doc/ghc6-doc/libraries/haskell_icon.gif
++        rm -f /usr/share/doc/ghc6-doc/libraries/minus.gif
++        rm -f /usr/share/doc/ghc6-doc/libraries/plus.gif
++    ;;
++    *)
++        echo "prerm called with unknown argument \`$1'" >&2
++        exit 0
++    ;;
++esac
++
++# dh_installdeb will replace this with shell code automatically
++# generated by other debhelper scripts.
++
++#DEBHELPER#
++
++exit 0
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..6a38f63d8bf24d98d9572f3d484d5daaf1d6e064
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,27 @@@
++#! /bin/sh
++# preinst script for ghc6
++
++set -e
++
++case "$1" in
++    upgrade)
++      # Remove the .cache file of any previous ghc6 installation, to avoid dpkg warnings 
++      # about non-empty directories to be remoed.
++      rm -f /var/lib/ghc-6.*/package.conf.d/package.cache || true
++      exit 0
++      ;;
++    install|abort-upgrade)
++      exit 0
++      ;;
++    *)
++        echo "postinst called with unknown argument \`$1'" >&2
++        exit 0
++      ;;
++esac
++
++# dh_installdeb will replace this with shell code automatically
++# generated by other debhelper scripts.
++
++#DEBHELPER#
++
++exit 0
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..a30106ba0c5433641162c49fbb97b81baf686cfc
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,231 @@@
++.TH HADDOCK 1 "July 2010" "Haddock, version 2.6.1" "Haddock documentation generator"
++
++
++.SH NAME
++haddock \- documentation tool for annotated Haskell source code
++
++
++.SH SYNOPSIS
++.B haddock
++.RI [ options ] " file" ...
++
++
++.SH DESCRIPTION
++This manual page documents briefly the
++.B haddock
++command.
++Extensive documentation is available in various other formats including DVI,
++PostScript and HTML; see below.
++
++.PP
++.I file
++is a filename containing a Haskell source module.
++All the modules specified on the command line will be processed together.
++When one module refers to an entity in another module being processed, the
++documentation will link directly to that entity.
++
++Entities that cannot be found, for example because they are in a module that
++is not being processed as part of the current batch, simply will not be
++hyperlinked in the generated documentation.
++.B haddock
++will emit warnings listing all the identifiers it could not resolve.
++
++The modules should not be mutually recursive, as
++.B haddock
++does not like swimming in circles.
++
++
++.SH OPTIONS
++The programs follow the usual GNU command line syntax, with long
++options starting with two dashes (`--').
++A summary of options is included below.
++For a complete description, see the other documentation.
++
++.TP
++\fB\-o \fIDIR\fP, \-\-odir=\fIDIR\fP
++directory in which to put the output files
++
++.TP
++\fB\-i \fIFILE\fP, \-\-read-interface=\fIFILE\fP
++read an interface from 
++.IR FILE .
++
++.TP
++\fB\-D \fIFILE\fP, \-\-dump\-interface=\fIFILE\fP
++dump an interface for these modules in  
++.IR FILE .
++
++.TP
++\fB\-l \fIDIR\fP, \-\-lib=\fIDIR\fP
++location of Haddock's auxiliary files
++
++.TP
++.BR \-h ", " \-\-html
++Generate documentation in HTML format.
++Several files will be generated into the current directory (or the specified
++directory if the 
++.B \-o
++option is given), including the following:
++.RS
++.TP
++.I index.html
++The top level page of the documentation:
++lists the modules available, using indentation to represent the hierarchy if
++the modules are hierarchical.
++.TP
++.I haddock.css
++The stylesheet used by the generated HTML.
++Feel free to modify this to change the colors or layout, or even specify
++your own stylesheet using the
++.B \-\-css
++option.
++.TP
++.I module.html
++An HTML page for each module.
++.TP
++.IR doc-index.html ", " doc-index-XX.html
++The index, split into two (functions/constructors and types/classes, as per
++Haskell namespaces) and further split alphabetically.
++.RE
++
++.TP
++.B \-\-hoogle
++output for Hoogle
++
++.TP
++\fB\-\-html\-help=\fIformat
++produce index and table of contents in mshelp, mshelp2 or devhelp format 
++(with \fI\-h\fP)
++
++.TP
++\fB\-\-source\-base=\fPURL
++Include links to the source files in the generated documentation, where URL
++is the base URL where the source files can be found.
++
++.TP
++\fB\-s \fPURL, \fB\-\-source\-module=\fPURL
++Include links to the source files in the generated documentation, where URL
++is a source code link for each module (using the %{FILE} or %{MODULE} vars).
++
++.TP
++\fB\-\-source\-entity=\fPURL
++Include links to the source files in the generated documentation, where URL
++is a source code link for each entity (using the %{FILE}, %{MODULE} or %{NAME} vars).
++
++.TP
++\fB\-\-comments\-base=\fPURL
++URL for a comments link on the contents and index pages.
++.TP
++\fB\-\-comments\-module=\fPURL
++URL for a comments link for each module (using the %{MODULE} var).
++.TP
++\fB\-\-comments\-entity=\fPURL
++URL for a comments link for each entity (using the %{FILE}, %{MODULE} or %{NAME} vars).
++.TP
++.BI \-\-css= FILE
++Use the CSS
++.I FILE
++instead of the default stylesheet that comes with
++.B haddock 
++for HTML output. It should specify certain classes: see the default stylesheet for details.
++
++.TP
++\fB\-p \fIFILE\fP, \-\-prologue=\fIFILE\fP
++Specify a file containing prologue text.
++
++.TP
++\fB\-t \fITITLE\fP, \-\-title=\fITITLE\fP
++Use \fITITLE\fP as the page heading for each page in the documentation.
++This will normally be the name of the library being documented.
++
++The title should be a plain string (no markup please!).
++
++.TP
++\fB\-k \fINAME\fP, \-\-package=\fINAME\fP
++Specify the package name (optional).
++
++.TP
++.BR \-n ", " \-\-no\-implicit\-prelude  
++do not assume Prelude is imported
++
++.TP
++.BR \-d ", " \-\-debug
++Enable extra debugging output.
++
++.TP
++.BR \-? ", " \-\-help
++Display help.
++
++.TP
++.BR \-V ", " \-\-version
++Display version.
++
++.TP
++.BR \-v ", " \-\-verbose
++Verbose status reporting.
++
++.TP
++\fB\-\-use\-contents=\fPURL
++Use a separately-generated HTML contents page.
++
++.TP
++.B \-\-gen\-contents
++Generate an HTML contents from specified  interfaces.
++
++.TP
++\fB\-\-use\-index=\fPURL
++Use a separately-generated HTML index.
++
++.TP
++.B \-\-gen\-index
++Generate an HTML index from specified interfaces.
++
++.TP
++.B \-\-ignore\-all\-exports   
++Behave as if all modules have the ignore-exports atribute
++
++.TP
++\fB\-\-hide=\fIMODULE
++Behave as if \fIMODULE\fP has the hide attribute.
++
++.TP
++\fB\-\-use\-package=\fIPACKAGE 
++The modules being processed depend on \fIPACKAGE\fP.
++
++.SH FILES
++.I /usr/bin/haddock
++.br
++.I /usr/share/haddock-2.6.1/html/plus.gif
++.br
++.I /usr/share/haddock-2.6.1/html/minus.gif
++.br
++.I /usr/share/haddock-2.6.1/html/haskell_icon.gif
++.br
++.I /usr/share/haddock-2.6.1/html/haddock.js
++.br
++.I /usr/share/haddock-2.6.1/html/haddock.css
++.br
++.I /usr/share/haddock-2.6.1/html/haddock-DEBUG.css
++
++.SH SEE ALSO
++.IR /usr/share/doc/haddock/ ,
++.br
++the Haddock homepage
++.UR http://haskell.org/haddock/
++(http://haskell.org/haddock/)
++.UE
++
++.SH COPYRIGHT
++Haddock version 2.6.1
++
++Copyright 2006-2010  Simon Marlow <simonmar@microsoft.com>, Dawid Waern <david.waern@gmail.com>.
++All rights reserved.
++
++
++.SH AUTHOR
++This manual page was written by Michael Weber <michaelw@debian.org>
++for the Debian GNU/Linux system (but may be used by others).
++
++.\" Local variables:
++.\" mode: nroff
++.\" End:
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..282d51e26b387ba5fb5e8f96dea8090ee2232211
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,10 @@@
++<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
++<html>
++  <head>
++    <title>GHC's documentation has moved</title>
++    <meta http-equiv="REFRESH" content="0;url=html/index.html"></head>
++  <body>
++    GHC's documentation's main page is no longer in this place.
++    Instead, see <a href="html/index.html">html/index.html</a>.
++  </body>
++</html>
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ececbc47e318aa116796e7b7f9cc228ab95adef1
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,22 @@@
++Description: Use VFPv3-D16 FPU for ARM builds
++ Jani writes: The D16 part was Debian/Ubuntu specific, IIRC we define hardfloat
++ in that particular variant (16 double registers) or we had a different naming
++ for some reason.
++Author: Jani Monoses <jani@ubuntu.com>
++Upstream-Bug: https://ghc.haskell.org/trac/ghc/ticket/5914
++Launchpad-Bug: https://ghc.haskell.org/trac/ghc/ticket/5914
++
++Index: ghc/aclocal.m4
++===================================================================
++--- ghc.orig/aclocal.m4       2016-01-14 16:19:24.858462215 +0100
+++++ ghc/aclocal.m4    2016-01-14 16:19:24.854462134 +0100
++@@ -420,7 +420,7 @@
++                 )],
++                 [changequote(, )dnl
++-                 ARM_ISA=ARMv7
+++                 ARM_ISA=ARMv6
++-                 ARM_ISA_EXT="[VFPv3,NEON]"
+++                 ARM_ISA_EXT="[VFPv2]"
++                  changequote([, ])dnl
++                 ])
++         ])
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..a0f1dd1ac6d7e085a07abe4f017b71a52fa191cd
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,45 @@@
++From 0d963caf40da4391028a3beb95b5082c87985e7d Mon Sep 17 00:00:00 2001
++From: Tamar Christina <tamar@zhox.com>
++Date: Sun, 5 Jun 2016 09:59:05 +0200
++Subject: [PATCH] Add relocation type R_X86_64_REX_GOTPCRELX
++
++Summary:
++Adding support for the `R_X86_64_REX_GOTPCRELX` relocation type.
++This relocation is treated by the linker the same as the `R_X86_64_GOTPCRELX` type
++`G + GOT + A - P` to generate relative offsets to the GOT.
++The `REX` prefix has no influence in this stage.
++
++This is based on https://github.com/hjl-tools/x86-psABI/wiki/x86-64-psABI-r252.pdf
++
++Test Plan: ./validate
++
++Reviewers: erikd, austin, bgamari, simonmar
++
++Reviewed By: erikd
++
++Subscribers: thomie, #ghc_windows_task_force
++
++Differential Revision: https://phabricator.haskell.org/D2303
++
++GHC Trac Issues: #12147
++---
++ rts/Linker.c | 8 +++++++-
++ 1 file changed, 7 insertions(+), 1 deletion(-)
++
++--- a/rts/Linker.c
+++++ b/rts/Linker.c
++@@ -5855,7 +5855,13 @@
++           *(Elf64_Sword *)P = (Elf64_Sword)value;
++ #endif
++           break;
++-
+++/* These two relocations were introduced in glibc 2.23 and binutils 2.26.
+++    But in order to use them the system which compiles the bindist for GHC needs
+++    to have glibc >= 2.23. So only use them if they're defined. */
+++#if defined(R_X86_64_REX_GOTPCRELX) && defined(R_X86_64_GOTPCRELX)
+++      case R_X86_64_REX_GOTPCRELX:
+++      case R_X86_64_GOTPCRELX:
+++#endif
++       case R_X86_64_GOTPCREL:
++       {
++           StgInt64 gotAddress = (StgInt64) &makeSymbolExtra(oc, ELF_R_SYM(info), S)->addr;
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0d5ab74623ba552046b6c2c6540169879e72a41e
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,38 @@@
++From: Ben Gamari <bgamari.foss@gmail.com>
++Date: Tue, 30 Aug 2016 21:08:05 +0000 (-0400)
++Subject: StgCmmPrim: Add missing MO_WriteBarrier
++X-Git-Url: https://git.haskell.org/ghc.git/commitdiff_plain/7053019e7b04842dd7364039381d8c4c069489a2
++
++StgCmmPrim: Add missing MO_WriteBarrier
++
++Test Plan: Good question
++
++Reviewers: austin, trommler, simonmar, rrnewton
++
++Reviewed By: simonmar
++
++Subscribers: RyanGlScott, thomie
++
++Differential Revision: https://phabricator.haskell.org/D2495
++
++GHC Trac Issues: #12469
++
++(cherry picked from commit d40d6df74a9fca382a84709ac9bc862897fbec18)
++---
++
++--- a/compiler/codeGen/StgCmmPrim.hs
+++++ b/compiler/codeGen/StgCmmPrim.hs
++@@ -310,8 +310,11 @@
++ emitPrimOp dflags [res] ReadMutVarOp [mutv]
++    = emitAssign (CmmLocal res) (cmmLoadIndexW dflags mutv (fixedHdrSizeW dflags) (gcWord dflags))
++ 
++-emitPrimOp dflags [] WriteMutVarOp [mutv,var]
++-   = do emitStore (cmmOffsetW dflags mutv (fixedHdrSizeW dflags)) var
+++emitPrimOp dflags res@[] WriteMutVarOp [mutv,var]
+++   = do -- Without this write barrier, other CPUs may see this pointer before
+++        -- the writes for the closure it points to have occurred.
+++        emitPrimCall res MO_WriteBarrier []
+++        emitStore (cmmOffsetW dflags mutv (fixedHdrSizeW dflags)) var
++         emitCCall
++                 [{-no results-}]
++                 (CmmLit (CmmLabel mkDirty_MUT_VAR_Label))
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..43a2f40e3eb9cabd1dd949fd1f60a8ea7e687ed5
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,72 @@@
++Description: Revert ghci ARM improvements (ticket #10375) on armel
++ This patch reverts a change which improved ghci on ARM (see
++ ghc ticket #10375). While the change fixed ghci on armhf, it
++ actually resulted in the ghc package FTBFS on armel since the
++ changes introduced made ghc incompatible with this architecture
++ (ticket #11058). As a temporary workaround, we revert this particular
++ change when ghc is built on armel. For this reason, this patch
++ is not applied using the series file but only selectively on
++ armel with the help of debian/rules.
++ .
++
++--- ghc-7.10.3.orig/aclocal.m4
+++++ ghc-7.10.3/aclocal.m4
++@@ -577,18 +577,10 @@ AC_DEFUN([FPTOOLS_SET_C_LD_FLAGS],
++         $3="$$3 -D_HPUX_SOURCE"
++         $5="$$5 -D_HPUX_SOURCE"
++         ;;
++-    arm*linux*)
++-        # On arm/linux and arm/android, tell gcc to generate Arm
++-        # instructions (ie not Thumb) and to link using the gold linker.
++-        # Forcing LD to be ld.gold is done in FIND_LD m4 macro.
++-        $2="$$2 -marm"
++-        $3="$$3 -fuse-ld=gold -Wl,-z,noexecstack"
++-        $4="$$4 -z noexecstack"
++-        ;;
++-
++-    aarch64*linux*)
++-        # On aarch64/linux and aarch64/android, tell gcc to link using the
++-        # gold linker.
+++    arm*linux*       | \
+++    aarch64*linux*   )
+++        # On arm/linux, aarch64/linux, arm/android and aarch64/android, tell
+++        # gcc to link using the gold linker.
++         # Forcing LD to be ld.gold is done in FIND_LD m4 macro.
++         $3="$$3 -fuse-ld=gold -Wl,-z,noexecstack"
++         $4="$$4 -z noexecstack"
++--- ghc-7.10.3.orig/libraries/ghci/GHCi/InfoTable.hsc
+++++ ghc-7.10.3/libraries/ghci/GHCi/InfoTable.hsc
++@@ -184,17 +184,17 @@ mkJumpToAddr dflags a = case platformArc
++                  , fromIntegral ((w64 `shiftR` 32) .&. 0x0000FFFF) ]
++ 
++     ArchARM { } ->
++-        -- Generates Arm sequence,
+++        -- Generates Thumb sequence,
++         --      ldr r1, [pc, #0]
++         --      bx r1
++         --
++         -- which looks like:
++         --     00000000 <.addr-0x8>:
++-        --     0:       00109fe5    ldr    r1, [pc]      ; 8 <.addr>
++-        --     4:       11ff2fe1    bx     r1
+++        --     0:       4900        ldr    r1, [pc]      ; 8 <.addr>
+++        --     4:       4708        bx     r1
++         let w32 = fromIntegral (funPtrToInt a) :: Word32
++-        in Left [ 0x00, 0x10, 0x9f, 0xe5
++-                , 0x11, 0xff, 0x2f, 0xe1
+++        in Left [ 0x49, 0x00
+++                , 0x47, 0x08
++                 , byte0 w32, byte1 w32, byte2 w32, byte3 w32]
++ 
++     ArchARM64 { } ->
++--- ghc-7.10.3.orig/compiler/llvmGen/LlvmCodeGen/Ppr.hs
+++++ ghc-7.10.3/compiler/llvmGen/LlvmCodeGen/Ppr.hs
++@@ -52,7 +52,7 @@ moduleLayout = sdocWithPlatform $ \platform ->
++         $+$ text "target triple = \"x86_64-linux-gnu\""
++     Platform { platformArch = ArchARM {}, platformOS = OSLinux } ->
++         text "target datalayout = \"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32\""
++-        $+$ text "target triple = \"armv6-unknown-linux-gnueabihf\""
+++        $+$ text "target triple = \"arm-unknown-linux-gnueabi\""
++     Platform { platformArch = ArchARM {}, platformOS = OSAndroid } ->
++         text "target datalayout = \"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32\""
++         $+$ text "target triple = \"arm-unknown-linux-androideabi\""
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8add0fcd1c99b45ce3d361b13b0e027a86746277
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,25 @@@
++Forwarded to https://ghc.haskell.org/trac/ghc/ticket/10424
++
++Index: ghc/compiler/iface/MkIface.hs
++===================================================================
++--- ghc.orig/compiler/iface/MkIface.hs        2016-04-19 09:26:40.075170754 +0200
+++++ ghc/compiler/iface/MkIface.hs     2016-04-19 09:26:40.071170684 +0200
++@@ -556,7 +556,7 @@
++    iface_hash <- computeFingerprint putNameLiterally
++                       (mod_hash,
++                        ann_fn (mkVarOcc "module"),  -- See mkIfaceAnnCache
++-                       mi_usages iface0,
+++                       usages,
++                        sorted_deps,
++                        mi_hpc iface0)
++ 
++@@ -589,6 +589,9 @@
++     (non_orph_fis,   orph_fis)   = mkOrphMap ifFamInstOrph (mi_fam_insts iface0)
++     fix_fn = mi_fix_fn iface0
++     ann_fn = mkIfaceAnnCache (mi_anns iface0)
+++    -- Do not allow filenames to affect the interface
+++    usages = [ case u of UsageFile _ fp -> UsageFile "" fp; _ -> u | u <- mi_usages iface0 ]
+++
++ 
++ getOrphanHashes :: HscEnv -> [Module] -> IO [Fingerprint]
++ getOrphanHashes hsc_env mods = do
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..9f65bd75d74aafec946cb38e374aff2da4f907b4
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,11 @@@
++--- a/compiler/cmm/PprC.hs
+++++ b/compiler/cmm/PprC.hs
++@@ -1114,6 +1114,8 @@ cLoad expr rep
++           bewareLoadStoreAlignment ArchMipsel   = True
++           bewareLoadStoreAlignment (ArchARM {}) = True
++           bewareLoadStoreAlignment ArchARM64    = True
+++          bewareLoadStoreAlignment ArchSPARC    = True
+++          bewareLoadStoreAlignment ArchSPARC64  = True
++           -- Pessimistically assume that they will also cause problems
++           -- on unknown arches
++           bewareLoadStoreAlignment ArchUnknown  = True
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..540efa92b1654cf0277191c444fd436c83db8128
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,71 @@@
++Description: Do not use $SHELL
++ as $SHELL is the user's preferred interactive shell. We do not want this to
++ leak into the wrapper scripts.
++Author: Joachim Breitner <nomeata@debian.org>
++
++Index: ghc/driver/ghci/ghc.mk
++===================================================================
++--- ghc.orig/driver/ghci/ghc.mk       2016-07-07 12:40:40.690866042 +0200
+++++ ghc/driver/ghci/ghc.mk    2016-07-07 12:40:40.686863966 +0200
++@@ -21,7 +21,7 @@
++      $(INSTALL_DIR) "$(DESTDIR)$(bindir)"
++      $(call removeFiles,                                "$(WRAPPER)")
++      $(CREATE_SCRIPT)                                   "$(WRAPPER)"
++-     echo '#!$(SHELL)'                               >> "$(WRAPPER)"
+++     echo '#!/bin/sh'                                >> "$(WRAPPER)"
++      echo 'exec "$(bindir)/ghc-$(ProjectVersion)" --interactive "$$@"' >> "$(WRAPPER)"
++      $(EXECUTABLE_FILE)                                 "$(WRAPPER)"
++      $(call removeFiles,"$(DESTDIR)$(bindir)/ghci")
++@@ -56,7 +56,7 @@
++ install_driver_ghcii:
++      $(INSTALL_DIR) "$(DESTDIR)$(bindir)"
++      $(call removeFiles,"$(GHCII_SCRIPT)")
++-     echo "#!$(SHELL)"                                  >> $(GHCII_SCRIPT)
+++     echo "#!/bin/sh"                                        >> $(GHCII_SCRIPT)
++      echo 'exec "$$(dirname "$$0")"/ghc --interactive "$$@"' >> $(GHCII_SCRIPT)
++      $(EXECUTABLE_FILE) $(GHCII_SCRIPT)
++      cp $(GHCII_SCRIPT) $(GHCII_SCRIPT_VERSIONED)
++Index: ghc/rules/shell-wrapper.mk
++===================================================================
++--- ghc.orig/rules/shell-wrapper.mk   2016-07-07 12:40:40.690866042 +0200
+++++ ghc/rules/shell-wrapper.mk        2016-07-07 12:40:40.686863966 +0200
++@@ -41,7 +41,7 @@
++ endif
++ $$($1_$2_INPLACE_WRAPPER): $$($1_$2_INPLACE)
++      $$(call removeFiles,                                                    $$@)
++-     echo '#!$$(SHELL)'                                                   >> $$@
+++     echo '#!/bin/sh'                                                     >> $$@
++      echo 'executablename="$$(TOP)/$$<"'                                  >> $$@
++      echo 'datadir="$$(TOP)/$$(INPLACE_LIB)"'                             >> $$@
++      echo 'bindir="$$(TOP)/$$(INPLACE_BIN)"'                              >> $$@
++@@ -80,7 +80,7 @@
++      $$(INSTALL_DIR) "$$(DESTDIR)$$(bindir)"
++      $$(call removeFiles,                                        "$$(WRAPPER)")
++      $$(CREATE_SCRIPT)                                           "$$(WRAPPER)"
++-     echo '#!$$(SHELL)'                                       >> "$$(WRAPPER)"
+++     echo '#!/bin/sh'                                         >> "$$(WRAPPER)"
++      echo 'exedir="$$(ghclibexecdir)/bin"'                    >> "$$(WRAPPER)"
++      echo 'exeprog="$$($1_$2_PROG)"'                          >> "$$(WRAPPER)"
++      echo 'executablename="$$$$exedir/$$$$exeprog"'           >> "$$(WRAPPER)"
++@@ -106,7 +106,7 @@
++ 
++ $$($1_$2_BINDIST_WRAPPER): $1/$2/build/tmp/$$($1_$2_PROG)
++      $$(call removeFiles,                                                  $$@)
++-     echo '#!$$(SHELL)'                                                 >> $$@
+++     echo '#!/bin/sh'                                                    >> $$@
++ ifeq "$$(DYNAMIC_GHC_PROGRAMS)" "YES"
++      echo '$$(call prependLibraryPath,$$($1_$2_DEP_LIB_REL_DIRS_SEARCHPATH))' >> $$@
++ endif
++Index: ghc/utils/mkdirhier/ghc.mk
++===================================================================
++--- ghc.orig/utils/mkdirhier/ghc.mk   2016-07-07 12:40:40.690866042 +0200
+++++ ghc/utils/mkdirhier/ghc.mk        2016-07-07 12:40:40.686863966 +0200
++@@ -14,7 +14,7 @@
++      mkdir -p $(INPLACE_BIN)
++      mkdir -p $(INPLACE_LIB)
++      $(call removeFiles,$@)
++-     echo '#!$(SHELL)'                >> $@
+++     echo '#!/bin/sh'                 >> $@
++      cat utils/mkdirhier/mkdirhier.sh >> $@
++      $(EXECUTABLE_FILE) $@
++ 
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..968dbc3361bf36e07ac0f1405384b57254d030a2
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,40 @@@
++From: Adam Gundry <adam@well-typed.com>
++Subject: Avoid find_tycon panic if datacon is not in scope
++
++When using TH to splice expressions involving record field construction,
++the parent datacon may not be in scope.  We shouldn't panic about this,
++because we will be renaming Exact RdrNames which don't require any
++disambiguation.
++
++Reviewers: austin, bgamari
++Reviewed By: bgamari
++Differential Revision: https://phabricator.haskell.org/D2321
++GHC Trac Issues: #12130
++
++Origin: upstream, https://git.haskell.org/ghc.git/commitdiff/694e0f3a08030
++
++Index: b/compiler/rename/RnPat.hs
++===================================================================
++--- a/compiler/rename/RnPat.hs
+++++ b/compiler/rename/RnPat.hs
++@@ -636,7 +636,7 @@ rnHsRecFields ctxt mk_arg (HsRecFields {
++     find_tycon :: GlobalRdrEnv -> Name {- DataCon -} -> Maybe Name {- TyCon -}
++     -- Return the parent *type constructor* of the data constructor
++     -- (that is, the parent of the data constructor),
++-    -- or 'Nothing' if it is a pattern synonym.
+++    -- or 'Nothing' if it is a pattern synonym or not in scope.
++     -- That's the parent to use for looking up record fields.
++     find_tycon env con
++       | Just (AConLike (RealDataCon dc)) <- wiredInNameTyThing_maybe con
++@@ -648,8 +648,9 @@ rnHsRecFields ctxt mk_arg (HsRecFields {
++           ParentIs p -> Just p
++           _          -> Nothing
++ 
++-      | otherwise
++-      = pprPanic "find_tycon" (ppr con $$ ppr (lookupGRE_Name env con))
+++      | otherwise = Nothing
+++        -- This can happen if the datacon is not in scope
+++        -- and we are in a TH splice (Trac #12130)
++ 
++     dup_flds :: [[RdrName]]
++         -- Each list represents a RdrName that occurred more than once
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..678004fc0331963ec0e4cdc4b73735fffa65f8a9
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,64 @@@
++From ce3370e06165690e79a8eb22e5229b515157e00f Mon Sep 17 00:00:00 2001
++From: Peter Trommler <ptrommler@acm.org>
++Date: Sat, 1 Oct 2016 17:56:31 -0400
++Subject: [PATCH] PPC/CodeGen: fix lwa instruction generation
++
++Opcode lwa is a 64-bit opcode and allows a DS-form only.  This patch
++generates lwa opcodes only when the offset is a multiple of 4.
++
++Fixes #12621
++
++Test Plan: validate
++
++Reviewers: erikd, hvr, simonmar, austin, bgamari
++
++Reviewed By: bgamari
++
++Subscribers: thomie
++
++Differential Revision: https://phabricator.haskell.org/D2547
++
++GHC Trac Issues: #12621
++---
++ compiler/nativeGen/PPC/CodeGen.hs | 16 ++++++++++++----
++ 1 file changed, 12 insertions(+), 4 deletions(-)
++
++--- a/compiler/nativeGen/PPC/CodeGen.hs
+++++ b/compiler/nativeGen/PPC/CodeGen.hs
++@@ -9,9 +9,8 @@
++ -----------------------------------------------------------------------------
++ 
++ -- This is a big module, but, if you pay attention to
++--- (a) the sectioning, (b) the type signatures, and
++--- (c) the #if blah_TARGET_ARCH} things, the
++--- structure should not be too overwhelming.
+++-- (a) the sectioning, and (b) the type signatures,
+++-- the structure should not be too overwhelming.
++ 
++ module PPC.CodeGen (
++         cmmTopCodeGen,
++@@ -471,7 +470,8 @@
++     return (Any II64 (\dst -> addr_code `snocOL` LD II32 dst addr))
++ 
++ getRegister' _ (CmmMachOp (MO_SS_Conv W32 W64) [CmmLoad mem _]) = do
++-    Amode addr addr_code <- getAmode D mem
+++    -- lwa is DS-form. See Note [Power instruction format]
+++    Amode addr addr_code <- getAmode DS mem
++     return (Any II64 (\dst -> addr_code `snocOL` LA II32 dst addr))
++ 
++ getRegister' dflags (CmmMachOp mop [x]) -- unary MachOps
++@@ -733,6 +733,14 @@
++     ... (tmp) ...
++ -}
++ 
+++{- Note [Power instruction format]
+++In some instructions the 16 bit offset must be a multiple of 4, i.e.
+++the two least significant bits mus be zero. The "Power ISA" specification
+++calls these instruction formats "DS-FORM" and the instructions with
+++arbitrary 16 bit offsets are "D-FORM".
+++
+++The Power ISA specification document can be obtained from www.power.org.
+++-}
++ data InstrForm = D | DS
++ 
++ getAmode :: InstrForm -> CmmExpr -> NatM Amode
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0890265c70191316e88eae9a4d4ee1ea1aa3344a
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,29 @@@
++Description: force llc settings to ones that are known to work
++Author: Peter Michael Green <plugwash@p10link.net>
++
++---
++The information above should follow the Patch Tagging Guidelines, please
++checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
++are templates for supplementary fields that you might want to add:
++
++Origin: <vendor|upstream|other>, <url of original patch>
++Bug: <url in upstream bugtracker>
++Bug-Debian: http://bugs.debian.org/<bugnumber>
++Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
++Forwarded: <no|not-needed|url proving that it has been forwarded>
++Reviewed-By: <name and email of someone who approved the patch>
++Last-Update: <YYYY-MM-DD>
++
++Index: ghc-8.0.1/compiler/main/SysTools.hs
++===================================================================
++--- ghc-8.0.1.orig/compiler/main/SysTools.hs
+++++ ghc-8.0.1/compiler/main/SysTools.hs
++@@ -360,7 +360,7 @@ initSysTools mbMinusB
++                     sPgm_windres = windres_path,
++                     sPgm_libtool = libtool_path,
++                     sPgm_lo  = (lo_prog,[]),
++-                    sPgm_lc  = (lc_prog,[]),
+++                    sPgm_lc  = (lc_prog,[Option "-mcpu=arm1176jzf-s"]),
++                     sPgm_i   = iserv_prog,
++                     sOpt_L       = [],
++                     sOpt_P       = [],
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..4c33bd96c7ee484d7d551c0d0fcd762ea6c443cd
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,43 @@@
++From c30b179a73d9fd3f6edcdda5e881523cd6edd46a Mon Sep 17 00:00:00 2001
++From: Anders Kaseorg <andersk@mit.edu>
++Date: Thu, 19 May 2016 03:18:02 -0400
++Subject: [PATCH] =?utf8?q?Get=20linker=20flags=20correctly=20from=20GHC=20?=
++ =?utf8?q?=E2=89=A5=207.8?=
++MIME-Version: 1.0
++Content-Type: text/plain; charset=utf8
++Content-Transfer-Encoding: 8bit
++
++GHC 7.8 renamed "Gcc Linker flags" to "C compiler link flags" and "Ld
++Linker flags" to "ld flags"
++(https://ghc.haskell.org/trac/ghc/ticket/4862).
++
++Without this corresponding fix in Cabal, the old-time package fails to
++compile on Ubuntu yakkety amd64, where the system GCC now defaults to
++-pie and GHC has
++
++    $ ghc --info | grep -i pie
++     ,("C compiler flags","-fno-PIE -fno-stack-protector")
++     ,("C compiler link flags","-no-pie")
++     ,("ld flags","-no-pie")
++
++Signed-off-by: Anders Kaseorg <andersk@mit.edu>
++(cherry picked from commit c993a0c6660aa10d8c79ed0cc4961c59acfc91c8)
++---
++ libraries/Cabal/Cabal/Distribution/Simple/GHC/Internal.hs | 6 ++++--
++ 1 file changed, 4 insertions(+), 2 deletions(-)
++
++--- a/libraries/Cabal/Cabal/Distribution/Simple/GHC/Internal.hs
+++++ b/libraries/Cabal/Cabal/Distribution/Simple/GHC/Internal.hs
++@@ -139,8 +139,10 @@
++     mbStripLocation = M.lookup "strip command" ghcInfo
++ 
++     ccFlags        = getFlags "C compiler flags"
++-    gccLinkerFlags = getFlags "Gcc Linker flags"
++-    ldLinkerFlags  = getFlags "Ld Linker flags"
+++    -- GHC 7.8 renamed "Gcc Linker flags" to "C compiler link flags"
+++    -- and "Ld Linker flags" to "ld flags" (GHC #4862).
+++    gccLinkerFlags = getFlags "Gcc Linker flags" ++ getFlags "C compiler link flags"
+++    ldLinkerFlags  = getFlags "Ld Linker flags" ++ getFlags "ld flags"
++ 
++     -- It appears that GHC 7.6 and earlier encode the tokenized flags as a
++     -- [String] in these settings whereas later versions just encode the flags as
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..860212406bf3ece77d2d4ebfc10fbe0217e4d603
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,45 @@@
++Provided by “Pino” via Samuel Thibault. Not yet pushed upstream.
++
++Index: ghc/aclocal.m4
++===================================================================
++--- ghc.orig/aclocal.m4       2016-01-14 16:20:19.683572714 +0100
+++++ ghc/aclocal.m4    2016-01-14 16:21:18.024754631 +0100
++@@ -277,7 +277,7 @@
++         nto-qnx)
++             test -z "[$]2" || eval "[$]2=OSQNXNTO"
++             ;;
++-        dragonfly|osf1|hpux|linuxaout|freebsd2|gnu|nextstep2|nextstep3|sunos4|ultrix|irix)
+++        dragonfly|osf1|hpux|linuxaout|freebsd2|nextstep2|nextstep3|sunos4|ultrix|irix)
++             test -z "[$]2" || eval "[$]2=OSUnknown"
++             ;;
++         aix)
++@@ -286,6 +286,9 @@
++         linux-android)
++             test -z "[$]2" || eval "[$]2=OSAndroid"
++             ;;
+++        gnu)
+++            test -z "[$]2" || eval "[$]2=OSHurd"
+++            ;;
++         *)
++             echo "Unknown OS '[$]1'"
++             exit 1
++Index: ghc/compiler/utils/Platform.hs
++===================================================================
++--- ghc.orig/compiler/utils/Platform.hs       2016-01-14 16:20:19.683572714 +0100
+++++ ghc/compiler/utils/Platform.hs    2016-01-14 16:20:40.067985654 +0100
++@@ -88,6 +88,7 @@
++         | OSQNXNTO
++         | OSAndroid
++         | OSAIX
+++        | OSHurd
++         deriving (Read, Show, Eq)
++ 
++ -- | ARM Instruction Set Architecture, Extensions and ABI
++@@ -141,6 +142,7 @@
++ osElfTarget OSQNXNTO    = False
++ osElfTarget OSAndroid   = True
++ osElfTarget OSAIX       = False
+++osElfTarget OSHurd      = True
++ osElfTarget OSUnknown   = False
++  -- Defaulting to False is safe; it means don't rely on any
++  -- ELF-specific functionality.  It is important to have a default for
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..363525a1b7dcc3a78805a8592acf62e9f58ea08d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,22 @@@
++Description: Do not emit a warning if the .haddock file is missing
++ As it is quite common on Debian installations to install the -dev package
++ without the -doc package.
++Author: Joachim Breitner <nomeata@debian.org>
++
++Index: ghc/utils/ghc-pkg/Main.hs
++===================================================================
++--- ghc.orig/utils/ghc-pkg/Main.hs    2016-02-08 11:31:08.897241576 +0100
+++++ ghc/utils/ghc-pkg/Main.hs 2016-02-08 11:31:08.893241486 +0100
++@@ -1585,8 +1585,10 @@
++   mapM_ (checkDir True  "library-dirs") (libraryDirs pkg)
++   mapM_ (checkDir True  "include-dirs") (includeDirs pkg)
++   mapM_ (checkDir True  "framework-dirs") (frameworkDirs pkg)
++-  mapM_ (checkFile   True "haddock-interfaces") (haddockInterfaces pkg)
++-  mapM_ (checkDirURL True "haddock-html")       (haddockHTMLs pkg)
+++  -- In Debian, it is quite normal that the package is installed without the
+++  -- documentation. Do not print a warning there.
+++  -- mapM_ (checkFile   True "haddock-interfaces") (haddockInterfaces pkg)
+++  -- mapM_ (checkDirURL True "haddock-html")       (haddockHTMLs pkg)
++   checkDuplicateModules pkg
++   checkExposedModules db_stack pkg
++   checkOtherModules pkg
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..47fdde5bcd91b44bac941321431b685e0a952835
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,230 @@@
++Description: Pass -no-pie to GCC
++ Certain distributions (e.g. Debian and Ubuntu) have enabled PIE be
++ default in their GCC packaging. This breaks our abuse of GCC as a linker
++ which requires that we pass -Wl,-r, which is incompatible with
++ PIE (since the former implies that we are generating a relocatable
++ object file and the latter an executable).
++Author: Ben Gamari <bgamari.foss@gmail.com>
++Origin: upstream, https://phabricator.haskell.org/D2693
++Bug: https://ghc.haskell.org/trac/ghc/ticket/12759
++Bug-Debian: https://bugs.debian.org/712228
++
++Index: b/aclocal.m4
++===================================================================
++--- a/aclocal.m4
+++++ b/aclocal.m4
++@@ -502,12 +502,14 @@ AC_DEFUN([FP_SETTINGS],
++     fi
++     SettingsCCompilerFlags="$CONF_CC_OPTS_STAGE2"
++     SettingsCCompilerLinkFlags="$CONF_GCC_LINKER_OPTS_STAGE2"
+++    SettingsCCompilerSupportsNoPie="$CONF_GCC_SUPPORTS_NO_PIE"
++     SettingsLdFlags="$CONF_LD_LINKER_OPTS_STAGE2"
++     AC_SUBST(SettingsCCompilerCommand)
++     AC_SUBST(SettingsHaskellCPPCommand)
++     AC_SUBST(SettingsHaskellCPPFlags)
++     AC_SUBST(SettingsCCompilerFlags)
++     AC_SUBST(SettingsCCompilerLinkFlags)
+++    AC_SUBST(SettingsCCompilerSupportsNoPie)
++     AC_SUBST(SettingsLdCommand)
++     AC_SUBST(SettingsLdFlags)
++     AC_SUBST(SettingsArCommand)
++@@ -1254,6 +1256,25 @@ AC_SUBST(GccIsClang)
++ rm -f conftest.txt
++ ])
++ 
+++# FP_GCC_SUPPORTS_NO_PIE
+++# ----------------------
+++# Does gcc support the -no-pie option? If so we should pass it to gcc when
+++# joining objects since -pie may be enabled by default.
+++AC_DEFUN([FP_GCC_SUPPORTS_NO_PIE],
+++[
+++   AC_REQUIRE([AC_PROG_CC])
+++   AC_MSG_CHECKING([whether GCC supports -no-pie])
+++   echo 'int main() { return 0; }' > conftest.c
+++   if ${CC-cc} -o conftest -no-pie conftest.c > /dev/null 2>&1; then
+++       CONF_GCC_SUPPORTS_NO_PIE=YES
+++       AC_MSG_RESULT([yes])
+++   else
+++       CONF_GCC_SUPPORTS_NO_PIE=NO
+++       AC_MSG_RESULT([no])
+++   fi
+++   rm -f conftest.c conftest.o conftest
+++])
+++
++ dnl Small feature test for perl version. Assumes PerlCmd
++ dnl contains path to perl binary.
++ dnl
++Index: b/compiler/main/DriverPipeline.hs
++===================================================================
++--- a/compiler/main/DriverPipeline.hs
+++++ b/compiler/main/DriverPipeline.hs
++@@ -1850,6 +1850,11 @@ linkBinary' staticLink dflags o_files de
++                       ++ map SysTools.Option (
++                          []
++ 
+++                      -- See Note [No PIE eating when linking]
+++                      ++ (if sGccSupportsNoPie mySettings
+++                             then ["-no-pie"]
+++                             else [])
+++
++                       -- Permit the linker to auto link _symbol to _imp_symbol.
++                       -- This lets us link against DLLs without needing an "import library".
++                       ++ (if platformOS platform == OSMinGW32
++@@ -2147,6 +2152,11 @@ joinObjectFiles dflags o_files output_fn
++                        SysTools.Option "-nostdlib",
++                        SysTools.Option "-Wl,-r"
++                      ]
+++                        -- See Note [No PIE eating while linking] in SysTools
+++                     ++ (if sGccSupportsNoPie mySettings
+++                          then [SysTools.Option "-no-pie"]
+++                          else [])
+++
++                      ++ (if any (cc ==) [Clang, AppleClang, AppleClang51]
++                           then []
++                           else [SysTools.Option "-nodefaultlibs"])
++Index: b/compiler/main/DynFlags.hs
++===================================================================
++--- a/compiler/main/DynFlags.hs
+++++ b/compiler/main/DynFlags.hs
++@@ -943,6 +943,7 @@ data Settings = Settings {
++   sLdSupportsBuildId       :: Bool,
++   sLdSupportsFilelist      :: Bool,
++   sLdIsGnuLd               :: Bool,
+++  sGccSupportsNoPie        :: Bool,
++   -- commands for particular phases
++   sPgm_L                 :: String,
++   sPgm_P                 :: (String,[Option]),
++Index: b/compiler/main/SysTools.hs
++===================================================================
++--- a/compiler/main/SysTools.hs
+++++ b/compiler/main/SysTools.hs
++@@ -252,6 +252,7 @@ initSysTools mbMinusB
++        -- to make that possible, so for now you can't.
++        gcc_prog <- getSetting "C compiler command"
++        gcc_args_str <- getSetting "C compiler flags"
+++       gccSupportsNoPie <- getBooleanSetting "C compiler supports -no-pie"
++        cpp_prog <- getSetting "Haskell CPP command"
++        cpp_args_str <- getSetting "Haskell CPP flags"
++        let unreg_gcc_args = if targetUnregisterised
++@@ -344,6 +345,7 @@ initSysTools mbMinusB
++                     sLdSupportsBuildId       = ldSupportsBuildId,
++                     sLdSupportsFilelist      = ldSupportsFilelist,
++                     sLdIsGnuLd               = ldIsGnuLd,
+++                    sGccSupportsNoPie        = gccSupportsNoPie,
++                     sProgramName             = "ghc",
++                     sProjectVersion          = cProjectVersion,
++                     sPgm_L   = unlit_path,
++@@ -1601,6 +1603,15 @@ linesPlatform xs =
++ 
++ #endif
++ 
+++{-
+++Note [No PIE eating while linking]
+++~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+++As of 2016 some Linux distributions (e.g. Debian) have started enabling -pie by
+++default in their gcc builds. This is incompatible with -r as it implies that we
+++are producing an executable. Consequently, we must manually pass -no-pie to gcc
+++when joining object files or linking dynamic libraries. See #12759.
+++-}
+++
++ linkDynLib :: DynFlags -> [String] -> [UnitId] -> IO ()
++ linkDynLib dflags0 o_files dep_packages
++  = do
++@@ -1766,6 +1777,10 @@ linkDynLib dflags0 o_files dep_packages
++                  ++ [ Option "-o"
++                     , FileOption "" output_fn
++                     ]
+++                    -- See Note [No PIE eating when linking]
+++                 ++ (if sGccSupportsNoPie (settings dflags)
+++                     then [Option "-no-pie"]
+++                     else [])
++                  ++ map Option o_files
++                  ++ [ Option "-shared" ]
++                  ++ map Option bsymbolicFlag
++Index: b/configure
++===================================================================
++--- a/configure
+++++ b/configure
++@@ -665,6 +665,7 @@ SettingsPerlCommand
++ SettingsArCommand
++ SettingsLdFlags
++ SettingsLdCommand
+++SettingsCCompilerSupportsNoPie
++ SettingsCCompilerLinkFlags
++ SettingsCCompilerFlags
++ SettingsHaskellCPPFlags
++@@ -7976,6 +7977,23 @@ GccVersion=$fp_cv_gcc_version
++ 
++ 
++ 
+++
+++   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GCC supports -no-pie" >&5
+++$as_echo_n "checking whether GCC supports -no-pie... " >&6; }
+++   echo 'int main() { return 0; }' > conftest.c
+++   if ${CC-cc} -o conftest -no-pie conftest.c > /dev/null 2>&1; then
+++       CONF_GCC_SUPPORTS_NO_PIE=YES
+++       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+++$as_echo "yes" >&6; }
+++   else
+++       CONF_GCC_SUPPORTS_NO_PIE=NO
+++       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+++$as_echo "no" >&6; }
+++   fi
+++   rm -f conftest.c conftest.o conftest
+++
+++
+++
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler is clang" >&5
++ $as_echo_n "checking whether C compiler is clang... " >&6; }
++ $CC -x c /dev/null -dM -E > conftest.txt 2>&1
++@@ -9337,10 +9355,12 @@ fi
++     fi
++     SettingsCCompilerFlags="$CONF_CC_OPTS_STAGE2"
++     SettingsCCompilerLinkFlags="$CONF_GCC_LINKER_OPTS_STAGE2"
+++    SettingsCCompilerSupportsNoPie="$CONF_GCC_SUPPORTS_NO_PIE"
++     SettingsLdFlags="$CONF_LD_LINKER_OPTS_STAGE2"
++ 
++ 
++ 
+++
++ 
++ 
++ 
++Index: b/configure.ac
++===================================================================
++--- a/configure.ac
+++++ b/configure.ac
++@@ -647,6 +647,9 @@ dnl     If gcc, make sure it's at least
++ dnl
++ FP_GCC_VERSION
++ 
+++dnl ** See whether gcc supports -no-pie
+++FP_GCC_SUPPORTS_NO_PIE
+++
++ dnl ** look to see if we have a C compiler using an llvm back end.
++ dnl
++ FP_CC_LLVM_BACKEND
++Index: b/distrib/configure.ac.in
++===================================================================
++--- a/distrib/configure.ac.in
+++++ b/distrib/configure.ac.in
++@@ -103,6 +103,7 @@ if test "x$BinDistNeedsLibdw" = "xyes" ;
++ fi
++ 
++ FP_GCC_VERSION
+++FP_GCC_SUPPORTS_NO_PIE
++ AC_PROG_CPP
++ 
++ FP_PROG_LD_IS_GNU
++Index: b/settings.in
++===================================================================
++--- a/settings.in
+++++ b/settings.in
++@@ -2,6 +2,7 @@
++  ("C compiler command", "@SettingsCCompilerCommand@"),
++  ("C compiler flags", "@SettingsCCompilerFlags@"),
++  ("C compiler link flags", "@SettingsCCompilerLinkFlags@"),
+++ ("C compiler supports -no-pie", "@SettingsCCompilerSupportsNoPie@"),
++  ("Haskell CPP command","@SettingsHaskellCPPCommand@"),
++  ("Haskell CPP flags","@SettingsHaskellCPPFlags@"),
++  ("ld command", "@SettingsLdCommand@"),
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..001c01daaa96e695ed7418a23fd6d0ca18b2dcb0
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,37 @@@
++Description: rts: Ensure we always give MADV_DONTNEED a chance in osDecommitMemory
++Author: Ben Gamari <bgamari.foss@gmail.com>
++Origin: upstream, https://phabricator.haskell.org/D2780
++Bug: https://ghc.haskell.org/trac/ghc/ticket/12865
++Bug-Debian: https://bugs.debian.org/847677
++---
++This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
++--- a/rts/posix/OSMem.c
+++++ b/rts/posix/OSMem.c
++@@ -506,11 +506,24 @@ void osDecommitMemory(void *at, W_ size)
++ 
++ #ifdef MADV_FREE
++     // Try MADV_FREE first, FreeBSD has both and MADV_DONTNEED
++-    // just swaps memory out
+++    // just swaps memory out. Linux >= 4.5 has both DONTNEED and FREE; either
+++    // will work as they both allow the system to free anonymous pages.
+++    // It is important that we try both methods as the kernel which we were
+++    // built on may differ from the kernel we are now running on.
++     r = madvise(at, size, MADV_FREE);
++-#else
++-    r = madvise(at, size, MADV_DONTNEED);
+++    if(r < 0) {
+++        if (errno == EINVAL) {
+++            // Perhaps the system doesn't support MADV_FREE; fall-through and
+++            // try MADV_DONTNEED.
+++        } else {
+++            sysErrorBelch("unable to decommit memory");
+++        }
+++    } else {
+++        return;
+++    }
++ #endif
+++
+++    r = madvise(at, size, MADV_DONTNEED);
++     if(r < 0)
++         sysErrorBelch("unable to decommit memory");
++ }
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..a0417f145d1da198172b067325f092ff77a32968
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,43 @@@
++This is an attempt to make GHC build reproducible. The name of .c files may end
++up in the resulting binary (in the debug section), but not the directory.
++
++Instead of using the process id, create a hash from the command line arguments,
++and assume that is going to be unique.
++
++Index: ghc/compiler/main/SysTools.hs
++===================================================================
++--- ghc.orig/compiler/main/SysTools.hs        2016-04-23 17:57:12.812255430 +0200
+++++ ghc/compiler/main/SysTools.hs     2016-04-23 17:57:12.808255337 +0200
++@@ -65,6 +65,7 @@
++ import Util
++ import DynFlags
++ import Exception
+++import Fingerprint
++ 
++ import LlvmCodeGen.Base (llvmVersionStr, supportedLlvmVersion)
++ 
++@@ -1158,8 +1159,8 @@
++     mapping <- readIORef dir_ref
++     case Map.lookup tmp_dir mapping of
++         Nothing -> do
++-            pid <- getProcessID
++-            let prefix = tmp_dir </> "ghc" ++ show pid ++ "_"
+++            pid <- getStableProcessID
+++            let prefix = tmp_dir </> "ghc" ++ pid ++ "_"
++             mask_ $ mkTempDir prefix
++         Just dir -> return dir
++   where
++@@ -1575,6 +1576,13 @@
++ getProcessID = System.Posix.Internals.c_getpid >>= return . fromIntegral
++ #endif
++ 
+++-- Debian-specific hack to get reproducible output, by not using the "random"
+++-- pid, but rather something determinisic
+++getStableProcessID :: IO String
+++getStableProcessID = do
+++    args <- getArgs
+++    return $ take 4 $ show $ fingerprintString $ unwords args
+++
++ -- Divvy up text stream into lines, taking platform dependent
++ -- line termination into account.
++ linesPlatform :: String -> [String]
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..30e53139262a1a81b5c345749f1ddd779680cb6a
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,18 @@@
++use-debian-gen_contents_index
++ARM-VFPv3D16
++no-missing-haddock-file-warning
++hurd.diff
++buildpath-abi-stability.patch
++reproducible-tmp-names
++do-not-use-SHELL
++add-missing-MO_WriteBarrier
++no-pie
++find-tycon-panic
++compiler-cmm-PprC-sparc-alignment.patch
++get-linker-flags-correctly
++x32-use-native-x86_64-insn.patch
++fix-ppc-lwa-generation
++osdecommitmemory-compat.patch
++smp-arm-fix.patch
++R_X86_64_REX_GOTPCRELX
++force-llc-settings
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..7c4fea843e9075fa56a72af2d6faf84516e33ce7
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,11 @@@
++--- a/mk/config.mk.in
+++++ b/mk/config.mk.in
++@@ -187,7 +187,7 @@
++ # includes/stg/SMP.h
++ ifeq "$(TargetArch_CPP)" "arm"
++ # We don't support load/store barriers pre-ARMv7. See #10433.
++-ArchSupportsSMP="$(if $(filter $(ARM_ISA),ARMv5 ARMv6),NO,YES)"
+++ArchSupportsSMP=$(if $(filter $(ARM_ISA),ARMv5 ARMv6),NO,YES)
++ else
++ ArchSupportsSMP=$(strip $(patsubst $(TargetArch_CPP), YES, $(findstring $(TargetArch_CPP), i386 x86_64 sparc powerpc powerpc64 powerpc64le aarch64)))
++ endif
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..31378a1a22dc8c8bc639aa13c298f0c9a3411e4b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,34 @@@
++Index: ghc/ghc.mk
++===================================================================
++--- ghc.orig/ghc.mk   2016-05-21 17:05:28.794690704 +0200
+++++ ghc/ghc.mk        2016-05-21 17:05:28.790690606 +0200
++@@ -824,7 +824,6 @@
++ # Build the Haddock contents and index
++ ifeq "$(HADDOCK_DOCS)" "YES"
++ libraries/dist-haddock/index.html: $(haddock_INPLACE) $(ALL_HADDOCK_FILES)
++-     cd libraries && sh gen_contents_index --intree
++ ifeq "$(phase)" "final"
++ $(eval $(call all-target,library_doc_index,libraries/dist-haddock/index.html))
++ endif
++@@ -945,12 +944,8 @@
++      $(INSTALL_DIR) "$(DESTDIR)$(docdir)/html"
++      $(INSTALL_DOC) $(INSTALL_OPTS) docs/index.html "$(DESTDIR)$(docdir)/html"
++ ifneq "$(INSTALL_LIBRARY_DOCS)" ""
++-     $(INSTALL_DIR) "$(DESTDIR)$(docdir)/html/libraries"
++-     for i in $(INSTALL_LIBRARY_DOCS); do \
++-             $(INSTALL_DOC) $(INSTALL_OPTS) $$i "$(DESTDIR)$(docdir)/html/libraries/"; \
++-     done
+++     mkdir -p $(DESTDIR)$(docdir)/html/libraries/
++      $(INSTALL_DATA) $(INSTALL_OPTS) libraries/prologue.txt "$(DESTDIR)$(docdir)/html/libraries/"
++-     $(INSTALL_SCRIPT) $(INSTALL_OPTS) libraries/gen_contents_index "$(DESTDIR)$(docdir)/html/libraries/"
++ endif
++ ifneq "$(INSTALL_HTML_DOC_DIRS)" ""
++      for i in $(INSTALL_HTML_DOC_DIRS); do \
++@@ -1059,7 +1054,6 @@
++     mk/project.mk \
++     mk/install.mk.in \
++     bindist.mk \
++-    libraries/gen_contents_index \
++     libraries/prologue.txt \
++     $(wildcard libraries/dph/LICENSE \
++                libraries/dph/ghc-packages \
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0abe8d6be96ffcba45651ef77c5db2eb67e8263f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,25 @@@
++Description: Use native x86_64 instructions on x32
++ This patch enables a few native 64-bit integer instructions
++ on x32 which are available on this architecture despite using
++ 32-bit pointers. These instructions are present on x86_64 but
++ not on x86 and ghc checks the size of (void *) to determine
++ that. This method fails on x32 since despite using 32-bit
++ pointers and hence sizeof(void *) == 4, it still uses the
++ full x86_64 instruction set and software-emulated variants
++ of the aforementioned 64-bit integer instructions are
++ therefore not present in the toolchain which will make ghc
++ fail to build on x32.
++ See: https://ghc.haskell.org/trac/ghc/ticket/11571
++ .
++
++--- ghc-8.0.1.orig/rts/RtsSymbols.c
+++++ ghc-8.0.1/rts/RtsSymbols.c
++@@ -737,7 +737,7 @@
++ 
++ 
++ // 64-bit support functions in libgcc.a
++-#if defined(__GNUC__) && SIZEOF_VOID_P <= 4 && !defined(_ABIN32)
+++#if defined(__GNUC__) && SIZEOF_VOID_P <= 4 && !defined(_ABIN32) && !(defined(__x86_64__) && defined(__ILP32__))
++ #define RTS_LIBGCC_SYMBOLS                             \
++       SymI_NeedsProto(__divdi3)                        \
++       SymI_NeedsProto(__udivdi3)                       \
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..4b374c04fbe29788c7767ded4be6c06f64c31d23
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,58 @@@
++#! /usr/bin/perl
++
++-x 'inplace/bin/ghc-pkg' or die "inplace ghc-pkg not executable or present";
++
++open PKG, 'inplace/bin/ghc-pkg list --simple-output |'
++    or die "ghc-pkg list failed: $!";
++
++my @ignored = ('ghc', 'mtl', 'utf8-string', 'rts', 'stm', 'parallel');
++my %ignored;
++$ignored{$_}++ for @ignored;
++
++my @no_conflict = ('cabal');
++my %no_conflict;
++$no_conflict{$_}++ for @no_conflict;
++
++my @pkgs;
++while (<PKG>) {
++    y/A-Z/a-z/;
++    my $pkgstring = $_;
++    LOOP: while ($pkgstring =~ m,([^ ]*?)-\d.*? ?,g) {
++      my $pkg = $1;
++      next if exists $ignored{$pkg};
++      push @pkgs, $1;
++    }
++}
++close PKG;
++
++my $buf;
++open DEV, '>debian/ghc.substvars';
++$buf = "provided-devs=";
++foreach (sort @pkgs) {$buf .= "libghc-$_-dev, ";}
++$buf =~ s#(.*), #$1#;
++print DEV $buf."\n";
++
++$buf = "conflicting-devs=";
++foreach (sort @pkgs) {
++      next if $no_conflict{$_};
++      $buf .= "libghc-$_-dev, ";
++}
++$buf =~ s#(.*), #$1#;
++print DEV $buf."\n";
++close DEV;
++
++open PROF, '>debian/ghc-prof.substvars';
++print PROF 'provided-profs=';
++$buf = "";
++foreach (@pkgs) {$buf .= "libghc-$_-prof, ";}
++$buf =~ s#(.*), #$1#;
++print PROF $buf."\n";
++close PROF;
++
++open DOC, '>debian/ghc-doc.substvars';
++print DOC 'provided-docs=';
++$buf = "";
++foreach (@pkgs) {$buf .= "libghc-$_-doc, ";}
++$buf =~ s#(.*), #$1#;
++print DOC $buf."\n";
++close DOC;
diff --cc debian/rules
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..c3084e90126d58e3f29f3253e0780643b639f092
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,279 @@@
++#!/usr/bin/make -f
++# Sample debian/rules that uses debhelper.
++# This file is public domain software, originally written by Joey Hess.
++#
++# This version is for a multibinary package. It also allows you to build any
++# of the binary packages independantly, via binary-<package> targets.
++
++# Uncomment this to turn on verbose mode.
++#export DH_VERBOSE=1
++
++# # Set default flags with dpkg-buildflags
++# # This might also close #712228
++# export DEB_BUILD_MAINT_OPTIONS = hardening=+all
++# DPKG_EXPORT_BUILDFLAGS = 1
++# include /usr/share/dpkg/buildflags.mk
++
++# Set a dummy HOME variable upon build. Some build daemons do not set HOME, but
++# ghc-cabal expects it to be available.
++export HOME = /homedoesnotexistatbuildtime
++
++# From /usr/share/doc/autotools-dev/examples/rules.gz:
++export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
++export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
++export DEB_HOST_ARCH      ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
++# Commented out for now.  The build scripts don't recognise i486 as an
++# architecture and cross compiling isn't supported anyway.
++#ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
++#  confflags += --build $(DEB_HOST_GNU_TYPE)
++#else
++#  confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
++#endif
++
++ProjectVersion=$(shell cat VERSION)
++
++GHC=$(firstword $(shell bash -c "type -p ghc"))
++EXTRA_CONFIGURE_FLAGS=--with-ghc="$(GHC)"
++
++BUILD_HADDOCK_DOCS=YES
++DEB_HOOGLE_TXT_DIR = /usr/lib/ghc-doc/hoogle/
++
++ifeq (x32,$(DEB_HOST_ARCH))
++  EXTRA_CONFIGURE_FLAGS += --enable-unregisterised
++endif
++
++%:
++      dh $@ --parallel --with autotools-dev
++
++override_dh_auto_configure:
++      dh_autoreconf perl -- boot
++      echo "SRC_HC_OPTS += -lffi -optl-pthread" >> mk/build.mk
++      echo "HADDOCK_DOCS := YES" >> mk/build.mk
++      echo "EXTRA_HADDOCK_OPTS += --mathjax=file:///usr/share/javascript/mathjax/MathJax.js" >> mk/build.mk
++      echo "XSLTPROC_OPTS += --nonet" >> mk/build.mk
++ifneq (,$(findstring $(DEB_HOST_ARCH), arm64 armel armhf))
++      echo "SRC_HC_OPTS     += -optl-B/usr/bin/ld.gold" >> mk/build.mk
++endif
++ifeq (armhf,$(DEB_HOST_ARCH))
++      echo "SRC_HC_OPTS += -D__ARM_PCS_VFP" >> mk/build.mk
++endif
++ifeq (armel,$(DEB_HOST_ARCH))
++      patch -p1 < debian/patches/armel-revert-ghci-fixes.patch
++endif
++ifneq (,$(findstring $(DEB_HOST_ARCH), mips mipsel))
++      echo "SRC_HC_OPTS     += -optc--param -optcggc-min-expand=10" >> mk/build.mk
++endif
++ifeq (x32,$(DEB_HOST_ARCH))
++      echo "INTEGER_LIBRARY = integer-simple" >> mk/build.mk
++endif
++ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
++#     echo "GhcStage1HcOpts += -DDEBUG" >> mk/build.mk
++#     echo "GhcStage2HcOpts += -DDEBUG" >> mk/build.mk
++      echo "SRC_HC_OPTS   += -H32m -O0" >> mk/build.mk
++      echo "GhcHcOpts     += -Rghc-timing -DDEBUG" >> mk/build.mk
++#     echo "GhcLibHcOpts  += -O -dcore-lint -keep-hc-files " >> mk/build.mk
++      echo "SplitObjs     = NO" >> mk/build.mk
++      echo "STRIP         = :" >> mk/build.mk
++endif
++ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
++      echo "SRC_HC_OPTS   += -H32m -O0" >> mk/build.mk
++      echo "GhcHcOpts     += -O0" >> mk/build.mk
++      # This breaks the build - to be investigated:
++      # echo "GhcLibHcOpts  += -O0" >> mk/build.mk
++      echo "GhcRtsCcOpts  += -O0" >> mk/build.mk
++endif
++      # We also want to build the threaded profiling-enabled debug runtime,
++      # because it does no harm
++      echo 'GhcRTSWays += $$(if $$(findstring p, $$(GhcLibWays)),thr_debug_p,)' >> mk/build.mk
++
++      # We can't do this with a configure flag in 6.8.1 as libdir is not
++      # defined at the point at which we := it
++      echo 'ghclibdir := $${libdir}/ghc' >> mk/build.mk
++      echo 'bindir  := /usr/bin' >> mk/build.mk
++      # docdir doesn't have a configure flag, and unfortunately
++      # we also need to explicitly define all of its dependents as they
++      # are set with :=
++      echo 'docdir  := $$(datarootdir)/doc/ghc-doc' >> mk/build.mk
++      echo 'htmldir := $$(docdir)'                   >> mk/build.mk
++      echo 'dvidir  := $$(docdir)'                   >> mk/build.mk
++      echo 'pdfdir  := $$(docdir)'                   >> mk/build.mk
++      echo 'psdir   := $$(docdir)'                   >> mk/build.mk
++      # We want verbose builds
++      echo 'V=1'                                     >> mk/build.mk
++      ./configure $(confflags) --prefix=/usr \
++              $(EXTRA_CONFIGURE_FLAGS) \
++              --with-system-libffi \
++              --with-llc=llc-3.7 \
++              --with-opt=opt-3.7
++
++override_dh_auto_build:
++      dh_auto_build
++      # Do some very simple tests that the compiler actually works
++      rm -rf debian/testghc
++      mkdir debian/testghc
++      echo 'main = putStrLn "Foo"' > debian/testghc/foo.hs
++      inplace/bin/ghc-stage2 debian/testghc/foo.hs -o debian/testghc/foo
++      [ "$$(debian/testghc/foo)" = "Foo" ]
++      rm debian/testghc/*
++      echo 'main = putStrLn "Foo"' > debian/testghc/foo.hs
++      inplace/bin/ghc-stage2 debian/testghc/foo.hs -o debian/testghc/foo -O2
++      [ "$$(debian/testghc/foo)" = "Foo" ]
++      rm debian/testghc/*
++      @printf "====BEGIN GHC INFO OUTPUT====\n"
++      @inplace/bin/ghc-stage2 --info
++      @printf "====END GHC INFO OUTPUT====\n"
++
++FILES = \( -type f -o -type l \)
++PROF_FILE = \( -name "*.p_*" -o -name "lib*_p.a" \)
++
++override_dh_auto_install:
++      dh_auto_install
++
++      # Delete all the library LICENSE files
++      rm -f debian/tmp/usr/share/doc/ghc-doc/html/libraries/*/LICENSE
++
++      # Remove the haddock.t files, they really should not be in the released
++      # package (upstream #10410)
++      find debian/tmp -name \*.haddock.t -delete
++
++      # Generate lintian overrides
++      mkdir -p debian/tmp/usr/share/lintian/overrides
++      echo "ghc binary: extra-license-file `cd debian/tmp && echo usr/lib/ghc/Cabal-*/Distribution/License.hi`" >> debian/tmp/usr/share/lintian/overrides/ghc
++      echo "ghc: extra-license-file `cd debian/tmp && echo usr/lib/ghc/Cabal-*/Distribution/License.dyn_hi`" >> debian/tmp/usr/share/lintian/overrides/ghc
++      echo "ghc-prof binary: extra-license-file `cd debian/tmp && echo usr/lib/ghc/Cabal-*/Distribution/License.p_hi`" >> debian/tmp/usr/share/lintian/overrides/ghc-prof
++
++      # Sort out the package.conf files
++      mkdir -p debian/tmp/var/lib/ghc
++      # Old directories for symlink-workaround. Remove once all libraries use new path
++      mv debian/tmp/usr/lib/ghc/package.conf.d \
++         debian/tmp/var/lib/ghc/
++      rm debian/tmp/var/lib/ghc/package.conf.d/package.cache
++      chmod +x debian/provided_substvars
++      debian/provided_substvars
++      sed -ri 's,^haddock-interfaces: /.*?/libraries/,haddock-interfaces: /usr/lib/ghc-doc/haddock/ghc/,' debian/tmp/var/lib/ghc/package.conf.d/*.conf
++
++      # Sort out the binaries
++      if inplace/bin/ghc-stage2 --info | grep '"Have interpreter","NO"'; then \
++          cd debian/tmp/usr/bin ;rm -f ghci* runghc* runhaskell*; \
++      fi
++
++      # Check if we have a ghci binary
++      if test -e debian/tmp/usr/bin/ghci-$(ProjectVersion); then \
++          echo 'ghci=ghc-ghci' >> debian/ghc.substvars ; fi
++
++      # Add haddock substvars
++      echo "haddock:Depends=haddock-interface-$$(debian/tmp/usr/lib/ghc/bin/haddock --interface-version)" >> debian/ghc-doc.substvars
++      echo "haddock:Provides=haddock-interface-$$(debian/tmp/usr/lib/ghc/bin/haddock --interface-version)" >> debian/ghc.substvars
++
++ifeq (YES,$(BUILD_HADDOCK_DOCS))
++      mkdir -p debian/tmp/usr/lib/ghc-doc
++      cp debian/gen_contents_index debian/tmp/usr/lib/ghc-doc/
++      chmod +x debian/tmp/usr/lib/ghc-doc/gen_contents_index
++      mkdir debian/tmp/usr/lib/ghc-doc/haddock
++      mkdir debian/tmp/usr/lib/ghc-doc/haddock/ghc/
++      for f in `find debian/tmp/usr/share/doc/ghc-doc/html/libraries/ -maxdepth 1 -mindepth 1 -type d`; do \
++          mkdir debian/tmp/usr/lib/ghc-doc/haddock/ghc/`basename $$f` ; \
++          mv $$f/*.haddock debian/tmp/usr/lib/ghc-doc/haddock/ghc/`basename $$f` ; done
++      cd debian/tmp/usr/share/doc/ghc-doc/html/libraries/; ln -s ghc-$(ProjectVersion) ghc
++      install -Dm 644 debian/index.html debian/tmp/usr/share/doc/ghc-doc/index.html
++endif
++
++      # manpages
++      rm -f debian/*.1
++      echo ".so man1/ghc.1" > debian/ghc-$(ProjectVersion).1
++      if test -e debian/tmp/usr/bin/ghci-$(ProjectVersion); then \
++          echo ".so man1/ghc.1" > debian/ghci.1 ;\
++          echo ".so man1/ghc.1" > debian/ghci-$(ProjectVersion).1 ;\
++          cp debian/runghc.man debian/runghc.1 ; fi
++      mv debian/tmp/usr/share/man/man1/ghc.1 debian/ghc.1
++      cp utils/hp2ps/hp2ps.1 debian/hp2ps.1
++      cp debian/ghc-pkg.man debian/ghc-pkg.1
++      echo ".so man1/ghc-pkg.1" > debian/ghc-pkg-$(ProjectVersion).1
++
++      echo debian/*.1 > debian/ghc.manpages
++      cp debian/haddock.man debian/haddock.1
++      echo debian/haddock.1 >> debian/ghc.manpages
++
++      # ####################
++      # Now all the files are sorted, create the package filelists
++
++      # ghc
++      find debian/tmp/usr/bin $(FILES)                  > debian/ghc.install
++#     find debian/tmp/usr/share/ghc* $(FILES)          >> debian/ghc.install
++      find debian/tmp/usr/share/man $(FILES)           >> debian/ghc.install
++      find debian/tmp/usr/lib/ghc $(FILES) ! $(PROF_FILE) >> debian/ghc.install
++      find debian/tmp/var                              >> debian/ghc.install
++      echo debian/tmp/usr/share/lintian/overrides/ghc >> debian/ghc.install
++      # ghc-prof
++      find debian/tmp/usr/lib $(FILES) $(PROF_FILE) > debian/ghc-prof.install
++      echo debian/tmp/usr/share/lintian/overrides/ghc-prof >> debian/ghc-prof.install
++      # ghc-doc
++ifeq (YES,$(BUILD_HADDOCK_DOCS))
++      mkdir -p debian/tmp/$(DEB_HOOGLE_TXT_DIR)
++      cat debian/ghc-doc.links.in                     > debian/ghc-doc.links
++      find debian/tmp/usr/share/doc/ghc-doc/html/libraries/*/ -name "*.txt" \
++              -printf "%p $(DEB_HOOGLE_TXT_DIR)/%f\n" >> debian/ghc-doc.links
++      find debian/tmp/usr/share/doc/ghc-doc $(FILES) > debian/ghc-doc.install
++      find debian/tmp/usr/lib/ghc-doc $(FILES)      >> debian/ghc-doc.install
++endif
++      sed -i s,^debian/tmp,, debian/*.install debian/*.links
++      rm -f debian/ghc.links
++      echo "/var/lib/ghc/package.conf.d /usr/lib/ghc/package.conf.d" >> debian/ghc.links
++
++override_dh_auto_clean:
++      dh_auto_clean
++      rm -f mk/build.mk
++
++      rm -f debian/*.install
++      rm -f debian/*.1
++      rm -f debian/ghc.manpages
++      rm -f debian/ghc.links
++      rm -f debian/ghc-doc.links
++      rm -f mk/build.mk
++      rm -rf debian/testghc
++      rm -f ch01.html ch02.html index.html
++      rm -rf debian/tmp-db
++
++      # Hacks:
++      rm -f config.log
++      rm -f libraries/ghc-prim/GHC/PrimopWrappers.hs
++      rm -f libraries/ghc-prim/GHC/Prim.hs
++      rm -f libraries/ghc-prim/GHC/Generics.hc
++      rm -f libraries/ghc-prim/GHC/Generics.dyn_hc
++      rm -f libraries/ghc-prim/GHC/IntWord32.hc
++      rm -f libraries/integer-gmp/GHC/Integer/Type.hc
++      rm -f libraries/base/GHC/ConsoleHandler.hc
++      rm -f libraries/base/GHC/IO/Encoding/CodePage.hc
++      rm -f libraries/base/Unsafe/Coerce.hc
++      rm -f rts/libs.depend mk/install.mk
++      rm -f rts/package.conf.install.raw
++      rm -f rts/package.conf.inplace.raw
++      rm -f utils/ghc-pwd/dist-boot/Main.hi
++      rm -f utils/ghc-pwd/dist-boot/Main.o
++      rm -f utils/ghc-pwd/dist-boot/ghc-pwd
++
++      dh_autoreconf_clean
++
++      rm -f libraries/haskeline/a.out
++      rm -rf utils/ghctags/dist-install
++
++override_dh_compress:
++      dh_compress -X.haddock -X.txt
++
++override_dh_installdeb:
++      dh_haskell_provides
++      dh_installdeb
++
++override_dh_shlibdeps:
++      dh_shlibdeps -XlibHS
++
++# we do not want shlibs files there, neither postrm scripts
++override_dh_makeshlibs:
++
++# we have ghc-testsuite for this, empty override
++override_dh_auto_test:
++
++#GHC has no meaningful debugging symbols, so we don't ship a -dbgsym
++#package.
++override_dh_strip:
++      dh_strip --no-automatic-dbgsym
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..61a90760c0db2995323fb7d4c621e8bc21ad8429
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,45 @@@
++.TH RUNGHC 1 "28 NOVEMBER 2007"
++.SH NAME
++runghc \- program to run Haskell programs without first having to compile them.
++.SH SYNOPSIS
++.B runghc
++.RI 
++[runghc|flags] [GHC|flags] module [program|flags]...
++.br
++.SH DESCRIPTION
++.B runghc 
++is considered a non-interactive interpreter and part of The Glasgow Haskell Compiler. 
++.B runghc
++is a compiler that automatically runs its results at the end.  
++.PP
++.SH OPTIONS
++.TP
++the flags are: 
++.TP
++.B \-f
++it tells runghc which GHC to use to run the program. If it is not given then runghc will search for GHC in the directories in the system search path. runghc -f /path/to/ghc
++.TP
++.B \-- 
++runghc will try to work out where the boundaries between [runghc flags] and [GHC flags], and [GHC flags] and module are, but you can use a -- flag if it doesn't get it right. For example, runghc -- -fglasgow-exts Foo 
++means runghc won't try to use glasgow-exts as the path to GHC, but instead will pass the flag to GHC.
++
++.SH EXAMPLES
++.TP 
++.B runghc foo
++.PP
++.B runghc -f /path/to/ghc foo
++.TP 
++.B runghc -- -fglasgow-exts Foo
++
++.SH SEE ALSO
++.BR ghc (1),
++.BR ghci (1).
++.br
++
++.SH COPYRIGHT
++Copyright 2002, The University Court of the University of Glasgow. All rights reserved.
++
++.SH AUTHOR
++This manual page was written by Efrain Valles Pulgar <effie.jayx@gmail.com>. This is free documentation; see the GNU 
++General Public Licence version 2 or later for copying conditions. There is NO WARRANTY.
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..fa278019f349fd41a20d977b081be49df8d14a43
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,52 @@@
++-----BEGIN PGP PUBLIC KEY BLOCK-----
++Version: GnuPG v1
++
++mQINBFWvRX0BEACnMXaAVVueyQABaaV7QyrLVeIPqvOHiLCyK/XkIwF3FtJAw2rY
++QE+p8r+fOhtOsARQSZlOToEL/8had2qWGigVU/zrGs/dpE1TfrLZtdCfUefg0G3t
++lYgk4fGPtJrAIjICPaiGis/NLACsmme9DuffZ8oVG1oJ7xgM/2OhKxmqQQsvJXyX
++Arej2Zd89728ovkN8txlqebbU7hkRCIWqLdgogpONREB59waUHYmVkH3onaU2E2A
++t1RgIRHmSBDUx532tr02v31GD5lGGQjDlL0uSdFYEQRV15pjGQzaWE9Kxm/IoX4H
++802eEtzP9OHq0fyNCnwJILhbrN5m0vBrggKN6OEFMRNiKCLPRhDoI9m/ZvOOi1sC
++OV5gcJ1YGJKht1znlQGqiHZ3E2LitE/8yrxlcEBU75g4FiZmZcjDJXiR92phcBxd
+++jDVr+y8yNThqVZVVnW3AN7X2ikqf3D3Ca76q5j7kTY9B4FhDNVYyA1c0aN9A6N0
++e672fQMmx1JJoHSXxwSO5Yyne0luwdLHTYHu1WlycjzYwRuAXRI8y/U2TedLBSvf
++FwdY6F0e0UDna5BYiwPNppk3WgIZtF0QdPNEfwQtCIjopQ/kPW61EzZtkDFTvJJo
++G3IT4NwH8LJxluVzp1S1I32/odPVdED/wWgdFpar/T/G13DDDk92hYpStQARAQAB
++tCRCZW5qYW1pbiBHYW1hcmkgPGJlbkB3ZWxsLXR5cGVkLmNvbT6JAjgEEwECACIF
++AlWvRX0CGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEC3gTU6X22StDgMQ
++AJxjsGdXwxVu5PM1bihR2ikLSgbEokI2PjK1b+ikBoEfAT9YI3KE2BUZlZXGiyHe
++5cQgrONBsL+WGcHaIlox2tIe07IpVzKaCW0O6fRbf3b6gbFabA2qmFb7OUohJzrl
++l0cKiYrT6nmwve7NHgNRfttHKmGzJJPxFLr1i680N6CtZawmL2QuvYjlCSjmY6YK
++T+cOiGJ8tZoUnkPjEvGhhFjXaP5rtvs6EWOWnrmudhvSZBdYCJnQBhohQ2C6DvK6
++EH2wLgFYeuYb1D13vIqZ2CY/dHPqYL+42sJorU+jhdENHOOPggD7jlVLol3EBP5r
++AdUaRQNBIdwatFbz/kAP/I+q1+cc1NSINIK2V89hLNOwWaQPEqdnvxazy6HEisG4
++coCTmlmdXIBeWL4QbILwtzJHebb9YnoHEHDurQWDiy1JhP5nRo4buO4FhaHtyc6w
++tlkdu7Xri5DbZLoVSVewM5CW1f5obM/xTFODDttJrrRuLDFRgoR51H6YU3C1h2Tm
++XxrvgVnwgxNZqtS7MQZMZ7yrdj9hMnFJqdkzgfhNqe/XfK75XnlA8Pf68W6uhwrs
++Y3qnCf5qdTTzpFfmh6pFHaYEdOxaxiXRBAyRj92gSDFkbh0vbRXEYBOkryXpFzvm
++7P6sYPZrM7aZ5IPxGbu03R3fUYpSIH9/7iOcCsPHwRAxuQINBFWvRX0BEACzwbKQ
++HkB3BT/YeozftmNl7QNHB3r9hhrcVZtNKK8HXivG35BIse332d4LqAnZXmN4lddh
++Fxm8Zm5mncLgcuG8ZAmCkMRuEgzPpeHN/h9exs2ZdKIHTP9mphcuOEV7ieL1z9Si
++tBEB86oeDGk+kai4QYpp94BQ/mniTDKJ7nf/z2ocuIGwjdVQ8xHwc7pFYzwoKwdm
++kdRL5ubHnfYmjNKHAiQI2nJYlRkBkboQlSRZrLhW0czxF9gOHQwwRsHsIB4cghuL
++Wd43gbJFnj+opZude+vwJPihr32j13ubHBLkez4yj+t0HR3/watGvxjAqDeafL4h
++5qmiLjCrrqoSgiLKs186SKLjttGh13U/rBcGajkP/GRln4bRmH4oP92w9+OYeIf2
++9ueEEryTinF3vz2W+yvPssHul4RpHxdSjD5bJcId8wjvq3BO9ElKfYYfAwYVHEfy
++1xUlV+rtBPbB9QIQu2FhNYlxgPrNORl8Um7jwYg5JuhlCIa3sgmIybuLa6eGQ1x9
++ocqhQIEpt+W+tO4CI1AaE8GlS3tEj5VwtFYEc0fYj/F5vEj9RaGFpjAHyDaeV6Vr
++Q+5fOf1raNQMLi5jDa42V57MQXwYxyJxOWYUPJGYXl1DX1pt+7yGYPyCzs8G2Idh
++f/0PuiDHHEV6j9mhJV6u7hL2ioR6L2eLlp4XzQARAQABiQIfBBgBAgAJBQJVr0V9
++AhsMAAoJEC3gTU6X22StyQkP/2X9xb71zInTcOFgQZXSJNefNF/SPvu++8+fuvqq
++pfT5g0W97Q1gkzjpC/8fdx6VBS23OnAfSx74HQiFnMG0mGsPtEcRryP3FNTN7n3A
++FHk+XnIXF1sxUuyqhSfA51OarRMpjkqMnzINDjBQS8yQ3Lim7Nrmnqd6ilwimKPf
++ce4xmXDQFNQDSDOp12uGohH8B/lwP11iC5RGnoFYcw12cU1IKkOrqxQN5B7j/aOW
++1JgBXZiA6KkuheYIaZtb/msALnzkONBIbpDJU4z+jcCdK9v/z91sJRcg2DAPcYSS
++rJuEZPoR0TSSsVzYfqxwls65ow5UvQra6jxACLwWuXNUBESpf/lniUfI5d7aEBOh
++ofvOguXzqaZ75hUeNJI0mCJK0AuEHKZIcwWq02E+BCo0d8QDsRQfgPB+5nkfKyFn
++TNmi01wT7zTi8NeUIp6qbiRd04d70Zwg9QIqg4i94xTIAEYcopEhZ25FuQ8uPGqw
++NqUYKuH8CeuqeKu7PsvSwDMvBsboToI1XP6gNOXghCZGIcSQzEoldxyv/ykZAvlo
++ZSIemfQdyB/5W4gSi8AwQoGSwnX7gXfDPWxuxPzFvoKxwqxpAxIDeFtsqqwthiMh
++yWD+zlhDE+M4ob0lVXjn3dFxaKf+WkR0DjMJPo/iElLI4aist71QKDKdTP+EOErW
++fnXw
++=rxVr
++-----END PGP PUBLIC KEY BLOCK-----
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8610da30cac6a65067a6e79b9ed1b1abb092def0
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++version=3
++opts=pgpsigurlmangle=s/$/.sig/ \
++http://downloads.haskell.org/~ghc/(\d[\d.rc-]*)/ghc-(\d[\d.]*)-src.tar.(?:bz2|xz|gz)
++