[Pkg-haskell-commits] darcs: ghc: Import of ghc6_6.12.1-1.dsc
Kari Pahula
kaol at debian.org
Sat Jan 15 06:07:33 UTC 2011
Tue Jan 12 14:29:03 UTC 2010 Kari Pahula <kaol at debian.org>
* Import of ghc6_6.12.1-1.dsc
A ./README.Debian
M ./changelog -6 +224
M ./compat -1 +1
M ./control -8 +8
M ./copyright -2 +110
A ./gen_contents_index.in
A ./ghc-pkg6.man.in
M ./ghc6-doc.doc-base.users-guide -3 +3
M ./ghc6-doc.postinst.in -7 +6
A ./ghc6-doc.postrm.in
A ./ghc6-doc.preinst.in
A ./ghc6-doc.triggers.in
A ./ghc6.links
M ./ghc6.postinst.in -13 +16
R ./ghc6.postrm.in
A ./ghc6.preinst
A ./ghc6.preinst.in
M ./ghc6.prerm.in -4 +2
A ./patches/
A ./patches/panic-debian-message
A ./patches/series
A ./patches/system-haddock
A ./patches/system-libffi
A ./patches/use-debian-gen_contents_index
A ./provided_substvars
M ./rules -101 +132
A ./runghc.man
M ./scripts.mk -2 +3
A ./source/
A ./source/format
Tue Jan 12 14:29:03 UTC 2010 Kari Pahula <kaol at debian.org>
* Import of ghc6_6.12.1-1.dsc
diff -rN -u old-ghc/changelog new-ghc/changelog
--- old-ghc/changelog 2011-01-15 06:07:33.296850609 +0000
+++ new-ghc/changelog 2011-01-15 06:07:33.380855033 +0000
@@ -1,11 +1,229 @@
-ghc6 (6.8.2dfsg1-1.1) stable; urgency=low
+ghc6 (6.12.1-1) experimental; urgency=low
- * Non-maintainer upload.
- * Fix "Jumps up to 100% processor load" Backport patch from GHC 6.10.2
- which fix an extremely subtle deadlock bug on x86_64.
- (Closes: #554069)
+ * 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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)
- -- Marco Túlio Gontijo e Silva <marcot at riseup.net> Sat, 19 Dec 2009 10:58:43 -0200
+ -- Kari Pahula <kaol at debian.org> Mon, 19 Jan 2009 12:03:16 +0200
ghc6 (6.8.2dfsg1-1) unstable; urgency=medium
diff -rN -u old-ghc/compat new-ghc/compat
--- old-ghc/compat 2011-01-15 06:07:33.296850609 +0000
+++ new-ghc/compat 2011-01-15 06:07:33.320851873 +0000
@@ -1 +1 @@
-4
+7
diff -rN -u old-ghc/control new-ghc/control
--- old-ghc/control 2011-01-15 06:07:33.296850609 +0000
+++ new-ghc/control 2011-01-15 06:07:33.380855033 +0000
@@ -1,13 +1,15 @@
Source: ghc6
-Section: devel
+Section: haskell
Priority: optional
Maintainer: Kari Pahula <kaol at debian.org>
-Standards-Version: 3.7.3
-Build-Depends: debhelper (>= 4), libgmp3-dev, xsltproc, libreadline5-dev | libreadline-dev, devscripts, haddock (>= 0.8-2), hscolour, ghc6, grep-dctrl, autotools-dev, docbook-xsl, docbook-xml, gcc (>= 4:4.2), procps | hurd
+Standards-Version: 3.8.3
+Build-Depends: debhelper (>= 7), libgmp3-dev, devscripts, ghc6, grep-dctrl, autotools-dev, gcc (>= 4:4.2), procps | hurd, libffi-dev, autoconf, pkg-config, xsltproc, docbook-xsl, docbook-xml, binutils (>= 2.19.51.20090508) [arm armel]
+Build-Depends-Indep: haddock (>= 2.6.0)
+Homepage: http://haskell.org/ghc/
Package: ghc6
Architecture: any
-Depends: haskell-utils, perl | perl5, gcc (>= 4:4.2), libgmp3-dev, ${shlibs:Depends}, ${misc:Depends}, ${readline}
+Depends: perl | perl5, gcc (>= 4:4.2), libgmp3-dev, libffi-dev, libbsd-dev, ${shlibs:Depends}, ${misc:Depends}
Provides: haskell-compiler, ghc, ${provided-devs}
Conflicts: ghc4 (<= 4.08.1-4)
Suggests: ghc6-prof, ghc6-doc, haskell-doc
@@ -22,10 +24,9 @@
http://haskell.org/onlinereport/.
Package: ghc6-prof
-Section: devel
Architecture: any
Provides: ghc-prof, ${provided-profs}
-Depends: ghc6 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Depends: ghc6 (= ${binary:Version}), ${misc:Depends}
Description: Profiling libraries for the Glasgow Haskell Compilation system
Version 6 of the Glorious Glasgow Haskell Compilation system (GHC). GHC is
a compiler for Haskell98.
@@ -45,7 +46,7 @@
Architecture: all
Suggests: haskell-doc
Provides: ${provided-docs}
-Depends: haddock (>= 0.8-2), ${shlibs:Depends}, ${misc:Depends}
+Depends: haddock (>= 2.4.2), ${misc:Depends}
Description: Documentation for the Glasgow Haskell Compilation system
Version 6 of the Glorious Glasgow Haskell Compilation system (GHC). GHC is
a compiler for Haskell98.
@@ -58,4 +59,3 @@
.
This package includes HTML, DVI and PS versions of the SGML-based
documentation around GHC.
-
diff -rN -u old-ghc/copyright new-ghc/copyright
--- old-ghc/copyright 2011-01-15 06:07:33.292850399 +0000
+++ new-ghc/copyright 2011-01-15 06:07:33.340852927 +0000
@@ -4,7 +4,7 @@
released into the public domain.
It was downloaded from
-http://www.haskell.org/ghc/dist/6.8.2/ghc-6.8.2-src.tar.bz2
+http://www.haskell.org/ghc/dist/
Upstream Authors: The GHC team
Simon Peyton Jones <simonpj at microsoft.com>
@@ -17,7 +17,7 @@
The Glasgow Haskell Compiler License
-Copyright 2002, The University Court of the University of Glasgow.
+Copyright 2002-2009, The University Court of the University of Glasgow.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -46,3 +46,111 @@
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.
+
+
+GHC includes libffi.
+libffi - Copyright (c) 1996-2008 Red Hat, Inc and others.
+See source files for details.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+``Software''), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+GHC includes mtl.
+Copyright: The University of Glasgow 2001,
+ Jeff Newbern 2003-2007,
+ Andriy Palamarchuk 2006-2007,
+ Michael Weber <michael.weber at post.rwth-aachen.de> 2001,
+ Andy Gill 2001,
+ Oregon Graduate Institute of Science and Technology, 2001
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+- Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+
+- 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.
+
+- Neither name of the University 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 UNIVERSITY COURT OF THE UNIVERSITY OF
+GLASGOW AND THE 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
+UNIVERSITY COURT OF THE UNIVERSITY OF GLASGOW OR THE 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.
+
+
+GHC includes haskeline and terminfo Haskell bindings.
+Copyright: Judah Jacobson, 2007-2009
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+- Redistribution of source code must retain the above copyright notice,
+this list of conditions and the following disclamer.
+
+- Redistribution in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclamer in the documentation
+and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR OR THE 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.
+
+
+GHC includes utf8-string
+Copyright: Galois Inc, 2007.
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions are met:
+* * Redistributions of source code must retain the above copyright
+* notice, this list of conditions and the following disclaimer.
+* * 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.
+* * Neither the name of Galois Inc. 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 Galois Inc. ``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 Galois Inc. 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.
diff -rN -u old-ghc/gen_contents_index.in new-ghc/gen_contents_index.in
--- old-ghc/gen_contents_index.in 1970-01-01 00:00:00.000000000 +0000
+++ new-ghc/gen_contents_index.in 2011-01-15 06:07:33.316851663 +0000
@@ -0,0 +1,60 @@
+#! /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;
+
+# Add everything from the global Cabal registry to index.
+if (-e '/usr/bin/ghc-pkg6') {
+ open CABAL, 'ghc-pkg6 dump --global |' or warn "ghc-pkg dump failed: $!";
+ addInfo (\*CABAL, \%pkgs, \@ifaces);
+ close CABAL;
+}
+
+exec ('haddock', '--gen-index', '--gen-contents',
+ '-o', '/usr/share/doc/ghc6-doc/html/libraries/',
+ '-t'. 'Haskell Hierarchical Libraries',
+ '-p', '/usr/share/doc/ghc6-doc/html/libraries/prologue.txt',
+ @ifaces);
+
+sub addInfo {
+ [...incomplete...]
More information about the Pkg-haskell-commits
mailing list