--- c2hs-0.13.6.orig/debian/changelog +++ c2hs-0.13.6/debian/changelog @@ -0,0 +1,193 @@ +c2hs (0.13.6-2ubuntu1) breezy; urgency=low + + * new debian version + * weaken build-dep to debhelper + * weaken bulid-dep to ghc6 to support newer version + * patch tests Makefile to make tests build + + -- Stefan Potyra Wed, 28 Sep 2005 23:24:49 +0200 + +c2hs (0.13.6-2) unstable; urgency=low + + * Added groff in Build-Depends. Closes: #328910, #328954. + + -- Marco Tulio Gontijo e Silva Sun, 18 Sep 2005 13:57:11 -0300 + +c2hs (0.13.6-1) unstable; urgency=low + + * New upstream version. + * Depends on ghc6. Closes: #274157. + * Can be build in any architecture. Closes: #319915. + + -- Marco Tulio Gontijo e Silva Tue, 12 Jul 2005 22:03:14 +0000 + +c2hs (0.12.0-1) unstable; urgency=low + + * NMU (with maintainer's permission). + * New upstream version. Closes: #202458. + * Tarball is repacked to avoid problems with some files being in the + tarball twice. Closes: #182548. + * Removed "Recommends: ghc | ghc5" (seems redundant as ghc5 is being + depended on and no other GHC is useful). + * Force dependency to be on ghc5 rather than any other ghc (doesn't + get ghc6 dependencies right currently). + + -- Ian Lynagh (wibble) Tue, 18 Nov 2003 21:24:11 +0000 + +c2hs (0.10.17-1) unstable; urgency=low + + * New upstream release + * removed patch c2hs_clean.dpatch (applied by upstream) + * compiled with ghc5_5.04.2-1 + (closes: Bug#177552) + * implemented proper auto* handling (config.*, autoconf) + * added autotools-dev to build-deps, bumped needed autoconf version to + >= 2.52 + * removed ghc4 alternative from Build-Deps to make builds from + buildds deterministic + (closes: Bug#164086) + * set docdir for manpages + (closes: Bug#171386) + * adjusted debian/copyright with new version number + + -- Michael Weber Wed, 5 Feb 2003 00:23:07 +0100 + +c2hs (0.10.15-1) unstable; urgency=low + + * New upstream release + * compiled with ghc5_5.04-1 + * had to repack upstream tarball, because dpkg-source acted up :( + (c2hs-0.10.15/ -> c2hs-0.10.15.orig/) + * use numeric uid for installations in debian/rules + * adjusted doc installation to comply with upstream package + * made ghc dependency versioning more strict (basically every new + release is incompatible with the previous one) + * use target "cleanall" instead of "clean" + * proper source tree cleanup + (c2hs_clean.dpatch) + * default target is 'build' + * added target 'show-depends' + + -- Michael Weber Sat, 20 Jul 2002 22:57:25 +0200 + +c2hs (0.9.9-2) unstable; urgency=low + + * added xutils to Build-Depends (for lndir) + (closes: Bug#133419) + * added groff to Build-Depends (sgml2txt needs it, and the + deps of current linuxdoc-tools are rather broken, so I + explicitly put it here for now) + * bumped Standards-Version to 3.5.6.0 + + -- Michael Weber Tue, 12 Feb 2002 01:13:09 +0100 + +c2hs (0.9.9-1) unstable; urgency=low + + * New upstream release + * cleaned up patches, removed hack introduced in 0.8.2-2 + (solved by upstream) + * adjusted build-deps (sgml-tools -> linuxdoc-tools) + * more build-deps tweaks (ghc5 now fallback) + * removed INSTALL from package to shut up lintian + (package now lintian clean again) + * unwedged build process a bit + + removed install-stamp + + uses dh_gencontrol interface to debian/substvars now + + uses Depends: instead of Conflicts: + * adjusted debian-test.c2hs to work around Makefile humbug + + -- Michael Weber Tue, 16 Oct 2001 11:17:25 +0200 + +c2hs (0.8.2-2) unstable; urgency=low + + * recompile w/ ghc-5.00 against libgmp3 + * small hack to make it work w/ ghc-5.00 + + -- Michael Weber Sun, 15 Apr 2001 16:22:06 +0200 + +c2hs (0.8.2-1) unstable; urgency=low + + * New upstream release + * removed 4.08.1 workaround patch, as upstream incorporated fix as + promised + * adjusted email in README.Debian + * c2hs/todo -> c2hs/TODO + * added preliminary support for debian-test package + * added proper Conflicts to binary incompatible versions of package + ghc4 (automagically). + NOTE: Mail me ASAP, if this change rises any problems during + upgrades etc. + + -- Michael Weber Sun, 11 Mar 2001 02:00:29 +0100 + +c2hs (0.7.8-1) unstable; urgency=low + + * New upstream release + * manpages now in upstream release + * adjusted watch files to match ``c2hs-([.0-9]*)\.tar\.gz'', because + of wrong filename detection + * removed patch (now in upstream) + (c2hs_c2hsbase_ghc408hack.dpatch) + * removed patch (solved by upstream) + (c2hs_genbind.dpatch) + * toplevel configure doesn't like ghc4-4.08.1 (work-around) + NOTE: despite the diff.gz is currently a bit messy; it's left like + that for now, b/c upstream knows and already incorporated a + real fix. + * used dh_installchangelogs for installing ChangeLog + * added Build-Depends + * bumped Standards-Version to 3.2.1 + + -- Michael Weber Sun, 14 Jan 2001 21:18:23 +0100 + +c2hs (0.7.6-3) unstable; urgency=low + + * unreleased + * changed email address to @debian.org + + -- Michael Weber Sun, 14 Jan 2001 19:04:04 +0100 + +c2hs (0.7.6-2) unstable; urgency=low + + * changed Architeture to "i386" for the moment + * recompiled with ghc-4.08.0 + * updated rules.local + * added float handling patch for c2hs/gen/GenBind.hs + (c2hs_genbind.dpatch) + * small hack to make c2hs work with ghc-4.08 + (c2hs_c2hsbase_ghc408hack.dpatch) + * adjusted version regexp + + -- Michael Weber Tue, 1 Aug 2000 16:31:40 +0200 + +c2hs (0.7.6-1) unstable; urgency=low + + * New upstream release + * removed `c2hs_doc.dpatch' (incorporated by upstream) + * slightly modified patch rules in rules.local + * removed c2hs/tests from dh_installexamples as upstream now installs + them + * adjusted upstream email in copyright, c2hs.1.in, c2hs-config.1.in, + doc-base.package + * adjusted `watch' to new upstream location + + -- Michael Weber Mon, 17 Apr 2000 15:27:22 +0200 + +c2hs (0.7.3-2) unstable; urgency=low + + * added more examples from the distribution + * minor cleanups in debian/rules + * fixed bug in directory structure + + -- Michael Weber Mon, 15 Nov 1999 20:01:48 +0100 + +c2hs (0.7.3-1) unstable; urgency=low + + * Initial Release. + * wrote man-pages for c2hs and c2hs-config + + -- Michael Weber Sat, 13 Nov 1999 22:13:15 +0100 + +Local variables: +mode: debian-changelog +End: --- c2hs-0.13.6.orig/debian/compat +++ c2hs-0.13.6/debian/compat @@ -0,0 +1 @@ +4 --- c2hs-0.13.6.orig/debian/control +++ c2hs-0.13.6/debian/control @@ -0,0 +1,24 @@ +Source: c2hs +Section: devel +Priority: optional +Maintainer: Marco Tulio Gontijo e Silva +Build-Depends: debhelper (>= 4.9.5), autotools-dev, ghc6 (>= 6.4), linuxdoc-tools, groff, cdbs +Build-Conflicts: libghc6-wash-dev +Standards-Version: 3.6.2 + +Package: c2hs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ghc6 (>= 6.4), ghc6 (<< 6.4.1) +Suggests: haskell-doc, ghc6-doc +Description: C->Haskell Interface Generator + C->Haskell is an interface generator that simplifies the development + of Haskell bindings to C libraries. The tool processes existing C + header files that determine data layout and function signatures on + the C side in conjunction with Haskell modules that specify + Haskell-side type signatures and marshaling details. Hooks embedded + in the Haskell code signal access to C structures and functions -- + they are expanded by the interfacing tool in dependence on + information from the corresponding C header file. + . + Haskell 98 is "the" standard lazy functional programming language. + More info plus the language definition is at http://www.haskell.org/. --- c2hs-0.13.6.orig/debian/copyright +++ c2hs-0.13.6/debian/copyright @@ -0,0 +1,17 @@ +This package was debianized by Marco Tulio Gontijo e Silva on +Sun, 26 Jun 2005 11:05:57 -0300. + +It was downloaded from +http://www.cse.unsw.edu.au/~chak/haskell/c2hs/c2hs-0.13.6.tar.gz + +Copyright Holder: Manuel M. T. Chakravarty + +License: +GNU GPL Version 2 +GNU LGPL Version 2 + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License may be found in `/usr/share/common-licenses/GPL'. + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License may be found in `/usr/share/common-licenses/LGPL-2'. --- c2hs-0.13.6.orig/debian/doc-base +++ c2hs-0.13.6/debian/doc-base @@ -0,0 +1,16 @@ +Document: c2hs +Title: C->Haskell Manual +Author: Manuel M. T. Chakravarty +Abstract: C->Haskell is an interface generator that simplifies the + development of Haskell bindings to C libraries. The tool processes + existing C header files that determine data layout and function signatures + on the C side in conjunction with Haskell modules that specify Haskell-side + type signatures and marshaling details. Hooks embedded in the Haskell code + signal access to C structures and functions -- they are expanded by the + interfacing tool in dependence on information from the corresponding C + header file. +Section: devel + +Format: HTML +Index: /usr/share/doc/c2hs/html/c2hs.html +Files: /usr/share/doc/c2hs/html/*.html --- c2hs-0.13.6.orig/debian/docs +++ c2hs-0.13.6/debian/docs @@ -0,0 +1,4 @@ +c2hs/tests +c2hs/AUTHORS +c2hs/README +c2hs/TODO --- c2hs-0.13.6.orig/debian/install +++ c2hs-0.13.6/debian/install @@ -0,0 +1,3 @@ +doc/c2hs/man1/c2hs.1 usr/share/man/man1 +doc/c2hs/man1/c2hs-config.1 usr/share/man/man1 +doc/c2hs/*html usr/share/doc/c2hs/html --- c2hs-0.13.6.orig/debian/postinst +++ c2hs-0.13.6/debian/postinst @@ -0,0 +1,42 @@ +#! /bin/sh +# postinst script for c2hs +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# + +case "$1" in + configure) + ghc-pkg register /usr/lib/c2hs-0.13.6/ghc6/c2hs.conf + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ghc-pkg register /usr/lib/c2hs-0.13.6/ghc6/c2hs.conf + ;; + + *) + 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 + + --- c2hs-0.13.6.orig/debian/prerm +++ c2hs-0.13.6/debian/prerm @@ -0,0 +1,40 @@ +#! /bin/sh +# prerm script for c2hs +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + ghc-pkg unregister c2hs + ;; + failed-upgrade) + ghc-pkg unregister c2hs + ;; + *) + 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 + + --- c2hs-0.13.6.orig/debian/rules +++ c2hs-0.13.6/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +common-build-arch:: + $(MAKE) doc --- c2hs-0.13.6.orig/debian/watch +++ c2hs-0.13.6/debian/watch @@ -0,0 +1,3 @@ +# to check for upstream updates and more. +# Site Directory Pattern Version Script +http://www.cse.unsw.edu.au /~chak/haskell/c2hs c2hs-([.0-9]*)\.tar\.gz debian uupdate --- c2hs-0.13.6.orig/debian/patches/10_c2hs_tests_Makefile.patch +++ c2hs-0.13.6/debian/patches/10_c2hs_tests_Makefile.patch @@ -0,0 +1,15 @@ +diff -Nur c2hs-0.13.6/c2hs/tests/Makefile c2hs-0.13.6.new/c2hs/tests/Makefile +--- c2hs-0.13.6/c2hs/tests/Makefile 2005-09-27 13:39:52.000000000 +0200 ++++ c2hs-0.13.6.new/c2hs/tests/Makefile 2005-09-28 23:24:02.000000000 +0200 +@@ -1,7 +1,8 @@ +-include ../../mk/config.mk ++#include ../../mk/config.mk + +-HCFLAGS= -package lang -fglasgow-exts -i../lib -L../lib -lc2hs +-C2HS = ../c2hs ++HCFLAGS= -package lang -package c2hs -fglasgow-exts -lc2hs ++C2HS = c2hs ++HC ?= ghc6 + + PRGMS = simple calls enums pointer structs marsh cpp +