diff --git a/debian/README.Debian b/debian/README.Debian deleted file mode 100644 index 59a3aa6905f92c5f0e64adb8ca50b473ceeb8d25..0000000000000000000000000000000000000000 --- a/debian/README.Debian +++ /dev/null @@ -1,6 +0,0 @@ -haskell-cabal for Debian ------------------------- - -This is just a test package. - - -- Isaac Jones <ijones@syntaxpolice.org>, Wed Jul 28 23:39:48 2004 diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index c16842abe9839c33c4848c00bfba67ff5a608c5d..0000000000000000000000000000000000000000 --- a/debian/changelog +++ /dev/null @@ -1,100 +0,0 @@ -haskell-cabal (1.1.3) unstable; urgency=low - - * Release candidate for 1.2. - * WARNING: Interfaces not documented in the user's guide may - change in future releases. - * Move building of GHCi .o libs to the build phase rather than - register phase. (from Duncan Coutts) - * Use .tar.gz for source package extension - * Uses GHC instead of cpphs if the latter is not available - * Added experimental "command hooks" which completely override the - default behavior of a command. - * Some bugfixes - - -- Isaac Jones <ijones@debian.org> Sat, 22 Oct 2005 11:38:59 -0700 - -haskell-cabal (1.1.1) unstable; urgency=low - - * Release candidate for 1.2. - * WARNING: Interfaces not documented in the user's guide may - change in future releases. - * Handles recursive modules for GHC 6.2 and GHC 6.4. - * Added "setup test" command (Used with UserHook) - * implemented handling of _stub.{c,h,o} files - * Added support for profiling - * Changed install prefix of libraries (pref/pkgname-version - to prefix/pkgname-version/compname-version) - * Added pattern guards as a language extension - * Moved some functionality to Language.Haskell.Extension - * Register / unregister .bat files for windows - * Exposed more of the API - * Added support for the hide-all-packages flag in GHC > 6.4 - * Several bug fixes - - -- Isaac Jones <ijones@debian.org> Sun, 17 Jul 2005 22:16:42 -0700 - -haskell-cabal (0.5-1) unstable; urgency=low - - * new upstream version. see upstream changelog for more info. - * some interface changes, see upstream changelog - - -- Isaac Jones <ijones@debian.org> Sat, 19 Feb 2005 12:41:18 -0800 - -haskell-cabal (0.4-1) unstable; urgency=low - - * new upstream version. see upstream changelog for more info. - * some interface changes, see upstream changelog. - * bumped standards-version. - - -- Isaac Jones <ijones@debian.org> Sat, 15 Jan 2005 12:55:49 -0800 - -haskell-cabal (0.2-3) unstable; urgency=low - - * added depends on posix (Closes: #280244). - - -- Isaac Jones <ijones@debian.org> Mon, 8 Nov 2004 07:01:53 -0800 - -haskell-cabal (0.2-2) unstable; urgency=low - - * Removed spurious depends on ghc5. Should close 279988. I'll close - that by hand once I'm sure. - - -- Isaac Jones <ijones@debian.org> Sun, 7 Nov 2004 14:21:38 -0800 - -haskell-cabal (0.2-1) unstable; urgency=low - - * New upstream release - * Includes cleanup of treatment of the local packages file - ~/.ghc-packages. Doesn't touch this file unless it's - necessary. (Closes: #278667 Closes: #279556). - * Some work on preprocessors. - - -- Isaac Jones <ijones@debian.org> Tue, 2 Nov 2004 20:06:22 -0800 - -haskell-cabal (0.1-4) unstable; urgency=low - - * Added basic infrastructure for multiple targets, though - have not yet enabled it because it doesn't yet work upstream. - - -- John Goerzen <jgoerzen@complete.org> Tue, 5 Oct 2004 19:45:27 -0500 - -haskell-cabal (0.1-3) unstable; urgency=low - - * Fixed old postinst, postrm scripts to do the right thing in more cases. - - -- John Goerzen <jgoerzen@complete.org> Tue, 5 Oct 2004 16:25:29 -0500 - -haskell-cabal (0.1-2) unstable; urgency=low - - * Install binary under /usr/lib/haskell-libraries/ghc6 in keeping - with new Haskell policy. - - -- John Goerzen <jgoerzen@complete.org> Tue, 5 Oct 2004 15:56:03 -0500 - -haskell-cabal (0.1-1) unstable; urgency=low - - * Initial release. Closes: #275069. - - -- John Goerzen <jgoerzen@complete.org> Tue, 05 Oct 2004 13:36:08 -0500 - - diff --git a/debian/compat b/debian/compat deleted file mode 100644 index b8626c4cff2849624fb67f87cd0ad72b163671ad..0000000000000000000000000000000000000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -4 diff --git a/debian/control b/debian/control deleted file mode 100644 index 438aa7e20d66cade38014009040b81a06b733d2c..0000000000000000000000000000000000000000 --- a/debian/control +++ /dev/null @@ -1,18 +0,0 @@ -Source: haskell-cabal -Priority: optional -Maintainer: Isaac Jones <ijones@debian.org> -Build-Depends: debhelper (>= 4.0.0), ghc6 (>= 6.2.2), ghc6 (6.4) -Standards-Version: 3.6.1 -Suggests: haddock, cpphs - -Package: libghc6-cabal-dev -Section: devel -Architecture: any -Depends: ghc6 (>= 6.2.2), ghc6 (<< 6.2.3) -Description: Haskell Common Architecture for Building Applications and Libraries - The Haskell Cabal is a system for building and installing Haskell - programs and libraries. It is aware of multiple different compilers - and can handle them without trouble. - . - This package will provide the infrastructure necessary to build - Cabalized packages on Debian machines, or to Debianize those packages. diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index bb4d2b21075e0cc05d72be7e566a2e285e244220..0000000000000000000000000000000000000000 --- a/debian/copyright +++ /dev/null @@ -1,39 +0,0 @@ -This package was debianized by Isaac Jones <ijones@debian.org> on -Wed, 28 Jul 2004 22:29:38 -0400. - -John Goerzen updated it for sid in October 5, 2004. - -It was downloaded from http://www.haskell.org/cabal/code.html - -Upstream Authors: Bjorn Bringert, Isaac Jones, Simon Marlow, -Martin Sjögren - -Copyright: - -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 Isaac Jones nor the names of other - 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. diff --git a/debian/dirs b/debian/dirs deleted file mode 100644 index f9332be37e023d8a7fdb003af3f8ad3af8463b69..0000000000000000000000000000000000000000 --- a/debian/dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/bin -usr/share/doc/libghc6-cabal-dev diff --git a/debian/docs b/debian/docs deleted file mode 100644 index fbbcccfcc841a802e991b168e0370cbd2c63fad5..0000000000000000000000000000000000000000 --- a/debian/docs +++ /dev/null @@ -1,2 +0,0 @@ -README -releaseNotes diff --git a/debian/haskell-cabal-dev.dirs b/debian/haskell-cabal-dev.dirs deleted file mode 100644 index 44188162ec7a56a977fa0c1b431a015576f8b3b6..0000000000000000000000000000000000000000 --- a/debian/haskell-cabal-dev.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib -usr/include diff --git a/debian/haskell-cabal-dev.files b/debian/haskell-cabal-dev.files deleted file mode 100644 index bba219c83eb6ef4057ab61417af67f65c4d8f768..0000000000000000000000000000000000000000 --- a/debian/haskell-cabal-dev.files +++ /dev/null @@ -1,5 +0,0 @@ -usr/include/* -usr/lib/lib*.a -usr/lib/lib*.so -usr/lib/pkgconfig/* -/usr/lib/*.la diff --git a/debian/haskell-cabal1.dirs b/debian/haskell-cabal1.dirs deleted file mode 100644 index 68457717bd8efb8ba6291fca9d862dd5eb0d3b1e..0000000000000000000000000000000000000000 --- a/debian/haskell-cabal1.dirs +++ /dev/null @@ -1 +0,0 @@ -usr/lib diff --git a/debian/haskell-cabal1.files b/debian/haskell-cabal1.files deleted file mode 100644 index d0dbfd18ace910a77b0cfa9bcb567242ad5b88d8..0000000000000000000000000000000000000000 --- a/debian/haskell-cabal1.files +++ /dev/null @@ -1 +0,0 @@ -usr/lib/lib*.so.* diff --git a/debian/libghc6-cabal-dev.postinst b/debian/libghc6-cabal-dev.postinst deleted file mode 100644 index dbf415185580f2398c628bb50c72080bff119fd8..0000000000000000000000000000000000000000 --- a/debian/libghc6-cabal-dev.postinst +++ /dev/null @@ -1,43 +0,0 @@ -#! /bin/sh -# postinst script for missingh -# -# see: dh_installdeb(1) - -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 http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# - -case "$1" in - configure) - chmod +x /usr/share/doc/libghc6-cabal-dev/register.sh - /usr/share/doc/libghc6-cabal-dev/register.sh - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - - diff --git a/debian/libghc6-cabal-dev.prerm b/debian/libghc6-cabal-dev.prerm deleted file mode 100644 index a2b0ef21e433d1555703a0c9476c35ef7bab0206..0000000000000000000000000000000000000000 --- a/debian/libghc6-cabal-dev.prerm +++ /dev/null @@ -1,43 +0,0 @@ -#! /bin/sh -# prerm script for missingh -# -# see: dh_installdeb(1) - -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 http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - remove|upgrade|deconfigure) - chmod +x /usr/share/doc/libghc6-cabal-dev/unregister.sh - /usr/share/doc/libghc6-cabal-dev/unregister.sh - rm -f /usr/lib/haskell-packages/ghc6/lib/Cabal-0.6/HSCabal*.o - -# install-info --quiet --remove /usr/info/missingh.info.gz - ;; - failed-upgrade) - ;; - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - - diff --git a/debian/rules b/debian/rules deleted file mode 100644 index 83954daa6bc1ee148c20609f5c604902fbffbe10..0000000000000000000000000000000000000000 --- a/debian/rules +++ /dev/null @@ -1,127 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 to 1999 by Joey Hess. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -GHCVERSION=6.2.2 -GHCPATH=/usr/lib/ghc-$(GHCVERSION)/bin -PATH:=$(GHCPATH):$(PATH) - -export PATH - -CFLAGS = -Wall -g -LIBPATH=/usr/lib/haskell-packages/$(1) -PACKAGE=lib$(1)-cabal-dev -FLAVORS=ghc6 - -define build_flavor -echo BUILDING FOR $(1) --./setup clean -rm -f .*config* -./setup configure --prefix=$(LIBPATH) --with-compiler=/usr/bin/$(1) -./setup build -mkdir -p $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE) -cp -r $(CURDIR)/doc/API $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE) -cp -r $(CURDIR)/doc/users-guide $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE) -./setup copy --copy-prefix=$(CURDIR)/debian/$(PACKAGE)$(LIBPATH) -#generate the register and unregister scripts -./setup register --gen-script -./setup unregister --gen-script -# install them for later -cp register.sh $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/register.sh -cp unregister.sh $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/unregister.sh - -endef - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif -ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) - INSTALL_PROGRAM += -s -endif - -# shared library versions, option 1 -version=2.0.5 -major=2 -# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so -#version=`ls src/.libs/lib*.so.* | \ -# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` -#major=`ls src/.libs/lib*.so.* | \ -# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` - -configure: configure-stamp -configure-stamp: - dh_testdir - # Add here commands to configure the package. - make setup - touch configure-stamp - - -build: build-stamp -build-stamp: configure-stamp - dh_testdir - - # Add here commands to compile the package. - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - # Add here commands to clean up after the build process. - -$(MAKE) clean - - rm -f .*config* - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - $(foreach tgt,$(FLAVORS),$(call build_flavor,$(tgt))) - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs -a - dh_installdocs -a - dh_installexamples -a -# dh_install -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman -a - dh_link -a - dh_strip -a - dh_compress -a - dh_fixperms -a -# dh_perl -# dh_python -# dh_makeshlibs - dh_installdeb -a - dh_shlibdeps -a - dh_gencontrol -a - dh_md5sums -a - dh_builddeb -a - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/debianTemplate/changelog b/debianTemplate/changelog deleted file mode 100644 index 6ed94eb8cbe1d391fe4a199a3a48c2b83915f2bc..0000000000000000000000000000000000000000 --- a/debianTemplate/changelog +++ /dev/null @@ -1,6 +0,0 @@ -#PACKAGE# (#VERSION#-1) unstable; urgency=low - - * Initial Release. - - -- #USERNAME# <#EMAIL#> #DATE# - diff --git a/debianTemplate/compat b/debianTemplate/compat deleted file mode 100644 index bf0d87ab1b2b0ec1a11a3973d2845b42413d9767..0000000000000000000000000000000000000000 --- a/debianTemplate/compat +++ /dev/null @@ -1 +0,0 @@ -4 \ No newline at end of file diff --git a/debianTemplate/control b/debianTemplate/control deleted file mode 100644 index 1f6efb65a675ee477e6dc77ce4c0cb8fa1fb285e..0000000000000000000000000000000000000000 --- a/debianTemplate/control +++ /dev/null @@ -1,24 +0,0 @@ -Source: #PACKAGE# -Priority: optional -Maintainer: #USERNAME# <#EMAIL#> -Build-Depends: debhelper (>= 4.0.0) -Standards-Version: #POLICY# - -Package: libghc6-#PACKAGE#-dev -Section: devel -Architecture: any -#Depends: #PACKAGE# (= ${Source-Version}) -Description: <insert up to 60 chars description> - <insert long description, indented with spaces> - -# Package: libnhc98-#PACKAGE#-dev -# Section: devel -# Architecture: any -# Description: <insert up to 60 chars description> -# <insert long description, indented with spaces> -# -# Package: libhugs-#PACKAGE#-dev -# Section: devel -# Architecture: any -# Description: <insert up to 60 chars description> -# <insert long description, indented with spaces> diff --git a/debianTemplate/libghc6-package-dev.docs b/debianTemplate/libghc6-package-dev.docs deleted file mode 100644 index 73b9f3a2b57192cd7784f9f72e741f9934da702a..0000000000000000000000000000000000000000 --- a/debianTemplate/libghc6-package-dev.docs +++ /dev/null @@ -1 +0,0 @@ -installed-pkg-config diff --git a/debianTemplate/libghc6-package-dev.postinst b/debianTemplate/libghc6-package-dev.postinst deleted file mode 100644 index e2b29e82f84f1549793d89ef01e55b5f05ccabde..0000000000000000000000000000000000000000 --- a/debianTemplate/libghc6-package-dev.postinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -e - -ghc-pkg -g --add-package \ - < /usr/share/doc/libghc6-#PACKAGE#-dev/installed-pkg-config - -#DEBHELPER# diff --git a/debianTemplate/libghc6-package-dev.prerm b/debianTemplate/libghc6-package-dev.prerm deleted file mode 100644 index 8b767d4a2bc2e7ee0b26ebd18a9c258aacc52aab..0000000000000000000000000000000000000000 --- a/debianTemplate/libghc6-package-dev.prerm +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -e - -ghc-pkg -r #PACKAGE# -# ditch that ghci library: -rm /usr/lib/#PACKAGE#-#VERSION#/HS#PACKAGE#-#VERSION#.o - -#DEBHELPER# diff --git a/debianTemplate/rules b/debianTemplate/rules deleted file mode 100644 index 549f33dcd1126756a80277f31246dcfd2694973a..0000000000000000000000000000000000000000 --- a/debianTemplate/rules +++ /dev/null @@ -1,104 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 to 1999 by Joey Hess. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - - -#DPKG_ARCH# - -CFLAGS = -Wall -g -CABAL_GHC_BIN=libghc6-#PACKAGE#-dev - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif -ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) - INSTALL_PROGRAM += -s -endif - -# shared library versions, option 1 -version=2.0.5 -major=2 -# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so -#version=`ls src/.libs/lib*.so.* | \ -# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` -#major=`ls src/.libs/lib*.so.* | \ -# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` - -#CONFIGURE# - -setup: Setup.lhs - ghc -package Cabal Setup.lhs -o setup - -build: build-stamp -build-stamp: #CONFIGURE_STAMP# #CONFIG_STATUS# setup - dh_testdir - # Add here any extra commands to compile the package. - ./setup configure --ghc --prefix=/usr - ./setup build - - touch build-stamp - -clean: setup - dh_testdir - dh_testroot - rm -f build-stamp #CONFIGURE_STAMP# - - # Add here any extra commands to clean up after the build process. - ./setup clean - - dh_clean #PRESERVE# - -install: build setup - dh_testdir - dh_testroot - dh_clean -k #PRESERVE# - dh_installdirs - - # Add here commands to install the package into debian/tmp - ./setup install --install-prefix=$(CURDIR)/debian/$(CABAL_GHC_BIN)/usr - cp .installed-pkg-config installed-pkg-config - - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs #CHANGELOGS# - dh_installdocs - dh_installexamples -# dh_install -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman - dh_link - dh_strip - dh_compress - dh_fixperms -# dh_perl -# dh_python -# dh_makeshlibs - dh_installdeb -# dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install #PHONY_CONFIGURE#